pyFltk-1.3.0/0000755000175100017510000000000011651415004011375 5ustar heldheldpyFltk-1.3.0/swig/0000755000175100017510000000000011651415004012346 5ustar heldheldpyFltk-1.3.0/swig/Fl_Help_View.i0000755000175100017510000000446011441264777015052 0ustar heldheld/* File : Fl_Help_View.i */ //%module Fl_Help_View %feature("docstring") ::Fl_Help_View """ The Fl_Help_View widget displays HTML text. Most HTML 2.0 elements are supported, as well as a primitive implementation of tables. GIF, JPEG, and PNG images are displayed inline. """ ; %{ #include "FL/Fl_Help_View.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Help_View) %{ #include "CallbackStruct.h" #include //static PyObject *my_pycallback = NULL; static const char* PythonLink(Fl_Widget *widget, const char *uri) { PyObject *func, *arglist; PyObject *result; PyObject *obj; CallbackStruct *cb = (CallbackStruct *)(widget->user_data()); if (cb == NULL) return NULL; // This is the function .... func = (PyObject *)( cb->link); if (func == NULL) { PyErr_SetString(PyExc_NotImplementedError, "Callable link not found!"); return NULL; } // always of the same type: Fl_Help_View //obj = SWIG_NewPointerObj(widget, SWIGTYPE_p_Fl_Help_View, 0); // the parent widget obj = (PyObject *)( cb->widget); // build arument list arglist = Py_BuildValue("(Os)", obj, uri ); // call the callback result = PyEval_CallObject(func, arglist); Py_DECREF(arglist); // Trash arglist Py_XDECREF(result); if (PyErr_Occurred()) { PyErr_Print(); } #ifndef PYTHON3 if (result == Py_None) return NULL; else return PyString_AsString(result); /*void*/; #else return NULL; #endif } %} %include "FL/Fl_Help_View.H" %extend Fl_Help_View { //#include void link(PyObject *PyFunc, PyObject *PyWidget) { // get existing callback structure CallbackStruct *cb = (CallbackStruct*)self->user_data(); // use the link member to hold the callback if (cb) { cb->link = PyFunc; } else { cb = new CallbackStruct( 0, 0, PyWidget, PyFunc ); self->user_data((void*)cb); } // Add a reference to new callback Py_INCREF(PyFunc); Py_XINCREF(PyWidget); self->link(&PythonLink); } } %typemap(in) PyObject *PyFunc { if (!PyCallable_Check($input)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); return NULL; } $1 = $input; } pyFltk-1.3.0/swig/Fl_Color_Chooser.i0000644000175100017510000000206711237640160015711 0ustar heldheld/* File : Fl_Color_Chooser.i */ //%module Fl_Color_Chooser %feature("docstring") ::Fl_Color_Chooser """ The Fl_Color_Chooser widget provides a standard RGB color chooser. You can place any number of these into a panel of your own design. This widget contains the hue box, value slider, and rgb input fields from the above diagram (it does not have the color chips or the Cancel or OK buttons). The callback is done every time the user changes the rgb value. It is not done if they move the hue control in a way that produces the same rgb value, such as when saturation or value is zero. """ ; %{ #include "FL/Fl_Color_Chooser.H" %} %ignore fl_color_chooser(const char* name, double& r, double &g, double &b); %include "typemaps.i" %apply unsigned char& INOUT {unsigned char& r}; %apply unsigned char& INOUT {unsigned char& g}; %apply unsigned char& INOUT {unsigned char& b}; %include "macros.i" CHANGE_OWNERSHIP(Fl_Color_Chooser) CHANGE_OWNERSHIP(Flcc_HueBox) CHANGE_OWNERSHIP(Flcc_ValueBox) CHANGE_OWNERSHIP(Flcc_Value_Input) %include "FL/Fl_Color_Chooser.H" pyFltk-1.3.0/swig/Fl_Tabs.i0000644000175100017510000000230211237640160014032 0ustar heldheld/* File : Fl_Tabs.i */ //%module Fl_Tabs %feature("docstring") ::Fl_Tabs """ The Fl_Tabs widget is the 'file card tabs' interface that allows you to put lots and lots of buttons and switches in a panel, as popularized by many toolkits. Clicking the tab makes a child visible() by calling show() on it, and all other children are made invisible by calling hide() on them. Usually the children are Fl_Group widgets containing several widgets themselves. Each child makes a card, and it's label() is printed on the card tab, including the label font and style. The selection color of that child is used to color the tab, while the color of the child determines the background color of the pane. The size of the tabs is controlled by the bounding box of the children (there should be some space between the children and the edge of the Fl_Tabs), and the tabs may be placed 'inverted' on the bottom, this is determined by which gap is larger. It is easiest to lay this out in fluid, using the fluid browser to select each child group and resize them until the tabs look the way you want them to. """ ; %{ #include "FL/Fl_Tabs.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Tabs) %include "FL/Fl_Tabs.H" pyFltk-1.3.0/swig/Fl_Text_Display.i0000755000175100017510000001003611507366371015571 0ustar heldheld/* File : Fl_Text_Display.i */ //%module Fl_Text_Display %feature("docstring") ::Fl_Text_Display """ This is the FLTK text display widget. It allows the user to view multiple lines of text and supports highlighting and scrolling. The buffer that is displayed in the widget is managed by the Fl_Text_Buffer class. """ ; // Redefine nested struct in global scope in order for SWIG to generate // a proxy class. Only SWIG parses this definition. struct Style_Table_Entry { Fl_Color color; Fl_Font font; int size; unsigned attr; }; %{ #include "FL/Fl_Text_Display.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Text_Display) %ignore Fl_Text_Display::buffer(Fl_Text_Buffer& buf); %ignore fl_text_drag_me(int pos, Fl_Text_Display* d); // because of problems with Style_Table_Entry %ignore Fl_Text_Display::highlight_data(Fl_Text_Buffer *styleBuffer,const Style_Table_Entry *styleTable,int nStyles, char unfinishedStyle,Unfinished_Style_Cb unfinishedHighlightCB,void *cbArg); %ignore Fl_Text_Display::Style_Table_Entry; // delegate ownership of passed argument (Fl_Text_Buffer) %pythonappend Fl_Text_Display::buffer %{ if len(args) > 0 and args[0] != None: #delegate ownership to C++ args[0].this.disown() %} // typemap to convert a Python array to // an array of Style_Table_Entry %typemap(in) Fl_Text_Display::Style_Table_Entry const * { // Check if it is a list if (PyList_Check($input)) { int size = PyList_Size($input); int i = 0; $1 = (Style_Table_Entry*) malloc((size)*sizeof(Style_Table_Entry)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem($input,i); if (PyList_Check(o)) { int item_size = PyList_Size(o); $1[i].color = (Fl_Color)PyInt_AsLong(PyList_GetItem(o,0)); $1[i].font = (Fl_Font)PyInt_AsLong(PyList_GetItem(o,1)); $1[i].size = PyInt_AsLong(PyList_GetItem(o,2)); if (item_size > 3) $1[i].attr = PyInt_AsLong(PyList_GetItem(o,3)); } } } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } // This cleans up the Style_Table_Entry array we malloc'd before the function call %typemap(freearg) Style_Table_Entry const * { //free((char *) $1); } // callback handling %{ static void UnfinishedStyleCB(int arg1, void *clientdata) { PyObject *func, *arglist; PyObject *result; // This is the function .... func = (PyObject *)( ((CallbackStruct *)clientdata)->func); if (((CallbackStruct *)clientdata)->data) { arglist = Py_BuildValue("(iO)", arg1, (PyObject *)(((CallbackStruct *)clientdata)->data) ); } else { arglist = Py_BuildValue("(iO)", arg1 ); } result = PyEval_CallObject(func, arglist); Py_DECREF(arglist); // Trash arglist Py_XDECREF(result); if (PyErr_Occurred()) { PyErr_Print(); } return /*void*/; } %} %include "FL/Fl_Text_Display.H" %{ // SWIG thinks that Style_Table_Entry is a global class, so we need to trick the C++ // compiler into understanding this so called global type. typedef Fl_Text_Display::Style_Table_Entry Style_Table_Entry; %} %extend Fl_Text_Display { %rename(highlight_data) highlight_data_new; void highlight_data_new(Fl_Text_Buffer *styleBuffer, //const Fl_Text_Display::Style_Table_Entry *styleTable, const Style_Table_Entry *styleTable, int nStyles, char unfinishedStyle, PyObject *func, PyObject *cbArg) { if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { CallbackStruct *cb = new CallbackStruct( func , cbArg, (PyObject*)0 ); // add reference Py_INCREF(func); Py_XINCREF(cbArg); self->highlight_data(styleBuffer, styleTable, nStyles, unfinishedStyle, UnfinishedStyleCB, (void*)cb); } } //%rename(highlight_data) highlight_data_new; } %typemap(in) PyObject *PyFunc { if (!PyCallable_Check($input)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); return NULL; } $1 = $input; } pyFltk-1.3.0/swig/UserDefinedWidgets.i0000644000175100017510000000034311237640160016247 0ustar heldheld/* File : UserDefinedWidgets.i */ /* Use this file for adding your own wrapping code */ /* Source files should be added directly in setup.py */ // add your code here: // for instance: // %include "MyPrettyNiceWidget.i" pyFltk-1.3.0/swig/Fl_Fill_Dial.i0000644000175100017510000000047611237640160014772 0ustar heldheld/* File : Fl_Fill_Dial.i */ //%module Fl_Fill_Dial %feature("docstring") ::Fl_Fill_Dial """ The Fl_Fill_Dial widget provides a filled, circular dial to control a single floating point value. """ ; %{ #include "FL/Fl_Fill_Dial.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Fill_Dial) %include "FL/Fl_Fill_Dial.H" pyFltk-1.3.0/swig/Fl_Check_Browser.i0000755000175100017510000000070411237640160015670 0ustar heldheld/* File : Fl_Check_Browser.i */ //%module Fl_Check_Browser %feature("docstring") ::Fl_Check_Browser """ The Fl_Check_Browser widget displays a scrolling list of text lines that may be selected and/or checked by the user. """ ; %{ #include "FL/Fl_Check_Browser.H" %} %ignore Fl_Check_Browser::add(char *s); %ignore Fl_Check_Browser::add(char *s, int b); %include "macros.i" CHANGE_OWNERSHIP(Fl_Check_Browser) %include "FL/Fl_Check_Browser.H" pyFltk-1.3.0/swig/Fl_FormsPixmap.i0000644000175100017510000000026411237640160015413 0ustar heldheld/* File : Fl_FormsPixmap.i */ //%module Fl_FormsPixmap %{ #include "FL/Fl_FormsPixmap.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_FormsPixmap) %include "FL/Fl_FormsPixmap.H" pyFltk-1.3.0/swig/Fl_Return_Button.i0000644000175100017510000000066511237640160015765 0ustar heldheld/* File : Fl_Return_Button.i */ //%module Fl_Return_Button %feature("docstring") ::Fl_Return_Button """ The Fl_Return_Button is a subclass of Fl_Button that generates a callback when it is pressed or when the user presses the Enter key. A carriage-return symbol is drawn next to the button label. """ ; %{ #include "FL/Fl_Return_Button.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Return_Button) %include "FL/Fl_Return_Button.H" pyFltk-1.3.0/swig/Fl_Hold_Browser.i0000644000175100017510000000130111237640160015530 0ustar heldheld/* File : Fl_Hold_Browser.i */ //%module Fl_Hold_Browser %feature("docstring") ::Fl_Hold_Browser """ The Fl_Hold_Browser class is a subclass of Fl_Browser which lets the user select a single item, or no items by clicking on the empty space. As long as the mouse button is held down the item pointed to by it is highlighted, and this highlighting remains on when the mouse button is released. Normally the callback is done when the user releases the mouse, but you can change this with when(). See Fl_Browser for methods to add and remove lines from the browser. """ ; %{ #include "FL/Fl_Hold_Browser.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Hold_Browser) %include "FL/Fl_Hold_Browser.H" pyFltk-1.3.0/swig/forms.i0000755000175100017510000000013111237640160013647 0ustar heldheld/* File : forms.i */ //%module forms %{ #include "FL/forms.h" %} %include "FL/forms.h" pyFltk-1.3.0/swig/Check_Browser.i0000644000175100017510000000152111237640160015242 0ustar heldheld#ifdef Check_Browser %{ #include "Check_Browser.h" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Check_Browser) class Check_Browser : public Fl_Browser_ { public: Check_Browser(int x, int y, int w, int h, const char *l = 0); int add(char *s); // add an (unchecked) item %name(add1) int add(char *s, int b); // add an item and set checked // both return the new nitems() void clear(); // delete all items int nitems() const { return nitems_; } int nchecked() const { return nchecked_; } int checked(int item) const; %name(checked1) void checked(int item, int b); void set_checked(int item) { checked(item, 1); } void check_all(); void check_none(); int value() const; // currently selected item char *text(int item) const; // returns pointer to internal buffer }; #endif pyFltk-1.3.0/swig/Fl_File_Input.i0000755000175100017510000000060211237640160015203 0ustar heldheld/* File : Fl_File_Input.i */ //%module Fl_File_Input %feature("docstring") ::Fl_File_Input """ This widget displays a pathname in a text input field. A navigation bar located above the input field allows the user to navigate upward in the directory tree. """ ; %{ #include "FL/Fl_File_Input.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_File_Input) %include "FL/Fl_File_Input.H" pyFltk-1.3.0/swig/Fl_Help_Dialog.i0000755000175100017510000000051011237640160015312 0ustar heldheld/* File : Fl_Help_Dialog.i */ //%module Fl_Help_Dialog %feature("docstring") ::Fl_Help_Dialog """ The Fl_Help_Dialog widget displays a standard help dialog window using the Fl_Help_View widget. """ ; %{ #include "FL/Fl_Help_Dialog.H" %} %include "macros.i" //CHANGE_OWNERSHIP(Fl_Help_Dialog) %include "FL/Fl_Help_Dialog.H" pyFltk-1.3.0/swig/Fl_Line_Dial.i0000644000175100017510000000046611237640160014772 0ustar heldheld/* File : Fl_Line_Dial.i */ //%module Fl_Line_Dial %feature("docstring") ::Fl_Line_Dial """ The Fl_Line_Dial widget provides a circular dial to control a single floating point value. """ ; %{ #include "FL/Fl_Line_Dial.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Line_Dial) %include "FL/Fl_Line_Dial.H" pyFltk-1.3.0/swig/Fl_Button.i0000644000175100017510000000173611237640160014426 0ustar heldheld/* File : Fl_Button.i */ //%module Fl_Button %feature("docstring") ::Fl_Button """ Buttons generate callbacks when they are clicked by the user. You control exactly when and how by changing the values for type() and when(). Buttons can also generate callbacks in response to FL_SHORTCUT events. The button can either have an explicit shortcut() value or a letter shortcut can be indicated in the label() with an '&' character before it. For the label shortcut it does not matter if Alt is held down, but if you have an input field in the same window, the user will have to hold down the Alt key so that the input field does not eat the event first as an FL_KEYBOARD event. """ ; %{ #include "FL/Fl_Button.H" %} %include "macros.i" // typemap to map output of Fl_Button.value from char to int %typemap(out) char { $result = PyInt_FromLong( (long)$1); } CHANGE_OWNERSHIP(Fl_Button) %include "FL/Fl_Button.H" // clear the typemap for char %typemap(out) char; pyFltk-1.3.0/swig/Fl_Radio_Round_Button.i0000644000175100017510000000032711237640160016706 0ustar heldheld/* File : Fl_Radio_Round_Button.i */ //%module Fl_Radio_Round_Button %{ #include "FL/Fl_Radio_Round_Button.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Radio_Round_Button) %include "FL/Fl_Radio_Round_Button.H" pyFltk-1.3.0/swig/Fl_Shared_Image.i0000755000175100017510000000077211237640160015465 0ustar heldheld/* File : Fl_Shared_Image.i */ //%module Fl_Shared_Image %feature("docstring") ::Fl_Shared_Image """ The Fl_Shared_Image class supports caching, loading, and drawing of image files. Most applications will also want to link against the fltk_images library and call the fl_register_images() function to support standard image formats such as BMP, GIF, JPEG, and PNG. """ ; %{ #include "FL/Fl_Shared_Image.H" %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_Shared_Image) %include "FL/Fl_Shared_Image.H" pyFltk-1.3.0/swig/Fl_Menu_Bar.i0000644000175100017510000000272111237640160014636 0ustar heldheld/* File : Fl_Menu_Bar.i */ //%module Fl_Menu_Bar %feature("docstring") ::Fl_Menu_Bar """ This widget provides a standard menubar interface. Usually you will put this widget along the top edge of your window. The height of the widget should be 30 for the menu titles to draw correctly with the default font. The items on the bar and the menus they bring up are defined by a single Fl_Menu_Item array. Because a Fl_Menu_Item array defines a hierarchy, the top level menu defines the items in the menubar, while the submenus define the pull-down menus. Sub-sub menus and lower pop up to the right of the submenus. If there is an item in the top menu that is not a title of a submenu, then it acts like a 'button' in the menubar. Clicking on it will pick it. When the user picks an item off the menu, the item's callback is done with the menubar as the Fl_Widget* argument. If the item does not have a callback the menubar's callback is done instead. Submenus will also pop up in response to shortcuts indicated by putting a '&' character in the name field of the menu item. If you put a '&' character in a top-level 'button' then the shortcut picks it. The '&' character in submenus is ignored until the menu is popped up. Typing the shortcut() of any of the menu items will cause callbacks exactly the same as when you pick the item with the mouse. """ ; %{ #include "FL/Fl_Menu_Bar.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Menu_Bar) %include "FL/Fl_Menu_Bar.H" pyFltk-1.3.0/swig/Fl_Bitmap.i0000644000175100017510000000303611237640160014362 0ustar heldheld/* File : Fl_Bitmap.i */ //%module Fl_Bitmap %feature("docstring") ::Fl_Bitmap """ The Fl_Bitmap class supports caching and drawing of mono-color (bitmap) images. Images are drawn using the current color. """ ; %{ #include "FL/Fl_Bitmap.H" %} %typemap(in) const uchar *bits { /* Check if the input support the buffer protocol */ Py_ssize_t size_buffer; const void * buffer; int failure = PyObject_AsReadBuffer($input,&buffer,&size_buffer); if (!failure) { // work with array object $1 = (uchar *) buffer; } else { // work with list object // clear the error from PyObject_AsReadBuffer PyErr_Clear(); size_buffer=0; buffer=0; /* Check if is a list */ if (PyList_Check($input)) { int size = PyList_Size($input); int i = 0; $1 = (uchar *) malloc((size+1)*sizeof(char)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem($input,i); if (PyInt_Check(o)) $1[i] = (char)PyInt_AsLong(o); else { PyErr_SetString(PyExc_TypeError,"list must contain ints"); free($1); return NULL; } } $1[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list or does not support single-segment readable buffer interface"); return NULL; } } } %ignore Fl_Bitmap::Fl_Bitmap(const char *bits, int W, int H); %ignore Fl_Bitmap::id; //%include "macros.i" //CHANGE_OWNERSHIP(Fl_Bitmap) %include "FL/Fl_Bitmap.H" pyFltk-1.3.0/swig/Fl_Text_Buffer.i0000755000175100017510000000604711512505431015370 0ustar heldheld/* File : Fl_Text_Buffer.i */ //%module Fl_Text_Buffer %feature("docstring") ::Fl_Text_Buffer """ The Fl_Text_Buffer class is used by the Fl_Text_Display and Fl_Text_Editor to manage complex text data and is based upon the excellent NEdit text editor engine - see http://www.nedit.org/. """ ; %{ #include "FL/Fl_Text_Buffer.H" %} %{ #include "CallbackStruct.h" struct modify_link { CallbackStruct *handle; modify_link *next; Fl_Text_Buffer* widget; }; static modify_link *py_modify_funcs = NULL; static void PythonModifyCallBack(int pos, int nInserted, int nDeleted, int nRestyled, const char* deletedText, void* cbArg) { PyObject *func, *arglist; PyObject *result; PyObject *obj; CallbackStruct *cb = (CallbackStruct*)cbArg; if (cb != NULL) { func = cb->func; // the user data obj = cb->data; if (obj == NULL) { arglist = Py_BuildValue("(iiiis)", pos, nInserted, nDeleted, nRestyled, deletedText ); } else { arglist = Py_BuildValue("(iiiisO)", pos, nInserted, nDeleted, nRestyled, deletedText, obj ); } result = PyEval_CallObject(func, arglist); Py_XDECREF(arglist); // Trash arglist Py_XDECREF(result); if (PyErr_Occurred()) { PyErr_Print(); } } else PyErr_SetString(PyExc_TypeError, "PythonModifyCallBack: need a valid callback!"); return; } %} %apply int *OUTPUT { int* foundPos }; %include "FL/Fl_Text_Buffer.H" %extend Fl_Text_Buffer { void add_modify_callback(PyObject *PyFunc, PyObject *PyTarget=0) { if (!PyCallable_Check(PyFunc)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { CallbackStruct *cb = new CallbackStruct( PyFunc, PyTarget, 0, 0 ); self->add_modify_callback(PythonModifyCallBack, (void *)cb); Py_INCREF(PyFunc); /* Add a reference to new callback */ Py_XINCREF(PyTarget); // add it to global list and also add the widget! modify_link *cb_link = new modify_link; cb_link->next = py_modify_funcs; cb_link->handle = cb; cb_link->widget = self; py_modify_funcs = cb_link; } } void remove_modify_callback(PyObject *PyFunc, PyObject *PyWidget, PyObject *PyTarget) { // Search for the handler in the list... modify_link *l, *p; for (l = py_modify_funcs, p = 0; l && !(l->handle->func == PyFunc && (0==PyObject_RichCompareBool(l->handle->data,PyTarget, Py_EQ)) && l->widget == self); p = l, l = l->next); if (l) { // Found it, so remove it from the list... if (p) p->next = l->next; else py_modify_funcs = l->next; // remove the callback self->remove_modify_callback(PythonModifyCallBack, (void*)l->handle); // reference count Py_DECREF(l->handle->func); Py_XDECREF(l->handle->data); // And free the record... delete l->handle; delete l; } } } %typemap(in) PyObject *PyFunc { if (!PyCallable_Check($input)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); return NULL; } $1 = $input; } pyFltk-1.3.0/swig/Fl_Slider.i0000644000175100017510000000074711237640160014376 0ustar heldheld/* File : Fl_Slider.i */ //%module Fl_Slider %feature("docstring") ::Fl_Slider """ The Fl_Slider widget contains a sliding knob inside a box. It if often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ ; %{ #include "FL/Fl_Slider.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Slider) %include "FL/Fl_Slider.H" pyFltk-1.3.0/swig/Fl_Toggle_Button.i0000644000175100017510000000027611237640160015725 0ustar heldheld/* File : Fl_Toggle_Button.i */ //%module Fl_Toggle_Button %{ #include "FL/Fl_Toggle_Button.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Toggle_Button) %include "FL/Fl_Toggle_Button.H" pyFltk-1.3.0/swig/Fl_Progress.i0000755000175100017510000000042111237640160014750 0ustar heldheld/* File : Fl_Progress.i */ //%module Fl_Progress %feature("docstring") ::Fl_Progress """ The Fl_Progress widget displays a progress bar for the user. """ ; %{ #include "FL/Fl_Progress.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Progress) %include "FL/Fl_Progress.H" pyFltk-1.3.0/swig/Fl_Output.i0000644000175100017510000000153611237640160014451 0ustar heldheld/* File : Fl_Output.i */ //%module Fl_Output %feature("docstring") ::Fl_Output """ This widget displays a piece of text. When you set the value() , Fl_Output does a strcpy() to it's own storage, which is useful for program-generated values. The user may select portions of the text using the mouse and paste the contents into other fields or programs. There is a single subclass, Fl_Multiline_Output, which allows you to display multiple lines of text. The text may contain any characters except \0, and will correctly display anything, using ^X notation for unprintable control characters and \nnn notation for unprintable characters with the high bit set. It assumes the font can draw any characters in the ISO-Latin1 character set. """ ; %{ #include "FL/Fl_Output.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Output) %include "FL/Fl_Output.H" pyFltk-1.3.0/swig/Fl_Input_.i0000644000175100017510000000207611237640160014407 0ustar heldheld/* File : Fl_Input_.i */ //%module Fl_Input_ %feature("docstring") ::Fl_Input_ """ This is a virtual base class below Fl_Input. It has all the same interfaces, but lacks the handle() and draw() method. You may want to subclass it if you are one of those people who likes to change how the editing keys work. This can act like any of the subclasses of Fl_Input, by setting type() to one of the following values: FL_NORMAL_INPUT 0 FL_FLOAT_INPUT 1 FL_INT_INPUT 2 FL_MULTILINE_INPUT 4 FL_SECRET_INPUT 5 FL_INPUT_TYPE 7 FL_INPUT_READONLY 8 FL_NORMAL_OUTPUT (FL_NORMAL_INPUT | FL_INPUT_READONLY) FL_MULTILINE_OUTPUT (FL_MULTILINE_INPUT | FL_INPUT_READONLY) FL_INPUT_WRAP 16 FL_MULTILINE_INPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_WRAP) FL_MULTILINE_OUTPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_READONLY | FL_INPUT_WRAP) """ ; %{ #include "FL/Fl_Input_.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Input_) //%ignore Fl_Input_::Fl_Input_(int, int, int, int, const char* = 0); %include "FL/Fl_Input_.H" pyFltk-1.3.0/swig/Fl_Multi_Browser.i0000644000175100017510000000136611237640160015747 0ustar heldheld/* File : Fl_Multi_Browser.i */ //%module Fl_Multi_Browser %feature("docstring") ::Fl_Multi_Browser """ The Fl_Multi_Browser class is a subclass of Fl_Browser which lets the user select any set of the lines. The user interface is Macintosh style: clicking an item turns off all the others and selects that one, dragging selects all the items the mouse moves over, and shift + click toggles the items. This is different then how forms did it. Normally the callback is done when the user releases the mouse, but you can change this with when(). See Fl_Browser for methods to add and remove lines from the browser. """ ; %{ #include "FL/Fl_Multi_Browser.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Multi_Browser) %include "FL/Fl_Multi_Browser.H" pyFltk-1.3.0/swig/math.i0000755000175100017510000000012511237640160013455 0ustar heldheld/* File : math.i */ //%module math %{ #include "FL/math.h" %} %include "FL/math.h" pyFltk-1.3.0/swig/Fl_Preferences.i0000755000175100017510000000664511237640160015423 0ustar heldheld/* File : Fl_Preferences.i */ //%module Fl_Preferences %feature("docstring") ::Fl_Preferences """ Fl_Preferences provides methods to store user setting between application starts. It is similar to the Registry on WIN32 and Preferences on MacOS, and provides a simple configuration mechanism for UNIX. Fl_Preferences uses a hierarchy to store data. It bundles similar data into groups and manages entries into those groups as name/value pairs. Preferences are stored in text files that can be edited manually. The file format is easy to read and relatively forgiving. Preferences files are the same on all platforms. User comments in preference files are preserved. Filenames are unique for each application by using a vendor/application naming scheme. The user must provide default values for all entries to ensure proper operation should preferences be corrupted or not yet exist. Entries can be of any length. However, the size of each preferences file should be kept under 100k for performance reasons. One application can have multiple preferences files. Extensive binary data however should be stored in seperate files; see the getUserdataPath() method. """ ; %{ #include "FL/Fl_Preferences.H" %} %ignore Fl_Preferences::Fl_Preferences( Fl_Preferences*, const char *group ); %ignore Fl_Preferences::set( const char *entry, float value ); //%include "FL/Fl_Preferences.H" %include "cstring.i" //%cstring_bounded_output(char *value, 1024); //%apply char *STRING {char *value}; // typemap to map output of Fl_Button.value from char to int %typemap(out) char { $result = PyInt_FromLong( (long)$1); } class FL_EXPORT Fl_Preferences { public: enum Root { SYSTEM=0, USER }; // enum Type { win32, macos, fltk }; Fl_Preferences( Root root, const char *vendor, const char *application ); Fl_Preferences( const char *path, const char *vendor, const char *application ); Fl_Preferences( Fl_Preferences&, const char *group ); //Fl_Preferences( Fl_Preferences*, const char *group ); ~Fl_Preferences(); int groups(); const char *group( int ); char groupExists( const char *group ); char deleteGroup( const char *group ); int entries(); const char *entry( int ); char entryExists( const char *entry ); char deleteEntry( const char *entry ); char set( const char *entry, int value ); char set( const char *entry, float value ); char set( const char *entry, float value, int precision ); char set( const char *entry, double value ); char set( const char *entry, double value, int precision ); char set( const char *entry, const char *cvalue ); char set( const char *entry, const void *cvalue, int size ); char get( const char *entry, int &OUTPUT, int defaultValue ); char get( const char *entry, float &OUTPUT, float defaultValue ); char get( const char *entry, double &OUTPUT, double defaultValue ); %cstring_bounded_output(char *value, 1024); //char get( const char *entry, char *&value, const char *defaultValue ); char get( const char *entry, char *value, const char *defaultValue, int maxSize ); //char get( const char *entry, void *&value, const void *defaultValue, int defaultSize ); char get( const char *entry, void *value, const void *defaultValue, int defaultSize, int maxSize ); int size( const char *entry ); %cstring_output_maxsize(char *path, int pathlen); char getUserdataPath( char *path, int pathlen ); void flush(); }; // clear the typemap for char %typemap(out) char; pyFltk-1.3.0/swig/Fl_File_Browser.i0000755000175100017510000000254711507127667015555 0ustar heldheld/* File : Fl_File_Browser.i */ //%module Fl_File_Browser %feature("docstring") ::Fl_File_Browser """ The Fl_File_Browser widget displays a list of filenames, optionally with file-specific icons. """ ; %{ #ifdef ANY #undef ANY #endif #include "FL/Fl_File_Browser.H" enum DIR_SEARCH { FL_ALPHASORT, FL_CASEALPHASORT, FL_CASENUMERICSORT, FL_NUMERICSORT }; %} %include "macros.i" CHANGE_OWNERSHIP(Fl_File_Browser) %ignore Fl_File_Browser::load(const char* directory, Fl_File_Sort_F* sort); %include "FL/Fl_File_Browser.H" //%inline %{ enum DIR_SEARCH { FL_ALPHASORT, FL_CASEALPHASORT, FL_CASENUMERICSORT, FL_NUMERICSORT }; // %} %extend Fl_File_Browser { %rename(load) load_new; int load_new(PyObject* dObj, PyObject* sObj) { //char *directory=PyString_AsString(dObj); char *directory=SWIG_Python_str_AsChar(dObj); int sort=PyInt_AsLong(sObj); int result = -1; switch (sort) { case FL_ALPHASORT: result = self->load(directory, fl_alphasort); break; case FL_CASEALPHASORT: result = self->load(directory, fl_casealphasort); break; case FL_CASENUMERICSORT: result = self->load(directory, fl_casenumericsort); break; case FL_NUMERICSORT: result = self->load(directory, fl_numericsort); break; default: break; } return result; } } pyFltk-1.3.0/swig/widget_casts.i0000755000175100017510000000356011237640160015212 0ustar heldheld/* File : widget_casts.i */ //%module widget_casts %{ #include "FL/Fl_Widget.H" #include "FL/Fl_Button.H" %} %inline %{ /* C-style cast */ Fl_Window* castWidget2Window(Fl_Widget *source) { printf("castWidget2Window is deprecated!\n"); return (Fl_Window *) source; } Fl_Menu* castWidget2Menu(Fl_Widget *source) { printf("castWidget2Menu is deprecated!\n"); return (Fl_Menu *) source; } Fl_Menu_* castWidget2Menu_(Fl_Widget *source) { printf("castWidget2Menu_ is deprecated!\n"); return (Fl_Menu_ *) source; } Fl_Button* castWidget2Btn(Fl_Widget *source) { printf("castWidget2Btn is deprecated!\n"); return (Fl_Button *) source; } Fl_Browser* castWidget2Browser(Fl_Widget *source) { printf("castWidget2Browser is deprecated!\n"); return (Fl_Browser *) source; } Fl_Slider* castWidget2Slider(Fl_Widget *source) { printf("castWidget2Slider is deprecated!\n"); return (Fl_Slider *) source; } Fl_File_Chooser* castWidget2FileChooser(Fl_Widget *source) { printf("castWidget2FileChooser is deprecated!\n"); return (Fl_File_Chooser *) source; } Fl_Dial* castWidget2Dial(Fl_Widget *source) { printf("castWidget2Dial is deprecated!\n"); return (Fl_Dial *) source; } Fl_Box* castWidget2Box(Fl_Widget *source) { printf("castWidget2Box is deprecated!\n"); return (Fl_Box *) source; } Fl_Adjuster* castWidget2Adjuster(Fl_Widget *source) { printf("castWidget2Adjuster is deprecated!\n"); return (Fl_Adjuster *) source; } Fl_Valuator* castWidget2Valuator(Fl_Widget *source) { printf("castWidget2Valuator is deprecated!\n"); return (Fl_Valuator *) source; } Fl_Scrollbar* castWidget2Scrollbar(Fl_Widget *source) { printf("castWidget2Scrollbar is deprecated!\n"); return (Fl_Scrollbar *) source; } Fl_Scroll* castWidget2Scroll(Fl_Widget *source) { printf("castWidget2Scroll is deprecated!\n"); return (Fl_Scroll *) source; } %} pyFltk-1.3.0/swig/Fl_Nice_Slider.i0000644000175100017510000000101311237640160015317 0ustar heldheld/* File : Fl_Nice_Slider.i */ //%module Fl_Nice_Slider %feature("docstring") ::Fl_Nice_Slider """ The Fl_Nice_Slider widget contains a sliding knob inside a box. It is often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ ; %{ #include "FL/Fl_Nice_Slider.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Nice_Slider) %include "FL/Fl_Nice_Slider.H" pyFltk-1.3.0/swig/Fl_Hor_Nice_Slider.i0000644000175100017510000000104611237640160016135 0ustar heldheld/* File : Fl_Hor_Nice_Slider.i */ //%module Fl_Hor_Nice_Slider %feature("docstring") ::Fl_Hor_Nice_Slider """ The Fl_Hor_Nice_Slider widget contains a sliding knob inside a box. It is often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ ; %{ #include "FL/Fl_Hor_Nice_Slider.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Hor_Nice_Slider) %include "FL/Fl_Hor_Nice_Slider.H" pyFltk-1.3.0/swig/Fl_Int_Input.i0000644000175100017510000000054211237640160015056 0ustar heldheld/* File : Fl_Int_Input.i */ //%module Fl_Int_Input %feature("docstring") ::Fl_Int_Input """ The Fl_Int_Input class is a subclass of Fl_Input that only allows the user to type decimal digits (or hex numbers of the form 0xaef). """ ; %{ #include "FL/Fl_Int_Input.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Int_Input) %include "FL/Fl_Int_Input.H" pyFltk-1.3.0/swig/Fl_Multiline_Input.i0000644000175100017510000000130111237640160016260 0ustar heldheld/* File : Fl_Multiline_Input.i */ //%module Fl_Multiline_Input %feature("docstring") ::Fl_Multiline_Input """ This input field displays '\n' characters as new lines rather than ^J, and accepts the Return, Tab, and up and down arrow keys. This is for editing multiline text. This is far from the nirvana of text editors, and is probably only good for small bits of text, 10 lines at most. I think FLTK can be used to write a powerful text editor, but it is not going to be a built-in feature. Powerful text editors in a toolkit are a big source of bloat. """ ; %{ #include "FL/Fl_Multiline_Input.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Multiline_Input) %include "FL/Fl_Multiline_Input.H" pyFltk-1.3.0/swig/Fl_Input_Choice.i0000644000175100017510000000113311237640160015513 0ustar heldheld/* File : Fl_Input_Choice.i */ %feature("docstring") ::Fl_Input_Choice """ A combination of the input widget and a menu button. The user can either type into the input area, or use the menu button chooser on the right, which loads the input area with predefined text. Normally it is drawn with an inset box and a white background. The application can directly access both the input and menu widgets directly, using the menubutton() and input() accessor methods. """ ; %{ #include "FL/Fl_Input_Choice.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Input_Choice) %include "FL/Fl_Input_Choice.H" pyFltk-1.3.0/swig/Fl_PNG_Image.i0000755000175100017510000000066011237640160014677 0ustar heldheld/* File : Fl_PNG_Image.i */ //%module Fl_PNG_Image %feature("docstring") ::Fl_PNG_Image """ The Fl_PNG_Image class supports loading, caching, and drawing of Portable Network Graphics (PNG) image files. The class loads colormapped and full-color images and handles color- and alpha-based transparency. """ ; %{ #include "FL/Fl_PNG_Image.H" %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_PNG_Image) %include "FL/Fl_PNG_Image.H" pyFltk-1.3.0/swig/Fl_Hor_Fill_Slider.i0000644000175100017510000000104611237640160016145 0ustar heldheld/* File : Fl_Hor_Fill_Slider.i */ //%module Fl_Hor_Fill_Slider %feature("docstring") ::Fl_Hor_Fill_Slider """ The Fl_Hor_Fill_Slider widget contains a sliding knob inside a box. It is often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ ; %{ #include "FL/Fl_Hor_Fill_Slider.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Hor_Fill_Slider) %include "FL/Fl_Hor_Fill_Slider.H" pyFltk-1.3.0/swig/Fl_Pixmap.i0000644000175100017510000000273711507127507014420 0ustar heldheld/* File : Fl_Pixmap.i */ //%module Fl_Pixmap %feature("docstring") ::Fl_Pixmap """ The Fl_Pixmap class supports caching and drawing of colormap (pixmap) images, including transparency. """ ; %{ #include "FL/Fl_Pixmap.H" %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_Pixmap) // This tells SWIG to treat char ** as a special case //%typemap(python,in) const char* const * pixmapData { %typemap(in) char** { /* Check if it is a list */ if (PyList_Check($input)) { int size = PyList_Size($input); int i = 0; $1 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem($input,i); %#if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) %#else if (PyString_Check(o)) %#endif { //$1[i] = PyString_AsString(PyList_GetItem($input,i)); $1[i] = SWIG_Python_str_AsChar(PyList_GetItem($input,i)); } else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free($1); return NULL; } } $1[i] = NULL; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } %typemap(freearg) char** { // this is a memory leak, but what the heck! // free((char*)$1); } //%ignore Fl_Pixmap::Fl_Pixmap(const char* const * D); %ignore Fl_Pixmap::Fl_Pixmap(const uchar* const * D); %ignore Fl_Pixmap::Fl_Pixmap(char * const * D); %ignore Fl_Pixmap::Fl_Pixmap(uchar * const * D); %ignore Fl_Pixmap::id; %ignore Fl_Pixmap::mask; %include "FL/Fl_Pixmap.H" pyFltk-1.3.0/swig/Fl_Scrollbar.i0000644000175100017510000000145011237640160015067 0ustar heldheld/* File : Fl_Scrollbar.i */ //%module Fl_Scrollbar %feature("docstring") ::Fl_Scrollbar """ The Fl_Scrollbar widget displays a slider with arrow buttons at the ends of the scrollbar. Clicking on the arrows move up/left and down/right by linesize(). Scrollbars also accept FL_SHORTCUT events: the arrows move by linesize(), and vertical scrollbars take Page Up/Down (they move by the page size minus linesize()) and Home/End (they jump to the top or bottom). Scrollbars have step(1) preset (they always return integers). If desired you can set the step() to non-integer values. You will then have to use casts to get at the floating-point versions of value() from Fl_Slider. """ ; %{ #include "FL/Fl_Scrollbar.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Scrollbar) %include "FL/Fl_Scrollbar.H" pyFltk-1.3.0/swig/Fl_Fill_Slider.i0000644000175100017510000000101211237640160015326 0ustar heldheld/* File : Fl_Fill_Slider.i */ //%module Fl_Fill_Slider %feature("docstring") ::Fl_Fill_Slider """ The Fl_Fill_Slider widget contains a sliding knob inside a box. It if often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ ; %{ #include "FL/Fl_Fill_Slider.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Fill_Slider) %include "FL/Fl_Fill_Slider.H" pyFltk-1.3.0/swig/Fl_Simple_Counter.i0000644000175100017510000000030311237640160016070 0ustar heldheld/* File : Fl_Simple_Counter.i */ //%module Fl_Simple_Counter %{ #include "FL/Fl_Simple_Counter.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Simple_Counter) %include "FL/Fl_Simple_Counter.H" pyFltk-1.3.0/swig/Fl_Gl_Window.i0000644000175100017510000000420711507131404015034 0ustar heldheld/* File : Fl_Gl_Window.i */ //%module Fl_Gl_Window %feature("docstring") ::Fl_Gl_Window """ The Fl_Gl_Window widget sets things up so OpenGL works, and also keeps an OpenGL 'context' for that window, so that changes to the lighting and projection may be reused between redraws. Fl_Gl_Window also flushes the OpenGL streams and swaps buffers after draw() returns. OpenGL hardware typically provides some overlay bit planes, which are very useful for drawing UI controls atop your 3D graphics. If the overlay hardware is not provided, FLTK tries to simulate the overlay, This works pretty well if your graphics are double buffered, but not very well for single-buffered. """ ; %feature("nodirector") Fl_Gl_Window::show; %{ #include "FL/Fl_Gl_Window.H" #include "FL/gl.h" #include "string.h" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Gl_Window) %include "WindowShowTypemap.i" %include typemaps.i // override method show %extend Fl_Gl_Window { MACRO_WINDOW_SHOW } // typemap to map output of Fl_Gl_Window.valid from char to int %typemap(out) char { $result = PyInt_FromLong( (long)$1); } // ignore original declaration %ignore Fl_Gl_Window::show(); %ignore Fl_Gl_Window::show(int argc, char** argv); %include "FL/Fl_Gl_Window.H" %include "FL/gl.h" %feature("docstring") Fl_Gl_Window::drawPixels "Writes a raw RGB string to the canvas. Arguments: - rgb - a string of width * height * 3 bytes, comprising the raw image in RGB format " %extend Fl_Gl_Window { void Fl_Gl_Window::drawPixels(PyObject *rgb_py) { char *rgb; size_t len; int i, height=self->h(), halfheight=self->h()/2, rowsize=self->w()*3; char *row0, *row1; char tmp[rowsize]; SWIG_AsCharPtrAndSize(rgb_py, &rgb, &len, 0); //PyString_AsStringAndSize(rgb_py, &rgb, &len); row0 = rgb; row1 = rgb + (height-1) * rowsize; for (i=0; iw(), self->h(), GL_RGB, GL_UNSIGNED_BYTE, rgb); } }; // clear the typemap for char %typemap(out) char; pyFltk-1.3.0/swig/Fl_FormsBitmap.i0000644000175100017510000000026411237640160015371 0ustar heldheld/* File : Fl_FormsBitmap.i */ //%module Fl_FormsBitmap %{ #include "FL/Fl_FormsBitmap.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_FormsBitmap) %include "FL/Fl_FormsBitmap.H" pyFltk-1.3.0/swig/Fl_Browser.i0000644000175100017510000001171611517516540014602 0ustar heldheld/* File : Fl_Browser.i */ //%module Fl_Browser %feature("docstring") ::Fl_Browser """ The Fl_Browser widget displays a scrolling list of text lines, and manages all the storage for the text. This is not a text editor or spreadsheet! But it is useful for showing a vertical list of named objects to the user. Each line in the browser is identified by number. The numbers start at one (this is so that zero can be reserved for 'no line' in the selective browsers). Unless otherwise noted, the methods do not check to see if the passed line number is in range and legal. It must always be greater than zero and <= size(). Each line contains a null-terminated string of text and a data pointer. The text string is displayed, the pointer can be used by the callbacks to reference the object the text describes. The base class does nothing when the user clicks on it. The subclasses Fl_Select_Browser, Fl_Hold_Browser, and Fl_Multi_Browser react to user clicks to select lines in the browser and do callbacks. The base class called Fl_Browser_ provides the scrolling and selection mechanisms of this and all the subclasses, but the dimensions and appearance of each item are determined by the subclass. You can use Fl_Browser_ to display information other than text, or text that is dynamically produced from your own data structures. If you find that loading the browser is a lot of work or is inefficient, you may want to make a subclass of Fl_Browser_. """ ; %{ #include "FL/Fl_Browser.H" %} %ignore Fl_Browser::add(const char*, void* = 0); %ignore Fl_Browser::insert(int, const char*, void* = 0); %ignore Fl_Browser::data(int) const ; %ignore Fl_Browser::data(int, void* v); %ignore Fl_Browser::column_widths(const int*); %include "macros.i" CHANGE_OWNERSHIP(Fl_Browser) %include "FL/Fl_Browser.H" #ifdef PYTHON %include typemaps.i %extend Fl_Browser { void add(const char *text, PyObject *data = 0) { Py_XINCREF(data); if (data) { void *tmp = (void *) 0 ; if ((SWIG_ConvertPtr(data,(void **) &tmp, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) { PyErr_Clear(); // not a C object, just add it as is self->add( text, data ); } else { // found C object, add it instead of data self->add( text, tmp ); } } else self->add( text ); } void insert(int index, const char *text, PyObject *data = 0) { Py_XINCREF(data); //self->insert( index, text, data); if (data) { void *tmp = (void *) 0 ; if ((SWIG_ConvertPtr(data,(void **) &tmp, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) { PyErr_Clear(); // not a C object, just add it as is self->insert( index, text, data ); } else { // found C object, add it instead of data self->insert( index, text, tmp ); } } else self->insert( index, text, 0 ); } // we keep this for back compatibility PyObject *get_data( int index) { PyObject *data = (PyObject *)(self->data(index)); Py_XINCREF(data); return (PyObject *)data; } //PyObject *data( int index) //{ // PyObject *data = (PyObject *)(self->data(index)); // Py_XINCREF(data); // return (PyObject *)data; //} PyObject *data( int index, PyObject *data = 0) { //Py_XDECREF((PyObject *)(self->data(index))); Py_XINCREF(data); if (data) { void *tmp = (void *) 0 ; if ((SWIG_ConvertPtr(data,(void **) &tmp, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) { PyErr_Clear(); // not a C object, just add it as is self->data( index, data ); } else { // found C object, add it instead of data self->data( index, tmp ); } } else { PyObject *data = (PyObject *)(self->data(index)); Py_XINCREF(data); return (PyObject *)data; } Py_XINCREF(Py_None); return Py_None; } void column_widths( PyObject *widths ) { //static const int no_cols[] = { 0 }; if (PyTuple_Check(widths)) { // the following lines should not be necessary? // commented out by ah, June 15, 2003 //if (self->column_widths()) //{ // // FLTK has its own no_cols... // if (*self->column_widths()) // { // //delete [] self->column_widths(); // self->column_widths(no_cols); // } //} int sz = PyTuple_Size(widths); if (sz) { int* cw = new int[sz+1]; cw[sz] = 0; for (int k = 0; kcolumn_widths(cw); } else { // nothing to do } } else { PyErr_SetString(PyExc_TypeError, "Not a tuple"); return; } } } #endif pyFltk-1.3.0/swig/Fl_Chart.i0000644000175100017510000000041611237640160014206 0ustar heldheld/* File : Fl_Chart.i */ //%module Fl_Chart %feature("docstring") ::Fl_Chart """ This widget displays simple charts and is provided for Forms compatibility. """ ; %{ #include "FL/Fl_Chart.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Chart) %include "FL/Fl_Chart.H" pyFltk-1.3.0/swig/Fl_Secret_Input.i0000644000175100017510000000065011237640160015551 0ustar heldheld/* File : Fl_Secret_Input.i */ //%module Fl_Secret_Input %feature("docstring") ::Fl_Secret_Input """ The Fl_Secret_Input class is a subclass of Fl_Input that displays its input as a string of asterisks. This subclass is usually used to receive passwords and other 'secret' information. """ ; %{ #include "FL/Fl_Secret_Input.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Secret_Input) %include "FL/Fl_Secret_Input.H" pyFltk-1.3.0/swig/macros.i0000644000175100017510000000114011237640160014003 0ustar heldheld// macro to delegate the ownership of a class to C++ %define CHANGE_OWNERSHIP(name) %pythonappend name##::##name %{ if len(args) == 6: # retain reference to label self.my_label = args[5] if self.parent() != None: # delegate ownership to C++ self.this.disown() %} %enddef // macro to revert the ownership %define REVERT_OWNERSHIP(name) %pythonappend name %{ #self = args[0] if self.parent() != None: #delegate ownership to C++ self.this.disown() else: #give ownership back to Python self.this.own() %} %enddef pyFltk-1.3.0/swig/gl2opengl.i0000755000175100017510000000015111237640160014414 0ustar heldheld/* File : gl2opengl.i */ //%module gl2opengl %{ #include "FL/gl2opengl.h" %} %include "FL/gl2opengl.h" pyFltk-1.3.0/swig/Fl_Check_Button.i0000644000175100017510000000121111237640160015507 0ustar heldheld/* File : Fl_Check_Button.i */ //%module Fl_Check_Button %feature("docstring") ::Fl_Check_Button """ Buttons generate callbacks when they are clicked by the user. You control exactly when and how by changing the values for type() and when(). The Fl_Check_Button subclass display the 'on' state by turning on a light, rather than drawing pushed in. The shape of the 'light' is initially set to FL_DIAMOND_DOWN_BOX. The color of the light when on is controlled with selection_color(), which defaults to FL_RED. """ ; %{ #include "FL/Fl_Check_Button.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Check_Button) %include "FL/Fl_Check_Button.H" pyFltk-1.3.0/swig/Fl_Scroll.i0000644000175100017510000000375511237640160014414 0ustar heldheld/* File : Fl_Scroll.i */ //%module Fl_Scroll %feature("docstring") ::Fl_Scroll """ This container widget lets you maneuver around a set of widgets much larger than your window. If the child widgets are larger than the size of this object then scrollbars will appear so that you can scroll over to them: If all of the child widgets are packed together into a solid rectangle then you want to set box() to FL_NO_BOX or one of the _FRAME types. This will result in the best output. However, if the child widgets are a sparse arrangment you must set box() to a real _BOX type. This can result in some blinking during redrawing, but that can be solved by using a Fl_Double_Window. This widget can also be used to pan around a single child widget 'canvas'. This child widget should be of your own class, with a draw() method that draws the contents. The scrolling is done by changing the x() and y() of the widget, so this child must use the x() and y() to position it's drawing. To speed up drawing it should test fl_push_clip() . Another very useful child is a single Fl_Pack, which is itself a group that packs it's children together and changes size to surround them. Filling the Fl_Pack with Fl_Tabs groups (and then putting normal widgets inside those) gives you a very powerful scrolling list of individually-openable panels. Fluid lets you create these, but you can only lay out objects that fit inside the Fl_Scroll without scrolling. Be sure to leave space for the scrollbars, as Fluid won't show these either. You cannot use Fl_Window as a child of this since the clipping is not conveyed to it when drawn, and it will draw over the scrollbars and neighboring objects. """ ; %{ #include "FL/Fl_Scroll.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Scroll) %ignore Fl_Scroll::scrollbar; %ignore Fl_Scroll::hscrollbar; %include "FL/Fl_Scroll.H" %extend Fl_Scroll { Fl_Scrollbar* getScrollbar() { return &(self->scrollbar); } Fl_Scrollbar* getHScrollbar() { return &(self->hscrollbar); } } pyFltk-1.3.0/swig/Fl_JPEG_Image.i0000755000175100017510000000066511237640160015005 0ustar heldheld/* File : Fl_JPEG_Image.i */ //%module Fl_JPEG_Image %feature("docstring") ::Fl_JPEG_Image """ The Fl_JPEG_Image class supports loading, caching, and drawing of Joint Photographic Experts Group (JPEG) File Interchange Format (JFIF) images. The class supports grayscale and color (RGB) JPEG image files. """ ; %{ #include "FL/Fl_JPEG_Image.H" %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_JPEG_Image) %include "FL/Fl_JPEG_Image.H" pyFltk-1.3.0/swig/Fl_PNM_Image.i0000755000175100017510000000065511237640160014711 0ustar heldheld/* File : Fl_PNM_Image.i */ //%module Fl_PNM_Image %feature("docstring") ::Fl_PNM_Image """ The Fl_PNM_Image class supports loading, caching, and drawing of Portable Anymap (PNM, PBM, PGM, PPM) image files. The class loads bitmap, grayscale, and full-color images in both ASCII and binary formats. """ ; %{ #include "FL/Fl_PNM_Image.H" %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_PNM_Image) %include "FL/Fl_PNM_Image.H" pyFltk-1.3.0/swig/Fl_Tooltip.i0000755000175100017510000000033711237640160014604 0ustar heldheld/* File : Fl_Tooltip.i */ //%module Fl_Tooltip %feature("docstring") ::Fl_Tooltip """ The Fl_Tooltip class provides tooltip support for all FLTK widgets. """ ; %{ #include "FL/Fl_Tooltip.H" %} %include "FL/Fl_Tooltip.H" pyFltk-1.3.0/swig/Fl.i0000644000175100017510000003726711507371501013103 0ustar heldheld/* File : Fl.i */ //%module Fl %include "typemaps.i" // hack to convince SWIG that Fl_Color is something different than it really is! %apply unsigned int { enum Fl_Color}; %apply const unsigned int& { const enum Fl_Color&}; // end hack // used for get_color %apply uchar* OUTPUT { uchar& }; %feature("docstring") ::Fl """The Fl class is the FLTK global (static) class containing state information and global methods for the current application.""" ; %{ #include "FL/Fl.H" %} %ignore Fl::grab(Fl_Window &); %ignore Fl::has_check(Fl_Timeout_Handler, void* = 0); %ignore Fl::set_labeltype(Fl_Labeltype, Fl_Labeltype from); %ignore Fl::add_timeout(double t, Fl_Timeout_Handler,void* = 0); %ignore Fl::repeat_timeout(double t, Fl_Timeout_Handler,void* = 0); %ignore Fl::remove_timeout(Fl_Timeout_Handler,void* = 0); %ignore Fl::add_check(Fl_Timeout_Handler, void* = 0); %ignore Fl::add_idle(void (*cb)(void*), void* = 0); %ignore Fl::set_idle(void (*cb)()); %ignore Fl::remove_idle(void (*cb)(void*), void* = 0); %ignore Fl::get_color(Fl_Color); %ignore Fl::add_fd; %ignore Fl::remove_fd; %ignore Fl::add_handler; %ignore Fl::remove_handler; %ignore Fl::remove_check; %ignore Fl::gl_visual; %ignore Fl::get_awake_handler_; #ifdef __APPLE__ %ignore Fl::free_color() #endif /* ignore multithreading, but see bottom for actual support */ %ignore Fl::lock(); %ignore Fl::unlock(); %ignore Fl::awake(void* message = 0); %ignore Fl::thread_message(); /* missing wrappings */ //%ignore Fl::add_fd; //%ignore Fl::remove_fd; /* end missing wrappings */ // font related stuff //%apply int* OUTPUT { int*& sizep }; %apply int* OUTPUT { int* attributes }; %ignore Fl::get_font_sizes; %include "FL/Fl.H" void pyFLTK_controlIdleCallbacks(int enable); %{ // called by FLTK when idle PyObject *registeredDoIDle = 0; void pyFLTK_idleCallback(void *data) { PyObject *arglist; PyObject *result; arglist = Py_BuildValue("()"); // Build argument list result = PyEval_CallObject(registeredDoIDle, arglist); // Call Python Py_DECREF(arglist); // Trash arglist //result = PyObject_CallObject(func,(PyObject *)0); // Call Python Py_XDECREF(result); if (PyErr_Occurred()) { PyErr_Print(); } } // turn on/off idle callback into the Python interpreter void pyFLTK_controlIdleCallbacks(int enable) { if (enable) { Fl::add_idle(pyFLTK_idleCallback, 0); } else { Fl::remove_idle(pyFLTK_idleCallback); } } %} %native(pyFLTK_registerDoIdle) PyObject * registerDoIdle(PyObject *self, PyObject *args); %{ // called by the initialization code in the module - // not meant for user consumption PyObject *registerDoIdle(PyObject *self, PyObject *args) { PyArg_ParseTuple( args, "O", ®isteredDoIDle); if (!PyCallable_Check(registeredDoIDle)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { Py_INCREF(registeredDoIDle); } Py_INCREF(Py_None); return Py_None; } %} //implement time out processing %native(Fl_add_timeout) PyObject * Fl_add_timeout(PyObject *self, PyObject *args); %native(Fl_repeat_timeout) PyObject * Fl_repeat_timeout(PyObject *self, PyObject *args); %native(Fl_remove_timeout) PyObject * Fl_remove_timeout(PyObject *self, PyObject *args); %{ #include "CallbackStruct.h" struct timeout_link { CallbackStruct *handle; timeout_link *next; }; static timeout_link *py_timeout_funcs = NULL; void pyFLTK_timeoutCallback(void *data) { CallbackStruct *cb = (CallbackStruct *)data; PyObject *result; if (py_timeout_funcs != NULL) { timeout_link *l, *p; for (l = py_timeout_funcs, p = 0; l && l->handle != cb; p = l, l = l->next); if (l) { // Found it, so remove it from the list... if (p) p->next = l->next; else py_timeout_funcs = l->next; // And free the record... delete l; } } // check for NULL arguments PyObject *args = NULL; if (cb->data) { args = Py_BuildValue("(O)", cb->data); if (PyErr_Occurred()) { PyErr_Print(); } } result = PyEval_CallObject(cb->func, args); // Call Python if (PyErr_Occurred()) { PyErr_Print(); } Py_DECREF(cb->func); Py_XDECREF(cb->data); Py_XDECREF(args); Py_XDECREF(result); delete cb; if (PyErr_Occurred()) { PyErr_Print(); } } PyObject *Fl_add_timeout(PyObject *self, PyObject *args) { float numSeconds; PyObject *func = 0; PyObject *data = 0; PyArg_ParseTuple( args, "fO|O", &numSeconds, &func, &data); if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { CallbackStruct *cb = new CallbackStruct( func, data, (PyObject*)0 ); // add reference to list timeout_link *t = new timeout_link; t->handle = cb; t->next = py_timeout_funcs; py_timeout_funcs = t; // function call Py_INCREF(func); Py_XINCREF(data); Fl::add_timeout( numSeconds, pyFLTK_timeoutCallback, cb); } Py_INCREF(Py_None); return Py_None; } PyObject *Fl_repeat_timeout(PyObject *self, PyObject *args) { float numSeconds; PyObject *func = 0; PyObject *data = 0; PyArg_ParseTuple( args, "fO|O", &numSeconds, &func, &data); if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { CallbackStruct *cb = new CallbackStruct( func, data, (PyObject*)0 ); // add reference to list timeout_link *t = new timeout_link; t->handle = cb; t->next = py_timeout_funcs; py_timeout_funcs = t; // function call Py_INCREF(func); Py_XINCREF(data); Fl::repeat_timeout( numSeconds, pyFLTK_timeoutCallback, cb); } Py_INCREF(Py_None); return Py_None; } PyObject *Fl_remove_timeout(PyObject *self, PyObject *args) { PyObject *func = 0; PyObject *data = 0; PyArg_ParseTuple( args, "O|O", &func, &data); if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { CallbackStruct *cb = new CallbackStruct( func, data, (PyObject*)0 ); Fl::remove_timeout( pyFLTK_timeoutCallback, cb); Py_DECREF(cb->func); Py_XDECREF(cb->data); if (py_timeout_funcs != NULL) { timeout_link *l, *p; for (l = py_timeout_funcs, p = 0; l && l->handle->func != func; p = l, l = l->next); if (l) { // Found it, so remove it from the list... if (p) p->next = l->next; else py_timeout_funcs = l->next; Fl::remove_timeout( pyFLTK_timeoutCallback, l->handle); // And free the record... delete l; } } } Py_INCREF(Py_None); return Py_None; } %} // implement file descriptors %native(Fl_add_fd) PyObject * Fl_add_fd(PyObject *self, PyObject *args); %native(Fl_remove_fd) PyObject * Fl_remove_fd(PyObject *self, PyObject *args); %{ struct fd_link { int fd; PyObject *func; PyObject *data; fd_link *next; }; static fd_link *py_fd_funcs = NULL; void pyFLTK_fdCallback(int fd, void* data) { // check for NULL arguments PyObject *args = NULL; // loop through Python handler for (const fd_link *hl = py_fd_funcs; hl; hl = hl->next) { if (hl->fd == fd) { if (hl->data == NULL) args = Py_BuildValue("(i)", fd); else args = Py_BuildValue("(iO)", fd, hl->data); PyEval_CallObject(hl->func, args); // Call Python if (PyErr_Occurred()) { PyErr_Print(); } break; } } Py_XDECREF(args); } PyObject *Fl_add_fd(PyObject *self, PyObject *args) { int fd; PyObject *func = 0; PyObject *data = 0; PyArg_ParseTuple( args, "iO|O", &fd, &func, &data); if (PyErr_Occurred()) { PyErr_Print(); } if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { fd_link *cb = py_fd_funcs; while (cb != NULL) { if (cb->fd == fd) { Py_INCREF(cb->func); Py_XINCREF(cb->data); cb->func = func; cb->data = data; break; } cb = cb->next; } if (cb == NULL) { // only add one callback, actual callback list is kept in Python Fl::add_fd(fd, pyFLTK_fdCallback); // add the python callback fd_link *cb = new fd_link; cb->next = py_fd_funcs; cb->fd = fd; cb->func = func; cb->data = data; py_fd_funcs = cb; Py_INCREF(func); Py_XINCREF(data); } } Py_INCREF(Py_None); return Py_None; } PyObject * Fl_remove_fd(PyObject *self, PyObject *args) { int fd; PyArg_ParseTuple( args, "i", &fd); if (PyErr_Occurred()) { PyErr_Print(); } if (py_fd_funcs != NULL) { fd_link *l, *p; // Search for the handler in the list... for (l = py_fd_funcs, p = 0; l && l->fd != fd; p = l, l = l->next); if (l) { // Found it, so remove it from the list... if (p) p->next = l->next; else py_fd_funcs = l->next; // reference count Py_DECREF(l->func); Py_XDECREF(l->data); // And free the record... delete l; // remove the fltk handler to avoid memory leaks Fl::remove_fd(fd); } } Py_INCREF(Py_None); return Py_None; } %} // implement global handler %native(Fl_add_handler) PyObject * Fl_add_handler(PyObject *self, PyObject *args); %native(Fl_remove_handler) PyObject * Fl_remove_handler(PyObject *self, PyObject *args); %{ struct handler_link { //int (*handle)(int); PyObject *handle; handler_link *next; }; static handler_link *py_handler_funcs = NULL; int pyFLTK_handlerCallback(int data) { PyObject *result = NULL; // check for NULL arguments PyObject *args = NULL; args = Py_BuildValue("(i)", data); if (PyErr_Occurred()) { PyErr_Print(); } // loop through Python handler int c_result = 0; for (const handler_link *hl = py_handler_funcs; hl; hl = hl->next) { result = PyEval_CallObject(hl->handle, args); // Call Python if (PyErr_Occurred()) { PyErr_Print(); } if (result){ SWIG_AsVal_int(result, &c_result); } if (c_result) break; } Py_XDECREF(args); Py_XDECREF(result); return c_result; } PyObject *Fl_add_handler(PyObject *self, PyObject *args) { PyObject *func = 0; PyArg_ParseTuple( args, "O", &func); if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { if (py_handler_funcs == NULL) { // only add one callback, actual callback list is kept in Python Fl::add_handler(pyFLTK_handlerCallback); } // add the python callback handler_link *cb = new handler_link; cb->next = py_handler_funcs; cb->handle = func; py_handler_funcs = cb; Py_INCREF(func); } Py_INCREF(Py_None); return Py_None; } PyObject * Fl_remove_handler(PyObject *self, PyObject *args) { PyObject *func = 0; PyArg_ParseTuple( args, "O", &func); if (py_handler_funcs != NULL) { handler_link *l, *p; // Search for the handler in the list... for (l = py_handler_funcs, p = 0; l && l->handle != func; p = l, l = l->next); if (l) { // Found it, so remove it from the list... if (p) p->next = l->next; else py_handler_funcs = l->next; // reference count Py_DECREF(l->handle); // And free the record... delete l; } // was this the last one? if (py_handler_funcs == NULL) { // remove the fltk handler to avoid memory leaks Fl::remove_handler(pyFLTK_handlerCallback); } } Py_INCREF(Py_None); return Py_None; } %} // implement global check %native(Fl_add_check) PyObject * Fl_add_check(PyObject *self, PyObject *args); %native(Fl_remove_check) PyObject * Fl_remove_check(PyObject *self, PyObject *args); %{ struct check_link { //int (*handle)(int); PyObject *handle; PyObject *args; check_link *next; }; static check_link *py_check_funcs = NULL; void pyFLTK_checkCallback(void *data) { PyObject *result = NULL; // loop through Python handler for (const check_link *hl = py_check_funcs; hl; hl = hl->next) { // check for NULL arguments PyObject *args = NULL; if (hl->args) { args = Py_BuildValue("(O)", hl->args); } else { args = Py_BuildValue("()"); } if (PyErr_Occurred()) { PyErr_Print(); } result = PyEval_CallObject(hl->handle, args); // Call Python if (PyErr_Occurred()) { PyErr_Print(); } Py_XDECREF(args); Py_XDECREF(result); } } PyObject *Fl_add_check(PyObject *self, PyObject *args) { PyObject *func = 0; PyObject *data = 0; PyArg_ParseTuple( args, "O|O", &func, &data); if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Fl.add_check: need a callable object!"); } else { if (py_check_funcs == NULL) { // only add one callback, actual callback list is kept in Python Fl::add_check(pyFLTK_checkCallback); } // add tye python callback check_link *cb = new check_link; cb->next = py_check_funcs; cb->handle = func; cb->args = data; py_check_funcs = cb; Py_INCREF(func); Py_XINCREF(data); } Py_INCREF(Py_None); return Py_None; } PyObject * Fl_remove_check(PyObject *self, PyObject *args) { PyObject *func = 0; PyObject *data = 0; PyArg_ParseTuple( args, "O|0", &func, &data); if (py_check_funcs != NULL) { check_link *l, *p; // Search for the handler in the list... for (l = py_check_funcs, p = 0; l && l->handle != func; p = l, l = l->next); if (l) { // Found it, so remove it from the list... if (p) p->next = l->next; else py_check_funcs = l->next; // reference count Py_DECREF(l->handle); Py_XDECREF(l->args); // And free the record... delete l; } // was this the last one? if (py_check_funcs == NULL) { // remove the fltk handler to avoid memory leaks Fl::remove_check(pyFLTK_checkCallback); } } Py_INCREF(Py_None); return Py_None; } %} // clean up typemaps %clear uchar&; %extend Fl { %rename(lock) cond_lock; %rename(unlock) cond_unlock; %rename(awake) cond_awake; %rename(thread_message) cond_thread_message; static void cond_lock() { %#ifdef DO_NOT_USE_THREADS fprintf(stderr, "Warning: Fl::lock() not supported!\n"); %#else Fl::lock(); %#endif } static void cond_unlock() { %#ifdef DO_NOT_USE_THREADS fprintf(stderr, "Warning: Fl::unlock() not supported!\n"); %#else Fl::unlock(); %#endif } static void cond_awake(void* message = 0) { %#ifdef DO_NOT_USE_THREADS fprintf(stderr, "Warning: Fl::awake() not supported!\n"); %#else Fl::awake(message); %#endif } static void cond_thread_message() { %#ifdef DO_NOT_USE_THREADS fprintf(stderr, "Warning: Fl::thread_message() not supported!\n"); %#else Fl::thread_message(); %#endif } } %pythoncode %{ def Fl_mt_run(window): import time while window.visible(): time.sleep(0.1) Fl.check() Fl.mt_run = staticmethod(Fl_mt_run) %} %native(Fl_get_font_sizes_tmp) PyObject * Fl_get_font_sizes_tmp(PyObject *self, PyObject *args); %{ PyObject *Fl_get_font_sizes_tmp(PyObject *self, PyObject *args) { int fontName; PyArg_ParseTuple( args, "i", &fontName); int *fontSizes = NULL; int size = Fl::get_font_sizes(fontName, fontSizes); PyObject *result = PyList_New(size); for (int i = 0; i < size; i++) { PyObject *o = PyLong_FromLong(fontSizes[i]); PyList_SetItem(result,i,o); } Py_INCREF(result); return result; } %} pyFltk-1.3.0/swig/pyFinalize.i0000755000175100017510000000563211507126621014647 0ustar heldheld %pythoncode { # override the implementation of Fl_Widget.callback # new version to be used with directors def __Fl_WidgetCallback(self,*args): if len(args) == 1: new_args = (self, args[0], self) else: new_args = (self, args[0], self, args[1]) #return apply(_fltk.Fl_Widget_callback,new_args) return _fltk.Fl_Widget_callback(*new_args) Fl_Widget.callback = __Fl_WidgetCallback # end of the Fl_Widget.callback wrapper } %pythoncode { # override the implementation of Fl_Text_Buffer.add_modify_callback def __Fl_Text_BufferAddModifyCallback(self,*args): if len(args) == 1: new_args = (self, args[0]) else: new_args = (self, args[0], args[1]) #return apply(_fltk.Fl_Text_Buffer_add_modify_callback,new_args) return _fltk.Fl_Text_Buffer_add_modify_callback(*new_args) Fl_Text_Buffer.add_modify_callback = __Fl_Text_BufferAddModifyCallback # end of the Fl_Text_Buffer.add_modify_callback wrapper } %pythoncode { # override the implementation of Fl_Text_Buffer.remove_modify_callback def __Fl_Text_BufferRemoveModifyCallback(self,*args): if len(args) == 1: new_args = (self, args[0], self) else: new_args = (self, args[0], self, args[1]) #return apply(_fltk.Fl_Text_Buffer_remove_modify_callback,new_args) return _fltk.Fl_Text_Buffer_remove_modify_callback(*new_args) Fl_Text_Buffer.remove_modify_callback = __Fl_Text_BufferRemoveModifyCallback # end of the Fl_Text_Buffer.remove_modify_callback wrapper } %pythoncode { # override the implementation of Fl_File_Chooser.callback def __Fl_File_ChooserCallback(self,*args): if len(args) == 1: new_args = (self, args[0], self) else: new_args = (self, args[0], self, args[1]) #return apply(_fltk.Fl_File_Chooser_callback,new_args) return _fltk.Fl_File_Chooser_callback(*new_args) Fl_File_Chooser.callback = __Fl_File_ChooserCallback # end of the Fl_File_Chooser.callback wrapper } %pythoncode { # override the implementation of Fl_Help_View.link def __Fl_Help_ViewLink(self,*args): if len(args) == 1: new_args = (self, args[0], self) else: new_args = (self, args[0], self, args[1]) #return apply(_fltk.Fl_Help_View_link,new_args) return _fltk.Fl_Help_View_link(*new_args) Fl_Help_View.link = __Fl_Help_ViewLink # end of the Fl_Help_View.link wrapper } %pythoncode { Fl.add_timeout = staticmethod(Fl_add_timeout) Fl.repeat_timeout = staticmethod(Fl_repeat_timeout) Fl.remove_timeout = staticmethod(Fl_remove_timeout) Fl.add_check = staticmethod(Fl_add_check) Fl.remove_check = staticmethod(Fl_remove_check) Fl.add_handler = staticmethod(Fl_add_handler) Fl.remove_handler = staticmethod(Fl_remove_handler) Fl.add_fd = staticmethod(Fl_add_fd) Fl.remove_fd = staticmethod(Fl_remove_fd) Fl.get_font_sizes = staticmethod(Fl_get_font_sizes_tmp) } pyFltk-1.3.0/swig/Fl_Roller.i0000644000175100017510000000042411237640160014403 0ustar heldheld/* File : Fl_Roller.i */ //%module Fl_Roller %feature("docstring") ::Fl_Roller """ The Fl_Roller widget is a 'dolly' control commonly used to move 3D objects. """ ; %{ #include "FL/Fl_Roller.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Roller) %include "FL/Fl_Roller.H" pyFltk-1.3.0/swig/Fl_Repeat_Button.i0000644000175100017510000000073211237640160015721 0ustar heldheld/* File : Fl_Repeat_Button.i */ //%module Fl_Repeat_Button %feature("docstring") ::Fl_Repeat_Button """ The Fl_Repeat_Button is a subclass of Fl_Button that generates a callback when it is pressed and then repeatedly generates callbacks as long as it is held down. The speed of the repeat is fixed and depends on the implementation. """ ; %{ #include "FL/Fl_Repeat_Button.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Repeat_Button) %include "FL/Fl_Repeat_Button.H" pyFltk-1.3.0/swig/Fl_Choice.i0000755000175100017510000000274011237640160014344 0ustar heldheld/* File : Fl_Choice.i */ //%module Fl_Choice %feature("docstring") ::Fl_Choice """ This is a button that when pushed pops up a menu (or hierarchy of menus) defined by an array of Fl_Menu_Item objects. Motif calls this an OptionButton. The only difference between this and a Fl_Menu_Button is that the name of the most recent chosen menu item is displayed inside the box, while the label is displayed outside the box. However, since the use of this is most often to control a single variable rather than do individual callbacks, some of the Fl_Menu_Button methods are redescribed here in those terms. When the user picks an item off the menu the value() is set to that item and then the item's callback is done with the menu_button as the Fl_Widget argument. If the item does not have a callback the menu_button's callback is done instead. All three mouse buttons pop up the menu. The Forms behavior of the first two buttons to increment/decrement the choice is not implemented. This could be added with a subclass, however. The menu will also pop up in response to shortcuts indicated by putting a '&' character in the label(). See Fl_Button for a description of this. Typing the shortcut() of any of the items will do exactly the same as when you pick the item with the mouse. The '&' character in item names are only looked at when the menu is popped up, however. """ ; %{ #include "FL/Fl_Choice.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Choice) %include "FL/Fl_Choice.H" pyFltk-1.3.0/swig/Fl_Box.i0000644000175100017510000000055511237640160013701 0ustar heldheld/* File : Fl_Box.i */ //%module Fl_Box %feature("docstring") ::Fl_Box """ This widget simply draws its box, and possibly it's label. Putting it before some other widgets and making it big enough to surround them will let you draw a frame around them. """ ; %{ #include "FL/Fl_Box.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Box) %include "FL/Fl_Box.H" pyFltk-1.3.0/swig/Fl_Radio_Light_Button.i0000644000175100017510000000032711237640160016666 0ustar heldheld/* File : Fl_Radio_Light_Button.i */ //%module Fl_Radio_Light_Button %{ #include "FL/Fl_Radio_Light_Button.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Radio_Light_Button) %include "FL/Fl_Radio_Light_Button.H" pyFltk-1.3.0/swig/py_idle.i0000644000175100017510000000107211237640160014150 0ustar heldheld%pythoncode %{ __idleCallbacks = [] def Fl_add_idle( func, data=None): __idleCallbacks.append( (func, data) ) if len(__idleCallbacks) == 1: pyFLTK_controlIdleCallbacks(1) def Fl_remove_idle( func, data=None): for cb in __idleCallbacks: if cb == ( func, data ): __idleCallbacks.remove(cb) break def pyFLTK_doIdleCallbacks(): for cb in __idleCallbacks: cb[0](cb[1]) pyFLTK_registerDoIdle(pyFLTK_doIdleCallbacks) Fl.add_idle = staticmethod(Fl_add_idle) Fl.remove_idle = staticmethod(Fl_remove_idle) %} pyFltk-1.3.0/swig/Fl_Pack.i0000644000175100017510000000126611237640160014027 0ustar heldheld/* File : Fl_Pack.i */ //%module Fl_Pack %feature("docstring") ::Fl_Pack """ This widget was designed to add the functionality of compressing and aligning widgets. If type() is FL_HORIZONTAL all the children are resized to the height of the Fl_Pack, and are moved next to each other horizontally. If type() is not FL_HORIZONTAL then the children are resized to the width and are stacked below each other. Then the Fl_Pack resizes itself to surround the child widgets. This widget is needed for the Fl_Tabs. In addition you may want to put the Fl_Pack inside an Fl_Scroll. """ ; %{ #include "FL/Fl_Pack.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Pack) %include "FL/Fl_Pack.H" pyFltk-1.3.0/swig/x.i0000755000175100017510000000021111577513533013001 0ustar heldheld/* File : x.i */ //%module x %{ #include "FL/x.H" %} //%inline %{ // int fl_xid(Fl_Window *w) { return (int)(Fl_X::i(w)->xid); } //%} pyFltk-1.3.0/swig/Fl_Timer.i0000755000175100017510000000071311237640160014230 0ustar heldheld/* File : Fl_Timer.i */ //%module Fl_Timer %feature("docstring") ::Fl_Timer """ This is provided only to emulate the Forms Timer widget. It works by making a timeout callback every 1/5 second. This is wasteful and inaccurate if you just want something to happen a fixed time in the future. You should directly call Fl::add_timeout() instead. """ ; %{ #include "FL/Fl_Timer.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Timer) %include "FL/Fl_Timer.H" pyFltk-1.3.0/swig/fl_draw.i0000644000175100017510000000342211507127734014151 0ustar heldheld/* File : fl_draw.i */ //%module fl_draw %include "typemaps.i" %{ #include "FL/fl_draw.H" %} %typemap(in) const uchar * { /* Check if the input support the buffer protocol */ Py_ssize_t size_buffer; const void * buffer; int failure = PyObject_AsReadBuffer($input,&buffer,&size_buffer); if (!failure) { // work with array object $1 = (uchar *) buffer; } else { // work with list object // clear the error from PyObject_AsReadBuffer PyErr_Clear(); size_buffer=0; buffer=0; /* Check if is a list */ if (PyList_Check($input)) { int size = PyList_Size($input); int i = 0; $1 = (uchar *) malloc((size+1)*sizeof(char)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem($input,i); if (PyInt_Check(o)) $1[i] = (char)PyInt_AsLong(o); else { PyErr_SetString(PyExc_TypeError,"list must contain ints"); free($1); return NULL; } } $1[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list or does not support single-segment readable buffer interface"); return NULL; } } } %ignore fl_color(int c); %ignore fl_draw_pixmap(const char* const* data, int x,int y,Fl_Color=FL_GRAY); %ignore fl_measure_pixmap(const char* const* data, int &w, int &h); %ignore fl_chord(int x, int y, int w, int h, double a1, double a2); %ignore fl_read_image(uchar *p, int x,int y, int w, int h, int alpha=0); %ignore fl_draw_image(Fl_Draw_Image_Cb, void*, int,int,int,int, int delta=3); %ignore fl_draw_image_mono(Fl_Draw_Image_Cb, void*, int,int,int,int, int delta=1); %apply int* OUTPUT { int& }; %include "FL/fl_draw.H" pyFltk-1.3.0/swig/Fl_File_Icon.i0000755000175100017510000000053611237640160015002 0ustar heldheld/* File : Fl_File_Icon.i */ //%module Fl_File_Icon %feature("docstring") ::Fl_File_Icon """ The Fl_File_Icon class manages icon images that can be used as labels in other widgets and as icons in the FileBrowser widget. """ ; %{ #include "FL/Fl_File_Icon.H" %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_File_Icon) %include "FL/Fl_File_Icon.H" pyFltk-1.3.0/swig/Fl_Positioner.i0000644000175100017510000000070111237640160015275 0ustar heldheld/* File : Fl_Positioner.i */ %feature("docstring") ::Fl_Positioner """ This class is provided for Forms compatibility. It provides 2D input. It would be useful if this could be put atop another widget so that the crosshairs are on top, but this is not implemented. The color of the crosshairs is selection_color(). """ ; %{ #include "FL/Fl_Positioner.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Positioner) %include "FL/Fl_Positioner.H" pyFltk-1.3.0/swig/Fl_Group.i0000644000175100017510000000155511237640160014246 0ustar heldheld/* File : Fl_Group.i */ //%module Fl_Group %feature("docstring") ::Fl_Group """ The Fl_Group class is the FLTK container widget. It maintains an array of child widgets. These children can themselves be any widget including Fl_Group. The most important subclass of Fl_Group is Fl_Window, however groups can also be used to control radio buttons or to enforce resize behavior. """ ; %{ #include "FL/Fl_Group.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Group) REVERT_OWNERSHIP(Fl_Group::add) REVERT_OWNERSHIP(Fl_Group::remove) %ignore Fl_Group::find(const Fl_Widget*) const; %ignore Fl_Group::add(Fl_Widget&); %ignore Fl_Group::remove(Fl_Widget&); %ignore Fl_Group::resizable(Fl_Widget& o); %rename(insert_before) Fl_Group::insert(Fl_Widget& o, Fl_Widget* before); // needed for getting directors to work %ignore Fl_Group::array() const; %include "FL/Fl_Group.H" pyFltk-1.3.0/swig/gl.i0000644000175100017510000000531511243075437013137 0ustar heldheld/* File : gl.i */ //%module gl %{ #ifndef FL_gl_H #define FL_gl_H void gl_start(); void gl_finish(); void gl_color(Fl_Color); void gl_color(int c); void gl_rect(int x,int y,int w,int h); void gl_rectf(int x,int y,int w,int h); void gl_font(int fontid, int size); int gl_height(); int gl_descent(); double gl_width(const char *); double gl_width(const char *, int n); double gl_width(uchar); void gl_draw(const char*); void gl_draw(const char*, int n); void gl_draw(const char*, int x, int y); void gl_draw(const char*, float x, float y); void gl_draw(const char*, int n, int x, int y); void gl_draw(const char*, int n, float x, float y); void gl_draw(const char*, int x, int y, int w, int h, Fl_Align); void gl_measure(const char*, int& x, int& y); void gl_draw_image(const uchar *, int x,int y,int w,int h, int d=3, int ld=0); //from opengl for testing void glLoadIdentity( void ); void glViewport( int x, int y, int width, int height ); void glClear( int mask ); void glColor3f( float red, float green, float blue ); void glBegin( int mode ); void glEnd( void ); void glVertex3f( float x, float y, float z ); #endif %} %ignore gl_color(Fl_Color); %typemap(in) const uchar * { /* Check if the input support the buffer protocol */ int size_buffer; const void * buffer; int failure = PyObject_AsReadBuffer($input,&buffer,&size_buffer); if (!failure) { // work with array object $1 = (uchar *) buffer; } else { // work with list object // clear the error from PyObject_AsReadBuffer PyErr_Clear(); size_buffer=0; buffer=0; /* Check if is a list */ if (PyList_Check($input)) { int size = PyList_Size($input); int i = 0; $1 = (uchar *) malloc((size+1)*sizeof(char)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem($input,i); if (PyInt_Check(o)) $1[i] = (uchar)PyInt_AsLong(o); else { PyErr_SetString(PyExc_TypeError,"list must contain ints"); free($1); return NULL; } } $1[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list or does not support single-segment readable buffer interface"); return NULL; } } } %#ifndef DO_NOT_USE_OPENGL %include "FL/gl.h" %#else %#define FL_gl_H %#endif %ignore gl_rectf; %rename(gl_rectf) cond_gl_rectf; void cond_gl_rectf(int x,int y,int w,int h) { %#ifdef DO_NOT_USE_OPENGL fprintf(stderr, "Warning: gl_rectf not supported!\n"); %#else glRecti(x,y,x+w,y+h); %#endif } //from opengl for testing void glLoadIdentity( void ); void glViewport( int x, int y, int width, int height ); void glClear( int mask ); void glColor3f( float red, float green, float blue ); void glBegin( int mode ); void glEnd( void ); void glVertex3f( float x, float y, float z ); pyFltk-1.3.0/swig/Fl_Counter.i0000644000175100017510000000046511237640160014570 0ustar heldheld/* File : Fl_Counter.i */ //%module Fl_Counter %feature("docstring") ::Fl_Counter """ The Fl_Counter widget is provided for forms compatibility. It controls a single floating point value. """ ; %{ #include "FL/Fl_Counter.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Counter) %include "FL/Fl_Counter.H" pyFltk-1.3.0/swig/Fl_Round_Button.i0000644000175100017510000000120711237640160015566 0ustar heldheld/* File : Fl_Round_Button.i */ //%module Fl_Round_Button %feature("docstring") ::Fl_Round_Button """ Buttons generate callbacks when they are clicked by the user. You control exactly when and how by changing the values for type() and when(). The Fl_Round_Button subclass display the 'on' state by turning on a light, rather than drawing pushed in. The shape of the 'light' is initially set to FL_ROUND_DOWN_BOX. The color of the light when on is controlled with selection_color(), which defaults to FL_RED. """ ; %{ #include "FL/Fl_Round_Button.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Round_Button) %include "FL/Fl_Round_Button.H" pyFltk-1.3.0/swig/Fl_Select_Browser.i0000644000175100017510000000121111237640160016061 0ustar heldheld/* File : Fl_Select_Browser.i */ //%module Fl_Select_Browser %feature("docstring") ::Fl_Select_Browser """ The Fl_Select_Browser class is a subclass of Fl_Browser which lets the user select a single item, or no items by clicking on the empty space. As long as the mouse button is held down the item pointed to by it is highlighted. Normally the callback is done when the user presses the mouse, but you can change this with when(). See Fl_Browser for methods to add and remove lines from the browser. """ ; %{ #include "FL/Fl_Select_Browser.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Select_Browser) %include "FL/Fl_Select_Browser.H" pyFltk-1.3.0/swig/Fl_Export.i0000755000175100017510000000015111237640160014425 0ustar heldheld/* File : Fl_Export.i */ //%module Fl_Export %{ #include "FL/Fl_Export.H" %} %include "FL/Fl_Export.H" pyFltk-1.3.0/swig/Fl_Free.i0000755000175100017510000000154311237640160014033 0ustar heldheld/* File : Fl_Free.i */ //%module Fl_Free %feature("docstring") ::Fl_Free """ Emulation of the Forms 'free' widget. This emulation allows the free demo to run, and appears to be useful for porting programs written in Forms which use the free widget or make subclasses of the Forms widgets. There are five types of free, which determine when the handle function is called: FL_NORMAL_FREE 1 FL_SLEEPING_FREE 2 FL_INPUT_FREE 3 FL_CONTINUOUS_FREE 4 FL_ALL_FREE 5 An FL_INPUT_FREE accepts FL_FOCUS events. A FL_CONTINUOUS_FREE sets a timeout callback 100 times a second and provides a FL_STEP event, this has obvious detrimental effects on machine performance. FL_ALL_FREE does both. FL_SLEEPING_FREE are deactivated. """ ; %{ #include "FL/Fl_Free.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Free) %include "FL/Fl_Free.H" pyFltk-1.3.0/swig/setMenu.i0000644000175100017510000000645211441270410014144 0ustar heldheld#ifdef PYTHON /* File : setMenu.i */ //%module setMenu %native(setMenu) PyObject *setMenu(PyObject *self, PyObject *args); %{ Fl_Menu_Item *createFl_Menu_Item_Array(PyObject *self, PyObject *pyMenuList) { int numItems = PyTuple_Size(pyMenuList); //if a list (mutable) and not a tuple (immutable) is passed, // 'numItems' == -1, so if so, assume a list and covert it to a tuple if (PyList_Check(pyMenuList)) { //try a list pyMenuList = PyList_AsTuple(pyMenuList); numItems = PyTuple_Size(pyMenuList); } Fl_Menu_Item *arrayOfFMI = 0; arrayOfFMI = new Fl_Menu_Item[numItems+1]; int index=0; for (; indextext = 0; } else { p->text = strdup(pyText); } p->shortcut_ = shortcut; if (callback && PyCallable_Check(callback)) { CallbackStruct *cb = new CallbackStruct( callback, userData, SWIGTYPE_p_Fl_Menu_Item ); Py_INCREF(callback); Py_XINCREF(userData); //self->callback(PythonCallBack, (void *)cb); p->callback_ = (Fl_Callback *)PythonCallBack; p->user_data_ = (void *)cb; } else { p->callback_ = (Fl_Callback *)0; } p->flags = flags; p-> labeltype_ = labelType; p-> labelfont_ = labelFont; p-> labelsize_ = labelSize; p-> labelcolor_ = labelColor; } else { fprintf(stderr, "Could not convert menu item %d\n", index); PyObject_Print(nextItem, stderr, 0); fprintf(stderr, "\n"); p->text = 0; delete [] arrayOfFMI; return NULL; } } arrayOfFMI[index].text = 0; return arrayOfFMI; } // this is deprecated PyObject *setMenu(PyObject *self, PyObject *args) { PyObject *targetObject, *menuList; printf("Warning: setMenu is deprecated, use Fl_Menu_.copy() instead!\n"); if (!PyTuple_Check(args)) { printf("setMenuError: not a tup\n"); return NULL; } if (!PyArg_ParseTuple( args, "OO", &targetObject, &menuList)) { printf("no conv args\n"); return NULL; } PyObject *thisPtrString = PyObject_GetAttrString( targetObject, "this"); #if PY_VERSION_HEX>=0x03000000 if (!PyUnicode_Check(thisPtrString)) #else if (!PyString_Check(thisPtrString)) #endif { printf( "no get this str\n"); return NULL; } Fl_Menu_ *theMenu; //char *thisPtrAsCString = PyString_AsString(thisPtrString); //SWIG_GetPtr( thisPtrAsCString, (void **)&theMenu, "_Fl_Menu_p"); SWIG_ConvertPtr(thisPtrString, (void **)&theMenu, SWIGTYPE_p_Fl_Menu_, 0); Fl_Menu_Item *theMenuItems = createFl_Menu_Item_Array( NULL, menuList); // call the C++ object to add the menu theMenu->copy( theMenuItems, NULL ); delete [] theMenuItems; Py_INCREF(Py_None); return Py_None; } %} #endif pyFltk-1.3.0/swig/Fl_Adjuster.i0000644000175100017510000000125711237640160014732 0ustar heldheld/* File : Fl_Adjuster.i */ //%module Fl_Adjuster %feature("docstring") ::Fl_Adjuster """ The Fl_Adjuster widget has proven to be very useful for values that need a was stolen from Prisms, and large dynamic range. When you press a button and drag to the right the value increases. When you drag to the left it decreases. The largest button adjusts by 100 * step(), the next by 10 * step() and that smallest button by step(). Clicking on the buttons increments by 10 times the amount dragging by a pixel does. Shift + click decrements by 10 times the amount. """ ; %{ #include "FL/Fl_Adjuster.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Adjuster) %include "FL/Fl_Adjuster.H" pyFltk-1.3.0/swig/Fl_Widget.i0000644000175100017510000001052211627325427014400 0ustar heldheld/* File : Fl_Widget.i */ //%module Fl_Widget %feature("docstring") ::Fl_Widget """ Fl_Widget is the base class for all widgets in FLTK. You can't create one of these because the constructor is not public. However you can subclass it. All 'property' accessing methods, such as color(), parent(), or argument() are implemented as trivial inline functions and thus are as fast and small as accessing fields in a structure. Unless otherwise noted, the property setting methods such as color(n) or label(s) are also trivial inline functions, even if they change the widget's appearance. It is up to the user code to call redraw() after these. """ ; %{ #include #include "FL/Fl_Widget.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Widget) %pythonappend Fl_Widget::image(Fl_Image *a) %{ if len(args) > 0: #delegate ownership to C++ self.my_image = args[0] %} %pythonappend Fl_Widget::deimage(Fl_Image *a) %{ if len(args) > 0: #delegate ownership to C++ self.my_deimage = args[0] %} %pythonappend Fl_Widget::label %{ if len(args) > 0: self.my_label = args[len(args)-1] %} %{ #include "CallbackStruct.h" #include //static PyObject *my_pycallback = NULL; static void PythonCallBack(Fl_Widget *widget, void *clientdata) { PyObject *func, *arglist; PyObject *result; PyObject *obj = 0; CallbackStruct* cb = (CallbackStruct*)clientdata; // This is the function .... func = cb->func; if (cb->widget != 0) { // the parent widget obj = (PyObject *)( ((CallbackStruct *)clientdata)->widget); } else if (cb->type != 0) { // this is the type of widget swig_type_info *descr = (swig_type_info *)cb->type; if (descr != 0) { //printf("success\n"); obj = SWIG_NewPointerObj(widget, (swig_type_info *)descr, 0); } } if (obj == 0) { // generic fallback obj = SWIG_NewPointerObj(widget, SWIGTYPE_p_Fl_Widget, 0); } if (((CallbackStruct *)clientdata)->data) { arglist = Py_BuildValue("(OO)", obj, (PyObject *)(((CallbackStruct *)clientdata)->data) ); } else { arglist = Py_BuildValue("(O)", obj ); } result = PyEval_CallObject(func, arglist); //Py_XDECREF(arglist); // Trash arglist Py_XDECREF(result); if (PyErr_Occurred()) { PyErr_Print(); } return /*void*/; } %} %ignore Fl_Widget::image(Fl_Image& a); %ignore Fl_Widget::deimage(Fl_Image& a); //%ignore Fl_Widget::label; %include "FL/Fl_Widget.H" %extend Fl_Widget { #include // reimplementing protected member draw_label() void draw_label() { int X = self->x()+Fl::box_dx(self->box()); int W = self->w()-Fl::box_dw(self->box()); if (W > 11 && self->align()&(FL_ALIGN_LEFT|FL_ALIGN_RIGHT)) {X += 3; W -= 6;} self->draw_label(X, self->y()+Fl::box_dy(self->box()), W, self->h()-Fl::box_dh(self->box()),self->align()); } void callback(PyObject *PyFunc, PyObject *PyWidget, PyObject *PyData = 0) { //CallbackStruct *cb = 0; CallbackStruct *cb = (CallbackStruct*)self->user_data(); if (cb) { cb->func = PyFunc; cb->widget = PyWidget; if (PyData) { cb->data = PyData; } cb->widget = PyWidget; } else cb = new CallbackStruct( PyFunc, PyData, PyWidget ); // Add a reference to new callback Py_INCREF(PyFunc); Py_XINCREF(PyData); Py_XINCREF(PyWidget); self->callback(PythonCallBack, (void *)cb); } void user_data(PyObject *PyData) { // Add a reference to new callback Py_XINCREF(PyData); CallbackStruct *cb = (CallbackStruct*)self->user_data(); if (cb == NULL) { cb = new CallbackStruct(0, PyData, (PyObject*)0); self->user_data((void *)cb); } else { cb->data = PyData; } } PyObject* user_data() { PyObject *obj = 0; CallbackStruct *cb = (CallbackStruct*)self->user_data(); if (cb) { if (cb->data) { obj = (PyObject*)cb->data; } } //Py_XDECREF(obj); Py_XINCREF(obj); return obj; } } %typemap(in) PyObject *PyFunc { if (!PyCallable_Check($input)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); return NULL; } $1 = $input; } pyFltk-1.3.0/swig/filename.i0000755000175100017510000000047511237640160014314 0ustar heldheld/* File : filename.i */ //%module filename %include "cstring.i" %{ #include "FL/filename.H" %} %cstring_bounded_mutable(char *to, 1024); %ignore Fl_File_Sort_F; %ignore fl_filename_list; %ignore fl_numericsort; %ignore fl_alphasort; %ignore fl_casealphasort; %ignore fl_casenumericsort; %include "FL/filename.H" pyFltk-1.3.0/swig/fl_show_input.i0000755000175100017510000000017111237640160015405 0ustar heldheld/* File : fl_show_input.i */ //%module fl_show_input %{ #include "FL/fl_show_input.H" %} %include "FL/fl_show_input.H" pyFltk-1.3.0/swig/Fl_XBM_Image.i0000755000175100017510000000047411237640160014704 0ustar heldheld/* File : Fl_XBM_Image.i */ //%module Fl_XBM_Image %feature("docstring") ::Fl_XBM_Image """ The Fl_XBM_Image class supports loading, caching, and drawing of X Bitmap (XBM) bitmap files. """ ; %{ #include "FL/Fl_XBM_Image.H" %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_XBM_Image) %include "FL/Fl_XBM_Image.H" pyFltk-1.3.0/swig/Fl_Float_Input.i0000644000175100017510000000063311237640160015372 0ustar heldheld/* File : Fl_Float_Input.i */ //%module Fl_Float_Input %feature("docstring") ::Fl_Float_Input """ The Fl_Float_Input class is a subclass of Fl_Input that only allows the user to type floating point numbers (sign, digits, decimal point, more digits, 'E' or 'e', sign, digits). """ ; %{ #include "FL/Fl_Float_Input.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Float_Input) %include "FL/Fl_Float_Input.H" pyFltk-1.3.0/swig/Fl_Light_Button.i0000644000175100017510000000120411237640160015543 0ustar heldheld/* File : Fl_Light_Button.i */ //%module Fl_Light_Button %feature("docstring") ::Fl_Light_Button """ Buttons generate callbacks when they are clicked by the user. You control exactly when and how by changing the values for type() and when(). The Fl_Light_Button subclass display the 'on' state by turning on a light, rather than drawing pushed in. The shape of the 'light' is initially set to FL_DOWN_BOX. The color of the light when on is controlled with selection_color(), which defaults to FL_YELLOW. """ ; %{ #include "FL/Fl_Light_Button.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Light_Button) %include "FL/Fl_Light_Button.H" pyFltk-1.3.0/swig/Fl_Round_Clock.i0000755000175100017510000000065511237640160015357 0ustar heldheld/* File : Fl_Round_Clock.i */ //%module Fl_Round_Clock %feature("docstring") ::Fl_Round_Clock """ This widget provides a round analog clock display and is provided for Forms compatibility. It installs a 1-second timeout callback using Fl::add_timeout(). """ ; %feature("notabstract") Fl_Round_Clock; %{ #include "FL/Fl_Round_Clock.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Round_Clock) %include "FL/Fl_Round_Clock.H" pyFltk-1.3.0/swig/Fl_Browser_.i0000644000175100017510000000230111237640160014722 0ustar heldheld/* File : Fl_Browser_.i */ %feature("docstring") ::Fl_Browser_ """ This is the base class for browsers. To be useful it must be subclassed and several virtual functions defined. The Forms-compatible browser and the file chooser's browser are subclassed off of this. This has been designed so that the subclass has complete control over the storage of the data, although because next() and prev() functions are used to index, it works best as a linked list or as a large block of characters in which the line breaks must be searched for. A great deal of work has been done so that the 'height' of a data object does not need to be determined until it is drawn. This is useful if actually figuring out the size of an object requires accessing image data or doing stat() on a file or doing some other slow operation. """ ; %{ #include "FL/Fl_Browser_.H" %} %ignore Fl_Browser_::scrollbar; %ignore Fl_Browser_::hscrollbar; %ignore Fl_Browser_::draw(int,int,int,int); %include "macros.i" CHANGE_OWNERSHIP(Fl_Browser_) %include "FL/Fl_Browser_.H" %extend Fl_Browser_ { Fl_Scrollbar* getScrollbar() { return &(self->scrollbar); } Fl_Scrollbar* getHScrollbar() { return &(self->hscrollbar); } } pyFltk-1.3.0/swig/glut.i0000755000175100017510000000012511237640160013477 0ustar heldheld/* File : glut.i */ //%module glut %{ #include "FL/glut.h" %} %include "FL/glut.h" pyFltk-1.3.0/swig/Fl_Single_Window.i0000644000175100017510000000156611237640160015724 0ustar heldheld/* 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" pyFltk-1.3.0/swig/Fl_Menu_Item.i0000644000175100017510000000534711237640160015037 0ustar heldheld/* File : Fl_Menu_Item.i */ //%module Fl_Menu_Item %feature("docstring") ::Fl_Menu_Item """ The Fl_Menu_Item structure defines a single menu item that is used by the Fl_Menu_ class. This structure is defined as Fl_Menu_Item : text -> character array # label() shortcut_ -> unsigned long callback_ -> Fl_Callback user_data_ flags -> int labeltype_ -> unsigned character labelfont_ -> unsigned character labelsize_ -> unsigned character labelcolor_ -> unsigned character enum: # values for flags: FL_MENU_INACTIVE = 1, FL_MENU_TOGGLE = 2, FL_MENU_VALUE = 4, FL_MENU_RADIO = 8, FL_MENU_INVISIBLE = 0x10, FL_SUBMENU_POINTER = 0x20, FL_SUBMENU = 0x40, FL_MENU_DIVIDER = 0x80, FL_MENU_HORIZONTAL = 0x100 Typically menu items are statically defined; for example: MenuTable = ( ('&alpha', FL_ALT+ord('a'), the_cb, 1), ('&beta', FL_ALT+ord('b'), the_cb, 2), ('gamma', FL_ALT+ord('c'), the_cb, 3, FL_MENU_DIVIDER), ('&strange', 0, strange_cb), ('&charm', 0, charm_cb), ('&truth', 0, truth_cb), ('b&eauty', 0, beauty_cb), ('sub&menu', 0, 0, 0, FL_SUBMENU), ('one'), ('two'), ('three'), (None,), ('inactive', FL_ALT+'i', 0, 0, FL_MENU_INACTIVE|FL_MENU_DIVIDER), ('invisible',FL_ALT+'i', 0, 0, FL_MENU_INVISIBLE), ('check', FL_ALT+'i', 0, 0, FL_MENU_TOGGLE|FL_MENU_VALUE), ('box', FL_ALT+'i', 0, 0, FL_MENU_TOGGLE), (None,); A submenu title is identified by the bit FL_SUBMENU in the flags field, and ends with a label() that is NULL. You can nest menus to any depth. A pointer to the first item in the submenu can be treated as an Fl_Menu array itself. It is also possible to make seperate submenu arrays with FL_SUBMENU_POINTER flags. You should use the method functions to access structure members and not access them directly to avoid compatibility problems with future releases of FLTK. """ ; %{ #include "FL/Fl_Menu_Item.H" #include %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_Menu_Item) %ignore Fl_Menu_Item::image(Fl_Image& a); %ignore fl_old_shortcut(const char*); %ignore Fl_Menu_Item::callback() const; //%ignore Fl_Menu_Item::user_data(); %include "FL/Fl_Menu_Item.H" %extend Fl_Menu_Item { PyObject* callback() { CallbackStruct *cb = (CallbackStruct*)self->user_data_; PyObject *o = Py_BuildValue("O", cb->func); return o; } PyObject* user_data() { CallbackStruct *cb = (CallbackStruct*)self->user_data_; PyObject *o = Py_BuildValue("O", cb->data); return o; } } pyFltk-1.3.0/swig/Fl_Tiled_Image.i0000755000175100017510000000064511237640160015317 0ustar heldheld/* File : Fl_Tiled_Image.i */ //%module Fl_Tiled_Image %feature("docstring") ::Fl_Tiled_Image """ The Fl_Tiled_Image class supports tiling of images over a specified area. The source (tile) image is not copied unless you call the color_average(), desaturate(), or inactive() methods. """ ; %{ #include "FL/Fl_Tiled_Image.H" %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_Tiled_Image) %include "FL/Fl_Tiled_Image.H" pyFltk-1.3.0/swig/Fl_Menu_Button.i0000644000175100017510000000214111237640160015401 0ustar heldheld/* File : Fl_Menu_Button.i */ //%module Fl_Menu_Button %feature("docstring") ::Fl_Menu_Button """ This is a button that when pushed pops up a menu (or hierarchy of menus) defined by an array of Fl_Menu_Item objects. Fl_Menu_Button widget. Normally any mouse button will pop up a menu and it is lined up below the button as shown in the picture. However an Fl_Menu_Button may also control a pop-up menu. This is done by setting the type() , see below. The menu will also pop up in response to shortcuts indicated by putting a '&' character in the label(). Typing the shortcut() of any of the menu items will cause callbacks exactly the same as when you pick the item with the mouse. The '&' character in menu item names are only looked at when the menu is popped up, however. When the user picks an item off the menu, the item's callback is done with the menu_button as the Fl_Widget* argument. If the item does not have a callback the menu_button's callback is done instead. """ ; %{ #include "FL/Fl_Menu_Button.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Menu_Button) %include "FL/Fl_Menu_Button.H" pyFltk-1.3.0/swig/Fl_Multiline_Output.i0000644000175100017510000000062411237640160016470 0ustar heldheld/* File : Fl_Multiline_Output.i */ //%module Fl_Multiline_Output %feature("docstring") ::Fl_Multiline_Output """ This widget is a subclass of Fl_Output that displays multiple lines of text. It also displays tab characters as whitespace to the next column. """ ; %{ #include "FL/Fl_Multiline_Output.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Multiline_Output) %include "FL/Fl_Multiline_Output.H" pyFltk-1.3.0/swig/gl_draw.i0000755000175100017510000000014111237640160014141 0ustar heldheld/* File : gl_draw.i */ //%module gl_draw %{ #include "FL/gl_draw.h" %} %include "FL/gl_draw.h" pyFltk-1.3.0/swig/Fl_Valuator.i0000644000175100017510000000236411237640160014746 0ustar heldheld/* File : Fl_Valuator.i */ //%module Fl_Valuator %feature("docstring") ::Fl_Valuator """ The Fl_Valuator class controls a single floating-point value and provides a consistent interface to set the value, range, and step, and insures that callbacks are done the same for every object. """ ; %{ #include "FL/Fl_Valuator.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Valuator) //%include "FL/Fl_Valuator.H" %include "cstring.i" %cstring_bounded_mutable(char* format_string, 1024); class Fl_Valuator : public Fl_Widget { public: void bounds(double a, double b) {min=a; max=b;} double minimum() const {return min;} void minimum(double a) {min = a;} double maximum() const {return max;} void maximum(double a) {max = a;} void range(double a, double b) {min = a; max = b;} void step(int a) {A = a; B = 1;} void step(double a, int b) {A = a; B = b;} void step(double s); double step() const {return A/B;} void precision(int); double value() const {return value_;} int value(double); virtual int format(char* format_string); double round(double); // round to nearest multiple of step double clamp(double); // keep in range double increment(double, int); // add n*step to value }; %pythoncode %{ FL_VERTICAL=0 FL_HORIZONTAL=1 %} pyFltk-1.3.0/swig/Fl_Table.i0000755000175100017510000000277011517211655014210 0ustar heldheld/* File : Fl_Table.i */ %feature("docstring") ::Fl_Table """ This is the base class for table widgets. (eg. Fl_Table_Row). To be useful it must be subclassed and several virtual functions defined. Normally applications use widgets derived from this widget, and do not use this widget directly; this widget is usually too low level to be used directly by applications. This widget does not handle the data in the table. The draw_cell() method must be overridden by a subclass to manage drawing the contents of the cells. This widget can be used in several ways: * As a custom widget; see testtablerow.cxx. Very optimal for even extremely large tables. * As a table made up of a single FLTK widget instanced all over the table; see singleinput.cxx. Very optimal for even extremely large tables; * As a regular container of FLTK widgets, one widget per cell. See widgettable.cxx. Not recommended for large tables. When acting as part of a custom widget, events on the cells and/or headings generate callbacks when they are clicked by the user. You control when events are generated based on the setting for Fl_Table::when(). When acting as a container for FLTK widgets, the FLTK widgets maintain themselves. Although the draw_cell() method must be overridden, its contents can be very simple. See the draw_cell() code in widgettable.cxx. """ ; %{ #include "FL/Fl_Table.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Table) //%ignore Fl_Table::draw_cell; %ignore Fl_Table::array; %include "FL/Fl_Table.H" pyFltk-1.3.0/swig/Fl_Window.i0000644000175100017510000000226411237640160014417 0ustar heldheld// File : Fl_Window.i %feature("docstring") ::Fl_Window """ This widget produces an actual window. This can either be a main window, with a border and title and all the window management controls, or a 'subwindow' inside a window. This is controlled by whether or not the window has a parent(). Once you create a window, you usually add children Fl_Widget 's to it by using window->add(child) for each new widget. See Fl_Group for more information on how to add and remove children. There are several subclasses of Fl_Window that provide double-buffering, overlay, menu, and OpenGL support. The window's callback is done if the user tries to close a window using the window manager and Fl.modal() is zero or equal to the window. Fl_Window has a default callback that calls Fl_Window.hide(). """ ; %feature("nodirector") Fl_Window::show; %{ #include "FL/Fl_Window.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Window) %ignore Fl_Window::hotspot(const Fl_Widget& p, int offscreen = 0); %ignore Fl_Window::show(); %ignore Fl_Window::show(int argc, char** argv); %include "WindowShowTypemap.i" %include "FL/Fl_Window.H" // override method show %extend Fl_Window { MACRO_WINDOW_SHOW } pyFltk-1.3.0/swig/fl_show_colormap.i0000644000175100017510000000020511237640160016055 0ustar heldheld/* File : fl_show_colormap.i */ //%module fl_show_colormap %{ #include "FL/fl_show_colormap.H" %} %include "FL/fl_show_colormap.H" pyFltk-1.3.0/swig/Fl_Spinner.i0000644000175100017510000000134611237640160014566 0ustar heldheld/* File : Fl_Spinner.i */ %feature("docstring") ::Fl_Spinner """ The Fl_Spinner widget is a combination of the input widget and repeat buttons. The user can either type into the input area or use the buttons to change the value. """ ; %{ #include "FL/Fl_Spinner.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Spinner) %ignore Fl_Spinner::minimum; %ignore Fl_Spinner::maximum; %include "FL/Fl_Spinner.H" // hack to account for spelling mistakes in Fl_Spinner.H %extend Fl_Spinner { %rename(minimum) min; %rename(maximum) max; void min(double m) { self->minimum(m); } double min() { return self->mininum(); } void max(double m) { self->maximum(m); } double max() { return self->maxinum(); } } pyFltk-1.3.0/swig/ListSelect.i0000644000175100017510000000021211237640160014571 0ustar heldheld//#ifdef ListSelect %{ #include "ListSelect.h" %} %include "macros.i" CHANGE_OWNERSHIP(ListSelect) %include "../contrib/ListSelect.h" pyFltk-1.3.0/swig/fl_ask.i0000644000175100017510000000477611237640160014000 0ustar heldheld/* File : fl_ask.i */ //%module fl_ask %{ #include "FL/fl_ask.H" %} //%ignore fl_alert; //%ignore fl_ask; //%ignore fl_choice; %ignore fl_input; //%ignore fl_message; %ignore fl_password; %include "FL/fl_ask.H" // avoiding varargs problem %rename (fl_password) fl_vararg_password; %rename (fl_input) fl_vararg_input; %inline %{ const char *fl_vararg_input(const char *label, const char *deflt = 0) { const char* result = 0; result = fl_input(label, deflt); return result; }; const char *fl_vararg_password(const char *label, const char *deflt = 0) { const char* result = 0; result = fl_password(label, deflt); return result; }; const char* fl_no_get() { return fl_yes; }; const char* fl_yes_get() { return fl_yes; }; const char* fl_ok_get() { return fl_yes; }; const char* fl_cancel_get() { return fl_yes; }; const char* fl_close_get() { return fl_yes; }; void fl_no_set(const char* value) { fl_no = value; }; void fl_yes_set(const char* value) { fl_yes = value; }; void fl_ok_set(const char* value) { fl_ok = value; }; void fl_cancel_set(const char* value) { fl_cancel = value; }; void fl_close_set(const char* value) { fl_close = value; }; %} // multi-threading extensions //%rename (fl_message) fl_mt_message; //%rename (fl_alert) fl_mt_alert; //%rename (fl_ask) fl_mt_ask; //%rename (fl_choice) fl_mt_choice; //%rename (fl_input) fl_mt_input; //%rename (fl_password) fl_mt_password; %inline %{ void fl_mt_message(const char* text) { Py_BEGIN_ALLOW_THREADS; fl_message(text); Py_END_ALLOW_THREADS; }; void fl_mt_alert(const char* text) { Py_BEGIN_ALLOW_THREADS; fl_alert(text); Py_END_ALLOW_THREADS; }; int fl_mt_ask(const char* text) { int status = 0; Py_BEGIN_ALLOW_THREADS; status = fl_ask(text); Py_END_ALLOW_THREADS; return status; }; int fl_mt_choice(const char *q,const char *b0,const char *b1,const char *b2) { int status = 0; Py_BEGIN_ALLOW_THREADS; status = fl_choice(q, b0, b1, b2); Py_END_ALLOW_THREADS; return status; }; const char *fl_mt_input(const char *label, const char *deflt = 0) { const char* result = 0; Py_BEGIN_ALLOW_THREADS; result = fl_input(label, deflt); Py_END_ALLOW_THREADS; return result; }; const char *fl_mt_password(const char *label, const char *deflt = 0) { const char* result = 0; Py_BEGIN_ALLOW_THREADS; result = fl_password(label, deflt); Py_END_ALLOW_THREADS; return result; }; %} pyFltk-1.3.0/swig/Fl_Dial.i0000644000175100017510000000040211237640160014011 0ustar heldheld/* File : Fl_Dial.i */ %feature("docstring") ::Fl_Dial """ The Fl_Dial widget provides a circular dial to control a single floating point value. """ ; %{ #include "FL/Fl_Dial.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Dial) %include "FL/Fl_Dial.H" pyFltk-1.3.0/swig/Fl_File_Chooser.i0000755000175100017510000000510511237640160015511 0ustar heldheld/* File : Fl_File_Chooser.i */ //%module Fl_File_Chooser %feature("docstring") ::Fl_File_Chooser """ The Fl_File_Chooser widget displays a standard file selection dialog that supports various selection modes. The Fl_File_Chooser class also exports several static values that may be used to localize or customize the appearance of all file chooser dialogs: Member Default value add_favorites_label 'Add to Favorites' all_files_label 'All Files (*)' custom_filter_label 'Custom Filter' existing_file_label 'Please choose an existing file!' favorites_label 'Favorites' filename_label 'Filename:' filesystems_label 'My Computer' (WIN32) 'File Systems' (all others) manage_favorites_label 'Manage Favorites' new_directory_label 'New Directory?' new_directory_tooltip 'Create a new directory.' preview_label 'Preview' save_label 'Save' show_label 'Show:' sort fl_numericsort The sort member specifies the sort function that is used when loading the contents of a directory. """ ; %{ #include "FL/Fl_File_Chooser.H" %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_File_Chooser) %ignore Fl_File_Chooser::sort; // this is not declared on all systems! %ignore Fl_File_Chooser::rescan_keep_filename; %{ #include "CallbackStruct.h" static void PythonCallBack(Fl_File_Chooser *widget, void *clientdata) { PyObject *func, *arglist; PyObject *result; PyObject *obj; func = (PyObject *)( ((CallbackStruct *)clientdata)->func); // the parent widget obj = (PyObject *)( ((CallbackStruct *)clientdata)->widget); //obj = SWIG_NewPointerObj(widget, SWIGTYPE_p_Fl_File_Chooser, 0); if (((CallbackStruct *)clientdata)->data) { arglist = Py_BuildValue("(OO)", obj, (PyObject *)(((CallbackStruct *)clientdata)->data) ); } else { arglist = Py_BuildValue("(O)", obj ); } result = PyEval_CallObject(func, arglist); Py_DECREF(arglist); // Trash arglist Py_XDECREF(result); if (PyErr_Occurred()) { PyErr_Print(); } return /*void*/; } %} %include "FL/Fl_File_Chooser.H" %extend Fl_File_Chooser { void callback(PyObject *PyFunc, PyObject *PyWidget, PyObject *PyData = 0) { CallbackStruct *cb = 0; cb = new CallbackStruct( PyFunc, PyData, PyWidget ); Py_INCREF(PyFunc); /* Add a reference to new callback */ Py_XINCREF(PyData); Py_XINCREF(PyWidget); self->callback(PythonCallBack, (void *)cb); } } %typemap(in) PyObject *PyFunc { if (!PyCallable_Check($input)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); return NULL; } $1 = $input; } pyFltk-1.3.0/swig/Fl_Input.i0000644000175100017510000000574611237640160014257 0ustar heldheld/* File : Fl_Input.i */ //%module Fl_Input %feature("docstring") ::Fl_Input """ This is the FLTK text input widget. It displays a single line of text and lets the user edit it. Normally it is drawn with an inset box and a white background. The text may contain any characters (even 0), and will correctly display anything, using ^X notation for unprintable control characters and \nnn notation for unprintable characters with the high bit set. It assumes the font can draw any characters in the ISO-8859-1 character set. Mouse button 1 Moves the cursor to this point. Drag selects characters. Double click selects words. Triple click selects all text. Shift+click extends the selection. When you select text it is automatically copied to the clipboard. Mouse button 2 Insert the clipboard at the point clicked. You can also select a region and replace it with the clipboard by selecting the region with mouse button 2. Mouse button 3 Currently acts like button 1. Backspace Deletes one character to the left, or deletes the selected region. Enter May cause the callback, see when(). ^A or Home Go to start of line. ^B or Left Move left ^C Copy the selection to the clipboard ^D or Delete Deletes one character to the right or deletes the selected region. ^E or End Go to the end of line. ^F or Right Move right ^K Delete to the end of line (next \n character) or deletes a single \n character. These deletions are all concatenated into the clipboard. ^N or Down Move down (for Fl_Multiline_Input only, otherwise it moves to the next input field). ^P or Up Move up (for Fl_Multiline_Input only, otherwise it moves to the previous input field). ^U Delete everything. ^V or ^Y Paste the clipboard ^X or ^W Copy the region to the clipboard and delete it. ^Z or ^_ Undo. This is a single-level undo mechanism, but all adjacent deletions and insertions are concatenated into a single 'undo'. Often this will undo a lot more than you expected. Shift+move Move the cursor but also extend the selection. RightCtrl or Compose Start a compose-character sequence. The next one or two keys typed define the character to insert (see table that follows.) The character 'nbsp' (non-breaking space) is typed by using [compose][space]. The single-character sequences may be followed by a space if necessary to remove ambiguity. The same key may be used to 'quote' control characters into the text. If you need a ^Q character you can get one by typing [compose][Control+Q]. X may have a key on the keyboard defined as XK_Multi_key. If so this key may be used as well as the right-hand control key. You can set this up with the program xmodmap. If your keyboard is set to support a foreign language you should also be able to type 'dead key' prefix characters. On X you will actually be able to see what dead key you typed, and if you then move the cursor without completing the sequence the accent will remain inserted. """ ; %{ #include "FL/Fl_Input.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Input) %include "FL/Fl_Input.H" pyFltk-1.3.0/swig/Fl_Overlay_Window.i0000755000175100017510000000215411237640160016121 0ustar heldheld/* File : Fl_Overlay_Window.i */ //%module Fl_Overlay_Window %feature("docstring") ::Fl_Overlay_Window """ This window provides double buffering and also the ability to draw the 'overlay' which is another picture placed on top of the main image. The overlay is designed to be a rapidly-changing but simple graphic such as a mouse selection box. Fl_Overlay_Window uses the overlay planes provided by your graphics hardware if they are available. If no hardware support is found the overlay is simulated by drawing directly into the on-screen copy of the double-buffered window, and 'erased' by copying the backbuffer over it again. This means the overlay will blink if you change the image in the window. """ ; %feature("nodirector") Fl_Overlay_Window::show; %{ #include "FL/Fl_Overlay_Window.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Overlay_Window) %include "WindowShowTypemap.i" // override method show %extend Fl_Overlay_Window { MACRO_WINDOW_SHOW } // ignore original declaration %ignore Fl_Overlay_Window::show(); %ignore Fl_Overlay_Window::show(int argc, char** argv); %include "FL/Fl_Overlay_Window.H" pyFltk-1.3.0/swig/Fl_Clock.i0000755000175100017510000000061411237640160014203 0ustar heldheld/* File : Fl_Clock.i */ %feature("docstring") ::Fl_Clock """ This widget provides a round analog clock display and is provided for Forms compatibility. It installs a 1-second timeout callback using Fl.add_timeout(). """ ; %{ #include "FL/Fl_Clock.H" %} %ignore Fl_Clock::update(); %include "macros.i" CHANGE_OWNERSHIP(Fl_Clock) CHANGE_OWNERSHIP(Fl_Clock_Output) %include "FL/Fl_Clock.H" pyFltk-1.3.0/swig/Fl_Image.i0000644000175100017510000000330311237640160014165 0ustar heldheld/* File : Fl_Image.i */ //%module Fl_Image %feature("docstring") ::Fl_Image """ Fl_Image is the base class used for caching and drawing all kinds of images in FLTK. This class keeps track of common image data such as the pixels, colormap, width, height, and depth. Virtual methods are used to provide type-specific image handling. Since the Fl_Image class does not support image drawing by itself, calling the draw() method results in a box with an X in it being drawn instead. """ ; %{ #include "FL/Fl_Image.H" %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_Image) //CHANGE_OWNERSHIP(Fl_RGB_Image) %typemap(in) const uchar *bits { /* Check if the input support the buffer protocol */ Py_ssize_t size_buffer; const void * buffer; int failure = PyObject_AsReadBuffer($input,&buffer,&size_buffer); if (!failure) { // work with array object $1 = (uchar *) buffer; } else { // work with list object // clear the error from PyObject_AsReadBuffer PyErr_Clear(); size_buffer=0; buffer=0; /* Check if is a list */ if (PyList_Check($input)) { int size = PyList_Size($input); int i = 0; $1 = (uchar *) malloc((size+1)*sizeof(char)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem($input,i); if (PyInt_Check(o)) $1[i] = (uchar)PyInt_AsLong(o); else { PyErr_SetString(PyExc_TypeError,"list must contain ints"); free($1); return NULL; } } $1[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list or does not support single-segment readable buffer interface"); return NULL; } } } %ignore Fl_RGB_Image::id; %ignore Fl_RGB_Image::mask; %newobject Fl_Image::copy; %include "FL/Fl_Image.H" pyFltk-1.3.0/swig/fl_message.i0000755000175100017510000000015511237640160014634 0ustar heldheld/* File : fl_message.i */ //%module fl_message %{ #include "FL/fl_message.H" %} %include "FL/fl_message.H" pyFltk-1.3.0/swig/Fl_Multi_Label.i0000755000175100017510000000026411237640160015342 0ustar heldheld/* File : Fl_Multi_Label.i */ //%module Fl_Multi_Label %{ #include "FL/Fl_Multi_Label.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Multi_Label) %include "FL/Fl_Multi_Label.H" pyFltk-1.3.0/swig/Fl_BMP_Image.i0000755000175100017510000000050111237640160014663 0ustar heldheld/* File : Fl_BMP_Image.i */ //%module Fl_BMP_Image %feature("docstring") ::Fl_BMP_Image """ The Fl_BMP_Image class supports loading, caching, and drawing of Windows Bitmap (BMP) image files. """ ; %{ #include "FL/Fl_BMP_Image.H" %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_BMP_Image) %include "FL/Fl_BMP_Image.H" pyFltk-1.3.0/swig/Fl_Hor_Value_Slider.i0000644000175100017510000000105511237640160016333 0ustar heldheld/* File : Fl_Hor_Value_Slider.i */ //%module Fl_Hor_Value_Slider %feature("docstring") ::Fl_Hor_Value_Slider """ The Fl_Hor_Value_Slider widget contains a sliding knob inside a box. It is often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ ; %{ #include "FL/Fl_Hor_Value_Slider.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Hor_Value_Slider) %include "FL/Fl_Hor_Value_Slider.H" pyFltk-1.3.0/swig/Fl_Value_Input.i0000644000175100017510000000177711237640160015413 0ustar heldheld/* File : Fl_Value_Input.i */ //%module Fl_Value_Input %feature("docstring") ::Fl_Value_Input """ The Fl_Value_Input widget displays a numeric value. The user can click in the text field and edit it - there is in fact a hidden Fl_Input widget with type(FL_FLOAT_INPUT) or type(FL_INT_INPUT) in there - and when they hit return or tab the value updates to what they typed and the callback is done. If step() is non-zero, the user can also drag the mouse across the object and thus slide the value. The left button moves one step() per pixel, the middle by 10 * step(), and the right button by 100 * step(). It is therefore impossible to select text by dragging across it, although clicking can still move the insertion cursor. If step() is non-zero and integral, then the range of numbers are limited to integers instead of floating point values. """ ; %{ #include "FL/Fl_Value_Input.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Value_Input) %ignore Fl_Value_Input::input; %include "FL/Fl_Value_Input.H" pyFltk-1.3.0/swig/Fl_Value_Output.i0000644000175100017510000000114511237640160015601 0ustar heldheld/* File : Fl_Value_Output.i */ //%module Fl_Value_Output %feature("docstring") ::Fl_Value_Output """ The Fl_Value_Output widget displays a floating point value. If step() is not zero, the user can adjust the value by dragging the mouse left and right. The left button moves one step() per pixel, the middle by 10 * step(), and the right button by 100 * step(). This is much lighter-weight than Fl_Value_Input because it contains no text editing code or character buffer. """ ; %{ #include "FL/Fl_Value_Output.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Value_Output) %include "FL/Fl_Value_Output.H" pyFltk-1.3.0/swig/Fl_Hor_Slider.i0000644000175100017510000000100311237640160015170 0ustar heldheld/* File : Fl_Hor_Slider.i */ //%module Fl_Hor_Slider %feature("docstring") ::Fl_Hor_Slider """ The Fl_Hor_Slider widget contains a sliding knob inside a box. It is often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ ; %{ #include "FL/Fl_Hor_Slider.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Hor_Slider) %include "FL/Fl_Hor_Slider.H" pyFltk-1.3.0/swig/Fl_Table_Row.i0000755000175100017510000000216311512632514015027 0ustar heldheld/* File : Fl_Table_Row.i */ %feature("docstring") ::Fl_Table_Row """ This class implements a simple table of rows and columns that specializes in the selection of rows. This widget is similar in behavior to a 'mail subject browser', similar to that found in mozilla, netscape and outlook mail browsers. Most methods of importance will be found in the Fl_Table widget, such as rows() and cols(). To be useful it must be subclassed and at minimum the draw_cell() method must be overridden to provide the content of the cells. This widget does not manage the cell's data content; it is up to the parent class's draw_cell() method override to provide this. Events on the cells and/or headings generate callbacks when they are clicked by the user. You control when events are generated based on the values you supply for when(). """ ; %{ #include "FL/Fl_Table_Row.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Table_Row) //%ignore Fl_Table_Row::draw_cell; //%ignore Fl_Table_Row::find_cell; %apply int& INOUT {int& X}; %apply int& INOUT {int& Y}; %apply int& INOUT {int& W}; %apply int& INOUT {int& H}; %include "FL/Fl_Table_Row.H" pyFltk-1.3.0/swig/WindowShowTypemap.i0000644000175100017510000000457311441276546016216 0ustar heldheld// This tells SWIG to treat char ** as a special case %typemap(in) char ** { // Check if is a list if (PyList_Check($input)) { int size = PyList_Size($input); int i = 0; $1 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem($input,i); %#if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) %#else if (PyString_Check(o)) %#endif //$1[i] = PyString_AsString(PyList_GetItem($input,i)); $1[i] = SWIG_Python_str_AsChar(PyList_GetItem($input,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free($1); return NULL; } } $1[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } // This cleans up the char ** array we malloc'd before the function call %typemap(freearg) char ** { free((char *) $1); } %define MACRO_WINDOW_SHOW void show(PyObject *count = 0, PyObject *data = 0) { Py_XINCREF(count); Py_XINCREF(data); if (!count) self->show(); else if (!data) { if (PyList_Check(count)) { int size = PyList_Size(count); int i = 0; char** tmp = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(count,i); %#if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) %#else if (PyString_Check(o)) %#endif tmp[i] = SWIG_Python_str_AsChar(PyList_GetItem(count,i)); //tmp[i] = PyString_AsString(PyList_GetItem(count,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(tmp); return; } } tmp[i] = 0; self->show(size, tmp); free(tmp); } } else { if (PyList_Check(data)) { int size = PyInt_AsLong(count); int i = 0; char** tmp = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(data,i); %#if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) %#else if (PyString_Check(o)) %#endif tmp[i] = SWIG_Python_str_AsChar(PyList_GetItem(data,i)); //tmp[i] = PyString_AsString(PyList_GetItem(data,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(tmp); return; } } tmp[i] = 0; self->show(size, tmp); free(tmp); } else { PyErr_SetString(PyExc_TypeError,"not a list"); self->show(); } } } %enddef pyFltk-1.3.0/swig/Fl_Wizard.i0000755000175100017510000000107311237640160014410 0ustar heldheld/* File : Fl_Wizard.i */ //%module Fl_Wizard %feature("docstring") ::Fl_Wizard """ The Fl_Wizard widget is based off the Fl_Tabs widget, but instead of displaying tabs it only changes 'tabs' under program control. Its primary purpose is to support 'wizards' that step a user through configuration or troubleshooting tasks. As with Fl_Tabs, wizard panes are composed of child (usually Fl_Group) widgets. Navigation buttons must be added separately. """ ; %{ #include "FL/Fl_Wizard.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Wizard) %include "FL/Fl_Wizard.H" pyFltk-1.3.0/swig/Fl_Tile.i0000644000175100017510000000224511237640160014044 0ustar heldheld/* File : Fl_Tile.i */ //%module Fl_Tile %feature("docstring") ::Fl_Tile """ The Fl_Tile class lets you resize the children by dragging the border between them: Fl_Tile allows objects to be resized to zero dimensions. To prevent this you can use the resizable() to limit where corners can be dragged to. Even though objects can be resized to zero sizes, they must initially have non-zero sizes so the Fl_Tile can figure out their layout. If desired, call position() after creating the children but before displaying the window to set the borders where you want. The 'borders' are part of the children - Fl_Tile does not draw any graphics of its own. In the example above, all of the children have FL_DOWN_BOX types, and the 'ridges' you see are actually two adjacent FL_DOWN_BOX's drawn next to each other. All neighboring widgets share the same edge - the widget's thick borders make it appear as though the widgets aren't actually touching, but they are. If the edges of adjacent widgets do not touch, then it will be impossible to drag the corresponding edges. """ ; %{ #include "FL/Fl_Tile.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Tile) %include "FL/Fl_Tile.H" pyFltk-1.3.0/swig/dirent.i0000755000175100017510000000013511237640160014012 0ustar heldheld/* File : dirent.i */ //%module dirent %{ #include "FL/dirent.h" %} %include "FL/dirent.h" pyFltk-1.3.0/swig/Fl_Menu_Window.i0000644000175100017510000000066611237640160015407 0ustar heldheld/* File : Fl_Menu_Window.i */ //%module Fl_Menu_Window %feature("docstring") ::Fl_Menu_Window """ The Fl_Menu_Window widget is a window type used for menus. By default the window is drawn in the hardware overlay planes if they are available so that the menu don't force the rest of the window to redraw. """ ; %{ #include "FL/Fl_Menu_Window.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Menu_Window) %include "FL/Fl_Menu_Window.H" pyFltk-1.3.0/swig/Fl_Value_Slider.i0000644000175100017510000000050711237640160015524 0ustar heldheld/* File : Fl_Value_Slider.i */ //%module Fl_Value_Slider %feature("docstring") ::Fl_Value_Slider """ The Fl_Value_Slider widget is a Fl_Slider widget with a box displaying the current value. """ ; %{ #include "FL/Fl_Value_Slider.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Value_Slider) %include "FL/Fl_Value_Slider.H" pyFltk-1.3.0/swig/Enumerations.i0000644000175100017510000001102311577512614015202 0ustar heldheld/* File : Enumerations.i */ //%module Enumerations // hack to convince SWIG that Fl_Color is something different than it really is! %apply unsigned int { Fl_Color}; %apply const unsigned int& { const Fl_Color&}; // end hack %{ #include "FL/Enumerations.H" %} %include "FL/Enumerations.H" %pythoncode %{ # events FL_KEYBOARD=FL_KEYDOWN # additional boxtypes instead of defines FL_ROUND_UP_BOX=fl_define_FL_ROUND_UP_BOX() FL_ROUND_DOWN_BOX=fl_define_FL_ROUND_UP_BOX()+1 FL_SHADOW_BOX=fl_define_FL_SHADOW_BOX() FL_SHADOW_FRAME=fl_define_FL_SHADOW_BOX()+2 FL_ROUNDED_BOX=fl_define_FL_ROUNDED_BOX() FL_ROUNDED_FRAME=fl_define_FL_ROUNDED_BOX()+2 FL_RFLAT_BOX=fl_define_FL_RFLAT_BOX() FL_RSHADOW_BOX=fl_define_FL_RSHADOW_BOX() FL_DIAMOND_UP_BOX=fl_define_FL_DIAMOND_BOX() FL_DIAMOND_DOWN_BOX=fl_define_FL_DIAMOND_BOX()+1 FL_OVAL_BOX=fl_define_FL_OVAL_BOX() FL_OSHADOW_BOX=fl_define_FL_OVAL_BOX()+1 FL_OVAL_FRAME=fl_define_FL_OVAL_BOX()+2 FL_OFLAT_BOX=fl_define_FL_OVAL_BOX()+3 FL_PLASTIC_UP_BOX=fl_define_FL_PLASTIC_UP_BOX() FL_PLASTIC_DOWN_BOX=fl_define_FL_PLASTIC_UP_BOX()+1 FL_PLASTIC_UP_FRAME=fl_define_FL_PLASTIC_UP_BOX()+2 FL_PLASTIC_DOWN_FRAME=fl_define_FL_PLASTIC_UP_BOX()+3 FL_PLASTIC_THIN_UP_BOX=fl_define_FL_PLASTIC_UP_BOX()+4 FL_PLASTIC_THIN_DOWN_BOX=fl_define_FL_PLASTIC_UP_BOX()+5 FL_PLASTIC_ROUND_UP_BOX=fl_define_FL_PLASTIC_UP_BOX()+6 FL_PLASTIC_ROUND_DOWN_BOX=fl_define_FL_PLASTIC_UP_BOX()+7 FL_GTK_UP_BOX=fl_define_FL_GTK_UP_BOX() FL_GTK_DOWN_BOX=fl_define_FL_GTK_UP_BOX()+1 FL_GTK_UP_FRAME=fl_define_FL_GTK_UP_BOX()+2 FL_GTK_DOWN_FRAME=fl_define_FL_GTK_UP_BOX()+3 FL_GTK_THIN_UP_BOX=fl_define_FL_GTK_UP_BOX()+4 FL_GTK_THIN_DOWN_BOX=fl_define_FL_GTK_UP_BOX()+5 FL_GTK_THIN_UP_FRAME=fl_define_FL_GTK_UP_BOX()+6 FL_GTK_THIN_DOWN_FRAME=fl_define_FL_GTK_UP_BOX()+7 FL_GTK_ROUND_UP_BOX=fl_define_FL_GTK_UP_BOX()+8 FL_GTK_ROUND_DOWN_BOX=fl_define_FL_GTK_UP_BOX()+9 # color defines FL_FOREGROUND_COLOR = 0 FL_BACKGROUND2_COLOR = 7 FL_INACTIVE_COLOR = 8 FL_SELECTION_COLOR = 15 FL_GRAY0 = 32 FL_DARK3 = 39 FL_DARK2 = 45 FL_DARK1 = 47 FL_BACKGROUND_COLOR = 49 FL_LIGHT1 = 50 FL_LIGHT2 = 52 FL_LIGHT3 = 54 FL_BLACK = 56 FL_RED = 88 FL_GREEN = 63 FL_YELLOW = 95 FL_BLUE = 216 FL_MAGENTA = 248 FL_CYAN = 223 FL_DARK_RED = 72 FL_DARK_GREEN = 60 FL_DARK_YELLOW = 76 FL_DARK_BLUE = 136 FL_DARK_MAGENTA = 152 FL_DARK_CYAN = 140 FL_WHITE = 255 FL_FREE_COLOR=16 FL_NUM_FREE_COLOR=16 FL_GRAY_RAMP=32 FL_NUM_GRAY=24 FL_GRAY=49 FL_COLOR_CUBE=56 FL_NUM_RED=5 FL_NUM_GREEN=8 FL_NUM_BLUE=5 # label defines FL_SYMBOL_LABEL=FL_NORMAL_LABEL FL_SHADOW_LABEL=fl_define_FL_SHADOW_LABEL() FL_ENGRAVED_LABEL=fl_define_FL_ENGRAVED_LABEL() FL_EMBOSSED_LABEL=fl_define_FL_EMBOSSED_LABEL() FL_ALIGN_CENTER=0 FL_ALIGN_TOP=1 FL_ALIGN_BOTTOM=2 FL_ALIGN_LEFT=4 FL_ALIGN_RIGHT=8 FL_ALIGN_INSIDE=16 FL_ALIGN_TEXT_OVER_IMAGE=32 FL_ALIGN_IMAGE_OVER_TEXT=0 FL_ALIGN_CLIP=64 FL_ALIGN_WRAP=128 FL_ALIGN_TOP_LEFT= FL_ALIGN_TOP | FL_ALIGN_LEFT FL_ALIGN_TOP_RIGHT= FL_ALIGN_TOP | FL_ALIGN_RIGHT FL_ALIGN_BOTTOM_LEFT= FL_ALIGN_BOTTOM | FL_ALIGN_LEFT FL_ALIGN_BOTTOM_RIGHT= FL_ALIGN_BOTTOM | FL_ALIGN_RIGHT FL_ALIGN_LEFT_TOP= FL_ALIGN_TOP_LEFT FL_ALIGN_RIGHT_TOP= FL_ALIGN_TOP_RIGHT FL_ALIGN_LEFT_BOTTOM= FL_ALIGN_BOTTOM_LEFT FL_ALIGN_RIGHT_BOTTOM= FL_ALIGN_BOTTOM_RIGHT FL_ALIGN_NOWRAP=0 # font defines FL_HELVETICA = 0 ## Helvetica (or Arial) normal (0) FL_HELVETICA_BOLD = 1 ## Helvetica (or Arial) bold FL_HELVETICA_ITALIC = 2 ## Helvetica (or Arial) oblique FL_HELVETICA_BOLD_ITALIC = 3 ## Helvetica (or Arial) bold-oblique FL_COURIER = 4 ## Courier normal FL_COURIER_BOLD = 5 ## Courier bold FL_COURIER_ITALIC = 6 ## Courier italic FL_COURIER_BOLD_ITALIC = 7 ## Courier bold-italic FL_TIMES = 8 ## Times roman FL_TIMES_BOLD = 9 ## Times roman bold FL_TIMES_ITALIC = 10 ## Times roman italic FL_TIMES_BOLD_ITALIC = 11 ## Times roman bold-italic FL_SYMBOL = 12 ## Standard symbol font FL_SCREEN = 13 ## Default monospaced screen font FL_SCREEN_BOLD = 14 ## Default monospaced bold screen font FL_ZAPF_DINGBATS = 15 ## Zapf-dingbats font FL_FREE_FONT = 16 ## first one to allocate FL_BOLD = 1 ## add this to helvetica, courier, or times FL_ITALIC = 2 ## add this to helvetica, courier, or times FL_BOLD_ITALIC = 3 ## add this to helvetica, courier, or times %} pyFltk-1.3.0/swig/Fl_Double_Window.i0000644000175100017510000000176111237640160015712 0ustar heldheld/* File : Fl_Double_Window.i */ //%module Fl_Double_Window %feature("docstring") ::Fl_Double_Window """ The Fl_Double_Window class provides a double-buffered window. If possible this will use the X double buffering extension (Xdbe). If not, it will draw the window data into an off-screen pixmap, and then copy it to the on-screen window. It is highly recommended that you put the following code before the first show() of any window in your program: Fl.visual(FL_DOUBLE|FL_INDEX) This makes sure you can use Xdbe on servers where double buffering does not exist for every visual. """ ; %feature("nodirector") Fl_Double_Window::show; %{ #include "FL/Fl_Double_Window.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Double_Window) %include "WindowShowTypemap.i" // override method show %extend Fl_Double_Window { MACRO_WINDOW_SHOW } // ignore original declaration %ignore Fl_Double_Window::show(); %ignore Fl_Double_Window::show(int argc, char** argv); %include "FL/Fl_Double_Window.H" pyFltk-1.3.0/swig/fltk.i0000644000175100017510000001334011517376615013500 0ustar heldheld/* File : fltk.i */ %define DOCSTRING "pyFltk, the Python bindings to the FLTK GUI toolkit. This is an easy to use and light-weight GUI toolkit offering basic capabilities for the creation of graphical user interfaces." %enddef %module(docstring=DOCSTRING, directors="1") fltk %feature("director"); %feature("nodirector") Fl_Valuator; %feature("compactdefaultargs"); // print Python error message for director exceptions %feature("director:except") { if ($error != NULL) { PyErr_Print(); } } // ignore all variables -> no getters and setters %rename("$ignore",%$isvariable) ""; %feature("autodoc", "1"); %{ // Ugly and potentially dangerous hack to enable compiling // extensions with Python2.4 and later using MinGW. Library // msvcr71 does not declare the below symbol anymore, and // msvcrt should not be linked with! #ifdef __MINGW32_VERSION short ** _imp___ctype = 0; #endif %} %wrapper %{ // Patch 1767434, interactive pyFltk #if (defined(_WIN32) || defined(__WIN32__)) && !defined(__CYGWIN__) #include #else static void _exit_wait_loop(int fd, void* data) { int* stdin_ready = (int*)data; *stdin_ready = 1; } #endif static int _run_loop_interactive(void) { PyGILState_STATE gstate; #if (defined(_WIN32) || defined(__WIN32__)) && !defined(__CYGWIN__) gstate = PyGILState_Ensure(); while (! _kbhit()) Fl::wait(0.1); PyGILState_Release(gstate); #else int result; int stdin_ready = 0; const int fd = fileno(stdin); Fl::add_fd(fd, _exit_wait_loop, &stdin_ready); gstate = PyGILState_Ensure(); while (!stdin_ready) { result = Fl::wait(); if (!result) break; } PyGILState_Release(gstate); Fl::remove_fd(fd); #endif return 0; } // End of patch 1767434, interactive pyFltk %} // To be put in SWIG_init %init %{ // Patch 1767434, interactive pyFltk if (PyOS_InputHook==NULL) PyOS_InputHook = _run_loop_interactive; else PyErr_Warn(PyExc_RuntimeWarning, "PyOS_InputHook is not available for interactive use of pyFltk"); // End of patch 1767434, interactive pyFltk %} // UTF8 typemap %include "typemaps.i" %typemap(in) Fl_CString %{ { PyObject *tmp_obj = PyUnicode_FromEncodedObject($input, "utf-8", NULL); if (tmp_obj) { int buf_len = 0; char *buffer = 0; int result = SWIG_AsCharPtrAndSize(tmp_obj, &buffer, NULL, &buf_len); $1 = reinterpret_cast< Fl_CString >(buffer); } } %} %include fl_types.i %include Enumerations.i %include Fl_Widget.i %include Fl_Group.i %include Fl_Browser_.i %include Fl_Browser.i %include Fl_File_Browser.i %include Fl_File_Icon.i %include Fl_File_Chooser.i %include Fl.i %include dirent.i %include Enumerations.i %include filename.i // widgets %include Fl_Valuator.i %include Fl_Adjuster.i %include fl_ask.i %include Fl_Image.i %include Fl_Bitmap.i %include Fl_BMP_Image.i %include Fl_Box.i %include Fl_Button.i %include Fl_Chart.i %include Fl_Check_Browser.i %include Fl_Light_Button.i %include Fl_Check_Button.i %include Fl_Menu_.i %include Fl_Choice.i %include Fl_Clock.i %include Fl_Value_Input.i %include Fl_Color_Chooser.i %include Fl_Counter.i %include Fl_Dial.i %include Fl_Window.i %include Fl_Double_Window.i %include fl_draw.i %include Fl_Export.i %include Fl_Input_.i %include Fl_Input.i %include Fl_File_Input.i %include Fl_Fill_Dial.i %include Fl_Slider.i %include Fl_Fill_Slider.i %include Fl_Float_Input.i %include Fl_FormsBitmap.i %include Fl_FormsPixmap.i %include Fl_Free.i %include Fl_Pixmap.i %include Fl_GIF_Image.i #ifndef DO_NOT_USE_OPENGL %include Fl_Gl_Window.i #endif %include Fl_Help_Dialog.i %include Fl_Help_View.i %include Fl_Hold_Browser.i %include Fl_Hor_Fill_Slider.i %include Fl_Hor_Nice_Slider.i %include Fl_Hor_Slider.i %include Fl_Value_Slider.i %include Fl_Hor_Value_Slider.i %include Fl_Int_Input.i %include Fl_Input_Choice.i %include Fl_JPEG_Image.i %include Fl_Line_Dial.i %include Fl_Menu_Bar.i %include Fl_Menu_Button.i %include Fl_Menu_Item.i %include Fl_Single_Window.i %include Fl_Menu_Window.i %include fl_message.i %include Fl_Multiline_Input.i %include Fl_Output.i %include Fl_Multiline_Output.i %include Fl_Multi_Browser.i %include Fl_Multi_Label.i %include Fl_Nice_Slider.i %include Fl_Overlay_Window.i %include Fl_Pack.i %include Fl_PNG_Image.i %include Fl_PNM_Image.i %include Fl_Positioner.i %include Fl_Preferences.i %include Fl_Progress.i %include Fl_Radio_Button.i %include Fl_Radio_Light_Button.i %include Fl_Round_Button.i %include Fl_Radio_Round_Button.i %include Fl_Repeat_Button.i %include Fl_Return_Button.i %include Fl_Roller.i %include Fl_Round_Clock.i %include Fl_Scroll.i %include Fl_Scrollbar.i %include Fl_Secret_Input.i %include Fl_Select_Browser.i %include Fl_Shared_Image.i %include Fl_Spinner.i %include fl_show_colormap.i %include fl_show_input.i %include Fl_Simple_Counter.i //%include Fl_Sys_Menu_Bar.i %include Fl_Tabs.i %include Fl_Text_Buffer.i %include Fl_Text_Display.i %include Fl_Text_Editor.i %include Fl_Tile.i %include Fl_Tiled_Image.i %include Fl_Timer.i %include Fl_Toggle_Button.i %include Fl_Tooltip.i %include Fl_Value_Output.i %include Fl_Wizard.i %include Fl_XBM_Image.i %include Fl_XPM_Image.i %include x.i // tree support %include Fl_Tree_Prefs.i %include Fl_Tree_Item_Array.i %include Fl_Tree_Item.i %include Fl_Tree.i // printer support //%include Fl_Plugin.i //%include Fl_Device.i %include Fl_Paged_Device.i //%include Fl_PostScript.i %include Fl_Printer.i // utf8 %include fl_utf8.i // contributions %include ListSelect.i %include Fl_Table.i %include Fl_Table_Row.i //%include Fl_Thread.i // misc //%include forms.i %include gl.i //%include gl2opengl.i //%include glut.i //%include gl_draw.i %include math.i %include setMenu.i //%include widget_casts.i %include py_idle.i // user defined widgets %include UserDefinedWidgets.i // polymorphism patches (python code) %include pyFinalize.i pyFltk-1.3.0/swig/Fl_Radio_Button.i0000644000175100017510000000027111237640160015535 0ustar heldheld/* File : Fl_Radio_Button.i */ //%module Fl_Radio_Button %{ #include "FL/Fl_Radio_Button.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Radio_Button) %include "FL/Fl_Radio_Button.H" pyFltk-1.3.0/swig/Fl_XPM_Image.i0000755000175100017510000000051511237640160014716 0ustar heldheld/* File : Fl_XPM_Image.i */ //%module Fl_XPM_Image %feature("docstring") ::Fl_XPM_Image """ The Fl_XPM_Image class supports loading, caching, and drawing of X Pixmap (XPM) images, including transparency. """ ; %{ #include "FL/Fl_XPM_Image.H" %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_XPM_Image) %include "FL/Fl_XPM_Image.H" pyFltk-1.3.0/swig/Fl_GIF_Image.i0000755000175100017510000000056111237640160014660 0ustar heldheld/* File : Fl_GIF_Image.i */ //%module Fl_GIF_Image %feature("docstring") ::Fl_GIF_Image """ The Fl_GIF_Image class supports loading, caching, and drawing of Compuserve GIF images. The class loads the first image and supports transparency. """ ; %{ #include "FL/Fl_GIF_Image.H" %} //%include "macros.i" //CHANGE_OWNERSHIP(Fl_GIF_Image) %include "FL/Fl_GIF_Image.H" pyFltk-1.3.0/swig/Fl_Text_Editor.i0000755000175100017510000000156511237640160015410 0ustar heldheld/* File : Fl_Text_Editor.i */ //%module Fl_Text_Editor %feature("docstring") ::Fl_Text_Editor """ This is the FLTK text editor widget. It allows the user to edit multiple lines of text and supports highlighting and scrolling. The buffer that is displayed in the widget is managed by the Fl_Text_Buffer class. """ ; %{ #include "FL/Fl_Text_Editor.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Text_Editor) // because of problems with Key_Binding %ignore Fl_Text_Editor::add_key_binding(int key, int state, Key_Func f, Key_Binding** list); %ignore Fl_Text_Editor::remove_key_binding(int key, int state, Key_Binding** list); %ignore Fl_Text_Editor::remove_all_key_bindings(Key_Binding** list); %ignore Fl_Text_Editor::add_default_key_bindings(Key_Binding** list); %ignore Fl_Text_Editor::bound_key_function(int key, int state, Key_Binding* list); %include "FL/Fl_Text_Editor.H" pyFltk-1.3.0/swig/Fl_Menu_.i0000644000175100017510000000651711507127554014227 0ustar heldheld/* File : Fl_Menu_.i */ //%module Fl_Menu_ %feature("docstring") ::Fl_Menu_ """ All widgets that have a menu in FLTK are subclassed off of this class. Currently FLTK provides you with Fl_Menu_Button, Fl_Menu_Bar, and Fl_Choice . The class contains a pointer to an array of structures of type Fl_Menu_Item. The array may either be supplied directly by the user program, or it may be 'private': a dynamically allocated array managed by the Fl_Menu_. """ ; %{ #include "FL/Fl_Menu_.H" #include %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Menu_) %ignore Fl_Menu_::global(); %ignore Fl_Menu_::menu(const Fl_Menu_Item *m); //%ignore Fl_Menu_::menu(); %ignore Fl_Menu_::add(const char* label, const char* shortcut, Fl_Callback*, void *user_data, int flags); %ignore Fl_Menu_::menu(const Fl_Menu_Item*); %ignore Fl_Menu_::copy(const Fl_Menu_Item*); %ignore Fl_Menu_::value(const Fl_Menu_Item*); %include "FL/Fl_Menu_.H" %extend Fl_Menu_ { void copy(PyObject *args, PyObject *user_data = 0) { PyObject *menuList; if (!PyTuple_Check(args)) { printf("Fl_Menu_.menu: not a tuple\n"); return; } menuList = args; Fl_Menu_Item *theMenuItems = createFl_Menu_Item_Array( NULL, menuList); // call the C++ object to add the menu self->copy(theMenuItems, user_data); delete [] theMenuItems; } void menu(PyObject *args) { PyObject *menuList; if (!PyTuple_Check(args)) { printf("Fl_Menu_.menu: not a tuple\n"); return; } menuList = args; Fl_Menu_Item *theMenuItems = createFl_Menu_Item_Array( NULL, menuList); // call the C++ object to add the menu self->copy(theMenuItems); delete [] theMenuItems; } int add(PyObject *lObj, PyObject *sObj, PyObject *cObj, PyObject* uObj=0, PyObject* fObj=0) { //char *pyLabel=PyString_AsString(lObj); char* pyLabel = SWIG_Python_str_AsChar(lObj); int shortcut=PyInt_AsLong(sObj); PyObject *callback=cObj; PyObject *userData=uObj; int flags=0; if (fObj) flags=PyInt_AsLong(fObj); Fl_Callback *callback_=(Fl_Callback*)0; void *user_data_=0; // got all the values if (callback && PyCallable_Check(callback)) { CallbackStruct *cb = new CallbackStruct( callback, userData, SWIGTYPE_p_Fl_Menu_Item ); Py_INCREF(callback); //self->callback(PythonCallBack, (void *)cb); callback_ = (Fl_Callback *)PythonCallBack; user_data_ = (void *)cb; } return self->add(pyLabel, shortcut, callback_, user_data_, flags); } PyObject* menu() { // returns the Fl_Menu_Item structure of the menu // as a Python list const Fl_Menu_Item* items = self->menu(); int length = self->size(); PyObject *result = PyList_New(length); for (int i = 0; i < length; i++) { PyObject *o = Py_None; if (items[i].text != NULL) { if (items[i].callback_) { // registered callback, // caution, callback information is in user_data CallbackStruct *cb = (CallbackStruct*)items[i].user_data_; o = Py_BuildValue("zlOOl", items[i].text, items[i].shortcut_, cb->func, cb->data, items[i].flags); } else { // no callback, return Py_None o = Py_BuildValue("zlOOl", items[i].text, items[i].shortcut_, Py_None, Py_None, items[i].flags); } } else { // empty item o = Py_BuildValue("OOOOO", Py_None, Py_None, Py_None, Py_None, Py_None); } PyList_SetItem(result, i, o); } return result; } } pyFltk-1.3.0/swig/Fl_Sys_Menu_Bar.i0000755000175100017510000000027211237640160015476 0ustar heldheld/* File : Fl_Sys_Menu_Bar.i */ //%module Fl_Sys_Menu_Bar %{ #include "FL/Fl_Sys_Menu_Bar.H" %} %include "macros.i" CHANGE_OWNERSHIP(Fl_Sys_Menu_Bar) %include "FL/Fl_Sys_Menu_Bar.H" pyFltk-1.3.0/fltk/0000755000175100017510000000000011651415004012335 5ustar heldheldpyFltk-1.3.0/fltk/test/0000755000175100017510000000000011651415004013314 5ustar heldheldpyFltk-1.3.0/fltk/test/formsbitmap.py0000644000175100017510000001437011651413735016227 0ustar heldheld# # "$Id: formsbitmap.py 28 2003-07-16 20:00:27Z andreasheld $" # # Forms bitmap test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys sorceress_width = 75 sorceress_height = 75 sorceress_bits = [ 0xfc, 0x7e, 0x40, 0x20, 0x90, 0x00, 0x07, 0x80, 0x23, 0x00, 0x00, 0xc6, 0xc1, 0x41, 0x98, 0xb8, 0x01, 0x07, 0x66, 0x00, 0x15, 0x9f, 0x03, 0x47, 0x8c, 0xc6, 0xdc, 0x7b, 0xcc, 0x00, 0xb0, 0x71, 0x0e, 0x4d, 0x06, 0x66, 0x73, 0x8e, 0x8f, 0x01, 0x18, 0xc4, 0x39, 0x4b, 0x02, 0x23, 0x0c, 0x04, 0x1e, 0x03, 0x0c, 0x08, 0xc7, 0xef, 0x08, 0x30, 0x06, 0x07, 0x1c, 0x02, 0x06, 0x30, 0x18, 0xae, 0xc8, 0x98, 0x3f, 0x78, 0x20, 0x06, 0x02, 0x20, 0x60, 0xa0, 0xc4, 0x1d, 0xc0, 0xff, 0x41, 0x04, 0xfa, 0x63, 0x80, 0xa1, 0xa4, 0x3d, 0x00, 0x84, 0xbf, 0x04, 0x0f, 0x06, 0xfc, 0xa1, 0x34, 0x6b, 0x01, 0x1c, 0xc9, 0x05, 0x06, 0xc7, 0x06, 0xbe, 0x11, 0x1e, 0x43, 0x30, 0x91, 0x05, 0xc3, 0x61, 0x02, 0x30, 0x1b, 0x30, 0xcc, 0x20, 0x11, 0x00, 0xc1, 0x3c, 0x03, 0x20, 0x0a, 0x00, 0xe8, 0x60, 0x21, 0x00, 0x61, 0x1b, 0xc1, 0x63, 0x08, 0xf0, 0xc6, 0xc7, 0x21, 0x03, 0xf8, 0x08, 0xe1, 0xcf, 0x0a, 0xfc, 0x4d, 0x99, 0x43, 0x07, 0x3c, 0x0c, 0xf1, 0x9f, 0x0b, 0xfc, 0x5b, 0x81, 0x47, 0x02, 0x16, 0x04, 0x31, 0x1c, 0x0b, 0x1f, 0x17, 0x89, 0x4d, 0x06, 0x1a, 0x04, 0x31, 0x38, 0x02, 0x07, 0x56, 0x89, 0x49, 0x04, 0x0b, 0x04, 0xb1, 0x72, 0x82, 0xa1, 0x54, 0x9a, 0x49, 0x04, 0x1d, 0x66, 0x50, 0xe7, 0xc2, 0xf0, 0x54, 0x9a, 0x58, 0x04, 0x0d, 0x62, 0xc1, 0x1f, 0x44, 0xfc, 0x51, 0x90, 0x90, 0x04, 0x86, 0x63, 0xe0, 0x74, 0x04, 0xef, 0x31, 0x1a, 0x91, 0x00, 0x02, 0xe2, 0xc1, 0xfd, 0x84, 0xf9, 0x30, 0x0a, 0x91, 0x00, 0x82, 0xa9, 0xc0, 0xb9, 0x84, 0xf9, 0x31, 0x16, 0x81, 0x00, 0x42, 0xa9, 0xdb, 0x7f, 0x0c, 0xff, 0x1c, 0x16, 0x11, 0x00, 0x02, 0x28, 0x0b, 0x07, 0x08, 0x60, 0x1c, 0x02, 0x91, 0x00, 0x46, 0x29, 0x0e, 0x00, 0x00, 0x00, 0x10, 0x16, 0x11, 0x02, 0x06, 0x29, 0x04, 0x00, 0x00, 0x00, 0x10, 0x16, 0x91, 0x06, 0xa6, 0x2a, 0x04, 0x00, 0x00, 0x00, 0x18, 0x24, 0x91, 0x04, 0x86, 0x2a, 0x04, 0x00, 0x00, 0x00, 0x18, 0x27, 0x93, 0x04, 0x96, 0x4a, 0x04, 0x00, 0x00, 0x00, 0x04, 0x02, 0x91, 0x04, 0x86, 0x4a, 0x0c, 0x00, 0x00, 0x00, 0x1e, 0x23, 0x93, 0x04, 0x56, 0x88, 0x08, 0x00, 0x00, 0x00, 0x90, 0x21, 0x93, 0x04, 0x52, 0x0a, 0x09, 0x80, 0x01, 0x00, 0xd0, 0x21, 0x95, 0x04, 0x57, 0x0a, 0x0f, 0x80, 0x27, 0x00, 0xd8, 0x20, 0x9d, 0x04, 0x5d, 0x08, 0x1c, 0x80, 0x67, 0x00, 0xe4, 0x01, 0x85, 0x04, 0x79, 0x8a, 0x3f, 0x00, 0x00, 0x00, 0xf4, 0x11, 0x85, 0x06, 0x39, 0x08, 0x7d, 0x00, 0x00, 0x18, 0xb7, 0x10, 0x81, 0x03, 0x29, 0x12, 0xcb, 0x00, 0x7e, 0x30, 0x28, 0x00, 0x85, 0x03, 0x29, 0x10, 0xbe, 0x81, 0xff, 0x27, 0x0c, 0x10, 0x85, 0x03, 0x29, 0x32, 0xfa, 0xc1, 0xff, 0x27, 0x94, 0x11, 0x85, 0x03, 0x28, 0x20, 0x6c, 0xe1, 0xff, 0x07, 0x0c, 0x01, 0x85, 0x01, 0x28, 0x62, 0x5c, 0xe3, 0x8f, 0x03, 0x4e, 0x91, 0x80, 0x05, 0x39, 0x40, 0xf4, 0xc2, 0xff, 0x00, 0x9f, 0x91, 0x84, 0x05, 0x31, 0xc6, 0xe8, 0x07, 0x7f, 0x80, 0xcd, 0x00, 0xc4, 0x04, 0x31, 0x06, 0xc9, 0x0e, 0x00, 0xc0, 0x48, 0x88, 0xe0, 0x04, 0x79, 0x04, 0xdb, 0x12, 0x00, 0x30, 0x0c, 0xc8, 0xe4, 0x04, 0x6d, 0x06, 0xb6, 0x23, 0x00, 0x18, 0x1c, 0xc0, 0x84, 0x04, 0x25, 0x0c, 0xff, 0xc2, 0x00, 0x4e, 0x06, 0xb0, 0x80, 0x04, 0x3f, 0x8a, 0xb3, 0x83, 0xff, 0xc3, 0x03, 0x91, 0x84, 0x04, 0x2e, 0xd8, 0x0f, 0x3f, 0x00, 0x00, 0x5f, 0x83, 0x84, 0x04, 0x2a, 0x70, 0xfd, 0x7f, 0x00, 0x00, 0xc8, 0xc0, 0x84, 0x04, 0x4b, 0xe2, 0x2f, 0x01, 0x00, 0x08, 0x58, 0x60, 0x80, 0x04, 0x5b, 0x82, 0xff, 0x01, 0x00, 0x08, 0xd0, 0xa0, 0x84, 0x04, 0x72, 0x80, 0xe5, 0x00, 0x00, 0x08, 0xd2, 0x20, 0x44, 0x04, 0xca, 0x02, 0xff, 0x00, 0x00, 0x08, 0xde, 0xa0, 0x44, 0x04, 0x82, 0x02, 0x6d, 0x00, 0x00, 0x08, 0xf6, 0xb0, 0x40, 0x02, 0x82, 0x07, 0x3f, 0x00, 0x00, 0x08, 0x44, 0x58, 0x44, 0x02, 0x93, 0x3f, 0x1f, 0x00, 0x00, 0x30, 0x88, 0x4f, 0x44, 0x03, 0x83, 0x23, 0x3e, 0x00, 0x00, 0x00, 0x18, 0x60, 0xe0, 0x07, 0xe3, 0x0f, 0xfe, 0x00, 0x00, 0x00, 0x70, 0x70, 0xe4, 0x07, 0xc7, 0x1b, 0xfe, 0x01, 0x00, 0x00, 0xe0, 0x3c, 0xe4, 0x07, 0xc7, 0xe3, 0xfe, 0x1f, 0x00, 0x00, 0xff, 0x1f, 0xfc, 0x07, 0xc7, 0x03, 0xf8, 0x33, 0x00, 0xc0, 0xf0, 0x07, 0xff, 0x07, 0x87, 0x02, 0xfc, 0x43, 0x00, 0x60, 0xf0, 0xff, 0xff, 0x07, 0x8f, 0x06, 0xbe, 0x87, 0x00, 0x30, 0xf8, 0xff, 0xff, 0x07, 0x8f, 0x14, 0x9c, 0x8f, 0x00, 0x00, 0xfc, 0xff, 0xff, 0x07, 0x9f, 0x8d, 0x8a, 0x0f, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x07, 0xbf, 0x0b, 0x80, 0x1f, 0x00, 0x00, 0xff, 0xff, 0xff, 0x07, 0x7f, 0x3a, 0x80, 0x3f, 0x00, 0x80, 0xff, 0xff, 0xff, 0x07, 0xff, 0x20, 0xc0, 0x3f, 0x00, 0x80, 0xff, 0xff, 0xff, 0x07, 0xff, 0x01, 0xe0, 0x7f, 0x00, 0xc0, 0xff, 0xff, 0xff, 0x07, 0xff, 0x0f, 0xf8, 0xff, 0x40, 0xe0, 0xff, 0xff, 0xff, 0x07, 0xff, 0xff, 0xff, 0xff, 0x40, 0xf0, 0xff, 0xff, 0xff, 0x07, 0xff, 0xff, 0xff, 0xff, 0x41, 0xf0, 0xff, 0xff, 0xff, 0x07 ] w = window = Fl_Window(100, 100, 400,400) # bitmap via 'set' bm1 = Fl_FormsBitmap( FL_BORDER_BOX, 100,160, sorceress_width,sorceress_height,"via 'set'") bm1.set(sorceress_width, sorceress_height,sorceress_bits) # bitmap via 'bitmap' fl_bitmap = Fl_Bitmap(sorceress_bits, sorceress_width, sorceress_height) bm2 = Fl_FormsBitmap( FL_BORDER_BOX, 225,160, sorceress_width,sorceress_height,"via 'Fl_FormsBitmap'") bm2.bitmap(fl_bitmap.this) window.resizable(window) window.end() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/iconize.py0000755000175100017510000000347711651413735015355 0ustar heldheld# # "$Id: iconize.py 35 2003-09-29 21:39:48Z andreasheld $" # # Iconize test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys def iconize_cb(ptr, win): win.iconize() def show_cb(ptr, win): win.show() def hide_cb(ptr, win): win.hide() def window_cb(ptr): sys.exit(0) mainw = Fl_Window(200,200) mainw.end() mainw.show(len(sys.argv),sys.argv) control = Fl_Window(120,120) hide_button = Fl_Button(0,0,120,30,"hide()") hide_button.callback(hide_cb, mainw); iconize_button = Fl_Button(0,30,120,30,"iconize()") iconize_button.callback(iconize_cb, mainw) show_button = Fl_Button(0,60,120,30,"show()") show_button.callback(show_cb, mainw) show_button2 = Fl_Button(0,90,120,30,"show this") show_button2.callback(show_cb, control) # Fl_Box box(FL_NO_BOX,0,60,120,30,"Also try running\nwith -i switch"); control.end() control.show() control.callback(window_cb) Fl.run() pyFltk-1.3.0/fltk/test/draw.py0000644000175100017510000000445411651413735014643 0ustar heldheld# # "$Id: draw.py 67 2004-08-05 15:17:31Z andreasheld $" # # fl_draw test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # Courtesy of G. Lielens! # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * from math import * import sys from array import * width = 100 height = 100 image = array('B') def make_image(): #image = new uchar[4*width*height]; #uchar *p = image; p = image index = 0 y = 0 while y < height: dy = float(y)/(height-1) x = 0 while x < width: dx = float(x)/(width-1) #print 255*((1.0-dx)*(1.0-dy)) p.append(int(255*((1.0-dx)*(1.0-dy)))) index = index+1 p.append(int(255*((1.0-dx)*dy))) index = index+1 p.append(int(255*(dx*dy))) index = index+1 dx = dx-0.5 dy = dy-0.5 alpha = int(255*sqrt(dx*dx+dy*dy)) if alpha < 255: p.append(alpha) else: p.append(255) index = index+1 dy = dy+0.5 x = x+1 y = y+1 return None class MyWidget(Fl_Widget): def __init__(self,x,y,w,h,image): Fl_Widget.__init__(self, 0, 0, w, h, "canvas") self._image=image def draw(self): w,h=self.w(),self.h() fl_draw_image(self._image,w/2-50,h/2-50,width,height,4,0) window = Fl_Window(400,400) window.color(FL_WHITE) make_image() widget=MyWidget(0,0,400,400,image) window.resizable(window) window.end() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/help.py0000755000175100017510000000232311651413735014632 0ustar heldheld# # "$Id: help.py 28 2003-07-16 20:00:27Z andreasheld $" # # Help test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys help = Fl_Help_Dialog() if len(sys.argv) < 2: help.load("../docs/pyFltk.html") else: help.load(sys.argv[1]); help.show() Fl.run() pyFltk-1.3.0/fltk/test/shapeGL.py0000644000175100017510000000426111651413735015225 0ustar heldheld# # "$Id: shapeGL.py 38 2003-10-19 15:00:37Z andreasheld $" # # OpenGL test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys, math, time #sleep(5) try: class ShapeWindow(Fl_Gl_Window): def __init__(self, x, y, w, h, l): Fl_Gl_Window.__init__(self, x,y,w,h,l) self.sides = 3 def draw(self): #// draw an amazing graphic: glClear(0x00004000) #GL_COLOR_BUFFER_BIT) glColor3f(0.5,0.6,0.7) glBegin(9) #GL_POLYGON) for i in range(int(self.sides)): ang = i*2.0*3.141/self.sides x = math.cos(ang) y = math.sin(ang) glVertex3f( x, y, 0.0) glEnd() # def handle(self, event): # if event == FL_PUSH: # print "Mouse pushed!" # return 1 # else: # return 0 def sides_cb(self, slider): self.sides = slider.value() self.redraw() except NameError: fl_message("This demo requires OpenGL. Reconfigure and rebuild with OpenGl enabled.") sys.exit(0) window = Fl_Window(10, 10, 300, 330, sys.argv[0]) sw = ShapeWindow(10,10,280,280, "Shape Window") window.resizable(sw) slider = Fl_Hor_Slider(50, 295, window.w()-60, 30, "Sides") slider.align(FL_ALIGN_LEFT) slider.callback(sw.sides_cb) slider.value(float(sw.sides)) slider.step(1) slider.bounds(3, 40) window.end() window.show(len(sys.argv), sys.argv) sw.show() Fl.run() pyFltk-1.3.0/fltk/test/idle.py0000644000175100017510000000334111651413735014615 0ustar heldheld# # "$Id: idle.py 28 2003-07-16 20:00:27Z andreasheld $" # # Idle test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys button = None # forward dec timesCalled = 0 def anIdleCallback(data): global timesCalled timesCalled = timesCalled + 1 print "idle data=%d times called=%d"%(data,timesCalled) docb = 0 def theCancelButtonCallback(ptr): global docb if docb: Fl.remove_idle(anIdleCallback, 123) button.label("Add Idle Callback") docb = 0 else: Fl.add_idle(anIdleCallback, 123) docb = 1 button.label("Remove Idle Callback") window = Fl_Window(100, 100, 200, 90, sys.argv[0]) button = Fl_Button(9,20,180,50,"Add Idle Callback") button.labeltype(FL_NORMAL_LABEL) button.callback(theCancelButtonCallback) window.end() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/group.py0000755000175100017510000000343011651413735015036 0ustar heldheld# # "$Id: group.py 83 2004-10-28 13:40:28Z andreasheld $" # # Group test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys removed = 0 window = None grp = None btn = None def btn_cb(ptr): print "cb" global window global grp global removed if removed == 0: print "removing button" grp.remove(btn) removed = 1 else: print "adding button" grp.add(btn) removed = 0 window.redraw() window = Fl_Window(320,130) grp = Fl_Group(10, 10, 300,110) b1 = Fl_Button(10, 10, 130, 30, "Add/Remove") b1.tooltip("Pressing this button should remove the second button, pressing it again should add the other button.") b1.callback(btn_cb) grp.end() window.end() removed = 1 btn = Fl_Return_Button(150, 10, 160, 30, "Fl_Return_Button") window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/radio.py0000755000175100017510000001145111651413735015002 0ustar heldheld# # "$Id: radio.py 28 2003-07-16 20:00:27Z andreasheld $" # # Radio buttons test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * # global object names def main(): o_1_0 = Fl_Window(447, 255, 369, 214) o_1_0.pyChildren=[] o_2_0 = Fl_Button(20, 10, 160, 30, "Fl_Button") o_2_0.pyChildren=[] o_2_0.label('Fl_Button') o_1_0.pyChildren.append(o_2_0) o_2_1 = Fl_Return_Button(20, 50, 160, 30, "Fl_Return_Button") o_2_1.pyChildren=[] o_2_1.label('Fl_Return_Button') o_1_0.pyChildren.append(o_2_1) o_2_2 = Fl_Light_Button(20, 90, 160, 30, "Fl_Light_Button") o_2_2.pyChildren=[] o_2_2.label('Fl_Light_Button') o_1_0.pyChildren.append(o_2_2) o_2_3 = Fl_Check_Button(20, 130, 160, 30, "Fl_Check_Button") o_2_3.pyChildren=[] o_2_3.down_box(FL_DOWN_BOX) o_2_3.label('Fl_Check_Button') o_1_0.pyChildren.append(o_2_3) o_2_4 = Fl_Round_Button(20, 170, 160, 30, "Fl_Round_Button") o_2_4.pyChildren=[] o_2_4.down_box(fl_define_FL_ROUND_UP_BOX()+1) o_2_4.label('Fl_Round_Button') o_1_0.pyChildren.append(o_2_4) o_2_5 = Fl_Group(190, 10, 70, 120) o_2_5.pyChildren=[] # warning: following obj has type class # option not handled by code generator: # Radio # Please email this comment and the following # 2 lines to pyfltk@egroups.com o_3_0 = Fl_Round_Button(190, 10, 70, 30, "radio") # XXX unknown typedef Fl_Round_Button Radio o_3_0.pyChildren=[] o_3_0.down_box(fl_define_FL_ROUND_UP_BOX()+1) o_3_0.label('radio') o_2_5.pyChildren.append(o_3_0) # warning: following obj has type class # option not handled by code generator: # Radio # Please email this comment and the following # 2 lines to pyfltk@egroups.com o_3_1 = Fl_Round_Button(190, 40, 70, 30, "radio") # XXX unknown typedef Fl_Round_Button Radio o_3_1.pyChildren=[] o_3_1.down_box(fl_define_FL_ROUND_UP_BOX()+1) o_3_1.label('radio') o_2_5.pyChildren.append(o_3_1) # warning: following obj has type class # option not handled by code generator: # Radio # Please email this comment and the following # 2 lines to pyfltk@egroups.com o_3_2 = Fl_Round_Button(190, 70, 70, 30, "radio") # XXX unknown typedef Fl_Round_Button Radio o_3_2.pyChildren=[] o_3_2.down_box(fl_define_FL_ROUND_UP_BOX()+1) o_3_2.label('radio') o_2_5.pyChildren.append(o_3_2) # warning: following obj has type class # option not handled by code generator: # Radio # Please email this comment and the following # 2 lines to pyfltk@egroups.com o_3_3 = Fl_Round_Button(190, 100, 70, 30, "radio") # XXX unknown typedef Fl_Round_Button Radio o_3_3.pyChildren=[] o_3_3.down_box(fl_define_FL_ROUND_UP_BOX()+1) o_3_3.label('radio') o_2_5.pyChildren.append(o_3_3) o_2_5.box(FL_THIN_UP_FRAME) o_2_5.end() o_1_0.pyChildren.append(o_2_5) o_2_6 = Fl_Group(270, 10, 90, 115) o_2_6.pyChildren=[] o_3_0 = Fl_Button(280, 20, 20, 20, "radio") o_3_0.type(102) o_3_0.pyChildren=[] o_3_0.selection_color(1) o_3_0.align(8) o_3_0.label('radio') o_2_6.pyChildren.append(o_3_0) o_3_1 = Fl_Button(280, 45, 20, 20, "radio") o_3_1.type(102) o_3_1.pyChildren=[] o_3_1.selection_color(1) o_3_1.align(8) o_3_1.label('radio') o_2_6.pyChildren.append(o_3_1) o_3_2 = Fl_Button(280, 70, 20, 20, "radio") o_3_2.type(102) o_3_2.pyChildren=[] o_3_2.selection_color(1) o_3_2.align(8) o_3_2.label('radio') o_2_6.pyChildren.append(o_3_2) o_3_3 = Fl_Button(280, 95, 20, 20, "radio") o_3_3.type(102) o_3_3.pyChildren=[] o_3_3.selection_color(1) o_3_3.align(8) o_3_3.label('radio') o_2_6.pyChildren.append(o_3_3) o_2_6.box(FL_THIN_UP_BOX) o_2_6.end() o_1_0.pyChildren.append(o_2_6) o_1_0.end() return o_1_0 if __name__=='__main__': import sys window = main() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/tree.py0000755000175100017510000010767011651413735014654 0ustar heldheld#! /usr/bin/env python # # "$Id: tree.py 473 2011-01-25 21:49:20Z andreasheld $" # # Tree widget test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # """ Tree test program. """ import traceback, sys from fltk import * G_cb_counter = 0 but = None grp = None def reason_as_name(reason): if reason == FL_TREE_REASON_NONE: return "none" elif reason == FL_TREE_REASON_SELECTED: return "selected" elif reason == FL_TREE_REASON_DESELECTED: return "deselected" elif reason == FL_TREE_REASON_OPENED: return "opened" elif reason == FL_TREE_REASON_CLOSED: return "closed" else: return "???" def Button_CB(w): print "'%s' button pushed\n"%w.label() def RebuildTree(tree): global but, grp # REBUILD THE TREE TO MAKE CURRENT "DEFAULT" PREFS TAKE EFFECT tree.clear() tree.add("Aaa") tree.add("Bbb") tree.add("Ccc") tree.add("Ddd") tree.add("Bbb/child-01") tree.add("Bbb/child-01/111") tree.add("Bbb/child-01/222") tree.add("Bbb/child-01/333") tree.add("Bbb/child-02") tree.add("Bbb/child-03") tree.add("Bbb/child-04") # Assign an FLTK widget to one of the items i = tree.find_item("Bbb/child-03") if i != None: if but == None: # only do this once at program startup tree.begin() but = Fl_Button(1,1,140,1,"ccc button") # we control w() only but.labelsize(10) but.callback(Button_CB) i.widget(but) tree.end() # Assign an FLTK group to one of the items with widgets i = tree.find_item("Bbb/child-04") if i != None: if grp == None: # only do this once at program startup tree.begin() grp = Fl_Group(100,100,140,18) # build group.. tree handles position grp.color(FL_WHITE); grp.begin() abut = Fl_Button(grp.x()+0 ,grp.y()+2,65,15,"D1") abut.labelsize(10) abut.callback(Button_CB) bbut = Fl_Button(grp.x()+75,grp.y()+2,65,15,"D2") bbut.labelsize(10) bbut.callback(Button_CB) grp.end() grp.resizable(grp) tree.end() i.widget(grp); # Add an 'Ascending' node, and create it sorted tree.sortorder(FL_TREE_SORT_NONE) tree.add("Ascending").close() tree.sortorder(FL_TREE_SORT_ASCENDING) tree.add("Ascending/Zzz") tree.add("Ascending/Xxx") tree.add("Ascending/Aaa") tree.add("Ascending/Bbb") tree.add("Ascending/Yyy") tree.add("Ascending/Ccc") # Add a 'Descending' node, and create it sorted tree.sortorder(FL_TREE_SORT_NONE) tree.add("Descending").close() tree.sortorder(FL_TREE_SORT_DESCENDING) tree.add("Descending/Zzz") tree.add("Descending/Xxx") tree.add("Descending/Aaa") tree.add("Descending/Bbb") tree.add("Descending/Yyy") tree.add("Descending/Ccc") # Add 500 items in numerical order tree.sortorder(FL_TREE_SORT_NONE); for t in range(500): s = "500 Items/item %04d"%t tree.add(s) tree.close("500 Items") # close the 500 items by default tree.redraw() def cb_tree(tree, data): global G_cb_counter # Increment callback counter whenever tree callback is invoked G_cb_counter = G_cb_counter+1 item = tree.callback_item() if item: print "TREE CALLBACK: label='%s' userdata=%ld reason=%s\n"%( item.label(), data, reason_as_name(tree.callback_reason())) else: print "TREE CALLBACK: reason=%s item=(no item -- probably multiple items were changed at once)\n"%( reason_as_name(tree.callback_reason())) def cb_margintop_slider(margintop_slider, tree): val = int(margintop_slider.value()) tree.margintop(val) tree.redraw() def cb_marginleft_slider(marginleft_slider, tree): val = int(marginleft_slider.value()) tree.marginleft(val) tree.redraw() def cb_openchild_marginbottom_slider(openchild_marginbottom_slider, tree): val = int(openchild_marginbottom_slider.value()) tree.openchild_marginbottom(val) tree.redraw() def cb_labelsize_slider(labelsize_slider, tree): size = int(labelsize_slider.value()) count = 0 item = tree.first() while item != None: if item.is_selected(): item.labelsize(size) count = count+1 item = tree.next(item) if count == 0: item = tree.first() while item != None: item.labelsize(size) item = tree.next(item) tree.redraw() def cb_connectorwidth_slider(connectorwidth_slider, tree): val = int(connectorwidth_slider.value()) tree.connectorwidth(val) #tree.redraw() L_folderpixmap = None L_documentpixmap = None def cb_usericon_radio(usericon_radio, tree): global L_folderpixmap, L_documentpixmap L_folder_xpm = [ "11 11 3 1", ". c None", "x c #d8d833", "@ c #808011", "...........", ".....@@@@..", "....@xxxx@.", "@@@@@xxxx@@", "@xxxxxxxxx@", "@xxxxxxxxx@", "@xxxxxxxxx@", "@xxxxxxxxx@", "@xxxxxxxxx@", "@xxxxxxxxx@", "@@@@@@@@@@@"] L_folderpixmap = Fl_Pixmap(L_folder_xpm) L_document_xpm = [ "11 11 3 1", ". c None", "x c #d8d8f8", "@ c #202060", ".@@@@@@@@@.", ".@xxxxxxx@.", ".@xxxxxxx@.", ".@xxxxxxx@.", ".@xxxxxxx@.", ".@xxxxxxx@.", ".@xxxxxxx@.", ".@xxxxxxx@.", ".@xxxxxxx@.", ".@xxxxxxx@.", ".@@@@@@@@@."] L_documentpixmap = Fl_Pixmap(L_document_xpm) i = None if usericon_radio.value() != 0.0: tree.usericon(L_folderpixmap) i = tree.find_item("Bbb/bgb/111") if i != None: i.usericon(L_documentpixmap) i = tree.find_item("Bbb/bgb/222") if i != None: i.usericon(L_documentpixmap) i = tree.find_item("Bbb/bgb/333") if i != None: i.usericon(L_documentpixmap) else: tree.usericon(None) i = tree.find_item("Bbb/bgb/111") if i != None: i.usericon(0) i = tree.find_item("Bbb/bgb/222") if i != None: i.usericon(0) i = tree.find_item("Bbb/bgb/333") if i != None: i.usericon(0) def cb_showroot_radio(showroot_radio, datatree): onoff = int(showroot_radio.value()) tree.showroot(onoff) def cb_visiblefocus_checkbox(visiblefocus_checkbox, tree): onoff = int(visiblefocus_checkbox.value()) tree.visible_focus(onoff) L_openpixmap = None L_closepixmap = None def cb_collapseicons_chooser(collapseicons_chooser, tree): global L_openpixmap, L_closepixmap L_open_xpm = [ "11 11 2 1", ". c None", "@ c #000000", "...@.......", "...@@......", "...@@@.....", "...@@@@....", "...@@@@@...", "...@@@@@@..", "...@@@@@...", "...@@@@....", "...@@@.....", "...@@......", "...@......."] L_openpixmap = Fl_Pixmap(L_open_xpm) L_close_xpm = [ "11 11 2 1", ". c None", "@ c #000000", "...........", "...........", "...........", "...........", "...........", "@@@@@@@@@@@", ".@@@@@@@@@.", "..@@@@@@@..", "...@@@@@...", "....@@@....", ".....@....."] L_closepixmap = Fl_Pixmap (L_close_xpm) if collapseicons_chooser.value() == 0: tree.showcollapse(1) tree.openicon(None) tree.closeicon(None) elif collapseicons_chooser.value() == 1: tree.showcollapse(1) tree.openicon(L_openpixmap) tree.closeicon(L_closepixmap) elif collapseicons_chooser.value() == 2: tree.showcollapse(0) menu_collapseicons_chooser = (("Normal", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), ("Custom", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), ("Off", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), (None,)) def cb_connectorstyle_chooser(connectorstyle_chooser, tree): # CHANGE COLLAPSESTYLE if connectorstyle_chooser.value() == 0: tree.connectorstyle(FL_TREE_CONNECTOR_NONE) elif connectorstyle_chooser.value() == 1: tree.connectorstyle(FL_TREE_CONNECTOR_DOTTED) elif connectorstyle_chooser.value() == 2: tree.connectorstyle(FL_TREE_CONNECTOR_SOLID) menu_connectorstyle_chooser = (("None", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), ("Dotted", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), ("Solid", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), (None,)) def cb_labelcolor_chooser(labelcolor_chooser, tree): # Set color.. c = 0x00000000 if labelcolor_chooser.value() == 0: c = 0x00000000 # black elif labelcolor_chooser.value() == 1: c = 0xd0000000 # red elif labelcolor_chooser.value() == 2: c = 0x00a00000 # green elif labelcolor_chooser.value() == 3: c = 0x0000a000 # blue else: c = 0x00000000 # black # DO SELECTED ITEMS count = 0 item = tree.first() while item != None: if item.is_selected(): item.labelcolor(c) count = count + 1 item = tree.next(item) # NO ITEMS SELECTED? DO ALL if count == 0: item = tree.first() while item != None: item.labelcolor(c) item = tree.next(item) tree.redraw() menu_labelcolor_chooser = ( ("Black", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), ("Red", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), ("Green", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), ("Blue", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), (None,)) def cb_selectmode_chooser(selectmode_chooser, tree): # Set selection mode if selectmode_chooser.value() == 0: tree.selectmode(FL_TREE_SELECT_NONE) elif selectmode_chooser.value() == 1: tree.selectmode(FL_TREE_SELECT_SINGLE) elif selectmode_chooser.value() == 2: tree.selectmode(FL_TREE_SELECT_MULTI) else: tree.selectmode(FL_TREE_SELECT_SINGLE) menu_selectmode_chooser = ( ("None", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), ("Single", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), ("Multi", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), (None,)) def cb_whenmode_chooser(whenmode_chooser, tree): # Set when mode if whenmode_chooser.value() == 0: tree.when(FL_WHEN_RELEASE) elif whenmode_chooser.value() == 1: tree.when(FL_WHEN_CHANGED) elif whenmode_chooser.value() == 2: tree.when(FL_WHEN_NEVER) else: tree.when(FL_WHEN_RELEASE) menu_whenmode_chooser = ( ("Changed", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), ("Released", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), ("Never", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0), (None,)) def cb_Show(show_btn, tree): item = tree.next_selected_item() print item tree.show_item(item) def cb_Top(top_btn, tree): item = tree.next_selected_item() print item tree.show_item_top(item) def cb_Mid(mid_btn, tree): item = tree.next_selected_item() tree.show_item_middle(item) def cb_Bot(bot_btn, tree): item = tree.next_selected_item() tree.show_item_bottom(item) def cb_selectall_button(selectall_button, tree): tree.select_all(None) tree.redraw() def cb_deselectall_button(deselectall_button, tree): tree.deselect_all(None) tree.redraw() def cb_bbbselect_toggle(bbbselect_toggle, tree): # Toggle select of just the Bbb item (not children) bbb = tree.find_item("/Bbb") if bbb == None: fl_alert("FAIL: Couldn't find item '/Bbb'???") return onoff = bbbselect_toggle.value() if onoff != 0: tree.select(bbb) # select /Bbb else: tree.deselect(bbb) # deselect /Bbb def cb_bbbselect2_toggle(bbbselect2_toggle, tree): # Toggle select of just the Bbb item and its immediate children bbb = tree.find_item("/Bbb") if bbb == None: fl_alert("FAIL: Couldn't find item '/Bbb'???") return onoff = bbbselect2_toggle.value() if onoff != 0: tree.select_all(bbb) # select /Bbb else: tree.deselect_all(bbb) # deselect /Bbb def cb_bbbchild02select_toggle(bbbchild02select_toggle, tree): # Toggle select of just the /Bbb/child-02 item onoff = bbbchild02select_toggle.value() if onoff != 0: tree.select("/Bbb/child-02") else: tree.deselect("/Bbb/child-02") def cb_rootselect_toggle(rootselect_toggle, tree): # Toggle select of ROOT item and its children item = tree.find_item("/ROOT") if item == None: fl_alert("FAIL: Couldn't find item '/ROOT'???") return onoff = rootselect_toggle.value() if onoff != 0: tree.select(item) # select /ROOT and its children else: tree.deselect(item) # deselect /ROOT and its children def cb_rootselect2_toggle(rootselect2_toggle, tree): # Toggle select of ROOT item and its children item = tree.find_item("/ROOT") if item == None: fl_alert("FAIL: Couldn't find item '/ROOT'???") return onoff = rootselect_toggle.value() if onoff != 0: tree.select_all(item) # select /ROOT and its children else: tree.deselect_all(item) # deselect /ROOT and its children def cb_deactivate_toggle(deactivate_toggle, tree): onoff = deactivate_toggle.value() if onoff != 0: onoff = 1 count = 0 item=tree.first() while item != None: if item.is_selected(): item.activate(onoff) count = count+1 item = tree.next(item) if count == 0: item=tree.first() while item != None: item.activate(onoff) item = tree.next(item) tree.redraw() def cb_bold_toggle(bold_toggle, tree): face = FL_HELVETICA if bold_toggle.value() != 0: face = FL_HELVETICA_BOLD # DO SELECTED ITEMS count = 0 item=tree.first() while item != None: if item.is_selected(): item.labelfont(face) count = count+1 item = tree.next(item) # NO ITEMS SELECTED? DO ALL if count == 0: item=tree.first() while item != None: item.labelfont(face) item = tree.next(item) tree.redraw() def cb_loaddb_button(loaddb_button, tree): filename = fl_file_chooser("Select a Preferences style Database", "Preferences(*.prefs)", 0L) if len(filename) > 0: tree.clear() prefs = Fl_Preferences(filename, 0L, 0L) tree.load(prefs) tree.redraw() def cb_insertabove_button(insertabove_button, tree): item=tree.first() while item != None: if item.is_selected(): tree.insert_above(item, "AaaAaa") tree.insert_above(item, "BbbBbb") tree.insert_above(item, "CccCcc") item = item.next() tree.redraw() def cb_rebuildtree_button(rebuildtree_button, tree): RebuildTree(tree) def cb_showpathname_button(showpathname_button, tree): item = tree.first_selected_item() if item == None: fl_message("No item was selected") return pathname = "" ret_val = tree.item_pathname(pathname, len(pathname), item) if ret_val == 0: msg = item.label() if msg == None or msg == "": msg = "???" fl_message("Pathname for '%s' is: \"%s\"", msg, pathname) elif ret_val == -1: fl_message("item_pathname() returned -1 (NOT FOUND)") elif ret_val == -2: fl_message("item_pathname() returned -2 (STRING TOO LONG)") def cb_showselected_button(showselected_button, tree): print "--- SELECTED ITEMS" item = tree.first_selected_item() while item != None: msg = item.label() if msg == None or msg == "": msg = "???" print "\t%s\n"%msg item = tree.next_selected_item(item) def cb_clearselected_button(clearselected_button, tree): item=tree.first() while item != None: if item.is_selected(): if tree.remove(item) == -1: break item = tree.first() else: item = item.next() tree.redraw() def cb_clearall_button(clearall_button, tree): tree.clear() tree.redraw() def cb_testcallbackflag_button(testcallbackflag_button, tree): global G_cb_counter root = tree.root() print "--- Checking docallback off\n" # "OFF" TEST # open/close: Make sure these methods don't trigger cb G_cb_counter = 0 tree.close(root, 0) if G_cb_counter != 0: fl_alert("FAILED 'OFF' TEST\n close(item) triggered cb!") G_cb_counter = 0 tree.open(root, 0) if G_cb_counter != 0: fl_alert("FAILED 'OFF' TEST\n open(item) triggered cb!") G_cb_counter = 0 tree.open_toggle(root, 0) if G_cb_counter != 0: fl_alert("FAILED 'OFF' TEST\n open_toggle(item) triggered cb!") G_cb_counter = 0 tree.open("ROOT", 0) if G_cb_counter != 0: fl_alert("FAILED 'OFF' TEST\n open(path) triggered cb!") G_cb_counter = 0 tree.close("ROOT", 0) if G_cb_counter != 0: fl_alert("FAILED 'OFF' TEST\n close(path) triggered cb!") tree.open(root,0) # leave root open # select/deselect: Make sure these methods don't trigger cb G_cb_counter = 0 tree.select(root, 0) if G_cb_counter != 0: fl_alert("FAILED 'OFF' TEST\n select(item) triggered cb!") G_cb_counter = 0 tree.deselect(root, 0) if G_cb_counter != 0: fl_alert("FAILED 'OFF' TEST\n deselect(item) triggered cb!") G_cb_counter = 0 tree.select_toggle(root, 0); if G_cb_counter != 0: fl_alert("FAILED 'OFF' TEST\n select_toggle(item) triggered cb!") G_cb_counter = 0 tree.deselect("ROOT", 0) if G_cb_counter != 0: fl_alert("FAILED 'OFF' TEST\n deselect(path) triggered cb!") G_cb_counter = 0 tree.select("ROOT", 0); if G_cb_counter != 0: fl_alert("FAILED 'OFF' TEST\n select(path) triggered cb!") tree.deselect("ROOT") # leave deselected # "ON" TEST # open/close: Make sure these methods don't trigger cb G_cb_counter = 0 tree.close(root, 1) if G_cb_counter == 0: fl_alert("FAILED 'ON' TEST\n close(item) cb wasn't triggered!") G_cb_counter = 0 tree.open(root, 1) if G_cb_counter == 0: fl_alert("FAILED 'ON' TEST\n open(item) cb wasn't triggered!") G_cb_counter = 0 tree.open_toggle(root, 1); if G_cb_counter == 0: fl_alert("FAILED 'ON' TEST\n open_toggle(item) cb wasn't triggered!") G_cb_counter = 0 tree.open(root, 1) if G_cb_counter == 0: fl_alert("FAILED 'ON' TEST\n open(item)[2] cb wasn't triggered!") G_cb_counter = 0 tree.close(root, 1) if G_cb_counter == 0: fl_alert("FAILED 'ON' TEST\n close(item)[2] cb wasn't triggered!") G_cb_counter = 0 tree.open("ROOT", 1); if G_cb_counter == 0: fl_alert("FAILED 'ON' TEST\n open(path) cb wasn't triggered!") G_cb_counter = 0 tree.close("ROOT", 1) if G_cb_counter == 0: fl_alert("FAILED 'ON' TEST\n close(path) cb wasn't triggered!") tree.open(root,0) # leave root open # select/deselect: Make sure these methods don't trigger cb G_cb_counter = 0 tree.select(root, 1) if G_cb_counter == 0: fl_alert("FAILED 'ON' TEST\n select(item) cb wasn't triggered!") G_cb_counter = 0 tree.deselect(root, 1) if G_cb_counter == 0: fl_alert("FAILED 'ON' TEST\n deselect(item) cb wasn't triggered!") G_cb_counter = 0 tree.select_toggle(root, 1) if G_cb_counter == 0: fl_alert("FAILED 'ON' TEST\n select_toggle(item) cb wasn't triggered!") G_cb_counter = 0 tree.deselect("ROOT", 1) if G_cb_counter == 0: fl_alert("FAILED 'ON' TEST\n deselect(path) cb wasn't triggered!") G_cb_counter = 0 tree.select("ROOT", 1) if G_cb_counter == 0: fl_alert("FAILED 'ON' TEST\n select(path) cb wasn't triggered!") tree.deselect("ROOT") # leave deselected # "default" TEST (should be same as 'on' # open/close: Make sure these methods don't trigger cb G_cb_counter = 0 tree.close(root) if G_cb_counter == 0: fl_alert("FAILED 'DEFAULT' TEST: close(item) cb wasn't triggered!") G_cb_counter = 0 tree.open(root) if G_cb_counter == 0: fl_alert("FAILED 'DEFAULT' TEST: open(item) cb wasn't triggered!") G_cb_counter = 0 tree.open_toggle(root) if G_cb_counter == 0: fl_alert("FAILED 'DEFAULT' TEST: open_toggle(item) cb wasn't triggered!") G_cb_counter = 0 tree.open("ROOT") if G_cb_counter == 0: fl_alert("FAILED 'DEFAULT' TEST: open(path) cb wasn't triggered!") G_cb_counter = 0 tree.close("ROOT") if G_cb_counter == 0: fl_alert("FAILED 'DEFAULT' TEST: close(path) cb wasn't triggered!") tree.open(root,0) # leave root open # select/deselect: Make sure these methods don't trigger cb G_cb_counter = 0 tree.select(root) if G_cb_counter == 0: fl_alert("FAILED 'DEFAULT' TEST\n select(item) cb wasn't triggered!") G_cb_counter = 0 tree.deselect(root) if G_cb_counter == 0: fl_alert("FAILED 'DEFAULT' TEST\n deselect(item) cb wasn't triggered!") G_cb_counter = 0 tree.select_toggle(root) if G_cb_counter == 0: fl_alert("FAILED 'DEFAULT' TEST\n select_toggle(item) cb wasn't triggered!") G_cb_counter = 0 tree.deselect("ROOT") if G_cb_counter == 0: fl_alert("FAILED 'DEFAULT' TEST\n deselect(path) cb wasn't triggered!") G_cb_counter = 0 tree.select("ROOT") if G_cb_counter == 0: fl_alert("FAILED 'DEFAULT' TEST\n select(path) cb wasn't triggered!") tree.deselect("ROOT") # leave deselected fl_alert("TEST COMPLETED\n If you didn't see any error dialogs, test PASSED.") if __name__ == '__main__': window = Fl_Double_Window(580, 695, "tree") # tree tree = Fl_Tree(15, 15, 550, 390) tree.box(FL_DOWN_BOX) tree.color(55) tree.selection_color(FL_BACKGROUND_COLOR) tree.labeltype(FL_NORMAL_LABEL) tree.labelfont(0) tree.labelsize(14) tree.labelcolor(FL_FOREGROUND_COLOR) tree.callback(cb_tree, 1234) tree.align(FL_ALIGN_TOP) tree.when(FL_WHEN_RELEASE) tree.end() # margintop_slider margintop_slider = Fl_Value_Slider(190, 414, 240, 16, "margintop()") margintop_slider.tooltip("Changes the top margin for the tree widget") margintop_slider.type(1) margintop_slider.labelsize(12) margintop_slider.step(0.01) margintop_slider.textsize(12) margintop_slider.callback(cb_margintop_slider, tree) margintop_slider.align(FL_ALIGN_LEFT) margintop_slider.value(tree.margintop()) margintop_slider.range(0.0, 100.0) margintop_slider.step(1.0) margintop_slider.color(46) margintop_slider.selection_color(FL_RED) # marginleft_slider marginleft_slider = Fl_Value_Slider(190, 434, 240, 16, "marginleft()") marginleft_slider.tooltip("Changes the left margin for the tree widget") marginleft_slider.type(1) marginleft_slider.labelsize(12) marginleft_slider.step(0.01) marginleft_slider.textsize(12) marginleft_slider.callback(cb_marginleft_slider, tree) marginleft_slider.align(FL_ALIGN_LEFT) marginleft_slider.value(tree.marginleft()) marginleft_slider.range(0.0, 100.0) marginleft_slider.step(1.0) marginleft_slider.color(46) marginleft_slider.selection_color(FL_RED) # openchild_marginbottom_slider openchild_marginbottom_slider = Fl_Value_Slider(190, 454, 240, 16, "openchild_marginbottom()") openchild_marginbottom_slider.tooltip("Changes the vertical space below an open child tree") openchild_marginbottom_slider.type(1) openchild_marginbottom_slider.labelsize(12) openchild_marginbottom_slider.step(0.01) openchild_marginbottom_slider.textsize(12) openchild_marginbottom_slider.callback(cb_openchild_marginbottom_slider, tree) openchild_marginbottom_slider.align(FL_ALIGN_LEFT) openchild_marginbottom_slider.value(tree.openchild_marginbottom()) openchild_marginbottom_slider.range(0.0, 100.0) openchild_marginbottom_slider.step(1.0) openchild_marginbottom_slider.color(46) openchild_marginbottom_slider.selection_color(FL_RED) # labelsize_slider labelsize_slider = Fl_Value_Slider(190, 474, 240, 16, "Text size") labelsize_slider.tooltip("Changes the font size of the selected items\nIf none selected, all are changed") labelsize_slider.type(1) labelsize_slider.labelsize(12) labelsize_slider.step(0.01) labelsize_slider.textsize(12) labelsize_slider.callback(cb_labelsize_slider, tree) labelsize_slider.align(FL_ALIGN_LEFT) labelsize_slider.value(tree.labelsize()) labelsize_slider.range(5.0, 200.0) labelsize_slider.step(1.0) labelsize_slider.color(46) labelsize_slider.selection_color(FL_RED) # connectorwidth_slider connectorwidth_slider = Fl_Value_Slider(190, 494, 240, 16, "Connector width") connectorwidth_slider.tooltip("Tests Fl_Tree::connectorwidth()") connectorwidth_slider.type(1) connectorwidth_slider.labelsize(12) connectorwidth_slider.step(0.01) connectorwidth_slider.textsize(12) connectorwidth_slider.callback(cb_connectorwidth_slider, tree) connectorwidth_slider.align(FL_ALIGN_LEFT) connectorwidth_slider.value(tree.connectorwidth()) connectorwidth_slider.range(1.0, 100.0) connectorwidth_slider.step(1.0) connectorwidth_slider.color(46) connectorwidth_slider.selection_color(FL_RED) # usericon_radio usericon_radio = Fl_Check_Button(90, 525, 130, 16, "Enable user icons?") usericon_radio.tooltip("Tests Fl_Tree_Item::usericon()") usericon_radio.down_box(FL_DOWN_BOX) usericon_radio.labelsize(11) usericon_radio.callback(cb_usericon_radio, tree) # showroot_radio showroot_radio = Fl_Check_Button(90, 542, 130, 16, "Show root?") showroot_radio.tooltip("Tests Fl_Tree_Item::usericon()") showroot_radio.down_box(FL_DOWN_BOX) showroot_radio.labelsize(11) showroot_radio.callback(cb_showroot_radio, tree) onoff = tree.showroot() showroot_radio.value(onoff) # visiblefocus_checkbox visiblefocus_checkbox = Fl_Check_Button(90, 559, 130, 16, "Visible focus?") visiblefocus_checkbox.tooltip("Toggles the tree\'s visible_focus()\nThis toggles the visible \'focus box\'") visiblefocus_checkbox.down_box(FL_DOWN_BOX) visiblefocus_checkbox.labelsize(11) visiblefocus_checkbox.callback(cb_visiblefocus_checkbox, tree) onoff = tree.visible_focus() visiblefocus_checkbox.value(onoff) # collapseicons_chooser collapseicons_chooser = Fl_Choice(115, 589, 110, 16, "Collapse icons") collapseicons_chooser.tooltip("Tests Fl_Tree::openicon() and Fl_Tree::closeicon()") collapseicons_chooser.down_box(FL_BORDER_BOX) collapseicons_chooser.labelsize(11) collapseicons_chooser.textsize(11) collapseicons_chooser.callback(cb_collapseicons_chooser, tree) collapseicons_chooser.menu(menu_collapseicons_chooser) # connectorstyle_chooser connectorstyle_chooser = Fl_Choice(115, 609, 110, 16, "Line style") connectorstyle_chooser.tooltip("Tests connectorstyle() bit flags") connectorstyle_chooser.down_box(FL_BORDER_BOX) connectorstyle_chooser.labelsize(11) connectorstyle_chooser.textsize(11) connectorstyle_chooser.callback(cb_connectorstyle_chooser, tree) connectorstyle_chooser.menu(menu_connectorstyle_chooser) if tree.connectorstyle() == FL_TREE_CONNECTOR_NONE: connectorstyle_chooser.value(0) elif tree.connectorstyle() == FL_TREE_CONNECTOR_DOTTED: connectorstyle_chooser.value(1) elif tree.connectorstyle() == FL_TREE_CONNECTOR_SOLID: connectorstyle_chooser.value(2) # labelcolor_chooser labelcolor_chooser = Fl_Choice(115, 629, 110, 16, "Item Text Color") labelcolor_chooser.tooltip("Changes the label color for the selected items\nIf no items selected, all are\changed") labelcolor_chooser.down_box(FL_BORDER_BOX) labelcolor_chooser.labelsize(11) labelcolor_chooser.textsize(11) labelcolor_chooser.callback(cb_labelcolor_chooser, tree) labelcolor_chooser.menu(menu_labelcolor_chooser) # selectmode_chooser selectmode_chooser = Fl_Choice(115, 649, 110, 16, "Selection Mode") selectmode_chooser.tooltip("Sets how Fl_Tree handles mouse selection of tree items") selectmode_chooser.down_box(FL_BORDER_BOX) selectmode_chooser.labelsize(11) selectmode_chooser.textsize(11) selectmode_chooser.callback(cb_selectmode_chooser, tree) selectmode_chooser.menu(menu_selectmode_chooser) selectmode_chooser.value(1) cb_selectmode_chooser(selectmode_chooser, tree) # whenmode_chooser whenmode_chooser = Fl_Choice(115, 669, 110, 16, "When") whenmode_chooser.tooltip("Sets when() the tree\'s callback is invoked") whenmode_chooser.down_box(FL_BORDER_BOX) whenmode_chooser.labelsize(11) whenmode_chooser.textsize(11) whenmode_chooser.callback(cb_whenmode_chooser, tree) whenmode_chooser.menu(menu_whenmode_chooser) whenmode_chooser.value(1) cb_whenmode_chooser(whenmode_chooser, tree) # showitem_box showitem_box = Fl_Box(480, 425, 70, 82, "show_item()\n") showitem_box.box(FL_GTK_DOWN_BOX) showitem_box.color(FL_DARK1) showitem_box.labelsize(11) showitem_box.align(FL_ALIGN_TOP) show_btn = Fl_Button(495, 434, 40, 17, "Show") show_btn.tooltip("Tests show_item() with no position specified.\nMakes the selected item visibl\e IF it is off-screen.\nNo change made if it is not off-screen.") show_btn.labelsize(11) show_btn.callback(cb_Show, tree) top_btn = Fl_Button(495, 451, 40, 16, "Top") top_btn.tooltip("Test show_item_top().\nScrolls selected item to the top of the display\n(only\ works if scrollbar showing)\nTo use:\n1) open \'500 items\'\n2) select item 0\010\n3) Hit Top/Mid/Bot") top_btn.labelsize(11) top_btn.callback(cb_Top, tree) mid_btn = Fl_Button(495, 467, 40, 16, "Mid") mid_btn.tooltip("Tests show_item_middle().\nScrolls the selected item to the middle of the dis\play\nTo use:\n 1) open \'500 items\'\n 2) select \'item 0010\'\n 3) Hit To\p/Mid/Bot") mid_btn.labelsize(11) mid_btn.callback(cb_Mid, tree) bot_btn = Fl_Button(495, 483, 40, 16, "Bot") bot_btn.tooltip("Tests show_item_bottom().\nScrolls the selected item to the bottom of the dis\play\nTo use:\n 1) open \'500 items\'\n 2) select \'item 0010\'\n 3) Hit To\p/Mid/Bot") bot_btn.labelsize(11) bot_btn.callback(cb_Bot, tree) docallback_box = Fl_Box(245, 527, 320, 77, "Selection State Changes") docallback_box.box(FL_GTK_DOWN_BOX) docallback_box.color(FL_DARK1) docallback_box.labelsize(12) docallback_box.align(FL_ALIGN_TOP) selectall_button = Fl_Button(260, 539, 75, 16, "Select All") selectall_button.tooltip("Selects all items in the tree") selectall_button.labelsize(9) selectall_button.callback(cb_selectall_button, tree) deselectall_button = Fl_Button(260, 559, 75, 16, "Deselect All") deselectall_button.tooltip("Deselects all items in the tree") deselectall_button.labelsize(9) deselectall_button.callback(cb_deselectall_button, tree) bbbselect_toggle = Fl_Light_Button(350, 540, 95, 15, " Select Bbb") bbbselect_toggle.tooltip("Toggle selection of just the /Bbb item\n(Not children)") bbbselect_toggle.selection_color(1) bbbselect_toggle.labelsize(9) bbbselect_toggle.callback(cb_bbbselect_toggle, tree) bbbselect2_toggle = Fl_Light_Button(350, 560, 95, 15, " Select Bbb+") bbbselect2_toggle.tooltip("Toggle selection of the /Bbb item and its children") bbbselect2_toggle.selection_color(1) bbbselect2_toggle.labelsize(9) bbbselect2_toggle.callback(cb_bbbselect2_toggle, tree) bbbchild02select_toggle = Fl_Light_Button(350, 579, 95, 16, " Toggle child-02") bbbchild02select_toggle.tooltip("Toggle the single item /Bbb/child-02") bbbchild02select_toggle.selection_color(1) bbbchild02select_toggle.labelsize(9) bbbchild02select_toggle.callback(cb_bbbchild02select_toggle, tree) rootselect_toggle = Fl_Light_Button(460, 540, 90, 15, "Select ROOT") rootselect_toggle.tooltip("Toggle selection of the ROOT item") rootselect_toggle.selection_color(1) rootselect_toggle.labelsize(9) rootselect_toggle.callback(cb_rootselect_toggle, tree) rootselect2_toggle = Fl_Light_Button(460, 560, 90, 15, "Select ROOT+") rootselect2_toggle.tooltip("Toggle selection of the ROOT item and all children") rootselect2_toggle.selection_color(1) rootselect2_toggle.labelsize(9) rootselect2_toggle.callback(cb_rootselect2_toggle, tree) deactivate_toggle = Fl_Light_Button(280, 634, 90, 16, " Deactivate") deactivate_toggle.tooltip("Toggle the deactivation state of the selected items.\nIf none are selected, a\ll are set.") deactivate_toggle.selection_color(1) deactivate_toggle.labelsize(9) deactivate_toggle.callback(cb_deactivate_toggle, tree) bold_toggle = Fl_Light_Button(280, 654, 90, 16, " Bold Font") bold_toggle.tooltip("Toggles bold font for selected items\nIf nothing selected, all are changed") bold_toggle.selection_color(1) bold_toggle.labelsize(9) bold_toggle.callback(cb_bold_toggle, tree) loaddb_button = Fl_Button(380, 614, 90, 16, "Load Database...") loaddb_button.tooltip("Load the contents of an Fl_Preferences database into the tree view") loaddb_button.labelsize(9) loaddb_button.callback(cb_loaddb_button, tree) insertabove_button = Fl_Button(380, 634, 90, 16, "Insert Above") insertabove_button.tooltip("Inserts three items above the selected items") insertabove_button.labelsize(9) insertabove_button.callback(cb_insertabove_button, tree) rebuildtree_button = Fl_Button(380, 654, 90, 16, "Rebuild Tree") rebuildtree_button.tooltip("Rebuilds the tree with defaults") rebuildtree_button.labelsize(9) rebuildtree_button.callback(cb_rebuildtree_button, tree) showpathname_button = Fl_Button(380, 674, 90, 16, "Show Pathname") showpathname_button.tooltip("Show the pathname for the selected item. Tests the Fl_Tree::item_pathname() m\ethod.") showpathname_button.labelsize(8) showpathname_button.callback(cb_showpathname_button, tree) showselected_button = Fl_Button(475, 614, 90, 16, "Show Selected") showselected_button.tooltip("Clears the selected items") showselected_button.labelsize(9) showselected_button.callback(cb_showselected_button, tree) clearselected_button = Fl_Button(475, 634, 90, 16, "Remove Selected") clearselected_button.tooltip("Removes the selected items") clearselected_button.labelsize(9) clearselected_button.callback(cb_clearselected_button, tree) clearall_button = Fl_Button(475, 654, 90, 16, "Clear All") clearall_button.tooltip("Clears all items\nTests Fl_Tree::clear()") clearall_button.labelsize(9) clearall_button.callback(cb_clearall_button, tree) testcallbackflag_button = Fl_Button(475, 674, 90, 16, "Test Callback Flag") testcallbackflag_button.tooltip("Test the \'docallback\' argument can disable callbacks.") testcallbackflag_button.labelsize(8) testcallbackflag_button.callback(cb_testcallbackflag_button, tree) window.end() tree.root_label("ROOT") RebuildTree(tree) window.resizable(window) window.size_range(window.w(), window.h(), 0, 0) if tree.when() == FL_WHEN_CHANGED: whenmode_chooser.value(0) elif tree.when() == FL_WHEN_RELEASE: whenmode_chooser.value(1) elif tree.when() == FL_WHEN_NEVER: whenmode_chooser.value(2) window.show(sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/cube.py0000644000175100017510000001325711651413735014625 0ustar heldheld# Another forms test program for the Python port of # the Fast Light Tool Kit (pyFLTK). # Modified to have 2 cubes to test multiple OpenGL contexts # # FLTk is Copyright 1998-2003 by Bill Spitzak and others. # pyFLTK is Copyright 2003 by Andreas Held # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # from fltk import * import sys, time try: from OpenGL.GLUT import * from OpenGL.GL import * except: print ''' ERROR: PyOpenGL not installed properly. ''' sys.exit() # requires OpenGL class cube_box(Fl_Gl_Window): lasttime = 0.0 size = 0.0 speed = 0.0 wire = 0 def __init__(self, x, y, w, h, l): Fl_Gl_Window.__init__(self, x, y, w, h, l) self.lasttime = 0.0 def draw(self): self.lasttime = self.lasttime+self.speed if self.valid() == 0: glLoadIdentity() glViewport(0,0,self.w(),self.h()) glEnable(GL_DEPTH_TEST) glFrustum(-1,1,-1,1,2,10000) glTranslatef(0,0,-10) gl_font(FL_HELVETICA_BOLD, 16 ) try: glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) glPushMatrix() glRotatef(self.lasttime*1.6,0,0,1) glRotatef(self.lasttime*4.2,1,0,0) glRotatef(self.lasttime*2.3,0,1,0) glTranslatef(-1.0, 1.2, -1.5); glScalef(self.size,self.size,self.size) drawcube(self.wire) glPopMatrix() gl_color(FL_GRAY) glDisable(GL_DEPTH_TEST) if self.wire == 1: gl_draw("Cube: wire", -4.5, -4.5) else: gl_draw("Cube: flat", -4.5, -4.5) glEnable(GL_DEPTH_TEST) except: print "Exception: ", sys.exc_type, sys.exc_value # the cube definition v0 = [0.0, 0.0, 0.0] v1 = [1.0, 0.0, 0.0] v2 = [1.0, 1.0, 0.0] v3 = [0.0, 1.0, 0.0] v4 = [0.0, 0.0, 1.0] v5 = [1.0, 0.0, 1.0] v6 = [1.0, 1.0, 1.0] v7 = [0.0, 1.0, 1.0] def drawcube(wire): # draw a colored cube if wire == 1: glBegin(GL_LINE_LOOP) else: glBegin(GL_POLYGON) glColor3ub(0,0,255); glVertex3fv(v0) glVertex3fv(v1) glVertex3fv(v2) glVertex3fv(v3) glEnd() if wire == 1: glBegin(GL_LINE_LOOP) else: glBegin(GL_POLYGON) glColor3ub(0,255,255) glVertex3fv(v4) glVertex3fv(v5) glVertex3fv(v6) glVertex3fv(v7) glEnd() if wire == 1: glBegin(GL_LINE_LOOP) else: glBegin(GL_POLYGON) glColor3ub(255,0,255) glVertex3fv(v0) glVertex3fv(v1) glVertex3fv(v5) glVertex3fv(v4) glEnd() if wire == 1: glBegin(GL_LINE_LOOP) else: glBegin(GL_POLYGON) glColor3ub(255,255,0) glVertex3fv(v2) glVertex3fv(v3) glVertex3fv(v7) glVertex3fv(v6) glEnd() if wire == 1: glBegin(GL_LINE_LOOP) else: glBegin(GL_POLYGON) glColor3ub(0,255,0) glVertex3fv(v0) glVertex3fv(v4) glVertex3fv(v7) glVertex3fv(v3) glEnd() if wire == 1: glBegin(GL_LINE_LOOP) else: glBegin(GL_POLYGON) glColor3ub(255,0,0) glVertex3fv(v1) glVertex3fv(v2) glVertex3fv(v6) glVertex3fv(v5) glEnd() form = None speed = None size = None button = None wire = None flat = None cube = None cube2 = None class MyBox(Fl_Group): def __init__(self, type, x, y, w, h, l): Fl_Group.__init__(self, x, y, w, h, l) Fl_Group.box(self, type) self.end() def exit_cb(ptr): sys.exit(0) def makeform(name): global form global speed global size global wire global flat global button global cube global cube2 form = Fl_Window(510+390,390,name) b1 = Fl_Box(FL_DOWN_FRAME,20,20,350,350,"") b2 = Fl_Box(FL_DOWN_FRAME,510,20,350,350,"") speed = Fl_Slider(FL_VERT_SLIDER,390,90,40,220,"Speed") size = Fl_Slider(FL_VERT_SLIDER,450,90,40,220,"Size") wire = Fl_Radio_Light_Button(390,20,100,30,"Wire") flat = Fl_Radio_Light_Button(390,50,100,30,"Flat") button = Fl_Button(390,340,100,30,"Exit") button.callback(exit_cb) cube = cube_box(23,23,344,344, "") cube2 = cube_box(513,23,344,344, "") b = Fl_Box(FL_NO_BOX,cube.x(),size.y(), cube.w(),size.h(),"") #b = MyBox(FL_NO_BOX,cube.x(),size.y(), cube.w(),size.h(),"") form.resizable(b) b.hide() form.end() if __name__ == '__main__': makeform(sys.argv[0]) speed.bounds(4,0) cube.speed = 1.0 cube2.speed = 1.0 speed.value(1.0) size.bounds(4,0.01) cube.size = 1.0 cube2.size = 1.0 size.value(1.0) flat.value(1) cube.wire = 0 cube2.wire = 1 form.label("cube"); form.show(len(sys.argv), sys.argv) cube.show() cube2.show() while 1: if form.visible() == 1 and speed.value() != 0: if Fl.check() == 0: break else: if Fl.wait() == 0: break cube.wire = wire.value() cube2.wire = not wire.value() cube.size = size.value() cube2.size = size.value() cube.speed = speed.value() cube2.speed = speed.value() cube.redraw() cube2.redraw() if Fl.readqueue() == button: break pyFltk-1.3.0/fltk/test/file_browser.py0000644000175100017510000000376411651413735016373 0ustar heldheld# # "$Id: file_browser.py 213 2006-02-22 08:05:32Z andreasheld $" # # File chooser test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * fb = None directory = "./" def SortCB(widget): method = widget.value() print "Sorting: ", method if method == "FL_NUMERICSORT": fb.load(directory, FL_NUMERICSORT) elif method == "FL_ALPHASORT": fb.load(directory, FL_ALPHASORT) elif method == "FL_CASENUMERICSORT": fb.load(directory, FL_CASENUMERICSORT) elif method == "FL_CASEALPHASORT": fb.load(directory, FL_CASEALPHASORT) else: print "Wrong sorting method!" if __name__=='__main__': win = Fl_Window(100, 100, 300, 400, "File Browser") fb = Fl_File_Browser(50,50,200,200) fb.load(directory, FL_NUMERICSORT) ic = Fl_Input_Choice(50, 280, 200, 25, "Sorting:") ic.align(FL_ALIGN_TOP | FL_ALIGN_LEFT) ic.add("FL_NUMERICSORT") ic.add("FL_ALPHASORT") ic.add("FL_CASENUMERICSORT") ic.add("FL_CASEALPHASORT") ic.value(0) ic.callback(SortCB) win.show() Fl.run() pyFltk-1.3.0/fltk/test/button.py0000755000175100017510000000324011651413735015214 0ustar heldheld# # "$Id: button.py 337 2007-05-29 15:08:05Z andreasheld $" # # Button test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys window = None class MyButton(Fl_Button): data = "My Secret Data" def __init__(self, x, y, w, h, l): Fl_Button.__init__(self, x, y, w, h, l) def beepcb(ptr, widget): print "beepcb: " print " Widget member: ",ptr.data print "\007" print " done" def exitcb(ptr, widget): sys.exit(0) window = Fl_Window(100,100,320, 65,"Button") b1 = MyButton(20,20,80,25, "Beep") print b1 b1.callback(beepcb, window) b2 = Fl_Button(120,20, 80, 25, "&no op") b3 = Fl_Button(220,20, 80, 25, "Exit"); b3.callback(exitcb,window) window.end() #window.show(len(sys.argv),sys.argv) window.show() Fl.run() pyFltk-1.3.0/fltk/test/TextEditor.py0000644000175100017510000000540611651413735015777 0ustar heldheld#!/usr/bin/env python # $Id: TextEditor.py 198 2006-02-16 07:22:28Z andreasheld $ # Author: Chris Green # Purpose: test text editor # Created: Thu Jan 22 14:06:24 EST 2004 # # This has a goal of http://www.fltk.org/documentation.php/doc-1.1/editor.html#editor # # Text Editor test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # import sys from fltk import * def onFileQuit(ptr, data): #menuItem = Fl_Menu_ItemPtr(ptr) menuItem = ptr print 'onFileQuit(%s, "%s")'%(str(menuItem), str(data)) import sys # code sys.exit(0) # code def onFileSave(ptr , data): #menuItem = Fl_Menu_ItemPtr(ptr) menuItem = ptr print 'onFileSave(%s, "%s")'%(str(menuItem), str(data)) textEditor = data print textEditor.buffer().text() def tb_changed_cb(pos, nInserted, nDeleted, nRestyled, deleted_text, ptr): print "in callback: ", pos, nDeleted def main(): o_1_0 = Fl_Window(810, 23, 200, 200) o_1_0.pyChildren=[] textEditor = Fl_Text_Editor(0,100, 100, 100) # create a 1000 byte long text buffer textBuffer = Fl_Text_Buffer(1000) textBuffer.text("Wee") # "hello world!" textBuffer.add_modify_callback(tb_changed_cb, textEditor); #textBuffer.call_modify_callbacks(); # place the buffer inside the editor textEditor.buffer(textBuffer) # place the edittor inside the window o_1_0.pyChildren.append(textEditor) o_2_0 = Fl_Menu_Bar(0, 0, 105, 25) o_2_0.pyChildren=[] userData = "User callback data" o_2_0.menu(( ("&File", 0, 0, 0, 64), ("&Quit", 0, onFileQuit, userData, 0), ("&Save", 0, onFileSave, textEditor, 0), (None, ), (None, ) )) o_1_0.pyChildren.append(o_2_0) o_1_0.end() return o_1_0 if __name__=='__main__': window = main() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/browser.py0000755000175100017510000000674411651413735015400 0ustar heldheld""" // // "$Id: browser.py 241 2006-07-24 11:00:42Z andreasheld $" // // Browser test program for pyFLTK the Python bindings // for the Fast Light Tool Kit (FLTK). // // Copyright 1998-1999 by Bill Spitzak and others. // pyFLTK copyright 2003 by Andreas Held and others. // // This library is free software you can redistribute it and/or // modify it under the terms of the GNU Library General Public // License as published by the Free Software Foundation either // version 2 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Library General Public License for more details. // // You should have received a copy of the GNU Library General Public // License along with this library if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 // USA. // # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # /* This is a test of how the browser draws lines. This is a second line. This is a third. That was a blank line above this. @r@_Right justify @c@_Center justify @_Left justify @bBold text @iItalic text @b@iBold Italic @fFixed width @f@bBold Fixed @f@iItalic Fixed @f@i@bBold Italic Fixed @lLarge @l@bLarge bold @sSmall @s@bSmall bold @s@iSmall italic @s@i@bSmall italic bold @uunderscore @C1RED @C2Green @C4Blue You should try different browser types: Fl_Browser Fl_Select_Browser Fl_Hold_Browser Fl_Multi_Browser */ """ from fltk import * import sys def b_cb(ptr): #print "callback, selection = %d, event_clicks = "%(ptr.value()) print "callback, selection = %d, event_clicks = %d"%(ptr.value(),Fl.event_clicks()) def show_cb(ptr): if field.value() == '': fl_alert("Please enter a number in the text field\n" "before clicking on the buttons.") return None line = int(field.value()) if str(ptr) == str(top): browser.topline(line) elif str(ptr) == str(bottom): browser.bottomline(line) elif str(ptr) == str(middle): browser.middleline(line) else: browser.make_visible(line) # if (!Fl::args(argc,argv,i)) Fl::fatal(Fl::help) fname = "browser.py" window = Fl_Window(400,400,fname) #window.box(FL_NO_BOX) # because it is filled with browser browser = Fl_Select_Browser(0,0,400,350,"") browser.type(FL_MULTI_BROWSER) #browser.color(44) browser.callback(b_cb) print "Browser font = ", browser.textfont() print "Setting browser font to Courier" browser.textfont(FL_COURIER) print "Browser font size = ", browser.textsize() print "Setting browser font size to 11" browser.textsize(11) print "Browser font color = ", browser.textcolor() print "Setting browser font color to red" browser.textcolor(FL_RED) browser.scrollbar_right() browser.has_scrollbar(Fl_Browser.BOTH_ALWAYS) if not browser.load(fname): print "Can't load " + fname sys.exit(1) browser.position(0) #print "Position = " #print browser.value() #print browser field = Fl_Int_Input(50,350,350,25,"Line #:") field.callback(show_cb) top = Fl_Button(0,375,100,25,"Top") top.callback(show_cb) bottom = Fl_Button(100, 375, 100, 25, "Bottom") bottom.callback(show_cb); middle = Fl_Button(200, 375, 100, 25, "Middle") middle.callback(show_cb); visible = Fl_Button(300, 375, 100, 25, "Make Vis.") visible.callback(show_cb); window.end() window.resizable(browser) window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/tile.py0000644000175100017510000000415611651413735014642 0ustar heldheld# # "$Id: tile.py 172 2006-01-26 07:45:15Z andreasheld $" # # Tiling test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys window = Fl_Window(300, 300) window.box(FL_NO_BOX) window.resizable(window) tile = Fl_Tile(0,0,300,300) box0 = Fl_Box(0,0,150,150,"0") box0.box(FL_DOWN_BOX) box0.color(9) box0.labelsize(36) box0.align(FL_ALIGN_CLIP) w1 = Fl_Window(150,0,150,150,"1") w1.box(FL_NO_BOX) box1 = Fl_Box(0,0,150,150,"1\nThis is a\nchild\nwindow") box1.box(FL_DOWN_BOX) box1.color(19) box1.labelsize(18) box1.align(FL_ALIGN_CLIP) w1.resizable(box1) w1.end() box2a = Fl_Box(0,150,70,150,"2a"); box2a.box(FL_DOWN_BOX); box2a.color(12); box2a.labelsize(36) box2a.align(FL_ALIGN_CLIP) box2b = Fl_Box(70,150,80,150,"2b") box2b.box(FL_DOWN_BOX) box2b.color(13) box2b.labelsize(36) box2b.align(FL_ALIGN_CLIP) box3a = Fl_Box(150,150,150,70,"3a") box3a.box(FL_DOWN_BOX) box3a.color(12) box3a.labelsize(36) box3a.align(FL_ALIGN_CLIP) box3b = Fl_Box(150,150+70,150,80,"3b") box3b.box(FL_DOWN_BOX) box3b.color(13) box3b.labelsize(36) box3b.align(FL_ALIGN_CLIP) r = Fl_Box(10,0,300-10,300-10) tile.resizable(r) tile.end() window.end() window.show(len(sys.argv), sys.argv) w1.show() Fl.run() pyFltk-1.3.0/fltk/test/table.py0000755000175100017510000001546511651413735015004 0ustar heldheld# # "$Id: table.py 471 2011-01-24 20:31:16Z andreasheld $" # # Fl_Table test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # Fl_Table copyright 2003 by G. Ercolano # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys def button_cb(w, data): print "BUTTON: %s"%w.label() class WidgetTable(Fl_Table_Row): def __init__(self, x, y, w, h, l=""): Fl_Table_Row.__init__(self, x, y, w, h, l) self.col_header(1) self.col_resize(1) self.col_header_height(25) self.row_header(1) self.row_resize(1) self.row_header_width(80) self.end() def draw_cell(self, context, R, C, X, Y, W, H): s="%d/%d"%(R,C) # text for each cell if context==self.CONTEXT_STARTPAGE: fl_font(FL_HELVETICA, 12) # font used by all headers return None elif context==self.CONTEXT_RC_RESIZE: index = 0 for r in range(self.rows()): for c in range(self.cols()): if index >= self.children(): break #(status, X, Y, W, H) = self.find_cell(self.CONTEXT_TABLE, r, c, X, Y, W, H) #(status, X, Y, W, H) = self.find_cell(self.CONTEXT_TABLE, r, c) self.child(index).resize(X,Y,W,H) index += 1 self.init_sizes() return None elif context==self.CONTEXT_ROW_HEADER: s1="Row %d"%R fl_push_clip(X,Y,W,H) fl_draw_box(FL_THIN_UP_BOX, X, Y, W, H, self.row_header_color()) fl_color(FL_BLACK) fl_draw(s1, X, Y, W, H, FL_ALIGN_CENTER) fl_pop_clip() return None elif context==self.CONTEXT_COL_HEADER: s1="Column %d"%C fl_push_clip(X, Y, W, H) fl_draw_box(FL_THIN_UP_BOX, X, Y, W, H, self.col_header_color()) fl_color(FL_BLACK) fl_draw(s1, X, Y, W, H, FL_ALIGN_CENTER) fl_pop_clip() return None elif context==self.CONTEXT_CELL: return None else: return None def SetSize(self, newrows, newcols): self.rows(newrows) self.cols(newcols) self.begin() self.s_list = [] for r in range(newrows): for c in range(newcols): X=0 Y=0 W=self.col_width(c) H=self.row_height(r) #c=0 #(status, X, Y, W, H)=self.find_cell(self.CONTEXT_TABLE, r, c, X, Y, W, H) if c&1: s="%d.%d"%(r,c) inp = Fl_Input(X,Y,W,H) inp.value(s) else: s1="%d/%d"%(r,c) butt = Fl_Light_Button(X,Y,W,H,s1) self.s_list.append(s1) butt.align(FL_ALIGN_CENTER|FL_ALIGN_INSIDE) butt.callback(button_cb, 0) if (r+2*c)&4: butt.value(1) else: butt.value(0) self.end() class DemoTable(Fl_Table_Row): def __init__(self, x, y, w, h, l=""): Fl_Table_Row.__init__(self, x, y, w, h, l) def draw_cell(self, context, R, C, X, Y, W, H): s="%d/%d"%(R,C) # text for each cell if context==self.CONTEXT_STARTPAGE: fl_font(FL_HELVETICA, 16) return None elif context==self.CONTEXT_ROW_HEADER or context==self.CONTEXT_COL_HEADER: fl_push_clip(X,Y,W,H) fl_draw_box(FL_THIN_UP_BOX, X, Y, W, H, self.color()) fl_color(FL_BLACK) fl_draw(s, X, Y, W, H, FL_ALIGN_CENTER) fl_pop_clip() return None elif context==self.CONTEXT_CELL: fl_push_clip(X,Y,W,H) # BG color if self.row_selected(R): fl_color(self.selection_color()) else: fl_color(FL_WHITE) fl_rectf(X, Y, W, H) # TEXT fl_color(FL_BLACK) fl_draw(s, X, Y, W, H, FL_ALIGN_CENTER) # BORDER fl_color(FL_LIGHT2); fl_rect(X, Y, W, H); fl_pop_clip() return None else: return None def table_cb(o, data): table = data print "%s callback: row=%d col=%d, context=%d, event=%d, clicks=%d"%(table.label(),table.callback_row(),table.callback_col(),table.callback_context(),Fl.event(), Fl.event_clicks()) if __name__=='__main__': #win1 = Fl_Window(940, 500, "widgettable") #table = WidgetTable(20, 20, win1.w()-40, win1.h()-40, "widgettable") #table.SetSize(20, 20) #win1.end() #win1.resizable(table) #win1.show() w = 900 h = 700 t1x = 20 t1y = 20 t1w = w - 40 t1h = ( (h-60) / 2 ) t2x = 20 t2y = t1y+t1h+20 t2w = w - 40 t2h = t1h win2 = Fl_Window(w, h, "testtablerow") table1 = DemoTable(t1x, t1y, t1w, t1h, "Table 1") table1.selection_color(FL_YELLOW) table1.when(FL_WHEN_RELEASE) # handle table events on release #table1.rows(1001) table1.rows(51) table1.cols(31) table1.col_header(1) # enable col header table1.col_resize(4) # enable col resizing table1.row_header(1) # enable row header table1.row_resize(4) # enable row resizing table1.callback(table_cb, table1) table1.when(FL_WHEN_CHANGED|FL_WHEN_RELEASE) table1.end() table2 = DemoTable(t2x, t2y, t2w, t2h, "Table 2") table2.selection_color(FL_YELLOW) table2.when(FL_WHEN_RELEASE) # handle table events on release #table2.rows(1001) table2.rows(51) table2.cols(31) table2.col_header(1) # enable col header table2.col_resize(4) # enable col resizing table2.row_header(1) # enable row header table2.row_resize(4) # enable row resizing table2.end() win2.end() win2.show() Fl.run() pyFltk-1.3.0/fltk/test/image_array.py0000755000175100017510000000622411651413735016166 0ustar heldheld# # "$Id: image_array.py 247 2006-08-22 05:54:01Z andreasheld $" # # Image test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * from math import * import sys from array import * width = 100 height = 100 image = array('B') def make_image(): #image = new uchar[4*width*height]; #uchar *p = image; p = image index = 0 y = 0 while y < height: dy = float(y)/(height-1) x = 0 while x < width: dx = float(x)/(width-1) #print 255*((1.0-dx)*(1.0-dy)) p.append(int(255*((1.0-dx)*(1.0-dy)))) index = index+1 p.append(int(255*((1.0-dx)*dy))) index = index+1 p.append(int(255*(dx*dy))) index = index+1 dx = dx-0.5 dy = dy-0.5 alpha = int(255*sqrt(dx*dx+dy*dy)) if alpha < 255: p.append(alpha) else: p.append(255) index = index+1 dy = dy+0.5 x = x+1 y = y+1 return None #globals leftb = None rightb = None topb = None bottomb = None insideb = None overb = None inactb = None b = None w = None def button_cb(ptr): i = 0 if leftb.value(): i = i + FL_ALIGN_LEFT if rightb.value(): i = i + FL_ALIGN_RIGHT if topb.value(): i = i + FL_ALIGN_TOP if bottomb.value(): i = i + FL_ALIGN_BOTTOM if insideb.value(): i = i + FL_ALIGN_INSIDE if overb.value(): i = i + FL_ALIGN_TEXT_OVER_IMAGE b.align(i) if inactb.value(): b.deactivate() else: b.activate() w.redraw() window = Fl_Window(400,400) w = window window.color(FL_WHITE) b = Fl_Button(140,160,120,120,"Image w/Alpha") rgb = None dergb = None make_image() rgb = Fl_RGB_Image(image, width, height,4) dergb = rgb.copy() dergb.inactive() b.image(rgb) b.deimage(dergb) leftb = Fl_Toggle_Button(25,50,50,25,"left") leftb.callback(button_cb) rightb = Fl_Toggle_Button(75,50,50,25,"right") rightb.callback(button_cb) topb = Fl_Toggle_Button(125,50,50,25,"top") topb.callback(button_cb) bottomb = Fl_Toggle_Button(175,50,50,25,"bottom"); bottomb.callback(button_cb) insideb = Fl_Toggle_Button(225,50,50,25,"inside") insideb.callback(button_cb) overb = Fl_Toggle_Button(25,75,100,25,"text over") overb.callback(button_cb) inactb = Fl_Toggle_Button(125,75,100,25,"inactive") inactb.callback(button_cb) window.resizable(window) window.end() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/handle_events.py0000755000175100017510000000626611651413735016533 0ustar heldheld# # "$Id: handle_events.py 177 2006-01-27 07:29:12Z andreasheld $" # # Event test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys highlight = 0 class EventHandler(Fl_Widget): def __init__(self, X, Y, W, H, L): Fl_Widget.__init__(self, X, Y, W, H, L) def handle(self, event): global highlight #print "Alt event: ", Fl.event_alt() if event == FL_PUSH: print "FL_PUSH" if Fl.event_clicks(): print "Double click" else: if Fl.event_button1(): print "Button1" elif Fl.event_button2(): print "Button2" elif Fl.event_button3(): print "Button3" highlight = 1 self.redraw() return 1 elif event == FL_DRAG: print "FL_DRAG" t = Fl.event_inside(self); if t != highlight: highlight = t self.redraw() return 1 elif event == FL_RELEASE: print "FL_RELEASE" print "Button = %d" % Fl.event_button() if highlight != 0: highlight = 0 self.redraw() self.do_callback() # never do anything after a callback, as the callback # may delete the widget! return 1 elif event == FL_SHORTCUT: print "FL_SHORTCUT" if Fl.event_key() == 'x': self.do_callback() return 1 return 0 elif event == FL_FOCUS: Fl.focus(self) self.redraw() return 1 elif event == FL_UNFOCUS: self.redraw() return 1 elif event == FL_KEYDOWN: print "Last key pressed = ", Fl.event_key() return 1 elif event == FL_MOVE: print "FL_MOVE" return 1 else: return 0 def draw(self): fl_color(FL_RED) fl_rectf(10,10,self.w(),self.h()) return None def resize(self, X, Y, W, H): print "Resizing: %d, %d, %d, %d\n"%(X,Y,W,H) #Fl_Widget.resize(self, X, Y, W, H) window = Fl_Window(300, 300) d = EventHandler(10,10,280,280,"test") window.resizable(d) window.end() window.show(len(sys.argv),sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/cursor.py0000755000175100017510000000710411651413735015221 0ustar heldheld# # "$Id: cursor.py 35 2003-09-29 21:39:48Z andreasheld $" # # Cursor test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys fg = FL_BLACK bg = FL_WHITE cursor = FL_CURSOR_DEFAULT #Fl_Hor_Value_Slider *cursor_slider; cursor_slider = '' def choice_cb(ptr, value): global cursor global fg global bg cursor = value cursor_slider.value(cursor) fl_cursor(cursor, fg, bg) def setcursor(slider): global cursor global fg global bg #slider = castWidget2Slider(ptr) cursor = int(slider.value()) fl_cursor(cursor, fg, bg) def setfg(slider): global cursor global fg global bg #slider = castWidget2Slider(ptr) fg = int(slider.value()) fl_cursor(cursor, fg, bg) def setbg(slider): global cursor global fg global bg #slider = castWidget2Slider(ptr) bg = int(slider.value()) fl_cursor(cursor, fg, bg) # draw the label without any ^C or \nnn conversions: class CharBox(Fl_Box): def __init__(self, X, Y, W, H, L): #Super(X,Y,W,H,L) Fl_Box.__init__(self, X,Y,W,H,L) def draw(): fl_font(FL_FREE_FONT,14) fl_draw(label(), x()+w()/2, y()+h()/2) window = Fl_Window(400,300) choice = Fl_Choice(80,100,200,25,"Cursor:") #choice.menu(choices) choice.copy( (( ("FL_CURSOR_DEFAULT",0,choice_cb,FL_CURSOR_DEFAULT), ("FL_CURSOR_ARROW",0,choice_cb,FL_CURSOR_ARROW), ("FL_CURSOR_CROSS",0,choice_cb,FL_CURSOR_CROSS), ("FL_CURSOR_WAIT",0,choice_cb,FL_CURSOR_WAIT), ("FL_CURSOR_INSERT",0,choice_cb,FL_CURSOR_INSERT), ("FL_CURSOR_HAND",0,choice_cb,FL_CURSOR_HAND), ("FL_CURSOR_HELP",0,choice_cb,FL_CURSOR_HELP), ("FL_CURSOR_MOVE",0,choice_cb,FL_CURSOR_MOVE), ("FL_CURSOR_NS",0,choice_cb,FL_CURSOR_NS), ("FL_CURSOR_WE",0,choice_cb,FL_CURSOR_WE), ("FL_CURSOR_NWSE",0,choice_cb,FL_CURSOR_NWSE), ("FL_CURSOR_NESW",0,choice_cb,FL_CURSOR_NESW), ("FL_CURSOR_NONE",0,choice_cb,FL_CURSOR_NONE), (None,) ) )) choice.callback(choice_cb) #choice.when(FL_WHEN_RELEASE|FL_WHEN_NOT_CHANGED) slider1 = Fl_Hor_Value_Slider(80,180,310,30,"Cursor:") cursor_slider = slider1 slider1.align(FL_ALIGN_LEFT) slider1.step(1) slider1.precision(0) slider1.bounds(0,100) slider1.value(0) slider1.callback(setcursor) slider1.value(cursor); slider2 = Fl_Hor_Value_Slider(80,220,310,30,"fgcolor:") slider2.align(FL_ALIGN_LEFT) slider2.step(1) slider2.precision(0) slider2.bounds(0,255) slider2.value(0) slider2.callback(setfg) slider2.value(fg) slider3 = Fl_Hor_Value_Slider(80,260,310,30,"bgcolor:") slider3.align(FL_ALIGN_LEFT) slider3.step(1) slider3.precision(0) slider3.bounds(0,255) slider3.value(0) slider3.callback(setbg) slider3.value(bg) window.resizable(window) window.end() window.show(len(sys.argv),sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/file_chooser.py0000644000175100017510000000736711651413735016355 0ustar heldheld# # "$Id: file_chooser.py 315 2007-05-01 08:10:15Z andreasheld $" # # File chooser test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys # globals fc = None filter = None files = None relative = "" def close_callback(ptr): sys.exit(0) def create_callback(ptr): global fc fc.type(fc.type() ^ Fl_File_Chooser.CREATE) def dir_callback(ptr): global fc fc.type(fc.type() ^ Fl_File_Chooser.DIRECTORY) def fc_callback(ptr): global fc #fc = Fl_File_Chooser(ptr) filename = fc.value() print " filename = ", filename def multi_callback(ptr): global fc fc.type(fc.type() ^ Fl_File_Chooser.MULTI) def pdf_check(name, header, headerlen): return None def ps_check(name, header, headerlen): return None def show_callback(ptr): global fc global filter global relative global files #fc.show() if filter.value() != None: #fc.filter(filter.value()) fc.filter("*.*") fc.show() while fc.visible(): Fl.wait() count = fc.count() #print "count = ", count #if count > 1: # files.clear() # i = 0 # if fc.value(i) != None: # (status, relative) = fl_filename_relative(relative, 1024, fc.value(i)) # files.add(relative, None) # files.redraw() if count > 0: files.clear() i = 1; while i <= count: if fc.value(i) != None: (status,relative) = fl_filename_relative(relative, 1024, fc.value(i)) files.add(relative, Fl_File_Icon.find(fc.value(i),Fl_File_Icon.PLAIN)) i = i+1 files.redraw() # Make the file chooser... #Fl.scheme(0) Fl_File_Icon.load_system_icons() filter_string="*.*" fc = Fl_File_Chooser(".", "*", Fl_File_Chooser.SINGLE, "Fl_File_Chooser Test"); #fc = Fl_File_Chooser("", filter_string, Fl_File_Chooser.SINGLE, "Fl_File_Chooser Test") fc.callback(fc_callback) fc.preview(0) # Register the PS and PDF image types... #Fl_Shared_Image.add_handler(pdf_check) #Fl_Shared_Image.add_handler(ps_check) #make the main window window = Fl_Window(400, 200, "File Chooser Test") filter = Fl_Input(50, 10, 310, 25, "Filter:") filter.value(filter_string) #filter.value("PDF Files (*.pdf)\t" # "PostScript Files (*.ps)\t" # "Image Files (*.{bmp,gif,jpg,png})\t" # "C/C++ Source Files (*.{c,C,cc,cpp,cxx})") b1 = Fl_Button(365, 10, 25, 25, "Test") b1.labelcolor(FL_YELLOW); b1.callback(show_callback); icon = Fl_File_Icon.find(".", Fl_File_Icon.DIRECTORY) #print "icon = ", icon if icon != None: icon.label(b1); b2 = Fl_Light_Button(50, 45, 80, 25, "MULTI") b2.callback(multi_callback) b3 = Fl_Light_Button(140, 45, 90, 25, "CREATE") b3.callback(create_callback); b4 = Fl_Light_Button(240, 45, 115, 25, "DIRECTORY") b4.callback(dir_callback); files = Fl_File_Browser(50, 80, 340, 75, "Files:") files.align(FL_ALIGN_LEFT); b5 = Fl_Button(340, 165, 50, 25, "Close") b5.callback(close_callback) window.resizable(files) window.end() window.show() Fl.run() pyFltk-1.3.0/fltk/test/subwindow.py0000755000175100017510000001071111651413735015723 0ustar heldheld# "$Id: subwindow.py 105 2005-06-24 14:38:43Z andreasheld $" # # Subwindows test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # Test to make sure nested windows work. # Events should be reported for enter/exit and all mouse operations # Buttons and pop-up menu should work, indicating that mouse positions # are being correctly translated. # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys, math class EnterExit(Fl_Box): def __init__(self, x, y, w, h, l): Fl_Box.__init__(self,FL_BORDER_BOX,x,y,w,h,l) print self # def draw(self): # #Fl_Box.draw(self) # pass def handle(self, e): print "event = ", e if e == FL_ENTER: try: print "FL_ENTER" self.color(FL_RED) self.redraw() except: print 'uncaught!', sys.exc_type, sys.exc_value return 1 elif e == FL_LEAVE: try: print "FL_LEAVE" self.color(FL_GRAY) self.redraw() except: print 'uncaught!', sys.exc_type, sys.exc_value return 1 else: return 0 class testwindow(Fl_Window): cx = 0 cy = 0 key = '0' def __init__(self, b, x, y, w, h, l): Fl_Window.__init__(self,x,y,w, h,l) self.box(b) key = 0 def draw(self): print self.label(), " :draw" Fl_Window.draw(self) if self.key: fl_draw(self.key, 1, self.cx, self.cy) def handle(self, e): if e != FL_MOVE: #print self.label(), " : ", self.eventnames[e] print self.label() if Fl_Window.handle(self, e): return 1; if e == FL_FOCUS: return 1 if e == FL_PUSH: Fl.focus(self.this) return 1 if e == FL_KEYDOWN and Fl.event_text()[0]: self.key = Fl.event_text()[0] self.cx = Fl.event_x() self.y = Fl.event_y() self.redraw() return 1 return 0 popup = None bigmess = "this|is|only|a test" window = testwindow(FL_UP_BOX,0,0,400,400,"outer") tn1 = Fl_Toggle_Button(310,310,80,80,"&outer") ee1 = EnterExit(10,310,80,80,"enterexit") fi1 = Fl_Input(150,310,150,25,"input:") mb1 = Fl_Menu_Button(5,150,80,25,"menu&1") #setMenu(mb1, ( ("this",), ("is",), ("only",), ("a test",), (None,))) mb1.menu(( ("this",), ("is",), ("only",), ("a test",), (None,))) #mb1.add(bigmess) subwindow = testwindow(FL_DOWN_BOX,100,100,200,200,"inner") #subwindow = Fl_Window(FL_DOWN_BOX,100,100,200,200,"inner") tn2 = Fl_Toggle_Button(310,310,80,80,"&outer") subwindow.add(tn2) ee2 = EnterExit(10,310,80,80,"enterexit") subwindow.add(ee2) fi2 = Fl_Input(150,310,150,25,"input:") subwindow.add(fi2) mb2 = Fl_Menu_Button(5,150,80,25,"menu&2") #mb2.add(bigmess) #setMenu(mb2, ( ("this",), ("is",), ("only",), ("a test",), (None,))) mb2.menu(( ("this",), ("is",), ("only",), ("a test",), (None,))) subwindow.end() subwindow.resizable(subwindow) window.resizable(subwindow) window.add(subwindow) fb = Fl_Box(FL_NO_BOX,0,0,400,100, "A child Fl_Window with children of it's own may " "be useful for imbedding controls into a GL or display " "that needs a different visual. There are bugs with the " "origins being different between drawing and events, " "which I hope I have solved." ) fb.align(FL_ALIGN_WRAP) popup = Fl_Menu_Button(0,0,400,400) popup.type(Fl_Menu_Button.POPUP3) #setMenu(popup, ( ("This",), ("is",), ("a popup",), ("menu",), ("this",), ("is",), ("only",), ("a test",), (None,))) popup.menu(( ("This",), ("is",), ("a popup",), ("menu",), ("this",), ("is",), ("only",), ("a test",), (None,))) #popup.add("This|is|a popup|menu") #popup.add(bigmess) window.add(fb) window.add(popup) window.end() #window.show(len(sys.argv), sys.argv) window.show() print "rec = ", sys.getrecursionlimit() #sys.setrecursionlimit(2000) #print "rec = ", sys.getrecursionlimit() Fl.run() pyFltk-1.3.0/fltk/test/testhelp.py0000644000175100017510000000262411651413735015533 0ustar heldheld# # "$Id: testhelp.py 28 2003-07-16 20:00:27Z andreasheld $" # # Help test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * # # 'main()' - Display the help GUI... # # int # O - Exit status # main(int argc, # I - Number of command-line arguments # char *argv[]) # I - Command-line arguments # { help = Fl_Help_Dialog() help.load("HelpDialog.html") help.show() Fl.run() # # End of "$Id: testhelp.py 28 2003-07-16 20:00:27Z andreasheld $". # pyFltk-1.3.0/fltk/test/counters.py0000644000175100017510000000463411651413735015550 0ustar heldheld# # "$Id: counters.py 35 2003-09-29 21:39:48Z andreasheld $" # # Counters test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * # global object names anAdjuster = None # type 'Fl_Adjuster' from '()' aCounter = None # type 'Fl_Counter' from '()' aSimpleCounter = None # type 'Fl_Simple_Counter' from '()' def adjusterChanged(dial): anAdjuster.value(dial.value()) # code aCounter.value(dial.value()) # code aSimpleCounter.value(dial.value()) # code def main(): global anAdjuster global aCounter global aSimpleCounter o_1_0 = Fl_Window(560, 330, 239, 225) o_1_0.pyChildren=[] anAdjuster = Fl_Adjuster(20, 15, 195, 25, "Adjuster") anAdjuster.pyChildren=[] anAdjuster.label('Adjuster') anAdjuster.callback(adjusterChanged) o_1_0.pyChildren.append(anAdjuster) aCounter = Fl_Counter(20, 155, 195, 25, "Counter") aCounter.precision(3) aCounter.pyChildren=[] aCounter.label('Counter') aCounter.callback(adjusterChanged) o_1_0.pyChildren.append(aCounter) aSimpleCounter = Fl_Simple_Counter(20, 85, 195, 25, "Simple Counter") aSimpleCounter.pyChildren=[] aSimpleCounter.label('Simple Counter') aSimpleCounter.callback(adjusterChanged) aSimpleCounter.selection_color(1) o_1_0.pyChildren.append(aSimpleCounter) o_1_0.color(215) o_1_0.end() return o_1_0 if __name__=='__main__': import sys window = main() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/color_chooser.py0000644000175100017510000000543711651413735016550 0ustar heldheld# Color chooser test program for the Python port of # the Fast Light Tool Kit (pyFLTK). # # FLTk is Copyright 1998-2003 by Bill Spitzak and others. # pyFLTK is Copyright 2003 by Andreas Held # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys width = 75 height = 75 image = [] def make_image(): global image for y in xrange(0, height, 1): Y = (1.0 *y)/(height-1) for x in xrange(0, width, 1): X = (1.0 * x)/(width-1) image.append(int((255*((1-X)*(1-Y))))) # red in upper-left image.append(int((255*((1-X)*Y)))) # // green in lower-left image.append(int((255*(X*Y)))) # // blue in lower-right class Pens(Fl_Box): def __init__(self, X, Y, W, H, L): Fl_Box.__init__(self, X,Y,W,H,L) def draw(self): #// use every color in the gray ramp: i = 0 while i < 3*8: fl_color(FL_GRAY_RAMP+i) fl_line(self.x()+i, self.y(), self.x()+i, self.y()+self.h()) i += 1 c = FL_GRAY fullcolor_cell = FL_FREE_COLOR def cb1(ptr, box): global c c = fl_show_colormap(c) box.color(c) parent = box.parent() parent.redraw() def cb2(ptr, box): global c r = 0 g = 0 b = 0 (r, g, b) = Fl.get_color(c) (status, r, g, b) = fl_color_chooser("New color:", r,g,b) if status == 0: return None c = fullcolor_cell Fl.set_color(fullcolor_cell, r, g, b) box.color(fullcolor_cell) parent = box.parent() parent.redraw() Fl.set_color(fullcolor_cell,145,159,170) window = Fl_Window(400,400) box = Fl_Box(50,50,300,300) box.box(FL_THIN_DOWN_BOX) c = fullcolor_cell box.color(c) b1 = Fl_Button(130,120,140,30,"fl_show_colormap") b1.callback(cb1, box) # b1.callback(cb1,&box) b2 = Fl_Button(130,160,140,30,"fl_choose_color") b2.callback(cb2,box) image_box = Fl_Box(140,200,120,120,"") make_image() #i = Fl_Image(image, width, height) i = Fl_RGB_Image(image, width, height) i.label(image_box) b = Fl_Box(140,335,120,0,"Example of fl_draw_image()") p = Pens(80,200,3*8,120,"lines") p.align(FL_ALIGN_TOP) p.redraw() window.end() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/logo.py0000644000175100017510000000356211651413735014645 0ustar heldheld# # "$Id: logo.py 276 2007-11-26 11:01:40Z andreasheld $" # # GIF_Image test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys from string import * def theCancelButtonCallback(ptr, data): print "type = ", type(ptr) print "theCancelButtonCallback(%s)"%str(data) print "Tooltip: ", ptr.tooltip() def createButton(x, y, w, h, label): b = Fl_Light_Button(x,y,w,h,label) b.selection_color(FL_GREEN) b.box(FL_NO_BOX) b.set() return b window = Fl_Window(0, 0, 414, 310) window.label("Python Wrappers for FLTK ") box = Fl_Button(0,0,414,176) img = Fl_GIF_Image("./logo1.gif") box.image(img) b = Fl_Button(window.w()-20-120, 190, 120, 25, "Start using it!") b1 = createButton(20, 190, 120, 25, "Fast!") b2 = createButton(20, 220, 120, 25, "Lightweight!") b3 = createButton(20, 250, 120, 25, "Cross-platform!") b4 = createButton(20, 280, 120, 25, "Easy to use!") window.end() window.show(sys.argv) Fl.scheme("plastic") Fl.run() pyFltk-1.3.0/fltk/test/browserData.py0000644000175100017510000000256511651413735016164 0ustar heldheldprint """ This is a quick hack to check setting and getting browser data """ from fltk import * # global object names aBrowser = None # type 'Browser' from '()' def onOK(ptr): import sys # code #checkBrowserCallback(aBrowser.this) # code sys.exit(0) # code def main(): global aBrowser o_1_0 = Fl_Window(394, 309, 245, 133, "check_browser.py") o_1_0.pyChildren=[] o_1_0.thisown = 0 aBrowser = Fl_Browser(5, 5, 240, 75) aBrowser.pyChildren=[] aBrowser.thisown = 0 aBrowser.end() o_1_0.pyChildren.append(aBrowser) o_2_1 = Fl_Return_Button(160, 90, 70, 30, "OK") o_2_1.pyChildren=[] o_2_1.thisown = 0 o_2_1.label('OK') o_2_1.callback(onOK) o_1_0.pyChildren.append(o_2_1) o_1_0.label('check_browser.py') o_1_0.end() aBrowser.add("Guiness", "line 1" ) # code aBrowser.add("Bud", "line 2") # code aBrowser.add("Coors", "line 3") aBrowser.add("rocky mountain", "line 4") # code aBrowser.add("Grimbergen", "line 5") # code aBrowser.add("Burning River", "line 6") # code aBrowser.add("Little Kings", "line 7") # code return o_1_0 if __name__=='__main__': import sys window = main() window.show(len(sys.argv), sys.argv) print aBrowser d="data for 1" print "data(1,"+d+")" aBrowser.data(1, d) aBrowser.data(2, 123) print "data(1):", aBrowser.get_data(1) print "data(2):", aBrowser.get_data(2) print "data(3):", aBrowser.get_data(3) Fl.run() pyFltk-1.3.0/fltk/test/preferences.py0000644000175100017510000001506311651413735016205 0ustar heldheld# # "$Id: preferences.py 427 2008-09-15 20:11:28Z andreasheld $" # # Preferences test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # import sys, time from fltk import * myWindow = None wAmPm = None def closeWindowCB(widget): global myWindow myWindow.hide() sys.exit(0) def saveAndCloseCB(widget): global myWindow writePrefs() myWindow.hide() sys.exit(0) def readPrefs(): global wAmPm app = Fl_Preferences(Fl_Preferences.USER, "fltk.org", "test/preferences") #app = Fl_Preferences("C:/", "fltk.org", "test/preferences") #path = "" (status, path) = app.getUserdataPath(128) print "Path = ", path bed = Fl_Preferences(app, "Bed") buffer = "" (status, buffer) = bed.get("alarm", "8:00", 79) wAlarm.value(buffer) (status, intValue) = bed.get("ampm", 0) wAmPm.value(intValue) (status, intValue) = bed.get("wear", 1) wWear.value(intValue) (status, side) = bed.get("side", 2) if side == 1: wLeft.value(1) elif side == 2: wRight.value(1) (status, tasks) = bed.get("taskFlags", 0x05) if tasks & 0x01: wShower.value( 1 ) if tasks & 0x02: wShave.value( 1 ) if tasks & 0x04: wBrush.value( 1 ) eat = Fl_Preferences(app, "Breakfast") (status, intValue) = eat.get("drink", 1) wDrink.value(intValue) (status, boolValue) = eat.get("wMilk", 0 ) wMilk.value(boolValue) (status, intValue) = eat.get("bread", 0 ) wBread.value(intValue) (status, boolValue) = eat.get("wButter", 1 ) wButter.value(boolValue) (status, intValue) = eat.get( "nEggs", 2 ) buffer = str(intValue) wEggs.value(buffer) (status, doubleValue) = eat.get( "minutes", 3.2 ) wMinutes.value(doubleValue) flexBuffer = "" (status, flexBuffer) = eat.get( "newspaper", "NY Tymes", 80) wPaper.value(flexBuffer); # destruct children first eat = None bed = None #app = None def writePrefs(): app = Fl_Preferences(Fl_Preferences.USER, "fltk.org", "test/preferences") #app = Fl_Preferences("C:/", "fltk.org", "test/preferences") bed = Fl_Preferences(app, "Bed" ) bed.set( "alarm", wAlarm.value() ) bed.set( "ampm", wAmPm.value() ) bed.set( "wear", wWear.value() ) side = 0 if wLeft.value() != 0: side = 1 if wRight.value() != 0: side = 2 bed.set("side", side) tasks = 0; if wShower.value() != 0: tasks |= 0x01 if wShave.value() != 0: tasks |= 0x02 if wBrush.value() != 0: tasks |= 0x04 bed.set("taskFlags", tasks) eat = Fl_Preferences(app, "Breakfast") eat.set("drink", wDrink.value() ) eat.set("wMilk", wMilk.value() ) eat.set("bread", wBread.value() ) eat.set("wButter", wButter.value() ) eat.set("nEggs", wEggs.value() ) eat.set("minutes", wMinutes.value() ) eat.set("newspaper", wPaper.value() ) # destruct children first bed = None eat = None # app.flush() menu_wAmPm = (("a.m.", 0, 0, 0, 0, 0, 0, 14, 56), ("p.m.", 0, 0, 0, 0, 0, 0, 14, 56), (None,)) menu_wWear = (("shoes", 0, 0, 0, 0, 0, 0, 14, 56), ("sandals", 0, 0, 0, 0, 0, 0, 14, 56), ("flip flops", 0, 0, 0, 0, 0, 0, 14, 56), ("bare foot", 0, 0, 0, 0, 0, 0, 14, 56), (None, )) menu_wDrink = (("coffee", 0, 0, 0, 0, 0, 0, 14, 56), ("tea", 0, 0, 0, 0, 0, 0, 14, 56), ("juice", 0, 0, 0, 0, 0, 0, 14, 56), (None, )) menu_wBread = (("wheat", 0, 0, 0, 0, 0, 0, 14, 56), ("white", 0, 0, 0, 0, 0, 0, 14, 56), ("rye", 0, 0, 0, 0, 0, 0, 14, 56), ("sour doh", 0, 0, 0, 0, 0, 0, 14, 56), (None, )) myWindow = Fl_Double_Window(298, 311, "My Preferences") #myWindow = Fl_Window(298, 311, "My Preferences") myWindow.callback(closeWindowCB) b1 = Fl_Button(210, 275, 75, 25, "Cancel") b1.callback(closeWindowCB) b2 = Fl_Button(125, 275, 75, 25, "OK") b2.callback(saveAndCloseCB) grp1 = Fl_Group(20, 30, 115, 225, "get Up:") grp1.box(FL_ENGRAVED_BOX) grp1.align(FL_ALIGN_TOP_LEFT) wAlarm = Fl_Input(25, 55, 45, 20, "Alarm at:") wAlarm.align(FL_ALIGN_TOP_LEFT) wAmPm = Fl_Choice(75, 55, 55, 20) wAmPm.down_box(FL_BORDER_BOX) wAmPm.menu(menu_wAmPm) wWear = Fl_Choice(25, 100, 105, 20, "Wear:") wWear.down_box(FL_BORDER_BOX) wWear.align(FL_ALIGN_TOP_LEFT) wWear.menu(menu_wWear) wLeft = Fl_Round_Button(35, 120, 95, 25, "left side") wLeft.down_box(FL_ROUND_DOWN_BOX) wRight = Fl_Round_Button(35, 140, 95, 25, "right side") wRight.down_box(FL_ROUND_DOWN_BOX) b3 = Fl_Box(38, 160, 95, 20, "of the bed") wShower = Fl_Check_Button(25, 180, 105, 25, "shower") wShower.down_box(FL_DOWN_BOX) wShave = Fl_Check_Button(25, 200, 105, 25, "shave") wShave.down_box(FL_DOWN_BOX); wBrush = Fl_Check_Button(25, 220, 105, 25, "brush teeth") wBrush.down_box(FL_DOWN_BOX); grp1.end() grp2 = Fl_Group(160, 30, 115, 225, "Breakfast::") grp2.box(FL_ENGRAVED_FRAME) grp2.align(FL_ALIGN_TOP_LEFT) wDrink = Fl_Choice(165, 50, 105, 20, "Drink:") wDrink.down_box(FL_BORDER_BOX) wDrink.align(FL_ALIGN_TOP_LEFT) wDrink.menu(menu_wDrink) wMilk = Fl_Check_Button(170, 70, 100, 25, "with milk") wMilk.down_box(FL_DOWN_BOX) wBread = Fl_Choice(165, 110, 105, 20, "Bread:") wBread.down_box(FL_BORDER_BOX) wBread.align(FL_ALIGN_TOP_LEFT) wBread.menu(menu_wBread) wButter = Fl_Check_Button(170, 130, 100, 25, "with butter") wButter.down_box(FL_DOWN_BOX) wEggs = Fl_Input(165, 163, 30, 20, "eggs") wEggs.type(2) wEggs.align(FL_ALIGN_RIGHT) wMinutes = Fl_Value_Slider(175, 185, 70, 20, "min.") wMinutes.type(1) wMinutes.minimum(2) wMinutes.maximum(6) wMinutes.value(3.1) wMinutes.align(FL_ALIGN_RIGHT) wPaper = Fl_Input(165, 225, 105, 20, "Newspaper:") wPaper.align(FL_ALIGN_TOP_LEFT) grp2.end(); myWindow.end() readPrefs() myWindow.show(sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/arc.py0000755000175100017510000000576311651413735014462 0ustar heldheld# # "$Id: arc.py 111 2005-08-22 14:14:49Z andreasheld $" # # Arc drawing program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # Illustrates the use of the Fl_Widget base class. # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # # Arc drawing test program for the Fast Light Tool Kit (FLTK). from fltk import * import sys args = [140, 140, 50, 0, 360, 0] name = ["X", "Y", "R", "start", "end", "rotate"] d = None class Drawing(Fl_Widget): def __init__(self, X, Y, W, H, L): Fl_Widget.__init__(self, X, Y, W, H, L) def draw(self): global args try: xpos = self.x() ypos = self.y() w = self.w() h = self.h() fl_push_clip(xpos,ypos,w,h) fl_color(FL_DARK3) fl_rectf(xpos,ypos,w,h) fl_push_matrix() if args[5]: fl_translate(xpos+w/2.0, ypos+h/2.0) fl_rotate(args[5]) fl_translate(-(xpos+w/2.0), -(ypos+h/2.0)) fl_color(FL_WHITE) fl_translate(xpos,ypos) fl_begin_complex_polygon() fl_arc(args[0],args[1],args[2],args[3],args[4]) fl_gap() fl_arc(140,140,20,0,-360) fl_end_complex_polygon() fl_color(FL_RED) fl_begin_line() fl_arc(args[0],args[1],args[2],args[3],args[4]) fl_end_line() fl_pop_matrix() fl_pop_clip() except: print 'uncaught!', sys.exc_type, sys.exc_value return None def slider_cb(ptr, v): global d args[long(v)] = ptr.value() d.redraw() window = Fl_Window(300,500) d = Drawing(10,10,280,280, "test") y = 300 n = 0 s = [None,None,None,None,None,None] while n < 6: s[n] = Fl_Hor_Value_Slider(50,y,240,25,name[n]) y = y+25 if n<3: s[n].minimum(0) s[n].maximum(300) else: if n==5: s[n].minimum(0) s[n].maximum(360) else: s[n].minimum(-360) s[n].maximum(360) s[n].step(1) s[n].value(args[n]) s[n].align(FL_ALIGN_LEFT) s[n].callback(slider_cb, n) n = n+1 window.end() #window.show(len(sys.argv),sys.argv) #window.show() window.show(sys.argv) d.redraw() Fl.run() pyFltk-1.3.0/fltk/test/editor.py0000644000175100017510000003576611651413735015206 0ustar heldheld#!/usr/bin/env python # $Id: editor.py 198 2006-02-16 07:22:28Z andreasheld $ # Author: Anderas Held # Purpose: test text editor # Created: Thu Jan 22 14:06:24 EST 2004 # # # Text Editor test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003-2006 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import string, os.path, sys from keyword import iskeyword changed = False filename = "" title = "" textbuf = None editor = None window = None # Syntax highlighting stuff... stylebuf = None styletable = [ # Style table [ FL_BLACK, FL_COURIER, 14 ], # A - Plain [ FL_DARK_GREEN, FL_COURIER_ITALIC, 14 ], # B - Line comments [ FL_DARK_GREEN, FL_COURIER_ITALIC, 14 ], # C - Block comments [ FL_BLUE, FL_COURIER, 14 ], # D - Strings [ FL_DARK_RED, FL_COURIER, 14 ], # E - Directives [ FL_DARK_RED, FL_COURIER_BOLD, 14 ], # F - Types [ FL_BLUE, FL_COURIER_BOLD, 14 ] # G - Keywords ] # 'compare_keywords()' - Compare two keywords... def compare_keywords(a, b): return String.compare(a,b) # # 'style_parse()' - Parse text and produce style data. # def style_parse(text, style, length): # Style letters: # # A - Plain # B - Line comments # C - Block comments # D - Strings # E - Directives # F - Types # G - Keywords col = 0 new_style = "" isComment = False isString = False pos = 0 last = False while pos < length: current = style[pos] if isComment: current = 'B' if text[pos] == '\n': isComment = False elif isString: current = 'D' if text[pos] == '"' or text[pos] == "'": isString = False elif current in ['B', 'F', 'G']: current = 'A' if current == 'A': # Check for directives, comments, strings, and keywords... if text[pos] == '#': current = 'B' isComment = True elif text[pos] == '"' or text[pos] == "'": current = 'D' isString = True elif not last and text[pos].islower() or text[pos] == '_': pos1 = pos while pos1 < length: if text[pos1].islower() or text[pos1] == '_': pos1 += 1 else: break kw = text[pos:pos1] if iskeyword(kw): new_style = new_style+'F'*(pos1-pos) current = 'F' if pos1 >= length: pos1 -= 1 pos = pos1 last = True last = text[pos].isalnum() or text[pos] == '_' or text[pos] == '.' if text[pos] == '\n': col = 0 if current == 'B' or current == 'E': current = 'A' new_style = new_style+current pos += 1 #print "new style: ", new_style return new_style def style_init(): global stylebuf style = "A"*(textbuf.length()) text = textbuf.text() if stylebuf == None: stylebuf = Fl_Text_Buffer(textbuf.length()) style = style_parse(text, style, textbuf.length()) stylebuf.text(style) def style_unfinished_cb(arg1, arg2): #print "style_unfinished_cb" pass # # 'style_update()' - Update the style buffer... # def style_update(pos, nInserted, nDeleted, nRestyled, deletedText, e): global stylebuf, editor if nInserted == 0 and nDeleted == 0: stylebuf.unselect() else: if nInserted > 0: style = 'A'*nInserted stylebuf.replace(pos, pos+nDeleted, style) else: # Just delete characters in the style buffer... stylebuf.remove(pos, pos+nDeleted) # Select the area that was just updated to avoid unnecessary # callbacks... stylebuf.select(pos, pos + nInserted - nDeleted) # Re-parse the changed region; we do this by parsing from the # beginning of the previous line of the changed region to the end of # the line of the changed region... Then we check the last # style character and keep updating if we have a multi-line # comment character... start = textbuf.line_start(pos) end = textbuf.line_end(pos + nInserted) text = textbuf.text_range(start, end) style = stylebuf.text_range(start, end) if start==end: last = 0 else: last = style[end - start - 1] style = style_parse(text, style, end - start) stylebuf.replace(start, end, style) editor.editor.redisplay_range(start, end) if start == end or last != style[end - start - 1]: # Either the user deleted some text, or the last character # on the line changed styles, so reparse the # remainder of the buffer... end = textbuf.length() text = textbuf.text_range(start, end) style = stylebuf.text_range(start, end) style_parse(text, style, end - start) stylebuf.replace(start, end, style) editor.editor.redisplay_range(start, end) class EditorWindow(Fl_Double_Window): search = "" def __init__(self, w, h, label): Fl_Double_Window.__init__(self, w, h, label) self.replace_dlg = Fl_Window(300, 105, "Replace") self.replace_find = Fl_Input(80, 10, 210, 25, "Find:") self.replace_find.align(FL_ALIGN_LEFT) self.replace_with = Fl_Input(80, 40, 210, 25, "Replace:") self.replace_with.align(FL_ALIGN_LEFT) self.replace_all = Fl_Button(10, 70, 90, 25, "Replace All") self.replace_all.callback(replall_cb, self) self.replace_next = Fl_Return_Button(105, 70, 120, 25, "Replace Next") self.replace_next.callback(replace2_cb, self) self.replace_cancel = Fl_Button(230, 70, 60, 25, "Cancel") self.replace_cancel.callback(replcan_cb, self) self.replace_dlg.end() self.replace_dlg.set_non_modal() self.editor = 0 def check_save(): global changed if not changed: return r = fl_choice("The current file has not been saved.\n" "Would you like to save it now?", "Cancel", "Save", "Don't Save") if r == 1: save_cb(None) return not changed if r == 2: return 1 else: return 0 loading = False def load_file(newfile, ipos): global changed, loading, filename loading = True if ipos != -1: insert = 1 changed = True else: insert = 0 changed = False if insert == 0: filename = "" r = textbuf.loadfile(newfile) else: r = textbuf.insertfile(newfile, ipos) if r != 0: fl_alert("Error reading from file %s."%newfile) else: if insert == 0: filename = newfile loading = False textbuf.call_modify_callbacks() def save_file(newfile): global changed, filename if textbuf.savefile(newfile) != 0: fl_alert("Error writing to file %s."%newfile) else: filename = newfile changed = False textbuf.call_modify_callbacks() def copy_cb(widget, editor): Fl_Text_Editor.kf_copy(0, editor.editor) def cut_cb(widget, editor): Fl_Text_Editor.kf_cut(0, editor.editor) def delete_cb(widget): global textbuf textbuf.remove_selection() def find_cb(widget, editor): val = fl_input("Search String:", editor.search) if val != None: # User entered a string - go find it! editor.search = val find2_cb(widget) def find2_cb(widget): if editor.search[0] == 0: # Search string is blank; get a new one... find_cb(widget, editor) return pos = editor.editor.insert_position(); (found, pos) = textbuf.search_forward(pos, editor.search); if found!= 0: # Found a match; select and update the position... textbuf.select(pos, pos+len(editor.search)) editor.editor.insert_position(pos+len(editor.search)) editor.editor.show_insert_position() else: fl_alert("No occurrences of %s found!"%editor.search) def set_title(win): global filename, title if len(filename) == 0: title = "Untitled" else: title = os.path.basename(filename) if changed: title = title+" (modified)" win.label(title) def changed_cb(i1, nInserted, nDeleted, i2, c1, editor): global changed, loading if (nInserted != 0 or nDeleted != 0) and loading == False: changed = True set_title(editor); if loading: editor.editor.show_insert_position() def new_cb(widget): global filename, changed if check_save() == 0: return filename = "" textbuf.select(0, textbuf.length()) textbuf.remove_selection() changed = False textbuf.call_modify_callbacks() def open_cb(widget): global filename if check_save() == 0: return newfile = fl_file_chooser("Open File?", "*", filename) if newfile != None: load_file(newfile, -1) def insert_cb(widget, editor): global filename newfile = fl_file_chooser("Open File?", "*", filename) if newfile != None: load_file(newfile, editor.editor.insert_position()) def paste_cb(widget, editor): Fl_Text_Editor.kf_paste(0, editor.editor) num_windows = 0 def close_cb(window, data): global num_windows if num_windows == 1 and check_save() == 0: return window.hide() textbuf.remove_modify_callback(changed_cb, window, window) num_windows -= 1; if num_windows == 0: sys.exit(0) def quit_cb(widget, data): global changed if changed and check_save() == 0: return sys.exit(0) def replace_cb(widget, editor): editor.replace_dlg.show() def replace2_cb(widget, editor): find = editor.replace_find.value() replace = editor.replace_with.value() if len(find) == 0: editor.replace_dlg.show() return editor.replace_dlg.hide() pos = editor.editor.insert_position() (found, pos) = textbuf.search_forward(pos, find) if found != 0: # Found a match; update the position and replace text... textbuf.select(pos, pos+len(find)) textbuf.remove_selection() textbuf.insert(pos, replace) textbuf.select(pos, pos+len(replace)) editor.editor.insert_position(pos+len(replace)) editor.editor.show_insert_position() else: fl_alert("No occurrences of %s found!"%find) def replall_cb(widget, editor): find = editor.replace_find.value() replace = editor.replace_with.value() if len(find) == 0: editor.replace_dlg.show() return editor.replace_dlg.hide() editor.editor.insert_position(0) times = 0 found = 1 while found != 0: pos = editor.editor.insert_position() (found, pos) = textbuf.search_forward(pos, find) if found != 0: # Found a match; update the position and replace text... textbuf.select(pos, pos+len(find)) textbuf.remove_selection() textbuf.insert(pos, replace) editor.editor.insert_position(pos+len(replace)) editor.editor.show_insert_position() times += 1 if times > 0: fl_message("Replaced %d occurrences."%times) else: fl_alert("No occurrences of %s found!"%find) def replcan_cb(widget, editor): editor.replace_dlg.hide() def save_cb(widget): global filename if len(filename) == 0: # No filename - get one! saveas_cb(widget, 0) return else: save_file(filename) def saveas_cb(widget, data): global filename newfile = fl_file_chooser("Save File As?", "*", filename) if newfile != None: save_file(newfile) def view_cb(widget, data): win = new_view() win.show() def new_view(): global num_windows, editor, stylebuf, styletable w = EditorWindow(660, 400, title) editor = w w.begin() m = Fl_Menu_Bar(0, 0, 660, 30); menuitems = (( "&File", 0, 0, 0, FL_SUBMENU ), ( "&New File", 0, new_cb ), ( "&Open File...", FL_CTRL + ord('o'), open_cb ), ( "&Insert File...", FL_CTRL + ord('i'), insert_cb, editor, FL_MENU_DIVIDER ), ( "&Save File", FL_CTRL + ord('s'), save_cb ), ( "Save File &As...", FL_CTRL + FL_SHIFT + ord('s'), saveas_cb, 0, FL_MENU_DIVIDER ), ( "New &View", FL_ALT + ord('v'),view_cb, 0 ), ( "&Close View", FL_CTRL + ord('w'), close_cb, window, FL_MENU_DIVIDER ), ( "E&xit", FL_CTRL + ord('q'), quit_cb, 0 ), ( None, 0 ), ( "&Edit", 0, 0, 0, FL_SUBMENU ), ( "Cu&t", FL_CTRL + ord('x'), cut_cb, editor ), ( "&Copy", FL_CTRL + ord('c'), copy_cb, editor ), ( "&Paste", FL_CTRL + ord('v'), paste_cb, editor ), ( "&Delete", 0, delete_cb ), ( None, 0 ), ( "&Search", 0, 0, 0, FL_SUBMENU ), ( "&Find...", FL_CTRL + ord('f'), find_cb, editor ), ( "F&ind Again", FL_CTRL + ord('g'), find2_cb ), ( "&Replace...", FL_CTRL + ord('r'), replace_cb, editor ), ( "Re&place Again", FL_CTRL + ord('t'), replace2_cb, editor ), ( None, 0 ), ( None, 0 ) ) m.copy(menuitems) w.editor = Fl_Text_Editor(0, 30, 660, 370) w.editor.buffer(textbuf) w.editor.highlight_data(stylebuf, styletable, len(styletable), # 'A', None, None) 'A', style_unfinished_cb, w.editor) w.editor.textfont(FL_COURIER) w.end() w.resizable(w.editor) w.callback(close_cb, w) textbuf.add_modify_callback(style_update, w.editor) textbuf.add_modify_callback(changed_cb, w) textbuf.call_modify_callbacks() num_windows += 1 return w # main textbuf = Fl_Text_Buffer() style_init() window = new_view() window.show(1, sys.argv) if len(sys.argv) > 1: load_file(sys.argv[1], -1) Fl.run() pyFltk-1.3.0/fltk/test/widgets.py0000755000175100017510000000354011651413735015352 0ustar heldheld# # "$Id: widgets.py 28 2003-07-16 20:00:27Z andreasheld $" # # Widgets test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * window = None def theExitCallback(ptr): import sys sys.exit(0) data = [ "@c Hello there.", "This is a demo of some of the widgets pyFLTK can do", "@s Unfortunately, that's about all it does...", "@b Because now the darn font attributes work differently" ] window = Fl_Window(100, 100, 400, 200, "widgets.py") browser = Fl_Browser(10, 10, 380, 100) for line in data: browser.add(line) browser.data(3, "Fortunately") #print browser.get_data(3) slider = Fl_Hor_Value_Slider(10, 120, 180, 15) button = Fl_Button(200, 120, 190, 15, "Exit") button.callback(theExitCallback) output = Fl_Output(10, 150, 380, 20) output.value("Label's don't work either. Need to typemap some more.") window.end() #window.resizable(window.this) window.show() Fl.run() pyFltk-1.3.0/fltk/test/delwin.py0000644000175100017510000000363311651413735015166 0ustar heldheld# # "$Id: delwin.py 40 2003-11-03 21:00:38Z andreasheld $" # # Delete window test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * # global object names def main(): _xxyzzy = o1_0 = Fl_Window(506, 641, 100, 100) o1_0.pyChildren=[] o2_0 = Fl_Button(25, 25, 25, 25, "button") o2_0.pyChildren=[] o2_0.callback(onB1) o1_0.pyChildren.append(o2_0) o1_0.end() return _xxyzzy w = None def onB1(ptr): global w if w == None: _xxyzzy = o1_0 = Fl_Window(196, 85, 100, 100, "222 open") o1_0.pyChildren=[] o2_0 = Fl_Button(25, 25, 25, 25, "ok") o2_0.pyChildren=[] o2_0.callback(onWin2DelButton) o1_0.pyChildren.append(o2_0) o1_0.end() o1_0.show() w = _xxyzzy return _xxyzzy else: return None def onWin2DelButton(ptr): global w if w != None: w.thisown = 1 w = None def t(): import sys window = main() window.show(len(sys.argv), sys.argv) for i in range(0, 100, 1): onB1(1) onWin2DelButton(1) onB1(1) Fl.run() if __name__=='__main__': t() pyFltk-1.3.0/fltk/test/menu.py0000644000175100017510000000347711651413735014656 0ustar heldheld# # "$Id: menu.py 200 2006-02-16 07:25:07Z andreasheld $" # # Menu test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * # global object names def onFileQuit(ptr, data): #menuItem = Fl_Menu_ItemPtr(ptr) menuItem = ptr print 'onFileQuit(%s, "%s")'%(str(menuItem), str(data)) import sys # code sys.exit(0) # code def main(): o_1_0 = Fl_Window(810, 23, 100, 100) o_1_0.pyChildren=[] o_2_0 = Fl_Menu_Bar(0, 0, 105, 25) o_2_0.pyChildren=[] userData = "User callback data" print o_2_0 #setMenu( o_2_0, ( o_2_0.menu(( ("&File", 0, 0, 0, 64), ("&Quit", 0, onFileQuit, userData, 0), (None, ), (None, ) )) o_1_0.pyChildren.append(o_2_0) o_1_0.end() return o_1_0 if __name__=='__main__': import sys window = main() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/browser_cols.py0000755000175100017510000000473311651413735016414 0ustar heldheld# # "$Id: browser_cols.py 139 2005-11-08 10:21:15Z andreasheld $" # # Browser columns test program for pyFLTK, the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # print """ This is a quick hack to check setting and getting browser data """ from fltk import * # global object names aBrowser = None # type 'Browser' from '()' def onOK(ptr): import sys # code #checkBrowserCallback(aBrowser.this) # code sys.exit(0) # code def main(): global aBrowser win = Fl_Window(394, 309, 245, 133, "check_browser.py") win.pyChildren=[] aBrowser = Fl_Browser(5, 5, 240, 75) aBrowser.pyChildren=[] aBrowser.end() aBrowser.column_widths((150,150)) #aBrowser.format_char("@-") win.pyChildren.append(aBrowser) btn = Fl_Return_Button(160, 90, 70, 30, "OK") btn.pyChildren=[] btn.label('OK') btn.callback(onOK) win.pyChildren.append(btn) win.label('check_browser.py') win.end() aBrowser.add("Guiness\tline 1", "line 1" ) # code aBrowser.add("Bud\tline 2", "line 2") # code aBrowser.add("Coors\tline 3", "line 3") aBrowser.add("rocky mountain\tline 4", "line 4") # code aBrowser.add("Grimbergen\tline 5", "line 5") # code aBrowser.add("Burning River\tline 6", "line 6") # code aBrowser.add("Little Kings\tline 7", "line 7") # code return win if __name__=='__main__': import sys window = main() window.show(len(sys.argv), sys.argv) #print aBrowser d="data for 1" print "data(1,"+d+")" print aBrowser aBrowser.data(1, d) aBrowser.data(2, 123) print "data(1):", aBrowser.data(1) print "data(2):", aBrowser.data(2) print "data(3):", aBrowser.data(3) Fl.run() pyFltk-1.3.0/fltk/test/buttons.py0000755000175100017510000000300711651413735015400 0ustar heldheld# # "$Id: buttons.py 28 2003-07-16 20:00:27Z andreasheld $" # # Buttons test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys window = Fl_Window(320,130) b1 = Fl_Button(10, 10, 130, 30, "Fl_Button") b1.tooltip("This is a Tooltip.") b2 = Fl_Return_Button(150, 10, 160, 30, "Fl_Return_Button") b3 = Fl_Repeat_Button(10,50,130,30,"Fl_Repeat_Button") b4 = Fl_Light_Button(10,90,130,30,"Fl_Light_Button") b5 = Fl_Round_Button(150,50,160,30,"Fl_Round_Button") b6 = Fl_Check_Button(150,90,160,30,"Fl_Check_Button") window.end() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/hello.py0000644000175100017510000000306211651413735015003 0ustar heldheld# # "$Id: hello.py 276 2006-11-13 11:01:40Z andreasheld $" # # Callback test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys from string import * def theCancelButtonCallback(ptr, data): print "type = ", type(ptr) print "theCancelButtonCallback(%s)"%str(data) print "Tooltip: ", ptr.tooltip() window = Fl_Window(100, 100, 200, 90) window.label(sys.argv[0]) button = Fl_Button(9,20,180,50) button.label("Hello World") button.labeltype(FL_EMBOSSED_LABEL) button.callback(theCancelButtonCallback, "'some callback data'") button.tooltip("Press to see the callback!") window.end() window.show(sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/multi.py0000644000175100017510000000314111651413735015030 0ustar heldheld# # "$Id: multi.py 28 2003-07-16 20:00:27Z andreasheld $" # # Multiline input test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * def btn_cb(ptr): import sys sys.exit(0) window = Fl_Window(100, 100, 200, 220, "Inputs") input = Fl_Multiline_Input(10, 10, 180, 90) button = Fl_Button(80, 110, 40, 20, "Exit") button.callback(btn_cb) input.value("Here is a\nMultiline input.\nBelow are the Secret\nInt, and Float\ninput widgets.") input2 = Fl_Secret_Input(10, 140, 180, 20) input2.value("secret") input3 = Fl_Int_Input(10, 165, 180, 20) input3.value("12345") input4 = Fl_Float_Input(10, 190, 180, 20) input4.value("12.44") window.end() window.show() Fl.run() pyFltk-1.3.0/fltk/test/ask.py0000644000175100017510000000374311651413735014464 0ustar heldheld# Standard dialog test program for the Python port of # the Fast Light Tool Kit (pyFLTK). # # Demonstrates how to use readqueue to see if a button has been # pushed, and to see if a window has been closed, thus avoiding # the need to define callbacks. # # This also demonstrates how to trap attempts by the user to # close the last window by overriding Fl::exit # # FLTk is Copyright 1998-2003 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys buffer = None def rename_me(o): global buffer buffer = o.label() input = fl_input("Input:", buffer) if input != None: buffer = input o.label(buffer) o.redraw() def window_callback(ptr): #status = fl_ask("Are you sure you want to quit?") status = fl_choice("Are you sure you want to quit?", "No", "Yes", None) if status == 1: return sys.exit(0) # main function buffer = "test text" window = Fl_Window(200, 55) #b = Fl_Return_Button(20, 10, 160, 35, buffer) b = Fl_Return_Button(20, 10, 160, 35, "test text") b.callback(rename_me) window.add(b) window.resizable(b) window.callback(window_callback) window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/DragAndDrop.py0000644000175100017510000000520411651413735016025 0ustar heldheld# # "$Id: DragAndDrop.py 165 2006-01-18 08:53:24Z andreasheld $" # # Drag and drop test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * class DNDWidget(Fl_Widget): text_string = "" def __init__(self, x, y, w, h, label): Fl_Widget.__init__(self, x, y, w, h, label) def draw(self): fl_rect(self.x(), self.y(), self.w(), self.h(), FL_RED) def handle(self, event): if event == FL_DND_ENTER: print "FL_DND_ENTER ", self.text_string return 1 elif event == FL_DND_LEAVE: print "FL_DND_LEAVE ", self.text_string return 1 elif event == FL_DND_DRAG: print "FL_DND_DRAG %c (%d, %d)"%(self.text_string, Fl.event_x(), Fl.event_y()) return 1 elif event == FL_DND_RELEASE: print "FL_DND_RELEASE %c (%d, %d)"%(self.text_string, Fl.event_x(), Fl.event_y()) return 1 elif event == FL_PUSH: print "PREPUSH ", self.text_string Fl.copy("text", 5, 0) Fl.dnd() print "POSTPUSH ", self.text_string return 1 elif event == FL_PASTE: cl = Fl.event_text() ln = Fl.event_length() print "PASTE ", self.text_string print " text = %s, length = %d"%(cl, ln) return 1 else: return 0 def text(self, t): self.text_string = t return if __name__=='__main__': window = Fl_Window(50, 50, 200, 200) w1 = DNDWidget(5, 5, 90, 90, "DND") w1.text("A") w2 = DNDWidget(105, 105, 90, 90, "DND") w2.text("B") window.end() window.show() Fl.run() pyFltk-1.3.0/fltk/test/menubar.py0000644000175100017510000001611711651413735015336 0ustar heldheld# # "$Id: menubar.py 282 2006-11-13 14:59:59Z andreasheld $" # # Menubar test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys hugemenu = [] def window_cb(win): print "window callback called!" win.hide() def test_cb(menu): m = menu.mvalue() if (not m): print "menu.mvalue()=NULL" else: if (m.shortcut()): print "%s - %s" % ( m.label(), fl_shortcut_label(m.shortcut()) ) else: print m.label() def quit_cb(ptr, data): sys.exit(0) # hack alert: # nm - create Fl_Menu_Item from initializer list def nm(list): m = Fl_Menu_Item() try: if not list[0]: m.text = Null else: m.text = list[0] m.shortcut_ = list[1] m.callback_ = list[2] m.user_data = list[3] m.flags = list[4] except: pass return m pulldown = [] pulldown.append(nm(("Red", FL_ALT+ord('r')))) pulldown.append(nm(("Green", FL_ALT+ord('g')))) pulldown.append(nm(("Blue", FL_ALT+ord('b')))) pulldown.append(nm(("Strange", FL_ALT+ord('s')))) pulldown.append(nm(("&Charm", FL_ALT+ord('c')))) pulldown.append(nm(("Truth", FL_ALT+ord('t')))) pulldown.append(nm(("Beauty", FL_ALT+ord('b')))) pulldown.append(nm((0,))) WIDTH=600 menus = [0,0,0,0] # turn MicroSoft style on/off def button_cb(btn): if (btn.value() == 0): for i in range(4): print i menus[i].down_box(FL_FLAT_BOX) menus[i].selection_color(137) menus[i].textfont(FL_HELVETICA) else: for i in range(4): menus[i].down_box(FL_NO_BOX) menus[i].selection_color(FL_WHITE) menus[i].textfont(FL_BOLD|FL_ITALIC) menus[0].parent().redraw() for i in xrange(0, 99, 1): hugemenu.append( nm("item %d"%i) ) window = Fl_Window(0,0, WIDTH, 400) menubar = Fl_Menu_Bar(0,0,WIDTH,30) pulldown= ( ("Red", FL_ALT+ord('r')), ("Green", FL_ALT+ord('g')), ("Blue", FL_ALT+ord('b')), ("Strange",FL_ALT+ord('s')), ("&Charm", FL_ALT+ord('c')), ("Truth", FL_ALT+ord('t')), ("Beauty", FL_ALT+ord('b')), (None,)) menutable = ( ("foo",0,0,0,FL_MENU_INACTIVE), ("&File",0,0,0,FL_SUBMENU), ("&Open", FL_ALT+ord('o'), 0, 0, FL_MENU_INACTIVE), ("&Close", 0, 0), ("&Quit", FL_ALT+ord('q'), quit_cb, 0, FL_MENU_DIVIDER), ("shortcut",ord('a')), ("shortcut",FL_SHIFT+ord('a')), ("shortcut",FL_CTRL+ord('a')), ("shortcut",FL_CTRL+FL_SHIFT+ord('a')), ("shortcut",FL_ALT+ord('a')), ("shortcut",FL_ALT+FL_SHIFT+ord('a')), ("shortcut",FL_ALT+FL_CTRL+ord('a')), ("shortcut",FL_ALT+FL_SHIFT+FL_CTRL+ord('a'), 0,0, FL_MENU_DIVIDER), ("shortcut",ord('\r')), ("shortcut",FL_CTRL+FL_Enter, 0,0, FL_MENU_DIVIDER), ("shortcut",FL_F+1), ("shortcut",FL_SHIFT+FL_F+1), ("shortcut",FL_CTRL+FL_F+1), ("shortcut",FL_SHIFT+FL_CTRL+FL_F+1), ("shortcut",FL_ALT+FL_F+1), ("shortcut",FL_ALT+FL_SHIFT+FL_F+1), ("shortcut",FL_ALT+FL_CTRL+FL_F+1), ("shortcut",FL_ALT+FL_SHIFT+FL_CTRL+FL_F+1, 0,0, FL_MENU_DIVIDER), ("&Submenus", FL_ALT+ord('S'), 0, "Submenu1", FL_SUBMENU), ("A very long menu item", 0), ("&submenu",FL_CTRL+ord('S'), 0, "submenu2", FL_SUBMENU), ("item 1", 0), ("item 2", 0), ("item 3", 0), ("item 4", 0), (None, 0), ("after submenu", 0), (None, 0), (None, 0), ("&Edit",0,0,0,FL_SUBMENU), ("Undo", FL_ALT+ord('z'), 0), ("Redo", FL_ALT+ord('r'), 0, 0, FL_MENU_DIVIDER), ("Cut", FL_ALT+ord('x'), 0), ("Copy", FL_ALT+ord('c'), 0), ("Paste", FL_ALT+ord('v'), 0), ("Inactive",FL_ALT+ord('d'), 0, 0, FL_MENU_INACTIVE), ("Clear", 0, 0, 0, FL_MENU_DIVIDER), ("Invisible",FL_ALT+ord('e'), 0, 0, FL_MENU_INVISIBLE), ("Preferences",0, 0), ("Size", 0, 0), (None, 0), ("&Checkbox",0,0,0,FL_SUBMENU), ("&Alpha", FL_F+2, 0, 1, FL_MENU_TOGGLE), ("&Beta", 0, 0, 2, FL_MENU_TOGGLE), ("&Gamma", 0, 0, 3, FL_MENU_TOGGLE), ("&Delta", 0, 0, 4, FL_MENU_TOGGLE|FL_MENU_VALUE), ("&Epsilon",0, 0, 5, FL_MENU_TOGGLE), ("&Pi", 0, 0, 6, FL_MENU_TOGGLE), ("&Mu", 0, 0, 7, FL_MENU_TOGGLE|FL_MENU_DIVIDER), ("Red", 0, 0, 1, FL_MENU_TOGGLE, 0, 0, 0, 1), ("Black", 0, 0, 1, FL_MENU_TOGGLE|FL_MENU_DIVIDER), ("00", 0, 0, 1, FL_MENU_TOGGLE), ("000", 0, 0, 1, FL_MENU_TOGGLE), (None, 0), ("&Radio",0,0,0,FL_SUBMENU), ("&Alpha", 0, 0, 1, FL_MENU_RADIO), ("&Beta", 0, 0, 2, FL_MENU_RADIO), ("&Gamma", 0, 0, 3, FL_MENU_RADIO), ("&Delta", 0, 0, 4, FL_MENU_RADIO|FL_MENU_VALUE), ("&Epsilon",0, 0, 5, FL_MENU_RADIO), ("&Pi", 0, 0, 6, FL_MENU_RADIO), ("&Mu", 0, 0, 7, FL_MENU_RADIO|FL_MENU_DIVIDER), ("Red", 0, 0, 1, FL_MENU_RADIO), ("Black", 0, 0, 1, FL_MENU_RADIO|FL_MENU_DIVIDER), ("00", 0, 0, 1, FL_MENU_RADIO), ("000", 0, 0, 1, FL_MENU_RADIO), (None, 0), ("&Font",0,0,0,FL_SUBMENU), ("Normal", 0, 0, 0, 0, 0, 0, 14), ("Bold", 0, 0, 0, 0, 0, FL_BOLD, 14), ("Italic", 0, 0, 0, 0, 0, FL_ITALIC, 14), ("BoldItalic",0,0,0, 0, 0, FL_BOLD+FL_ITALIC, 14), ("Small", 0, 0, 0, 0, 0, FL_BOLD+FL_ITALIC, 10), ("Emboss", 0, 0, 0, 0, FL_EMBOSSED_LABEL), ("Engrave", 0, 0, 0, 0, FL_ENGRAVED_LABEL), ("Shadow", 0, 0, 0, 0, FL_SHADOW_LABEL), ("@->", 0, 0, 0, 0, FL_SYMBOL_LABEL), (None, 0), ("E&mpty",0,0,0,FL_SUBMENU), (None, 0), ("&Inactive", 0, 0, 0, FL_MENU_INACTIVE|FL_SUBMENU), ("A very long menu item", 0), ("A very long menu item", 0), (None, 0), ("Invisible",0, 0, 0, FL_MENU_INVISIBLE|FL_SUBMENU), ("A very long menu item", 0), ("A very long menu item", 0), (None, 0), # ("&Huge", 0, 0, hugemenu, FL_SUBMENU_POINTER), ("button",0, 0, 0, FL_MENU_TOGGLE), (None,) ) menubar.copy(menutable) menubar.callback(test_cb) menus[0] = menubar mb1 = Fl_Menu_Button (50,100,120,25,"&menubutton") mb1.text = "&menubutton" mb1.copy(pulldown) mb1.callback(test_cb) menus[1] = mb1 ch = Fl_Choice (250,100,80,25,"&choice:") ch.copy(pulldown) ch.callback(test_cb) menus[2] = ch ic = Fl_Input_Choice(400,100,80,25,"input") ic.add("item1") ic.add("item2") ic.add("item3") mb = Fl_Menu_Button (0,0,WIDTH,400,"&popup") mb.type(Fl_Menu_Button.POPUP3) mb.copy(menutable) mb.callback(test_cb) menus[3] = mb sp = Fl_Spinner(100, 200, 80, 25, "spinner") sp.format("%.1f") sp.maximum(113) sp.minimum(101) sp.step(0.5) sp.value(101.5) print "Min/Max = ", sp.minimum(), sp.maximum() b = Fl_Box(200,200,200,100,"Press right button\nfor a pop-up menu") t = Fl_Toggle_Button(250,50,150,25,"MicroSoft Style") t.callback(button_cb) window.resizable(mb) window.size_range(300,400,0,400) window.end() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/boxtype.py0000644000175100017510000000715211651413735015376 0ustar heldheld# # "$Id: boxtype.py 426 2008-09-15 20:08:56Z andreasheld $" # # Boxtype test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * Nt = 0 W = 200 H = 50 ROWS = 14 window = None buttons = [] def bt(name, type, square=0): global Nt x = Nt % 4 y = Nt / 4 Nt = Nt + 1 x = x*W+10 y = y*H+10 if (square): temp = H - 20 else: temp = W-20 b = Fl_Box(x,y,temp,H-20,name) b.box(type) b.labelsize(11) if (square): b.align(FL_ALIGN_RIGHT) buttons.append(b) window = Fl_Single_Window(0,0,4*W,ROWS*H) #window = Fl_Window(5*W, ROWS*H) window.box(FL_FLAT_BOX) window.color(12) #light blue bt("FL_NO_BOX",FL_NO_BOX) bt("FL_FLAT_BOX",FL_FLAT_BOX) Nt = Nt + 2 # go to start of next row to line up boxes & frames bt("FL_UP_BOX",FL_UP_BOX) bt("FL_DOWN_BOX",FL_DOWN_BOX) bt("FL_UP_FRAME",FL_UP_FRAME) bt("FL_DOWN_FRAME",FL_DOWN_FRAME) bt("FL_THIN_UP_BOX",FL_THIN_UP_BOX) bt("FL_THIN_DOWN_BOX",FL_THIN_DOWN_BOX) bt("FL_THIN_UP_FRAME",FL_THIN_UP_FRAME) bt("FL_THIN_DOWN_FRAME",FL_THIN_DOWN_FRAME) bt("FL_ENGRAVED_BOX",FL_ENGRAVED_BOX) bt("FL_EMBOSSED_BOX",FL_EMBOSSED_BOX) bt("FL_ENGRAVED_FRAME",FL_ENGRAVED_FRAME) bt("FL_EMBOSSED_FRAME",FL_EMBOSSED_FRAME) bt("FL_BORDER_BOX",FL_BORDER_BOX) bt("FL_SHADOW_BOX",FL_SHADOW_BOX) bt("FL_BORDER_FRAME",FL_BORDER_FRAME) bt("FL_SHADOW_FRAME",FL_SHADOW_FRAME) bt("FL_ROUNDED_BOX",FL_ROUNDED_BOX) bt("FL_RSHADOW_BOX",FL_RSHADOW_BOX) bt("FL_ROUNDED_FRAME",FL_ROUNDED_FRAME) bt("FL_RFLAT_BOX",FL_RFLAT_BOX) bt("FL_OVAL_BOX",FL_OVAL_BOX) bt("FL_OSHADOW_BOX",FL_OSHADOW_BOX) bt("FL_OVAL_FRAME",FL_OVAL_FRAME) bt("FL_OFLAT_BOX",FL_OFLAT_BOX) bt("FL_ROUND_UP_BOX",FL_ROUND_UP_BOX) bt("FL_ROUND_DOWN_BOX",FL_ROUND_DOWN_BOX) bt("FL_DIAMOND_UP_BOX",FL_DIAMOND_UP_BOX) bt("FL_DIAMOND_DOWN_BOX",FL_DIAMOND_DOWN_BOX) bt("FL_PLASTIC_UP_BOX",FL_PLASTIC_UP_BOX) bt("FL_PLASTIC_DOWN_BOX",FL_PLASTIC_DOWN_BOX) bt("FL_PLASTIC_UP_FRAME",FL_PLASTIC_UP_FRAME) bt("FL_PLASTIC_DOWN_FRAME",FL_PLASTIC_DOWN_FRAME) bt("FL_PLASTIC_THIN_UP_BOX",FL_PLASTIC_THIN_UP_BOX) bt("FL_PLASTIC_THIN_DOWN_BOX",FL_PLASTIC_THIN_DOWN_BOX) Nt = Nt+2 bt("FL_PLASTIC_ROUND_UP_BOX",FL_PLASTIC_ROUND_UP_BOX) bt("FL_PLASTIC_ROUND_DOWN_BOX",FL_PLASTIC_ROUND_DOWN_BOX) Nt = Nt+2 bt("FL_GTK_UP_BOX",FL_GTK_UP_BOX) bt("FL_GTK_DOWN_BOX",FL_GTK_DOWN_BOX) bt("FL_GTK_UP_FRAME",FL_GTK_UP_FRAME) bt("FL_GTK_DOWN_FRAME",FL_GTK_DOWN_FRAME) bt("FL_GTK_THIN_UP_BOX",FL_GTK_THIN_UP_BOX) bt("FL_GTK_THIN_DOWN_BOX",FL_GTK_THIN_DOWN_BOX) bt("FL_GTK_THIN_UP_FRAME",FL_GTK_THIN_UP_FRAME) bt("FL_GTK_THIN_DOWN_FRAME",FL_GTK_THIN_DOWN_FRAME) bt("FL_GTK_ROUND_UP_BOX",FL_GTK_ROUND_UP_BOX) bt("FL_GTK_ROUND_DOWN_BOX",FL_GTK_ROUND_DOWN_BOX) window.end() window.resizable(window) window.show() Fl.run() pyFltk-1.3.0/fltk/test/listSelect.py0000644000175100017510000000456211651413735016021 0ustar heldheld# ListSelect test program for the Python port of # the Fast Light Tool Kit (pyFLTK). # # Demonstrates the use of the contributed ListSelect widget. # # FLTk is Copyright 1998-2003 by Bill Spitzak and others. # pyFLTK is Copyright 2003 by Andreas Held # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # # "$Id: listSelect.py 28 2003-07-16 20:00:27Z andreasheld $" # # ListSelect test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys window = Fl_Window(100, 100, 420, 300) ls = ListSelect( 0, 0, 420, 300, " From:", " To:"); for t in xrange(0, 30, 1): ls.getTopBrowser().add("Item #%d"%t) window.resizable(window.this) window.end() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/simple_table.py0000644000175100017510000000545111651413735016344 0ustar heldheld# # "$Id: simple_table.py 107 2005-08-17 10:25:30Z andreasheld $" # # Simple Fl_Table test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # Fl_Table copyright 2003 by G. Ercolano # pyFLTK copyright 2003-2006 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import random class WidgetTable(Fl_Table_Row): data = [] def __init__(self, x, y, w, h, l): Fl_Table_Row.__init__(self, x, y, w, h, l) self.end() def draw_cell(self, context, R, C, X, Y, W, H): if context==self.CONTEXT_STARTPAGE: fl_font(FL_HELVETICA, 12) # font used by all headers return None elif context==self.CONTEXT_CELL: s = "%d"%self.data[R][C] fl_push_clip(X,Y,W,H) fl_draw_box(FL_THIN_UP_BOX, X, Y, W, H, self.row_header_color()) fl_color(FL_BLACK) fl_draw(s, X, Y, W, H, FL_ALIGN_CENTER) fl_pop_clip() return None else: return None def SetSize(self, newrows, newcols): self.rows(newrows) self.cols(newcols) for r in range(newrows): l = [] for c in range(newcols): l.append(random.randint(0, 1000)) self.data.append(l) self.redraw() self.end() def getValue(self, row, col): return self.data[row][col] def setValue(self, row, col, value): self.data[row][col] = value self.redraw() if __name__=='__main__': win1 = Fl_Window(842, 292, "widgettable") table = WidgetTable(20, 20, win1.w()-40, win1.h()-40, "widgettable") table.SetSize(10, 10) win1.end() win1.show() print "Some values: " print " 0:0:", table.getValue(0,0) print " 5:5:", table.getValue(5,5) table.setValue(5,5,13) print " 5:5:", table.getValue(5,5) Fl.run() pyFltk-1.3.0/fltk/test/doublebuffer.py0000644000175100017510000000710211651413735016343 0ustar heldheld# Double-buffering test program for the Python port of # the Fast Light Tool Kit (pyFLTK). # # This demo shows how double buffering helps, by drawing the # window in a particularily bad way. # # The single-buffered window will blink as it updates. The # double buffered one will not. It will take just as long # (or longer) to update, but often it will appear to be faster. # # This demo should work for both the GL and X versions of Fl, # even though the double buffering mechanism is totally different. # # # FLTk is Copyright 1998-2003 by Bill Spitzak and others. # pyFLTK is Copyright 2003 by Andreas Held # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys import math w01 = None w1 = None slider0 = None # this purposely draws each line 10 times to be slow: def star(w, h, n): fl_push_matrix() fl_translate(w/2, h/2) fl_scale(w/2, h/2) for i in range(n): val_i = 2*math.pi*i/n+.1 j = i+1 while j < n: val_j = 2*math.pi*j/n+.1 fl_begin_line(); fl_vertex(math.cos(val_i), math.sin(val_i)) fl_vertex(math.cos(val_j), math.sin(val_j)) fl_end_line() j = j+1 fl_pop_matrix() sides = [20,20] def slider_cb(slider, v): sides[v] = int(slider.value()) # redraw figure only slider.parent().child(0).redraw() def bad_draw(w,h,which): fl_color(FL_BLACK) fl_rectf(0,0,w,h) fl_color(FL_WHITE) star(w,h,sides[which]); class single_blink_window(Fl_Single_Window): def __init__(self, x, y, w, h, l): Fl_Single_Window.__init__(self, x, y, w, h, l) self.resizable(self) def draw(self): bad_draw(self.w(), self.h(), 0) # def handle(self, event): # print "event = ", event # return 0 class double_blink_window(Fl_Double_Window): def __init__(self, x, y, w, h, l): Fl_Double_Window.__init__(self, x, y, w, h, l) self.resizable(self) def draw(self): bad_draw(self.w(), self.h(), 1) if __name__ == '__main__': if Fl.visual(FL_DOUBLE) == 0: print("Xdbe not supported, faking double buffer with pixmaps.") w01 = Fl_Window(420,465,"Fl_Single_Window") w01.box(FL_FLAT_BOX) w01.thiswon = 0 w1 = single_blink_window(10,10,400,400,"Fl_Single_Window") w1.box(FL_FLAT_BOX) w1.color(FL_BLACK) w1.end() slider0 = Fl_Hor_Slider(30,420,360,25) slider0.range(2,30) slider0.step(1) slider0.value(sides[0]) slider0.callback(slider_cb, 0) w01.end() w02 = Fl_Window(420,465,"Fl_Double_Window") w02.box(FL_FLAT_BOX) w2 = double_blink_window(10,10,400,400,"Fl_Double_Window") w2.box(FL_FLAT_BOX) w2.color(FL_BLACK) w2.end() slider1 = Fl_Hor_Slider(30,420,360,25) slider1.range(2,30) slider1.step(1) slider1.value(sides[0]) slider1.callback(slider_cb, 1) w02.end() w01.show(len(sys.argv), sys.argv) w02.show() # w1.redraw() Fl.run() pyFltk-1.3.0/fltk/test/adjuster.py0000755000175100017510000000324611651413735015530 0ustar heldheld# # "$Id: adjuster.py 35 2003-09-29 21:39:48Z andreasheld $" # # Adjuster test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys import time label = "" def adjcb(ptr, widget): global label # need to keep this global to avoid garbage collection label = widget.label() ret,label = ptr.format(label) widget.label(label) widget.redraw() return None window = Fl_Window(320,100) buf1 = '0.0000' b1 = Fl_Box(FL_DOWN_BOX,20,30,80,25,buf1) b1.color(FL_WHITE) a1 = Fl_Adjuster(20+80,30,3*25,25) a1.callback(adjcb,b1) buf2 = '0.0000' b2 = Fl_Box(FL_DOWN_BOX,20+80+4*25,30,80,25,buf2) b2.color(FL_WHITE) a2 = Fl_Adjuster(b2.x()+b2.w(),10,25,3*25) a2.callback(adjcb,b2) window.resizable(window) window.end() window.show() Fl.run() pyFltk-1.3.0/fltk/test/testWrapper.py0000644000175100017510000000360511651413735016223 0ustar heldheld# # "$Id: testWrapper.py 35 2003-09-29 21:39:48Z andreasheld $" # # Dial test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys def theCancelButtonCallback(ptr): sys.exit(0) def theDialChangedCallback(dial): value = dial.value() theTextOutputBox.value(str(value)) if (value>65): theTextOutputBox.textcolor(1) else: theTextOutputBox.textcolor(0) mainWindow = Fl_Window(100, 100, 268, 159, sys.argv[0]) mainWindow.box(FL_EMBOSSED_BOX) mainWindow.color(215) theDial = Fl_Roller(35, 60, 195, 25) theDial.type(1) theDial.maximum(100.0) theDial.step(0.5) theDial.callback(theDialChangedCallback) theTextOutputBox = Fl_Output(85, 20, 85, 25) theTextOutputBox.box(FL_ENGRAVED_BOX) theCancelButton = Fl_Button(70, 110, 125, 35, "Cancel") theCancelButton.color(214) theCancelButton.selection_color(133) theCancelButton.callback(theCancelButtonCallback) mainWindow.end() mainWindow.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/demos.py0000644000175100017510000000424311651413735015011 0ustar heldheld# # "$Id: demos.py 456 2009-09-25 13:35:05Z andreasheld $" # # Test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * # global object names demoList = [] # type 'Fl_Browser' from '()' import os, glob def onOK(ptr): import sys sys.exit(0) def runDemo(ptr): os.system("python "+demoList.text(demoList.value())) def fillList(): files = glob.glob("*.py") files.sort() for file in files: if not file in ['fltk.py', 'fltk_pre.py', 'demos.py', 'browserData.py']: demoList.add(file) def main(): global demoList o_1_0 = Fl_Window(451, 190, 192, 231) o_1_0.pyChildren=[] demoList = Fl_Select_Browser(5, 5, 180, 150, "Click to run a demo") demoList.pyChildren=[] demoList.label('Click to run a demo') demoList.callback(runDemo) fillList() # extra code demoList.end() o_1_0.pyChildren.append(demoList) o_2_1 = Fl_Return_Button(115, 185, 50, 25, "OK") o_2_1.pyChildren=[] o_2_1.label('OK') o_2_1.callback(onOK) o_1_0.pyChildren.append(o_2_1) o_1_0.end() return o_1_0 if __name__=='__main__': import sys window = main() #window.show(len(sys.argv), sys.argv) #window.show() window.show(sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/timeout.py0000644000175100017510000000364511651413735015375 0ustar heldheld# # "$Id: timeout.py 245 2006-08-09 09:50:09Z andreasheld $" # # Timeout test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys numTimeoutsCalled = 1 def timeoutCallback(data): global numTimeoutsCalled print "timeoutCallback(%s)"%str(data) Fl.repeat_timeout( 2.0, timeoutCallback, numTimeoutsCalled) numTimeoutsCalled = numTimeoutsCalled + 1 if numTimeoutsCalled == 5: print "Removing timeoutCallbackNoData" Fl.remove_timeout(timeoutCallbackNoData) def timeoutCallbackNoData(): global numTimeoutsCalled print "timeoutCallbackNoData" Fl.repeat_timeout( 3.0, timeoutCallbackNoData) def theCancelButtonCallback(ptr): sys.exit(0) window = Fl_Window(100, 100, 200, 90, sys.argv[0]) button = Fl_Button(9,20,180,50,"OK") button.labeltype(FL_NORMAL_LABEL) button.callback(theCancelButtonCallback) window.end() window.show(len(sys.argv), sys.argv) Fl.add_timeout( 2.0, timeoutCallback, "'this is the time-out data'") Fl.add_timeout( 3.0, timeoutCallbackNoData) Fl.run() pyFltk-1.3.0/fltk/test/valuators.py0000644000175100017510000002361311651413735015724 0ustar heldheld# # "$Id: valuators.py 35 2003-09-29 21:39:48Z andreasheld $" # # Valuators test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * # global object names def theCallback(ptr): print ptr.value() def main(): o_1_0 = Fl_Window(465, 113, 567, 506, "Valuator classes, showing values for type()") o_1_0.pyChildren=[] o_2_0 = Fl_Box(10, 10, 280, 210, "Fl_Slider") o_2_0.pyChildren=[] o_2_0.label('Fl_Slider') o_2_0.align(17) o_2_0.labelfont(1) o_2_0.box(FL_ENGRAVED_BOX) o_1_0.pyChildren.append(o_2_0) o_2_1 = Fl_Slider(30, 45, 20, 145, "") o_2_1.pyChildren=[] o_2_1.label('') o_2_1.labelsize(8) o_2_1.callback(theCallback) o_2_1.align(1) o_2_1.selection_color(1) o_1_0.pyChildren.append(o_2_1) o_2_2 = Fl_Fill_Slider(70, 55, 20, 145, "FL_VERT_FILL_SLIDER") o_2_2.pyChildren=[] o_2_2.label('FL_VERT_FILL_SLIDER') o_2_2.labelsize(8) o_2_2.callback(theCallback) o_2_2.selection_color(1) o_1_0.pyChildren.append(o_2_2) o_2_3 = Fl_Nice_Slider(105, 45, 20, 145, "FL_VERT_NICE_SLIDER") o_2_3.pyChildren=[] o_2_3.label('FL_VERT_NICE_SLIDER') o_2_3.labelsize(8) o_2_3.color(10) o_2_3.callback(theCallback) o_2_3.align(1) o_2_3.selection_color(1) o_2_3.box(FL_FLAT_BOX) o_1_0.pyChildren.append(o_2_3) o_2_4 = Fl_Box(10, 230, 280, 205, "Fl_Value_Slider") o_2_4.pyChildren=[] o_2_4.label('Fl_Value_Slider') o_2_4.align(17) o_2_4.labelfont(1) o_2_4.box(FL_ENGRAVED_BOX) o_1_0.pyChildren.append(o_2_4) o_2_5 = Fl_Value_Slider(30, 260, 30, 145) o_2_5.pyChildren=[] o_2_5.callback(theCallback) o_2_5.align(1) o_2_5.labelsize(8) o_2_5.selection_color(1) o_1_0.pyChildren.append(o_2_5) o_2_6 = Fl_Value_Slider(70, 275, 30, 140, "FL_VERT_FILL_SLIDER") o_2_6.type(2) o_2_6.pyChildren=[] o_2_6.label('FL_VERT_FILL_SLIDER') o_2_6.labelsize(8) o_2_6.callback(theCallback) o_2_6.selection_color(1) o_1_0.pyChildren.append(o_2_6) o_2_7 = Fl_Value_Slider(110, 260, 20, 145, "FL_VERT_NICE_SLIDER") o_2_7.type(4) o_2_7.pyChildren=[] o_2_7.label('FL_VERT_NICE_SLIDER') o_2_7.labelsize(8) o_2_7.color(10) o_2_7.callback(theCallback) o_2_7.align(1) o_2_7.selection_color(1) o_2_7.box(FL_FLAT_BOX) o_1_0.pyChildren.append(o_2_7) o_2_8 = Fl_Hor_Slider(140, 80, 130, 20, "FL_HORIZONTAL") o_2_8.pyChildren=[] o_2_8.label('FL_HORIZONTAL') o_2_8.labelsize(8) o_2_8.callback(theCallback) o_2_8.selection_color(1) o_1_0.pyChildren.append(o_2_8) o_2_9 = Fl_Hor_Fill_Slider(140, 120, 130, 20, "FL_HOR_FILL_SLIDER") o_2_9.pyChildren=[] o_2_9.label('FL_HOR_FILL_SLIDER') o_2_9.labelsize(8) o_2_9.callback(theCallback) o_2_9.selection_color(1) o_1_0.pyChildren.append(o_2_9) o_2_10 = Fl_Hor_Nice_Slider(140, 160, 130, 20, "FL_HOR_NICE_SLIDER") o_2_10.pyChildren=[] o_2_10.label('FL_HOR_NICE_SLIDER') o_2_10.color(10) o_2_10.labelsize(8) o_2_10.callback(theCallback) o_2_10.selection_color(1) o_2_10.box(FL_FLAT_BOX) o_1_0.pyChildren.append(o_2_10) o_2_11 = Fl_Hor_Value_Slider(140, 290, 130, 20, "FL_HOR_SLIDER") o_2_11.pyChildren=[] o_2_11.label('FL_HOR_SLIDER') o_2_11.labelsize(8) o_2_11.callback(theCallback) o_2_11.selection_color(1) o_1_0.pyChildren.append(o_2_11) o_2_12 = Fl_Value_Slider(140, 330, 130, 20, "FL_HOR_FILL_SLIDER") o_2_12.type(3) o_2_12.pyChildren=[] o_2_12.label('FL_HOR_FILL_SLIDER') o_2_12.labelsize(8) o_2_12.callback(theCallback) o_2_12.selection_color(1) o_1_0.pyChildren.append(o_2_12) o_2_13 = Fl_Box(430, 10, 125, 120, "Fl_Adjuster") o_2_13.pyChildren=[] o_2_13.label('Fl_Adjuster') o_2_13.align(17) o_2_13.labelfont(1) o_2_13.box(FL_ENGRAVED_BOX) o_1_0.pyChildren.append(o_2_13) o_2_14 = Fl_Value_Slider(140, 370, 130, 20, "FL_HOR_NICE_SLIDER") o_2_14.type(5) o_2_14.pyChildren=[] o_2_14.label('FL_HOR_NICE_SLIDER') o_2_14.color(10) o_2_14.labelsize(8) o_2_14.callback(theCallback) o_2_14.selection_color(1) o_2_14.box(FL_FLAT_BOX) o_1_0.pyChildren.append(o_2_14) o_2_15 = Fl_Adjuster(440, 60, 75, 25, "w()>h()") o_2_15.pyChildren=[] o_2_15.label('w()>h()') o_2_15.callback(theCallback) o_2_15.labelsize(8) o_1_0.pyChildren.append(o_2_15) o_2_16 = Fl_Adjuster(520, 35, 25, 75, "w() HelpDialog Widget for FLTK

HelpDialog Widget for FLTK

Version 1.0 - October 12, 1999 - Michael Sweet

Introduction

The HelpDialog widget displays HTML files and allows the user to click on links to do navigation.

Source Code

The source code is provided under the terms of the GNU Library General Public License and is used to provide on-line help for the ESP Print Pro software.

You can download the source for the current version (1.0) in several formats:

Overview

The HelpDialog widget is based upon the HelpView widget which supports basic HTML elements including tables. Images and text alignment are not supported at this time, although the hooks are there for the alignment stuff.

To use the HelpDialog widget in your program do:

    #include "HelpDialog.h"
    
    ...
    
    {
      HelpView help();
    
      help.load("filename.html");
      help.show();
      while (help.visible())
        Fl::wait();
    }
    

Methods

HelpDialog::HelpDialog()

The constructor creates the dialog pictured above.

void HelpDialog::hide()

Hides the HelpDialog window.

void HelpDialog::load(const char *f)

Loads the specified HTML file into the HelpView widget. The filename can also contain a target name ("filename.html#target").

void HelpDialog::show()

Shows the HelpDialog window.

void HelpDialog::topline(const char *n)
void HelpDialog::topline(int n)

Sets the top line in the HelpView widget to the named or numbered line.

int HelpDialog::visible()

Returns 1 if the HelpDialog window is visible. pyFltk-1.3.0/fltk/test/image.py0000755000175100017510000000660511651413735014773 0ustar heldheld# # "$Id: image.py 436 2008-10-27 07:39:41Z andreasheld $" # # Image test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * from math import * import sys width = 100 height = 100 image = [] def make_image(): #image = new uchar[4*width*height]; #uchar *p = image; p = image index = 0 y = 0 while y < height: dy = float(y)/(height-1) x = 0 while x < width: dx = float(x)/(width-1) #print 255*((1.0-dx)*(1.0-dy)) p.append(int(255*((1.0-dx)*(1.0-dy)))) index = index+1 p.append(int(255*((1.0-dx)*dy))) index = index+1 p.append(int(255*(dx*dy))) index = index+1 dx = dx-0.5 dy = dy-0.5 alpha = int(255*sqrt(dx*dx+dy*dy)) if alpha < 255: p.append(alpha) else: p.append(255) index = index+1 dy = dy+0.5 x = x+1 y = y+1 print "make_image done" return None #globals leftb = None rightb = None topb = None bottomb = None insideb = None overb = None inactb = None b = None w = None def button_cb(ptr): global b, w i = 0 if leftb.value(): i = i + FL_ALIGN_LEFT if rightb.value(): i = i + FL_ALIGN_RIGHT if topb.value(): i = i + FL_ALIGN_TOP if bottomb.value(): i = i + FL_ALIGN_BOTTOM if insideb.value(): i = i + FL_ALIGN_INSIDE if overb.value(): i = i + FL_ALIGN_TEXT_OVER_IMAGE b.align(i) if inactb.value(): b.deactivate() else: b.activate() w.redraw() def make_window(): global leftb, rightb, topb, bottomb, insideb, overb, inactb, w, b window = Fl_Window(400,400) w = window window.color(FL_WHITE) b = Fl_Button(140,160,120,120,"Image w/Alpha") rgb = None dergb = None make_image() rgb = Fl_RGB_Image(image, width, height,4) print sys.getrefcount(rgb)-1 dergb = rgb.copy() print sys.getrefcount(dergb)-1 dergb.inactive() b.image(rgb) b.deimage(dergb) leftb = Fl_Toggle_Button(25,50,50,25,"left") leftb.callback(button_cb) rightb = Fl_Toggle_Button(75,50,50,25,"right") rightb.callback(button_cb) topb = Fl_Toggle_Button(125,50,50,25,"top") topb.callback(button_cb) bottomb = Fl_Toggle_Button(175,50,50,25,"bottom"); bottomb.callback(button_cb) insideb = Fl_Toggle_Button(225,50,50,25,"inside") insideb.callback(button_cb) overb = Fl_Toggle_Button(25,75,100,25,"text over") overb.callback(button_cb) inactb = Fl_Toggle_Button(125,75,100,25,"inactive") inactb.callback(button_cb) window.end() return window window = make_window() window.resizable(window) window.show(len(sys.argv), sys.argv) #window.show() Fl.run() pyFltk-1.3.0/fltk/test/pixmap.py0000644000175100017510000001461111651413735015200 0ustar heldheld# # "$Id: pixmap.py 247 2006-08-22 05:54:01Z andreasheld $" # # Pixmap test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys porsche_xpm=[ "64 64 4 1", " c #background", ". c #000000000000", "X c #ffd100", "o c #FFFF00000000", " ", " .......................... ", " ..................................... ", " ............XXXXXXXXXXXXXXXXXXXXXXXX............ ", " ......XXXXXXX...XX...XXXXXXXX...XXXXXXXXXX...... ", " ..XXXXXXXXXX..X..XX..XXXX.XXXX..XXXXXXXXXXXXXX.. ", " ..XXXXXXXXXX..X..XX..XXX..XXXX..X...XXXXXXXXXX.. ", " ..XXXXXXXXXX..XXXXX..XX.....XX..XX.XXXXXXXXXXX.. ", " ..XXXXXXXXX.....XXX..XXX..XXXX..X.XXXXXXXXXXXX.. ", " ..XXXXXXXXXX..XXXXX..XXX..XXXX....XXXXXXXXXXXX.. ", " ..XXXXXXXXXX..XXXXX..XXX..XXXX..X..XXXXXXXXXXX.. ", " ..XXXXXXXXXX..XXXXX..XXX..X.XX..XX..XXXXXXXXXX.. ", " ..XXXXXXXXX....XXX....XXX..XX....XX..XXXXXXXXX.. ", " ..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.. ", " ..XXXXXXXXX..........................XXXXXXXXX.. ", " ..XXX.......XXXXXXXXXXX...................XXXX.. ", " ......XX.XXX.XXX..XXXXX......................... ", " ..XXXXX.XXX.XXX.XXXX.XX......................... ", " ..XXXX.XXX.XX.......XXX......................... ", " ..XXXX.......XXXXXX..XX..ooooooooooooooooooooo.. ", " ..X.....XXXXXXXXXXXXXXX..ooooooooooooooooooooo.. ", " ..X...XXXXXXXXXXXXXXXXX..ooooooooooooooooooooo.. ", " ..X..XXXXXXX.XX.XXXXXXX..ooooooooooooooooooooo.. ", " ..XXXXX.XXX.XX.XXXXXXXX..ooooooooooooooooooooo.. ", " ..XXXX.XXX.XX.XX................................ ", " ..XXXX.X.........X....X.X.X..................... ", " ..XXXX...XXXXXXX.X..X...X.X.X.X................. ", " ..X....XXXXXXXXXX.X...X.X.X..................... ", " ..X...XXXXXXXXXX.XXXXXXXXXXXXXX................. ", " ..X..XXXXXX.XX.X.XXX...XXXXXXXX................. ", " ..XXXXX.XX.XX.XX.XX.....XXXXXXX.oooooooooooooo.. ", " ..XXXX.XX.XX.XX..XX.X...XXXXX.X.oooooooooooooo.. ", " ..XXXX.X.......X.XXXX...XXXX..X.oooooooooooooo.. ", " ..X......XXXXXX..XXXX...XXXX..X.oooooooooooooo.. ", " ..X...XXXXXXXXXX.XXX.....XXX.XX.oooooooooooooo.. ", " ..X..XXXXXXXXXXX.X...........XX.oooooooooooooo.. ", " .................X.X.........XX................. ", " .................X.X.XXXX....XX.XXXXXXXXXXXXXX.. ", " .................XXX.XXXXX.X.XX.XXX.XX.XXXXXXX.. ", " ................XXXX.XXX..X..X.XX.XX.XXX.XXX.. ", " ................XXXXXXXX.XX.XX.X.XX.XXX.XXXX.. ", " .................XXXXXX.XX.XX.X..........XXX.. ", " ..oooooooooooooo.XXXXXXXXXX....XXXXXXXX..X.. ", " ..ooooooooooooooo.XXXXXXXX....XXXXXXXXXXXX.. ", " ..ooooooooooooooo........XXXXXXX.XX.XXXX.. ", " ..oooooooooooooooooo..XXXXX.XXX.XX.XX.XX.. ", " ..ooooooooooooooooo..XXXX.XXX.XX.XX.XX.. ", " ..ooooooooooooooooo..XXX.XX........XXX.. ", " ....................XXX....XXXXXX..X.. ", " ...................XX...XXXXXXXXXXX. ", " ...................X...XXXXXXXXXXX.. ", " ..................X..XXXX.XXXXXX.. ", " .................XXX.XX.XX.XXX.. ", " ................XX.XX.XX.XXX.. ", " ..ooooooooooo..XX.......XX.. ", " ..oooooooooo..X...XXXX.X.. ", " ..ooooooooo..X..XXXXXX.. ", " ...ooooooo..X..XXXX... ", " ....ooooo..XXXXX.... ", " ....ooo..XXX.... ", " ....o..X.... ", " ........ ", " .... ", " "] fl_pixmap = Fl_Pixmap(porsche_xpm) leftb = None rightb = None topb = None bottomb = None insideb = None b = None w = None def button_cb(ptr): i = 0 if leftb.value(): i = i + FL_ALIGN_LEFT if rightb.value(): i = i + FL_ALIGN_RIGHT if topb.value(): i = i + FL_ALIGN_TOP if bottomb.value(): i = i + FL_ALIGN_BOTTOM if insideb.value(): i = i + FL_ALIGN_INSIDE b.align(i) w.redraw() w = window = Fl_Window(100, 100, 400,400) b = Fl_Button(140,160,120,120,"") b.image(fl_pixmap) leftb = Fl_Toggle_Button(50,75,50,25,"left") leftb.callback(button_cb) rightb = Fl_Toggle_Button(100,75,50,25,"right") rightb.callback(button_cb) topb = Fl_Toggle_Button(150,75,50,25,"top") topb.callback(button_cb) bottomb = Fl_Toggle_Button(200,75,50,25,"bottom") bottomb.callback(button_cb) insideb = Fl_Toggle_Button(250,75,50,25,"inside") insideb.callback(button_cb) window.resizable(window.this) window.end() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/DraggableBox.py0000644000175100017510000001271511651413735016226 0ustar heldheld# # "$Id: DraggableBox.py 116 2005-09-07 13:55:07Z andreasheld $" # # Draggable boxes in a scrollable window. After the demo program # by G. Ercolano, http://seriss.com/people/erco/fltk # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys # Demonstrate user-movable boxes in a scroll region # erco@netcom.com 08/06/02 # XPM cat_xpm = [ "50 50 4 1", " c black", "o c #ff9900", "@ c #ffffff", "# c None", "##################################################", "##################################################", "##################################################", "##################################################", "##################################################", "##################################################", "##################################################", "##################################################", "##################################################", "### ############################## ####", "### ooooo ########################### ooooo ####", "### oo oo ######################### oo oo ####", "### oo oo ####################### oo oo ####", "### oo oo ##################### oo oo ####", "### oo oo ################### oo oo ####", "### oo oo oo oo ####", "### oo oo ooooooooooooooo oo oo ####", "### oo ooooooooooooooooooooo oo ####", "### oo ooooooooooooooooooooooooooo ooo ####", "#### oo ooooooo ooooooooooooo ooooooo oo #####", "#### oo oooooooo ooooooooooooo oooooooo oo #####", "##### oo oooooooo ooooooooooooo oooooooo oo ######", "##### o ooooooooooooooooooooooooooooooo o ######", "###### ooooooooooooooooooooooooooooooooooo #######", "##### ooooooooo ooooooooo ooooooooo ######", "##### oooooooo @@@ ooooooo @@@ oooooooo ######", "##### oooooooo @@@@@ ooooooo @@@@@ oooooooo ######", "##### oooooooo @@@@@ ooooooo @@@@@ oooooooo ######", "##### oooooooo @@@ ooooooo @@@ oooooooo ######", "##### ooooooooo ooooooooo ooooooooo ######", "###### oooooooooooooo oooooooooooooo #######", "###### oooooooo@@@@@@@ @@@@@@@oooooooo #######", "###### ooooooo@@@@@@@@@ @@@@@@@@@ooooooo #######", "####### ooooo@@@@@@@@@@@ @@@@@@@@@@@ooooo ########", "######### oo@@@@@@@@@@@@ @@@@@@@@@@@@oo ##########", "########## o@@@@@@ @@@@@ @@@@@ @@@@@@o ###########", "########### @@@@@@@ @ @@@@@@@ ############", "############ @@@@@@@@@@@@@@@@@@@@@ #############", "############## @@@@@@@@@@@@@@@@@ ###############", "################ @@@@@@@@@ #################", "#################### #####################", "##################################################", "##################################################", "##################################################", "##################################################", "##################################################", "##################################################", "##################################################", "##################################################", "##################################################" ] G_win = None G_scroll = None G_cat = Fl_Pixmap(cat_xpm) offset = [0,0] # A 'MOVABLE' BOX class Box(Fl_Box): def __init__(self, X, Y, W, H, L): Fl_Box.__init__(self, X, Y, W, H, L) self.image(G_cat) self.box(FL_UP_BOX) self.color(FL_GRAY) def __init__(self, X, Y): Fl_Box.__init__(self, X, Y, 80, 50) self.image(G_cat) self.box(FL_UP_BOX) self.color(FL_GRAY) def handle(self, e): global offset if e == FL_PUSH: # save where user clicked for dragging offset[0] = self.x() - Fl.event_x() offset[1] = self.y() - Fl.event_y() return 1 elif e == FL_RELEASE: return 1 elif e == FL_DRAG: # handle dragging self.position(offset[0]+Fl.event_x(), offset[1]+Fl.event_y()) G_win.redraw() return 1 elif e == FL_ENTER: return 1 elif e == FL_MOVE: print "FL_MOVE" return 0 return 0 # MAIN if __name__=='__main__': G_win = Fl_Double_Window(720,486) G_scroll = Fl_Scroll(10,10,720-20,486-20) G_scroll.box(FL_FLAT_BOX) G_scroll.color(fl_rgb_color(46)) G_scroll.begin() # CREATE NEW BOXES ON THE SCROLLABLE 'DESK' l = [] x = 200 while x <= 500: y = 100 while y < 370: l.append(Box(x,y)) y += 70 x += 100 G_scroll.end() G_win.resizable(G_win) G_win.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/chart.py0000644000175100017510000000516111651413735015003 0ustar heldheld# # "$Id: chart.py 28 2003-07-16 20:00:27Z andreasheld $" # # Charts test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys # Note: the child windows are assigned to the charts list # for the program to exit correctly, the Python shadows # must be deleted. this is accomplished by the charts=None # in the exit function charts =[] def cb_OK(ptr): global charts charts = None ### <- this allows the program to exit sys.exit(0) graphWidth = 150 graphHeight = 100 border = 30 numRows = 3 numCols = 3 buttonWidth = 60 buttonHeight = 30 # ugly, hacked coordinates x1 = border x2 = (border*2)+graphWidth x3 = (border+graphWidth)*2+border y1 = border y2 = border*2+graphHeight y3 = border*3+graphHeight*2 chartInfo = [ \ (FL_BAR_CHART,"FL_BAR_CHART", x1, y1), (FL_HORBAR_CHART,"FL_HORBAR_CHART", x2, y1), (FL_LINE_CHART,"FL_LINE_CHART", x3, y1), (FL_SPIKE_CHART,"FL_SPIKE_CHART", x1, y2), (FL_PIE_CHART,"FL_PIE_CHART", x2, y2), (FL_SPECIALPIE_CHART,"FL_SPECIALPIE_CHART", x3, y2), (FL_FILL_CHART,"FL_FILL_CHART", x1, y3) ] foo_window = Fl_Window(100, 100, border+numCols*(border+graphWidth), numRows*(border+graphHeight)+border+buttonHeight+border) for chartParams in chartInfo: chart = Fl_Chart(chartParams[2], chartParams[3], graphWidth, graphHeight, chartParams[1]) chart.type(chartParams[0]) chart.add(2, "Win 3.1", 0) chart.add(3, "Dos", 1) chart.add(5, "NT", 3) chart.add(10, "Linux", 2) charts.append(chart) okButton = Fl_Return_Button( (numCols-1)*(graphWidth+border), numRows*(graphHeight+border)+border, buttonWidth, buttonHeight, "OK") okButton.callback(cb_OK) foo_window.end() foo_window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/fltk_threads.py0000755000175100017510000000460311651413735016357 0ustar heldheld#! /usr/bin/env python # # "$Id: fltk_threads.py 206 2006-02-20 10:12:07Z andreasheld $" # # Thread test script for pyFLTK, the Python bindings # for the Fast Light Tool Kit (FLTK). # Port of the game by Michael Sweet # Copyright 2005-2006 by Michael Sweet. # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import threading, sys, time class MyThread(threading.Thread): DoRun = True def __init__(self,string): threading.Thread.__init__(self) self.string = string def run(self): while self.DoRun: time.sleep(0.1) sys.stdout.write(self.string) class UserInterface: ThreadList = [] id = 1 def __init__(self): self.window = Fl_Window(128, 176, 158, 150) self.start = Fl_Button(25, 25, 85, 25, "Start") self.start.callback(self.newProcessCB) self.click = Fl_Button(25,55,85,28,'Click') self.click.callback(self.clickCB) self.window.end() def appRun(self): self.window.show() #Fl.run() while self.window.visible(): Fl.check() time.sleep(0.1) for t in self.ThreadList: print "Joining ", t t.DoRun = False t.join() #callbacks: def newProcessCB(self,widget): t = MyThread('Thread %d\n'%self.id) self.id += 1 t.start() self.ThreadList.append(t) def clickCB(self,widget): fl_mt_message('Hi') #fl_alert('Hi') app = UserInterface() app.appRun() pyFltk-1.3.0/fltk/test/tty.py0000644000175100017510000001051711651413735014523 0ustar heldheld# # "$Id: adjuster.py 35 2003-09-29 21:39:48Z andreasheld $" # # Adjuster test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys, os # # fltk-ttys - Open several processes, display their output in fltk widgets # Greg Ercolano 02/21/2005 1.00 # # Globals G_disp = [0,0,0]; # one display per child G_buff = [0,0,0]; # one buffer per child G_outfd = [0,0,0]; # read pipe for childs stderr, one per child G_pids = [0,0,0] # pid for each child # Start child process, makes a read pipe to its stderr def start_child(t): global G_pids #int out[2]; pipe(out); out = os.pipe() G_pids[t] = os.fork() print "pid = ", G_pids[t] #G_pids[t] = -1 if G_pids[t] == -1: # error os.close(out[0]) os.close(out[1]) elif G_pids[t] == 0: # child os.close(out[0]) os.dup2(out[1],2) os.close(out[1]) if t == 0: os.execlp("/bin/sh", "sh", "-c", "ps auxww 1>&2") print "execlp(ps)" #perror("execlp(ps)") sys.exit(1) elif t == 1: os.execlp("/bin/sh", "sh", "-c", "perl -e 'for($t=0; sleep(1); $t++) {print STDERR rand().\"\\n\"; if ($t>5) {kill(9,$$);}}' 1>&2") print "execlp(perl)" #perror("excelp(perl)") sys.exit(1) elif t == 2: os.execlp("/bin/sh", "sh", "-c", "(ls -la; ping -c 8 localhost) 1>&2") #perror("execlp(ls/ping)") print "execlp(ls/ping)" sys.exit(1) else: # parent G_outfd[t] = out[0] os.close(out[1]) # Data ready interrupt def data_ready(fd, data): t = data s = "" bytes = os.read(fd, 4096-1); #print "Data ready for %d"%t # fprintf(stderr, "Data ready for %d) pid=%ld fd=%d bytes=%d\n", t, (long)G_pids[t], fd, bytes); if len(bytes) == 0: # EOF G_buff[t].append("\n\n*** EOF ***\n") try: (pid,status) = os.waitpid(G_pids[t], os.WNOHANG) except: bytes = "waitpid(): no child process\n" else: if os.WIFEXITED(status): bytes = "Exit=%d\n"%os.WEXITSTATUS(status) os.close(fd) Fl.remove_fd(fd) G_pids[t] = -1 elif os.WIFSIGNALED(status): bytes = "Killed with %d\n"%os.WTERMSIG(status) os.close(fd) Fl.remove_fd(fd) G_pids[t] = -1 elif os.WIFSTOPPED(status): bytes = "Stopped with %d\n"%os.WSTOPSIG(status) G_buff[t].append(bytes) else: # DATA G_buff[t].append(bytes) # Clean up if someone closes the window def close_cb(widget): print "Killing child processes..\n" for t in range(3): if G_pids[t] == -1: continue os.kill(G_pids[t], 9) sys.exit(0) if __name__=='__main__': win = Fl_Double_Window(620,520,"fltk-tty"); win.callback(close_cb) # kill children if window closed # Start children, one tty for each for t in range(3): start_child(t) G_buff[t] = Fl_Text_Buffer() G_disp[t] = Fl_Text_Display(10+t*200, 10, 200, 500) G_disp[t].buffer(G_buff[t]) G_disp[t].textfont(FL_COURIER) G_disp[t].textsize(12) Fl.add_fd(G_outfd[t], data_ready, t) win.resizable(win) win.show() Fl.run() pyFltk-1.3.0/fltk/test/logo1.gif0000755000175100017510000005064311651413735015050 0ustar heldheldGIF89až°÷ËÊÖ32A±¯Ï õ í áõ õ Ä ä § ö ñ—#ö$ñ$é&÷!Í)"ð ®+%är4-÷ A5/æ=7ö2-ÇA:÷C=ø1,´?GA÷MGùSMùHCÙ&#m \VQïSMä_YùKGÄd_ùb]íA>œlgùNK©upù€|ú0.]…ú^[¨ŽŠû$#@WT—=;j’Žû—“ûKI|•‘ñ‹å)(B’Ƛûš—ò¢žûЇӥ¢ûŸœð™–æa_‘©¦ü¬©û½,+?BA^98P½ºý«©åÁ¿ýÆÄýÎÌýÓÑý‡†Ÿš™´çæÿö á,&ö71÷:4÷!‡U;6Ù.+œ@WRùYTùXSö?ZVÖ53{qmù@heÞxtù|xú ?~{ö{xðxuéheÅurÛ‰†û†ƒô~苉ú™–ûzxÄœšûut¯§¥÷¢ ïjiVU~®¬ü˜–ܱ¯ü´²üMLl¸¶ýµ³÷dc†¶µåÊÉýÄÃñÏÎôØ×ýËÊêßÞþ//?±±»ÔÔÜYYGOO?TTD\\K>>3JJ>nn]ggW``QAA7xxfDD:GG=VVJ::2MMC>>6770rrf11,33.YYQ††zHHB˜˜‘‘‡{{s..+‡‡DD@@@<•NNJ::7ªª¢==:‰‰ƒ331»»´¢¢œ553¶¶°ÒÒÍÚÚÖÖÖÒââßÝÝÚÊÊÇ¿ÿÿýýýûûûùùù÷÷÷õõõóññïïïíííëëëéééçååã°°®||{uutXXWÒÒÑÍÍÌÆÆÅ½½¼¬¬«ŽŽŠŠ‰ƒƒ‚€uÿÿÿýýýûûûùùù÷÷÷õõõòòòïïïíííëëëéééæææâââÞÞÞÚÚÚÖÖÖ···²²²¤¤¤œœœ”””ooojjjfffbbb]]]UUURRRNNNJJJGGGEEECCCAAA???===;;;999666,ž°ÿ H° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²¤É“(Sª\ɲ¥Ë—0cÊœI³¦Í›8sêÜɳ§ÏŸ@ƒ J´¨Ñ£H“*]Ê´©Ó§P£JJµªÕ«X³jÝʵ«×¯`ÊK¶¬Ù³hÓª]˶­Û·pãÊK·®Ý»xóêÝË·¯ß¿€ L¸°áÈ+^̸±ãÇ#KžL¹²å˘3kÞ̹³çÏ C‹Mº´éÓ¨S«^ͺµë×°cËžM[!±dåzíŠæë—ïß¿|åÒµŒXíãÁéÊ-¯`ßÈõ‚-ZC† <Ù®½;”ïÚ·?ÿ)4-/a¹%SF=òÐÝr%º^ŪR´Új¸Ôÿ24¾ðfk­\-²þæK­»ì /É ã–#Í—AJ‘Øó 1Ü”*/hVf"ŠD#Ð6ÜPÊÚ2OèwD2¨ñºi¼Ð®-¨€B"Ô †`ä«oü†‚ -´ð¢qÐ@ç? 1D)Ò ¤ 7Móf?à@ i¸6Ã-cŒ¸$„â=qx†D!…ƒa¶ìòË0Ç$"¸ÔÌLÍѸwP—¨ ¡~N¸bÎ2ÇÌD½d;òu†Ô¢Œ2áxrj¿üqDq´@o\wÍ5 tÀÁØh@öØb‡ 6\‹à¯ f¼@hÁâP*àc ›ÿ! GàÃ ð®€Æ {¤# ¨Ã€”ÌÈCR"€:2ˆÜAæØuîyÊ)¯*ú裫ZúÊaJ±Š.Ó³³åîw„~HRe9ÇLí9h.ÒjvO4áÄÒX™ Ä«1º-ˆ AZD/}ôTo½Ùgw =¨½6Û!¸ °Ül¸ë†¨ ÓË8í’é4¤!/ &‘‚ 6œÂŒ4æxÒ4$Äîd§5*5:BŽ.W üÈ@Mˆ '(Áà•ì‚äÜæÄó‹c€ƒ ºðY‘„"SXÇ/ Aä=dÌ"Y~á*LTêk¨µ ZÈ‚ÿ…8=êY/Hì‚—ÈÄpà{à þ%/2¼a¯È!Arч Nk`ƒ ¬"é€ß\BMèXcjl‘˜! "ô‚˜$f  Ø€07à/Ó ÈL¦< L%Ž` €f×D‚¤€7€Ä:ÒH_ ¡t_Ć\›¥p3¢ñÁÀiSqh׺æé®4ø QuŒƒ>éÀÿÏ~ÞñŽ4h@󄃂4‹ª“òh£D"¡„B˜Â5¤AŽH¬\]¼Ó&í€#ð¡ÛTãCÁ¬È!2«$D<–ðˆSPÆ`Í)¾ˆK]öò—Â<&2·@‚ž– §@jÊ Ìe.ñ™]Hʃ@ÔðÖ@|±)¼@ù ƒ9YÀÔT¸ÔÈÉà'ƒwÅží²§ZÅVBÉñ­tÄ'ç*ƒ8äsŸ­Óx`‡=áÌØÅ@j¡Àý€Nme °¡Nv:ä%%ÒIõ „V2!‘˜Å:¢ÓÕœ‚0ÐZ.…èKbz§$°@ ¸P‚/¸öµcøÂf;Ûÿض§C%j2O[‚1œa œ¸†-¤*ªâÀª(Ð×VuƒLXÃÓ Ç6¬¥Kø`p@ƒvѰ7œµžkµg[ ¥6¼Q‡Ú]ëXW}º×Žü¤Á?ç`‡ð!‘pEÃBX"½±N>è+–€j¬CbÈ7¡­D˜ y øÀFàÍØ¬,Q3ÓÐÖô¤%&O¹ð…Ж¶gøíT¼†§ØÅg¸- bàÓÿV —pÆf»9„ã^U¹×dj&®Ñuœã¤âÈ0P!„+ºàÉ)˜ÁȰÝ*W9»npCÊ[^9²áËmȲÆà@f2Ï¡ sƒÚ _ùÊ—ÿ<€Ã t°&@¢éìߎ0';ñµ•KÈ* »ŒpÙ†Á`Š!ó€Ò$¢Â„%œ1ÜpèÎ4nFÛË.x` %0±o«âG<"¨Nuª!‰´¸Å6õŠ[\I"ë€Æt‹ëE䙫1E*V±YrŒŠºá†2|áW”± :` l0í'ÛØž ¤Œ8¸! _æŸÂ ‡7\q3°ºÑmî2»»Ø%s}uÀ„(!×À…ž‰Äg;å À€ÎD)ÚÁ t€Cjá†/L"òy0áÁFøÃÏÀu4ÈQ Cs˜¦œ¦H [F\B¬ÿ–„$8 OlB0¹&6± HD‚¦fµ^ýê(œxF3^únl#Ƶ*VóµU¦Zΰ†:v± p$#ßà…/\!Ä Þ_oê ¼Nö²ß ÚêîvÌk^>iìŠÎ»Üu@wØ}ÝèV·º÷Ø›œH…:vÝ_À±ˆNp(œq vHƒƺô6¢¡­E4\r7ÊNHq _‚¤h†-DIŽ¢]Z4™®i. rX"–x$^މOt¸Å-nщÞ÷þÀÿ&0¡ JØ „òo SÈã.G–„‘t3,½œAŽÁ%.g°cè Çÿ7N/‘n,#¸hG%öу¸¿ýkp¿ûã_ƒW÷àìRÖòyÃ|Eæ¶ÿý5ÐMµr7vX€cWoö¦@ ΠÆ@ Û€ {6'{eFKP –à³Uæp W'ÁÐ%Uà P Vƒ"ÆPq¶¶ Ïà í@ ¿° åÄ€l¡‘z0D­w– ˜0 ¢ ´€„´°„´p M¸„»Ç„H˜{¾7 V8 ½' ¯ÍPdÑ`ÈP ÒÐcJ÷kLµrœÐ'JÈàB1 É€Ó` «à –°}’ÀJàw|؇}x6ðpÐvm×rÆ\¸€J°‡‹Ø~öÿæs~·ˆ¨¨ŒÐ€¡§Äò Èo‡‡|•LðyÏàíFË€p _")øF¢y)uYŒ`kš` óð]¸Ó å` n8©rÅDg š`„ª…·ðÎèÐÐèŒN¸„¢@ £¢°£ °¯PŠD¦¾‚cècÉZdKÀ ž€ô`Šê°qÅÀƒñ0ÆPÑ ìP‡ð°}¤€r§–jȇ|‘ð— î`sWräWt5 •p is’¸‘¹ˆgs¬ Í ÑpÊÀ èo'du& žð "©Bç:£ ­øŠ±ÿH«dK`‰‘F ²õð ïà ~Êà GSÖ€l ZBÄz0r%ðš@ ×ýÐüÀû°ú–bù•]¹•þàŒLx×x þ°÷@ò ‹§ Ëð døcL—}° ­€jx`æ@“ Üp ú˜¶` ©¤à ¬€ Wx…9 ˜à – ¡ÀGù6p=À‘ðr0· Æw¬–sªFàrŸà|¦¸?º )Y;0€†YšÐ õ`Šé  áàI£-®¨‚F2:™<é“—@   nù óÐ}Õ@ Òð‹äç³@S?bK’° °ÿðý–byžè™ždÉf\¹ùpõ0𰆽P dh}f{) ú0ƒí~m˜„ù ÉpÒÀ íà òð ­ F¸š·À ¤ –ðwB2Ðvù™8 0 ´p{½7 Á‡¢ÂG™(™¹Çöð PÇäè µÉI3—å Xˆð€gºÕ‚-ĉ“(’œ æ` ÂCEª‚€„œEÀJK ¤§†„ÿ ^–0i§è0 ¥¥- ¥@XŒ$°—ãéŸdz¦÷P­Öz­÷€øeНð£ê Ôp—éˆ}\ÕŽâÉñX á:ÃÛp æð ìÐ òpûÐÒ(ü°…© †u\ê™ôF„· ÿÔh‡Ú°†º¢Ú–ÔZ§‡ªžh'f« ðö c¾ð‹¶ê;¯ˆ"C ›‡W©‘0¢¢Ú•æiò@ƒÓ° âÿ𮤱O)[*r^:žý–gЦÕjöð ô@ó°´Ï0M»´I[¯`Õº­Ü*–ù`àš ãêc××tü)ž²°®íг± ß`Ò°×ô€dº…ŒW ‚ðPè2©t6š@ –ëÙžûº¯[é•_©ôðÖ ¨’9Š: + Ï u,4²Åy"$”²|`‰Œðž ×HžÃ ¥ÅÊ¿‰¬;1 æ ½ Ý ³ZZ³¥0•3ž`Êhz´Ië´Ï ñï¼î0¼Ä¼ðòдQ;µÖjjzŠlšŸ_›}á ý@¶Ð  Á8˜ßP¾@ ÖÿàÏ`p+¦öÐ}«° uÛkx»£ ¦A[¦ò‹ž¯ðš•¸žØ"Fg³çŸî0zº4©’‚–›"›—Vq§6 $z ï)–oiª¿˜Ù9¼!üö>°__ñºֳŴàù¥£*Ÿóà»ÂëÎÀx×` ÖP ÕðÂ2< ×Ð +l¼Èû M«ÃÜ mêµû ­cë’« f«Ä0èõúóPTkµa Žè; ë{·æ‘s¶³¿óûÅÄj¸ˆ«¸;`³Ç¨R 6y«HÊ–h œ€ Kºæ©Þ:³Õ°Nâg3¡ Ùñ> µ.ÌÊʬÞY%ÿž²À÷—Œg íÐìÀë°Ô é0 Ó°Éœê@ ëPÉ1LÃ6ì Äë ]®å€ äšUM‡®°0ÄE¼½éæð½íÐ ïÊ+µTÁ©0 ¨°¾Çu(l Åe4š²à¤ù@­ØZµÏüÅëJ økx~&`îû’î ¿ Ž€*•‹"tÀFPažºgÇb‰Î[Ÿßwãк:A.ït\f€b +`½  Á² º0«¡ ʰ ¾ ÒÀ! ¡ æ ¿ÀÉ»°”áÁËÊ Æ¥ßy ž` öàí°ê0 ÁQ+Ѱ èp½`¼PæÓæpèÿ ÒÐÉ¡<Ê“ ÃÕ@ÉÔà ½€ ® Äy§b‹½FìÚP ãp¿@ ìPÃîðÇ›¼:Ü}×€ Å|›nКŸ´hŠ´Kë´PKPÌÑܼB׸0 µ™xøÅ –еð+âLÀ$äÆ;Ù“žG ™ÚÈwŸôÀ…^Xã§ÙP Er2Ð(?¨&p Q«»ÐF3¤#üq"N€ çÇà \$?` ôÌÆà Î!°ˆ ½pͳ@8•Ke  GƒÔP Åså@ä  Å{ó ÈÜÆÈ0ä0ÓÔqÓ8­š\æ  Å0Ô¾¦Ž`[½²ÿЛ욽¶ŒÂð J, é0Ê1\Ã+<¼ŒW ®` ™ṫbˆé¦œÛ þip)¼TÃ;ŒÖÞ»b< ×ÌgèI| i«°?¿Ð`Cr"äÆB€€iLÚ„ Áõ ÇÖ‚Õ¢æ'8a X °X S É Àƒ«)"#tRP9p ĵäpIu©{R ~<Æð Ú‹ðCr Ç KµÝ³Ä$m‰ pý %‰%Æp,Ä0 Ã.Â Ú æd. ÂÐ Þð Ç äè p »p¼ H nš/bÐÝGMÄeû{jÞÓqÓ9Í; ÖÿL Ì @u@ß0`ˆWħ¶ ¸ —îÐ -ÌÓÖp ìÊÄûé©Üxé Þg†žt™Þá‰'GP#?`΀mržÐ Mè¤wŒÇCé2™ ¸v‰j`0p (À ¿0d5‡EvõVnl(§p ñ øA1zòñb¶P :cÚ üFøÜhðÒ@I¡³± „J”)P ³` ’ ¹ ªû+ÿ+Í,-­ a(c Â0 ÒÂÜâ0O#vN aŽçDm®^çÝH}ÄzÊ ÅÏ­ Ñ=Ñ \Ý¿@+ƒ0@8GlWnö%œÿÀ úpâ8ÒÌ@ÝÌÀ ¢lèí é1ô/ܶ_Xê{áx™à ÂpO`5)òEÀÊ9ë—в$j½¡‹ÇÎû¢ÎB‹½À<°Ç>` aÀ9P#Ëj`}(0/óÒ/ÿ0fŸ¢¿ ‚=¦ñr/!`h ÇP ÜæÛA@u¯!`N. ¿Pó»`Ài¬×#€ñ µ ôñ&ã¨%£èÓàÏ .^N-^~tñÛ½ç.ÀMe•0ÄáÔ!± ÿ ¿ ¼@Ó»çР  |f1{âvp×ঠçÛ…¡T%pÿÎÒ}òÔþâ¯8І¨ŠI þoB°þ~€ ±Ry2BAð@ஹ— ¢ŸÛá^óà5k§.Z¹oÜ€-dØÐáCˆ%NtØ-G3`.ÐqÀB¨P#C›a@h¸€ÅåË Y4€… n EìÖgH-BpВŨ†–Ì…ëF‘"±CMäP£"D 6°ÐñˆÚÎ…³pÀh!†ƒQ£f¢`sg 'MšúS·.]»tá­Û§O_TÇœ.Œ5‡Œ*À€11"E™="µêÄž»jê )S8ØsDm¸u+ö ²dãÆ)™±R}‚Ô¡!ÿ 6nÞÌàHÒ¦Vöâ][÷ ]¹ÕäÈ•ãuÝ.hÑ¥O‡†î9cÄPAyÉ9hðàQdP,\‹%ŠÒýÈ D€±cd‰FŒ$yê$ŠÖ­~øÙGñ±G ‚ÔñÅœc†Ñæ3#têÒP„ ðè#+°Ð &ÀÀ ‹¬8àRLñ+Àâ@  4v)¦›2¨Pè€Äˆ‹ F e¾ÙFB†r‘ª5À8 ‹ 6ðb R§ ødn€ v¤f„Òx´@V: ›š>*ø(hÓœòƒ6€P„ÀlÅ miQJEp€B̺L8îp?xÓ|‡ŸlmKrÞ"P>^ñŒw\ÃÓ@9’8Õr¦B%êdg¼ÞiÅ,Z€ \À@c1Àz6ÿHÀ¼æe¼+H`.øÊ2¸± c,#)èB®`¼†Iy]HA&vÁ p(Q"åx’ÂÀ,ôÑ[ä.A gPƒâøÆ*Æb>–މ‘/•)Mišèv!]H_ŒrºSžv¡{%èA(PAhõ!®8ÂE µÊ¦Ýà•šÅ?œjÁÍ`°ƒéÅ. _†p„Kí* 7CPu‰ÕªÉ|¡Yíô Pó­úÑÖ(¸µÍoÍ#¯A…Bd;߬ÍÂ*ˆG ûÎ+Γ±ŽÅÀLü lH@X×OͶV»P1BtaXèñ‚Gˆ¹b ÔDjAÖ8´Àt¹ÿÝJð…1<‚¤p‡-¢Ñ e¬¢|çC s™ Ýèn@Ì 3™ÅÜ4§Í 킺w†5ÔÀÍX4ÄëS¡qXzõJ¦º·–Äðg–±·¯•j7û-[p儨;Qê}ÐUBP;Ö½”nÜí⢳EéN/xÎÓ±¹¾DÓ%Á‰HDB•°„< Ó¾ø@²KÁ R¢¦ºÈD vÌÐÔ©ËKA)¤¡ qÔQ"GÖ¨’;J¥ZàQžŒ=žá v¬[ˉLnÂìæ{“À%`üÆå/0žñù¦<åe8×`×ÍøÊ1>û[,Ü o  a!ñ§zè!«¨ð{›6ìÆˆDÈí!âHƒÈêúÆX[ÿž³júN>ÂýÔü·ð‡€tÎópqÎsÜ^=“ba¡ldC nÀˆKüˆÇybŸE+Xá RPÝ€€ñ^œ€z¡¶p9ÀAsL# ½BÚoÇöˆ_8‡c0šˆX†&èpÓq«€Ýê­HÀXЇz[¨…Rز@ èB¶{+ï<(ƒr;ˆ:V0…ƒ³…_X5êóŒcð½•k9{¹ÅÙƒkyºO¸X磜CµÍ!—dø«!ÌšÿZÀ¾,€¢Ž1[s¬Ç¡L1ä>”}ð„K¨ik£÷‹¿2@W*d8†g+³›¶´[`»L¨…hX†b(²†À¨º[²ÜÊ;|JÐCYÀ‡ypŸË@Âã@$/Á\Yô„¨‹:OE\ÌÅ\¬M¹|ˆÂi(d°Á…•ã²?ƒŒúAŠ«†tˆ*ùjC†H…ߣƒRÂÝàƒ§c|ø;và«p0@J¹Â‹ù=ej¹9¹ƒ˜cKMÃny>T5dCiT—i¨Šì“Ãx'yj¬/xHÈ&U Xð–}àÃn²K8 ˆ€aø£/(ƒL˜…ÿue0†dèiØ¿³k£ Q­JS0d¸°d ª7&“Þ©£ØG‰… D ³H‹ p³Ø;‚óð?NàOðJ ÅÊÇ©ÅH€H „ñû(tkX‡tP5d †@é ¨ dt8@‹¸{ø»vH‡]H°ºG`ˆÙ¨Û`ƒ%œ#àƒT1…Ë8KtPKu!ÇŒ;G-œ“u4¾L¨R0}p>yTäœqªB¶ô _ÐÇ8t',²€;·QPU…à‡ÊÉ}È9|ày¨Ø#‘Hð˜2°„T(ˆ^0p(‡\˜ië1äY˜Ä HKÀÿ_@ˆ†ŒJ²%›€q ©(EnÙ‡zxŒ,…cÜ£,¸+Ù(«„l¡JÐLø„IèP…Nè„IøõLÏIÀ„IxÏ÷<ÏQ…©¹‡yÈœk`•Î†Šƒª ±\Ƹ‡"j¾BqŒL`ø”PùšÜÈFÄŒNg„FuQ¹¡•{¡8Á“˜<؃LÈK …WÀ‡|XÑSë¹#"F”\€C~$,b,KÐÎT…ÏԹʹy…=–È—b‹¿-w(…uˆ†q8eØ…_ˆic#‡JD…ZØqP¢oØ%ªƒìyÉ-x²3ˆ„I˜ÏϤÀÿw¸Ê TóÙ@ÃÛ 1hÇQPQµÿÔQóÓ>ÕÓ>ÝS ʇù¦ü|ÆqàJ`8†ŸP m %ðAX¸‡xh†o<‡ØŠÑ…p…½é%šÙû Vx…w@!œ”^À¾ Ì91‚$HKy˜R {¸‡…¾fHÃs@"ÈUŠèÊäG+RºGЄÍT…æË93$¿+©P@1‘b£ (ƒ©CÅi0ÔðHT ­ ÐÍ‘ìͺ\ ¥Vcˆh8N%ã˜qã­1ЇQzhÓX¸’) –ÒŠîI€„NØQÎôÿøˆý‡[5=eØÿ=Tˆí‡­г†qAˆ»‘ÔT ËÒ[FX0›Ü3‡oÐD¶´«"UŽãƒ% ÐU±¥hŒW s L—ƒ9 (‚"p'„Px‡xØÕW¸‡{˜Ç#²Gde’^À¾£ëˆfµ€1ˆö…­Öºò¦wÀ†LˆÓÓ)¶@€+¡KÈ«¯ dX†\˜A,­ØÍ ñ§ H¶«h0Š!†A(¯4S—ˆ€&{²(Ã=íÑ|¸Œj`U,‹á™Óî)8LØS>%5ð‡q>>ä‡~è‡Ì ÝÐýÜÍ¥ÖÃNý…Ù\’d 0ƒJÆXÆ~PÕk †á<9P¥†—}=Ðÿ­*¡þú*uÉY¾KG:‚<@¸€ÍL0Úg zx†è#—q€Ñ§•cXV¨Z.€%=¬I®Ý¹Ëy‡f˜…Rè‘È‚Hoå7Kø¦vP]qH†s†S@¨ ˜‘ɘDÖ"jørÀ‘…È…?ää£åä‚/ Pðò͇Sl\xÜó¹ƒ%øNP Ïx,_¦ÓåZ»:ÐiðÔ%é…:/Ù]FYˆN…4ÝÑZŠIͯŽ[Z¨Š”â…U–[&—K« 8‚>„&xvH…Txx‡x@_z,V§Ý^î•ZfE€y*œ jÍ|¸‡WÀ«tÿT¨ wyßbkM~“Rf@e8rÒPH¨ `#É2Ö†tPÙ%ÑlIÄÂý(WŒ2MðÓ­5ÐfB}·‚µ’‡?œ+aOþäÊ©‡ƒëTc0š^p]Ø­ÔD¦1üׯMIcÐZèÝü ^¦ÍXˉ† ÝY-ÜB8ùf’¡Ahb*€âPpg¸Ÿ#—ÇÔât)£ëâ/öÁR¢2¦‡yxМu`[@ "u‰ü(,yº¿³…á‡c0_ˆ„R(uMk›XØ…pp]Xàfä{Å€1` ME9ܼ•J +q%©”…5ýd2.ã{Àÿ…èˇüœÂo¸›\H ÑSeed*ªq‡ –;¶/˜Þ^³±YuñXíÀæÃY“jâCH…U¸†jÐOìõ†…f& Ó™µªcNÖXó­‡m~‡e—i†Xx7 pã(ÛÈ7£L7Õ…dø†(­…²Û±…úãs€µähP†n†ZP@@7È;({V=¥…ÉÁWÖ „Ö#{1Ø-ˇ6ÈVZ{8cê]ìWøU¥}lÈ>ãÌÉ ~_xáØK²Ãz¨¸›½ÇY–‹àᕾåV‰*“f˜ÖYð(â8xm˜»aNbb†‹CXWˆ…¬ìÿqÈb¡–3Àj.SkÖX!"§ž…vÀÊë…Zh ç#m€2}O¸½kÐ røcpgj˜A4ë[­xƒ_ÀD<xìóg?ÒÎ@‚šËñFÕu7äºNƒ… ©Œ8Ьœ2Nlê‡g*†‡w⣕‡gxŸðOðn¾ÊF†µ‘×…aÍéªÉå§­*Ñþ µe‘«ar¸aÕîå•{mòçd æš–!@(f(8É\XŠs nuɈ¹¦æÅ³f~Xîxpf†nh0¶†’©jÖÌêES˜:“†2*e€†iÀi«óV-6W€•ÿª Pቀ ¨kºkhõ~|¨ÀÛ½D-+ëüo¤vè#_Zm~†xˆwen†kXôkh†fpwˆtIŸôe®†uÆeP’…¨…V%1H*õzÖNi—FÖªB‚Ÿ@B•¾ÔM(Åá(¹LL—ÕþËð8úÀ\·!à °ña^bAœXX†cøq O<¢Z/Fn¦:H{@ãj°…t†&'‡c(†aª¶î«nö*7V Àû…récè_PK¨R@vPž ƒ6ÐìƒHw‘or+¸m™VË‘0gÜd 0É䊌?È{`jyxDWtÿk¨†v`[Xj †u°vh‡jøøj˜ø‰ÿøv ¿`,ÏË‘Z@åƒø3ÉЄ©aÜ2õ—ݸU/¡OøÅ”Ýè\ŠiZµ<°>0‚=À!¨qÚn&g"fa'¡;vJÁ,Èf¯f¦ò‡Å-"K sPp n¸›hH°ê €/fiw@Ptbè†dÐ…_˜þ@ä˜-ø…\è 5/î܂󟌲MèSZ¨ó«@À#%cðÜ#ÎNÂÎŽífžf‡uÀxuH‡iøi_†_˜†tHuh}×o}Ñÿ…h8ޱ§˜ÂH¥Cq E‰„ÿ0$õaúli$ñ«RõE&?|N]ác8V#sñ¾!¾¡„w¸>8ú¤ïu¶búgÊqA€[zuÁ RYcv(Ó††…n”ÎK×¶chë@‰äoÇj.!Y°‡U…”nˆmÅÈåšfiD— 0t°ÀA„,!ZÈ’C†0Z°D˜Â._ÎD%J”?~ûôÝ›ïµ\äˆÍ£Y.dØà¥L H›dÉÂç²Y»uê¦ýò Ú®sæÊQ-gîº]жrݺ ¹eɾuÛì,°XA.šQŒ‰,Ê”¨AiÒ-YôÜYSM7´‚.lø0â³¹ÿ!rd7olèX"ôÓ¾yÎÚ¥C.pbĵ 4täNŽ:9vØ™Á‡ ¶LøìI"¤;?‚ð‚¤ AM  2ú8òäÊC7k!¦–@ÐÀB‰ËýîÅsÆ.4r߸iü‹Î‹0hŸ@Á–$1ÉânY4rŶq3Æ+š+dŒÁ0ôD€F i¼Ð‚\€…GP`Ác<²É(ªÐÒÏJù¼"Ïf霃Ì0³Ðpd‘EO^%CÕGb5ÔL X壌8á€óÍ7Þ|N8âŒ3Ž2Ê0ù¤8ÈC–0Á f‹c2¼€Â[q±@B‚Bÿ ?{Uã—2Ã,·&›½ÒÇZq°Ùd•E² ,ûìÅÙ.É€Æ&0£•vZ©ù`Ç:0‘I%•²¶ù@Än½ù†DpíB  zÊf)épt`]|BÁ"K=/­#Í9ßlSÞ`µÐ  빇À…\ŒáÉ'°àLÒ”óM0Ú Ž.Òd‚PøPXh‚a€B:0Á }1R$¨‚’J,Ñó’-Æ~#ŒŠ,ê£Ot EÔ+ð4ÃÎ4ДƒŒ1ÞxÓ 7£6Én# 7Ü óð0Güð¬VfËuıå['ÈuC‘hÒ -™¹sæ_j~º2an"ÿq@ƒd3عÉ'ežì×8**¨i¨Ê¢0a‰$—\B¤’qoA áp‚ò4Ó®9à˜¥7Ëä‹€T``C`Ep ÁN“G…j¨ÉI·€¨O>öóìœrï,cÌ2Ì\3DbŠ,z.˜§‚þAèÐva´$‘@òˆ${4}¥QqÄ} ÒÄÕTœÓ<þlžÿ¶ØdS‡jv†¢³¾„§…YÆhðŒmW ‰˜÷Œ}M㺆6¶Ž^ø"ÐzÀ€ TkršãÈ>²…/Œ$æ¢Å?Ò…ză‚ç0†0€Qyí$F@I=؆r0h±î<0ˆ`xeè$F†<å{F”1‚³éÁa”‰„'Z¡=”õÌS± MÐR“¢íKxD6>õEê6@¨ÔÔŽ€„?Ìï P@Ä/®(HÄì/lc+àCOxBÉ[^ #¶ÀÛÞ÷/D£ …>žQ"t è,Ú ApѸÇ=¤•x% c™ÂÎehÿC'ùPˆLÇjøB?å‰N\D/ÑÈFAìK~8%HäAcfž‹‡'À)ei$›1„;à@zi&ÇGDB¬¢5}Ʀ36á{¨©CØh'J`¬˜ãúŠ@"XJ™ò£!bA+lôj0¤ÿª£€l!œðÄ+ˆÅ/tŒãOhI ‚ pÀ»:›¯ 1‰ãåãtÕHÇ." a£YØHA2F"‰DÀ_¹ÐC)YÉ køtøÉJÀÌÉ‹|H‚{é…m~™É ¿w‘×uL.@Ù'þQÒ“§¢Ê!†9|ñ \¤#ëÝ ¶3o²!œ®ÿy'6¡t¢IkbgSÃF7ÞI°h…)±´|ŸR{_øH?(Æ hAù—…„ÀB^¸„%Hñv0üG3 iü¡j` &`.dˆ …·÷'mCqé˜B*0S½²·$œå…j¹‰[Ž®tó`/y¬³v=¬Wíd¡6¾ ±ˆFÔF~@7ª6Ѫţ¾ÞaÃp1Ú@‘)HÁPxÂ*”ÑHÂúX›5-zWÒ¸³PkD_qöY°‚’°ÓšÆ}~{ Ž£@…]@v Ûd§C€SI`•ÈDÿ*®á jüäðFy1Œ\4á4PA€·h_x&ƤU“òLÛH†.~1 ˜èé-,s®¶°\¢ ÅOõzÔ3ÐG7hU×!Uv?  tÉŒð(ÓˆÇ8 úáÉE7Ä++ýShC³WÑï-Í^¦š"¤",âx×ÊP1ˆ#Doz›®'LÑ PWQÀËagÃwê ÁâûÈ>Lñ N, Ö¶‘u/l5(DA ‰`Æ2tݼ÷o:Ô1€°È€ ±¨…4td(£¹ ðê¦KVûlø€]L":woÏ®Ý`–4P‘‚U§¼½é¦ÌS+cY†4ôNW‰qÖ£Úº5Ê™šÙ,È^Dï™s6ÁRà‚„"³p3¦!ÿ],ÃûÆ2tCWܽOÀø†ðÔdzvH‚ÛÎaEOÙ¢kñ& ÂI&lHö€‡¨;…WB©f¯¨ÆÓ?ôaWУœHZ<Á´Ÿ!ïƒ_£±XCDÁШ˜F1”¾5^ûz:X€ÔQ:Ô!‰Dp!ÓÐM=X°‚x¼Ð³!“8I µ„l †@,4“MÀ¹áTº q…HK°Í«”ƒ1Äá=—à›í2Ñâ A7µÅ[ˆ œ”Â)Ä.4…SäB4øÅ•\ |Op~A†¤lš¤B:Hƒ9ÄͧÔÞ¥= ´•ÍÜÿ`Õ=š¸œrÀÜi¨†©%, =ƒôÕ‘ÌÚo`cÑY4 ïˆßš0]ù ÀDˆ€ ¼@Ð@Ün–vÉ„Œ]j­–ñ%ŒÂ•ùÃ>°ÙU0lƒ1˜C.œœ@LÎ渌$tÂ#ú]w Õ8¥] ™ý%¿‘/DÇtÉ œÀ ¼@5ØB#BÅIA¢%š{½× ôÉÕÁõ 4c ´ è@ X‚-€Ç7¬Ì!´zS Í0 ,üÞ$zŠ+Ú;eáñÁ?܃<¼ƒ38ƒ;Ä)<ÿß#H¤è“õYXÕlŸ!p_Hƒ”ƒ*ÒárŸÿL‡œh@ @ ¼€¨dxSàĨèØä_"Yÿ•˹ÄòŸø aT¢1”C.T‚ t€\ õV~Ž#âéD 5¼ŠrÚáDáS…¾%“ ùB7¶…Œ ¬@ƒàÀ ÝT¥U61öAcØ×2¾€3>#X®€4ÚY HBŽDÃcyŠ7< $Q¦-¡dØÈ(%tB'ÜC¨u[§œOúÜmèAä…­¡pXå‚$@Ã9,Ã1šB&†6ÿ¤CBú]K4e¤&€\€GæŸj™‰Œ*ø?(‰´Ã4Ã6|9PG¶¦obHˆ¢IôPýÝw¤”7PšÑ™ “â ‘â]Q-À <“Ì™PäúÝAüüA£!¤žê)#~±|e ¨XÆç D£ ÅÔ€$”Â: å§ CÀÉ¿Aê@ „Iýƒ=ä%óì¥:Ê_ºF;²Šx±Ã:Ä;\ƒbrcJßôñ#J&ö½Ÿ1‚PÁ¸‚4@Ã2ØÕg’d‰æÀŒ¶‡P qNé&ÁfHb€=$tˆ(ÄÐÍq™ ŽaÿÃ0Ã2 Â3ÊŽÞ¤È<àNWO¡¬Fsé„™i tqà¾YWþà¬ˆã  € ˜ ÐåÐ ÐÌôàƒÄg|ªŸò)}Ö'HÞå§\‚3ØB4„ç$ìE{¶A\Þ@ (HÂ?°\uy _ŠÐ°ã¬Ê1­S¤Ã:\Ã;,&'Ä”!õE¦¡gb!$B&°Ø9዆Fh:¯:äŒÎ¨ +±ëT‡"ž] X™(ˆÎrºŠ4(Ä †0ƒ1ÄÂMˆÀF¼’qŽË@(œK–ÍàpE%ä`°¢EW™`g,æO-hŒ¼Îw‚ÿAj†|šÁ ¤ƒx%|ö)Àú)Ÿ®€XêÀág~† )8C†g&G0èÌÀÁN†¤ö€lÂkÁB«´M~èªþô¥Ðüå©}ª^P׊BÃ/¬Ã,œê+ìÜ#ðÁª®@fÀª¬&ÁÄC TBŸAC6î*¯Æè¯: «°ë°&À©„$é¬Èäd–ñ¤ÛèGbl/$Ð hÄŽrNpõ&„N»a)5D«’r©MeRùÄŒ^Su`›å4ä@wª€¶ˆÁw† ø-›ò) .ánÀªÁl JÞ\E äg @‘6ÃŒ±‰66Ðê xeÄÿ¡ŠÔIôC«\Ã:ÄÛ7@§rð¥1–Ѧì™$ÛU´¬5¼)äcÎFÍšaà¬A1A\Â,¬ƒÐ-¯T¯‰&ŒXD¯ôN¯ô"€õ†¤Héìƒ$p-ÜB–•Ž(y™J†6LCàÀ×frÎq~«I Ër–+JÙ´žÅ*ÐÀFнyÀ™© …ÞGv9à€´À ˜€ ˆßÚë½ÞkáF0ÁšÀ .îÀPÄÀãBnä:”)Îw@/ˆÃå.GmýÂÀ.Yö@äjl#^?DåJC/l)  B1öÁ6ØëÍtBÊP9„ƒ2œƒ4¬ÃíÎÿÃ+PB$<Â<—a ðl _åFÃÐ*ïa0¤ÓA¯õ*ÀB•q˜ñ_ß)ÿ¡Ç~o–i’ò‹=¬`ƒ6Ñ€ˆ v =‚&tˆNæÖjihF3\„\ÀT€l˜PÂȰ ·å™âO1Tœà-ž€ ð-ߦæß¢@x*p šàâ2. 4n Ä@ ¬,×€,÷@Hža‚=ˆ5\c²‘°›¯1ô‚4œ‚<8! ³°Ð¥¹4k UÃ!¯‰+´S2îÀj̸@B+ñž¡ŒxxÃ8œƒíºÃ3؃)xB$DB=,ÁD±>‚1ÿCÂÂ"ê1¨®£E¯RGô&’ó@s tÔ²ñ|ÀH'°Â-üƒ?ôƒJ¬KLxÖr!F4üÁÄŽ¡ç\ "úý¦ºF)dë¨d@Œ€|ÐS'ô,ÖmópC2ØBk¸€ ¤ÀÜÀœ@PµP ˆOóô*¯r”ÁŒÔÅœ,s0-Û²$„Q'ìÃ+<<8ƒ5ô™gCo†%šƒ4PC5XBhl23â$Ô&–íC.ÒgtJ-4Aüì€^Êø0#PÂ'äÅ^T1ƒ7ƒ›µ;ÈÃ+°Â&@Â+0¸s ¸s0=@$,ÿlÃzÃÁì3aôóˆA-Ÿ6jŸvBŸ`y&tªðƒlS´ˆäæSÙ4apÃÈဴ±¯0À”‹>¼ð óä®ma B¬BlÀx@€¯¬Ák ¶S!¥ƒK^ \pR7x7.S7µSGõãʲ,+Us‚PL-¸céÐÃ<ă;\C³A¬7(4¤;¬Â;\CCB]Öæ(©$Ö¯‹&G28P±´F Ä€0ÂÈЂ좉mÃ~'v;8ƒ<Ô+h‚&PB«aqfg¶f×3DyÇ/˜ÃX Ãýz1i´j'´ŽïøŒ‹†Ø²ÈÄvºìmßú\ÿƒ-üÂ9Ì5b@ÃÜÁFHKÀudˆÿ•ôü"Eg(Ãê†4ÀOûïÄG†œA ™†×ôu}¸1ƒ$ØÙx“€œËy Ðy Üù@õSo0zÏ2UK9™ÂkÓÂñÀömâÃ=ÜC=È_¼Š9€rhC€›:´C)À)˜‚&¼–(À–DŸ$W}Ù‚G7,Ã*ЪúpÌ%#l‚'‘‰™LáYxø8û3´CbÒC>´Â'`‚&@Âù¨8S=}Â+ì ¬ƒçé3ÑÞ¸ÙeÒ˜°;S$˜CE%tsÎP´>x»–HaâÇ2ØðaÀð6°ï÷N}AÚ=ÿ"¢­!Æ U ,5LA™¯k]™ötà%wM0C2ìÂ4ØÂ%ÜÀnpTë9TŸw,÷¹>ü9'€‘«w(Œ -|/Dƒ‘“Ζ9ó’‡ua0é1ü‡7éڃ>ÀÂCKôJ˜Na¢”J®I0³/\B W&ó…s,ÀǺ¨£…a#Ã9Dƒ›ê3܃_MB'øú&X»$”(ÈB¾ ‹Q¤‹60 óúÚ©\XA½]N‚Úû:Û^Àvö€»>̽–™Î;˜®’—b˜CFÅA%aÌR•kHÙ2s–{™8¤ô`œ—.¤ƒ$ŰP ­H (aéš½kïÿ7|CX1Ã)„Â#°pŸ—~Ÿ{ ?ú04ÆcÂ'lü-ÜÂ÷~/ø¦ÄDƒ{\›ëÍClç“:”ó3¼‚>Ì6Eçþn"ƒÉ7ƒ0Ç‚$\¶8&³fߏP·ý…Eyx8ðÂ"±ˆ¿Â>ÀüÆ¿#ºõ;—ÖÃJ8 ¼òÎBØûÏØc…kmžË(ŒÂøÃþ-Ìtö„>ûÌw¼fìÒA#çm0‰)«…$Œ0Z"8`p…B._Î@%j”?~úÎ{gš´rà„U¤È-ºi¶*Ù[ó³F$J“T©J™Ï¥5uÑȳùjTŠÛ¼%ÓõkݬP—8E‚ôÿìW¯‘"yò´i&LŸ@ºõö­pÿùë×ß>½ùÚ“ç¬Ý4tâ†IŒ›±^Ò¨Ys7ïž>‚ñÕ‹·ð×9š†ŸjK\.®S–˜02mzhQZþðÍsWM4e…§vGÝ/j՜ţ‡OÖ?Z¢D-*êV¿|öæ)l·t™·`œ©W·Ìš!.X0 ‚¾@Ò4ê8qâ´Ø³¿U7/ÁÉ|Òû[š¯™Ý '4„†¸sà$ À‚Æx“âhé‡ |ìk¦tv‡m ÒfpÌa •T.¹„N6éä¸äZ{‰‡œºF`¨G—iØi&O4™¤ÿ“}ô±-PFqë-Z:¹åȹú± ¯øæã« Ê.cg]¡-F`¸AF§vœ‘ç•|øBèkÖÑï›éb܆d®ŠÅšPJôjPRì§µ×b›Í&Ͼ!GÆÚiægÂì'®Q• B–˜+siÌ '¢,-µn6¶»à€ï¯óNZÍŸRM-õ.¼ôzÒ „äq¦ÌÄéFͨ¤AâTà ®@`‹‘J²S•öi饘Ê1¦¦¨¶)†F¬¬ùRG!‰KŽŸ{\SŠ)þ.­NoÆÙ%/Ÿa–âŒ3N½QÚ£ Õ&W…’^ªçX#5ǘJ³&œoŒ§| ²'ÿ_ØòæR6ÅÑÉ–Rà1qôTA¯{ÞKŠ´Ús|Q‡kz›Çž|øI•Ÿø(³Ì*­ô÷ÛšŸš%M½O< BÝ–ú©—èzñqV[¦Ù…œbh~Š@ŽÀá…`àÀÜdŒ#„¹Â]”éFC©¨JæƪIÅ7|øùGè¼´eÑ!om6 ±q Q§wèÙçuÙŽºL½ËÉ¢éÍçh{ì+“¡…ËÎr¥Yçšw Ã'Ÿú¢òd:Ž1\ÜlÄñ•}`Q4î}´…uOnœõFs¢Igj}†{8'Ú/ÀÒAÙï>~"œuö´çP5ùäYWüÿ Wæ‰Ç™k¨Œ¦œoš•*—>îA…zýH‚JøàŒH&A韼zæ¥}½§ŽMp@K§äBíÑÇes«3˜ò"äI¥ä€3¬¡¹|,éTñjÙ^¦W¯ÎÝ㎛‡<à‘=v,…àŒ‚Q rDCƒ‚Ç<êaWÐ{äÞ7ž¶¦ªè¤dð ÇU’}hLO²áT¼¡?hè¦×pG<æA{üŽ>¯ÇBªŽïÐfÊãN§x*HMh¤WãìÓÁj¬cÜáä6$€!à `¸@®’`”•+ó— AcÒ±Î6†á&¬\C‡ø˜Ïë”R7,šíæÿ8¤##FK2ƒ¯¨=6wd¯¶H‡/Ì!ˆÔlKiÛ ¡â!:ÃëøÅ`ìö-Äã“üͼ~¸1@ÏYÃ09Ò¦[èîLìÝÅä¹fØâæØÌ#³˜3îììS[øôV‚I ~œß´‡=6ù x¸ãí Æ4 ±ŸÚÄâ“A @p>GA‘ÀD×âG¹Íb_ÌŠQ7”±·¾AfL®QØØ¨ •`x4»ùÒ+ fÉÅá£q.ää3äáÉO6cí`3~ s ã”5ÛÆŸv1 j$Ñ1mƲ "oãJožñ¿¾<ÃÕ°a8㙪˜.e‡ÿ5XÉ»z¼‚œ0 êRºÇƆfI‹Yàâ§|öÅ íÇXÉZÖy<ƒ£žtÇLG* tÝx§M¦q„¨! Y ãG€%¬HŒªQù"`bó«R'§Ð(—3zúÓ ZhC¼j7f£Ìêbš㎆Anò¬…Ç;ÜáŒf\Ã"¥†:Jz¸¦´fú:¤¡Žu°£ªeg‡qØKáä§k_âÓ0ù[:|‘Ž—2ÕÉtå+c9sÌêª5Óbw˜çE0êÃq}iÝQ^óž×´×¨ÆHÓØ‹q|£·ÔùÆ‚@3„ {Íš‚qžQôó‡ Ñ^4Ãÿ\ëàD`½qâaHÅë8»ÀÆ7ö×?yÐªá §F9ZÑ’6½êé:˜‘Ž_ø®|çš%ÙÒ˜F:¦QRt”ãĸ¢Í¶aŒ­Ã1=åœçÜ p´¸OÃøF2Êcç²£×hFLA‰FhØtǾÎv±)mšç¬±ÏZQ[ kœÍÖ¨F5rËŽÕ¦ñÆáð†0|û”hØ(àUÓ7’1D¢„S‰£òe –CkòñåúvaMÚ–1á’éù‚It<äÖgœÔŸæè‡Aœ^5xµ&–F4vaŽrŒã,®ó¥ó d,ú@:ÎñjÿpƒÒ1z¨ùwÙÞ…7¨Ô˜á¬;#Œncå`î4ÔA ÜŠÔÌ`çLâ«e¬Z“»]ì*Ð`qW¥“ÄêP·º™±nu×X).ÇŠ‡lŠ0ã/£êH;>Bîj”„¦$˜+YJÞÀ ÿfá xÄ#œ…(/”hoKäYµknîLæŒó~¼´Í8­šÙÌ[¤›ÆÒ@1¯ËAqÃÄà³k Bá@F8bínc±CåÀ´¦[ÙQt¢q0ŠÑÇl£Œrœ#Æ¿˜q£qãcÈõâßÞÔV›çÕ~Øã2í )Š¡Qv³›},'2¾!WšW„â‹={u5 (ÿ€<®˜(ú¹œ¤(릖ê/n—;‘W9Ü;„½MdØn̰n׬f˯¹äëX5JLã_¬¼vµËÁñ oÈÕÞdz97¸Qo:_5\È3–:eÓ®7ñËJ}³»akr<º6Ç2’ÑöÝg"\îî¸a!‹z@êí‡2”Aë[Ÿúâ@F¬‹ÁãODoÄ+Gø¬>öA"ÐúÚ”2²5̆Ko˳sRsF>QGDCêÜMÕ!<Ï¢¡ì‚oô”!J¯º„¡VöoÿÎæ ïÚì/&…VxlŠáÀaç¡ôtl):”¯‹¾ hÿdXD†¡ˆakP憡ÞNF¨áìK.€ßÀޏ`kN¢ïæ&–dâ~¾åYÂAÚp¦aÕta&œ'‚|ÏÐaÎÎ ÓîFÆ!ð0uð +0þJÆ ðóväìûðf„õ$ðíÖ0ùÀë¼ ú‚Ha2Bêéj°ï¾àÏöi5ÖOx.DéTŠ–¬ÌáÂpè­+MB’a¦•áÇÁÁp"pö/.\Àa8q×®¬°Q"T«~¦ù±‘"+¤¡âàÂ@èHÓg}J¢Οÿ\â$­_Žçc2ñ¾ÑÝ'"ð°õp0ѱõd‘DZ?ÐÖÄ¡ Á¼ÏqÒ@ ܆ѫ\v„(Âl´ãùí#` 0` $Á¿ú Š«°,în´Áæ„A¶A ï‘#;²:>†õZO#=’›¡Íg«`<΀4¡r¡$ yVAÌ }ðIïÜÅüIÀdIš²Œ$‡’(‹Ò(±($ À€ïF‚0á%ë yRá$/àj`¿Æ` L—#a(:6ò(ÓR-×’-%"P@ Â*-dGn ‰O²«Zàÿ2 $îÎ.ó©Aþk%ÎÁ®-2#Ó#× ºÀ(@%Eîr &hq¡°òxÒ Rà2`<“$ôHЮ1Y”0%“6kÓ6-¥ÊAXÀ ¶À¸`37s ê„pöA49&»Š*ÁÊ` H ¸à>€$ (#/"ÒÚïoÓ;¿[“(ŒÂ" ‘±¡¸AZÊBáÖ` Æà jÀ<Šƒï|a^Ã,½¡ TEÿWô(¹z+PÁ.AA(t?ñÄ=’š8äEA,aDlT?1&;_{¨“E›ÔIÛrF‹VáH¡ZºFвeGû’šfä*vƒm8ÁdáHháŒ%À E …òIÛÔMï±Ö–!©ØaÜLX!8ZˆF3»ÂeÒ&Óš €чÈ2ˆâM•QáTÉEPÕ‰öa‚~h[3»‚A˜ät'êÔPTƇôAJbF0D§QOU×1¼AZêF‰‚öô=µì–s4ç((Àþ3Rx!ðRXƒÕÛºAoøWÇÄ—(ÔÛk§Ü¡±¨žÃE„•Zÿ«•šˆuø†±|J FxÐ!H‹,”\¼D¸uW¬x¬•]Ûõ[¶‡z£`XBJ¨ÈJÄõ€†!‚k`Œq¤è5”­{fÓ] –Z+çÇ<µ…§ÐŠ`íCÃN1¬œ ¥JÄÁ€ Vc7¶"JˆØˆ.­Ð‰!˜†"#,áô&laZ8Íè´‡ª~•ccVc9$ƒö¤L¦¬áƒ¢!„ðèúïvŽ g›Ag—ÂŽáçdViÝuFDw2p¯ÂÁ³Ž*©"pËÍFé¤`kiÃÖZ?ær1ÆfŒÆPlÁÖjqî ¥. ã­PêaÅÖn ôc¼!È!×vшÆÁ}¶¡²Ppm[î×êönw@µáæŽ!’AûÎëøéBPçÀëq;·Z7#0EµÌqñ0#G×sSWuW—u[×u_vcWvg—vk×vowsWww—w{×wxƒWx‡—x‹×xy“Wy——y›×yŸz£Wz§—z«×z;2 ;pyFltk-1.3.0/fltk/test/postioner.py0000644000175100017510000000401211651413735015716 0ustar heldheld# # "$Id: postioner.py 28 2003-07-16 20:00:27Z andreasheld $" # # Positioner test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * # global object names theDisplay = None # type 'Fl_Output' from '()' thePos = None # type 'Fl_Positioner' from '()' def onOK(ptr): sys.exit(0) # code def thePosCallback(ptr): theDisplay.value("%3.3f, %3.3f"%(thePos.xvalue(), thePos.yvalue())) # code def main(): global theDisplay global thePos o_1_0 = Fl_Window(461, 360, 221, 185) o_1_0.pyChildren=[] o_2_0 = Fl_Return_Button(80, 145, 65, 25, "OK") o_2_0.pyChildren=[] o_2_0.label('OK') o_2_0.callback(onOK) o_1_0.pyChildren.append(o_2_0) theDisplay = Fl_Output(60, 110, 100, 25) theDisplay.pyChildren=[] o_1_0.pyChildren.append(theDisplay) thePos = Fl_Positioner(10, 10, 200, 90) thePos.pyChildren=[] thePos.callback(thePosCallback) o_1_0.pyChildren.append(thePos) o_1_0.end() return o_1_0 if __name__=='__main__': import sys window = main() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/symbols.py0000644000175100017510000000356511651413735015400 0ustar heldheld# # "$Id: symbols.py 28 2003-07-16 20:00:27Z andreasheld $" # # Symbols test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys N=0 W=60 H=60 ROWS=5 COLS=5 window=None def bt(name): global N x = N%COLS y = N/COLS N = N+1 x = x*W+10 y = y*H+10 b = Fl_Box(x,y,W-20,H-20,name) b.box(FL_UP_BOX) b.label(name) b.labeltype(FL_NORMAL_LABEL) b.labelcolor(FL_DARK3) return b window = Fl_Window(COLS*W,ROWS*H+20) b1 = bt("@->") b2 = bt("@>") b3 = bt("@>>") b4 = bt("@>|") b5 = bt("@>[]") b6 = bt("@|>") b7 = bt("@<-") b8 = bt("@<") b9 = bt("@<<") b10 = bt("@|<") b11 = bt("@[]<") b12 = bt("@<|") b13 = bt("@<->") b14 = bt("@-->") b15 = bt("@+") b16 = bt("@->|") b17 = bt("@||") b18 = bt("@arrow") b19 = bt("@returnarrow") b20 = bt("@square") b21 = bt("@circle") b22 = bt("@line") b23 = bt("@menu") b24 = bt("@UpArrow") b25 = bt("@DnArrow") window.resizable(window.this) window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/check_browser.py0000644000175100017510000000503111651413735016516 0ustar heldheld# # "$Id: check_browser.py 198 2006-02-16 07:22:28Z andreasheld $" # # Check browser test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * # global object names aCheckBrowser = None # type 'Check_Browser' from '()' def checkBrowserCallback(ptr): #cb = Fl_Check_BrowserPtr(ptr) # code cb = ptr print "contains %d items"%cb.nitems() # code for i in range(1, cb.nitems()+1): # code if cb.checked(i): # code print cb.text(i)+" is checked" # code else: # code print cb.text(i)+" is not checked" # code def onOK(ptr): import sys # code checkBrowserCallback(aCheckBrowser) # code sys.exit(0) # code def main(): global aCheckBrowser o_1_0 = Fl_Window(394, 309, 245, 133, "check_browser.py") o_1_0.pyChildren=[] aCheckBrowser = Fl_Check_Browser(5, 5, 240, 75) aCheckBrowser.pyChildren=[] aCheckBrowser.callback(checkBrowserCallback) aCheckBrowser.end() o_1_0.pyChildren.append(aCheckBrowser) print aCheckBrowser o_2_1 = Fl_Return_Button(160, 90, 70, 30, "OK") o_2_1.pyChildren=[] o_2_1.label('OK') o_2_1.callback(onOK) o_1_0.pyChildren.append(o_2_1) o_1_0.label('check_browser.py') o_1_0.end() aCheckBrowser.add("Guiness", 1) # code aCheckBrowser.add("Bud") # code aCheckBrowser.add("Coors") # code aCheckBrowser.add("Grimbergen", 1) # code aCheckBrowser.add("Burning River", 1) # code aCheckBrowser.add("Little Kings") # code return o_1_0 if __name__=='__main__': import sys window = main() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/message.py0000644000175100017510000000323411651413735015325 0ustar heldheld# # "$Id: message.py 201 2006-02-16 07:26:03Z andreasheld $" # # Message test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * fl_message("Spelling check sucessfull, %d errors found with %f confidence" \ %(1002, 100*(15/77.0))) fl_alert("Quantum fluctuations in the space-time continuim detected, " "you have %f seconds to comply."% 10.0) print "fl_ask returned %d"%fl_ask("Do you really want to %s?"%"continue") print "fl_choice returned %d"%fl_choice("Choose one of the following:","choice0","choice1","choice2") r = fl_input("Please enter a string for input:", "this is the default value") print "fl_input returned \"%s\""%str(r) r = fl_password("Enter password:", "123") print "fl_password returned \"%s\""%str(r) pyFltk-1.3.0/fltk/test/window.py0000644000175100017510000000245011651413735015207 0ustar heldheldfrom fltk import * import time, string window = None fullscreen = 0 label = "" def cb(ptr, data): print data def full_cb(ptr): "toggle fullscreen" global fullscreen if fullscreen == 0: fullscreen = 1 window.fullscreen() else: fullscreen = 0 window.fullscreen_off(100,100,300,300) def resize_cb(ptr, data): "grow/shrink the window" window.resize(window.x(), window.y(), window.w()+10*data, window.h()+10*data) def iconize_cb(ptr): "iconize the window" window.iconize() def hotspot_cb(ptr): "move the window to the hotspot" window.hotspot(10,10) def label_cb(ptr): "change the label of the window, variable label must be global" global label label = "Another "+window.label() window.label(label) window = Fl_Window(300,300) window.label("Window Test") window.size_range(100,100,500,500,10,10,1) b1 = Fl_Button(10,10,80,25,"Fullscreen") b1.callback(full_cb) b2 = Fl_Button(100,10,80,25,"Grow") b2.callback(resize_cb, 1) b3 = Fl_Button(190,10,80,25,"Shrink") b3.callback(resize_cb, -1) b4 = Fl_Button(10,45,80,25,"Iconize") b4.callback(iconize_cb) b5 = Fl_Button(100,45,80,25,"Hotspot") b5.callback(hotspot_cb) b6 = Fl_Button(100,45,80,25,"Label") b6.callback(label_cb) window.show() window.hotspot(100,100) Fl.run() pyFltk-1.3.0/fltk/test/pack.py0000644000175100017510000000651011651413735014617 0ustar heldheld# # "$Id: pack.py 35 2003-09-29 21:39:48Z andreasheld $" # # Pack test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys w = Fl_Window(100, 100, 365, 525) scroll = Fl_Scroll(10,10,345,285) pack = Fl_Pack(10, 10, 345, 285) pack.box(FL_DOWN_FRAME) def type_cbH(ptr): type_cb(Fl_Pack.HORIZONTAL) def type_cbV(ptr): type_cb(Fl_Pack.VERTICAL) def type_cb(v): for i in xrange(0,pack.children(),1): pack.child(i).resize(0,0,25,25) pack.resize(scroll.x(), scroll.y(), scroll.w(), scroll.h()) p = pack.parent() p.redraw() pack.type(v) pack.redraw() def spacing_cb(ptr): pack.spacing(int(valueSlider.value())) scroll.redraw() buttons=[] buttons.append( Fl_Button(35, 35, 25, 25, "b1")) buttons.append( Fl_Button(45, 45, 25, 25, "b2")) buttons.append( Fl_Button(55, 55, 25, 25, "b3")) buttons.append( Fl_Button(65, 65, 25, 25, "b4")) buttons.append( Fl_Button(75, 75, 25, 25, "b5")) buttons.append( Fl_Button(85, 85, 25, 25, "b6")) buttons.append( Fl_Button(95, 95, 25, 25, "b7")) buttons.append( Fl_Button(105, 105, 25, 25, "b8")) buttons.append( Fl_Button(115, 115, 25, 25, "b9")) buttons.append( Fl_Button(125, 125, 25, 25, "b10")) buttons.append( Fl_Button(135, 135, 25, 25, "b11")) buttons.append( Fl_Button(145, 145, 25, 25, "b12")) buttons.append( Fl_Button(155, 155, 25, 25, "b13")) buttons.append( Fl_Button(165, 165, 25, 25, "b14")) buttons.append( Fl_Button(175, 175, 25, 25, "b15")) buttons.append( Fl_Button(185, 185, 25, 25, "b16")) buttons.append( Fl_Button(195, 195, 25, 25, "b17")) buttons.append( Fl_Button(205, 205, 25, 25, "b18")) buttons.append( Fl_Button(215, 215, 25, 25, "b19")) buttons.append( Fl_Button(225, 225, 25, 25, "b20")) buttons.append( Fl_Button(235, 235, 25, 25, "b21")) buttons.append( Fl_Button(245, 245, 25, 25, "b22")) buttons.append( Fl_Button(255, 255, 25, 25, "b23")) buttons.append( Fl_Button(265, 265, 25, 25, "b24")) w.end() w.resizable(pack) scroll.end() o = ( Fl_Light_Button(10, 325, 175, 25, "VERTICAL")) buttons.append(o) o.type(FL_RADIO_BUTTON) o.callback(type_cbH) o = ( Fl_Light_Button(10, 350, 175, 25, "HORIZONTAL")) buttons.append( o ) o.type(FL_RADIO_BUTTON) o.value(1) o.callback(type_cbV) o = ( Fl_Value_Slider(50,375, 295,25,"spacing:")) valueSlider = o buttons.append( o ) o.align(FL_ALIGN_LEFT) o.type(FL_HORIZONTAL) o.range(0,30) o.step(1) o.callback(spacing_cb) w.end() w.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/dials.py0000644000175100017510000000440211651413735014773 0ustar heldheld# # "$Id: dials.py 35 2003-09-29 21:39:48Z andreasheld $" # # Dials test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * # global object names aDial = None # type 'Fl_Dial' from '()' aLineDial = None # type 'Fl_Line_Dial' from '()' aFillDial = None # type 'Fl_Fill_Dial' from '()' def dialChanged(dial): aDial.value(dial.value()) # code aLineDial.value(dial.value()) # code aFillDial.value(dial.value()) # code def main(): global aDial global aLineDial global aFillDial o_1_0 = Fl_Window(550, 247, 269, 116) o_1_0.pyChildren=[] aDial = Fl_Dial(20, 15, 45, 45, "Dial") aDial.pyChildren=[] aDial.label('Dial') aDial.callback(dialChanged) o_1_0.pyChildren.append(aDial) aLineDial = Fl_Line_Dial(190, 15, 45, 45, "Line Dial") aLineDial.pyChildren=[] aLineDial.label('Line Dial') aLineDial.callback(dialChanged) o_1_0.pyChildren.append(aLineDial) aFillDial = Fl_Fill_Dial(105, 15, 45, 45, "Fill Dial") aFillDial.pyChildren=[] aFillDial.label('Fill Dial') aFillDial.callback(dialChanged) aFillDial.selection_color(1) o_1_0.pyChildren.append(aFillDial) o_1_0.color(215) o_1_0.end() return o_1_0 if __name__=='__main__': import sys window = main() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/sliders.py0000644000175100017510000000453611651413735015354 0ustar heldheld# # "$Id: sliders.py 164 2006-01-17 09:56:47Z andreasheld $" # # Slider test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys window = Fl_Window(100, 100, 600, 470) def cb_OK(ptr): sys.exit(0) horizPack = Fl_Pack( 0, 0, 600, 200) horizPack.type(FL_HORIZONTAL) horizPack.spacing(80) horizPack.children = [] vsh = 100 vsw = 30 horizPack.children.append(Fl_Fill_Slider( 0, 0, vsw, vsh, "Fl_Fill_Slider")) horizPack.children.append(Fl_Nice_Slider( 0, 0, vsw, vsh,"Fl_Nice_Slider")) horizPack.children.append(Fl_Slider( 0, 0, vsw, vsh,"Fl_Slider")) horizPack.children.append(Fl_Value_Slider( 0, 0, vsw, vsh,"Fl_Value_Slider")) horizPack.end() vertPack = Fl_Pack( 0, 250, 600, 200) vertPack.type(FL_VERTICAL) vertPack.spacing(30) vertPack.children = [] vertPack.children.append(Fl_Hor_Fill_Slider( 10, 10, 10, 20, "Fl_Hor_Fill_Slider")) vertPack.children.append(Fl_Hor_Nice_Slider( 10, 10, 10, 20,"Fl_Hor_Nice_Slider")) vertPack.children.append(Fl_Hor_Slider( 10, 10, 10, 20,"Fl_Hor_Slider")) vertPack.children.append(Fl_Hor_Value_Slider( 10, 10, 10, 30,"Fl_Hor_Value_Slider")) vertPack.end() def hcb(slider): v = slider.value() for child in vertPack.children + horizPack.children: child.value(v) for child in vertPack.children + horizPack.children: child.callback(hcb) okButton = Fl_Return_Button( 520, 30, 60, 30, "OK") okButton.callback(cb_OK) window.end() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/tabs.py0000644000175100017510000001357611651413735014644 0ustar heldheld# # "$Id: tabs.py 28 2003-07-16 20:00:27Z andreasheld $" # # Tabs test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * # global object names foo_window = None # type 'Fl_Window' from '()' def main(): global foo_window foo_window = Fl_Window(733, 489, 321, 324) foo_window.pyChildren=[] o_2_0 = Fl_Tabs(10, 10, 300, 200) o_2_0.pyChildren=[] o_3_0 = Fl_Group(10, 30, 300, 180, "Label1") o_3_0.pyChildren=[] o_4_0 = Fl_Input(60, 50, 240, 40, "input:") o_4_0.pyChildren=[] o_4_0.label('input:') o_3_0.pyChildren.append(o_4_0) o_4_1 = Fl_Input(60, 90, 240, 30, "input2:") o_4_1.pyChildren=[] o_4_1.label('input2:') o_3_0.pyChildren.append(o_4_1) o_4_2 = Fl_Input(60, 120, 240, 80, "input3:") o_4_2.pyChildren=[] o_4_2.label('input3:') o_3_0.pyChildren.append(o_4_2) o_3_0.selection_color(1) o_3_0.resizable(o_3_0.this) o_3_0.label('Label1') o_3_0.end() o_2_0.pyChildren.append(o_3_0) o_3_1 = Fl_Group(10, 30, 300, 180, "tab2") o_3_1.pyChildren=[] o_4_0 = Fl_Button(20, 60, 100, 30, "button1") o_4_0.pyChildren=[] o_4_0.label('button1') #\#include # extra code o_3_1.pyChildren.append(o_4_0) o_4_1 = Fl_Input(140, 100, 100, 30, "input in box2") o_4_1.pyChildren=[] o_4_1.label('input in box2') o_3_1.pyChildren.append(o_4_1) o_4_2 = Fl_Button(30, 140, 260, 30, "This is stuff inside the Fl_Group tab2") o_4_2.pyChildren=[] o_4_2.label("This is stuff inside the Fl_Group tab2") o_3_1.pyChildren.append(o_4_2) o_4_3 = Fl_Button(30, 170, 260, 30, "Test event blocking by modal window") o_4_3.pyChildren=[] o_4_3.label('Test event blocking by modal window') #\#include # extra code o_3_1.pyChildren.append(o_4_3) o_3_1.selection_color(2) o_3_1.label('tab2') o_3_1.end() o_2_0.pyChildren.append(o_3_1) o_3_2 = Fl_Group(10, 30, 300, 180, "tab3") o_3_2.pyChildren=[] o_4_0 = Fl_Button(20, 60, 60, 80, "button2") o_4_0.pyChildren=[] o_4_0.label('button2') o_3_2.pyChildren.append(o_4_0) o_4_1 = Fl_Button(80, 60, 60, 80, "button") o_4_1.pyChildren=[] o_4_1.label('button') o_3_2.pyChildren.append(o_4_1) o_4_2 = Fl_Button(140, 60, 60, 80, "button") o_4_2.pyChildren=[] o_4_2.label('button') o_3_2.pyChildren.append(o_4_2) o_3_2.selection_color(3) o_3_2.label('tab3') o_3_2.end() o_2_0.pyChildren.append(o_3_2) o_3_3 = Fl_Group(10, 30, 300, 180, "tab4") o_3_3.pyChildren=[] o_4_0 = Fl_Button(20, 50, 60, 110, "button2") o_4_0.pyChildren=[] o_4_0.label('button2') o_3_3.pyChildren.append(o_4_0) o_4_1 = Fl_Button(80, 50, 60, 110, "button") o_4_1.pyChildren=[] o_4_1.label('button') o_3_3.pyChildren.append(o_4_1) o_4_2 = Fl_Button(140, 50, 60, 110, "button") o_4_2.pyChildren=[] o_4_2.label('button') o_3_3.pyChildren.append(o_4_2) o_3_3.selection_color(5) o_3_3.labelfont(2) o_3_3.label('tab4') o_3_3.end() o_2_0.pyChildren.append(o_3_3) o_3_4 = Fl_Group(10, 30, 300, 180, " tab5 ") o_3_4.pyChildren=[] o_4_0 = Fl_Button(20, 80, 60, 80, "button2") o_4_0.pyChildren=[] o_4_0.label('button2') o_3_4.pyChildren.append(o_4_0) o_4_1 = Fl_Button(90, 90, 60, 80, "button") o_4_1.pyChildren=[] o_4_1.label('button') o_3_4.pyChildren.append(o_4_1) o_4_2 = Fl_Clock(160, 50, 100, 100, "Make sure this clock does not use processor time when this tab is hidden or window is iconized") o_4_2.pyChildren=[] o_4_2.selection_color(0) o_4_2.align(130) o_4_2.labelsize(10) o_4_2.box(fl_define_FL_OVAL_BOX()+1) o_4_2.labelfont(8) o_4_2.color(238) o_4_2.label('Make sure this clock does not use processor time when this tab is hidden or window is iconized') o_3_4.pyChildren.append(o_4_2) o_3_4.labeltype(fl_define_FL_ENGRAVED_LABEL()) o_3_4.label(' tab5 ') o_3_4.end() o_2_0.pyChildren.append(o_3_4) o_2_0.selection_color(7) o_2_0.resizable(o_2_0.this) o_2_0.end() foo_window.pyChildren.append(o_2_0) o_2_1 = Fl_Input(60, 220, 130, 30, "inputA:") o_2_1.pyChildren=[] o_2_1.label('inputA:') foo_window.pyChildren.append(o_2_1) o_2_2 = Fl_Input(60, 250, 250, 30, "inputB:") o_2_2.pyChildren=[] o_2_2.label('inputB:') foo_window.pyChildren.append(o_2_2) o_2_3 = Fl_Button(180, 290, 60, 30, "cancel") o_2_3.pyChildren=[] o_2_3.label('cancel') #\#include # extra code foo_window.pyChildren.append(o_2_3) o_2_4 = Fl_Return_Button(250, 290, 60, 30, "OK") o_2_4.pyChildren=[] o_2_4.label('OK') #\#include # extra code foo_window.pyChildren.append(o_2_4) foo_window.resizable(foo_window.this) foo_window.end() return foo_window if __name__=='__main__': import sys window = main() window.show(len(sys.argv), sys.argv) Fl.run() pyFltk-1.3.0/fltk/test/clock.py0000755000175100017510000000302411651413735014774 0ustar heldheld# # "$Id: clock.py 103 2005-06-24 13:55:26Z andreasheld $" # # Clock test program for pyFLTK the Python bindings # for the Fast Light Tool Kit (FLTK). # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys window = Fl_Window(220,220,"Fl_Clock") c1 = Fl_Clock(0,0,220,220,"test") window.resizable(c1); window.end(); window2 = Fl_Window(220,220,"Fl_Round_Clock") c2 = Fl_Round_Clock(0,0,220,220) window2.resizable(c2); window2.end(); # // my machine had a clock* Xresource set for another program, so # // I don't want the class to be "clock": # window.xclass("Fl_Clock") # window2.xclass("Fl_Clock") window.show(len(sys.argv),sys.argv) window2.show() Fl.run() pyFltk-1.3.0/fltk/test/sudoku.py0000644000175100017510000005335211651413735015221 0ustar heldheld# # "$Id: sudoku.py 202 2006-02-16 07:30:04Z andreasheld $" # # Sudoku game using pyFLTK, the Python bindings # for the Fast Light Tool Kit (FLTK). # Port of the game by Michael Sweet # Copyright 2005-2006 by Michael Sweet. # # FLTK copyright 1998-1999 by Bill Spitzak and others. # pyFLTK copyright 2003 by Andreas Held and others. # # This library is free software you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "pyfltk-user@lists.sourceforge.net". # from fltk import * import sys, time, random import pdb # default sizes GROUP_SIZE = 160 CELL_SIZE = 50 CELL_OFFSET = 5 MENU_OFFSET = 25 # Sudoku cell class class SudokuCell(Fl_Widget): readonly_ = 0 #test_value_ = [0]*8 test_value_ = [] value_ = 0 parent_ = None def __init__(self, X, Y, W, H): Fl_Widget.__init__(self, X, Y, W, H) self.test_value_ = [0]*8 def readonly(self, arg = None): if arg == None: return self.readonly_ else: self.readonly_ = arg def value(self, arg = None): if arg == None: return self.value_ else: self.value_ = arg def test_value(self, pos, value = -1): if value == -1: return self.test_value_[pos] else: self.test_value_[pos] = value self.redraw() def draw(self): align = [FL_ALIGN_TOP_LEFT, FL_ALIGN_TOP, FL_ALIGN_TOP_RIGHT, FL_ALIGN_RIGHT, FL_ALIGN_BOTTOM_RIGHT, FL_ALIGN_BOTTOM, FL_ALIGN_BOTTOM_LEFT, FL_ALIGN_LEFT] # draw the cell ... if self.readonly(): fl_draw_box(FL_UP_BOX, self.x(), self.y(), self.w(), self.h(), self.color()) else: fl_draw_box(FL_DOWN_BOX, self.x(), self.y(), self.w(), self.h(), self.color()) # draw the cell background ... if Fl.focus() == self: c = fl_color_average(FL_SELECTION_COLOR, self.color(), 0.5) fl_color(c) fl_rectf(self.x()+4, self.y()+4, self.w()-8, self.h()-8) fl_color(fl_contrast(self.labelcolor(), c)) else: fl_color(self.labelcolor()) # draw the cell value ... s = str(self.value()) if self.value() > 0: fl_font(FL_HELVETICA_BOLD, self.h()-10) fl_draw(s, self.x(), self.y(), self.w(), self.h(), FL_ALIGN_CENTER) fl_font(FL_HELVETICA_BOLD, self.h()/5) for i in range(8): if self.test_value_[i] != 0: s = str(self.test_value_[i]) fl_draw(s, self.x()+5, self.y()+5, self.w()-10, self.h()-10, align[i]) # handle events def handle(self, event): if event == FL_FOCUS: Fl.focus(self) self.redraw() return 1 elif event == FL_UNFOCUS: self.redraw() return 1 elif event == FL_PUSH: if Fl.event_inside(self): if Fl.event_clicks(): if self.value(): if self.value() < 9: self.value(self.value()+1) else: self.value(1) else: self.value(self.parent_.next_value(self)) Fl.focus(self) self.redraw() return 1 elif event == FL_KEYDOWN: if Fl.event_state() & FL_CTRL: pass else: key = Fl.event_key()-ord('0') if key < 0 or key > 9: key = Fl.event_key()-FL_KP-ord('0') if key >= 0 and key <= 9: if self.readonly(): fl_beep(FL_BEEP_ERROR) return 1 if Fl.event_state() & (FL_SHIFT | FL_CAPS_LOCK): status = 0 for i in range(8): if self.test_value_[i] == key: self.test_value_[i] = 0 break else: for i in range(8): if self.test_value_[i] == 0: self.test_value_[i] = key break else: for i in range(7): self.test_value_[i] = self.test_value_[i+1] self.test_value_[7] = key self.redraw() else: self.value(key) self.do_callback() return 1 return Fl_Widget.handle(self, event) # Sudoku window class class Sudoku(Fl_Window): grid_groups = [[]]*3 grid_cells = [[]]*9 grid_values = [[]]*9 seed = 0.0 help_dialog_ = None def __init__(self): Fl_Window.__init__(self, GROUP_SIZE*3, GROUP_SIZE*3+MENU_OFFSET, "pySudoku") items = [[ "&Game", 0, 0, 0, FL_SUBMENU ], [ "&New Game", FL_COMMAND | ord('n'), self.new_cb, self, FL_MENU_DIVIDER ], [ "&Check Game", FL_COMMAND | ord('c'), self.check_cb, 0, 0 ], [ "&Restart Game", FL_COMMAND | ord('r'), self.restart_cb, 0, 0 ], [ "&Solve Game", FL_COMMAND | ord('s'), self.solve_cb, 0, FL_MENU_DIVIDER ], [ "&Quit", FL_COMMAND | ord('q'), self.close_cb, 0, 0 ], [ None, 0 ], [ "&Difficulty", 0, 0, 0, FL_SUBMENU ], [ "&Easy", 0, self.diff_cb, "0", FL_MENU_RADIO ], [ "&Medium", 0, self.diff_cb, "1", FL_MENU_RADIO ], [ "&Hard", 0, self.diff_cb, "2", FL_MENU_RADIO ], [ "&Impossible", 0, self.diff_cb, "3", FL_MENU_RADIO ], [ None, 0 ], [ "&Help", 0, 0, 0, FL_SUBMENU ], [ "&About Sudoku", FL_F + 1, self.help_cb, 0, 0 ], [ None, 0 ], [ None, 0 ] ] #pdb.set_trace() self.prefs = Fl_Preferences(Fl_Preferences.USER, "fltk.org", "pysudoku") (status, self.difficulty) = self.prefs.get("difficulty", 0) if self.difficulty < 0 or self.difficulty > 3: self.difficulty = 0 items[8+self.difficulty][4] = items[8+self.difficulty][4] | FL_MENU_VALUE new_items = [] for item in items: new_items.append(tuple(item)) self.menubar = Fl_Menu_Bar(0, 0, 3*GROUP_SIZE, 25) self.menubar.menu(tuple(new_items)) # create the grids ... self.grid = Fl_Group(0, MENU_OFFSET, 3*GROUP_SIZE, 3*GROUP_SIZE) for i in range(3): for j in range(3): g = Fl_Group(j*GROUP_SIZE, i*GROUP_SIZE+MENU_OFFSET, GROUP_SIZE, GROUP_SIZE) g.box(FL_BORDER_BOX) if i==1 ^ j==1: g.color(FL_DARK3) else: g.color(FL_DARK2) g.end() self.grid_groups[i].append(g) for i in range(9): self.grid_cells[i] = [] for j in range(9): cell = SudokuCell(j * CELL_SIZE + CELL_OFFSET + (j / 3) * (GROUP_SIZE - 3 * CELL_SIZE), i * CELL_SIZE + CELL_OFFSET + MENU_OFFSET + (i / 3) * (GROUP_SIZE - 3 * CELL_SIZE), CELL_SIZE, CELL_SIZE) cell.parent_ = self cell.callback(self.reset_cb) cell.readonly(0) self.grid_cells[i].append(cell) # catch window close events... self.callback(self.close_cb, 0) # make the window resizable ... self.resizable(self.grid) self.size_range(3*GROUP_SIZE, 3 * GROUP_SIZE + MENU_OFFSET, 0, 0, 5, 5, 1) # restore the previous window dimensions ... X = -1 Y = -1 W = 3*GROUP_SIZE H = 3*GROUP_SIZE+MENU_OFFSET (status, X) = self.prefs.get("x", -1) if status: (status, Y) = self.prefs.get("y", -1) (status, W) = self.prefs.get("w", 3 * GROUP_SIZE) (status, H) = self.prefs.get("h", 3 * GROUP_SIZE+MENU_OFFSET) self.resize(X, Y, W, H) self.set_title() # check for a solution to the game def check_cb(self, widget, data): self.check_game() # check if the user has correctly solved the game def check_game(self, highlight = 1): empty = False correct = True # check the game for right/wrong answers for i in range(9): for j in range(9): cell = self.grid_cells[i][j] if cell.readonly() == 1: continue val = cell.value() if val == 0: empty = True else: loop_done = 0 for k in range(9): if (i != k and self.grid_cells[k][j].value() == val) or (j != k and self.grid_cells[i][k].value() == val): break else: loop_done = 1 if loop_done == 0: if highlight == 1: cell.color(FL_YELLOW) cell.redraw() correct = False elif highlight == 1: cell.color(FL_LIGHT3) cell.redraw() # check subgrids for duplicate numbers for i in range(0,9,3): for j in range(0,9,3): for ii in range(3): for jj in range(3): cell = self.grid_cells[i+ii][j+jj] val = cell.value() if cell.readonly() == 1 or val == 0: continue break_loop = 0 for iii in range(3): for jjj in range(3): if not ii == iii and not jj == jjj and self.grid_cells[i+iii][j+jjj].value() == val: break_loop = 1 break if break_loop == 1: break if break_loop == 1: if highlight == 1: cell.color(FL_YELLOW) cell.redraw() correct = False if not empty and correct: # success for i in range(9): for j in range(9): cell = self.grid_cells[i][j] cell.color(FL_GREEN) cell.redraw() cell.readonly(1) # close the window, saving the game first... def close_cb(self, widget, data): self.prefs = None self.hide() # set the level of difficulty def diff_cb(self, widget, d): diff = ord(d)-ord('0') #pdb.set_trace() if diff != self.difficulty: self.difficulty = diff self.new_game(self.seed) self.set_title() self.redraw() self.prefs.set("difficulty", diff) # show the online help def help_cb(self, widget, data): if (self.help_dialog_ == None) : self.help_dialog_ = Fl_Help_Dialog() self.help_dialog_.value( "\n" "\n" "Sudoku Help\n" "\n" "\n" "

About the Game

\n" "

Sudoku (pronounced soo-dough-coo with the emphasis on the\n" "first syllable) is a simple number-based puzzle/game played on a\n" "9x9 grid that is divided into 3x3 subgrids. The goal is to enter\n" "a number from 1 to 9 in each cell so that each number appears\n" "only once in each column and row. In addition, each 3x3 subgrid\n" "may only contain one of each number.

\n" "

This version of the puzzle is Copyright 2005 by Michael R Sweet

\n" "

How to Play the Game

\n" "

At the start of a new game, Sudoku fills in a random selection\n" "of cells for you - the number of cells depends on the difficulty\n" "level you use. Click in any of the empty cells or use the arrow\n" "keys to highlight individual cells and press a number from 1 to 9\n" "to fill in the cell. To clear a cell, press 0, Delete, or\n" "Backspace. When you have successfully completed all subgrids, the\n" "entire puzzle is highlighted in green until you start a new\n" "game.

\n" "

As you work to complete the puzzle, you can display possible\n" "solutions inside each cell by holding the Shift key and pressing\n" "each number in turn. Repeat the process to remove individual\n" "numbers, or press a number without the Shift key to replace them\n" "with the actual number to use.

\n" "\n" ) self.help_dialog_.show() # load the game from saved preferences def load_game(self): # Load the current values and state of each grid... for i in range(9): if len(self.grid_values[i]) != 9: self.grid_values[i] = [0]*9 else: for j in range(9): self.grid_values[i][j] = 0 solved = True for i in range(9): for j in range(9): cell = self.grid_cells[i][j] name = "value%d.%d"%(i,j) val = 0 (status, val) = self.prefs.get(name, 0) if status == 0: self.grid_values[0][0] = 0 break self.grid_values[i][j] = val name = "state%d.%d"%(i,j) (status, val) = self.prefs.get(name, 0) cell.readonly(val) if val != 0: cell.color(FL_GRAY) else: cell.color(FL_LIGHT3) solved = False for k in range(8): name = "test%d%d.%d"%(k, i, j) (status, val) = self.prefs.get(name, 0) cell.test_value(k, val) # If we didn't load any values or the last game was solved, then # create a new game automatically... if solved or self.grid_values[0][0] == 0: self.new_game(0) else: self.check_game(False); # create a new game ... def new_cb(self, widget, data): s = data if s.grid_cells[0][0].color() != FL_GREEN: if not fl_choice("Are you sure you want to change the difficulty level and " "discard the current game?", "Keep Current Game", "Start New Game", None): return s.new_game(time.time()) s.redraw() # create a new game ... def new_game(self, seed): # Generate a new (valid) Sudoku grid... self.seed = seed random.seed(seed) ValidPuzzle = 0 while ValidPuzzle == 0: ValidPuzzle = 1 for i in range(9): self.grid_values[i] = [] for j in range(9): self.grid_values[i].append(0) # loop over all cells for i in range(0,9,3): for j in range(0,9,3): # get all possible positions pos = [] for ii in range(3): for jj in range(3): pos.append([ii,jj]) # for all possible numbers for t in range(1,10): for count in range(30): p1 = random.randint(0, len(pos)-1) k = i+pos[p1][0] m = j+pos[p1][1] if self.grid_values[k][m] == 0: t1 = [] t2 = [] if m > 0: t1 = self.grid_values[k][:m] if k > 0: t2 = [r[m] for r in self.grid_values][:k] if t not in t1 and t not in t2: self.grid_values[k][m] = t done = 1 del pos[p1] break else: ValidPuzzle = 0 break if ValidPuzzle == 0: break if ValidPuzzle == 0: break # Start by making all cells editable cell = None for i in range(9): for j in range(9): cell = self.grid_cells[i][j] cell.value(0) cell.readonly(0) cell.color(FL_LIGHT3) # Show N cells... count = 10 * (5 - self.difficulty) numbers = range(10)[1:] while count > 0: for i in range(20): k = random.randint(0,8) m = random.randint(0,8) t =numbers[k] numbers[k] = numbers[m] numbers[m] = t i = -1 while count > 0 and i < 8: i += 1 t = numbers[i] j = -1 while count > 0 and j < 8: j += 1 cell = self.grid_cells[i][j] if self.grid_values[i][j] == t and cell.readonly() == 0: cell.value(self.grid_values[i][j]) cell.readonly(1) cell.color(FL_GRAY) count -= 1 break def next_value(self, c): # find the cell xpos = -1 ypos = -1 for i in range(9): for j in range(9): if self.grid_cells[i][j] == c: xpos = i ypos = j break if xpos > -1: break if xpos < 0: return 1 i -= i % 3 j -= j % 3 #numbers = map(0, range(9)) numbers = [0]*9 for k in range(3): for m in range(3): c = self.grid_cells[i+k][j+m] if c.value(): numbers[c.value()-1] = 1 for i in range(9): if not numbers[i]: return i+1 return 1 # reset widget color to gray def reset_cb(self, widget): widget.color(FL_LIGHT3) widget.redraw() self.check_game(0) # resize the window def resize(self, X, Y, W, H): # resize the window Fl_Window.resize(self, X, Y, W, H) # save the new window geometry self.prefs.set("x", X); self.prefs.set("y", Y); self.prefs.set("width", W); self.prefs.set("height", H); def restart_cb(self, widget, data): Solved = True; for i in range(9): for j in range(9): cell = self.grid_cells[i][j] if cell.readonly() == 0: Solved = False v = cell.value() cell.value(0) cell.color(FL_LIGHT3) if Solved: self.new_game(self.seed) def save_game(self): # Save the current values and state of each grid... for i in range(9): for j in range(9): cell = self.grid_cells[i][j] name = "value%d.%d"%(i,j) self.prefs.set(name, self.grid_values[i][j]) name = "state%d.%d"%(i, j) self.prefs.set(name, cell.value()) name = "readonly%d.%d"%(i, j) self.prefs.set(name, cell.readonly()) for k in range(8): name = "test%d%d.%d"%(k, i, j) self.prefs.set(name, cell.test_value(k)) def set_title(self): titles = ["pySudoku - Easy", "pySudoku - Medium", "pySudoku - Hard", "pySudoku - Impossible"] self.label(titles[self.difficulty]) # solve the puzzle def solve_cb(self, widget, data): self.solve_game() def solve_game(self): try: for i in range(9): for j in range(9): cell = self.grid_cells[i][j] cell.value(self.grid_values[i][j]) cell.readonly(1) cell.color(FL_GRAY) cell.redraw() self.redraw() except IndexError: print "IndexError" # we reach here if the puzzle has not been initialized yet pass # main entry if __name__=='__main__': s = Sudoku() # show the game s.show(sys.argv) # load the previous game s.load_game() # run Fl.run() pyFltk-1.3.0/fltk/__init__.py0000644000175100017510000154440711651413735014476 0ustar heldheld# This file was automatically generated by SWIG (http://www.swig.org). # Version 2.0.4 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. """ pyFltk, the Python bindings to the FLTK GUI toolkit. This is an easy to use and light-weight GUI toolkit offering basic capabilities for the creation of graphical user interfaces. """ from sys import version_info if version_info >= (2,6,0): def swig_import_helper(): from os.path import dirname import imp fp = None try: fp, pathname, description = imp.find_module('_fltk', [dirname(__file__)]) except ImportError: import _fltk return _fltk if fp is not None: try: _mod = imp.load_module('_fltk', fp, pathname, description) finally: fp.close() return _mod _fltk = swig_import_helper() del swig_import_helper else: import _fltk del version_info try: _swig_property = property except NameError: pass # Python < 2.2 doesn't have 'property'. def _swig_setattr_nondynamic(self,class_type,name,value,static=1): if (name == "thisown"): return self.this.own(value) if (name == "this"): if type(value).__name__ == 'SwigPyObject': self.__dict__[name] = value return method = class_type.__swig_setmethods__.get(name,None) if method: return method(self,value) if (not static): self.__dict__[name] = value else: raise AttributeError("You cannot add attributes to %s" % self) def _swig_setattr(self,class_type,name,value): return _swig_setattr_nondynamic(self,class_type,name,value,0) def _swig_getattr(self,class_type,name): if (name == "thisown"): return self.this.own() method = class_type.__swig_getmethods__.get(name,None) if method: return method(self) raise AttributeError(name) def _swig_repr(self): try: strthis = "proxy of " + self.this.__repr__() except: strthis = "" return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) try: _object = object _newclass = 1 except AttributeError: class _object : pass _newclass = 0 def _swig_setattr_nondynamic_method(set): def set_attr(self,name,value): if (name == "thisown"): return self.this.own(value) if hasattr(self,name) or (name == "this"): set(self,name,value) else: raise AttributeError("You cannot add attributes to %s" % self) return set_attr try: import weakref weakref_proxy = weakref.proxy except: weakref_proxy = lambda x: x FL_MAJOR_VERSION = _fltk.FL_MAJOR_VERSION FL_MINOR_VERSION = _fltk.FL_MINOR_VERSION FL_PATCH_VERSION = _fltk.FL_PATCH_VERSION FL_NO_EVENT = _fltk.FL_NO_EVENT FL_PUSH = _fltk.FL_PUSH FL_RELEASE = _fltk.FL_RELEASE FL_ENTER = _fltk.FL_ENTER FL_LEAVE = _fltk.FL_LEAVE FL_DRAG = _fltk.FL_DRAG FL_FOCUS = _fltk.FL_FOCUS FL_UNFOCUS = _fltk.FL_UNFOCUS FL_KEYDOWN = _fltk.FL_KEYDOWN FL_KEYBOARD = _fltk.FL_KEYBOARD FL_KEYUP = _fltk.FL_KEYUP FL_CLOSE = _fltk.FL_CLOSE FL_MOVE = _fltk.FL_MOVE FL_SHORTCUT = _fltk.FL_SHORTCUT FL_DEACTIVATE = _fltk.FL_DEACTIVATE FL_ACTIVATE = _fltk.FL_ACTIVATE FL_HIDE = _fltk.FL_HIDE FL_SHOW = _fltk.FL_SHOW FL_PASTE = _fltk.FL_PASTE FL_SELECTIONCLEAR = _fltk.FL_SELECTIONCLEAR FL_MOUSEWHEEL = _fltk.FL_MOUSEWHEEL FL_DND_ENTER = _fltk.FL_DND_ENTER FL_DND_DRAG = _fltk.FL_DND_DRAG FL_DND_LEAVE = _fltk.FL_DND_LEAVE FL_DND_RELEASE = _fltk.FL_DND_RELEASE FL_WHEN_NEVER = _fltk.FL_WHEN_NEVER FL_WHEN_CHANGED = _fltk.FL_WHEN_CHANGED FL_WHEN_NOT_CHANGED = _fltk.FL_WHEN_NOT_CHANGED FL_WHEN_RELEASE = _fltk.FL_WHEN_RELEASE FL_WHEN_RELEASE_ALWAYS = _fltk.FL_WHEN_RELEASE_ALWAYS FL_WHEN_ENTER_KEY = _fltk.FL_WHEN_ENTER_KEY FL_WHEN_ENTER_KEY_ALWAYS = _fltk.FL_WHEN_ENTER_KEY_ALWAYS FL_WHEN_ENTER_KEY_CHANGED = _fltk.FL_WHEN_ENTER_KEY_CHANGED FL_Button = _fltk.FL_Button FL_BackSpace = _fltk.FL_BackSpace FL_Tab = _fltk.FL_Tab FL_Enter = _fltk.FL_Enter FL_Pause = _fltk.FL_Pause FL_Scroll_Lock = _fltk.FL_Scroll_Lock FL_Escape = _fltk.FL_Escape FL_Home = _fltk.FL_Home FL_Left = _fltk.FL_Left FL_Up = _fltk.FL_Up FL_Right = _fltk.FL_Right FL_Down = _fltk.FL_Down FL_Page_Up = _fltk.FL_Page_Up FL_Page_Down = _fltk.FL_Page_Down FL_End = _fltk.FL_End FL_Print = _fltk.FL_Print FL_Insert = _fltk.FL_Insert FL_Menu = _fltk.FL_Menu FL_Help = _fltk.FL_Help FL_Num_Lock = _fltk.FL_Num_Lock FL_KP = _fltk.FL_KP FL_KP_Enter = _fltk.FL_KP_Enter FL_KP_Last = _fltk.FL_KP_Last FL_F = _fltk.FL_F FL_F_Last = _fltk.FL_F_Last FL_Shift_L = _fltk.FL_Shift_L FL_Shift_R = _fltk.FL_Shift_R FL_Control_L = _fltk.FL_Control_L FL_Control_R = _fltk.FL_Control_R FL_Caps_Lock = _fltk.FL_Caps_Lock FL_Meta_L = _fltk.FL_Meta_L FL_Meta_R = _fltk.FL_Meta_R FL_Alt_L = _fltk.FL_Alt_L FL_Alt_R = _fltk.FL_Alt_R FL_Delete = _fltk.FL_Delete FL_Volume_Down = _fltk.FL_Volume_Down FL_Volume_Mute = _fltk.FL_Volume_Mute FL_Volume_Up = _fltk.FL_Volume_Up FL_Media_Play = _fltk.FL_Media_Play FL_Media_Stop = _fltk.FL_Media_Stop FL_Media_Prev = _fltk.FL_Media_Prev FL_Media_Next = _fltk.FL_Media_Next FL_Home_Page = _fltk.FL_Home_Page FL_Mail = _fltk.FL_Mail FL_Search = _fltk.FL_Search FL_Back = _fltk.FL_Back FL_Forward = _fltk.FL_Forward FL_Stop = _fltk.FL_Stop FL_Refresh = _fltk.FL_Refresh FL_Sleep = _fltk.FL_Sleep FL_Favorites = _fltk.FL_Favorites FL_LEFT_MOUSE = _fltk.FL_LEFT_MOUSE FL_MIDDLE_MOUSE = _fltk.FL_MIDDLE_MOUSE FL_RIGHT_MOUSE = _fltk.FL_RIGHT_MOUSE FL_SHIFT = _fltk.FL_SHIFT FL_CAPS_LOCK = _fltk.FL_CAPS_LOCK FL_CTRL = _fltk.FL_CTRL FL_ALT = _fltk.FL_ALT FL_NUM_LOCK = _fltk.FL_NUM_LOCK FL_META = _fltk.FL_META FL_SCROLL_LOCK = _fltk.FL_SCROLL_LOCK FL_BUTTON1 = _fltk.FL_BUTTON1 FL_BUTTON2 = _fltk.FL_BUTTON2 FL_BUTTON3 = _fltk.FL_BUTTON3 FL_BUTTONS = _fltk.FL_BUTTONS FL_KEY_MASK = _fltk.FL_KEY_MASK FL_COMMAND = _fltk.FL_COMMAND FL_CONTROL = _fltk.FL_CONTROL FL_NO_BOX = _fltk.FL_NO_BOX FL_FLAT_BOX = _fltk.FL_FLAT_BOX FL_UP_BOX = _fltk.FL_UP_BOX FL_DOWN_BOX = _fltk.FL_DOWN_BOX FL_UP_FRAME = _fltk.FL_UP_FRAME FL_DOWN_FRAME = _fltk.FL_DOWN_FRAME FL_THIN_UP_BOX = _fltk.FL_THIN_UP_BOX FL_THIN_DOWN_BOX = _fltk.FL_THIN_DOWN_BOX FL_THIN_UP_FRAME = _fltk.FL_THIN_UP_FRAME FL_THIN_DOWN_FRAME = _fltk.FL_THIN_DOWN_FRAME FL_ENGRAVED_BOX = _fltk.FL_ENGRAVED_BOX FL_EMBOSSED_BOX = _fltk.FL_EMBOSSED_BOX FL_ENGRAVED_FRAME = _fltk.FL_ENGRAVED_FRAME FL_EMBOSSED_FRAME = _fltk.FL_EMBOSSED_FRAME FL_BORDER_BOX = _fltk.FL_BORDER_BOX _FL_SHADOW_BOX = _fltk._FL_SHADOW_BOX FL_BORDER_FRAME = _fltk.FL_BORDER_FRAME _FL_SHADOW_FRAME = _fltk._FL_SHADOW_FRAME _FL_ROUNDED_BOX = _fltk._FL_ROUNDED_BOX _FL_RSHADOW_BOX = _fltk._FL_RSHADOW_BOX _FL_ROUNDED_FRAME = _fltk._FL_ROUNDED_FRAME _FL_RFLAT_BOX = _fltk._FL_RFLAT_BOX _FL_ROUND_UP_BOX = _fltk._FL_ROUND_UP_BOX _FL_ROUND_DOWN_BOX = _fltk._FL_ROUND_DOWN_BOX _FL_DIAMOND_UP_BOX = _fltk._FL_DIAMOND_UP_BOX _FL_DIAMOND_DOWN_BOX = _fltk._FL_DIAMOND_DOWN_BOX _FL_OVAL_BOX = _fltk._FL_OVAL_BOX _FL_OSHADOW_BOX = _fltk._FL_OSHADOW_BOX _FL_OVAL_FRAME = _fltk._FL_OVAL_FRAME _FL_OFLAT_BOX = _fltk._FL_OFLAT_BOX _FL_PLASTIC_UP_BOX = _fltk._FL_PLASTIC_UP_BOX _FL_PLASTIC_DOWN_BOX = _fltk._FL_PLASTIC_DOWN_BOX _FL_PLASTIC_UP_FRAME = _fltk._FL_PLASTIC_UP_FRAME _FL_PLASTIC_DOWN_FRAME = _fltk._FL_PLASTIC_DOWN_FRAME _FL_PLASTIC_THIN_UP_BOX = _fltk._FL_PLASTIC_THIN_UP_BOX _FL_PLASTIC_THIN_DOWN_BOX = _fltk._FL_PLASTIC_THIN_DOWN_BOX _FL_PLASTIC_ROUND_UP_BOX = _fltk._FL_PLASTIC_ROUND_UP_BOX _FL_PLASTIC_ROUND_DOWN_BOX = _fltk._FL_PLASTIC_ROUND_DOWN_BOX _FL_GTK_UP_BOX = _fltk._FL_GTK_UP_BOX _FL_GTK_DOWN_BOX = _fltk._FL_GTK_DOWN_BOX _FL_GTK_UP_FRAME = _fltk._FL_GTK_UP_FRAME _FL_GTK_DOWN_FRAME = _fltk._FL_GTK_DOWN_FRAME _FL_GTK_THIN_UP_BOX = _fltk._FL_GTK_THIN_UP_BOX _FL_GTK_THIN_DOWN_BOX = _fltk._FL_GTK_THIN_DOWN_BOX _FL_GTK_THIN_UP_FRAME = _fltk._FL_GTK_THIN_UP_FRAME _FL_GTK_THIN_DOWN_FRAME = _fltk._FL_GTK_THIN_DOWN_FRAME _FL_GTK_ROUND_UP_BOX = _fltk._FL_GTK_ROUND_UP_BOX _FL_GTK_ROUND_DOWN_BOX = _fltk._FL_GTK_ROUND_DOWN_BOX FL_FREE_BOXTYPE = _fltk.FL_FREE_BOXTYPE def fl_define_FL_ROUND_UP_BOX(*args): """fl_define_FL_ROUND_UP_BOX() -> Fl_Boxtype""" return _fltk.fl_define_FL_ROUND_UP_BOX(*args) def fl_define_FL_SHADOW_BOX(*args): """fl_define_FL_SHADOW_BOX() -> Fl_Boxtype""" return _fltk.fl_define_FL_SHADOW_BOX(*args) def fl_define_FL_ROUNDED_BOX(*args): """fl_define_FL_ROUNDED_BOX() -> Fl_Boxtype""" return _fltk.fl_define_FL_ROUNDED_BOX(*args) def fl_define_FL_RFLAT_BOX(*args): """fl_define_FL_RFLAT_BOX() -> Fl_Boxtype""" return _fltk.fl_define_FL_RFLAT_BOX(*args) def fl_define_FL_RSHADOW_BOX(*args): """fl_define_FL_RSHADOW_BOX() -> Fl_Boxtype""" return _fltk.fl_define_FL_RSHADOW_BOX(*args) def fl_define_FL_DIAMOND_BOX(*args): """fl_define_FL_DIAMOND_BOX() -> Fl_Boxtype""" return _fltk.fl_define_FL_DIAMOND_BOX(*args) def fl_define_FL_OVAL_BOX(*args): """fl_define_FL_OVAL_BOX() -> Fl_Boxtype""" return _fltk.fl_define_FL_OVAL_BOX(*args) def fl_define_FL_PLASTIC_UP_BOX(*args): """fl_define_FL_PLASTIC_UP_BOX() -> Fl_Boxtype""" return _fltk.fl_define_FL_PLASTIC_UP_BOX(*args) def fl_define_FL_GTK_UP_BOX(*args): """fl_define_FL_GTK_UP_BOX() -> Fl_Boxtype""" return _fltk.fl_define_FL_GTK_UP_BOX(*args) def fl_box(*args): """fl_box(Fl_Boxtype b) -> Fl_Boxtype""" return _fltk.fl_box(*args) def fl_down(*args): """fl_down(Fl_Boxtype b) -> Fl_Boxtype""" return _fltk.fl_down(*args) FL_NORMAL_LABEL = _fltk.FL_NORMAL_LABEL FL_NO_LABEL = _fltk.FL_NO_LABEL _FL_SHADOW_LABEL = _fltk._FL_SHADOW_LABEL _FL_ENGRAVED_LABEL = _fltk._FL_ENGRAVED_LABEL _FL_EMBOSSED_LABEL = _fltk._FL_EMBOSSED_LABEL _FL_MULTI_LABEL = _fltk._FL_MULTI_LABEL _FL_ICON_LABEL = _fltk._FL_ICON_LABEL _FL_IMAGE_LABEL = _fltk._FL_IMAGE_LABEL FL_FREE_LABELTYPE = _fltk.FL_FREE_LABELTYPE def fl_define_FL_SHADOW_LABEL(*args): """fl_define_FL_SHADOW_LABEL() -> Fl_Labeltype""" return _fltk.fl_define_FL_SHADOW_LABEL(*args) def fl_define_FL_ENGRAVED_LABEL(*args): """fl_define_FL_ENGRAVED_LABEL() -> Fl_Labeltype""" return _fltk.fl_define_FL_ENGRAVED_LABEL(*args) def fl_define_FL_EMBOSSED_LABEL(*args): """fl_define_FL_EMBOSSED_LABEL() -> Fl_Labeltype""" return _fltk.fl_define_FL_EMBOSSED_LABEL(*args) FL_NUM_FREE_COLOR = _fltk.FL_NUM_FREE_COLOR FL_NUM_GRAY = _fltk.FL_NUM_GRAY FL_NUM_RED = _fltk.FL_NUM_RED FL_NUM_GREEN = _fltk.FL_NUM_GREEN FL_NUM_BLUE = _fltk.FL_NUM_BLUE def fl_inactive(*args): """fl_inactive(Fl_Color c) -> Fl_Color""" return _fltk.fl_inactive(*args) def fl_contrast(*args): """fl_contrast(Fl_Color fg, Fl_Color bg) -> Fl_Color""" return _fltk.fl_contrast(*args) def fl_color_average(*args): """fl_color_average(Fl_Color c1, Fl_Color c2, float weight) -> Fl_Color""" return _fltk.fl_color_average(*args) def fl_lighter(*args): """fl_lighter(Fl_Color c) -> Fl_Color""" return _fltk.fl_lighter(*args) def fl_darker(*args): """fl_darker(Fl_Color c) -> Fl_Color""" return _fltk.fl_darker(*args) def fl_gray_ramp(*args): """fl_gray_ramp(int i) -> Fl_Color""" return _fltk.fl_gray_ramp(*args) def fl_color_cube(*args): """fl_color_cube(int r, int g, int b) -> Fl_Color""" return _fltk.fl_color_cube(*args) FL_CURSOR_DEFAULT = _fltk.FL_CURSOR_DEFAULT FL_CURSOR_ARROW = _fltk.FL_CURSOR_ARROW FL_CURSOR_CROSS = _fltk.FL_CURSOR_CROSS FL_CURSOR_WAIT = _fltk.FL_CURSOR_WAIT FL_CURSOR_INSERT = _fltk.FL_CURSOR_INSERT FL_CURSOR_HAND = _fltk.FL_CURSOR_HAND FL_CURSOR_HELP = _fltk.FL_CURSOR_HELP FL_CURSOR_MOVE = _fltk.FL_CURSOR_MOVE FL_CURSOR_NS = _fltk.FL_CURSOR_NS FL_CURSOR_WE = _fltk.FL_CURSOR_WE FL_CURSOR_NWSE = _fltk.FL_CURSOR_NWSE FL_CURSOR_NESW = _fltk.FL_CURSOR_NESW FL_CURSOR_NONE = _fltk.FL_CURSOR_NONE FL_CURSOR_N = _fltk.FL_CURSOR_N FL_CURSOR_NE = _fltk.FL_CURSOR_NE FL_CURSOR_E = _fltk.FL_CURSOR_E FL_CURSOR_SE = _fltk.FL_CURSOR_SE FL_CURSOR_S = _fltk.FL_CURSOR_S FL_CURSOR_SW = _fltk.FL_CURSOR_SW FL_CURSOR_W = _fltk.FL_CURSOR_W FL_CURSOR_NW = _fltk.FL_CURSOR_NW FL_READ = _fltk.FL_READ FL_WRITE = _fltk.FL_WRITE FL_EXCEPT = _fltk.FL_EXCEPT FL_RGB = _fltk.FL_RGB FL_INDEX = _fltk.FL_INDEX FL_SINGLE = _fltk.FL_SINGLE FL_DOUBLE = _fltk.FL_DOUBLE FL_ACCUM = _fltk.FL_ACCUM FL_ALPHA = _fltk.FL_ALPHA FL_DEPTH = _fltk.FL_DEPTH FL_STENCIL = _fltk.FL_STENCIL FL_RGB8 = _fltk.FL_RGB8 FL_MULTISAMPLE = _fltk.FL_MULTISAMPLE FL_STEREO = _fltk.FL_STEREO FL_FAKE_SINGLE = _fltk.FL_FAKE_SINGLE FL_IMAGE_WITH_ALPHA = _fltk.FL_IMAGE_WITH_ALPHA FL_DAMAGE_CHILD = _fltk.FL_DAMAGE_CHILD FL_DAMAGE_EXPOSE = _fltk.FL_DAMAGE_EXPOSE FL_DAMAGE_SCROLL = _fltk.FL_DAMAGE_SCROLL FL_DAMAGE_OVERLAY = _fltk.FL_DAMAGE_OVERLAY FL_DAMAGE_USER1 = _fltk.FL_DAMAGE_USER1 FL_DAMAGE_USER2 = _fltk.FL_DAMAGE_USER2 FL_DAMAGE_ALL = _fltk.FL_DAMAGE_ALL # events FL_KEYBOARD=FL_KEYDOWN # additional boxtypes instead of defines FL_ROUND_UP_BOX=fl_define_FL_ROUND_UP_BOX() FL_ROUND_DOWN_BOX=fl_define_FL_ROUND_UP_BOX()+1 FL_SHADOW_BOX=fl_define_FL_SHADOW_BOX() FL_SHADOW_FRAME=fl_define_FL_SHADOW_BOX()+2 FL_ROUNDED_BOX=fl_define_FL_ROUNDED_BOX() FL_ROUNDED_FRAME=fl_define_FL_ROUNDED_BOX()+2 FL_RFLAT_BOX=fl_define_FL_RFLAT_BOX() FL_RSHADOW_BOX=fl_define_FL_RSHADOW_BOX() FL_DIAMOND_UP_BOX=fl_define_FL_DIAMOND_BOX() FL_DIAMOND_DOWN_BOX=fl_define_FL_DIAMOND_BOX()+1 FL_OVAL_BOX=fl_define_FL_OVAL_BOX() FL_OSHADOW_BOX=fl_define_FL_OVAL_BOX()+1 FL_OVAL_FRAME=fl_define_FL_OVAL_BOX()+2 FL_OFLAT_BOX=fl_define_FL_OVAL_BOX()+3 FL_PLASTIC_UP_BOX=fl_define_FL_PLASTIC_UP_BOX() FL_PLASTIC_DOWN_BOX=fl_define_FL_PLASTIC_UP_BOX()+1 FL_PLASTIC_UP_FRAME=fl_define_FL_PLASTIC_UP_BOX()+2 FL_PLASTIC_DOWN_FRAME=fl_define_FL_PLASTIC_UP_BOX()+3 FL_PLASTIC_THIN_UP_BOX=fl_define_FL_PLASTIC_UP_BOX()+4 FL_PLASTIC_THIN_DOWN_BOX=fl_define_FL_PLASTIC_UP_BOX()+5 FL_PLASTIC_ROUND_UP_BOX=fl_define_FL_PLASTIC_UP_BOX()+6 FL_PLASTIC_ROUND_DOWN_BOX=fl_define_FL_PLASTIC_UP_BOX()+7 FL_GTK_UP_BOX=fl_define_FL_GTK_UP_BOX() FL_GTK_DOWN_BOX=fl_define_FL_GTK_UP_BOX()+1 FL_GTK_UP_FRAME=fl_define_FL_GTK_UP_BOX()+2 FL_GTK_DOWN_FRAME=fl_define_FL_GTK_UP_BOX()+3 FL_GTK_THIN_UP_BOX=fl_define_FL_GTK_UP_BOX()+4 FL_GTK_THIN_DOWN_BOX=fl_define_FL_GTK_UP_BOX()+5 FL_GTK_THIN_UP_FRAME=fl_define_FL_GTK_UP_BOX()+6 FL_GTK_THIN_DOWN_FRAME=fl_define_FL_GTK_UP_BOX()+7 FL_GTK_ROUND_UP_BOX=fl_define_FL_GTK_UP_BOX()+8 FL_GTK_ROUND_DOWN_BOX=fl_define_FL_GTK_UP_BOX()+9 # color defines FL_FOREGROUND_COLOR = 0 FL_BACKGROUND2_COLOR = 7 FL_INACTIVE_COLOR = 8 FL_SELECTION_COLOR = 15 FL_GRAY0 = 32 FL_DARK3 = 39 FL_DARK2 = 45 FL_DARK1 = 47 FL_BACKGROUND_COLOR = 49 FL_LIGHT1 = 50 FL_LIGHT2 = 52 FL_LIGHT3 = 54 FL_BLACK = 56 FL_RED = 88 FL_GREEN = 63 FL_YELLOW = 95 FL_BLUE = 216 FL_MAGENTA = 248 FL_CYAN = 223 FL_DARK_RED = 72 FL_DARK_GREEN = 60 FL_DARK_YELLOW = 76 FL_DARK_BLUE = 136 FL_DARK_MAGENTA = 152 FL_DARK_CYAN = 140 FL_WHITE = 255 FL_FREE_COLOR=16 FL_NUM_FREE_COLOR=16 FL_GRAY_RAMP=32 FL_NUM_GRAY=24 FL_GRAY=49 FL_COLOR_CUBE=56 FL_NUM_RED=5 FL_NUM_GREEN=8 FL_NUM_BLUE=5 # label defines FL_SYMBOL_LABEL=FL_NORMAL_LABEL FL_SHADOW_LABEL=fl_define_FL_SHADOW_LABEL() FL_ENGRAVED_LABEL=fl_define_FL_ENGRAVED_LABEL() FL_EMBOSSED_LABEL=fl_define_FL_EMBOSSED_LABEL() FL_ALIGN_CENTER=0 FL_ALIGN_TOP=1 FL_ALIGN_BOTTOM=2 FL_ALIGN_LEFT=4 FL_ALIGN_RIGHT=8 FL_ALIGN_INSIDE=16 FL_ALIGN_TEXT_OVER_IMAGE=32 FL_ALIGN_IMAGE_OVER_TEXT=0 FL_ALIGN_CLIP=64 FL_ALIGN_WRAP=128 FL_ALIGN_TOP_LEFT= FL_ALIGN_TOP | FL_ALIGN_LEFT FL_ALIGN_TOP_RIGHT= FL_ALIGN_TOP | FL_ALIGN_RIGHT FL_ALIGN_BOTTOM_LEFT= FL_ALIGN_BOTTOM | FL_ALIGN_LEFT FL_ALIGN_BOTTOM_RIGHT= FL_ALIGN_BOTTOM | FL_ALIGN_RIGHT FL_ALIGN_LEFT_TOP= FL_ALIGN_TOP_LEFT FL_ALIGN_RIGHT_TOP= FL_ALIGN_TOP_RIGHT FL_ALIGN_LEFT_BOTTOM= FL_ALIGN_BOTTOM_LEFT FL_ALIGN_RIGHT_BOTTOM= FL_ALIGN_BOTTOM_RIGHT FL_ALIGN_NOWRAP=0 # font defines FL_HELVETICA = 0 ## Helvetica (or Arial) normal (0) FL_HELVETICA_BOLD = 1 ## Helvetica (or Arial) bold FL_HELVETICA_ITALIC = 2 ## Helvetica (or Arial) oblique FL_HELVETICA_BOLD_ITALIC = 3 ## Helvetica (or Arial) bold-oblique FL_COURIER = 4 ## Courier normal FL_COURIER_BOLD = 5 ## Courier bold FL_COURIER_ITALIC = 6 ## Courier italic FL_COURIER_BOLD_ITALIC = 7 ## Courier bold-italic FL_TIMES = 8 ## Times roman FL_TIMES_BOLD = 9 ## Times roman bold FL_TIMES_ITALIC = 10 ## Times roman italic FL_TIMES_BOLD_ITALIC = 11 ## Times roman bold-italic FL_SYMBOL = 12 ## Standard symbol font FL_SCREEN = 13 ## Default monospaced screen font FL_SCREEN_BOLD = 14 ## Default monospaced bold screen font FL_ZAPF_DINGBATS = 15 ## Zapf-dingbats font FL_FREE_FONT = 16 ## first one to allocate FL_BOLD = 1 ## add this to helvetica, courier, or times FL_ITALIC = 2 ## add this to helvetica, courier, or times FL_BOLD_ITALIC = 3 ## add this to helvetica, courier, or times class Fl_Label(object): """Proxy of C++ Fl_Label class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)""" return _fltk.Fl_Label_draw(self, *args) def measure(self, *args): """measure(self, int w, int h)""" return _fltk.Fl_Label_measure(self, *args) def __init__(self, *args): """__init__(self) -> Fl_Label""" this = _fltk.new_Fl_Label(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Label __del__ = lambda self : None; Fl_Label_swigregister = _fltk.Fl_Label_swigregister Fl_Label_swigregister(Fl_Label) def fl_rgb_color(*args): """ fl_rgb_color(uchar r, uchar g, uchar b) -> Fl_Color fl_rgb_color(uchar g) -> Fl_Color """ return _fltk.fl_rgb_color(*args) class Fl_Widget(object): """ Fl_Widget is the base class for all widgets in FLTK. You can't create one of these because the constructor is not public. However you can subclass it. All 'property' accessing methods, such as color(), parent(), or argument() are implemented as trivial inline functions and thus are as fast and small as accessing fields in a structure. Unless otherwise noted, the property setting methods such as color(n) or label(s) are also trivial inline functions, even if they change the widget's appearance. It is up to the user code to call redraw() after these. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char label = 0L) -> Fl_Widget""" if self.__class__ == Fl_Widget: _self = None else: _self = self this = _fltk.new_Fl_Widget(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Widget __del__ = lambda self : None; def draw(self, *args): """draw(self)""" return _fltk.Fl_Widget_draw(self, *args) def handle(self, *args): """handle(self, int event) -> int""" return _fltk.Fl_Widget_handle(self, *args) def parent(self, *args): """ parent(self) -> Fl_Group parent(self, Fl_Group p) """ return _fltk.Fl_Widget_parent(self, *args) def type(self, *args): """ type(self) -> uchar type(self, uchar t) """ return _fltk.Fl_Widget_type(self, *args) def x(self, *args): """x(self) -> int""" return _fltk.Fl_Widget_x(self, *args) def y(self, *args): """y(self) -> int""" return _fltk.Fl_Widget_y(self, *args) def w(self, *args): """w(self) -> int""" return _fltk.Fl_Widget_w(self, *args) def h(self, *args): """h(self) -> int""" return _fltk.Fl_Widget_h(self, *args) def resize(self, *args): """resize(self, int x, int y, int w, int h)""" return _fltk.Fl_Widget_resize(self, *args) def damage_resize(self, *args): """damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int""" return _fltk.Fl_Widget_damage_resize(self, *args) def position(self, *args): """position(self, int X, int Y)""" return _fltk.Fl_Widget_position(self, *args) def size(self, *args): """size(self, int W, int H)""" return _fltk.Fl_Widget_size(self, *args) def align(self, *args): """ align(self) -> Fl_Align align(self, Fl_Align alignment) """ return _fltk.Fl_Widget_align(self, *args) def box(self, *args): """ box(self) -> Fl_Boxtype box(self, Fl_Boxtype new_box) """ return _fltk.Fl_Widget_box(self, *args) def selection_color(self, *args): """ selection_color(self) -> Fl_Color selection_color(self, Fl_Color a) """ return _fltk.Fl_Widget_selection_color(self, *args) def color(self, *args): """ color(self) -> Fl_Color color(self, Fl_Color bg) color(self, Fl_Color bg, Fl_Color sel) """ return _fltk.Fl_Widget_color(self, *args) def copy_label(self, *args): """copy_label(self, char new_label)""" return _fltk.Fl_Widget_copy_label(self, *args) def label(self, *args): """ label(self) -> char label(self, char text) label(self, Fl_Labeltype a, char b) """ val = _fltk.Fl_Widget_label(self, *args) if len(args) > 0: self.my_label = args[len(args)-1] return val def labeltype(self, *args): """ labeltype(self) -> Fl_Labeltype labeltype(self, Fl_Labeltype a) """ return _fltk.Fl_Widget_labeltype(self, *args) def labelcolor(self, *args): """ labelcolor(self) -> Fl_Color labelcolor(self, Fl_Color c) """ return _fltk.Fl_Widget_labelcolor(self, *args) def labelfont(self, *args): """ labelfont(self) -> Fl_Font labelfont(self, Fl_Font f) """ return _fltk.Fl_Widget_labelfont(self, *args) def labelsize(self, *args): """ labelsize(self) -> Fl_Fontsize labelsize(self, Fl_Fontsize pix) """ return _fltk.Fl_Widget_labelsize(self, *args) def image(self, *args): """ image(self) -> Fl_Image image(self) -> Fl_Image image(self, Fl_Image img) """ val = _fltk.Fl_Widget_image(self, *args) if len(args) > 0: #delegate ownership to C++ self.my_image = args[0] return val def deimage(self, *args): """ deimage(self) -> Fl_Image deimage(self) -> Fl_Image deimage(self, Fl_Image img) """ val = _fltk.Fl_Widget_deimage(self, *args) if len(args) > 0: #delegate ownership to C++ self.my_deimage = args[0] return val def tooltip(self, *args): """ tooltip(self) -> char tooltip(self, char text) """ return _fltk.Fl_Widget_tooltip(self, *args) def copy_tooltip(self, *args): """copy_tooltip(self, char text)""" return _fltk.Fl_Widget_copy_tooltip(self, *args) def argument(self, *args): """ argument(self) -> long argument(self, long v) """ return _fltk.Fl_Widget_argument(self, *args) def when(self, *args): """ when(self) -> Fl_When when(self, uchar i) """ return _fltk.Fl_Widget_when(self, *args) def visible(self, *args): """visible(self) -> unsigned int""" return _fltk.Fl_Widget_visible(self, *args) def visible_r(self, *args): """visible_r(self) -> int""" return _fltk.Fl_Widget_visible_r(self, *args) def show(self, *args): """show(self)""" return _fltk.Fl_Widget_show(self, *args) def hide(self, *args): """hide(self)""" return _fltk.Fl_Widget_hide(self, *args) def set_visible(self, *args): """set_visible(self)""" return _fltk.Fl_Widget_set_visible(self, *args) def clear_visible(self, *args): """clear_visible(self)""" return _fltk.Fl_Widget_clear_visible(self, *args) def active(self, *args): """active(self) -> unsigned int""" return _fltk.Fl_Widget_active(self, *args) def active_r(self, *args): """active_r(self) -> int""" return _fltk.Fl_Widget_active_r(self, *args) def activate(self, *args): """activate(self)""" return _fltk.Fl_Widget_activate(self, *args) def deactivate(self, *args): """deactivate(self)""" return _fltk.Fl_Widget_deactivate(self, *args) def output(self, *args): """output(self) -> unsigned int""" return _fltk.Fl_Widget_output(self, *args) def set_output(self, *args): """set_output(self)""" return _fltk.Fl_Widget_set_output(self, *args) def clear_output(self, *args): """clear_output(self)""" return _fltk.Fl_Widget_clear_output(self, *args) def takesevents(self, *args): """takesevents(self) -> unsigned int""" return _fltk.Fl_Widget_takesevents(self, *args) def changed(self, *args): """changed(self) -> unsigned int""" return _fltk.Fl_Widget_changed(self, *args) def set_changed(self, *args): """set_changed(self)""" return _fltk.Fl_Widget_set_changed(self, *args) def clear_changed(self, *args): """clear_changed(self)""" return _fltk.Fl_Widget_clear_changed(self, *args) def take_focus(self, *args): """take_focus(self) -> int""" return _fltk.Fl_Widget_take_focus(self, *args) def set_visible_focus(self, *args): """set_visible_focus(self)""" return _fltk.Fl_Widget_set_visible_focus(self, *args) def clear_visible_focus(self, *args): """clear_visible_focus(self)""" return _fltk.Fl_Widget_clear_visible_focus(self, *args) def visible_focus(self, *args): """ visible_focus(self, int v) visible_focus(self) -> unsigned int """ return _fltk.Fl_Widget_visible_focus(self, *args) def default_callback(*args): """default_callback(Fl_Widget cb, void d)""" return _fltk.Fl_Widget_default_callback(*args) default_callback = staticmethod(default_callback) def do_callback(self, *args): """ do_callback(self) do_callback(self, Fl_Widget o, long arg) do_callback(self, Fl_Widget o, void arg = None) """ return _fltk.Fl_Widget_do_callback(self, *args) def label_shortcut(*args): """label_shortcut(char t) -> unsigned int""" return _fltk.Fl_Widget_label_shortcut(*args) label_shortcut = staticmethod(label_shortcut) def test_shortcut(*args): """ test_shortcut() -> int test_shortcut(char arg0, bool require_alt = False) -> int """ return _fltk.Fl_Widget_test_shortcut(*args) test_shortcut = staticmethod(test_shortcut) def contains(self, *args): """contains(self, Fl_Widget w) -> int""" return _fltk.Fl_Widget_contains(self, *args) def inside(self, *args): """inside(self, Fl_Widget w) -> int""" return _fltk.Fl_Widget_inside(self, *args) def redraw(self, *args): """redraw(self)""" return _fltk.Fl_Widget_redraw(self, *args) def redraw_label(self, *args): """redraw_label(self)""" return _fltk.Fl_Widget_redraw_label(self, *args) def clear_damage(self, *args): """clear_damage(self, uchar c = 0)""" return _fltk.Fl_Widget_clear_damage(self, *args) def damage(self, *args): """ damage(self) -> uchar damage(self, uchar c) damage(self, uchar c, int x, int y, int w, int h) """ return _fltk.Fl_Widget_damage(self, *args) def measure_label(self, *args): """measure_label(self, int ww, int hh)""" return _fltk.Fl_Widget_measure_label(self, *args) def window(self, *args): """window(self) -> Fl_Window""" return _fltk.Fl_Widget_window(self, *args) def as_group(self, *args): """as_group(self) -> Fl_Group""" return _fltk.Fl_Widget_as_group(self, *args) def as_window(self, *args): """as_window(self) -> Fl_Window""" return _fltk.Fl_Widget_as_window(self, *args) def as_gl_window(self, *args): """as_gl_window(self) -> Fl_Gl_Window""" return _fltk.Fl_Widget_as_gl_window(self, *args) def color2(self, *args): """ color2(self) -> Fl_Color color2(self, unsigned int a) """ return _fltk.Fl_Widget_color2(self, *args) def draw_label(self, *args): """ draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4) draw_label(self) """ return _fltk.Fl_Widget_draw_label(self, *args) def callback(self, *args): """ callback(self) -> Fl_Callback_p callback(self, Fl_Callback cb, void p) callback(self, Fl_Callback cb) callback(self, Fl_Callback0 cb) callback(self, Fl_Callback1 cb, long p = 0) callback(self, PyObject PyFunc, PyObject PyWidget, PyObject PyData = None) """ return _fltk.Fl_Widget_callback(self, *args) def user_data(self, *args): """ user_data(self) user_data(self, void v) user_data(self, PyObject PyData) user_data(self) -> PyObject """ return _fltk.Fl_Widget_user_data(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Widget(self) return weakref_proxy(self) Fl_Widget_swigregister = _fltk.Fl_Widget_swigregister Fl_Widget_swigregister(Fl_Widget) def Fl_Widget_default_callback(*args): """Fl_Widget_default_callback(Fl_Widget cb, void d)""" return _fltk.Fl_Widget_default_callback(*args) def Fl_Widget_label_shortcut(*args): """Fl_Widget_label_shortcut(char t) -> unsigned int""" return _fltk.Fl_Widget_label_shortcut(*args) def Fl_Widget_test_shortcut(*args): """ test_shortcut() -> int Fl_Widget_test_shortcut(char arg0, bool require_alt = False) -> int """ return _fltk.Fl_Widget_test_shortcut(*args) FL_RESERVED_TYPE = _fltk.FL_RESERVED_TYPE class Fl_Group(Fl_Widget): """ The Fl_Group class is the FLTK container widget. It maintains an array of child widgets. These children can themselves be any widget including Fl_Group. The most important subclass of Fl_Group is Fl_Window, however groups can also be used to control radio buttons or to enforce resize behavior. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Group_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Group_handle(self, *args) def begin(self, *args): """begin(self)""" return _fltk.Fl_Group_begin(self, *args) def end(self, *args): """end(self)""" return _fltk.Fl_Group_end(self, *args) def current(*args): """ current() -> Fl_Group current(Fl_Group g) """ return _fltk.Fl_Group_current(*args) current = staticmethod(current) def children(self, *args): """children(self) -> int""" return _fltk.Fl_Group_children(self, *args) def child(self, *args): """child(self, int n) -> Fl_Widget""" return _fltk.Fl_Group_child(self, *args) def find(self, *args): """find(self, Fl_Widget o) -> int""" return _fltk.Fl_Group_find(self, *args) def resize(self, *args): """resize(self, int arg0, int arg1, int arg2, int arg3)""" return _fltk.Fl_Group_resize(self, *args) def __init__(self, *args): """__init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Group""" if self.__class__ == Fl_Group: _self = None else: _self = self this = _fltk.new_Fl_Group(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Group __del__ = lambda self : None; def add(self, *args): """add(self, Fl_Widget o)""" val = _fltk.Fl_Group_add(self, *args) #self = args[0] if self.parent() != None: #delegate ownership to C++ self.this.disown() else: #give ownership back to Python self.this.own() return val def insert(self, *args): """insert(self, Fl_Widget arg0, int i)""" return _fltk.Fl_Group_insert(self, *args) def insert_before(self, *args): """insert_before(self, Fl_Widget o, Fl_Widget before)""" return _fltk.Fl_Group_insert_before(self, *args) def remove(self, *args): """ remove(self, int index) remove(self, Fl_Widget o) """ val = _fltk.Fl_Group_remove(self, *args) #self = args[0] if self.parent() != None: #delegate ownership to C++ self.this.disown() else: #give ownership back to Python self.this.own() return val def clear(self, *args): """clear(self)""" return _fltk.Fl_Group_clear(self, *args) def resizable(self, *args): """ resizable(self, Fl_Widget o) resizable(self) -> Fl_Widget """ return _fltk.Fl_Group_resizable(self, *args) def add_resizable(self, *args): """add_resizable(self, Fl_Widget o)""" return _fltk.Fl_Group_add_resizable(self, *args) def init_sizes(self, *args): """init_sizes(self)""" return _fltk.Fl_Group_init_sizes(self, *args) def clip_children(self, *args): """ clip_children(self, int c) clip_children(self) -> unsigned int """ return _fltk.Fl_Group_clip_children(self, *args) def as_group(self, *args): """as_group(self) -> Fl_Group""" return _fltk.Fl_Group_as_group(self, *args) def focus(self, *args): """focus(self, Fl_Widget W)""" return _fltk.Fl_Group_focus(self, *args) def _ddfdesign_kludge(self, *args): """_ddfdesign_kludge(self) -> Fl_Widget""" return _fltk.Fl_Group__ddfdesign_kludge(self, *args) def forms_end(self, *args): """forms_end(self)""" return _fltk.Fl_Group_forms_end(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Group(self) return weakref_proxy(self) Fl_Group_swigregister = _fltk.Fl_Group_swigregister Fl_Group_swigregister(Fl_Group) def Fl_Group_current(*args): """ current() -> Fl_Group Fl_Group_current(Fl_Group g) """ return _fltk.Fl_Group_current(*args) class Fl_End(object): """Proxy of C++ Fl_End class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self) -> Fl_End""" this = _fltk.new_Fl_End(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_End __del__ = lambda self : None; Fl_End_swigregister = _fltk.Fl_End_swigregister Fl_End_swigregister(Fl_End) FL_NORMAL_BROWSER = _fltk.FL_NORMAL_BROWSER FL_SELECT_BROWSER = _fltk.FL_SELECT_BROWSER FL_HOLD_BROWSER = _fltk.FL_HOLD_BROWSER FL_MULTI_BROWSER = _fltk.FL_MULTI_BROWSER FL_SORT_ASCENDING = _fltk.FL_SORT_ASCENDING FL_SORT_DESCENDING = _fltk.FL_SORT_DESCENDING class Fl_Browser_(Fl_Group): """ This is the base class for browsers. To be useful it must be subclassed and several virtual functions defined. The Forms-compatible browser and the file chooser's browser are subclassed off of this. This has been designed so that the subclass has complete control over the storage of the data, although because next() and prev() functions are used to index, it works best as a linked list or as a large block of characters in which the line breaks must be searched for. A great deal of work has been done so that the 'height' of a data object does not need to be determined until it is drawn. This is useful if actually figuring out the size of an object requires accessing image data or doing stat() on a file or doing some other slow operation. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def item_first(self, *args): """item_first(self) -> void""" return _fltk.Fl_Browser__item_first(self, *args) def item_next(self, *args): """item_next(self, void item) -> void""" return _fltk.Fl_Browser__item_next(self, *args) def item_prev(self, *args): """item_prev(self, void item) -> void""" return _fltk.Fl_Browser__item_prev(self, *args) def item_last(self, *args): """item_last(self) -> void""" return _fltk.Fl_Browser__item_last(self, *args) def item_height(self, *args): """item_height(self, void item) -> int""" return _fltk.Fl_Browser__item_height(self, *args) def item_width(self, *args): """item_width(self, void item) -> int""" return _fltk.Fl_Browser__item_width(self, *args) def item_quick_height(self, *args): """item_quick_height(self, void item) -> int""" return _fltk.Fl_Browser__item_quick_height(self, *args) def item_draw(self, *args): """item_draw(self, void item, int X, int Y, int W, int H)""" return _fltk.Fl_Browser__item_draw(self, *args) def item_text(self, *args): """item_text(self, void item) -> char""" return _fltk.Fl_Browser__item_text(self, *args) def item_swap(self, *args): """item_swap(self, void a, void b)""" return _fltk.Fl_Browser__item_swap(self, *args) def item_at(self, *args): """item_at(self, int index) -> void""" return _fltk.Fl_Browser__item_at(self, *args) def full_width(self, *args): """full_width(self) -> int""" return _fltk.Fl_Browser__full_width(self, *args) def full_height(self, *args): """full_height(self) -> int""" return _fltk.Fl_Browser__full_height(self, *args) def incr_height(self, *args): """incr_height(self) -> int""" return _fltk.Fl_Browser__incr_height(self, *args) def item_select(self, *args): """item_select(self, void item, int val = 1)""" return _fltk.Fl_Browser__item_select(self, *args) def item_selected(self, *args): """item_selected(self, void item) -> int""" return _fltk.Fl_Browser__item_selected(self, *args) def draw(self, *args): """draw(self)""" return _fltk.Fl_Browser__draw(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Browser_""" if self.__class__ == Fl_Browser_: _self = None else: _self = self this = _fltk.new_Fl_Browser_(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def handle(self, *args): """handle(self, int event) -> int""" return _fltk.Fl_Browser__handle(self, *args) def resize(self, *args): """resize(self, int X, int Y, int W, int H)""" return _fltk.Fl_Browser__resize(self, *args) def select(self, *args): """select(self, void item, int val = 1, int docallbacks = 0) -> int""" return _fltk.Fl_Browser__select(self, *args) def select_only(self, *args): """select_only(self, void item, int docallbacks = 0) -> int""" return _fltk.Fl_Browser__select_only(self, *args) def deselect(self, *args): """deselect(self, int docallbacks = 0) -> int""" return _fltk.Fl_Browser__deselect(self, *args) def position(self, *args): """ position(self) -> int position(self, int pos) """ return _fltk.Fl_Browser__position(self, *args) def hposition(self, *args): """ hposition(self) -> int hposition(self, int arg0) """ return _fltk.Fl_Browser__hposition(self, *args) def display(self, *args): """display(self, void item)""" return _fltk.Fl_Browser__display(self, *args) HORIZONTAL = _fltk.Fl_Browser__HORIZONTAL VERTICAL = _fltk.Fl_Browser__VERTICAL BOTH = _fltk.Fl_Browser__BOTH ALWAYS_ON = _fltk.Fl_Browser__ALWAYS_ON HORIZONTAL_ALWAYS = _fltk.Fl_Browser__HORIZONTAL_ALWAYS VERTICAL_ALWAYS = _fltk.Fl_Browser__VERTICAL_ALWAYS BOTH_ALWAYS = _fltk.Fl_Browser__BOTH_ALWAYS def has_scrollbar(self, *args): """ has_scrollbar(self) -> uchar has_scrollbar(self, uchar mode) """ return _fltk.Fl_Browser__has_scrollbar(self, *args) def textfont(self, *args): """ textfont(self) -> Fl_Font textfont(self, Fl_Font font) """ return _fltk.Fl_Browser__textfont(self, *args) def textsize(self, *args): """ textsize(self) -> Fl_Fontsize textsize(self, Fl_Fontsize size) """ return _fltk.Fl_Browser__textsize(self, *args) def textcolor(self, *args): """ textcolor(self) -> Fl_Color textcolor(self, Fl_Color col) """ return _fltk.Fl_Browser__textcolor(self, *args) def scrollbar_size(self, *args): """ scrollbar_size(self) -> int scrollbar_size(self, int size) """ return _fltk.Fl_Browser__scrollbar_size(self, *args) def scrollbar_width(self, *args): """ scrollbar_width(self) -> int scrollbar_width(self, int width) """ return _fltk.Fl_Browser__scrollbar_width(self, *args) def scrollbar_right(self, *args): """scrollbar_right(self)""" return _fltk.Fl_Browser__scrollbar_right(self, *args) def scrollbar_left(self, *args): """scrollbar_left(self)""" return _fltk.Fl_Browser__scrollbar_left(self, *args) def sort(self, *args): """sort(self, int flags = 0)""" return _fltk.Fl_Browser__sort(self, *args) def getScrollbar(self, *args): """getScrollbar(self) -> Fl_Scrollbar""" return _fltk.Fl_Browser__getScrollbar(self, *args) def getHScrollbar(self, *args): """getHScrollbar(self) -> Fl_Scrollbar""" return _fltk.Fl_Browser__getHScrollbar(self, *args) __swig_destroy__ = _fltk.delete_Fl_Browser_ __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Browser_(self) return weakref_proxy(self) Fl_Browser__swigregister = _fltk.Fl_Browser__swigregister Fl_Browser__swigregister(Fl_Browser_) class Fl_Browser(Fl_Browser_): """ The Fl_Browser widget displays a scrolling list of text lines, and manages all the storage for the text. This is not a text editor or spreadsheet! But it is useful for showing a vertical list of named objects to the user. Each line in the browser is identified by number. The numbers start at one (this is so that zero can be reserved for 'no line' in the selective browsers). Unless otherwise noted, the methods do not check to see if the passed line number is in range and legal. It must always be greater than zero and <= size(). Each line contains a null-terminated string of text and a data pointer. The text string is displayed, the pointer can be used by the callbacks to reference the object the text describes. The base class does nothing when the user clicks on it. The subclasses Fl_Select_Browser, Fl_Hold_Browser, and Fl_Multi_Browser react to user clicks to select lines in the browser and do callbacks. The base class called Fl_Browser_ provides the scrolling and selection mechanisms of this and all the subclasses, but the dimensions and appearance of each item are determined by the subclass. You can use Fl_Browser_ to display information other than text, or text that is dynamically produced from your own data structures. If you find that loading the browser is a lot of work or is inefficient, you may want to make a subclass of Fl_Browser_. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def item_first(self, *args): """item_first(self) -> void""" return _fltk.Fl_Browser_item_first(self, *args) def item_next(self, *args): """item_next(self, void item) -> void""" return _fltk.Fl_Browser_item_next(self, *args) def item_prev(self, *args): """item_prev(self, void item) -> void""" return _fltk.Fl_Browser_item_prev(self, *args) def item_last(self, *args): """item_last(self) -> void""" return _fltk.Fl_Browser_item_last(self, *args) def item_selected(self, *args): """item_selected(self, void item) -> int""" return _fltk.Fl_Browser_item_selected(self, *args) def item_select(self, *args): """item_select(self, void item, int val)""" return _fltk.Fl_Browser_item_select(self, *args) def item_height(self, *args): """item_height(self, void item) -> int""" return _fltk.Fl_Browser_item_height(self, *args) def item_width(self, *args): """item_width(self, void item) -> int""" return _fltk.Fl_Browser_item_width(self, *args) def item_draw(self, *args): """item_draw(self, void item, int X, int Y, int W, int H)""" return _fltk.Fl_Browser_item_draw(self, *args) def full_height(self, *args): """full_height(self) -> int""" return _fltk.Fl_Browser_full_height(self, *args) def incr_height(self, *args): """incr_height(self) -> int""" return _fltk.Fl_Browser_incr_height(self, *args) def item_text(self, *args): """item_text(self, void item) -> char""" return _fltk.Fl_Browser_item_text(self, *args) def item_swap(self, *args): """item_swap(self, void a, void b)""" return _fltk.Fl_Browser_item_swap(self, *args) def item_at(self, *args): """item_at(self, int line) -> void""" return _fltk.Fl_Browser_item_at(self, *args) def remove(self, *args): """remove(self, int line)""" val = _fltk.Fl_Browser_remove(self, *args) #self = args[0] if self.parent() != None: #delegate ownership to C++ self.this.disown() else: #give ownership back to Python self.this.own() return val def move(self, *args): """move(self, int to, int _from)""" return _fltk.Fl_Browser_move(self, *args) def load(self, *args): """load(self, char filename) -> int""" return _fltk.Fl_Browser_load(self, *args) def swap(self, *args): """swap(self, int a, int b)""" return _fltk.Fl_Browser_swap(self, *args) def clear(self, *args): """clear(self)""" return _fltk.Fl_Browser_clear(self, *args) def size(self, *args): """ size(self) -> int size(self, int W, int H) """ return _fltk.Fl_Browser_size(self, *args) TOP = _fltk.Fl_Browser_TOP BOTTOM = _fltk.Fl_Browser_BOTTOM MIDDLE = _fltk.Fl_Browser_MIDDLE def lineposition(self, *args): """lineposition(self, int line, Fl_Line_Position pos)""" return _fltk.Fl_Browser_lineposition(self, *args) def topline(self, *args): """ topline(self) -> int topline(self, int line) """ return _fltk.Fl_Browser_topline(self, *args) def bottomline(self, *args): """bottomline(self, int line)""" return _fltk.Fl_Browser_bottomline(self, *args) def middleline(self, *args): """middleline(self, int line)""" return _fltk.Fl_Browser_middleline(self, *args) def select(self, *args): """select(self, int line, int val = 1) -> int""" return _fltk.Fl_Browser_select(self, *args) def selected(self, *args): """selected(self, int line) -> int""" return _fltk.Fl_Browser_selected(self, *args) def show(self, *args): """ show(self, int line) show(self) """ return _fltk.Fl_Browser_show(self, *args) def hide(self, *args): """ hide(self, int line) hide(self) """ return _fltk.Fl_Browser_hide(self, *args) def visible(self, *args): """visible(self, int line) -> int""" return _fltk.Fl_Browser_visible(self, *args) def value(self, *args): """ value(self) -> int value(self, int line) """ return _fltk.Fl_Browser_value(self, *args) def text(self, *args): """ text(self, int line) -> char text(self, int line, char newtext) """ return _fltk.Fl_Browser_text(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Browser""" if self.__class__ == Fl_Browser: _self = None else: _self = self this = _fltk.new_Fl_Browser(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Browser __del__ = lambda self : None; def format_char(self, *args): """ format_char(self) -> char format_char(self, char c) """ return _fltk.Fl_Browser_format_char(self, *args) def column_char(self, *args): """ column_char(self) -> char column_char(self, char c) """ return _fltk.Fl_Browser_column_char(self, *args) def displayed(self, *args): """displayed(self, int line) -> int""" return _fltk.Fl_Browser_displayed(self, *args) def make_visible(self, *args): """make_visible(self, int line)""" return _fltk.Fl_Browser_make_visible(self, *args) def icon(self, *args): """ icon(self, int line, Fl_Image icon) icon(self, int line) -> Fl_Image """ return _fltk.Fl_Browser_icon(self, *args) def remove_icon(self, *args): """remove_icon(self, int line)""" return _fltk.Fl_Browser_remove_icon(self, *args) def replace(self, *args): """replace(self, int a, char b)""" return _fltk.Fl_Browser_replace(self, *args) def display(self, *args): """display(self, int line, int val = 1)""" return _fltk.Fl_Browser_display(self, *args) def add(self, *args): """add(self, char text, PyObject data = None)""" val = _fltk.Fl_Browser_add(self, *args) #self = args[0] if self.parent() != None: #delegate ownership to C++ self.this.disown() else: #give ownership back to Python self.this.own() return val def insert(self, *args): """insert(self, int index, char text, PyObject data = None)""" return _fltk.Fl_Browser_insert(self, *args) def get_data(self, *args): """get_data(self, int index) -> PyObject""" return _fltk.Fl_Browser_get_data(self, *args) def data(self, *args): """data(self, int index, PyObject data = None) -> PyObject""" return _fltk.Fl_Browser_data(self, *args) def column_widths(self, *args): """ column_widths(self) -> int column_widths(self, PyObject widths) """ return _fltk.Fl_Browser_column_widths(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Browser(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Browser_draw(self, *args) def item_quick_height(self, *args): """item_quick_height(self, void item) -> int""" return _fltk.Fl_Browser_item_quick_height(self, *args) def full_width(self, *args): """full_width(self) -> int""" return _fltk.Fl_Browser_full_width(self, *args) Fl_Browser_swigregister = _fltk.Fl_Browser_swigregister Fl_Browser_swigregister(Fl_Browser) class Fl_File_Browser(Fl_Browser): """ The Fl_File_Browser widget displays a list of filenames, optionally with file-specific icons. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr FILES = _fltk.Fl_File_Browser_FILES DIRECTORIES = _fltk.Fl_File_Browser_DIRECTORIES def __init__(self, *args): """__init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_File_Browser""" if self.__class__ == Fl_File_Browser: _self = None else: _self = self this = _fltk.new_Fl_File_Browser(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def iconsize(self, *args): """ iconsize(self) -> uchar iconsize(self, uchar s) """ return _fltk.Fl_File_Browser_iconsize(self, *args) def filter(self, *args): """ filter(self, char pattern) filter(self) -> char """ return _fltk.Fl_File_Browser_filter(self, *args) def textsize(self, *args): """ textsize(self) -> Fl_Fontsize textsize(self, Fl_Fontsize s) """ return _fltk.Fl_File_Browser_textsize(self, *args) def filetype(self, *args): """ filetype(self) -> int filetype(self, int t) """ return _fltk.Fl_File_Browser_filetype(self, *args) def load(self, *args): """load(self, PyObject dObj, PyObject sObj) -> int""" return _fltk.Fl_File_Browser_load(self, *args) __swig_destroy__ = _fltk.delete_Fl_File_Browser __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_File_Browser(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_File_Browser_draw(self, *args) def item_first(self, *args): """item_first(self) -> void""" return _fltk.Fl_File_Browser_item_first(self, *args) def item_next(self, *args): """item_next(self, void item) -> void""" return _fltk.Fl_File_Browser_item_next(self, *args) def item_prev(self, *args): """item_prev(self, void item) -> void""" return _fltk.Fl_File_Browser_item_prev(self, *args) def item_last(self, *args): """item_last(self) -> void""" return _fltk.Fl_File_Browser_item_last(self, *args) def item_height(self, *args): """item_height(self, void item) -> int""" return _fltk.Fl_File_Browser_item_height(self, *args) def item_width(self, *args): """item_width(self, void item) -> int""" return _fltk.Fl_File_Browser_item_width(self, *args) def item_quick_height(self, *args): """item_quick_height(self, void item) -> int""" return _fltk.Fl_File_Browser_item_quick_height(self, *args) def item_draw(self, *args): """item_draw(self, void item, int X, int Y, int W, int H)""" return _fltk.Fl_File_Browser_item_draw(self, *args) def item_text(self, *args): """item_text(self, void item) -> char""" return _fltk.Fl_File_Browser_item_text(self, *args) def item_swap(self, *args): """item_swap(self, void a, void b)""" return _fltk.Fl_File_Browser_item_swap(self, *args) def item_at(self, *args): """item_at(self, int line) -> void""" return _fltk.Fl_File_Browser_item_at(self, *args) def full_width(self, *args): """full_width(self) -> int""" return _fltk.Fl_File_Browser_full_width(self, *args) def full_height(self, *args): """full_height(self) -> int""" return _fltk.Fl_File_Browser_full_height(self, *args) def incr_height(self, *args): """incr_height(self) -> int""" return _fltk.Fl_File_Browser_incr_height(self, *args) def item_select(self, *args): """item_select(self, void item, int val)""" return _fltk.Fl_File_Browser_item_select(self, *args) def item_selected(self, *args): """item_selected(self, void item) -> int""" return _fltk.Fl_File_Browser_item_selected(self, *args) Fl_File_Browser_swigregister = _fltk.Fl_File_Browser_swigregister Fl_File_Browser_swigregister(Fl_File_Browser) FL_ALPHASORT = _fltk.FL_ALPHASORT FL_CASEALPHASORT = _fltk.FL_CASEALPHASORT FL_CASENUMERICSORT = _fltk.FL_CASENUMERICSORT FL_NUMERICSORT = _fltk.FL_NUMERICSORT class Fl_File_Icon(object): """ The Fl_File_Icon class manages icon images that can be used as labels in other widgets and as icons in the FileBrowser widget. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr ANY = _fltk.Fl_File_Icon_ANY PLAIN = _fltk.Fl_File_Icon_PLAIN FIFO = _fltk.Fl_File_Icon_FIFO DEVICE = _fltk.Fl_File_Icon_DEVICE LINK = _fltk.Fl_File_Icon_LINK DIRECTORY = _fltk.Fl_File_Icon_DIRECTORY END = _fltk.Fl_File_Icon_END COLOR = _fltk.Fl_File_Icon_COLOR LINE = _fltk.Fl_File_Icon_LINE CLOSEDLINE = _fltk.Fl_File_Icon_CLOSEDLINE POLYGON = _fltk.Fl_File_Icon_POLYGON OUTLINEPOLYGON = _fltk.Fl_File_Icon_OUTLINEPOLYGON VERTEX = _fltk.Fl_File_Icon_VERTEX def __init__(self, *args): """__init__(self, char p, int t, int nd = 0, short d = None) -> Fl_File_Icon""" this = _fltk.new_Fl_File_Icon(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_File_Icon __del__ = lambda self : None; def add(self, *args): """add(self, short d) -> short""" return _fltk.Fl_File_Icon_add(self, *args) def add_color(self, *args): """add_color(self, Fl_Color c) -> short""" return _fltk.Fl_File_Icon_add_color(self, *args) def add_vertex(self, *args): """ add_vertex(self, int x, int y) -> short add_vertex(self, float x, float y) -> short """ return _fltk.Fl_File_Icon_add_vertex(self, *args) def clear(self, *args): """clear(self)""" return _fltk.Fl_File_Icon_clear(self, *args) def draw(self, *args): """draw(self, int x, int y, int w, int h, Fl_Color ic, int active = 1)""" return _fltk.Fl_File_Icon_draw(self, *args) def label(self, *args): """label(self, Fl_Widget w)""" return _fltk.Fl_File_Icon_label(self, *args) def labeltype(*args): """labeltype(Fl_Label o, int x, int y, int w, int h, Fl_Align a)""" return _fltk.Fl_File_Icon_labeltype(*args) labeltype = staticmethod(labeltype) def load(self, *args): """load(self, char f)""" return _fltk.Fl_File_Icon_load(self, *args) def load_fti(self, *args): """load_fti(self, char fti) -> int""" return _fltk.Fl_File_Icon_load_fti(self, *args) def load_image(self, *args): """load_image(self, char i) -> int""" return _fltk.Fl_File_Icon_load_image(self, *args) def next(self, *args): """next(self) -> Fl_File_Icon""" return _fltk.Fl_File_Icon_next(self, *args) def pattern(self, *args): """pattern(self) -> char""" return _fltk.Fl_File_Icon_pattern(self, *args) def size(self, *args): """size(self) -> int""" return _fltk.Fl_File_Icon_size(self, *args) def type(self, *args): """type(self) -> int""" return _fltk.Fl_File_Icon_type(self, *args) def value(self, *args): """value(self) -> short""" return _fltk.Fl_File_Icon_value(self, *args) def find(*args): """find(char filename, int filetype = ANY) -> Fl_File_Icon""" return _fltk.Fl_File_Icon_find(*args) find = staticmethod(find) def first(*args): """first() -> Fl_File_Icon""" return _fltk.Fl_File_Icon_first(*args) first = staticmethod(first) def load_system_icons(*args): """load_system_icons()""" return _fltk.Fl_File_Icon_load_system_icons(*args) load_system_icons = staticmethod(load_system_icons) Fl_File_Icon_swigregister = _fltk.Fl_File_Icon_swigregister Fl_File_Icon_swigregister(Fl_File_Icon) def Fl_File_Icon_labeltype(*args): """Fl_File_Icon_labeltype(Fl_Label o, int x, int y, int w, int h, Fl_Align a)""" return _fltk.Fl_File_Icon_labeltype(*args) def Fl_File_Icon_find(*args): """Fl_File_Icon_find(char filename, int filetype = ANY) -> Fl_File_Icon""" return _fltk.Fl_File_Icon_find(*args) def Fl_File_Icon_first(*args): """Fl_File_Icon_first() -> Fl_File_Icon""" return _fltk.Fl_File_Icon_first(*args) def Fl_File_Icon_load_system_icons(*args): """Fl_File_Icon_load_system_icons()""" return _fltk.Fl_File_Icon_load_system_icons(*args) class Fl_File_Chooser(object): """ The Fl_File_Chooser widget displays a standard file selection dialog that supports various selection modes. The Fl_File_Chooser class also exports several static values that may be used to localize or customize the appearance of all file chooser dialogs: Member Default value add_favorites_label 'Add to Favorites' all_files_label 'All Files (*)' custom_filter_label 'Custom Filter' existing_file_label 'Please choose an existing file!' favorites_label 'Favorites' filename_label 'Filename:' filesystems_label 'My Computer' (WIN32) 'File Systems' (all others) manage_favorites_label 'Manage Favorites' new_directory_label 'New Directory?' new_directory_tooltip 'Create a new directory.' preview_label 'Preview' save_label 'Save' show_label 'Show:' sort fl_numericsort The sort member specifies the sort function that is used when loading the contents of a directory. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr SINGLE = _fltk.Fl_File_Chooser_SINGLE MULTI = _fltk.Fl_File_Chooser_MULTI CREATE = _fltk.Fl_File_Chooser_CREATE DIRECTORY = _fltk.Fl_File_Chooser_DIRECTORY def __init__(self, *args): """__init__(self, char d, char p, int t, char title) -> Fl_File_Chooser""" this = _fltk.new_Fl_File_Chooser(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_File_Chooser __del__ = lambda self : None; def color(self, *args): """ color(self, Fl_Color c) color(self) -> Fl_Color """ return _fltk.Fl_File_Chooser_color(self, *args) def count(self, *args): """count(self) -> int""" return _fltk.Fl_File_Chooser_count(self, *args) def directory(self, *args): """ directory(self, char d) directory(self) -> char """ return _fltk.Fl_File_Chooser_directory(self, *args) def filter(self, *args): """ filter(self, char p) filter(self) -> char """ return _fltk.Fl_File_Chooser_filter(self, *args) def filter_value(self, *args): """ filter_value(self) -> int filter_value(self, int f) """ return _fltk.Fl_File_Chooser_filter_value(self, *args) def hide(self, *args): """hide(self)""" return _fltk.Fl_File_Chooser_hide(self, *args) def iconsize(self, *args): """ iconsize(self, uchar s) iconsize(self) -> uchar """ return _fltk.Fl_File_Chooser_iconsize(self, *args) def label(self, *args): """ label(self, char l) label(self) -> char """ return _fltk.Fl_File_Chooser_label(self, *args) def ok_label(self, *args): """ ok_label(self, char l) ok_label(self) -> char """ return _fltk.Fl_File_Chooser_ok_label(self, *args) def preview(self, *args): """ preview(self, int e) preview(self) -> int """ return _fltk.Fl_File_Chooser_preview(self, *args) def rescan(self, *args): """rescan(self)""" return _fltk.Fl_File_Chooser_rescan(self, *args) def show(self, *args): """show(self)""" return _fltk.Fl_File_Chooser_show(self, *args) def shown(self, *args): """shown(self) -> int""" return _fltk.Fl_File_Chooser_shown(self, *args) def textcolor(self, *args): """ textcolor(self, Fl_Color c) textcolor(self) -> Fl_Color """ return _fltk.Fl_File_Chooser_textcolor(self, *args) def textfont(self, *args): """ textfont(self, Fl_Font f) textfont(self) -> Fl_Font """ return _fltk.Fl_File_Chooser_textfont(self, *args) def textsize(self, *args): """ textsize(self, Fl_Fontsize s) textsize(self) -> Fl_Fontsize """ return _fltk.Fl_File_Chooser_textsize(self, *args) def type(self, *args): """ type(self, int t) type(self) -> int """ return _fltk.Fl_File_Chooser_type(self, *args) def user_data(self, *args): """ user_data(self) user_data(self, void d) """ return _fltk.Fl_File_Chooser_user_data(self, *args) def value(self, *args): """ value(self, int f = 1) -> char value(self, char filename) """ return _fltk.Fl_File_Chooser_value(self, *args) def visible(self, *args): """visible(self) -> int""" return _fltk.Fl_File_Chooser_visible(self, *args) def add_extra(self, *args): """add_extra(self, Fl_Widget gr) -> Fl_Widget""" return _fltk.Fl_File_Chooser_add_extra(self, *args) def callback(self, *args): """ callback(self, void cb, void d = None) callback(self, PyObject PyFunc, PyObject PyWidget, PyObject PyData = None) """ return _fltk.Fl_File_Chooser_callback(self, *args) Fl_File_Chooser_swigregister = _fltk.Fl_File_Chooser_swigregister Fl_File_Chooser_swigregister(Fl_File_Chooser) def fl_dir_chooser(*args): """fl_dir_chooser(char message, char fname, int relative = 0) -> char""" return _fltk.fl_dir_chooser(*args) def fl_file_chooser(*args): """fl_file_chooser(char message, char pat, char fname, int relative = 0) -> char""" return _fltk.fl_file_chooser(*args) def fl_file_chooser_callback(*args): """fl_file_chooser_callback(void cb)""" return _fltk.fl_file_chooser_callback(*args) def fl_file_chooser_ok_label(*args): """fl_file_chooser_ok_label(char l)""" return _fltk.fl_file_chooser_ok_label(*args) class Fl(object): """ The Fl class is the FLTK global (static) class containing state information and global methods for the current application. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined") __repr__ = _swig_repr OPTION_ARROW_FOCUS = _fltk.Fl_OPTION_ARROW_FOCUS OPTION_VISIBLE_FOCUS = _fltk.Fl_OPTION_VISIBLE_FOCUS OPTION_DND_TEXT = _fltk.Fl_OPTION_DND_TEXT OPTION_SHOW_TOOLTIPS = _fltk.Fl_OPTION_SHOW_TOOLTIPS OPTION_LAST = _fltk.Fl_OPTION_LAST def option(*args): """ option(Fl_Option opt) -> bool option(Fl_Option opt, bool val) """ return _fltk.Fl_option(*args) option = staticmethod(option) def add_awake_handler_(*args): """add_awake_handler_(Fl_Awake_Handler arg0, void arg1) -> int""" return _fltk.Fl_add_awake_handler_(*args) add_awake_handler_ = staticmethod(add_awake_handler_) def version(*args): """version() -> double""" return _fltk.Fl_version(*args) version = staticmethod(version) def arg(*args): """arg(int argc, char argv, int i) -> int""" return _fltk.Fl_arg(*args) arg = staticmethod(arg) def args(*args): """ args(int argc, char argv, int i, Fl_Args_Handler cb = 0) -> int args(int argc, char argv) """ return _fltk.Fl_args(*args) args = staticmethod(args) def display(*args): """display(char arg0)""" return _fltk.Fl_display(*args) display = staticmethod(display) def visual(*args): """visual(int arg0) -> int""" return _fltk.Fl_visual(*args) visual = staticmethod(visual) def own_colormap(*args): """own_colormap()""" return _fltk.Fl_own_colormap(*args) own_colormap = staticmethod(own_colormap) def get_system_colors(*args): """get_system_colors()""" return _fltk.Fl_get_system_colors(*args) get_system_colors = staticmethod(get_system_colors) def foreground(*args): """foreground(uchar arg0, uchar arg1, uchar arg2)""" return _fltk.Fl_foreground(*args) foreground = staticmethod(foreground) def background(*args): """background(uchar arg0, uchar arg1, uchar arg2)""" return _fltk.Fl_background(*args) background = staticmethod(background) def background2(*args): """background2(uchar arg0, uchar arg1, uchar arg2)""" return _fltk.Fl_background2(*args) background2 = staticmethod(background2) def scheme(*args): """ scheme(char arg0) -> int scheme() -> char """ return _fltk.Fl_scheme(*args) scheme = staticmethod(scheme) def reload_scheme(*args): """reload_scheme() -> int""" return _fltk.Fl_reload_scheme(*args) reload_scheme = staticmethod(reload_scheme) def scrollbar_size(*args): """ scrollbar_size() -> int scrollbar_size(int W) """ return _fltk.Fl_scrollbar_size(*args) scrollbar_size = staticmethod(scrollbar_size) def wait(*args): """ wait() -> int wait(double time) -> double """ return _fltk.Fl_wait(*args) wait = staticmethod(wait) def check(*args): """check() -> int""" return _fltk.Fl_check(*args) check = staticmethod(check) def ready(*args): """ready() -> int""" return _fltk.Fl_ready(*args) ready = staticmethod(ready) def run(*args): """run() -> int""" return _fltk.Fl_run(*args) run = staticmethod(run) def readqueue(*args): """readqueue() -> Fl_Widget""" return _fltk.Fl_readqueue(*args) readqueue = staticmethod(readqueue) def has_timeout(*args): """has_timeout(Fl_Timeout_Handler arg0, void arg1 = None) -> int""" return _fltk.Fl_has_timeout(*args) has_timeout = staticmethod(has_timeout) def add_idle(*args): """add_idle(Fl_Idle_Handler cb, void data = None)""" return _fltk.Fl_add_idle(*args) add_idle = staticmethod(add_idle) def has_idle(*args): """has_idle(Fl_Idle_Handler cb, void data = None) -> int""" return _fltk.Fl_has_idle(*args) has_idle = staticmethod(has_idle) def remove_idle(*args): """remove_idle(Fl_Idle_Handler cb, void data = None)""" return _fltk.Fl_remove_idle(*args) remove_idle = staticmethod(remove_idle) def damage(*args): """ damage(int d) damage() -> int """ return _fltk.Fl_damage(*args) damage = staticmethod(damage) def redraw(*args): """redraw()""" return _fltk.Fl_redraw(*args) redraw = staticmethod(redraw) def flush(*args): """flush()""" return _fltk.Fl_flush(*args) flush = staticmethod(flush) def first_window(*args): """ first_window() -> Fl_Window first_window(Fl_Window arg0) """ return _fltk.Fl_first_window(*args) first_window = staticmethod(first_window) def next_window(*args): """next_window(Fl_Window arg0) -> Fl_Window""" return _fltk.Fl_next_window(*args) next_window = staticmethod(next_window) def modal(*args): """modal() -> Fl_Window""" return _fltk.Fl_modal(*args) modal = staticmethod(modal) def grab(*args): """ grab() -> Fl_Window grab(Fl_Window arg0) """ return _fltk.Fl_grab(*args) grab = staticmethod(grab) def event(*args): """event() -> int""" return _fltk.Fl_event(*args) event = staticmethod(event) def event_x(*args): """event_x() -> int""" return _fltk.Fl_event_x(*args) event_x = staticmethod(event_x) def event_y(*args): """event_y() -> int""" return _fltk.Fl_event_y(*args) event_y = staticmethod(event_y) def event_x_root(*args): """event_x_root() -> int""" return _fltk.Fl_event_x_root(*args) event_x_root = staticmethod(event_x_root) def event_y_root(*args): """event_y_root() -> int""" return _fltk.Fl_event_y_root(*args) event_y_root = staticmethod(event_y_root) def event_dx(*args): """event_dx() -> int""" return _fltk.Fl_event_dx(*args) event_dx = staticmethod(event_dx) def event_dy(*args): """event_dy() -> int""" return _fltk.Fl_event_dy(*args) event_dy = staticmethod(event_dy) def get_mouse(*args): """get_mouse(int arg0, int arg1)""" return _fltk.Fl_get_mouse(*args) get_mouse = staticmethod(get_mouse) def event_clicks(*args): """ event_clicks() -> int event_clicks(int i) """ return _fltk.Fl_event_clicks(*args) event_clicks = staticmethod(event_clicks) def event_is_click(*args): """ event_is_click() -> int event_is_click(int i) """ return _fltk.Fl_event_is_click(*args) event_is_click = staticmethod(event_is_click) def event_button(*args): """event_button() -> int""" return _fltk.Fl_event_button(*args) event_button = staticmethod(event_button) def event_state(*args): """ event_state() -> int event_state(int i) -> int """ return _fltk.Fl_event_state(*args) event_state = staticmethod(event_state) def event_original_key(*args): """event_original_key() -> int""" return _fltk.Fl_event_original_key(*args) event_original_key = staticmethod(event_original_key) def event_key(*args): """ event_key() -> int event_key(int key) -> int """ return _fltk.Fl_event_key(*args) event_key = staticmethod(event_key) def get_key(*args): """get_key(int key) -> int""" return _fltk.Fl_get_key(*args) get_key = staticmethod(get_key) def event_text(*args): """event_text() -> char""" return _fltk.Fl_event_text(*args) event_text = staticmethod(event_text) def event_length(*args): """event_length() -> int""" return _fltk.Fl_event_length(*args) event_length = staticmethod(event_length) def compose(*args): """compose(int _del) -> int""" return _fltk.Fl_compose(*args) compose = staticmethod(compose) def compose_reset(*args): """compose_reset()""" return _fltk.Fl_compose_reset(*args) compose_reset = staticmethod(compose_reset) def event_inside(*args): """ event_inside(int arg0, int arg1, int arg2, int arg3) -> int event_inside(Fl_Widget arg0) -> int """ return _fltk.Fl_event_inside(*args) event_inside = staticmethod(event_inside) def test_shortcut(*args): """test_shortcut(Fl_Shortcut arg0) -> int""" return _fltk.Fl_test_shortcut(*args) test_shortcut = staticmethod(test_shortcut) def handle(*args): """handle(int arg0, Fl_Window arg1) -> int""" return _fltk.Fl_handle(*args) handle = staticmethod(handle) def handle_(*args): """handle_(int arg0, Fl_Window arg1) -> int""" return _fltk.Fl_handle_(*args) handle_ = staticmethod(handle_) def belowmouse(*args): """ belowmouse() -> Fl_Widget belowmouse(Fl_Widget arg0) """ return _fltk.Fl_belowmouse(*args) belowmouse = staticmethod(belowmouse) def pushed(*args): """ pushed() -> Fl_Widget pushed(Fl_Widget arg0) """ return _fltk.Fl_pushed(*args) pushed = staticmethod(pushed) def focus(*args): """ focus() -> Fl_Widget focus(Fl_Widget arg0) """ return _fltk.Fl_focus(*args) focus = staticmethod(focus) def event_dispatch(*args): """ event_dispatch(Fl_Event_Dispatch d) event_dispatch() -> Fl_Event_Dispatch """ return _fltk.Fl_event_dispatch(*args) event_dispatch = staticmethod(event_dispatch) def copy(*args): """copy(char stuff, int len, int destination = 0)""" return _fltk.Fl_copy(*args) copy = staticmethod(copy) def dnd(*args): """dnd() -> int""" return _fltk.Fl_dnd(*args) dnd = staticmethod(dnd) def selection_owner(*args): """ selection_owner() -> Fl_Widget selection_owner(Fl_Widget arg0) """ return _fltk.Fl_selection_owner(*args) selection_owner = staticmethod(selection_owner) def selection(*args): """selection(Fl_Widget owner, char arg1, int len)""" return _fltk.Fl_selection(*args) selection = staticmethod(selection) def paste(*args): """ paste(Fl_Widget receiver, int source) paste(Fl_Widget receiver) """ return _fltk.Fl_paste(*args) paste = staticmethod(paste) def x(*args): """x() -> int""" return _fltk.Fl_x(*args) x = staticmethod(x) def y(*args): """y() -> int""" return _fltk.Fl_y(*args) y = staticmethod(y) def w(*args): """w() -> int""" return _fltk.Fl_w(*args) w = staticmethod(w) def h(*args): """h() -> int""" return _fltk.Fl_h(*args) h = staticmethod(h) def screen_count(*args): """screen_count() -> int""" return _fltk.Fl_screen_count(*args) screen_count = staticmethod(screen_count) def screen_xywh(*args): """ screen_xywh(int X, int Y, int W, int H) screen_xywh(int X, int Y, int W, int H, int mx, int my) screen_xywh(int X, int Y, int W, int H, int n) screen_xywh(int X, int Y, int W, int H, int mx, int my, int mw, int mh) """ return _fltk.Fl_screen_xywh(*args) screen_xywh = staticmethod(screen_xywh) def screen_dpi(*args): """screen_dpi(float h, float v, int n = 0)""" return _fltk.Fl_screen_dpi(*args) screen_dpi = staticmethod(screen_dpi) def set_color(*args): """ set_color(Fl_Color arg0, uchar arg1, uchar arg2, uchar arg3) set_color(Fl_Color i, unsigned int c) """ return _fltk.Fl_set_color(*args) set_color = staticmethod(set_color) def get_color(*args): """get_color(Fl_Color i)""" return _fltk.Fl_get_color(*args) get_color = staticmethod(get_color) def free_color(*args): """free_color(Fl_Color i, int overlay = 0)""" return _fltk.Fl_free_color(*args) free_color = staticmethod(free_color) def get_font(*args): """get_font(Fl_Font arg0) -> char""" return _fltk.Fl_get_font(*args) get_font = staticmethod(get_font) def get_font_name(*args): """get_font_name(Fl_Font arg0) -> char""" return _fltk.Fl_get_font_name(*args) get_font_name = staticmethod(get_font_name) def set_font(*args): """ set_font(Fl_Font arg0, char arg1) set_font(Fl_Font arg0, Fl_Font arg1) """ return _fltk.Fl_set_font(*args) set_font = staticmethod(set_font) def set_fonts(*args): """set_fonts(char arg0 = None) -> Fl_Font""" return _fltk.Fl_set_fonts(*args) set_fonts = staticmethod(set_fonts) def set_labeltype(*args): """set_labeltype(Fl_Labeltype arg0, Fl_Label_Draw_F arg1, Fl_Label_Measure_F arg2)""" return _fltk.Fl_set_labeltype(*args) set_labeltype = staticmethod(set_labeltype) def get_boxtype(*args): """get_boxtype(Fl_Boxtype arg0) -> Fl_Box_Draw_F""" return _fltk.Fl_get_boxtype(*args) get_boxtype = staticmethod(get_boxtype) def set_boxtype(*args): """ set_boxtype(Fl_Boxtype arg0, Fl_Box_Draw_F arg1, uchar arg2, uchar arg3, uchar arg4, uchar arg5) set_boxtype(Fl_Boxtype arg0, Fl_Boxtype _from) """ return _fltk.Fl_set_boxtype(*args) set_boxtype = staticmethod(set_boxtype) def box_dx(*args): """box_dx(Fl_Boxtype arg0) -> int""" return _fltk.Fl_box_dx(*args) box_dx = staticmethod(box_dx) def box_dy(*args): """box_dy(Fl_Boxtype arg0) -> int""" return _fltk.Fl_box_dy(*args) box_dy = staticmethod(box_dy) def box_dw(*args): """box_dw(Fl_Boxtype arg0) -> int""" return _fltk.Fl_box_dw(*args) box_dw = staticmethod(box_dw) def box_dh(*args): """box_dh(Fl_Boxtype arg0) -> int""" return _fltk.Fl_box_dh(*args) box_dh = staticmethod(box_dh) def draw_box_active(*args): """draw_box_active() -> int""" return _fltk.Fl_draw_box_active(*args) draw_box_active = staticmethod(draw_box_active) def set_abort(*args): """set_abort(Fl_Abort_Handler f)""" return _fltk.Fl_set_abort(*args) set_abort = staticmethod(set_abort) def default_atclose(*args): """default_atclose(Fl_Window arg0, void arg1)""" return _fltk.Fl_default_atclose(*args) default_atclose = staticmethod(default_atclose) def set_atclose(*args): """set_atclose(Fl_Atclose_Handler f)""" return _fltk.Fl_set_atclose(*args) set_atclose = staticmethod(set_atclose) def event_shift(*args): """event_shift() -> int""" return _fltk.Fl_event_shift(*args) event_shift = staticmethod(event_shift) def event_ctrl(*args): """event_ctrl() -> int""" return _fltk.Fl_event_ctrl(*args) event_ctrl = staticmethod(event_ctrl) def event_command(*args): """event_command() -> int""" return _fltk.Fl_event_command(*args) event_command = staticmethod(event_command) def event_alt(*args): """event_alt() -> int""" return _fltk.Fl_event_alt(*args) event_alt = staticmethod(event_alt) def event_buttons(*args): """event_buttons() -> int""" return _fltk.Fl_event_buttons(*args) event_buttons = staticmethod(event_buttons) def event_button1(*args): """event_button1() -> int""" return _fltk.Fl_event_button1(*args) event_button1 = staticmethod(event_button1) def event_button2(*args): """event_button2() -> int""" return _fltk.Fl_event_button2(*args) event_button2 = staticmethod(event_button2) def event_button3(*args): """event_button3() -> int""" return _fltk.Fl_event_button3(*args) event_button3 = staticmethod(event_button3) def set_idle(*args): """set_idle(Fl_Old_Idle_Handler cb)""" return _fltk.Fl_set_idle(*args) set_idle = staticmethod(set_idle) def release(*args): """release()""" return _fltk.Fl_release(*args) release = staticmethod(release) def visible_focus(*args): """ visible_focus(int v) visible_focus() -> int """ return _fltk.Fl_visible_focus(*args) visible_focus = staticmethod(visible_focus) def dnd_text_ops(*args): """ dnd_text_ops(int v) dnd_text_ops() -> int """ return _fltk.Fl_dnd_text_ops(*args) dnd_text_ops = staticmethod(dnd_text_ops) def delete_widget(*args): """delete_widget(Fl_Widget w)""" return _fltk.Fl_delete_widget(*args) delete_widget = staticmethod(delete_widget) def do_widget_deletion(*args): """do_widget_deletion()""" return _fltk.Fl_do_widget_deletion(*args) do_widget_deletion = staticmethod(do_widget_deletion) def watch_widget_pointer(*args): """watch_widget_pointer(Fl_Widget w)""" return _fltk.Fl_watch_widget_pointer(*args) watch_widget_pointer = staticmethod(watch_widget_pointer) def release_widget_pointer(*args): """release_widget_pointer(Fl_Widget w)""" return _fltk.Fl_release_widget_pointer(*args) release_widget_pointer = staticmethod(release_widget_pointer) def clear_widget_pointer(*args): """clear_widget_pointer(Fl_Widget w)""" return _fltk.Fl_clear_widget_pointer(*args) clear_widget_pointer = staticmethod(clear_widget_pointer) def lock(*args): """lock()""" return _fltk.Fl_lock(*args) lock = staticmethod(lock) def unlock(*args): """unlock()""" return _fltk.Fl_unlock(*args) unlock = staticmethod(unlock) def awake(*args): """ awake(Fl_Awake_Handler cb, void message = None) -> int awake(void message = None) """ return _fltk.Fl_awake(*args) awake = staticmethod(awake) def thread_message(*args): """thread_message()""" return _fltk.Fl_thread_message(*args) thread_message = staticmethod(thread_message) __swig_destroy__ = _fltk.delete_Fl __del__ = lambda self : None; Fl_swigregister = _fltk.Fl_swigregister Fl_swigregister(Fl) def Fl_option(*args): """ option(Fl_Option opt) -> bool Fl_option(Fl_Option opt, bool val) """ return _fltk.Fl_option(*args) def Fl_add_awake_handler_(*args): """Fl_add_awake_handler_(Fl_Awake_Handler arg0, void arg1) -> int""" return _fltk.Fl_add_awake_handler_(*args) def Fl_version(*args): """Fl_version() -> double""" return _fltk.Fl_version(*args) def Fl_arg(*args): """Fl_arg(int argc, char argv, int i) -> int""" return _fltk.Fl_arg(*args) def Fl_args(*args): """ args(int argc, char argv, int i, Fl_Args_Handler cb = 0) -> int Fl_args(int argc, char argv) """ return _fltk.Fl_args(*args) def Fl_display(*args): """Fl_display(char arg0)""" return _fltk.Fl_display(*args) def Fl_visual(*args): """Fl_visual(int arg0) -> int""" return _fltk.Fl_visual(*args) def Fl_own_colormap(*args): """Fl_own_colormap()""" return _fltk.Fl_own_colormap(*args) def Fl_get_system_colors(*args): """Fl_get_system_colors()""" return _fltk.Fl_get_system_colors(*args) def Fl_foreground(*args): """Fl_foreground(uchar arg0, uchar arg1, uchar arg2)""" return _fltk.Fl_foreground(*args) def Fl_background(*args): """Fl_background(uchar arg0, uchar arg1, uchar arg2)""" return _fltk.Fl_background(*args) def Fl_background2(*args): """Fl_background2(uchar arg0, uchar arg1, uchar arg2)""" return _fltk.Fl_background2(*args) def Fl_scheme(*args): """ scheme(char arg0) -> int Fl_scheme() -> char """ return _fltk.Fl_scheme(*args) def Fl_reload_scheme(*args): """Fl_reload_scheme() -> int""" return _fltk.Fl_reload_scheme(*args) def Fl_scrollbar_size(*args): """ scrollbar_size() -> int Fl_scrollbar_size(int W) """ return _fltk.Fl_scrollbar_size(*args) def Fl_wait(*args): """ wait() -> int Fl_wait(double time) -> double """ return _fltk.Fl_wait(*args) def Fl_check(*args): """Fl_check() -> int""" return _fltk.Fl_check(*args) def Fl_ready(*args): """Fl_ready() -> int""" return _fltk.Fl_ready(*args) def Fl_run(*args): """Fl_run() -> int""" return _fltk.Fl_run(*args) def Fl_readqueue(*args): """Fl_readqueue() -> Fl_Widget""" return _fltk.Fl_readqueue(*args) def Fl_has_timeout(*args): """Fl_has_timeout(Fl_Timeout_Handler arg0, void arg1 = None) -> int""" return _fltk.Fl_has_timeout(*args) def Fl_add_idle(*args): """Fl_add_idle(Fl_Idle_Handler cb, void data = None)""" return _fltk.Fl_add_idle(*args) def Fl_has_idle(*args): """Fl_has_idle(Fl_Idle_Handler cb, void data = None) -> int""" return _fltk.Fl_has_idle(*args) def Fl_remove_idle(*args): """Fl_remove_idle(Fl_Idle_Handler cb, void data = None)""" return _fltk.Fl_remove_idle(*args) def Fl_damage(*args): """ damage(int d) Fl_damage() -> int """ return _fltk.Fl_damage(*args) def Fl_redraw(*args): """Fl_redraw()""" return _fltk.Fl_redraw(*args) def Fl_flush(*args): """Fl_flush()""" return _fltk.Fl_flush(*args) def Fl_first_window(*args): """ first_window() -> Fl_Window Fl_first_window(Fl_Window arg0) """ return _fltk.Fl_first_window(*args) def Fl_next_window(*args): """Fl_next_window(Fl_Window arg0) -> Fl_Window""" return _fltk.Fl_next_window(*args) def Fl_modal(*args): """Fl_modal() -> Fl_Window""" return _fltk.Fl_modal(*args) def Fl_grab(*args): """ grab() -> Fl_Window Fl_grab(Fl_Window arg0) """ return _fltk.Fl_grab(*args) def Fl_event(*args): """Fl_event() -> int""" return _fltk.Fl_event(*args) def Fl_event_x(*args): """Fl_event_x() -> int""" return _fltk.Fl_event_x(*args) def Fl_event_y(*args): """Fl_event_y() -> int""" return _fltk.Fl_event_y(*args) def Fl_event_x_root(*args): """Fl_event_x_root() -> int""" return _fltk.Fl_event_x_root(*args) def Fl_event_y_root(*args): """Fl_event_y_root() -> int""" return _fltk.Fl_event_y_root(*args) def Fl_event_dx(*args): """Fl_event_dx() -> int""" return _fltk.Fl_event_dx(*args) def Fl_event_dy(*args): """Fl_event_dy() -> int""" return _fltk.Fl_event_dy(*args) def Fl_get_mouse(*args): """Fl_get_mouse(int arg0, int arg1)""" return _fltk.Fl_get_mouse(*args) def Fl_event_clicks(*args): """ event_clicks() -> int Fl_event_clicks(int i) """ return _fltk.Fl_event_clicks(*args) def Fl_event_is_click(*args): """ event_is_click() -> int Fl_event_is_click(int i) """ return _fltk.Fl_event_is_click(*args) def Fl_event_button(*args): """Fl_event_button() -> int""" return _fltk.Fl_event_button(*args) def Fl_event_state(*args): """ event_state() -> int Fl_event_state(int i) -> int """ return _fltk.Fl_event_state(*args) def Fl_event_original_key(*args): """Fl_event_original_key() -> int""" return _fltk.Fl_event_original_key(*args) def Fl_event_key(*args): """ event_key() -> int Fl_event_key(int key) -> int """ return _fltk.Fl_event_key(*args) def Fl_get_key(*args): """Fl_get_key(int key) -> int""" return _fltk.Fl_get_key(*args) def Fl_event_text(*args): """Fl_event_text() -> char""" return _fltk.Fl_event_text(*args) def Fl_event_length(*args): """Fl_event_length() -> int""" return _fltk.Fl_event_length(*args) def Fl_compose(*args): """Fl_compose(int _del) -> int""" return _fltk.Fl_compose(*args) def Fl_compose_reset(*args): """Fl_compose_reset()""" return _fltk.Fl_compose_reset(*args) def Fl_event_inside(*args): """ event_inside(int arg0, int arg1, int arg2, int arg3) -> int Fl_event_inside(Fl_Widget arg0) -> int """ return _fltk.Fl_event_inside(*args) def Fl_test_shortcut(*args): """Fl_test_shortcut(Fl_Shortcut arg0) -> int""" return _fltk.Fl_test_shortcut(*args) def Fl_handle(*args): """Fl_handle(int arg0, Fl_Window arg1) -> int""" return _fltk.Fl_handle(*args) def Fl_handle_(*args): """Fl_handle_(int arg0, Fl_Window arg1) -> int""" return _fltk.Fl_handle_(*args) def Fl_belowmouse(*args): """ belowmouse() -> Fl_Widget Fl_belowmouse(Fl_Widget arg0) """ return _fltk.Fl_belowmouse(*args) def Fl_pushed(*args): """ pushed() -> Fl_Widget Fl_pushed(Fl_Widget arg0) """ return _fltk.Fl_pushed(*args) def Fl_focus(*args): """ focus() -> Fl_Widget Fl_focus(Fl_Widget arg0) """ return _fltk.Fl_focus(*args) def Fl_event_dispatch(*args): """ event_dispatch(Fl_Event_Dispatch d) Fl_event_dispatch() -> Fl_Event_Dispatch """ return _fltk.Fl_event_dispatch(*args) def Fl_copy(*args): """Fl_copy(char stuff, int len, int destination = 0)""" return _fltk.Fl_copy(*args) def Fl_dnd(*args): """Fl_dnd() -> int""" return _fltk.Fl_dnd(*args) def Fl_selection_owner(*args): """ selection_owner() -> Fl_Widget Fl_selection_owner(Fl_Widget arg0) """ return _fltk.Fl_selection_owner(*args) def Fl_selection(*args): """Fl_selection(Fl_Widget owner, char arg1, int len)""" return _fltk.Fl_selection(*args) def Fl_paste(*args): """ paste(Fl_Widget receiver, int source) Fl_paste(Fl_Widget receiver) """ return _fltk.Fl_paste(*args) def Fl_x(*args): """Fl_x() -> int""" return _fltk.Fl_x(*args) def Fl_y(*args): """Fl_y() -> int""" return _fltk.Fl_y(*args) def Fl_w(*args): """Fl_w() -> int""" return _fltk.Fl_w(*args) def Fl_h(*args): """Fl_h() -> int""" return _fltk.Fl_h(*args) def Fl_screen_count(*args): """Fl_screen_count() -> int""" return _fltk.Fl_screen_count(*args) def Fl_screen_xywh(*args): """ screen_xywh(int X, int Y, int W, int H) screen_xywh(int X, int Y, int W, int H, int mx, int my) screen_xywh(int X, int Y, int W, int H, int n) Fl_screen_xywh(int X, int Y, int W, int H, int mx, int my, int mw, int mh) """ return _fltk.Fl_screen_xywh(*args) def Fl_screen_dpi(*args): """Fl_screen_dpi(float h, float v, int n = 0)""" return _fltk.Fl_screen_dpi(*args) def Fl_set_color(*args): """ set_color(Fl_Color arg0, uchar arg1, uchar arg2, uchar arg3) Fl_set_color(Fl_Color i, unsigned int c) """ return _fltk.Fl_set_color(*args) def Fl_get_color(*args): """Fl_get_color(Fl_Color i)""" return _fltk.Fl_get_color(*args) def Fl_free_color(*args): """Fl_free_color(Fl_Color i, int overlay = 0)""" return _fltk.Fl_free_color(*args) def Fl_get_font(*args): """Fl_get_font(Fl_Font arg0) -> char""" return _fltk.Fl_get_font(*args) def Fl_get_font_name(*args): """Fl_get_font_name(Fl_Font arg0) -> char""" return _fltk.Fl_get_font_name(*args) def Fl_set_font(*args): """ set_font(Fl_Font arg0, char arg1) Fl_set_font(Fl_Font arg0, Fl_Font arg1) """ return _fltk.Fl_set_font(*args) def Fl_set_fonts(*args): """Fl_set_fonts(char arg0 = None) -> Fl_Font""" return _fltk.Fl_set_fonts(*args) def Fl_set_labeltype(*args): """Fl_set_labeltype(Fl_Labeltype arg0, Fl_Label_Draw_F arg1, Fl_Label_Measure_F arg2)""" return _fltk.Fl_set_labeltype(*args) def Fl_get_boxtype(*args): """Fl_get_boxtype(Fl_Boxtype arg0) -> Fl_Box_Draw_F""" return _fltk.Fl_get_boxtype(*args) def Fl_set_boxtype(*args): """ set_boxtype(Fl_Boxtype arg0, Fl_Box_Draw_F arg1, uchar arg2, uchar arg3, uchar arg4, uchar arg5) Fl_set_boxtype(Fl_Boxtype arg0, Fl_Boxtype _from) """ return _fltk.Fl_set_boxtype(*args) def Fl_box_dx(*args): """Fl_box_dx(Fl_Boxtype arg0) -> int""" return _fltk.Fl_box_dx(*args) def Fl_box_dy(*args): """Fl_box_dy(Fl_Boxtype arg0) -> int""" return _fltk.Fl_box_dy(*args) def Fl_box_dw(*args): """Fl_box_dw(Fl_Boxtype arg0) -> int""" return _fltk.Fl_box_dw(*args) def Fl_box_dh(*args): """Fl_box_dh(Fl_Boxtype arg0) -> int""" return _fltk.Fl_box_dh(*args) def Fl_draw_box_active(*args): """Fl_draw_box_active() -> int""" return _fltk.Fl_draw_box_active(*args) def Fl_set_abort(*args): """Fl_set_abort(Fl_Abort_Handler f)""" return _fltk.Fl_set_abort(*args) def Fl_default_atclose(*args): """Fl_default_atclose(Fl_Window arg0, void arg1)""" return _fltk.Fl_default_atclose(*args) def Fl_set_atclose(*args): """Fl_set_atclose(Fl_Atclose_Handler f)""" return _fltk.Fl_set_atclose(*args) def Fl_event_shift(*args): """Fl_event_shift() -> int""" return _fltk.Fl_event_shift(*args) def Fl_event_ctrl(*args): """Fl_event_ctrl() -> int""" return _fltk.Fl_event_ctrl(*args) def Fl_event_command(*args): """Fl_event_command() -> int""" return _fltk.Fl_event_command(*args) def Fl_event_alt(*args): """Fl_event_alt() -> int""" return _fltk.Fl_event_alt(*args) def Fl_event_buttons(*args): """Fl_event_buttons() -> int""" return _fltk.Fl_event_buttons(*args) def Fl_event_button1(*args): """Fl_event_button1() -> int""" return _fltk.Fl_event_button1(*args) def Fl_event_button2(*args): """Fl_event_button2() -> int""" return _fltk.Fl_event_button2(*args) def Fl_event_button3(*args): """Fl_event_button3() -> int""" return _fltk.Fl_event_button3(*args) def Fl_set_idle(*args): """Fl_set_idle(Fl_Old_Idle_Handler cb)""" return _fltk.Fl_set_idle(*args) def Fl_release(*args): """Fl_release()""" return _fltk.Fl_release(*args) def Fl_visible_focus(*args): """ visible_focus(int v) Fl_visible_focus() -> int """ return _fltk.Fl_visible_focus(*args) def Fl_dnd_text_ops(*args): """ dnd_text_ops(int v) Fl_dnd_text_ops() -> int """ return _fltk.Fl_dnd_text_ops(*args) def Fl_delete_widget(*args): """Fl_delete_widget(Fl_Widget w)""" return _fltk.Fl_delete_widget(*args) def Fl_do_widget_deletion(*args): """Fl_do_widget_deletion()""" return _fltk.Fl_do_widget_deletion(*args) def Fl_watch_widget_pointer(*args): """Fl_watch_widget_pointer(Fl_Widget w)""" return _fltk.Fl_watch_widget_pointer(*args) def Fl_release_widget_pointer(*args): """Fl_release_widget_pointer(Fl_Widget w)""" return _fltk.Fl_release_widget_pointer(*args) def Fl_clear_widget_pointer(*args): """Fl_clear_widget_pointer(Fl_Widget w)""" return _fltk.Fl_clear_widget_pointer(*args) def Fl_lock(*args): """Fl_lock()""" return _fltk.Fl_lock(*args) def Fl_unlock(*args): """Fl_unlock()""" return _fltk.Fl_unlock(*args) def Fl_awake(*args): """ awake(Fl_Awake_Handler cb, void message = None) -> int Fl_awake(void message = None) """ return _fltk.Fl_awake(*args) def Fl_thread_message(*args): """Fl_thread_message()""" return _fltk.Fl_thread_message(*args) class Fl_Widget_Tracker(object): """Proxy of C++ Fl_Widget_Tracker class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, Fl_Widget wi) -> Fl_Widget_Tracker""" this = _fltk.new_Fl_Widget_Tracker(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Widget_Tracker __del__ = lambda self : None; def widget(self, *args): """widget(self) -> Fl_Widget""" return _fltk.Fl_Widget_Tracker_widget(self, *args) def deleted(self, *args): """deleted(self) -> int""" return _fltk.Fl_Widget_Tracker_deleted(self, *args) def exists(self, *args): """exists(self) -> int""" return _fltk.Fl_Widget_Tracker_exists(self, *args) Fl_Widget_Tracker_swigregister = _fltk.Fl_Widget_Tracker_swigregister Fl_Widget_Tracker_swigregister(Fl_Widget_Tracker) def pyFLTK_controlIdleCallbacks(*args): """pyFLTK_controlIdleCallbacks(int enable)""" return _fltk.pyFLTK_controlIdleCallbacks(*args) def Fl_mt_run(window): import time while window.visible(): time.sleep(0.1) Fl.check() Fl.mt_run = staticmethod(Fl_mt_run) FL_PATH_MAX = _fltk.FL_PATH_MAX def fl_filename_name(*args): """fl_filename_name(char filename) -> char""" return _fltk.fl_filename_name(*args) def fl_filename_ext(*args): """fl_filename_ext(char buf) -> char""" return _fltk.fl_filename_ext(*args) def fl_filename_match(*args): """fl_filename_match(char name, char pattern) -> int""" return _fltk.fl_filename_match(*args) def fl_filename_isdir(*args): """fl_filename_isdir(char name) -> int""" return _fltk.fl_filename_isdir(*args) def fl_filename_free_list(*args): """fl_filename_free_list(dirent l, int n)""" return _fltk.fl_filename_free_list(*args) def fl_open_uri(*args): """fl_open_uri(char uri, char msg = (char *) 0, int msglen = 0) -> int""" return _fltk.fl_open_uri(*args) def _fl_filename_isdir_quick(*args): """_fl_filename_isdir_quick(char name) -> int""" return _fltk._fl_filename_isdir_quick(*args) class Fl_Valuator(Fl_Widget): """ The Fl_Valuator class controls a single floating-point value and provides a consistent interface to set the value, range, and step, and insures that callbacks are done the same for every object. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract") __repr__ = _swig_repr def bounds(self, *args): """bounds(self, double a, double b)""" return _fltk.Fl_Valuator_bounds(self, *args) def minimum(self, *args): """ minimum(self) -> double minimum(self, double a) """ return _fltk.Fl_Valuator_minimum(self, *args) def maximum(self, *args): """ maximum(self) -> double maximum(self, double a) """ return _fltk.Fl_Valuator_maximum(self, *args) def range(self, *args): """range(self, double a, double b)""" return _fltk.Fl_Valuator_range(self, *args) def step(self, *args): """ step(self, int a) step(self, double a, int b) step(self, double s) step(self) -> double """ return _fltk.Fl_Valuator_step(self, *args) def precision(self, *args): """precision(self, int arg0)""" return _fltk.Fl_Valuator_precision(self, *args) def value(self, *args): """ value(self) -> double value(self, double arg0) -> int """ return _fltk.Fl_Valuator_value(self, *args) def format(self, *args): """format(self, char format_string) -> int""" return _fltk.Fl_Valuator_format(self, *args) def round(self, *args): """round(self, double arg0) -> double""" return _fltk.Fl_Valuator_round(self, *args) def clamp(self, *args): """clamp(self, double arg0) -> double""" return _fltk.Fl_Valuator_clamp(self, *args) def increment(self, *args): """increment(self, double arg0, int arg1) -> double""" return _fltk.Fl_Valuator_increment(self, *args) __swig_destroy__ = _fltk.delete_Fl_Valuator __del__ = lambda self : None; Fl_Valuator_swigregister = _fltk.Fl_Valuator_swigregister Fl_Valuator_swigregister(Fl_Valuator) pyFLTK_registerDoIdle = _fltk.pyFLTK_registerDoIdle Fl_add_timeout = _fltk.Fl_add_timeout Fl_repeat_timeout = _fltk.Fl_repeat_timeout Fl_remove_timeout = _fltk.Fl_remove_timeout Fl_add_fd = _fltk.Fl_add_fd Fl_remove_fd = _fltk.Fl_remove_fd Fl_add_handler = _fltk.Fl_add_handler Fl_remove_handler = _fltk.Fl_remove_handler Fl_add_check = _fltk.Fl_add_check Fl_remove_check = _fltk.Fl_remove_check Fl_get_font_sizes_tmp = _fltk.Fl_get_font_sizes_tmp def fl_filename_setext(*args): """ fl_filename_setext(char to, int tolen, char ext) -> char fl_filename_setext(char to, char ext) -> char """ return _fltk.fl_filename_setext(*args) def fl_filename_expand(*args): """ fl_filename_expand(char to, int tolen, char _from) -> int fl_filename_expand(char to, char _from) -> int """ return _fltk.fl_filename_expand(*args) def fl_filename_absolute(*args): """ fl_filename_absolute(char to, int tolen, char _from) -> int fl_filename_absolute(char to, char _from) -> int """ return _fltk.fl_filename_absolute(*args) def fl_filename_relative(*args): """ fl_filename_relative(char to, int tolen, char _from) -> int fl_filename_relative(char to, int tolen, char _from, char cwd) -> int fl_filename_relative(char to, char _from) -> int """ return _fltk.fl_filename_relative(*args) FL_VERTICAL=0 FL_HORIZONTAL=1 class Fl_Adjuster(Fl_Valuator): """ The Fl_Adjuster widget has proven to be very useful for values that need a was stolen from Prisms, and large dynamic range. When you press a button and drag to the right the value increases. When you drag to the left it decreases. The largest button adjusts by 100 * step(), the next by 10 * step() and that smallest button by step(). Clicking on the buttons increments by 10 times the amount dragging by a pixel does. Shift + click decrements by 10 times the amount. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Adjuster_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Adjuster_handle(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Adjuster""" if self.__class__ == Fl_Adjuster: _self = None else: _self = self this = _fltk.new_Fl_Adjuster(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def soft(self, *args): """ soft(self, int s) soft(self) -> int """ return _fltk.Fl_Adjuster_soft(self, *args) __swig_destroy__ = _fltk.delete_Fl_Adjuster __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Adjuster(self) return weakref_proxy(self) Fl_Adjuster_swigregister = _fltk.Fl_Adjuster_swigregister Fl_Adjuster_swigregister(Fl_Adjuster) FL_BEEP_DEFAULT = _fltk.FL_BEEP_DEFAULT FL_BEEP_MESSAGE = _fltk.FL_BEEP_MESSAGE FL_BEEP_ERROR = _fltk.FL_BEEP_ERROR FL_BEEP_QUESTION = _fltk.FL_BEEP_QUESTION FL_BEEP_PASSWORD = _fltk.FL_BEEP_PASSWORD FL_BEEP_NOTIFICATION = _fltk.FL_BEEP_NOTIFICATION def fl_beep(*args): """fl_beep(int type = FL_BEEP_DEFAULT)""" return _fltk.fl_beep(*args) def fl_message(*args): """fl_message(char arg0, v(...) *args)""" return _fltk.fl_message(*args) def fl_alert(*args): """fl_alert(char arg0, v(...) *args)""" return _fltk.fl_alert(*args) def fl_ask(*args): """fl_ask(char arg0, v(...) *args) -> int""" return _fltk.fl_ask(*args) def fl_choice(*args): """fl_choice(char q, char b0, char b1, char b2, v(...) *args) -> int""" return _fltk.fl_choice(*args) def fl_message_icon(*args): """fl_message_icon() -> Fl_Widget""" return _fltk.fl_message_icon(*args) def fl_message_font(*args): """fl_message_font(Fl_Font f, Fl_Fontsize s)""" return _fltk.fl_message_font(*args) def fl_message_title(*args): """fl_message_title(char title)""" return _fltk.fl_message_title(*args) def fl_message_title_default(*args): """fl_message_title_default(char title)""" return _fltk.fl_message_title_default(*args) def fl_input(*args): """fl_input(char label, char deflt = None) -> char""" return _fltk.fl_input(*args) def fl_password(*args): """fl_password(char label, char deflt = None) -> char""" return _fltk.fl_password(*args) def fl_no_get(*args): """fl_no_get() -> char""" return _fltk.fl_no_get(*args) def fl_yes_get(*args): """fl_yes_get() -> char""" return _fltk.fl_yes_get(*args) def fl_ok_get(*args): """fl_ok_get() -> char""" return _fltk.fl_ok_get(*args) def fl_cancel_get(*args): """fl_cancel_get() -> char""" return _fltk.fl_cancel_get(*args) def fl_close_get(*args): """fl_close_get() -> char""" return _fltk.fl_close_get(*args) def fl_no_set(*args): """fl_no_set(char value)""" return _fltk.fl_no_set(*args) def fl_yes_set(*args): """fl_yes_set(char value)""" return _fltk.fl_yes_set(*args) def fl_ok_set(*args): """fl_ok_set(char value)""" return _fltk.fl_ok_set(*args) def fl_cancel_set(*args): """fl_cancel_set(char value)""" return _fltk.fl_cancel_set(*args) def fl_close_set(*args): """fl_close_set(char value)""" return _fltk.fl_close_set(*args) def fl_mt_message(*args): """fl_mt_message(char text)""" return _fltk.fl_mt_message(*args) def fl_mt_alert(*args): """fl_mt_alert(char text)""" return _fltk.fl_mt_alert(*args) def fl_mt_ask(*args): """fl_mt_ask(char text) -> int""" return _fltk.fl_mt_ask(*args) def fl_mt_choice(*args): """fl_mt_choice(char q, char b0, char b1, char b2) -> int""" return _fltk.fl_mt_choice(*args) def fl_mt_input(*args): """fl_mt_input(char label, char deflt = None) -> char""" return _fltk.fl_mt_input(*args) def fl_mt_password(*args): """fl_mt_password(char label, char deflt = None) -> char""" return _fltk.fl_mt_password(*args) class Fl_Image(object): """ Fl_Image is the base class used for caching and drawing all kinds of images in FLTK. This class keeps track of common image data such as the pixels, colormap, width, height, and depth. Virtual methods are used to provide type-specific image handling. Since the Fl_Image class does not support image drawing by itself, calling the draw() method results in a box with an X in it being drawn instead. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def w(self, *args): """w(self) -> int""" return _fltk.Fl_Image_w(self, *args) def h(self, *args): """h(self) -> int""" return _fltk.Fl_Image_h(self, *args) def d(self, *args): """d(self) -> int""" return _fltk.Fl_Image_d(self, *args) def ld(self, *args): """ld(self) -> int""" return _fltk.Fl_Image_ld(self, *args) def count(self, *args): """count(self) -> int""" return _fltk.Fl_Image_count(self, *args) def data(self, *args): """data(self) -> char""" return _fltk.Fl_Image_data(self, *args) def __init__(self, *args): """__init__(self, int W, int H, int D) -> Fl_Image""" if self.__class__ == Fl_Image: _self = None else: _self = self this = _fltk.new_Fl_Image(_self, *args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Image __del__ = lambda self : None; def copy(self, *args): """ copy(self, int W, int H) -> Fl_Image copy(self) -> Fl_Image """ return _fltk.Fl_Image_copy(self, *args) def color_average(self, *args): """color_average(self, Fl_Color c, float i)""" return _fltk.Fl_Image_color_average(self, *args) def inactive(self, *args): """inactive(self)""" return _fltk.Fl_Image_inactive(self, *args) def desaturate(self, *args): """desaturate(self)""" return _fltk.Fl_Image_desaturate(self, *args) def label(self, *args): """ label(self, Fl_Widget w) label(self, Fl_Menu_Item m) """ return _fltk.Fl_Image_label(self, *args) def draw(self, *args): """ draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0) draw(self, int X, int Y) """ return _fltk.Fl_Image_draw(self, *args) def uncache(self, *args): """uncache(self)""" return _fltk.Fl_Image_uncache(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Image(self) return weakref_proxy(self) Fl_Image_swigregister = _fltk.Fl_Image_swigregister Fl_Image_swigregister(Fl_Image) def fl_message_hotspot(*args): """ fl_message_hotspot(int enable) fl_message_hotspot() -> int """ return _fltk.fl_message_hotspot(*args) class Fl_RGB_Image(Fl_Image): """Proxy of C++ Fl_RGB_Image class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, uchar bits, int W, int H, int D = 3, int LD = 0) -> Fl_RGB_Image""" if self.__class__ == Fl_RGB_Image: _self = None else: _self = self this = _fltk.new_Fl_RGB_Image(_self, *args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_RGB_Image __del__ = lambda self : None; def copy(self, *args): """ copy(self, int W, int H) -> Fl_Image copy(self) -> Fl_Image """ return _fltk.Fl_RGB_Image_copy(self, *args) def color_average(self, *args): """color_average(self, Fl_Color c, float i)""" return _fltk.Fl_RGB_Image_color_average(self, *args) def desaturate(self, *args): """desaturate(self)""" return _fltk.Fl_RGB_Image_desaturate(self, *args) def draw(self, *args): """ draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0) draw(self, int X, int Y) """ return _fltk.Fl_RGB_Image_draw(self, *args) def label(self, *args): """ label(self, Fl_Widget w) label(self, Fl_Menu_Item m) """ return _fltk.Fl_RGB_Image_label(self, *args) def uncache(self, *args): """uncache(self)""" return _fltk.Fl_RGB_Image_uncache(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_RGB_Image(self) return weakref_proxy(self) Fl_RGB_Image_swigregister = _fltk.Fl_RGB_Image_swigregister Fl_RGB_Image_swigregister(Fl_RGB_Image) class Fl_Bitmap(Fl_Image): """ The Fl_Bitmap class supports caching and drawing of mono-color (bitmap) images. Images are drawn using the current color. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, uchar bits, int W, int H) -> Fl_Bitmap""" if self.__class__ == Fl_Bitmap: _self = None else: _self = self this = _fltk.new_Fl_Bitmap(_self, *args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Bitmap __del__ = lambda self : None; def copy(self, *args): """ copy(self, int W, int H) -> Fl_Image copy(self) -> Fl_Image """ return _fltk.Fl_Bitmap_copy(self, *args) def draw(self, *args): """ draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0) draw(self, int X, int Y) """ return _fltk.Fl_Bitmap_draw(self, *args) def label(self, *args): """ label(self, Fl_Widget w) label(self, Fl_Menu_Item m) """ return _fltk.Fl_Bitmap_label(self, *args) def uncache(self, *args): """uncache(self)""" return _fltk.Fl_Bitmap_uncache(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Bitmap(self) return weakref_proxy(self) Fl_Bitmap_swigregister = _fltk.Fl_Bitmap_swigregister Fl_Bitmap_swigregister(Fl_Bitmap) class Fl_BMP_Image(Fl_RGB_Image): """ The Fl_BMP_Image class supports loading, caching, and drawing of Windows Bitmap (BMP) image files. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, char filename) -> Fl_BMP_Image""" if self.__class__ == Fl_BMP_Image: _self = None else: _self = self this = _fltk.new_Fl_BMP_Image(_self, *args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_BMP_Image __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_BMP_Image(self) return weakref_proxy(self) Fl_BMP_Image_swigregister = _fltk.Fl_BMP_Image_swigregister Fl_BMP_Image_swigregister(Fl_BMP_Image) class Fl_Box(Fl_Widget): """ This widget simply draws its box, and possibly it's label. Putting it before some other widgets and making it big enough to surround them will let you draw a frame around them. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Box_draw(self, *args) def __init__(self, *args): """ __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Box __init__(self, Fl_Boxtype b, int X, int Y, int W, int H, char l) -> Fl_Box """ if self.__class__ == Fl_Box: _self = None else: _self = self this = _fltk.new_Fl_Box(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Box_handle(self, *args) __swig_destroy__ = _fltk.delete_Fl_Box __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Box(self) return weakref_proxy(self) Fl_Box_swigregister = _fltk.Fl_Box_swigregister Fl_Box_swigregister(Fl_Box) FL_NORMAL_BUTTON = _fltk.FL_NORMAL_BUTTON FL_TOGGLE_BUTTON = _fltk.FL_TOGGLE_BUTTON FL_RADIO_BUTTON = _fltk.FL_RADIO_BUTTON FL_HIDDEN_BUTTON = _fltk.FL_HIDDEN_BUTTON def fl_old_shortcut(*args): """fl_old_shortcut(char arg0) -> Fl_Shortcut""" return _fltk.fl_old_shortcut(*args) class Fl_Button(Fl_Widget): """ Buttons generate callbacks when they are clicked by the user. You control exactly when and how by changing the values for type() and when(). Buttons can also generate callbacks in response to FL_SHORTCUT events. The button can either have an explicit shortcut() value or a letter shortcut can be indicated in the label() with an '&' character before it. For the label shortcut it does not matter if Alt is held down, but if you have an input field in the same window, the user will have to hold down the Alt key so that the input field does not eat the event first as an FL_KEYBOARD event. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Button_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Button_handle(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Button""" if self.__class__ == Fl_Button: _self = None else: _self = self this = _fltk.new_Fl_Button(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def value(self, *args): """ value(self, int v) -> int value(self) -> char """ return _fltk.Fl_Button_value(self, *args) def set(self, *args): """set(self) -> int""" return _fltk.Fl_Button_set(self, *args) def clear(self, *args): """clear(self) -> int""" return _fltk.Fl_Button_clear(self, *args) def setonly(self, *args): """setonly(self)""" return _fltk.Fl_Button_setonly(self, *args) def down_box(self, *args): """ down_box(self) -> Fl_Boxtype down_box(self, Fl_Boxtype b) """ return _fltk.Fl_Button_down_box(self, *args) def shortcut(self, *args): """ shortcut(self) -> int shortcut(self, int s) shortcut(self, char s) """ return _fltk.Fl_Button_shortcut(self, *args) def down_color(self, *args): """ down_color(self) -> Fl_Color down_color(self, unsigned int c) """ return _fltk.Fl_Button_down_color(self, *args) __swig_destroy__ = _fltk.delete_Fl_Button __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Button(self) return weakref_proxy(self) Fl_Button_swigregister = _fltk.Fl_Button_swigregister Fl_Button_swigregister(Fl_Button) FL_BAR_CHART = _fltk.FL_BAR_CHART FL_HORBAR_CHART = _fltk.FL_HORBAR_CHART FL_LINE_CHART = _fltk.FL_LINE_CHART FL_FILL_CHART = _fltk.FL_FILL_CHART FL_SPIKE_CHART = _fltk.FL_SPIKE_CHART FL_PIE_CHART = _fltk.FL_PIE_CHART FL_SPECIALPIE_CHART = _fltk.FL_SPECIALPIE_CHART FL_FILLED_CHART = _fltk.FL_FILLED_CHART FL_CHART_MAX = _fltk.FL_CHART_MAX FL_CHART_LABEL_MAX = _fltk.FL_CHART_LABEL_MAX class FL_CHART_ENTRY(object): """Proxy of C++ FL_CHART_ENTRY class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self) -> FL_CHART_ENTRY""" this = _fltk.new_FL_CHART_ENTRY(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_FL_CHART_ENTRY __del__ = lambda self : None; FL_CHART_ENTRY_swigregister = _fltk.FL_CHART_ENTRY_swigregister FL_CHART_ENTRY_swigregister(FL_CHART_ENTRY) class Fl_Chart(Fl_Widget): """ This widget displays simple charts and is provided for Forms compatibility. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Chart_draw(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Chart""" if self.__class__ == Fl_Chart: _self = None else: _self = self this = _fltk.new_Fl_Chart(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Chart __del__ = lambda self : None; def clear(self, *args): """clear(self)""" return _fltk.Fl_Chart_clear(self, *args) def add(self, *args): """add(self, double val, char str = None, unsigned int col = 0)""" return _fltk.Fl_Chart_add(self, *args) def insert(self, *args): """insert(self, int ind, double val, char str = None, unsigned int col = 0)""" return _fltk.Fl_Chart_insert(self, *args) def replace(self, *args): """replace(self, int ind, double val, char str = None, unsigned int col = 0)""" return _fltk.Fl_Chart_replace(self, *args) def bounds(self, *args): """ bounds(self, double a, double b) bounds(self, double a, double b) """ return _fltk.Fl_Chart_bounds(self, *args) def size(self, *args): """ size(self) -> int size(self, int W, int H) """ return _fltk.Fl_Chart_size(self, *args) def maxsize(self, *args): """ maxsize(self) -> int maxsize(self, int m) """ return _fltk.Fl_Chart_maxsize(self, *args) def textfont(self, *args): """ textfont(self) -> Fl_Font textfont(self, Fl_Font s) """ return _fltk.Fl_Chart_textfont(self, *args) def textsize(self, *args): """ textsize(self) -> Fl_Fontsize textsize(self, Fl_Fontsize s) """ return _fltk.Fl_Chart_textsize(self, *args) def textcolor(self, *args): """ textcolor(self) -> Fl_Color textcolor(self, Fl_Color n) """ return _fltk.Fl_Chart_textcolor(self, *args) def autosize(self, *args): """ autosize(self) -> uchar autosize(self, uchar n) """ return _fltk.Fl_Chart_autosize(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Chart(self) return weakref_proxy(self) Fl_Chart_swigregister = _fltk.Fl_Chart_swigregister Fl_Chart_swigregister(Fl_Chart) class Fl_Check_Browser(Fl_Browser_): """ The Fl_Check_Browser widget displays a scrolling list of text lines that may be selected and/or checked by the user. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Check_Browser""" if self.__class__ == Fl_Check_Browser: _self = None else: _self = self this = _fltk.new_Fl_Check_Browser(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Check_Browser __del__ = lambda self : None; def remove(self, *args): """remove(self, int item) -> int""" val = _fltk.Fl_Check_Browser_remove(self, *args) #self = args[0] if self.parent() != None: #delegate ownership to C++ self.this.disown() else: #give ownership back to Python self.this.own() return val def add(self, *args): """ add(self, char s) -> int add(self, char s, int b) -> int """ val = _fltk.Fl_Check_Browser_add(self, *args) #self = args[0] if self.parent() != None: #delegate ownership to C++ self.this.disown() else: #give ownership back to Python self.this.own() return val def clear(self, *args): """clear(self)""" return _fltk.Fl_Check_Browser_clear(self, *args) def nitems(self, *args): """nitems(self) -> int""" return _fltk.Fl_Check_Browser_nitems(self, *args) def nchecked(self, *args): """nchecked(self) -> int""" return _fltk.Fl_Check_Browser_nchecked(self, *args) def checked(self, *args): """ checked(self, int item) -> int checked(self, int item, int b) """ return _fltk.Fl_Check_Browser_checked(self, *args) def set_checked(self, *args): """set_checked(self, int item)""" return _fltk.Fl_Check_Browser_set_checked(self, *args) def check_all(self, *args): """check_all(self)""" return _fltk.Fl_Check_Browser_check_all(self, *args) def check_none(self, *args): """check_none(self)""" return _fltk.Fl_Check_Browser_check_none(self, *args) def value(self, *args): """value(self) -> int""" return _fltk.Fl_Check_Browser_value(self, *args) def text(self, *args): """text(self, int item) -> char""" return _fltk.Fl_Check_Browser_text(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Check_Browser_handle(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Check_Browser(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Check_Browser_draw(self, *args) def item_first(self, *args): """item_first(self) -> void""" return _fltk.Fl_Check_Browser_item_first(self, *args) def item_next(self, *args): """item_next(self, void item) -> void""" return _fltk.Fl_Check_Browser_item_next(self, *args) def item_prev(self, *args): """item_prev(self, void item) -> void""" return _fltk.Fl_Check_Browser_item_prev(self, *args) def item_last(self, *args): """item_last(self) -> void""" return _fltk.Fl_Check_Browser_item_last(self, *args) def item_height(self, *args): """item_height(self, void item) -> int""" return _fltk.Fl_Check_Browser_item_height(self, *args) def item_width(self, *args): """item_width(self, void item) -> int""" return _fltk.Fl_Check_Browser_item_width(self, *args) def item_quick_height(self, *args): """item_quick_height(self, void item) -> int""" return _fltk.Fl_Check_Browser_item_quick_height(self, *args) def item_draw(self, *args): """item_draw(self, void item, int X, int Y, int W, int H)""" return _fltk.Fl_Check_Browser_item_draw(self, *args) def item_text(self, *args): """item_text(self, void item) -> char""" return _fltk.Fl_Check_Browser_item_text(self, *args) def item_swap(self, *args): """item_swap(self, void a, void b)""" return _fltk.Fl_Check_Browser_item_swap(self, *args) def item_at(self, *args): """item_at(self, int index) -> void""" return _fltk.Fl_Check_Browser_item_at(self, *args) def full_width(self, *args): """full_width(self) -> int""" return _fltk.Fl_Check_Browser_full_width(self, *args) def full_height(self, *args): """full_height(self) -> int""" return _fltk.Fl_Check_Browser_full_height(self, *args) def incr_height(self, *args): """incr_height(self) -> int""" return _fltk.Fl_Check_Browser_incr_height(self, *args) def item_select(self, *args): """item_select(self, void item, int val = 1)""" return _fltk.Fl_Check_Browser_item_select(self, *args) def item_selected(self, *args): """item_selected(self, void item) -> int""" return _fltk.Fl_Check_Browser_item_selected(self, *args) Fl_Check_Browser_swigregister = _fltk.Fl_Check_Browser_swigregister Fl_Check_Browser_swigregister(Fl_Check_Browser) class Fl_Light_Button(Fl_Button): """ Buttons generate callbacks when they are clicked by the user. You control exactly when and how by changing the values for type() and when(). The Fl_Light_Button subclass display the 'on' state by turning on a light, rather than drawing pushed in. The shape of the 'light' is initially set to FL_DOWN_BOX. The color of the light when on is controlled with selection_color(), which defaults to FL_YELLOW. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Light_Button_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Light_Button_handle(self, *args) def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Light_Button""" if self.__class__ == Fl_Light_Button: _self = None else: _self = self this = _fltk.new_Fl_Light_Button(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Light_Button __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Light_Button(self) return weakref_proxy(self) Fl_Light_Button_swigregister = _fltk.Fl_Light_Button_swigregister Fl_Light_Button_swigregister(Fl_Light_Button) class Fl_Check_Button(Fl_Light_Button): """ Buttons generate callbacks when they are clicked by the user. You control exactly when and how by changing the values for type() and when(). The Fl_Check_Button subclass display the 'on' state by turning on a light, rather than drawing pushed in. The shape of the 'light' is initially set to FL_DIAMOND_DOWN_BOX. The color of the light when on is controlled with selection_color(), which defaults to FL_RED. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Check_Button""" if self.__class__ == Fl_Check_Button: _self = None else: _self = self this = _fltk.new_Fl_Check_Button(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Check_Button __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Check_Button(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Check_Button_draw(self, *args) Fl_Check_Button_swigregister = _fltk.Fl_Check_Button_swigregister Fl_Check_Button_swigregister(Fl_Check_Button) class Fl_Menu_(Fl_Widget): """ All widgets that have a menu in FLTK are subclassed off of this class. Currently FLTK provides you with Fl_Menu_Button, Fl_Menu_Bar, and Fl_Choice . The class contains a pointer to an array of structures of type Fl_Menu_Item. The array may either be supplied directly by the user program, or it may be 'private': a dynamically allocated array managed by the Fl_Menu_. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Menu_""" if self.__class__ == Fl_Menu_: _self = None else: _self = self this = _fltk.new_Fl_Menu_(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Menu_ __del__ = lambda self : None; def item_pathname(self, *args): """item_pathname(self, char name, int namelen, Fl_Menu_Item finditem = None) -> int""" return _fltk.Fl_Menu__item_pathname(self, *args) def picked(self, *args): """picked(self, Fl_Menu_Item arg0) -> Fl_Menu_Item""" return _fltk.Fl_Menu__picked(self, *args) def find_item(self, *args): """ find_item(self, char name) -> Fl_Menu_Item find_item(self, Fl_Callback arg0) -> Fl_Menu_Item """ return _fltk.Fl_Menu__find_item(self, *args) def find_index(self, *args): """ find_index(self, char name) -> int find_index(self, Fl_Menu_Item item) -> int find_index(self, Fl_Callback cb) -> int """ return _fltk.Fl_Menu__find_index(self, *args) def test_shortcut(self, *args): """test_shortcut(self) -> Fl_Menu_Item""" return _fltk.Fl_Menu__test_shortcut(self, *args) def insert(self, *args): """ insert(self, int index, char arg1, int shortcut, Fl_Callback arg3, void arg4 = None, int arg5 = 0) -> int insert(self, int index, char a, char b, Fl_Callback c, void d = None, int e = 0) -> int """ return _fltk.Fl_Menu__insert(self, *args) def size(self, *args): """ size(self) -> int size(self, int W, int H) """ return _fltk.Fl_Menu__size(self, *args) def clear(self, *args): """clear(self)""" return _fltk.Fl_Menu__clear(self, *args) def clear_submenu(self, *args): """clear_submenu(self, int index) -> int""" return _fltk.Fl_Menu__clear_submenu(self, *args) def replace(self, *args): """replace(self, int arg0, char arg1)""" return _fltk.Fl_Menu__replace(self, *args) def remove(self, *args): """remove(self, int arg0)""" return _fltk.Fl_Menu__remove(self, *args) def shortcut(self, *args): """shortcut(self, int i, int s)""" return _fltk.Fl_Menu__shortcut(self, *args) def mode(self, *args): """ mode(self, int i, int fl) mode(self, int i) -> int """ return _fltk.Fl_Menu__mode(self, *args) def mvalue(self, *args): """mvalue(self) -> Fl_Menu_Item""" return _fltk.Fl_Menu__mvalue(self, *args) def value(self, *args): """ value(self) -> int value(self, int i) -> int """ return _fltk.Fl_Menu__value(self, *args) def text(self, *args): """ text(self) -> char text(self, int i) -> char """ return _fltk.Fl_Menu__text(self, *args) def textfont(self, *args): """ textfont(self) -> Fl_Font textfont(self, Fl_Font c) """ return _fltk.Fl_Menu__textfont(self, *args) def textsize(self, *args): """ textsize(self) -> Fl_Fontsize textsize(self, Fl_Fontsize c) """ return _fltk.Fl_Menu__textsize(self, *args) def textcolor(self, *args): """ textcolor(self) -> Fl_Color textcolor(self, Fl_Color c) """ return _fltk.Fl_Menu__textcolor(self, *args) def down_box(self, *args): """ down_box(self) -> Fl_Boxtype down_box(self, Fl_Boxtype b) """ return _fltk.Fl_Menu__down_box(self, *args) def down_color(self, *args): """ down_color(self) -> Fl_Color down_color(self, unsigned int c) """ return _fltk.Fl_Menu__down_color(self, *args) def copy(self, *args): """ copy(self, Fl_Menu_Item m, void user_data = None) copy(self, PyObject args, PyObject user_data = None) """ return _fltk.Fl_Menu__copy(self, *args) def add(self, *args): """ add(self, char arg0, int shortcut, Fl_Callback arg2, void arg3 = None, int arg4 = 0) -> int add(self, char arg0) -> int add(self, PyObject lObj, PyObject sObj, PyObject cObj, PyObject uObj = None, PyObject fObj = None) -> int """ return _fltk.Fl_Menu__add(self, *args) def menu(self, *args): """ menu(self) -> Fl_Menu_Item menu(self, PyObject args) menu(self) -> PyObject """ return _fltk.Fl_Menu__menu(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Menu_(self) return weakref_proxy(self) Fl_Menu__swigregister = _fltk.Fl_Menu__swigregister Fl_Menu__swigregister(Fl_Menu_) class Fl_Choice(Fl_Menu_): """ This is a button that when pushed pops up a menu (or hierarchy of menus) defined by an array of Fl_Menu_Item objects. Motif calls this an OptionButton. The only difference between this and a Fl_Menu_Button is that the name of the most recent chosen menu item is displayed inside the box, while the label is displayed outside the box. However, since the use of this is most often to control a single variable rather than do individual callbacks, some of the Fl_Menu_Button methods are redescribed here in those terms. When the user picks an item off the menu the value() is set to that item and then the item's callback is done with the menu_button as the Fl_Widget argument. If the item does not have a callback the menu_button's callback is done instead. All three mouse buttons pop up the menu. The Forms behavior of the first two buttons to increment/decrement the choice is not implemented. This could be added with a subclass, however. The menu will also pop up in response to shortcuts indicated by putting a '&' character in the label(). See Fl_Button for a description of this. Typing the shortcut() of any of the items will do exactly the same as when you pick the item with the mouse. The '&' character in item names are only looked at when the menu is popped up, however. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Choice_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Choice_handle(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Choice""" if self.__class__ == Fl_Choice: _self = None else: _self = self this = _fltk.new_Fl_Choice(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def value(self, *args): """ value(self) -> int value(self, int v) -> int """ return _fltk.Fl_Choice_value(self, *args) __swig_destroy__ = _fltk.delete_Fl_Choice __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Choice(self) return weakref_proxy(self) Fl_Choice_swigregister = _fltk.Fl_Choice_swigregister Fl_Choice_swigregister(Fl_Choice) FL_SQUARE_CLOCK = _fltk.FL_SQUARE_CLOCK FL_ROUND_CLOCK = _fltk.FL_ROUND_CLOCK FL_ANALOG_CLOCK = _fltk.FL_ANALOG_CLOCK FL_DIGITAL_CLOCK = _fltk.FL_DIGITAL_CLOCK class Fl_Clock_Output(Fl_Widget): """Proxy of C++ Fl_Clock_Output class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Clock_Output_draw(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Clock_Output""" if self.__class__ == Fl_Clock_Output: _self = None else: _self = self this = _fltk.new_Fl_Clock_Output(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def value(self, *args): """ value(self, ulong v) value(self, int H, int m, int s) value(self) -> ulong """ return _fltk.Fl_Clock_Output_value(self, *args) def hour(self, *args): """hour(self) -> int""" return _fltk.Fl_Clock_Output_hour(self, *args) def minute(self, *args): """minute(self) -> int""" return _fltk.Fl_Clock_Output_minute(self, *args) def second(self, *args): """second(self) -> int""" return _fltk.Fl_Clock_Output_second(self, *args) __swig_destroy__ = _fltk.delete_Fl_Clock_Output __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Clock_Output(self) return weakref_proxy(self) Fl_Clock_Output_swigregister = _fltk.Fl_Clock_Output_swigregister Fl_Clock_Output_swigregister(Fl_Clock_Output) class Fl_Clock(Fl_Clock_Output): """ This widget provides a round analog clock display and is provided for Forms compatibility. It installs a 1-second timeout callback using Fl.add_timeout(). """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Clock_handle(self, *args) def __init__(self, *args): """ __init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Clock __init__(self, uchar t, int X, int Y, int W, int H, char L) -> Fl_Clock """ if self.__class__ == Fl_Clock: _self = None else: _self = self this = _fltk.new_Fl_Clock(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Clock __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Clock(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Clock_draw(self, *args) Fl_Clock_swigregister = _fltk.Fl_Clock_swigregister Fl_Clock_swigregister(Fl_Clock) class Fl_Value_Input(Fl_Valuator): """ The Fl_Value_Input widget displays a numeric value. The user can click in the text field and edit it - there is in fact a hidden Fl_Input widget with type(FL_FLOAT_INPUT) or type(FL_INT_INPUT) in there - and when they hit return or tab the value updates to what they typed and the callback is done. If step() is non-zero, the user can also drag the mouse across the object and thus slide the value. The left button moves one step() per pixel, the middle by 10 * step(), and the right button by 100 * step(). It is therefore impossible to select text by dragging across it, although clicking can still move the insertion cursor. If step() is non-zero and integral, then the range of numbers are limited to integers instead of floating point values. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Value_Input_handle(self, *args) def draw(self, *args): """draw(self)""" return _fltk.Fl_Value_Input_draw(self, *args) def resize(self, *args): """resize(self, int arg0, int arg1, int arg2, int arg3)""" return _fltk.Fl_Value_Input_resize(self, *args) def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Value_Input""" if self.__class__ == Fl_Value_Input: _self = None else: _self = self this = _fltk.new_Fl_Value_Input(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Value_Input __del__ = lambda self : None; def soft(self, *args): """ soft(self, char s) soft(self) -> char """ return _fltk.Fl_Value_Input_soft(self, *args) def shortcut(self, *args): """ shortcut(self) -> int shortcut(self, int s) """ return _fltk.Fl_Value_Input_shortcut(self, *args) def textfont(self, *args): """ textfont(self) -> Fl_Font textfont(self, Fl_Font s) """ return _fltk.Fl_Value_Input_textfont(self, *args) def textsize(self, *args): """ textsize(self) -> Fl_Fontsize textsize(self, Fl_Fontsize s) """ return _fltk.Fl_Value_Input_textsize(self, *args) def textcolor(self, *args): """ textcolor(self) -> Fl_Color textcolor(self, Fl_Color n) """ return _fltk.Fl_Value_Input_textcolor(self, *args) def cursor_color(self, *args): """ cursor_color(self) -> Fl_Color cursor_color(self, Fl_Color n) """ return _fltk.Fl_Value_Input_cursor_color(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Value_Input(self) return weakref_proxy(self) Fl_Value_Input_swigregister = _fltk.Fl_Value_Input_swigregister Fl_Value_Input_swigregister(Fl_Value_Input) class Flcc_HueBox(Fl_Widget): """Proxy of C++ Flcc_HueBox class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Flcc_HueBox_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Flcc_HueBox_handle(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H) -> Flcc_HueBox""" if self.__class__ == Flcc_HueBox: _self = None else: _self = self this = _fltk.new_Flcc_HueBox(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Flcc_HueBox __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Flcc_HueBox(self) return weakref_proxy(self) Flcc_HueBox_swigregister = _fltk.Flcc_HueBox_swigregister Flcc_HueBox_swigregister(Flcc_HueBox) class Flcc_ValueBox(Fl_Widget): """Proxy of C++ Flcc_ValueBox class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Flcc_ValueBox_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Flcc_ValueBox_handle(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H) -> Flcc_ValueBox""" if self.__class__ == Flcc_ValueBox: _self = None else: _self = self this = _fltk.new_Flcc_ValueBox(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Flcc_ValueBox __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Flcc_ValueBox(self) return weakref_proxy(self) Flcc_ValueBox_swigregister = _fltk.Flcc_ValueBox_swigregister Flcc_ValueBox_swigregister(Flcc_ValueBox) class Flcc_Value_Input(Fl_Value_Input): """Proxy of C++ Flcc_Value_Input class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def format(self, *args): """format(self, char arg0) -> int""" return _fltk.Flcc_Value_Input_format(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H) -> Flcc_Value_Input""" if self.__class__ == Flcc_Value_Input: _self = None else: _self = self this = _fltk.new_Flcc_Value_Input(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Flcc_Value_Input __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Flcc_Value_Input(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Flcc_Value_Input_draw(self, *args) Flcc_Value_Input_swigregister = _fltk.Flcc_Value_Input_swigregister Flcc_Value_Input_swigregister(Flcc_Value_Input) class Fl_Color_Chooser(Fl_Group): """ The Fl_Color_Chooser widget provides a standard RGB color chooser. You can place any number of these into a panel of your own design. This widget contains the hue box, value slider, and rgb input fields from the above diagram (it does not have the color chips or the Cancel or OK buttons). The callback is done every time the user changes the rgb value. It is not done if they move the hue control in a way that produces the same rgb value, such as when saturation or value is zero. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def mode(self, *args): """ mode(self) -> int mode(self, int newMode) """ return _fltk.Fl_Color_Chooser_mode(self, *args) def hue(self, *args): """hue(self) -> double""" return _fltk.Fl_Color_Chooser_hue(self, *args) def saturation(self, *args): """saturation(self) -> double""" return _fltk.Fl_Color_Chooser_saturation(self, *args) def value(self, *args): """value(self) -> double""" return _fltk.Fl_Color_Chooser_value(self, *args) def r(self, *args): """r(self) -> double""" return _fltk.Fl_Color_Chooser_r(self, *args) def g(self, *args): """g(self) -> double""" return _fltk.Fl_Color_Chooser_g(self, *args) def b(self, *args): """b(self) -> double""" return _fltk.Fl_Color_Chooser_b(self, *args) def hsv(self, *args): """hsv(self, double H, double S, double V) -> int""" return _fltk.Fl_Color_Chooser_hsv(self, *args) def rgb(self, *args): """rgb(self, double R, double G, double B) -> int""" return _fltk.Fl_Color_Chooser_rgb(self, *args) def hsv2rgb(*args): """hsv2rgb(double H, double S, double V, double R, double G, double B)""" return _fltk.Fl_Color_Chooser_hsv2rgb(*args) hsv2rgb = staticmethod(hsv2rgb) def rgb2hsv(*args): """rgb2hsv(double R, double G, double B, double H, double S, double V)""" return _fltk.Fl_Color_Chooser_rgb2hsv(*args) rgb2hsv = staticmethod(rgb2hsv) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Color_Chooser""" if self.__class__ == Fl_Color_Chooser: _self = None else: _self = self this = _fltk.new_Fl_Color_Chooser(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Color_Chooser __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Color_Chooser(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Color_Chooser_draw(self, *args) Fl_Color_Chooser_swigregister = _fltk.Fl_Color_Chooser_swigregister Fl_Color_Chooser_swigregister(Fl_Color_Chooser) def Fl_Color_Chooser_hsv2rgb(*args): """Fl_Color_Chooser_hsv2rgb(double H, double S, double V, double R, double G, double B)""" return _fltk.Fl_Color_Chooser_hsv2rgb(*args) def Fl_Color_Chooser_rgb2hsv(*args): """Fl_Color_Chooser_rgb2hsv(double R, double G, double B, double H, double S, double V)""" return _fltk.Fl_Color_Chooser_rgb2hsv(*args) FL_NORMAL_COUNTER = _fltk.FL_NORMAL_COUNTER FL_SIMPLE_COUNTER = _fltk.FL_SIMPLE_COUNTER class Fl_Counter(Fl_Valuator): """ The Fl_Counter widget is provided for forms compatibility. It controls a single floating point value. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Counter_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Counter_handle(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Counter""" if self.__class__ == Fl_Counter: _self = None else: _self = self this = _fltk.new_Fl_Counter(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Counter __del__ = lambda self : None; def lstep(self, *args): """lstep(self, double a)""" return _fltk.Fl_Counter_lstep(self, *args) def step(self, *args): """ step(self, double a, double b) step(self, double a) step(self) -> double """ return _fltk.Fl_Counter_step(self, *args) def textfont(self, *args): """ textfont(self) -> Fl_Font textfont(self, Fl_Font s) """ return _fltk.Fl_Counter_textfont(self, *args) def textsize(self, *args): """ textsize(self) -> Fl_Fontsize textsize(self, Fl_Fontsize s) """ return _fltk.Fl_Counter_textsize(self, *args) def textcolor(self, *args): """ textcolor(self) -> Fl_Color textcolor(self, Fl_Color s) """ return _fltk.Fl_Counter_textcolor(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Counter(self) return weakref_proxy(self) Fl_Counter_swigregister = _fltk.Fl_Counter_swigregister Fl_Counter_swigregister(Fl_Counter) def fl_color_chooser(*args): """ fl_color_chooser(char name, double r, double g, double b, int m = -1) -> int fl_color_chooser(char name, uchar r, uchar g, uchar b, int m = -1) -> int """ return _fltk.fl_color_chooser(*args) FL_NORMAL_DIAL = _fltk.FL_NORMAL_DIAL FL_LINE_DIAL = _fltk.FL_LINE_DIAL FL_FILL_DIAL = _fltk.FL_FILL_DIAL class Fl_Dial(Fl_Valuator): """ The Fl_Dial widget provides a circular dial to control a single floating point value. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Dial_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Dial_handle(self, *args) def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Dial""" if self.__class__ == Fl_Dial: _self = None else: _self = self this = _fltk.new_Fl_Dial(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def angle1(self, *args): """ angle1(self) -> short angle1(self, short a) """ return _fltk.Fl_Dial_angle1(self, *args) def angle2(self, *args): """ angle2(self) -> short angle2(self, short a) """ return _fltk.Fl_Dial_angle2(self, *args) def angles(self, *args): """angles(self, short a, short b)""" return _fltk.Fl_Dial_angles(self, *args) __swig_destroy__ = _fltk.delete_Fl_Dial __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Dial(self) return weakref_proxy(self) Fl_Dial_swigregister = _fltk.Fl_Dial_swigregister Fl_Dial_swigregister(Fl_Dial) FL_WINDOW = _fltk.FL_WINDOW FL_DOUBLE_WINDOW = _fltk.FL_DOUBLE_WINDOW class Fl_Window(Fl_Group): """ This widget produces an actual window. This can either be a main window, with a border and title and all the window management controls, or a 'subwindow' inside a window. This is controlled by whether or not the window has a parent(). Once you create a window, you usually add children Fl_Widget 's to it by using window->add(child) for each new widget. See Fl_Group for more information on how to add and remove children. There are several subclasses of Fl_Window that provide double-buffering, overlay, menu, and OpenGL support. The window's callback is done if the user tries to close a window using the window manager and Fl.modal() is zero or equal to the window. Fl_Window has a default callback that calls Fl_Window.hide(). """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Window_draw(self, *args) def flush(self, *args): """flush(self)""" return _fltk.Fl_Window_flush(self, *args) def __init__(self, *args): """ __init__(self, int w, int h, char title = None) -> Fl_Window __init__(self, int x, int y, int w, int h, char title = None) -> Fl_Window """ if self.__class__ == Fl_Window: _self = None else: _self = self this = _fltk.new_Fl_Window(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Window __del__ = lambda self : None; def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Window_handle(self, *args) def resize(self, *args): """resize(self, int arg0, int arg1, int arg2, int arg3)""" return _fltk.Fl_Window_resize(self, *args) def clear_border(self, *args): """clear_border(self)""" return _fltk.Fl_Window_clear_border(self, *args) def border(self, *args): """ border(self, int b) border(self) -> unsigned int """ return _fltk.Fl_Window_border(self, *args) def set_override(self, *args): """set_override(self)""" return _fltk.Fl_Window_set_override(self, *args) def override(self, *args): """override(self) -> unsigned int""" return _fltk.Fl_Window_override(self, *args) def set_modal(self, *args): """set_modal(self)""" return _fltk.Fl_Window_set_modal(self, *args) def modal(self, *args): """modal(self) -> unsigned int""" return _fltk.Fl_Window_modal(self, *args) def set_non_modal(self, *args): """set_non_modal(self)""" return _fltk.Fl_Window_set_non_modal(self, *args) def non_modal(self, *args): """non_modal(self) -> unsigned int""" return _fltk.Fl_Window_non_modal(self, *args) def set_menu_window(self, *args): """set_menu_window(self)""" return _fltk.Fl_Window_set_menu_window(self, *args) def menu_window(self, *args): """menu_window(self) -> unsigned int""" return _fltk.Fl_Window_menu_window(self, *args) def set_tooltip_window(self, *args): """set_tooltip_window(self)""" return _fltk.Fl_Window_set_tooltip_window(self, *args) def tooltip_window(self, *args): """tooltip_window(self) -> unsigned int""" return _fltk.Fl_Window_tooltip_window(self, *args) def hotspot(self, *args): """ hotspot(self, int x, int y, int offscreen = 0) hotspot(self, Fl_Widget arg0, int offscreen = 0) """ return _fltk.Fl_Window_hotspot(self, *args) def free_position(self, *args): """free_position(self)""" return _fltk.Fl_Window_free_position(self, *args) def size_range(self, *args): """ size_range(self, int a, int b, int c = 0, int d = 0, int e = 0, int f = 0, int g = 0) """ return _fltk.Fl_Window_size_range(self, *args) def iconlabel(self, *args): """ iconlabel(self) -> char iconlabel(self, char arg0) """ return _fltk.Fl_Window_iconlabel(self, *args) def label(self, *args): """ label(self) -> char label(self, char arg0) label(self, char label, char iconlabel) """ val = _fltk.Fl_Window_label(self, *args) if len(args) > 0: self.my_label = args[len(args)-1] return val def copy_label(self, *args): """copy_label(self, char a)""" return _fltk.Fl_Window_copy_label(self, *args) def default_xclass(*args): """ default_xclass(char arg0) default_xclass() -> char """ return _fltk.Fl_Window_default_xclass(*args) default_xclass = staticmethod(default_xclass) def xclass(self, *args): """ xclass(self) -> char xclass(self, char c) """ return _fltk.Fl_Window_xclass(self, *args) def icon(self, *args): """ icon(self) -> void icon(self, void ic) """ return _fltk.Fl_Window_icon(self, *args) def shown(self, *args): """shown(self) -> int""" return _fltk.Fl_Window_shown(self, *args) def hide(self, *args): """hide(self)""" return _fltk.Fl_Window_hide(self, *args) def fullscreen(self, *args): """fullscreen(self)""" return _fltk.Fl_Window_fullscreen(self, *args) def fullscreen_off(self, *args): """fullscreen_off(self, int arg0, int arg1, int arg2, int arg3)""" return _fltk.Fl_Window_fullscreen_off(self, *args) def iconize(self, *args): """iconize(self)""" return _fltk.Fl_Window_iconize(self, *args) def x_root(self, *args): """x_root(self) -> int""" return _fltk.Fl_Window_x_root(self, *args) def y_root(self, *args): """y_root(self) -> int""" return _fltk.Fl_Window_y_root(self, *args) def current(*args): """current() -> Fl_Window""" return _fltk.Fl_Window_current(*args) current = staticmethod(current) def make_current(self, *args): """make_current(self)""" return _fltk.Fl_Window_make_current(self, *args) def as_window(self, *args): """as_window(self) -> Fl_Window""" return _fltk.Fl_Window_as_window(self, *args) def cursor(self, *args): """cursor(self, Fl_Cursor arg0, Fl_Color arg1 = , Fl_Color arg2 = )""" return _fltk.Fl_Window_cursor(self, *args) def default_cursor(self, *args): """default_cursor(self, Fl_Cursor arg0, Fl_Color arg1 = , Fl_Color arg2 = )""" return _fltk.Fl_Window_default_cursor(self, *args) def default_callback(*args): """default_callback(Fl_Window arg0, void v)""" return _fltk.Fl_Window_default_callback(*args) default_callback = staticmethod(default_callback) def decorated_w(self, *args): """decorated_w(self) -> int""" return _fltk.Fl_Window_decorated_w(self, *args) def decorated_h(self, *args): """decorated_h(self) -> int""" return _fltk.Fl_Window_decorated_h(self, *args) def show(self, *args): """show(self, PyObject count = None, PyObject data = None)""" return _fltk.Fl_Window_show(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Window(self) return weakref_proxy(self) Fl_Window_swigregister = _fltk.Fl_Window_swigregister Fl_Window_swigregister(Fl_Window) def Fl_Window_default_xclass(*args): """ default_xclass(char arg0) Fl_Window_default_xclass() -> char """ return _fltk.Fl_Window_default_xclass(*args) def Fl_Window_current(*args): """Fl_Window_current() -> Fl_Window""" return _fltk.Fl_Window_current(*args) def Fl_Window_default_callback(*args): """Fl_Window_default_callback(Fl_Window arg0, void v)""" return _fltk.Fl_Window_default_callback(*args) class Fl_Double_Window(Fl_Window): """ The Fl_Double_Window class provides a double-buffered window. If possible this will use the X double buffering extension (Xdbe). If not, it will draw the window data into an off-screen pixmap, and then copy it to the on-screen window. It is highly recommended that you put the following code before the first show() of any window in your program: Fl.visual(FL_DOUBLE|FL_INDEX) This makes sure you can use Xdbe on servers where double buffering does not exist for every visual. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def flush(self, *args): """flush(self)""" return _fltk.Fl_Double_Window_flush(self, *args) def resize(self, *args): """resize(self, int arg0, int arg1, int arg2, int arg3)""" return _fltk.Fl_Double_Window_resize(self, *args) def hide(self, *args): """hide(self)""" return _fltk.Fl_Double_Window_hide(self, *args) __swig_destroy__ = _fltk.delete_Fl_Double_Window __del__ = lambda self : None; def __init__(self, *args): """ __init__(self, int W, int H, char l = None) -> Fl_Double_Window __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Double_Window """ if self.__class__ == Fl_Double_Window: _self = None else: _self = self this = _fltk.new_Fl_Double_Window(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def show(self, *args): """show(self, PyObject count = None, PyObject data = None)""" return _fltk.Fl_Double_Window_show(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Double_Window(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Double_Window_draw(self, *args) Fl_Double_Window_swigregister = _fltk.Fl_Double_Window_swigregister Fl_Double_Window_swigregister(Fl_Double_Window) def fl_push_clip(*args): """fl_push_clip(int x, int y, int w, int h)""" return _fltk.fl_push_clip(*args) def fl_push_no_clip(*args): """fl_push_no_clip()""" return _fltk.fl_push_no_clip(*args) def fl_pop_clip(*args): """fl_pop_clip()""" return _fltk.fl_pop_clip(*args) def fl_not_clipped(*args): """fl_not_clipped(int x, int y, int w, int h) -> int""" return _fltk.fl_not_clipped(*args) def fl_clip_box(*args): """fl_clip_box(int x, int y, int w, int h) -> int""" return _fltk.fl_clip_box(*args) def fl_restore_clip(*args): """fl_restore_clip()""" return _fltk.fl_restore_clip(*args) def fl_point(*args): """fl_point(int x, int y)""" return _fltk.fl_point(*args) def fl_line_style(*args): """fl_line_style(int style, int width = 0, char dashes = None)""" return _fltk.fl_line_style(*args) FL_SOLID = _fltk.FL_SOLID FL_DASH = _fltk.FL_DASH FL_DOT = _fltk.FL_DOT FL_DASHDOT = _fltk.FL_DASHDOT FL_DASHDOTDOT = _fltk.FL_DASHDOTDOT FL_CAP_FLAT = _fltk.FL_CAP_FLAT FL_CAP_ROUND = _fltk.FL_CAP_ROUND FL_CAP_SQUARE = _fltk.FL_CAP_SQUARE FL_JOIN_MITER = _fltk.FL_JOIN_MITER FL_JOIN_ROUND = _fltk.FL_JOIN_ROUND FL_JOIN_BEVEL = _fltk.FL_JOIN_BEVEL def fl_pie(*args): """fl_pie(int x, int y, int w, int h, double a1, double a2)""" return _fltk.fl_pie(*args) def fl_push_matrix(*args): """fl_push_matrix()""" return _fltk.fl_push_matrix(*args) def fl_pop_matrix(*args): """fl_pop_matrix()""" return _fltk.fl_pop_matrix(*args) def fl_translate(*args): """fl_translate(double x, double y)""" return _fltk.fl_translate(*args) def fl_rotate(*args): """fl_rotate(double d)""" return _fltk.fl_rotate(*args) def fl_mult_matrix(*args): """fl_mult_matrix(double a, double b, double c, double d, double x, double y)""" return _fltk.fl_mult_matrix(*args) def fl_begin_points(*args): """fl_begin_points()""" return _fltk.fl_begin_points(*args) def fl_begin_line(*args): """fl_begin_line()""" return _fltk.fl_begin_line(*args) def fl_begin_loop(*args): """fl_begin_loop()""" return _fltk.fl_begin_loop(*args) def fl_begin_polygon(*args): """fl_begin_polygon()""" return _fltk.fl_begin_polygon(*args) def fl_vertex(*args): """fl_vertex(double x, double y)""" return _fltk.fl_vertex(*args) def fl_curve(*args): """ fl_curve(double X0, double Y0, double X1, double Y1, double X2, double Y2, double X3, double Y3) """ return _fltk.fl_curve(*args) def fl_circle(*args): """fl_circle(double x, double y, double r)""" return _fltk.fl_circle(*args) def fl_end_points(*args): """fl_end_points()""" return _fltk.fl_end_points(*args) def fl_end_line(*args): """fl_end_line()""" return _fltk.fl_end_line(*args) def fl_end_loop(*args): """fl_end_loop()""" return _fltk.fl_end_loop(*args) def fl_end_polygon(*args): """fl_end_polygon()""" return _fltk.fl_end_polygon(*args) def fl_begin_complex_polygon(*args): """fl_begin_complex_polygon()""" return _fltk.fl_begin_complex_polygon(*args) def fl_gap(*args): """fl_gap()""" return _fltk.fl_gap(*args) def fl_end_complex_polygon(*args): """fl_end_complex_polygon()""" return _fltk.fl_end_complex_polygon(*args) def fl_transform_x(*args): """fl_transform_x(double x, double y) -> double""" return _fltk.fl_transform_x(*args) def fl_transform_y(*args): """fl_transform_y(double x, double y) -> double""" return _fltk.fl_transform_y(*args) def fl_transform_dx(*args): """fl_transform_dx(double x, double y) -> double""" return _fltk.fl_transform_dx(*args) def fl_transform_dy(*args): """fl_transform_dy(double x, double y) -> double""" return _fltk.fl_transform_dy(*args) def fl_transformed_vertex(*args): """fl_transformed_vertex(double xf, double yf)""" return _fltk.fl_transformed_vertex(*args) def fl_size(*args): """fl_size() -> Fl_Fontsize""" return _fltk.fl_size(*args) def fl_descent(*args): """fl_descent() -> int""" return _fltk.fl_descent(*args) def fl_latin1_to_local(*args): """fl_latin1_to_local(char t, int n = -1) -> char""" return _fltk.fl_latin1_to_local(*args) def fl_local_to_latin1(*args): """fl_local_to_latin1(char t, int n = -1) -> char""" return _fltk.fl_local_to_latin1(*args) def fl_mac_roman_to_local(*args): """fl_mac_roman_to_local(char t, int n = -1) -> char""" return _fltk.fl_mac_roman_to_local(*args) def fl_local_to_mac_roman(*args): """fl_local_to_mac_roman(char t, int n = -1) -> char""" return _fltk.fl_local_to_mac_roman(*args) def fl_rtl_draw(*args): """fl_rtl_draw(char str, int n, int x, int y)""" return _fltk.fl_rtl_draw(*args) def fl_measure(*args): """fl_measure(char str, int draw_symbols = 1)""" return _fltk.fl_measure(*args) def fl_frame2(*args): """fl_frame2(char s, int x, int y, int w, int h)""" return _fltk.fl_frame2(*args) def fl_draw_box(*args): """fl_draw_box(Fl_Boxtype arg0, int x, int y, int w, int h, Fl_Color arg5)""" return _fltk.fl_draw_box(*args) def fl_draw_image(*args): """fl_draw_image(uchar buf, int X, int Y, int W, int H, int D = 3, int L = 0)""" return _fltk.fl_draw_image(*args) def fl_draw_image_mono(*args): """fl_draw_image_mono(uchar buf, int X, int Y, int W, int H, int D = 1, int L = 0)""" return _fltk.fl_draw_image_mono(*args) def fl_can_do_alpha_blending(*args): """fl_can_do_alpha_blending() -> char""" return _fltk.fl_can_do_alpha_blending(*args) def fl_draw_pixmap(*args): """fl_draw_pixmap(char data, int x, int y, Fl_Color arg3 = ) -> int""" return _fltk.fl_draw_pixmap(*args) def fl_measure_pixmap(*args): """fl_measure_pixmap(char data) -> int""" return _fltk.fl_measure_pixmap(*args) def fl_scroll(*args): """ fl_scroll(int X, int Y, int W, int H, int dx, int dy, void draw_area, void data) """ return _fltk.fl_scroll(*args) def fl_overlay_rect(*args): """fl_overlay_rect(int x, int y, int w, int h)""" return _fltk.fl_overlay_rect(*args) def fl_overlay_clear(*args): """fl_overlay_clear()""" return _fltk.fl_overlay_clear(*args) def fl_cursor(*args): """fl_cursor(Fl_Cursor arg0, Fl_Color fg = , Fl_Color bg = )""" return _fltk.fl_cursor(*args) def fl_expand_text(*args): """ fl_expand_text(char _from, char buf, int maxbuf, double maxw, double width, int wrap, int draw_symbols = 0) -> char """ return _fltk.fl_expand_text(*args) def fl_set_status(*args): """fl_set_status(int X, int Y, int W, int H)""" return _fltk.fl_set_status(*args) def fl_set_spot(*args): """fl_set_spot(int font, int size, int X, int Y, int W, int H, Fl_Window win = None)""" return _fltk.fl_set_spot(*args) def fl_reset_spot(*args): """fl_reset_spot()""" return _fltk.fl_reset_spot(*args) def fl_draw_symbol(*args): """fl_draw_symbol(char label, int x, int y, int w, int h, Fl_Color arg5) -> int""" return _fltk.fl_draw_symbol(*args) def fl_add_symbol(*args): """fl_add_symbol(char name, void drawit, int scalable) -> int""" return _fltk.fl_add_symbol(*args) FL_NORMAL_INPUT = _fltk.FL_NORMAL_INPUT FL_FLOAT_INPUT = _fltk.FL_FLOAT_INPUT FL_INT_INPUT = _fltk.FL_INT_INPUT FL_HIDDEN_INPUT = _fltk.FL_HIDDEN_INPUT FL_MULTILINE_INPUT = _fltk.FL_MULTILINE_INPUT FL_SECRET_INPUT = _fltk.FL_SECRET_INPUT FL_INPUT_TYPE = _fltk.FL_INPUT_TYPE FL_INPUT_READONLY = _fltk.FL_INPUT_READONLY FL_NORMAL_OUTPUT = _fltk.FL_NORMAL_OUTPUT FL_MULTILINE_OUTPUT = _fltk.FL_MULTILINE_OUTPUT FL_INPUT_WRAP = _fltk.FL_INPUT_WRAP FL_MULTILINE_INPUT_WRAP = _fltk.FL_MULTILINE_INPUT_WRAP FL_MULTILINE_OUTPUT_WRAP = _fltk.FL_MULTILINE_OUTPUT_WRAP class Fl_Input_(Fl_Widget): """ This is a virtual base class below Fl_Input. It has all the same interfaces, but lacks the handle() and draw() method. You may want to subclass it if you are one of those people who likes to change how the editing keys work. This can act like any of the subclasses of Fl_Input, by setting type() to one of the following values: FL_NORMAL_INPUT 0 FL_FLOAT_INPUT 1 FL_INT_INPUT 2 FL_MULTILINE_INPUT 4 FL_SECRET_INPUT 5 FL_INPUT_TYPE 7 FL_INPUT_READONLY 8 FL_NORMAL_OUTPUT (FL_NORMAL_INPUT | FL_INPUT_READONLY) FL_MULTILINE_OUTPUT (FL_MULTILINE_INPUT | FL_INPUT_READONLY) FL_INPUT_WRAP 16 FL_MULTILINE_INPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_WRAP) FL_MULTILINE_OUTPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_READONLY | FL_INPUT_WRAP) """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def resize(self, *args): """resize(self, int arg0, int arg1, int arg2, int arg3)""" return _fltk.Fl_Input__resize(self, *args) def __init__(self, *args): """__init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Input_""" if self.__class__ == Fl_Input_: _self = None else: _self = self this = _fltk.new_Fl_Input_(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Input_ __del__ = lambda self : None; def static_value(self, *args): """ static_value(self, char arg0) -> int static_value(self, char arg0, int arg1) -> int """ return _fltk.Fl_Input__static_value(self, *args) def value(self, *args): """ value(self, char arg0) -> int value(self, char arg0, int arg1) -> int value(self) -> char """ return _fltk.Fl_Input__value(self, *args) def index(self, *args): """index(self, int i) -> Fl_Char""" return _fltk.Fl_Input__index(self, *args) def size(self, *args): """ size(self) -> int size(self, int W, int H) """ return _fltk.Fl_Input__size(self, *args) def maximum_size(self, *args): """ maximum_size(self) -> int maximum_size(self, int m) """ return _fltk.Fl_Input__maximum_size(self, *args) def position(self, *args): """ position(self) -> int position(self, int p, int m) -> int position(self, int p) -> int """ return _fltk.Fl_Input__position(self, *args) def mark(self, *args): """ mark(self) -> int mark(self, int m) -> int """ return _fltk.Fl_Input__mark(self, *args) def replace(self, *args): """replace(self, int arg0, int arg1, char arg2, int arg3 = 0) -> int""" return _fltk.Fl_Input__replace(self, *args) def cut(self, *args): """ cut(self) -> int cut(self, int n) -> int cut(self, int a, int b) -> int """ return _fltk.Fl_Input__cut(self, *args) def insert(self, *args): """insert(self, char t, int l = 0) -> int""" return _fltk.Fl_Input__insert(self, *args) def copy(self, *args): """copy(self, int clipboard) -> int""" return _fltk.Fl_Input__copy(self, *args) def undo(self, *args): """undo(self) -> int""" return _fltk.Fl_Input__undo(self, *args) def copy_cuts(self, *args): """copy_cuts(self) -> int""" return _fltk.Fl_Input__copy_cuts(self, *args) def shortcut(self, *args): """ shortcut(self) -> int shortcut(self, int s) """ return _fltk.Fl_Input__shortcut(self, *args) def textfont(self, *args): """ textfont(self) -> Fl_Font textfont(self, Fl_Font s) """ return _fltk.Fl_Input__textfont(self, *args) def textsize(self, *args): """ textsize(self) -> Fl_Fontsize textsize(self, Fl_Fontsize s) """ return _fltk.Fl_Input__textsize(self, *args) def textcolor(self, *args): """ textcolor(self) -> Fl_Color textcolor(self, Fl_Color n) """ return _fltk.Fl_Input__textcolor(self, *args) def cursor_color(self, *args): """ cursor_color(self) -> Fl_Color cursor_color(self, Fl_Color n) """ return _fltk.Fl_Input__cursor_color(self, *args) def input_type(self, *args): """ input_type(self) -> int input_type(self, int t) """ return _fltk.Fl_Input__input_type(self, *args) def readonly(self, *args): """ readonly(self) -> int readonly(self, int b) """ return _fltk.Fl_Input__readonly(self, *args) def wrap(self, *args): """ wrap(self) -> int wrap(self, int b) """ return _fltk.Fl_Input__wrap(self, *args) def tab_nav(self, *args): """ tab_nav(self, int val) tab_nav(self) -> int """ return _fltk.Fl_Input__tab_nav(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Input_(self) return weakref_proxy(self) Fl_Input__swigregister = _fltk.Fl_Input__swigregister Fl_Input__swigregister(Fl_Input_) def fl_color(*args): """ fl_color(Fl_Color c) fl_color(uchar r, uchar g, uchar b) fl_color() -> Fl_Color """ return _fltk.fl_color(*args) def fl_clip_region(*args): """ fl_clip_region(Fl_Region r) fl_clip_region() -> Fl_Region """ return _fltk.fl_clip_region(*args) def fl_rect(*args): """ fl_rect(int x, int y, int w, int h) fl_rect(int x, int y, int w, int h, Fl_Color c) """ return _fltk.fl_rect(*args) def fl_rectf(*args): """ fl_rectf(int x, int y, int w, int h) fl_rectf(int x, int y, int w, int h, Fl_Color c) fl_rectf(int x, int y, int w, int h, uchar r, uchar g, uchar b) """ return _fltk.fl_rectf(*args) def fl_line(*args): """ fl_line(int x, int y, int x1, int y1) fl_line(int x, int y, int x1, int y1, int x2, int y2) """ return _fltk.fl_line(*args) def fl_loop(*args): """ fl_loop(int x, int y, int x1, int y1, int x2, int y2) fl_loop(int x, int y, int x1, int y1, int x2, int y2, int x3, int y3) """ return _fltk.fl_loop(*args) def fl_polygon(*args): """ fl_polygon(int x, int y, int x1, int y1, int x2, int y2) fl_polygon(int x, int y, int x1, int y1, int x2, int y2, int x3, int y3) """ return _fltk.fl_polygon(*args) def fl_xyline(*args): """ fl_xyline(int x, int y, int x1) fl_xyline(int x, int y, int x1, int y2) fl_xyline(int x, int y, int x1, int y2, int x3) """ return _fltk.fl_xyline(*args) def fl_yxline(*args): """ fl_yxline(int x, int y, int y1) fl_yxline(int x, int y, int y1, int x2) fl_yxline(int x, int y, int y1, int x2, int y3) """ return _fltk.fl_yxline(*args) def fl_scale(*args): """ fl_scale(double x, double y) fl_scale(double x) """ return _fltk.fl_scale(*args) def fl_arc(*args): """ fl_arc(int x, int y, int w, int h, double a1, double a2) fl_arc(double x, double y, double r, double start, double end) """ return _fltk.fl_arc(*args) def fl_font(*args): """ fl_font(Fl_Font face, Fl_Fontsize size) fl_font() -> Fl_Font """ return _fltk.fl_font(*args) def fl_height(*args): """ fl_height() -> int fl_height(int font, int size) -> int """ return _fltk.fl_height(*args) def fl_width(*args): """ fl_width(char txt) -> double fl_width(char txt, int n) -> double fl_width(unsigned int c) -> double """ return _fltk.fl_width(*args) def fl_text_extents(*args): """ fl_text_extents(char arg0) fl_text_extents(char t, int n) """ return _fltk.fl_text_extents(*args) def fl_draw(*args): """ fl_draw(char str, int x, int y) fl_draw(int angle, char str, int x, int y) fl_draw(char str, int n, int x, int y) fl_draw(int angle, char str, int n, int x, int y) fl_draw(char str, int x, int y, int w, int h, Fl_Align align, Fl_Image img = None, int draw_symbols = 1) fl_draw(char str, int x, int y, int w, int h, Fl_Align align, void callthis, Fl_Image img = None, int draw_symbols = 1) """ return _fltk.fl_draw(*args) def fl_frame(*args): """ fl_frame(Fl_Boxtype b) -> Fl_Boxtype fl_frame(char s, int x, int y, int w, int h) """ return _fltk.fl_frame(*args) def fl_shortcut_label(*args): """ fl_shortcut_label(unsigned int shortcut) -> char fl_shortcut_label(unsigned int shortcut, char eom) -> char """ return _fltk.fl_shortcut_label(*args) class Fl_Input(Fl_Input_): """ This is the FLTK text input widget. It displays a single line of text and lets the user edit it. Normally it is drawn with an inset box and a white background. The text may contain any characters (even 0), and will correctly display anything, using ^X notation for unprintable control characters and nn notation for unprintable characters with the high bit set. It assumes the font can draw any characters in the ISO-8859-1 character set. Mouse button 1 Moves the cursor to this point. Drag selects characters. Double click selects words. Triple click selects all text. Shift+click extends the selection. When you select text it is automatically copied to the clipboard. Mouse button 2 Insert the clipboard at the point clicked. You can also select a region and replace it with the clipboard by selecting the region with mouse button 2. Mouse button 3 Currently acts like button 1. Backspace Deletes one character to the left, or deletes the selected region. Enter May cause the callback, see when(). ^A or Home Go to start of line. ^B or Left Move left ^C Copy the selection to the clipboard ^D or Delete Deletes one character to the right or deletes the selected region. ^E or End Go to the end of line. ^F or Right Move right ^K Delete to the end of line (next character) or deletes a single character. These deletions are all concatenated into the clipboard. ^N or Down Move down (for Fl_Multiline_Input only, otherwise it moves to the next input field). ^P or Up Move up (for Fl_Multiline_Input only, otherwise it moves to the previous input field). ^U Delete everything. ^V or ^Y Paste the clipboard ^X or ^W Copy the region to the clipboard and delete it. ^Z or ^_ Undo. This is a single-level undo mechanism, but all adjacent deletions and insertions are concatenated into a single 'undo'. Often this will undo a lot more than you expected. Shift+move Move the cursor but also extend the selection. RightCtrl or Compose Start a compose-character sequence. The next one or two keys typed define the character to insert (see table that follows.) The character 'nbsp' (non-breaking space) is typed by using [compose][space]. The single-character sequences may be followed by a space if necessary to remove ambiguity. The same key may be used to 'quote' control characters into the text. If you need a ^Q character you can get one by typing [compose][Control+Q]. X may have a key on the keyboard defined as XK_Multi_key. If so this key may be used as well as the right-hand control key. You can set this up with the program xmodmap. If your keyboard is set to support a foreign language you should also be able to type 'dead key' prefix characters. On X you will actually be able to see what dead key you typed, and if you then move the cursor without completing the sequence the accent will remain inserted. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Input_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Input_handle(self, *args) def __init__(self, *args): """__init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Input""" if self.__class__ == Fl_Input: _self = None else: _self = self this = _fltk.new_Fl_Input(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Input __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Input(self) return weakref_proxy(self) Fl_Input_swigregister = _fltk.Fl_Input_swigregister Fl_Input_swigregister(Fl_Input) class Fl_File_Input(Fl_Input): """ This widget displays a pathname in a text input field. A navigation bar located above the input field allows the user to navigate upward in the directory tree. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_File_Input""" if self.__class__ == Fl_File_Input: _self = None else: _self = self this = _fltk.new_Fl_File_Input(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def handle(self, *args): """handle(self, int event) -> int""" return _fltk.Fl_File_Input_handle(self, *args) def draw(self, *args): """draw(self)""" return _fltk.Fl_File_Input_draw(self, *args) def down_box(self, *args): """ down_box(self) -> Fl_Boxtype down_box(self, Fl_Boxtype b) """ return _fltk.Fl_File_Input_down_box(self, *args) def errorcolor(self, *args): """ errorcolor(self) -> Fl_Color errorcolor(self, Fl_Color c) """ return _fltk.Fl_File_Input_errorcolor(self, *args) def value(self, *args): """ value(self, char str) -> int value(self, char str, int len) -> int value(self) -> char """ return _fltk.Fl_File_Input_value(self, *args) __swig_destroy__ = _fltk.delete_Fl_File_Input __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_File_Input(self) return weakref_proxy(self) Fl_File_Input_swigregister = _fltk.Fl_File_Input_swigregister Fl_File_Input_swigregister(Fl_File_Input) class Fl_Fill_Dial(Fl_Dial): """ The Fl_Fill_Dial widget provides a filled, circular dial to control a single floating point value. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Fill_Dial""" if self.__class__ == Fl_Fill_Dial: _self = None else: _self = self this = _fltk.new_Fl_Fill_Dial(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Fill_Dial __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Fill_Dial(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Fill_Dial_draw(self, *args) Fl_Fill_Dial_swigregister = _fltk.Fl_Fill_Dial_swigregister Fl_Fill_Dial_swigregister(Fl_Fill_Dial) FL_VERT_SLIDER = _fltk.FL_VERT_SLIDER FL_HOR_SLIDER = _fltk.FL_HOR_SLIDER FL_VERT_FILL_SLIDER = _fltk.FL_VERT_FILL_SLIDER FL_HOR_FILL_SLIDER = _fltk.FL_HOR_FILL_SLIDER FL_VERT_NICE_SLIDER = _fltk.FL_VERT_NICE_SLIDER FL_HOR_NICE_SLIDER = _fltk.FL_HOR_NICE_SLIDER class Fl_Slider(Fl_Valuator): """ The Fl_Slider widget contains a sliding knob inside a box. It if often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Slider_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Slider_handle(self, *args) def __init__(self, *args): """ __init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Slider __init__(self, uchar t, int X, int Y, int W, int H, char L) -> Fl_Slider """ if self.__class__ == Fl_Slider: _self = None else: _self = self this = _fltk.new_Fl_Slider(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def scrollvalue(self, *args): """scrollvalue(self, int pos, int size, int first, int total) -> int""" return _fltk.Fl_Slider_scrollvalue(self, *args) def bounds(self, *args): """bounds(self, double a, double b)""" return _fltk.Fl_Slider_bounds(self, *args) def slider_size(self, *args): """ slider_size(self) -> float slider_size(self, double v) """ return _fltk.Fl_Slider_slider_size(self, *args) def slider(self, *args): """ slider(self) -> Fl_Boxtype slider(self, Fl_Boxtype c) """ return _fltk.Fl_Slider_slider(self, *args) __swig_destroy__ = _fltk.delete_Fl_Slider __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Slider(self) return weakref_proxy(self) Fl_Slider_swigregister = _fltk.Fl_Slider_swigregister Fl_Slider_swigregister(Fl_Slider) class Fl_Fill_Slider(Fl_Slider): """ The Fl_Fill_Slider widget contains a sliding knob inside a box. It if often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Fill_Slider""" if self.__class__ == Fl_Fill_Slider: _self = None else: _self = self this = _fltk.new_Fl_Fill_Slider(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Fill_Slider __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Fill_Slider(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Fill_Slider_draw(self, *args) Fl_Fill_Slider_swigregister = _fltk.Fl_Fill_Slider_swigregister Fl_Fill_Slider_swigregister(Fl_Fill_Slider) class Fl_Float_Input(Fl_Input): """ The Fl_Float_Input class is a subclass of Fl_Input that only allows the user to type floating point numbers (sign, digits, decimal point, more digits, 'E' or 'e', sign, digits). """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Float_Input""" if self.__class__ == Fl_Float_Input: _self = None else: _self = self this = _fltk.new_Fl_Float_Input(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Float_Input __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Float_Input(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Float_Input_draw(self, *args) Fl_Float_Input_swigregister = _fltk.Fl_Float_Input_swigregister Fl_Float_Input_swigregister(Fl_Float_Input) class Fl_FormsBitmap(Fl_Widget): """Proxy of C++ Fl_FormsBitmap class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_FormsBitmap_draw(self, *args) def __init__(self, *args): """ __init__(self, Fl_Boxtype arg0, int arg1, int arg2, int arg3, int arg4, char arg5 = None) -> Fl_FormsBitmap """ if self.__class__ == Fl_FormsBitmap: _self = None else: _self = self this = _fltk.new_Fl_FormsBitmap(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def set(self, *args): """set(self, int W, int H, uchar bits)""" return _fltk.Fl_FormsBitmap_set(self, *args) def bitmap(self, *args): """ bitmap(self, Fl_Bitmap B) bitmap(self) -> Fl_Bitmap """ return _fltk.Fl_FormsBitmap_bitmap(self, *args) __swig_destroy__ = _fltk.delete_Fl_FormsBitmap __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_FormsBitmap(self) return weakref_proxy(self) Fl_FormsBitmap_swigregister = _fltk.Fl_FormsBitmap_swigregister Fl_FormsBitmap_swigregister(Fl_FormsBitmap) class Fl_FormsPixmap(Fl_Widget): """Proxy of C++ Fl_FormsPixmap class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_FormsPixmap_draw(self, *args) def __init__(self, *args): """__init__(self, Fl_Boxtype t, int X, int Y, int W, int H, char L = None) -> Fl_FormsPixmap""" if self.__class__ == Fl_FormsPixmap: _self = None else: _self = self this = _fltk.new_Fl_FormsPixmap(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def set(self, *args): """set(self, char bits)""" return _fltk.Fl_FormsPixmap_set(self, *args) def Pixmap(self, *args): """ Pixmap(self, Fl_Pixmap B) Pixmap(self) -> Fl_Pixmap """ return _fltk.Fl_FormsPixmap_Pixmap(self, *args) __swig_destroy__ = _fltk.delete_Fl_FormsPixmap __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_FormsPixmap(self) return weakref_proxy(self) Fl_FormsPixmap_swigregister = _fltk.Fl_FormsPixmap_swigregister Fl_FormsPixmap_swigregister(Fl_FormsPixmap) FL_NORMAL_FREE = _fltk.FL_NORMAL_FREE FL_SLEEPING_FREE = _fltk.FL_SLEEPING_FREE FL_INPUT_FREE = _fltk.FL_INPUT_FREE FL_CONTINUOUS_FREE = _fltk.FL_CONTINUOUS_FREE FL_ALL_FREE = _fltk.FL_ALL_FREE class Fl_Free(Fl_Widget): """ Emulation of the Forms 'free' widget. This emulation allows the free demo to run, and appears to be useful for porting programs written in Forms which use the free widget or make subclasses of the Forms widgets. There are five types of free, which determine when the handle function is called: FL_NORMAL_FREE 1 FL_SLEEPING_FREE 2 FL_INPUT_FREE 3 FL_CONTINUOUS_FREE 4 FL_ALL_FREE 5 An FL_INPUT_FREE accepts FL_FOCUS events. A FL_CONTINUOUS_FREE sets a timeout callback 100 times a second and provides a FL_STEP event, this has obvious detrimental effects on machine performance. FL_ALL_FREE does both. FL_SLEEPING_FREE are deactivated. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Free_draw(self, *args) def handle(self, *args): """handle(self, int e) -> int""" return _fltk.Fl_Free_handle(self, *args) def __init__(self, *args): """__init__(self, uchar t, int X, int Y, int W, int H, char L, FL_HANDLEPTR hdl) -> Fl_Free""" if self.__class__ == Fl_Free: _self = None else: _self = self this = _fltk.new_Fl_Free(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Free __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Free(self) return weakref_proxy(self) Fl_Free_swigregister = _fltk.Fl_Free_swigregister Fl_Free_swigregister(Fl_Free) FL_DRAW = _fltk.FL_DRAW FL_STEP = _fltk.FL_STEP FL_FREEMEM = _fltk.FL_FREEMEM FL_FREEZE = _fltk.FL_FREEZE FL_THAW = _fltk.FL_THAW class Fl_Pixmap(Fl_Image): """ The Fl_Pixmap class supports caching and drawing of colormap (pixmap) images, including transparency. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, char D) -> Fl_Pixmap""" if self.__class__ == Fl_Pixmap: _self = None else: _self = self this = _fltk.new_Fl_Pixmap(_self, *args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Pixmap __del__ = lambda self : None; def copy(self, *args): """ copy(self, int W, int H) -> Fl_Image copy(self) -> Fl_Image """ return _fltk.Fl_Pixmap_copy(self, *args) def color_average(self, *args): """color_average(self, Fl_Color c, float i)""" return _fltk.Fl_Pixmap_color_average(self, *args) def desaturate(self, *args): """desaturate(self)""" return _fltk.Fl_Pixmap_desaturate(self, *args) def draw(self, *args): """ draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0) draw(self, int X, int Y) """ return _fltk.Fl_Pixmap_draw(self, *args) def label(self, *args): """ label(self, Fl_Widget w) label(self, Fl_Menu_Item m) """ return _fltk.Fl_Pixmap_label(self, *args) def uncache(self, *args): """uncache(self)""" return _fltk.Fl_Pixmap_uncache(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Pixmap(self) return weakref_proxy(self) Fl_Pixmap_swigregister = _fltk.Fl_Pixmap_swigregister Fl_Pixmap_swigregister(Fl_Pixmap) class Fl_GIF_Image(Fl_Pixmap): """ The Fl_GIF_Image class supports loading, caching, and drawing of Compuserve GIF images. The class loads the first image and supports transparency. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, char filename) -> Fl_GIF_Image""" if self.__class__ == Fl_GIF_Image: _self = None else: _self = self this = _fltk.new_Fl_GIF_Image(_self, *args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_GIF_Image __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_GIF_Image(self) return weakref_proxy(self) Fl_GIF_Image_swigregister = _fltk.Fl_GIF_Image_swigregister Fl_GIF_Image_swigregister(Fl_GIF_Image) class Fl_Gl_Window(Fl_Window): """ The Fl_Gl_Window widget sets things up so OpenGL works, and also keeps an OpenGL 'context' for that window, so that changes to the lighting and projection may be reused between redraws. Fl_Gl_Window also flushes the OpenGL streams and swaps buffers after draw() returns. OpenGL hardware typically provides some overlay bit planes, which are very useful for drawing UI controls atop your 3D graphics. If the overlay hardware is not provided, FLTK tries to simulate the overlay, This works pretty well if your graphics are double buffered, but not very well for single-buffered. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def flush(self, *args): """flush(self)""" return _fltk.Fl_Gl_Window_flush(self, *args) def hide(self, *args): """hide(self)""" return _fltk.Fl_Gl_Window_hide(self, *args) def resize(self, *args): """resize(self, int arg0, int arg1, int arg2, int arg3)""" return _fltk.Fl_Gl_Window_resize(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Gl_Window_handle(self, *args) def valid(self, *args): """ valid(self) -> char valid(self, char v) """ return _fltk.Fl_Gl_Window_valid(self, *args) def invalidate(self, *args): """invalidate(self)""" return _fltk.Fl_Gl_Window_invalidate(self, *args) def context_valid(self, *args): """ context_valid(self) -> char context_valid(self, char v) """ return _fltk.Fl_Gl_Window_context_valid(self, *args) def can_do(self, *args): """ can_do(self, int m) -> int can_do(self, int m) -> int can_do(self) -> int """ return _fltk.Fl_Gl_Window_can_do(self, *args) def mode(self, *args): """ mode(self) -> Fl_Mode mode(self, int a) -> int mode(self, int a) -> int """ return _fltk.Fl_Gl_Window_mode(self, *args) def context(self, *args): """ context(self) context(self, void arg0, int destroy_flag = 0) """ return _fltk.Fl_Gl_Window_context(self, *args) def make_current(self, *args): """make_current(self)""" return _fltk.Fl_Gl_Window_make_current(self, *args) def swap_buffers(self, *args): """swap_buffers(self)""" return _fltk.Fl_Gl_Window_swap_buffers(self, *args) def ortho(self, *args): """ortho(self)""" return _fltk.Fl_Gl_Window_ortho(self, *args) def can_do_overlay(self, *args): """can_do_overlay(self) -> int""" return _fltk.Fl_Gl_Window_can_do_overlay(self, *args) def redraw_overlay(self, *args): """redraw_overlay(self)""" return _fltk.Fl_Gl_Window_redraw_overlay(self, *args) def hide_overlay(self, *args): """hide_overlay(self)""" return _fltk.Fl_Gl_Window_hide_overlay(self, *args) def make_overlay_current(self, *args): """make_overlay_current(self)""" return _fltk.Fl_Gl_Window_make_overlay_current(self, *args) def as_gl_window(self, *args): """as_gl_window(self) -> Fl_Gl_Window""" return _fltk.Fl_Gl_Window_as_gl_window(self, *args) __swig_destroy__ = _fltk.delete_Fl_Gl_Window __del__ = lambda self : None; def __init__(self, *args): """ __init__(self, int W, int H, char l = None) -> Fl_Gl_Window __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Gl_Window """ if self.__class__ == Fl_Gl_Window: _self = None else: _self = self this = _fltk.new_Fl_Gl_Window(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def draw(self, *args): """draw(self)""" return _fltk.Fl_Gl_Window_draw(self, *args) def show(self, *args): """show(self, PyObject count = None, PyObject data = None)""" return _fltk.Fl_Gl_Window_show(self, *args) def drawPixels(self, *args): """ drawPixels(self, PyObject rgb_py) Writes a raw RGB string to the canvas. Arguments: - rgb - a string of width * height * 3 bytes, comprising the raw image in RGB format """ return _fltk.Fl_Gl_Window_drawPixels(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Gl_Window(self) return weakref_proxy(self) Fl_Gl_Window_swigregister = _fltk.Fl_Gl_Window_swigregister Fl_Gl_Window_swigregister(Fl_Gl_Window) def gl_start(*args): """gl_start()""" return _fltk.gl_start(*args) def gl_finish(*args): """gl_finish()""" return _fltk.gl_finish(*args) def gl_rect(*args): """gl_rect(int x, int y, int w, int h)""" return _fltk.gl_rect(*args) def gl_rectf(*args): """gl_rectf(int x, int y, int w, int h)""" return _fltk.gl_rectf(*args) def gl_font(*args): """gl_font(int fontid, int size)""" return _fltk.gl_font(*args) def gl_height(*args): """gl_height() -> int""" return _fltk.gl_height(*args) def gl_descent(*args): """gl_descent() -> int""" return _fltk.gl_descent(*args) def gl_measure(*args): """gl_measure(char arg0)""" return _fltk.gl_measure(*args) def gl_draw_image(*args): """ gl_draw_image(uchar arg0, int x, int y, int w, int h, int d = 3, int ld = 0) """ return _fltk.gl_draw_image(*args) class Fl_Help_Dialog(object): """ The Fl_Help_Dialog widget displays a standard help dialog window using the Fl_Help_View widget. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self) -> Fl_Help_Dialog""" this = _fltk.new_Fl_Help_Dialog(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Help_Dialog __del__ = lambda self : None; def h(self, *args): """h(self) -> int""" return _fltk.Fl_Help_Dialog_h(self, *args) def hide(self, *args): """hide(self)""" return _fltk.Fl_Help_Dialog_hide(self, *args) def load(self, *args): """load(self, char f)""" return _fltk.Fl_Help_Dialog_load(self, *args) def position(self, *args): """position(self, int xx, int yy)""" return _fltk.Fl_Help_Dialog_position(self, *args) def resize(self, *args): """resize(self, int xx, int yy, int ww, int hh)""" return _fltk.Fl_Help_Dialog_resize(self, *args) def show(self, *args): """ show(self) show(self, int argc, char argv) """ return _fltk.Fl_Help_Dialog_show(self, *args) def textsize(self, *args): """ textsize(self, Fl_Fontsize s) textsize(self) -> Fl_Fontsize """ return _fltk.Fl_Help_Dialog_textsize(self, *args) def topline(self, *args): """ topline(self, char n) topline(self, int n) """ return _fltk.Fl_Help_Dialog_topline(self, *args) def value(self, *args): """ value(self, char f) value(self) -> char """ return _fltk.Fl_Help_Dialog_value(self, *args) def visible(self, *args): """visible(self) -> int""" return _fltk.Fl_Help_Dialog_visible(self, *args) def w(self, *args): """w(self) -> int""" return _fltk.Fl_Help_Dialog_w(self, *args) def x(self, *args): """x(self) -> int""" return _fltk.Fl_Help_Dialog_x(self, *args) def y(self, *args): """y(self) -> int""" return _fltk.Fl_Help_Dialog_y(self, *args) Fl_Help_Dialog_swigregister = _fltk.Fl_Help_Dialog_swigregister Fl_Help_Dialog_swigregister(Fl_Help_Dialog) def gl_color(*args): """ gl_color(Fl_Color i) gl_color(int c) """ return _fltk.gl_color(*args) def gl_width(*args): """ gl_width(char arg0) -> double gl_width(char arg0, int n) -> double gl_width(uchar arg0) -> double """ return _fltk.gl_width(*args) def gl_draw(*args): """ gl_draw(char arg0) gl_draw(char arg0, int n) gl_draw(char arg0, int x, int y) gl_draw(char arg0, float x, float y) gl_draw(char arg0, int n, int x, int y) gl_draw(char arg0, int n, float x, float y) gl_draw(char arg0, int x, int y, int w, int h, Fl_Align arg5) """ return _fltk.gl_draw(*args) class Fl_Help_Block(object): """Proxy of C++ Fl_Help_Block class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self) -> Fl_Help_Block""" this = _fltk.new_Fl_Help_Block(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Help_Block __del__ = lambda self : None; Fl_Help_Block_swigregister = _fltk.Fl_Help_Block_swigregister Fl_Help_Block_swigregister(Fl_Help_Block) class Fl_Help_Link(object): """Proxy of C++ Fl_Help_Link class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self) -> Fl_Help_Link""" this = _fltk.new_Fl_Help_Link(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Help_Link __del__ = lambda self : None; Fl_Help_Link_swigregister = _fltk.Fl_Help_Link_swigregister Fl_Help_Link_swigregister(Fl_Help_Link) class Fl_Help_Font_Style(object): """Proxy of C++ Fl_Help_Font_Style class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def get(self, *args): """get(self, Fl_Color acolor)""" return _fltk.Fl_Help_Font_Style_get(self, *args) def set(self, *args): """set(self, Fl_Font afont, Fl_Fontsize asize, Fl_Color acolor)""" return _fltk.Fl_Help_Font_Style_set(self, *args) def __init__(self, *args): """ __init__(self, Fl_Font afont, Fl_Fontsize asize, Fl_Color acolor) -> Fl_Help_Font_Style __init__(self) -> Fl_Help_Font_Style """ this = _fltk.new_Fl_Help_Font_Style(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Help_Font_Style __del__ = lambda self : None; Fl_Help_Font_Style_swigregister = _fltk.Fl_Help_Font_Style_swigregister Fl_Help_Font_Style_swigregister(Fl_Help_Font_Style) class Fl_Help_Font_Stack(object): """Proxy of C++ Fl_Help_Font_Stack class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self) -> Fl_Help_Font_Stack""" this = _fltk.new_Fl_Help_Font_Stack(*args) try: self.this.append(this) except: self.this = this def init(self, *args): """init(self, Fl_Font f, Fl_Fontsize s, Fl_Color c)""" return _fltk.Fl_Help_Font_Stack_init(self, *args) def top(self, *args): """top(self, Fl_Color c)""" return _fltk.Fl_Help_Font_Stack_top(self, *args) def push(self, *args): """push(self, Fl_Font f, Fl_Fontsize s, Fl_Color c)""" return _fltk.Fl_Help_Font_Stack_push(self, *args) def pop(self, *args): """pop(self, Fl_Color c)""" return _fltk.Fl_Help_Font_Stack_pop(self, *args) def count(self, *args): """count(self) -> size_t""" return _fltk.Fl_Help_Font_Stack_count(self, *args) __swig_destroy__ = _fltk.delete_Fl_Help_Font_Stack __del__ = lambda self : None; Fl_Help_Font_Stack_swigregister = _fltk.Fl_Help_Font_Stack_swigregister Fl_Help_Font_Stack_swigregister(Fl_Help_Font_Stack) class Fl_Help_Target(object): """Proxy of C++ Fl_Help_Target class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self) -> Fl_Help_Target""" this = _fltk.new_Fl_Help_Target(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Help_Target __del__ = lambda self : None; Fl_Help_Target_swigregister = _fltk.Fl_Help_Target_swigregister Fl_Help_Target_swigregister(Fl_Help_Target) class Fl_Help_View(Fl_Group): """ The Fl_Help_View widget displays HTML text. Most HTML 2.0 elements are supported, as well as a primitive implementation of tables. GIF, JPEG, and PNG images are displayed inline. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int xx, int yy, int ww, int hh, char l = None) -> Fl_Help_View""" if self.__class__ == Fl_Help_View: _self = None else: _self = self this = _fltk.new_Fl_Help_View(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Help_View __del__ = lambda self : None; def directory(self, *args): """directory(self) -> char""" return _fltk.Fl_Help_View_directory(self, *args) def filename(self, *args): """filename(self) -> char""" return _fltk.Fl_Help_View_filename(self, *args) def find(self, *args): """find(self, char s, int p = 0) -> int""" return _fltk.Fl_Help_View_find(self, *args) def load(self, *args): """load(self, char f) -> int""" return _fltk.Fl_Help_View_load(self, *args) def resize(self, *args): """resize(self, int arg0, int arg1, int arg2, int arg3)""" return _fltk.Fl_Help_View_resize(self, *args) def size(self, *args): """ size(self) -> int size(self, int W, int H) """ return _fltk.Fl_Help_View_size(self, *args) def textcolor(self, *args): """ textcolor(self, Fl_Color c) textcolor(self) -> Fl_Color """ return _fltk.Fl_Help_View_textcolor(self, *args) def textfont(self, *args): """ textfont(self, Fl_Font f) textfont(self) -> Fl_Font """ return _fltk.Fl_Help_View_textfont(self, *args) def textsize(self, *args): """ textsize(self, Fl_Fontsize s) textsize(self) -> Fl_Fontsize """ return _fltk.Fl_Help_View_textsize(self, *args) def title(self, *args): """title(self) -> char""" return _fltk.Fl_Help_View_title(self, *args) def topline(self, *args): """ topline(self, char n) topline(self, int arg0) topline(self) -> int """ return _fltk.Fl_Help_View_topline(self, *args) def leftline(self, *args): """ leftline(self, int arg0) leftline(self) -> int """ return _fltk.Fl_Help_View_leftline(self, *args) def value(self, *args): """ value(self, char val) value(self) -> char """ return _fltk.Fl_Help_View_value(self, *args) def clear_selection(self, *args): """clear_selection(self)""" return _fltk.Fl_Help_View_clear_selection(self, *args) def select_all(self, *args): """select_all(self)""" return _fltk.Fl_Help_View_select_all(self, *args) def scrollbar_size(self, *args): """ scrollbar_size(self) -> int scrollbar_size(self, int size) """ return _fltk.Fl_Help_View_scrollbar_size(self, *args) def link(self, *args): """ link(self, Fl_Help_Func fn) link(self, PyObject PyFunc, PyObject PyWidget) """ return _fltk.Fl_Help_View_link(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Help_View(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Help_View_draw(self, *args) Fl_Help_View_swigregister = _fltk.Fl_Help_View_swigregister Fl_Help_View_swigregister(Fl_Help_View) class Fl_Hold_Browser(Fl_Browser): """ The Fl_Hold_Browser class is a subclass of Fl_Browser which lets the user select a single item, or no items by clicking on the empty space. As long as the mouse button is held down the item pointed to by it is highlighted, and this highlighting remains on when the mouse button is released. Normally the callback is done when the user releases the mouse, but you can change this with when(). See Fl_Browser for methods to add and remove lines from the browser. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Hold_Browser""" if self.__class__ == Fl_Hold_Browser: _self = None else: _self = self this = _fltk.new_Fl_Hold_Browser(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Hold_Browser __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Hold_Browser(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Hold_Browser_draw(self, *args) def item_first(self, *args): """item_first(self) -> void""" return _fltk.Fl_Hold_Browser_item_first(self, *args) def item_next(self, *args): """item_next(self, void item) -> void""" return _fltk.Fl_Hold_Browser_item_next(self, *args) def item_prev(self, *args): """item_prev(self, void item) -> void""" return _fltk.Fl_Hold_Browser_item_prev(self, *args) def item_last(self, *args): """item_last(self) -> void""" return _fltk.Fl_Hold_Browser_item_last(self, *args) def item_height(self, *args): """item_height(self, void item) -> int""" return _fltk.Fl_Hold_Browser_item_height(self, *args) def item_width(self, *args): """item_width(self, void item) -> int""" return _fltk.Fl_Hold_Browser_item_width(self, *args) def item_quick_height(self, *args): """item_quick_height(self, void item) -> int""" return _fltk.Fl_Hold_Browser_item_quick_height(self, *args) def item_draw(self, *args): """item_draw(self, void item, int X, int Y, int W, int H)""" return _fltk.Fl_Hold_Browser_item_draw(self, *args) def item_text(self, *args): """item_text(self, void item) -> char""" return _fltk.Fl_Hold_Browser_item_text(self, *args) def item_swap(self, *args): """item_swap(self, void a, void b)""" return _fltk.Fl_Hold_Browser_item_swap(self, *args) def item_at(self, *args): """item_at(self, int line) -> void""" return _fltk.Fl_Hold_Browser_item_at(self, *args) def full_width(self, *args): """full_width(self) -> int""" return _fltk.Fl_Hold_Browser_full_width(self, *args) def full_height(self, *args): """full_height(self) -> int""" return _fltk.Fl_Hold_Browser_full_height(self, *args) def incr_height(self, *args): """incr_height(self) -> int""" return _fltk.Fl_Hold_Browser_incr_height(self, *args) def item_select(self, *args): """item_select(self, void item, int val)""" return _fltk.Fl_Hold_Browser_item_select(self, *args) def item_selected(self, *args): """item_selected(self, void item) -> int""" return _fltk.Fl_Hold_Browser_item_selected(self, *args) Fl_Hold_Browser_swigregister = _fltk.Fl_Hold_Browser_swigregister Fl_Hold_Browser_swigregister(Fl_Hold_Browser) class Fl_Hor_Fill_Slider(Fl_Slider): """ The Fl_Hor_Fill_Slider widget contains a sliding knob inside a box. It is often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Hor_Fill_Slider""" if self.__class__ == Fl_Hor_Fill_Slider: _self = None else: _self = self this = _fltk.new_Fl_Hor_Fill_Slider(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Hor_Fill_Slider __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Hor_Fill_Slider(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Hor_Fill_Slider_draw(self, *args) Fl_Hor_Fill_Slider_swigregister = _fltk.Fl_Hor_Fill_Slider_swigregister Fl_Hor_Fill_Slider_swigregister(Fl_Hor_Fill_Slider) class Fl_Hor_Nice_Slider(Fl_Slider): """ The Fl_Hor_Nice_Slider widget contains a sliding knob inside a box. It is often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Hor_Nice_Slider""" if self.__class__ == Fl_Hor_Nice_Slider: _self = None else: _self = self this = _fltk.new_Fl_Hor_Nice_Slider(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Hor_Nice_Slider __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Hor_Nice_Slider(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Hor_Nice_Slider_draw(self, *args) Fl_Hor_Nice_Slider_swigregister = _fltk.Fl_Hor_Nice_Slider_swigregister Fl_Hor_Nice_Slider_swigregister(Fl_Hor_Nice_Slider) class Fl_Hor_Slider(Fl_Slider): """ The Fl_Hor_Slider widget contains a sliding knob inside a box. It is often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Hor_Slider""" if self.__class__ == Fl_Hor_Slider: _self = None else: _self = self this = _fltk.new_Fl_Hor_Slider(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Hor_Slider __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Hor_Slider(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Hor_Slider_draw(self, *args) Fl_Hor_Slider_swigregister = _fltk.Fl_Hor_Slider_swigregister Fl_Hor_Slider_swigregister(Fl_Hor_Slider) class Fl_Value_Slider(Fl_Slider): """ The Fl_Value_Slider widget is a Fl_Slider widget with a box displaying the current value. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Value_Slider_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Value_Slider_handle(self, *args) def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Value_Slider""" if self.__class__ == Fl_Value_Slider: _self = None else: _self = self this = _fltk.new_Fl_Value_Slider(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def textfont(self, *args): """ textfont(self) -> Fl_Font textfont(self, Fl_Font s) """ return _fltk.Fl_Value_Slider_textfont(self, *args) def textsize(self, *args): """ textsize(self) -> Fl_Fontsize textsize(self, Fl_Fontsize s) """ return _fltk.Fl_Value_Slider_textsize(self, *args) def textcolor(self, *args): """ textcolor(self) -> Fl_Color textcolor(self, Fl_Color s) """ return _fltk.Fl_Value_Slider_textcolor(self, *args) __swig_destroy__ = _fltk.delete_Fl_Value_Slider __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Value_Slider(self) return weakref_proxy(self) Fl_Value_Slider_swigregister = _fltk.Fl_Value_Slider_swigregister Fl_Value_Slider_swigregister(Fl_Value_Slider) class Fl_Hor_Value_Slider(Fl_Value_Slider): """ The Fl_Hor_Value_Slider widget contains a sliding knob inside a box. It is often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Hor_Value_Slider""" if self.__class__ == Fl_Hor_Value_Slider: _self = None else: _self = self this = _fltk.new_Fl_Hor_Value_Slider(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Hor_Value_Slider __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Hor_Value_Slider(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Hor_Value_Slider_draw(self, *args) Fl_Hor_Value_Slider_swigregister = _fltk.Fl_Hor_Value_Slider_swigregister Fl_Hor_Value_Slider_swigregister(Fl_Hor_Value_Slider) class Fl_Int_Input(Fl_Input): """ The Fl_Int_Input class is a subclass of Fl_Input that only allows the user to type decimal digits (or hex numbers of the form 0xaef). """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Int_Input""" if self.__class__ == Fl_Int_Input: _self = None else: _self = self this = _fltk.new_Fl_Int_Input(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Int_Input __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Int_Input(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Int_Input_draw(self, *args) Fl_Int_Input_swigregister = _fltk.Fl_Int_Input_swigregister Fl_Int_Input_swigregister(Fl_Int_Input) class Fl_Input_Choice(Fl_Group): """ A combination of the input widget and a menu button. The user can either type into the input area, or use the menu button chooser on the right, which loads the input area with predefined text. Normally it is drawn with an inset box and a white background. The application can directly access both the input and menu widgets directly, using the menubutton() and input() accessor methods. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Input_Choice""" if self.__class__ == Fl_Input_Choice: _self = None else: _self = self this = _fltk.new_Fl_Input_Choice(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def add(self, *args): """add(self, char s)""" val = _fltk.Fl_Input_Choice_add(self, *args) #self = args[0] if self.parent() != None: #delegate ownership to C++ self.this.disown() else: #give ownership back to Python self.this.own() return val def changed(self, *args): """changed(self) -> int""" return _fltk.Fl_Input_Choice_changed(self, *args) def clear_changed(self, *args): """clear_changed(self)""" return _fltk.Fl_Input_Choice_clear_changed(self, *args) def set_changed(self, *args): """set_changed(self)""" return _fltk.Fl_Input_Choice_set_changed(self, *args) def clear(self, *args): """clear(self)""" return _fltk.Fl_Input_Choice_clear(self, *args) def down_box(self, *args): """ down_box(self) -> Fl_Boxtype down_box(self, Fl_Boxtype b) """ return _fltk.Fl_Input_Choice_down_box(self, *args) def menu(self, *args): """ menu(self) -> Fl_Menu_Item menu(self, Fl_Menu_Item m) """ return _fltk.Fl_Input_Choice_menu(self, *args) def resize(self, *args): """resize(self, int X, int Y, int W, int H)""" return _fltk.Fl_Input_Choice_resize(self, *args) def textcolor(self, *args): """ textcolor(self) -> Fl_Color textcolor(self, Fl_Color c) """ return _fltk.Fl_Input_Choice_textcolor(self, *args) def textfont(self, *args): """ textfont(self) -> Fl_Font textfont(self, Fl_Font f) """ return _fltk.Fl_Input_Choice_textfont(self, *args) def textsize(self, *args): """ textsize(self) -> Fl_Fontsize textsize(self, Fl_Fontsize s) """ return _fltk.Fl_Input_Choice_textsize(self, *args) def value(self, *args): """ value(self) -> char value(self, char val) value(self, int val) """ return _fltk.Fl_Input_Choice_value(self, *args) def menubutton(self, *args): """menubutton(self) -> Fl_Menu_Button""" return _fltk.Fl_Input_Choice_menubutton(self, *args) def input(self, *args): """input(self) -> Fl_Input""" return _fltk.Fl_Input_Choice_input(self, *args) __swig_destroy__ = _fltk.delete_Fl_Input_Choice __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Input_Choice(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Input_Choice_draw(self, *args) Fl_Input_Choice_swigregister = _fltk.Fl_Input_Choice_swigregister Fl_Input_Choice_swigregister(Fl_Input_Choice) class Fl_JPEG_Image(Fl_RGB_Image): """ The Fl_JPEG_Image class supports loading, caching, and drawing of Joint Photographic Experts Group (JPEG) File Interchange Format (JFIF) images. The class supports grayscale and color (RGB) JPEG image files. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """ __init__(self, char filename) -> Fl_JPEG_Image __init__(self, char name, unsigned char data) -> Fl_JPEG_Image """ if self.__class__ == Fl_JPEG_Image: _self = None else: _self = self this = _fltk.new_Fl_JPEG_Image(_self, *args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_JPEG_Image __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_JPEG_Image(self) return weakref_proxy(self) Fl_JPEG_Image_swigregister = _fltk.Fl_JPEG_Image_swigregister Fl_JPEG_Image_swigregister(Fl_JPEG_Image) class Fl_Line_Dial(Fl_Dial): """ The Fl_Line_Dial widget provides a circular dial to control a single floating point value. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Line_Dial""" if self.__class__ == Fl_Line_Dial: _self = None else: _self = self this = _fltk.new_Fl_Line_Dial(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Line_Dial __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Line_Dial(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Line_Dial_draw(self, *args) Fl_Line_Dial_swigregister = _fltk.Fl_Line_Dial_swigregister Fl_Line_Dial_swigregister(Fl_Line_Dial) class Fl_Menu_Bar(Fl_Menu_): """ This widget provides a standard menubar interface. Usually you will put this widget along the top edge of your window. The height of the widget should be 30 for the menu titles to draw correctly with the default font. The items on the bar and the menus they bring up are defined by a single Fl_Menu_Item array. Because a Fl_Menu_Item array defines a hierarchy, the top level menu defines the items in the menubar, while the submenus define the pull-down menus. Sub-sub menus and lower pop up to the right of the submenus. If there is an item in the top menu that is not a title of a submenu, then it acts like a 'button' in the menubar. Clicking on it will pick it. When the user picks an item off the menu, the item's callback is done with the menubar as the Fl_Widget* argument. If the item does not have a callback the menubar's callback is done instead. Submenus will also pop up in response to shortcuts indicated by putting a '&' character in the name field of the menu item. If you put a '&' character in a top-level 'button' then the shortcut picks it. The '&' character in submenus is ignored until the menu is popped up. Typing the shortcut() of any of the menu items will cause callbacks exactly the same as when you pick the item with the mouse. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Menu_Bar_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Menu_Bar_handle(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Menu_Bar""" if self.__class__ == Fl_Menu_Bar: _self = None else: _self = self this = _fltk.new_Fl_Menu_Bar(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Menu_Bar __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Menu_Bar(self) return weakref_proxy(self) Fl_Menu_Bar_swigregister = _fltk.Fl_Menu_Bar_swigregister Fl_Menu_Bar_swigregister(Fl_Menu_Bar) class Fl_Menu_Button(Fl_Menu_): """ This is a button that when pushed pops up a menu (or hierarchy of menus) defined by an array of Fl_Menu_Item objects. Fl_Menu_Button widget. Normally any mouse button will pop up a menu and it is lined up below the button as shown in the picture. However an Fl_Menu_Button may also control a pop-up menu. This is done by setting the type() , see below. The menu will also pop up in response to shortcuts indicated by putting a '&' character in the label(). Typing the shortcut() of any of the menu items will cause callbacks exactly the same as when you pick the item with the mouse. The '&' character in menu item names are only looked at when the menu is popped up, however. When the user picks an item off the menu, the item's callback is done with the menu_button as the Fl_Widget* argument. If the item does not have a callback the menu_button's callback is done instead. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Menu_Button_draw(self, *args) POPUP1 = _fltk.Fl_Menu_Button_POPUP1 POPUP2 = _fltk.Fl_Menu_Button_POPUP2 POPUP12 = _fltk.Fl_Menu_Button_POPUP12 POPUP3 = _fltk.Fl_Menu_Button_POPUP3 POPUP13 = _fltk.Fl_Menu_Button_POPUP13 POPUP23 = _fltk.Fl_Menu_Button_POPUP23 POPUP123 = _fltk.Fl_Menu_Button_POPUP123 def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Menu_Button_handle(self, *args) def popup(self, *args): """popup(self) -> Fl_Menu_Item""" return _fltk.Fl_Menu_Button_popup(self, *args) def __init__(self, *args): """__init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Menu_Button""" if self.__class__ == Fl_Menu_Button: _self = None else: _self = self this = _fltk.new_Fl_Menu_Button(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Menu_Button __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Menu_Button(self) return weakref_proxy(self) Fl_Menu_Button_swigregister = _fltk.Fl_Menu_Button_swigregister Fl_Menu_Button_swigregister(Fl_Menu_Button) FL_MENU_INACTIVE = _fltk.FL_MENU_INACTIVE FL_MENU_TOGGLE = _fltk.FL_MENU_TOGGLE FL_MENU_VALUE = _fltk.FL_MENU_VALUE FL_MENU_RADIO = _fltk.FL_MENU_RADIO FL_MENU_INVISIBLE = _fltk.FL_MENU_INVISIBLE FL_SUBMENU_POINTER = _fltk.FL_SUBMENU_POINTER FL_SUBMENU = _fltk.FL_SUBMENU FL_MENU_DIVIDER = _fltk.FL_MENU_DIVIDER FL_MENU_HORIZONTAL = _fltk.FL_MENU_HORIZONTAL class Fl_Menu_Item(object): """ The Fl_Menu_Item structure defines a single menu item that is used by the Fl_Menu_ class. This structure is defined as Fl_Menu_Item : text -> character array # label() shortcut_ -> unsigned long callback_ -> Fl_Callback user_data_ flags -> int labeltype_ -> unsigned character labelfont_ -> unsigned character labelsize_ -> unsigned character labelcolor_ -> unsigned character enum: # values for flags: FL_MENU_INACTIVE = 1, FL_MENU_TOGGLE = 2, FL_MENU_VALUE = 4, FL_MENU_RADIO = 8, FL_MENU_INVISIBLE = 0x10, FL_SUBMENU_POINTER = 0x20, FL_SUBMENU = 0x40, FL_MENU_DIVIDER = 0x80, FL_MENU_HORIZONTAL = 0x100 Typically menu items are statically defined; for example: MenuTable = ( ('&alpha', FL_ALT+ord('a'), the_cb, 1), ('&beta', FL_ALT+ord('b'), the_cb, 2), ('gamma', FL_ALT+ord('c'), the_cb, 3, FL_MENU_DIVIDER), ('&strange', 0, strange_cb), ('&charm', 0, charm_cb), ('&truth', 0, truth_cb), ('b&eauty', 0, beauty_cb), ('sub&menu', 0, 0, 0, FL_SUBMENU), ('one'), ('two'), ('three'), (None,), ('inactive', FL_ALT+'i', 0, 0, FL_MENU_INACTIVE|FL_MENU_DIVIDER), ('invisible',FL_ALT+'i', 0, 0, FL_MENU_INVISIBLE), ('check', FL_ALT+'i', 0, 0, FL_MENU_TOGGLE|FL_MENU_VALUE), ('box', FL_ALT+'i', 0, 0, FL_MENU_TOGGLE), (None,); A submenu title is identified by the bit FL_SUBMENU in the flags field, and ends with a label() that is NULL. You can nest menus to any depth. A pointer to the first item in the submenu can be treated as an Fl_Menu array itself. It is also possible to make seperate submenu arrays with FL_SUBMENU_POINTER flags. You should use the method functions to access structure members and not access them directly to avoid compatibility problems with future releases of FLTK. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def next(self, *args): """ next(self, int arg0 = 1) -> Fl_Menu_Item next(self, int i = 1) -> Fl_Menu_Item """ return _fltk.Fl_Menu_Item_next(self, *args) def first(self, *args): """ first(self) -> Fl_Menu_Item first(self) -> Fl_Menu_Item """ return _fltk.Fl_Menu_Item_first(self, *args) def label(self, *args): """ label(self) -> char label(self, char a) label(self, Fl_Labeltype a, char b) """ return _fltk.Fl_Menu_Item_label(self, *args) def labeltype(self, *args): """ labeltype(self) -> Fl_Labeltype labeltype(self, Fl_Labeltype a) """ return _fltk.Fl_Menu_Item_labeltype(self, *args) def labelcolor(self, *args): """ labelcolor(self) -> Fl_Color labelcolor(self, Fl_Color a) """ return _fltk.Fl_Menu_Item_labelcolor(self, *args) def labelfont(self, *args): """ labelfont(self) -> Fl_Font labelfont(self, Fl_Font a) """ return _fltk.Fl_Menu_Item_labelfont(self, *args) def labelsize(self, *args): """ labelsize(self) -> Fl_Fontsize labelsize(self, Fl_Fontsize a) """ return _fltk.Fl_Menu_Item_labelsize(self, *args) def argument(self, *args): """ argument(self) -> long argument(self, long v) """ return _fltk.Fl_Menu_Item_argument(self, *args) def shortcut(self, *args): """ shortcut(self) -> int shortcut(self, int s) """ return _fltk.Fl_Menu_Item_shortcut(self, *args) def submenu(self, *args): """submenu(self) -> int""" return _fltk.Fl_Menu_Item_submenu(self, *args) def checkbox(self, *args): """checkbox(self) -> int""" return _fltk.Fl_Menu_Item_checkbox(self, *args) def radio(self, *args): """radio(self) -> int""" return _fltk.Fl_Menu_Item_radio(self, *args) def value(self, *args): """value(self) -> int""" return _fltk.Fl_Menu_Item_value(self, *args) def set(self, *args): """set(self)""" return _fltk.Fl_Menu_Item_set(self, *args) def clear(self, *args): """clear(self)""" return _fltk.Fl_Menu_Item_clear(self, *args) def setonly(self, *args): """setonly(self)""" return _fltk.Fl_Menu_Item_setonly(self, *args) def visible(self, *args): """visible(self) -> int""" return _fltk.Fl_Menu_Item_visible(self, *args) def show(self, *args): """show(self)""" return _fltk.Fl_Menu_Item_show(self, *args) def hide(self, *args): """hide(self)""" return _fltk.Fl_Menu_Item_hide(self, *args) def active(self, *args): """active(self) -> int""" return _fltk.Fl_Menu_Item_active(self, *args) def activate(self, *args): """activate(self)""" return _fltk.Fl_Menu_Item_activate(self, *args) def deactivate(self, *args): """deactivate(self)""" return _fltk.Fl_Menu_Item_deactivate(self, *args) def activevisible(self, *args): """activevisible(self) -> int""" return _fltk.Fl_Menu_Item_activevisible(self, *args) def image(self, *args): """image(self, Fl_Image a)""" return _fltk.Fl_Menu_Item_image(self, *args) def measure(self, *args): """measure(self, int h, Fl_Menu_ arg1) -> int""" return _fltk.Fl_Menu_Item_measure(self, *args) def draw(self, *args): """draw(self, int x, int y, int w, int h, Fl_Menu_ arg4, int t = 0)""" return _fltk.Fl_Menu_Item_draw(self, *args) def popup(self, *args): """ popup(self, int X, int Y, char title = None, Fl_Menu_Item picked = None, Fl_Menu_ arg4 = None) -> Fl_Menu_Item """ return _fltk.Fl_Menu_Item_popup(self, *args) def pulldown(self, *args): """ pulldown(self, int X, int Y, int W, int H, Fl_Menu_Item picked = None, Fl_Menu_ arg5 = None, Fl_Menu_Item title = None, int menubar = 0) -> Fl_Menu_Item """ return _fltk.Fl_Menu_Item_pulldown(self, *args) def test_shortcut(self, *args): """test_shortcut(self) -> Fl_Menu_Item""" return _fltk.Fl_Menu_Item_test_shortcut(self, *args) def find_shortcut(self, *args): """find_shortcut(self, int ip = None, bool require_alt = False) -> Fl_Menu_Item""" return _fltk.Fl_Menu_Item_find_shortcut(self, *args) def do_callback(self, *args): """ do_callback(self, Fl_Widget o) do_callback(self, Fl_Widget o, void arg) do_callback(self, Fl_Widget o, long arg) """ return _fltk.Fl_Menu_Item_do_callback(self, *args) def checked(self, *args): """checked(self) -> int""" return _fltk.Fl_Menu_Item_checked(self, *args) def check(self, *args): """check(self)""" return _fltk.Fl_Menu_Item_check(self, *args) def uncheck(self, *args): """uncheck(self)""" return _fltk.Fl_Menu_Item_uncheck(self, *args) def insert(self, *args): """ insert(self, int arg0, char arg1, int arg2, Fl_Callback arg3, void arg4 = None, int arg5 = 0) -> int """ return _fltk.Fl_Menu_Item_insert(self, *args) def add(self, *args): """ add(self, char arg0, int shortcut, Fl_Callback arg2, void arg3 = None, int arg4 = 0) -> int add(self, char a, char b, Fl_Callback c, void d = None, int e = 0) -> int """ return _fltk.Fl_Menu_Item_add(self, *args) def size(self, *args): """size(self) -> int""" return _fltk.Fl_Menu_Item_size(self, *args) def callback(self, *args): """ callback(self, Fl_Callback c, void p) callback(self, Fl_Callback c) callback(self, Fl_Callback0 c) callback(self, Fl_Callback1 c, long p = 0) callback(self) -> PyObject """ return _fltk.Fl_Menu_Item_callback(self, *args) def user_data(self, *args): """ user_data(self) user_data(self, void v) user_data(self) -> PyObject """ return _fltk.Fl_Menu_Item_user_data(self, *args) def __init__(self, *args): """__init__(self) -> Fl_Menu_Item""" this = _fltk.new_Fl_Menu_Item(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Menu_Item __del__ = lambda self : None; Fl_Menu_Item_swigregister = _fltk.Fl_Menu_Item_swigregister Fl_Menu_Item_swigregister(Fl_Menu_Item) FL_PUP_NONE = _fltk.FL_PUP_NONE FL_PUP_GREY = _fltk.FL_PUP_GREY FL_PUP_GRAY = _fltk.FL_PUP_GRAY FL_MENU_BOX = _fltk.FL_MENU_BOX FL_PUP_BOX = _fltk.FL_PUP_BOX FL_MENU_CHECK = _fltk.FL_MENU_CHECK FL_PUP_CHECK = _fltk.FL_PUP_CHECK FL_PUP_RADIO = _fltk.FL_PUP_RADIO FL_PUP_INVISIBLE = _fltk.FL_PUP_INVISIBLE FL_PUP_SUBMENU = _fltk.FL_PUP_SUBMENU class Fl_Single_Window(Fl_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. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def flush(self, *args): """flush(self)""" return _fltk.Fl_Single_Window_flush(self, *args) def __init__(self, *args): """ __init__(self, int W, int H, char l = None) -> Fl_Single_Window __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Single_Window """ if self.__class__ == Fl_Single_Window: _self = None else: _self = self this = _fltk.new_Fl_Single_Window(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def show(self, *args): """show(self, PyObject count = None, PyObject data = None)""" return _fltk.Fl_Single_Window_show(self, *args) __swig_destroy__ = _fltk.delete_Fl_Single_Window __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Single_Window(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Single_Window_draw(self, *args) Fl_Single_Window_swigregister = _fltk.Fl_Single_Window_swigregister Fl_Single_Window_swigregister(Fl_Single_Window) class Fl_Menu_Window(Fl_Single_Window): """ The Fl_Menu_Window widget is a window type used for menus. By default the window is drawn in the hardware overlay planes if they are available so that the menu don't force the rest of the window to redraw. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def erase(self, *args): """erase(self)""" return _fltk.Fl_Menu_Window_erase(self, *args) def flush(self, *args): """flush(self)""" return _fltk.Fl_Menu_Window_flush(self, *args) def hide(self, *args): """hide(self)""" return _fltk.Fl_Menu_Window_hide(self, *args) def overlay(self, *args): """overlay(self) -> unsigned int""" return _fltk.Fl_Menu_Window_overlay(self, *args) def set_overlay(self, *args): """set_overlay(self)""" return _fltk.Fl_Menu_Window_set_overlay(self, *args) def clear_overlay(self, *args): """clear_overlay(self)""" return _fltk.Fl_Menu_Window_clear_overlay(self, *args) __swig_destroy__ = _fltk.delete_Fl_Menu_Window __del__ = lambda self : None; def __init__(self, *args): """ __init__(self, int W, int H, char l = None) -> Fl_Menu_Window __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Menu_Window """ if self.__class__ == Fl_Menu_Window: _self = None else: _self = self this = _fltk.new_Fl_Menu_Window(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def __disown__(self): self.this.disown() _fltk.disown_Fl_Menu_Window(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Menu_Window_draw(self, *args) Fl_Menu_Window_swigregister = _fltk.Fl_Menu_Window_swigregister Fl_Menu_Window_swigregister(Fl_Menu_Window) class Fl_Multiline_Input(Fl_Input): """ This input field displays ' ' characters as new lines rather than ^J, and accepts the Return, Tab, and up and down arrow keys. This is for editing multiline text. This is far from the nirvana of text editors, and is probably only good for small bits of text, 10 lines at most. I think FLTK can be used to write a powerful text editor, but it is not going to be a built-in feature. Powerful text editors in a toolkit are a big source of bloat. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Multiline_Input""" if self.__class__ == Fl_Multiline_Input: _self = None else: _self = self this = _fltk.new_Fl_Multiline_Input(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Multiline_Input __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Multiline_Input(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Multiline_Input_draw(self, *args) Fl_Multiline_Input_swigregister = _fltk.Fl_Multiline_Input_swigregister Fl_Multiline_Input_swigregister(Fl_Multiline_Input) class Fl_Output(Fl_Input): """ This widget displays a piece of text. When you set the value() , Fl_Output does a strcpy() to it's own storage, which is useful for program-generated values. The user may select portions of the text using the mouse and paste the contents into other fields or programs. There is a single subclass, Fl_Multiline_Output, which allows you to display multiple lines of text. The text may contain any characters except """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Output""" if self.__class__ == Fl_Output: _self = None else: _self = self this = _fltk.new_Fl_Output(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Output __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Output(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Output_draw(self, *args) Fl_Output_swigregister = _fltk.Fl_Output_swigregister Fl_Output_swigregister(Fl_Output) class Fl_Multiline_Output(Fl_Output): """ This widget is a subclass of Fl_Output that displays multiple lines of text. It also displays tab characters as whitespace to the next column. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Multiline_Output""" if self.__class__ == Fl_Multiline_Output: _self = None else: _self = self this = _fltk.new_Fl_Multiline_Output(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Multiline_Output __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Multiline_Output(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Multiline_Output_draw(self, *args) Fl_Multiline_Output_swigregister = _fltk.Fl_Multiline_Output_swigregister Fl_Multiline_Output_swigregister(Fl_Multiline_Output) class Fl_Multi_Browser(Fl_Browser): """ The Fl_Multi_Browser class is a subclass of Fl_Browser which lets the user select any set of the lines. The user interface is Macintosh style: clicking an item turns off all the others and selects that one, dragging selects all the items the mouse moves over, and shift + click toggles the items. This is different then how forms did it. Normally the callback is done when the user releases the mouse, but you can change this with when(). See Fl_Browser for methods to add and remove lines from the browser. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Multi_Browser""" if self.__class__ == Fl_Multi_Browser: _self = None else: _self = self this = _fltk.new_Fl_Multi_Browser(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Multi_Browser __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Multi_Browser(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Multi_Browser_draw(self, *args) def item_first(self, *args): """item_first(self) -> void""" return _fltk.Fl_Multi_Browser_item_first(self, *args) def item_next(self, *args): """item_next(self, void item) -> void""" return _fltk.Fl_Multi_Browser_item_next(self, *args) def item_prev(self, *args): """item_prev(self, void item) -> void""" return _fltk.Fl_Multi_Browser_item_prev(self, *args) def item_last(self, *args): """item_last(self) -> void""" return _fltk.Fl_Multi_Browser_item_last(self, *args) def item_height(self, *args): """item_height(self, void item) -> int""" return _fltk.Fl_Multi_Browser_item_height(self, *args) def item_width(self, *args): """item_width(self, void item) -> int""" return _fltk.Fl_Multi_Browser_item_width(self, *args) def item_quick_height(self, *args): """item_quick_height(self, void item) -> int""" return _fltk.Fl_Multi_Browser_item_quick_height(self, *args) def item_draw(self, *args): """item_draw(self, void item, int X, int Y, int W, int H)""" return _fltk.Fl_Multi_Browser_item_draw(self, *args) def item_text(self, *args): """item_text(self, void item) -> char""" return _fltk.Fl_Multi_Browser_item_text(self, *args) def item_swap(self, *args): """item_swap(self, void a, void b)""" return _fltk.Fl_Multi_Browser_item_swap(self, *args) def item_at(self, *args): """item_at(self, int line) -> void""" return _fltk.Fl_Multi_Browser_item_at(self, *args) def full_width(self, *args): """full_width(self) -> int""" return _fltk.Fl_Multi_Browser_full_width(self, *args) def full_height(self, *args): """full_height(self) -> int""" return _fltk.Fl_Multi_Browser_full_height(self, *args) def incr_height(self, *args): """incr_height(self) -> int""" return _fltk.Fl_Multi_Browser_incr_height(self, *args) def item_select(self, *args): """item_select(self, void item, int val)""" return _fltk.Fl_Multi_Browser_item_select(self, *args) def item_selected(self, *args): """item_selected(self, void item) -> int""" return _fltk.Fl_Multi_Browser_item_selected(self, *args) Fl_Multi_Browser_swigregister = _fltk.Fl_Multi_Browser_swigregister Fl_Multi_Browser_swigregister(Fl_Multi_Browser) class Fl_Multi_Label(object): """Proxy of C++ Fl_Multi_Label class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def label(self, *args): """ label(self, Fl_Widget arg0) label(self, Fl_Menu_Item arg0) """ return _fltk.Fl_Multi_Label_label(self, *args) def __init__(self, *args): """__init__(self) -> Fl_Multi_Label""" this = _fltk.new_Fl_Multi_Label(*args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Multi_Label __del__ = lambda self : None; Fl_Multi_Label_swigregister = _fltk.Fl_Multi_Label_swigregister Fl_Multi_Label_swigregister(Fl_Multi_Label) class Fl_Nice_Slider(Fl_Slider): """ The Fl_Nice_Slider widget contains a sliding knob inside a box. It is often used as a scrollbar. Moving the box all the way to the top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the maximum() to reverse the slider direction. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Nice_Slider""" if self.__class__ == Fl_Nice_Slider: _self = None else: _self = self this = _fltk.new_Fl_Nice_Slider(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Nice_Slider __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Nice_Slider(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Nice_Slider_draw(self, *args) Fl_Nice_Slider_swigregister = _fltk.Fl_Nice_Slider_swigregister Fl_Nice_Slider_swigregister(Fl_Nice_Slider) class Fl_Overlay_Window(Fl_Double_Window): """ This window provides double buffering and also the ability to draw the 'overlay' which is another picture placed on top of the main image. The overlay is designed to be a rapidly-changing but simple graphic such as a mouse selection box. Fl_Overlay_Window uses the overlay planes provided by your graphics hardware if they are available. If no hardware support is found the overlay is simulated by drawing directly into the on-screen copy of the double-buffered window, and 'erased' by copying the backbuffer over it again. This means the overlay will blink if you change the image in the window. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract") __repr__ = _swig_repr def flush(self, *args): """flush(self)""" return _fltk.Fl_Overlay_Window_flush(self, *args) def hide(self, *args): """hide(self)""" return _fltk.Fl_Overlay_Window_hide(self, *args) def resize(self, *args): """resize(self, int arg0, int arg1, int arg2, int arg3)""" return _fltk.Fl_Overlay_Window_resize(self, *args) __swig_destroy__ = _fltk.delete_Fl_Overlay_Window __del__ = lambda self : None; def can_do_overlay(self, *args): """can_do_overlay(self) -> int""" return _fltk.Fl_Overlay_Window_can_do_overlay(self, *args) def redraw_overlay(self, *args): """redraw_overlay(self)""" return _fltk.Fl_Overlay_Window_redraw_overlay(self, *args) def show(self, *args): """show(self, PyObject count = None, PyObject data = None)""" return _fltk.Fl_Overlay_Window_show(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Overlay_Window(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Overlay_Window_draw(self, *args) Fl_Overlay_Window_swigregister = _fltk.Fl_Overlay_Window_swigregister Fl_Overlay_Window_swigregister(Fl_Overlay_Window) class Fl_Pack(Fl_Group): """ This widget was designed to add the functionality of compressing and aligning widgets. If type() is FL_HORIZONTAL all the children are resized to the height of the Fl_Pack, and are moved next to each other horizontally. If type() is not FL_HORIZONTAL then the children are resized to the width and are stacked below each other. Then the Fl_Pack resizes itself to surround the child widgets. This widget is needed for the Fl_Tabs. In addition you may want to put the Fl_Pack inside an Fl_Scroll. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr VERTICAL = _fltk.Fl_Pack_VERTICAL HORIZONTAL = _fltk.Fl_Pack_HORIZONTAL def draw(self, *args): """draw(self)""" return _fltk.Fl_Pack_draw(self, *args) def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Pack""" if self.__class__ == Fl_Pack: _self = None else: _self = self this = _fltk.new_Fl_Pack(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def spacing(self, *args): """ spacing(self) -> int spacing(self, int i) """ return _fltk.Fl_Pack_spacing(self, *args) def horizontal(self, *args): """horizontal(self) -> uchar""" return _fltk.Fl_Pack_horizontal(self, *args) __swig_destroy__ = _fltk.delete_Fl_Pack __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Pack(self) return weakref_proxy(self) Fl_Pack_swigregister = _fltk.Fl_Pack_swigregister Fl_Pack_swigregister(Fl_Pack) class Fl_PNG_Image(Fl_RGB_Image): """ The Fl_PNG_Image class supports loading, caching, and drawing of Portable Network Graphics (PNG) image files. The class loads colormapped and full-color images and handles color- and alpha-based transparency. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """ __init__(self, char filename) -> Fl_PNG_Image __init__(self, char name_png, unsigned char buffer, int datasize) -> Fl_PNG_Image """ if self.__class__ == Fl_PNG_Image: _self = None else: _self = self this = _fltk.new_Fl_PNG_Image(_self, *args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_PNG_Image __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_PNG_Image(self) return weakref_proxy(self) Fl_PNG_Image_swigregister = _fltk.Fl_PNG_Image_swigregister Fl_PNG_Image_swigregister(Fl_PNG_Image) class Fl_PNM_Image(Fl_RGB_Image): """ The Fl_PNM_Image class supports loading, caching, and drawing of Portable Anymap (PNM, PBM, PGM, PPM) image files. The class loads bitmap, grayscale, and full-color images in both ASCII and binary formats. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, char filename) -> Fl_PNM_Image""" if self.__class__ == Fl_PNM_Image: _self = None else: _self = self this = _fltk.new_Fl_PNM_Image(_self, *args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_PNM_Image __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_PNM_Image(self) return weakref_proxy(self) Fl_PNM_Image_swigregister = _fltk.Fl_PNM_Image_swigregister Fl_PNM_Image_swigregister(Fl_PNM_Image) class Fl_Positioner(Fl_Widget): """ This class is provided for Forms compatibility. It provides 2D input. It would be useful if this could be put atop another widget so that the crosshairs are on top, but this is not implemented. The color of the crosshairs is selection_color(). """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Positioner_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Positioner_handle(self, *args) def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Positioner""" if self.__class__ == Fl_Positioner: _self = None else: _self = self this = _fltk.new_Fl_Positioner(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def xvalue(self, *args): """ xvalue(self) -> double xvalue(self, double arg0) -> int """ return _fltk.Fl_Positioner_xvalue(self, *args) def yvalue(self, *args): """ yvalue(self) -> double yvalue(self, double arg0) -> int """ return _fltk.Fl_Positioner_yvalue(self, *args) def value(self, *args): """value(self, double arg0, double arg1) -> int""" return _fltk.Fl_Positioner_value(self, *args) def xbounds(self, *args): """xbounds(self, double arg0, double arg1)""" return _fltk.Fl_Positioner_xbounds(self, *args) def xminimum(self, *args): """ xminimum(self) -> double xminimum(self, double a) """ return _fltk.Fl_Positioner_xminimum(self, *args) def xmaximum(self, *args): """ xmaximum(self) -> double xmaximum(self, double a) """ return _fltk.Fl_Positioner_xmaximum(self, *args) def ybounds(self, *args): """ybounds(self, double arg0, double arg1)""" return _fltk.Fl_Positioner_ybounds(self, *args) def yminimum(self, *args): """ yminimum(self) -> double yminimum(self, double a) """ return _fltk.Fl_Positioner_yminimum(self, *args) def ymaximum(self, *args): """ ymaximum(self) -> double ymaximum(self, double a) """ return _fltk.Fl_Positioner_ymaximum(self, *args) def xstep(self, *args): """xstep(self, double a)""" return _fltk.Fl_Positioner_xstep(self, *args) def ystep(self, *args): """ystep(self, double a)""" return _fltk.Fl_Positioner_ystep(self, *args) __swig_destroy__ = _fltk.delete_Fl_Positioner __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Positioner(self) return weakref_proxy(self) Fl_Positioner_swigregister = _fltk.Fl_Positioner_swigregister Fl_Positioner_swigregister(Fl_Positioner) class Fl_Preferences(object): """ Fl_Preferences provides methods to store user setting between application starts. It is similar to the Registry on WIN32 and Preferences on MacOS, and provides a simple configuration mechanism for UNIX. Fl_Preferences uses a hierarchy to store data. It bundles similar data into groups and manages entries into those groups as name/value pairs. Preferences are stored in text files that can be edited manually. The file format is easy to read and relatively forgiving. Preferences files are the same on all platforms. User comments in preference files are preserved. Filenames are unique for each application by using a vendor/application naming scheme. The user must provide default values for all entries to ensure proper operation should preferences be corrupted or not yet exist. Entries can be of any length. However, the size of each preferences file should be kept under 100k for performance reasons. One application can have multiple preferences files. Extensive binary data however should be stored in seperate files; see the getUserdataPath() method. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr SYSTEM = _fltk.Fl_Preferences_SYSTEM USER = _fltk.Fl_Preferences_USER def __init__(self, *args): """ __init__(self, Root root, char vendor, char application) -> Fl_Preferences __init__(self, char path, char vendor, char application) -> Fl_Preferences __init__(self, Fl_Preferences arg0, char group) -> Fl_Preferences """ this = _fltk.new_Fl_Preferences(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Preferences __del__ = lambda self : None; def groups(self, *args): """groups(self) -> int""" return _fltk.Fl_Preferences_groups(self, *args) def group(self, *args): """group(self, int arg0) -> char""" return _fltk.Fl_Preferences_group(self, *args) def groupExists(self, *args): """groupExists(self, char group) -> char""" return _fltk.Fl_Preferences_groupExists(self, *args) def deleteGroup(self, *args): """deleteGroup(self, char group) -> char""" return _fltk.Fl_Preferences_deleteGroup(self, *args) def entries(self, *args): """entries(self) -> int""" return _fltk.Fl_Preferences_entries(self, *args) def entry(self, *args): """entry(self, int arg0) -> char""" return _fltk.Fl_Preferences_entry(self, *args) def entryExists(self, *args): """entryExists(self, char entry) -> char""" return _fltk.Fl_Preferences_entryExists(self, *args) def deleteEntry(self, *args): """deleteEntry(self, char entry) -> char""" return _fltk.Fl_Preferences_deleteEntry(self, *args) def set(self, *args): """ set(self, char entry, int value) -> char set(self, char entry, float value, int precision) -> char set(self, char entry, double value) -> char set(self, char entry, double value, int precision) -> char set(self, char entry, char cvalue) -> char set(self, char entry, void cvalue, int size) -> char """ return _fltk.Fl_Preferences_set(self, *args) def get(self, *args): """ get(self, char entry, int defaultValue) -> char get(self, char entry, float defaultValue) -> char get(self, char entry, double defaultValue) -> char get(self, char entry, char defaultValue, int maxSize) -> char get(self, char entry, void value, void defaultValue, int defaultSize, int maxSize) -> char """ return _fltk.Fl_Preferences_get(self, *args) def size(self, *args): """size(self, char entry) -> int""" return _fltk.Fl_Preferences_size(self, *args) def getUserdataPath(self, *args): """getUserdataPath(self, char path) -> char""" return _fltk.Fl_Preferences_getUserdataPath(self, *args) def flush(self, *args): """flush(self)""" return _fltk.Fl_Preferences_flush(self, *args) Fl_Preferences_swigregister = _fltk.Fl_Preferences_swigregister Fl_Preferences_swigregister(Fl_Preferences) class Fl_Progress(Fl_Widget): """ The Fl_Progress widget displays a progress bar for the user. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Progress_draw(self, *args) def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Progress""" if self.__class__ == Fl_Progress: _self = None else: _self = self this = _fltk.new_Fl_Progress(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def maximum(self, *args): """ maximum(self, float v) maximum(self) -> float """ return _fltk.Fl_Progress_maximum(self, *args) def minimum(self, *args): """ minimum(self, float v) minimum(self) -> float """ return _fltk.Fl_Progress_minimum(self, *args) def value(self, *args): """ value(self, float v) value(self) -> float """ return _fltk.Fl_Progress_value(self, *args) __swig_destroy__ = _fltk.delete_Fl_Progress __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Progress(self) return weakref_proxy(self) Fl_Progress_swigregister = _fltk.Fl_Progress_swigregister Fl_Progress_swigregister(Fl_Progress) class Fl_Radio_Button(Fl_Button): """Proxy of C++ Fl_Radio_Button class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Radio_Button""" if self.__class__ == Fl_Radio_Button: _self = None else: _self = self this = _fltk.new_Fl_Radio_Button(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Radio_Button __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Radio_Button(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Radio_Button_draw(self, *args) Fl_Radio_Button_swigregister = _fltk.Fl_Radio_Button_swigregister Fl_Radio_Button_swigregister(Fl_Radio_Button) class Fl_Radio_Light_Button(Fl_Light_Button): """Proxy of C++ Fl_Radio_Light_Button class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Radio_Light_Button""" if self.__class__ == Fl_Radio_Light_Button: _self = None else: _self = self this = _fltk.new_Fl_Radio_Light_Button(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Radio_Light_Button __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Radio_Light_Button(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Radio_Light_Button_draw(self, *args) Fl_Radio_Light_Button_swigregister = _fltk.Fl_Radio_Light_Button_swigregister Fl_Radio_Light_Button_swigregister(Fl_Radio_Light_Button) class Fl_Round_Button(Fl_Light_Button): """ Buttons generate callbacks when they are clicked by the user. You control exactly when and how by changing the values for type() and when(). The Fl_Round_Button subclass display the 'on' state by turning on a light, rather than drawing pushed in. The shape of the 'light' is initially set to FL_ROUND_DOWN_BOX. The color of the light when on is controlled with selection_color(), which defaults to FL_RED. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Round_Button""" if self.__class__ == Fl_Round_Button: _self = None else: _self = self this = _fltk.new_Fl_Round_Button(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Round_Button __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Round_Button(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Round_Button_draw(self, *args) Fl_Round_Button_swigregister = _fltk.Fl_Round_Button_swigregister Fl_Round_Button_swigregister(Fl_Round_Button) class Fl_Radio_Round_Button(Fl_Round_Button): """Proxy of C++ Fl_Radio_Round_Button class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Radio_Round_Button""" if self.__class__ == Fl_Radio_Round_Button: _self = None else: _self = self this = _fltk.new_Fl_Radio_Round_Button(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Radio_Round_Button __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Radio_Round_Button(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Radio_Round_Button_draw(self, *args) Fl_Radio_Round_Button_swigregister = _fltk.Fl_Radio_Round_Button_swigregister Fl_Radio_Round_Button_swigregister(Fl_Radio_Round_Button) class Fl_Repeat_Button(Fl_Button): """ The Fl_Repeat_Button is a subclass of Fl_Button that generates a callback when it is pressed and then repeatedly generates callbacks as long as it is held down. The speed of the repeat is fixed and depends on the implementation. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Repeat_Button_handle(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Repeat_Button""" if self.__class__ == Fl_Repeat_Button: _self = None else: _self = self this = _fltk.new_Fl_Repeat_Button(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def deactivate(self, *args): """deactivate(self)""" return _fltk.Fl_Repeat_Button_deactivate(self, *args) __swig_destroy__ = _fltk.delete_Fl_Repeat_Button __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Repeat_Button(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Repeat_Button_draw(self, *args) Fl_Repeat_Button_swigregister = _fltk.Fl_Repeat_Button_swigregister Fl_Repeat_Button_swigregister(Fl_Repeat_Button) class Fl_Return_Button(Fl_Button): """ The Fl_Return_Button is a subclass of Fl_Button that generates a callback when it is pressed or when the user presses the Enter key. A carriage-return symbol is drawn next to the button label. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Return_Button_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Return_Button_handle(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Return_Button""" if self.__class__ == Fl_Return_Button: _self = None else: _self = self this = _fltk.new_Fl_Return_Button(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Return_Button __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Return_Button(self) return weakref_proxy(self) Fl_Return_Button_swigregister = _fltk.Fl_Return_Button_swigregister Fl_Return_Button_swigregister(Fl_Return_Button) class Fl_Roller(Fl_Valuator): """ The Fl_Roller widget is a 'dolly' control commonly used to move 3D objects. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Roller_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Roller_handle(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Roller""" if self.__class__ == Fl_Roller: _self = None else: _self = self this = _fltk.new_Fl_Roller(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Roller __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Roller(self) return weakref_proxy(self) Fl_Roller_swigregister = _fltk.Fl_Roller_swigregister Fl_Roller_swigregister(Fl_Roller) class Fl_Round_Clock(Fl_Clock): """ This widget provides a round analog clock display and is provided for Forms compatibility. It installs a 1-second timeout callback using Fl::add_timeout(). """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Round_Clock""" if self.__class__ == Fl_Round_Clock: _self = None else: _self = self this = _fltk.new_Fl_Round_Clock(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Round_Clock __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Round_Clock(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Round_Clock_draw(self, *args) Fl_Round_Clock_swigregister = _fltk.Fl_Round_Clock_swigregister Fl_Round_Clock_swigregister(Fl_Round_Clock) class Fl_Scroll(Fl_Group): """ This container widget lets you maneuver around a set of widgets much larger than your window. If the child widgets are larger than the size of this object then scrollbars will appear so that you can scroll over to them: If all of the child widgets are packed together into a solid rectangle then you want to set box() to FL_NO_BOX or one of the _FRAME types. This will result in the best output. However, if the child widgets are a sparse arrangment you must set box() to a real _BOX type. This can result in some blinking during redrawing, but that can be solved by using a Fl_Double_Window. This widget can also be used to pan around a single child widget 'canvas'. This child widget should be of your own class, with a draw() method that draws the contents. The scrolling is done by changing the x() and y() of the widget, so this child must use the x() and y() to position it's drawing. To speed up drawing it should test fl_push_clip() . Another very useful child is a single Fl_Pack, which is itself a group that packs it's children together and changes size to surround them. Filling the Fl_Pack with Fl_Tabs groups (and then putting normal widgets inside those) gives you a very powerful scrolling list of individually-openable panels. Fluid lets you create these, but you can only lay out objects that fit inside the Fl_Scroll without scrolling. Be sure to leave space for the scrollbars, as Fluid won't show these either. You cannot use Fl_Window as a child of this since the clipping is not conveyed to it when drawn, and it will draw over the scrollbars and neighboring objects. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Scroll_draw(self, *args) def resize(self, *args): """resize(self, int arg0, int arg1, int arg2, int arg3)""" return _fltk.Fl_Scroll_resize(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Scroll_handle(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Scroll""" if self.__class__ == Fl_Scroll: _self = None else: _self = self this = _fltk.new_Fl_Scroll(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() HORIZONTAL = _fltk.Fl_Scroll_HORIZONTAL VERTICAL = _fltk.Fl_Scroll_VERTICAL BOTH = _fltk.Fl_Scroll_BOTH ALWAYS_ON = _fltk.Fl_Scroll_ALWAYS_ON HORIZONTAL_ALWAYS = _fltk.Fl_Scroll_HORIZONTAL_ALWAYS VERTICAL_ALWAYS = _fltk.Fl_Scroll_VERTICAL_ALWAYS BOTH_ALWAYS = _fltk.Fl_Scroll_BOTH_ALWAYS def xposition(self, *args): """xposition(self) -> int""" return _fltk.Fl_Scroll_xposition(self, *args) def yposition(self, *args): """yposition(self) -> int""" return _fltk.Fl_Scroll_yposition(self, *args) def scroll_to(self, *args): """scroll_to(self, int arg0, int arg1)""" return _fltk.Fl_Scroll_scroll_to(self, *args) def clear(self, *args): """clear(self)""" return _fltk.Fl_Scroll_clear(self, *args) def scrollbar_size(self, *args): """ scrollbar_size(self) -> int scrollbar_size(self, int size) """ return _fltk.Fl_Scroll_scrollbar_size(self, *args) def getScrollbar(self, *args): """getScrollbar(self) -> Fl_Scrollbar""" return _fltk.Fl_Scroll_getScrollbar(self, *args) def getHScrollbar(self, *args): """getHScrollbar(self) -> Fl_Scrollbar""" return _fltk.Fl_Scroll_getHScrollbar(self, *args) __swig_destroy__ = _fltk.delete_Fl_Scroll __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Scroll(self) return weakref_proxy(self) Fl_Scroll_swigregister = _fltk.Fl_Scroll_swigregister Fl_Scroll_swigregister(Fl_Scroll) class Fl_Scrollbar(Fl_Slider): """ The Fl_Scrollbar widget displays a slider with arrow buttons at the ends of the scrollbar. Clicking on the arrows move up/left and down/right by linesize(). Scrollbars also accept FL_SHORTCUT events: the arrows move by linesize(), and vertical scrollbars take Page Up/Down (they move by the page size minus linesize()) and Home/End (they jump to the top or bottom). Scrollbars have step(1) preset (they always return integers). If desired you can set the step() to non-integer values. You will then have to use casts to get at the floating-point versions of value() from Fl_Slider. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Scrollbar_draw(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Scrollbar""" if self.__class__ == Fl_Scrollbar: _self = None else: _self = self this = _fltk.new_Fl_Scrollbar(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Scrollbar __del__ = lambda self : None; def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Scrollbar_handle(self, *args) def value(self, *args): """ value(self) -> int value(self, int p) -> int value(self, int pos, int size, int first, int total) -> int """ return _fltk.Fl_Scrollbar_value(self, *args) def linesize(self, *args): """ linesize(self) -> int linesize(self, int i) """ return _fltk.Fl_Scrollbar_linesize(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Scrollbar(self) return weakref_proxy(self) Fl_Scrollbar_swigregister = _fltk.Fl_Scrollbar_swigregister Fl_Scrollbar_swigregister(Fl_Scrollbar) class Fl_Secret_Input(Fl_Input): """ The Fl_Secret_Input class is a subclass of Fl_Input that displays its input as a string of asterisks. This subclass is usually used to receive passwords and other 'secret' information. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Secret_Input""" if self.__class__ == Fl_Secret_Input: _self = None else: _self = self this = _fltk.new_Fl_Secret_Input(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Secret_Input __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Secret_Input(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Secret_Input_draw(self, *args) Fl_Secret_Input_swigregister = _fltk.Fl_Secret_Input_swigregister Fl_Secret_Input_swigregister(Fl_Secret_Input) class Fl_Select_Browser(Fl_Browser): """ The Fl_Select_Browser class is a subclass of Fl_Browser which lets the user select a single item, or no items by clicking on the empty space. As long as the mouse button is held down the item pointed to by it is highlighted. Normally the callback is done when the user presses the mouse, but you can change this with when(). See Fl_Browser for methods to add and remove lines from the browser. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Select_Browser""" if self.__class__ == Fl_Select_Browser: _self = None else: _self = self this = _fltk.new_Fl_Select_Browser(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Select_Browser __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Select_Browser(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Select_Browser_draw(self, *args) def item_first(self, *args): """item_first(self) -> void""" return _fltk.Fl_Select_Browser_item_first(self, *args) def item_next(self, *args): """item_next(self, void item) -> void""" return _fltk.Fl_Select_Browser_item_next(self, *args) def item_prev(self, *args): """item_prev(self, void item) -> void""" return _fltk.Fl_Select_Browser_item_prev(self, *args) def item_last(self, *args): """item_last(self) -> void""" return _fltk.Fl_Select_Browser_item_last(self, *args) def item_height(self, *args): """item_height(self, void item) -> int""" return _fltk.Fl_Select_Browser_item_height(self, *args) def item_width(self, *args): """item_width(self, void item) -> int""" return _fltk.Fl_Select_Browser_item_width(self, *args) def item_quick_height(self, *args): """item_quick_height(self, void item) -> int""" return _fltk.Fl_Select_Browser_item_quick_height(self, *args) def item_draw(self, *args): """item_draw(self, void item, int X, int Y, int W, int H)""" return _fltk.Fl_Select_Browser_item_draw(self, *args) def item_text(self, *args): """item_text(self, void item) -> char""" return _fltk.Fl_Select_Browser_item_text(self, *args) def item_swap(self, *args): """item_swap(self, void a, void b)""" return _fltk.Fl_Select_Browser_item_swap(self, *args) def item_at(self, *args): """item_at(self, int line) -> void""" return _fltk.Fl_Select_Browser_item_at(self, *args) def full_width(self, *args): """full_width(self) -> int""" return _fltk.Fl_Select_Browser_full_width(self, *args) def full_height(self, *args): """full_height(self) -> int""" return _fltk.Fl_Select_Browser_full_height(self, *args) def incr_height(self, *args): """incr_height(self) -> int""" return _fltk.Fl_Select_Browser_incr_height(self, *args) def item_select(self, *args): """item_select(self, void item, int val)""" return _fltk.Fl_Select_Browser_item_select(self, *args) def item_selected(self, *args): """item_selected(self, void item) -> int""" return _fltk.Fl_Select_Browser_item_selected(self, *args) Fl_Select_Browser_swigregister = _fltk.Fl_Select_Browser_swigregister Fl_Select_Browser_swigregister(Fl_Select_Browser) class Fl_Shared_Image(Fl_Image): """ The Fl_Shared_Image class supports caching, loading, and drawing of image files. Most applications will also want to link against the fltk_images library and call the fl_register_images() function to support standard image formats such as BMP, GIF, JPEG, and PNG. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """ __init__(self) -> Fl_Shared_Image __init__(self, char n, Fl_Image img = None) -> Fl_Shared_Image """ if self.__class__ == Fl_Shared_Image: _self = None else: _self = self this = _fltk.new_Fl_Shared_Image(_self, *args) try: self.this.append(this) except: self.this = this def name(self, *args): """name(self) -> char""" return _fltk.Fl_Shared_Image_name(self, *args) def refcount(self, *args): """refcount(self) -> int""" return _fltk.Fl_Shared_Image_refcount(self, *args) def release(self, *args): """release(self)""" return _fltk.Fl_Shared_Image_release(self, *args) def reload(self, *args): """reload(self)""" return _fltk.Fl_Shared_Image_reload(self, *args) def copy(self, *args): """ copy(self, int W, int H) -> Fl_Image copy(self) -> Fl_Image """ return _fltk.Fl_Shared_Image_copy(self, *args) def color_average(self, *args): """color_average(self, Fl_Color c, float i)""" return _fltk.Fl_Shared_Image_color_average(self, *args) def desaturate(self, *args): """desaturate(self)""" return _fltk.Fl_Shared_Image_desaturate(self, *args) def draw(self, *args): """ draw(self, int X, int Y, int W, int H, int cx, int cy) draw(self, int X, int Y) """ return _fltk.Fl_Shared_Image_draw(self, *args) def uncache(self, *args): """uncache(self)""" return _fltk.Fl_Shared_Image_uncache(self, *args) def find(*args): """find(char n, int W = 0, int H = 0) -> Fl_Shared_Image""" return _fltk.Fl_Shared_Image_find(*args) find = staticmethod(find) def get(*args): """get(char n, int W = 0, int H = 0) -> Fl_Shared_Image""" return _fltk.Fl_Shared_Image_get(*args) get = staticmethod(get) def images(*args): """images() -> Fl_Shared_Image""" return _fltk.Fl_Shared_Image_images(*args) images = staticmethod(images) def num_images(*args): """num_images() -> int""" return _fltk.Fl_Shared_Image_num_images(*args) num_images = staticmethod(num_images) def add_handler(*args): """add_handler(Fl_Shared_Handler f)""" return _fltk.Fl_Shared_Image_add_handler(*args) add_handler = staticmethod(add_handler) def remove_handler(*args): """remove_handler(Fl_Shared_Handler f)""" return _fltk.Fl_Shared_Image_remove_handler(*args) remove_handler = staticmethod(remove_handler) def __disown__(self): self.this.disown() _fltk.disown_Fl_Shared_Image(self) return weakref_proxy(self) Fl_Shared_Image_swigregister = _fltk.Fl_Shared_Image_swigregister Fl_Shared_Image_swigregister(Fl_Shared_Image) def Fl_Shared_Image_find(*args): """Fl_Shared_Image_find(char n, int W = 0, int H = 0) -> Fl_Shared_Image""" return _fltk.Fl_Shared_Image_find(*args) def Fl_Shared_Image_get(*args): """Fl_Shared_Image_get(char n, int W = 0, int H = 0) -> Fl_Shared_Image""" return _fltk.Fl_Shared_Image_get(*args) def Fl_Shared_Image_images(*args): """Fl_Shared_Image_images() -> Fl_Shared_Image""" return _fltk.Fl_Shared_Image_images(*args) def Fl_Shared_Image_num_images(*args): """Fl_Shared_Image_num_images() -> int""" return _fltk.Fl_Shared_Image_num_images(*args) def Fl_Shared_Image_add_handler(*args): """Fl_Shared_Image_add_handler(Fl_Shared_Handler f)""" return _fltk.Fl_Shared_Image_add_handler(*args) def Fl_Shared_Image_remove_handler(*args): """Fl_Shared_Image_remove_handler(Fl_Shared_Handler f)""" return _fltk.Fl_Shared_Image_remove_handler(*args) def fl_register_images(*args): """fl_register_images()""" return _fltk.fl_register_images(*args) class Fl_Spinner(Fl_Group): """ The Fl_Spinner widget is a combination of the input widget and repeat buttons. The user can either type into the input area or use the buttons to change the value. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Spinner""" if self.__class__ == Fl_Spinner: _self = None else: _self = self this = _fltk.new_Fl_Spinner(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def format(self, *args): """ format(self) -> char format(self, char f) """ return _fltk.Fl_Spinner_format(self, *args) def handle(self, *args): """handle(self, int event) -> int""" return _fltk.Fl_Spinner_handle(self, *args) def maxinum(self, *args): """maxinum(self) -> double""" return _fltk.Fl_Spinner_maxinum(self, *args) def mininum(self, *args): """mininum(self) -> double""" return _fltk.Fl_Spinner_mininum(self, *args) def range(self, *args): """range(self, double a, double b)""" return _fltk.Fl_Spinner_range(self, *args) def resize(self, *args): """resize(self, int X, int Y, int W, int H)""" return _fltk.Fl_Spinner_resize(self, *args) def step(self, *args): """ step(self) -> double step(self, double s) """ return _fltk.Fl_Spinner_step(self, *args) def textcolor(self, *args): """ textcolor(self) -> Fl_Color textcolor(self, Fl_Color c) """ return _fltk.Fl_Spinner_textcolor(self, *args) def textfont(self, *args): """ textfont(self) -> Fl_Font textfont(self, Fl_Font f) """ return _fltk.Fl_Spinner_textfont(self, *args) def textsize(self, *args): """ textsize(self) -> Fl_Fontsize textsize(self, Fl_Fontsize s) """ return _fltk.Fl_Spinner_textsize(self, *args) def type(self, *args): """ type(self) -> uchar type(self, uchar v) """ return _fltk.Fl_Spinner_type(self, *args) def value(self, *args): """ value(self) -> double value(self, double v) """ return _fltk.Fl_Spinner_value(self, *args) def minimum(self, *args): """ minimum(self, double m) minimum(self) -> double """ return _fltk.Fl_Spinner_minimum(self, *args) def maximum(self, *args): """ maximum(self, double m) maximum(self) -> double """ return _fltk.Fl_Spinner_maximum(self, *args) __swig_destroy__ = _fltk.delete_Fl_Spinner __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Spinner(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Spinner_draw(self, *args) Fl_Spinner_swigregister = _fltk.Fl_Spinner_swigregister Fl_Spinner_swigregister(Fl_Spinner) def fl_show_colormap(*args): """fl_show_colormap(Fl_Color oldcol) -> Fl_Color""" return _fltk.fl_show_colormap(*args) class Fl_Simple_Counter(Fl_Counter): """Proxy of C++ Fl_Simple_Counter class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Simple_Counter""" if self.__class__ == Fl_Simple_Counter: _self = None else: _self = self this = _fltk.new_Fl_Simple_Counter(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Simple_Counter __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Simple_Counter(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Simple_Counter_draw(self, *args) Fl_Simple_Counter_swigregister = _fltk.Fl_Simple_Counter_swigregister Fl_Simple_Counter_swigregister(Fl_Simple_Counter) class Fl_Tabs(Fl_Group): """ The Fl_Tabs widget is the 'file card tabs' interface that allows you to put lots and lots of buttons and switches in a panel, as popularized by many toolkits. Clicking the tab makes a child visible() by calling show() on it, and all other children are made invisible by calling hide() on them. Usually the children are Fl_Group widgets containing several widgets themselves. Each child makes a card, and it's label() is printed on the card tab, including the label font and style. The selection color of that child is used to color the tab, while the color of the child determines the background color of the pane. The size of the tabs is controlled by the bounding box of the children (there should be some space between the children and the edge of the Fl_Tabs), and the tabs may be placed 'inverted' on the bottom, this is determined by which gap is larger. It is easiest to lay this out in fluid, using the fluid browser to select each child group and resize them until the tabs look the way you want them to. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Tabs_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Tabs_handle(self, *args) def value(self, *args): """ value(self) -> Fl_Widget value(self, Fl_Widget arg0) -> int """ return _fltk.Fl_Tabs_value(self, *args) def push(self, *args): """ push(self) -> Fl_Widget push(self, Fl_Widget arg0) -> int """ return _fltk.Fl_Tabs_push(self, *args) def __init__(self, *args): """__init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Tabs""" if self.__class__ == Fl_Tabs: _self = None else: _self = self this = _fltk.new_Fl_Tabs(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def which(self, *args): """which(self, int event_x, int event_y) -> Fl_Widget""" return _fltk.Fl_Tabs_which(self, *args) __swig_destroy__ = _fltk.delete_Fl_Tabs __del__ = lambda self : None; def client_area(self, *args): """client_area(self, int tabh = 0)""" return _fltk.Fl_Tabs_client_area(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Tabs(self) return weakref_proxy(self) Fl_Tabs_swigregister = _fltk.Fl_Tabs_swigregister Fl_Tabs_swigregister(Fl_Tabs) FL_TEXT_MAX_EXP_CHAR_LEN = _fltk.FL_TEXT_MAX_EXP_CHAR_LEN class Fl_Text_Selection(object): """Proxy of C++ Fl_Text_Selection class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def set(self, *args): """set(self, int start, int end)""" return _fltk.Fl_Text_Selection_set(self, *args) def update(self, *args): """update(self, int pos, int nDeleted, int nInserted)""" return _fltk.Fl_Text_Selection_update(self, *args) def start(self, *args): """start(self) -> int""" return _fltk.Fl_Text_Selection_start(self, *args) def end(self, *args): """end(self) -> int""" return _fltk.Fl_Text_Selection_end(self, *args) def selected(self, *args): """ selected(self) -> bool selected(self, bool b) """ return _fltk.Fl_Text_Selection_selected(self, *args) def includes(self, *args): """includes(self, int pos) -> int""" return _fltk.Fl_Text_Selection_includes(self, *args) def position(self, *args): """position(self, int start, int end) -> int""" return _fltk.Fl_Text_Selection_position(self, *args) def __init__(self, *args): """__init__(self) -> Fl_Text_Selection""" this = _fltk.new_Fl_Text_Selection(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Text_Selection __del__ = lambda self : None; Fl_Text_Selection_swigregister = _fltk.Fl_Text_Selection_swigregister Fl_Text_Selection_swigregister(Fl_Text_Selection) class Fl_Text_Buffer(object): """ The Fl_Text_Buffer class is used by the Fl_Text_Display and Fl_Text_Editor to manage complex text data and is based upon the excellent NEdit text editor engine - see http://www.nedit.org/. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int requestedSize = 0, int preferredGapSize = 1024) -> Fl_Text_Buffer""" this = _fltk.new_Fl_Text_Buffer(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Text_Buffer __del__ = lambda self : None; def length(self, *args): """length(self) -> int""" return _fltk.Fl_Text_Buffer_length(self, *args) def text(self, *args): """ text(self) -> char text(self, char text) """ return _fltk.Fl_Text_Buffer_text(self, *args) def text_range(self, *args): """text_range(self, int start, int end) -> char""" return _fltk.Fl_Text_Buffer_text_range(self, *args) def char_at(self, *args): """char_at(self, int pos) -> unsigned int""" return _fltk.Fl_Text_Buffer_char_at(self, *args) def byte_at(self, *args): """byte_at(self, int pos) -> char""" return _fltk.Fl_Text_Buffer_byte_at(self, *args) def address(self, *args): """ address(self, int pos) -> char address(self, int pos) -> char """ return _fltk.Fl_Text_Buffer_address(self, *args) def insert(self, *args): """insert(self, int pos, char text)""" return _fltk.Fl_Text_Buffer_insert(self, *args) def append(self, *args): """append(self, char t)""" return _fltk.Fl_Text_Buffer_append(self, *args) def remove(self, *args): """remove(self, int start, int end)""" return _fltk.Fl_Text_Buffer_remove(self, *args) def replace(self, *args): """replace(self, int start, int end, char text)""" return _fltk.Fl_Text_Buffer_replace(self, *args) def copy(self, *args): """ copy(self, Fl_Text_Buffer fromBuf, int fromStart, int fromEnd, int toPos) """ return _fltk.Fl_Text_Buffer_copy(self, *args) def undo(self, *args): """undo(self, int cp = None) -> int""" return _fltk.Fl_Text_Buffer_undo(self, *args) def canUndo(self, *args): """canUndo(self, char flag = 1)""" return _fltk.Fl_Text_Buffer_canUndo(self, *args) def insertfile(self, *args): """insertfile(self, char file, int pos, int buflen = 128*1024) -> int""" return _fltk.Fl_Text_Buffer_insertfile(self, *args) def appendfile(self, *args): """appendfile(self, char file, int buflen = 128*1024) -> int""" return _fltk.Fl_Text_Buffer_appendfile(self, *args) def loadfile(self, *args): """loadfile(self, char file, int buflen = 128*1024) -> int""" return _fltk.Fl_Text_Buffer_loadfile(self, *args) def outputfile(self, *args): """outputfile(self, char file, int start, int end, int buflen = 128*1024) -> int""" return _fltk.Fl_Text_Buffer_outputfile(self, *args) def savefile(self, *args): """savefile(self, char file, int buflen = 128*1024) -> int""" return _fltk.Fl_Text_Buffer_savefile(self, *args) def tab_distance(self, *args): """ tab_distance(self) -> int tab_distance(self, int tabDist) """ return _fltk.Fl_Text_Buffer_tab_distance(self, *args) def select(self, *args): """select(self, int start, int end)""" return _fltk.Fl_Text_Buffer_select(self, *args) def selected(self, *args): """selected(self) -> int""" return _fltk.Fl_Text_Buffer_selected(self, *args) def unselect(self, *args): """unselect(self)""" return _fltk.Fl_Text_Buffer_unselect(self, *args) def selection_position(self, *args): """selection_position(self, int start, int end) -> int""" return _fltk.Fl_Text_Buffer_selection_position(self, *args) def selection_text(self, *args): """selection_text(self) -> char""" return _fltk.Fl_Text_Buffer_selection_text(self, *args) def remove_selection(self, *args): """remove_selection(self)""" return _fltk.Fl_Text_Buffer_remove_selection(self, *args) def replace_selection(self, *args): """replace_selection(self, char text)""" return _fltk.Fl_Text_Buffer_replace_selection(self, *args) def secondary_select(self, *args): """secondary_select(self, int start, int end)""" return _fltk.Fl_Text_Buffer_secondary_select(self, *args) def secondary_selected(self, *args): """secondary_selected(self) -> int""" return _fltk.Fl_Text_Buffer_secondary_selected(self, *args) def secondary_unselect(self, *args): """secondary_unselect(self)""" return _fltk.Fl_Text_Buffer_secondary_unselect(self, *args) def secondary_selection_position(self, *args): """secondary_selection_position(self, int start, int end) -> int""" return _fltk.Fl_Text_Buffer_secondary_selection_position(self, *args) def secondary_selection_text(self, *args): """secondary_selection_text(self) -> char""" return _fltk.Fl_Text_Buffer_secondary_selection_text(self, *args) def remove_secondary_selection(self, *args): """remove_secondary_selection(self)""" return _fltk.Fl_Text_Buffer_remove_secondary_selection(self, *args) def replace_secondary_selection(self, *args): """replace_secondary_selection(self, char text)""" return _fltk.Fl_Text_Buffer_replace_secondary_selection(self, *args) def highlight(self, *args): """ highlight(self, int start, int end) highlight(self) -> int """ return _fltk.Fl_Text_Buffer_highlight(self, *args) def unhighlight(self, *args): """unhighlight(self)""" return _fltk.Fl_Text_Buffer_unhighlight(self, *args) def highlight_position(self, *args): """highlight_position(self, int start, int end) -> int""" return _fltk.Fl_Text_Buffer_highlight_position(self, *args) def highlight_text(self, *args): """highlight_text(self) -> char""" return _fltk.Fl_Text_Buffer_highlight_text(self, *args) def call_modify_callbacks(self, *args): """call_modify_callbacks(self)""" return _fltk.Fl_Text_Buffer_call_modify_callbacks(self, *args) def add_predelete_callback(self, *args): """add_predelete_callback(self, Fl_Text_Predelete_Cb bufPredelCB, void cbArg)""" return _fltk.Fl_Text_Buffer_add_predelete_callback(self, *args) def remove_predelete_callback(self, *args): """remove_predelete_callback(self, Fl_Text_Predelete_Cb predelCB, void cbArg)""" return _fltk.Fl_Text_Buffer_remove_predelete_callback(self, *args) def call_predelete_callbacks(self, *args): """call_predelete_callbacks(self)""" return _fltk.Fl_Text_Buffer_call_predelete_callbacks(self, *args) def line_text(self, *args): """line_text(self, int pos) -> char""" return _fltk.Fl_Text_Buffer_line_text(self, *args) def line_start(self, *args): """line_start(self, int pos) -> int""" return _fltk.Fl_Text_Buffer_line_start(self, *args) def line_end(self, *args): """line_end(self, int pos) -> int""" return _fltk.Fl_Text_Buffer_line_end(self, *args) def word_start(self, *args): """word_start(self, int pos) -> int""" return _fltk.Fl_Text_Buffer_word_start(self, *args) def word_end(self, *args): """word_end(self, int pos) -> int""" return _fltk.Fl_Text_Buffer_word_end(self, *args) def count_displayed_characters(self, *args): """count_displayed_characters(self, int lineStartPos, int targetPos) -> int""" return _fltk.Fl_Text_Buffer_count_displayed_characters(self, *args) def skip_displayed_characters(self, *args): """skip_displayed_characters(self, int lineStartPos, int nChars) -> int""" return _fltk.Fl_Text_Buffer_skip_displayed_characters(self, *args) def count_lines(self, *args): """count_lines(self, int startPos, int endPos) -> int""" return _fltk.Fl_Text_Buffer_count_lines(self, *args) def skip_lines(self, *args): """skip_lines(self, int startPos, int nLines) -> int""" return _fltk.Fl_Text_Buffer_skip_lines(self, *args) def rewind_lines(self, *args): """rewind_lines(self, int startPos, int nLines) -> int""" return _fltk.Fl_Text_Buffer_rewind_lines(self, *args) def findchar_forward(self, *args): """findchar_forward(self, int startPos, unsigned int searchChar) -> int""" return _fltk.Fl_Text_Buffer_findchar_forward(self, *args) def findchar_backward(self, *args): """findchar_backward(self, int startPos, unsigned int searchChar) -> int""" return _fltk.Fl_Text_Buffer_findchar_backward(self, *args) def search_forward(self, *args): """search_forward(self, int startPos, char searchString, int matchCase = 0) -> int""" return _fltk.Fl_Text_Buffer_search_forward(self, *args) def search_backward(self, *args): """search_backward(self, int startPos, char searchString, int matchCase = 0) -> int""" return _fltk.Fl_Text_Buffer_search_backward(self, *args) def primary_selection(self, *args): """ primary_selection(self) -> Fl_Text_Selection primary_selection(self) -> Fl_Text_Selection """ return _fltk.Fl_Text_Buffer_primary_selection(self, *args) def secondary_selection(self, *args): """secondary_selection(self) -> Fl_Text_Selection""" return _fltk.Fl_Text_Buffer_secondary_selection(self, *args) def highlight_selection(self, *args): """highlight_selection(self) -> Fl_Text_Selection""" return _fltk.Fl_Text_Buffer_highlight_selection(self, *args) def prev_char(self, *args): """prev_char(self, int ix) -> int""" return _fltk.Fl_Text_Buffer_prev_char(self, *args) def prev_char_clipped(self, *args): """prev_char_clipped(self, int ix) -> int""" return _fltk.Fl_Text_Buffer_prev_char_clipped(self, *args) def next_char(self, *args): """next_char(self, int ix) -> int""" return _fltk.Fl_Text_Buffer_next_char(self, *args) def next_char_clipped(self, *args): """next_char_clipped(self, int ix) -> int""" return _fltk.Fl_Text_Buffer_next_char_clipped(self, *args) def utf8_align(self, *args): """utf8_align(self, int arg0) -> int""" return _fltk.Fl_Text_Buffer_utf8_align(self, *args) def add_modify_callback(self, *args): """ add_modify_callback(self, Fl_Text_Modify_Cb bufModifiedCB, void cbArg) add_modify_callback(self, PyObject PyFunc, PyObject PyTarget = None) """ return _fltk.Fl_Text_Buffer_add_modify_callback(self, *args) def remove_modify_callback(self, *args): """ remove_modify_callback(self, Fl_Text_Modify_Cb bufModifiedCB, void cbArg) remove_modify_callback(self, PyObject PyFunc, PyObject PyWidget, PyObject PyTarget) """ return _fltk.Fl_Text_Buffer_remove_modify_callback(self, *args) Fl_Text_Buffer_swigregister = _fltk.Fl_Text_Buffer_swigregister Fl_Text_Buffer_swigregister(Fl_Text_Buffer) class Style_Table_Entry(object): """Proxy of C++ Style_Table_Entry class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self) -> Style_Table_Entry""" this = _fltk.new_Style_Table_Entry(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Style_Table_Entry __del__ = lambda self : None; Style_Table_Entry_swigregister = _fltk.Style_Table_Entry_swigregister Style_Table_Entry_swigregister(Style_Table_Entry) class Fl_Text_Display(Fl_Group): """ This is the FLTK text display widget. It allows the user to view multiple lines of text and supports highlighting and scrolling. The buffer that is displayed in the widget is managed by the Fl_Text_Buffer class. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr NORMAL_CURSOR = _fltk.Fl_Text_Display_NORMAL_CURSOR CARET_CURSOR = _fltk.Fl_Text_Display_CARET_CURSOR DIM_CURSOR = _fltk.Fl_Text_Display_DIM_CURSOR BLOCK_CURSOR = _fltk.Fl_Text_Display_BLOCK_CURSOR HEAVY_CURSOR = _fltk.Fl_Text_Display_HEAVY_CURSOR CURSOR_POS = _fltk.Fl_Text_Display_CURSOR_POS CHARACTER_POS = _fltk.Fl_Text_Display_CHARACTER_POS DRAG_NONE = _fltk.Fl_Text_Display_DRAG_NONE DRAG_START_DND = _fltk.Fl_Text_Display_DRAG_START_DND DRAG_CHAR = _fltk.Fl_Text_Display_DRAG_CHAR DRAG_WORD = _fltk.Fl_Text_Display_DRAG_WORD DRAG_LINE = _fltk.Fl_Text_Display_DRAG_LINE WRAP_NONE = _fltk.Fl_Text_Display_WRAP_NONE WRAP_AT_COLUMN = _fltk.Fl_Text_Display_WRAP_AT_COLUMN WRAP_AT_PIXEL = _fltk.Fl_Text_Display_WRAP_AT_PIXEL WRAP_AT_BOUNDS = _fltk.Fl_Text_Display_WRAP_AT_BOUNDS def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Text_Display""" if self.__class__ == Fl_Text_Display: _self = None else: _self = self this = _fltk.new_Fl_Text_Display(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Text_Display __del__ = lambda self : None; def handle(self, *args): """handle(self, int e) -> int""" return _fltk.Fl_Text_Display_handle(self, *args) def buffer(self, *args): """ buffer(self, Fl_Text_Buffer buf) buffer(self) -> Fl_Text_Buffer """ val = _fltk.Fl_Text_Display_buffer(self, *args) if len(args) > 0 and args[0] != None: #delegate ownership to C++ args[0].this.disown() return val def redisplay_range(self, *args): """redisplay_range(self, int start, int end)""" return _fltk.Fl_Text_Display_redisplay_range(self, *args) def scroll(self, *args): """scroll(self, int topLineNum, int horizOffset)""" return _fltk.Fl_Text_Display_scroll(self, *args) def insert(self, *args): """insert(self, char text)""" return _fltk.Fl_Text_Display_insert(self, *args) def overstrike(self, *args): """overstrike(self, char text)""" return _fltk.Fl_Text_Display_overstrike(self, *args) def insert_position(self, *args): """ insert_position(self, int newPos) insert_position(self) -> int """ return _fltk.Fl_Text_Display_insert_position(self, *args) def position_to_xy(self, *args): """position_to_xy(self, int pos, int x, int y) -> int""" return _fltk.Fl_Text_Display_position_to_xy(self, *args) def in_selection(self, *args): """in_selection(self, int x, int y) -> int""" return _fltk.Fl_Text_Display_in_selection(self, *args) def show_insert_position(self, *args): """show_insert_position(self)""" return _fltk.Fl_Text_Display_show_insert_position(self, *args) def move_right(self, *args): """move_right(self) -> int""" return _fltk.Fl_Text_Display_move_right(self, *args) def move_left(self, *args): """move_left(self) -> int""" return _fltk.Fl_Text_Display_move_left(self, *args) def move_up(self, *args): """move_up(self) -> int""" return _fltk.Fl_Text_Display_move_up(self, *args) def move_down(self, *args): """move_down(self) -> int""" return _fltk.Fl_Text_Display_move_down(self, *args) def count_lines(self, *args): """count_lines(self, int start, int end, bool start_pos_is_line_start) -> int""" return _fltk.Fl_Text_Display_count_lines(self, *args) def line_start(self, *args): """line_start(self, int pos) -> int""" return _fltk.Fl_Text_Display_line_start(self, *args) def line_end(self, *args): """line_end(self, int startPos, bool startPosIsLineStart) -> int""" return _fltk.Fl_Text_Display_line_end(self, *args) def skip_lines(self, *args): """skip_lines(self, int startPos, int nLines, bool startPosIsLineStart) -> int""" return _fltk.Fl_Text_Display_skip_lines(self, *args) def rewind_lines(self, *args): """rewind_lines(self, int startPos, int nLines) -> int""" return _fltk.Fl_Text_Display_rewind_lines(self, *args) def next_word(self, *args): """next_word(self)""" return _fltk.Fl_Text_Display_next_word(self, *args) def previous_word(self, *args): """previous_word(self)""" return _fltk.Fl_Text_Display_previous_word(self, *args) def show_cursor(self, *args): """show_cursor(self, int b = 1)""" return _fltk.Fl_Text_Display_show_cursor(self, *args) def hide_cursor(self, *args): """hide_cursor(self)""" return _fltk.Fl_Text_Display_hide_cursor(self, *args) def cursor_style(self, *args): """cursor_style(self, int style)""" return _fltk.Fl_Text_Display_cursor_style(self, *args) def cursor_color(self, *args): """ cursor_color(self) -> Fl_Color cursor_color(self, Fl_Color n) """ return _fltk.Fl_Text_Display_cursor_color(self, *args) def scrollbar_width(self, *args): """ scrollbar_width(self) -> int scrollbar_width(self, int W) """ return _fltk.Fl_Text_Display_scrollbar_width(self, *args) def scrollbar_align(self, *args): """ scrollbar_align(self) -> Fl_Align scrollbar_align(self, Fl_Align a) """ return _fltk.Fl_Text_Display_scrollbar_align(self, *args) def word_start(self, *args): """word_start(self, int pos) -> int""" return _fltk.Fl_Text_Display_word_start(self, *args) def word_end(self, *args): """word_end(self, int pos) -> int""" return _fltk.Fl_Text_Display_word_end(self, *args) def position_style(self, *args): """position_style(self, int lineStartPos, int lineLen, int lineIndex) -> int""" return _fltk.Fl_Text_Display_position_style(self, *args) def shortcut(self, *args): """ shortcut(self) -> int shortcut(self, int s) """ return _fltk.Fl_Text_Display_shortcut(self, *args) def textfont(self, *args): """ textfont(self) -> Fl_Font textfont(self, Fl_Font s) """ return _fltk.Fl_Text_Display_textfont(self, *args) def textsize(self, *args): """ textsize(self) -> Fl_Fontsize textsize(self, Fl_Fontsize s) """ return _fltk.Fl_Text_Display_textsize(self, *args) def textcolor(self, *args): """ textcolor(self) -> Fl_Color textcolor(self, Fl_Color n) """ return _fltk.Fl_Text_Display_textcolor(self, *args) def wrapped_column(self, *args): """wrapped_column(self, int row, int column) -> int""" return _fltk.Fl_Text_Display_wrapped_column(self, *args) def wrapped_row(self, *args): """wrapped_row(self, int row) -> int""" return _fltk.Fl_Text_Display_wrapped_row(self, *args) def wrap_mode(self, *args): """wrap_mode(self, int wrap, int wrap_margin)""" return _fltk.Fl_Text_Display_wrap_mode(self, *args) def resize(self, *args): """resize(self, int X, int Y, int W, int H)""" return _fltk.Fl_Text_Display_resize(self, *args) def x_to_col(self, *args): """x_to_col(self, double x) -> double""" return _fltk.Fl_Text_Display_x_to_col(self, *args) def col_to_x(self, *args): """col_to_x(self, double col) -> double""" return _fltk.Fl_Text_Display_col_to_x(self, *args) def draw(self, *args): """draw(self)""" return _fltk.Fl_Text_Display_draw(self, *args) def highlight_data(self, *args): """ highlight_data(self, Fl_Text_Buffer styleBuffer, styleTable, int nStyles, char unfinishedStyle, PyObject func, PyObject cbArg) """ return _fltk.Fl_Text_Display_highlight_data(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Text_Display(self) return weakref_proxy(self) Fl_Text_Display_swigregister = _fltk.Fl_Text_Display_swigregister Fl_Text_Display_swigregister(Fl_Text_Display) FL_TEXT_EDITOR_ANY_STATE = _fltk.FL_TEXT_EDITOR_ANY_STATE class Fl_Text_Editor(Fl_Text_Display): """ This is the FLTK text editor widget. It allows the user to edit multiple lines of text and supports highlighting and scrolling. The buffer that is displayed in the widget is managed by the Fl_Text_Buffer class. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Text_Editor""" if self.__class__ == Fl_Text_Editor: _self = None else: _self = self this = _fltk.new_Fl_Text_Editor(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Text_Editor __del__ = lambda self : None; def handle(self, *args): """handle(self, int e) -> int""" return _fltk.Fl_Text_Editor_handle(self, *args) def insert_mode(self, *args): """ insert_mode(self, int b) insert_mode(self) -> int """ return _fltk.Fl_Text_Editor_insert_mode(self, *args) def add_key_binding(self, *args): """add_key_binding(self, int key, int state, Key_Func f)""" return _fltk.Fl_Text_Editor_add_key_binding(self, *args) def remove_key_binding(self, *args): """remove_key_binding(self, int key, int state)""" return _fltk.Fl_Text_Editor_remove_key_binding(self, *args) def remove_all_key_bindings(self, *args): """remove_all_key_bindings(self)""" return _fltk.Fl_Text_Editor_remove_all_key_bindings(self, *args) def bound_key_function(self, *args): """bound_key_function(self, int key, int state) -> Key_Func""" return _fltk.Fl_Text_Editor_bound_key_function(self, *args) def default_key_function(self, *args): """default_key_function(self, Key_Func f)""" return _fltk.Fl_Text_Editor_default_key_function(self, *args) def kf_default(*args): """kf_default(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_default(*args) kf_default = staticmethod(kf_default) def kf_ignore(*args): """kf_ignore(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_ignore(*args) kf_ignore = staticmethod(kf_ignore) def kf_backspace(*args): """kf_backspace(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_backspace(*args) kf_backspace = staticmethod(kf_backspace) def kf_enter(*args): """kf_enter(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_enter(*args) kf_enter = staticmethod(kf_enter) def kf_move(*args): """kf_move(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_move(*args) kf_move = staticmethod(kf_move) def kf_shift_move(*args): """kf_shift_move(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_shift_move(*args) kf_shift_move = staticmethod(kf_shift_move) def kf_ctrl_move(*args): """kf_ctrl_move(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_ctrl_move(*args) kf_ctrl_move = staticmethod(kf_ctrl_move) def kf_c_s_move(*args): """kf_c_s_move(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_c_s_move(*args) kf_c_s_move = staticmethod(kf_c_s_move) def kf_meta_move(*args): """kf_meta_move(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_meta_move(*args) kf_meta_move = staticmethod(kf_meta_move) def kf_m_s_move(*args): """kf_m_s_move(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_m_s_move(*args) kf_m_s_move = staticmethod(kf_m_s_move) def kf_home(*args): """kf_home(int arg0, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_home(*args) kf_home = staticmethod(kf_home) def kf_end(*args): """kf_end(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_end(*args) kf_end = staticmethod(kf_end) def kf_left(*args): """kf_left(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_left(*args) kf_left = staticmethod(kf_left) def kf_up(*args): """kf_up(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_up(*args) kf_up = staticmethod(kf_up) def kf_right(*args): """kf_right(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_right(*args) kf_right = staticmethod(kf_right) def kf_down(*args): """kf_down(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_down(*args) kf_down = staticmethod(kf_down) def kf_page_up(*args): """kf_page_up(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_page_up(*args) kf_page_up = staticmethod(kf_page_up) def kf_page_down(*args): """kf_page_down(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_page_down(*args) kf_page_down = staticmethod(kf_page_down) def kf_insert(*args): """kf_insert(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_insert(*args) kf_insert = staticmethod(kf_insert) def kf_delete(*args): """kf_delete(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_delete(*args) kf_delete = staticmethod(kf_delete) def kf_copy(*args): """kf_copy(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_copy(*args) kf_copy = staticmethod(kf_copy) def kf_cut(*args): """kf_cut(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_cut(*args) kf_cut = staticmethod(kf_cut) def kf_paste(*args): """kf_paste(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_paste(*args) kf_paste = staticmethod(kf_paste) def kf_select_all(*args): """kf_select_all(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_select_all(*args) kf_select_all = staticmethod(kf_select_all) def kf_undo(*args): """kf_undo(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_undo(*args) kf_undo = staticmethod(kf_undo) def __disown__(self): self.this.disown() _fltk.disown_Fl_Text_Editor(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Text_Editor_draw(self, *args) Fl_Text_Editor_swigregister = _fltk.Fl_Text_Editor_swigregister Fl_Text_Editor_swigregister(Fl_Text_Editor) def Fl_Text_Editor_kf_default(*args): """Fl_Text_Editor_kf_default(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_default(*args) def Fl_Text_Editor_kf_ignore(*args): """Fl_Text_Editor_kf_ignore(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_ignore(*args) def Fl_Text_Editor_kf_backspace(*args): """Fl_Text_Editor_kf_backspace(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_backspace(*args) def Fl_Text_Editor_kf_enter(*args): """Fl_Text_Editor_kf_enter(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_enter(*args) def Fl_Text_Editor_kf_move(*args): """Fl_Text_Editor_kf_move(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_move(*args) def Fl_Text_Editor_kf_shift_move(*args): """Fl_Text_Editor_kf_shift_move(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_shift_move(*args) def Fl_Text_Editor_kf_ctrl_move(*args): """Fl_Text_Editor_kf_ctrl_move(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_ctrl_move(*args) def Fl_Text_Editor_kf_c_s_move(*args): """Fl_Text_Editor_kf_c_s_move(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_c_s_move(*args) def Fl_Text_Editor_kf_meta_move(*args): """Fl_Text_Editor_kf_meta_move(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_meta_move(*args) def Fl_Text_Editor_kf_m_s_move(*args): """Fl_Text_Editor_kf_m_s_move(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_m_s_move(*args) def Fl_Text_Editor_kf_home(*args): """Fl_Text_Editor_kf_home(int arg0, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_home(*args) def Fl_Text_Editor_kf_end(*args): """Fl_Text_Editor_kf_end(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_end(*args) def Fl_Text_Editor_kf_left(*args): """Fl_Text_Editor_kf_left(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_left(*args) def Fl_Text_Editor_kf_up(*args): """Fl_Text_Editor_kf_up(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_up(*args) def Fl_Text_Editor_kf_right(*args): """Fl_Text_Editor_kf_right(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_right(*args) def Fl_Text_Editor_kf_down(*args): """Fl_Text_Editor_kf_down(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_down(*args) def Fl_Text_Editor_kf_page_up(*args): """Fl_Text_Editor_kf_page_up(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_page_up(*args) def Fl_Text_Editor_kf_page_down(*args): """Fl_Text_Editor_kf_page_down(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_page_down(*args) def Fl_Text_Editor_kf_insert(*args): """Fl_Text_Editor_kf_insert(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_insert(*args) def Fl_Text_Editor_kf_delete(*args): """Fl_Text_Editor_kf_delete(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_delete(*args) def Fl_Text_Editor_kf_copy(*args): """Fl_Text_Editor_kf_copy(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_copy(*args) def Fl_Text_Editor_kf_cut(*args): """Fl_Text_Editor_kf_cut(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_cut(*args) def Fl_Text_Editor_kf_paste(*args): """Fl_Text_Editor_kf_paste(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_paste(*args) def Fl_Text_Editor_kf_select_all(*args): """Fl_Text_Editor_kf_select_all(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_select_all(*args) def Fl_Text_Editor_kf_undo(*args): """Fl_Text_Editor_kf_undo(int c, Fl_Text_Editor e) -> int""" return _fltk.Fl_Text_Editor_kf_undo(*args) class Fl_Tile(Fl_Group): """ The Fl_Tile class lets you resize the children by dragging the border between them: Fl_Tile allows objects to be resized to zero dimensions. To prevent this you can use the resizable() to limit where corners can be dragged to. Even though objects can be resized to zero sizes, they must initially have non-zero sizes so the Fl_Tile can figure out their layout. If desired, call position() after creating the children but before displaying the window to set the borders where you want. The 'borders' are part of the children - Fl_Tile does not draw any graphics of its own. In the example above, all of the children have FL_DOWN_BOX types, and the 'ridges' you see are actually two adjacent FL_DOWN_BOX's drawn next to each other. All neighboring widgets share the same edge - the widget's thick borders make it appear as though the widgets aren't actually touching, but they are. If the edges of adjacent widgets do not touch, then it will be impossible to drag the corresponding edges. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Tile_handle(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Tile""" if self.__class__ == Fl_Tile: _self = None else: _self = self this = _fltk.new_Fl_Tile(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def resize(self, *args): """resize(self, int arg0, int arg1, int arg2, int arg3)""" return _fltk.Fl_Tile_resize(self, *args) def position(self, *args): """position(self, int arg0, int arg1, int arg2, int arg3)""" return _fltk.Fl_Tile_position(self, *args) __swig_destroy__ = _fltk.delete_Fl_Tile __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Tile(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Tile_draw(self, *args) Fl_Tile_swigregister = _fltk.Fl_Tile_swigregister Fl_Tile_swigregister(Fl_Tile) class Fl_Tiled_Image(Fl_Image): """ The Fl_Tiled_Image class supports tiling of images over a specified area. The source (tile) image is not copied unless you call the color_average(), desaturate(), or inactive() methods. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, Fl_Image i, int W = 0, int H = 0) -> Fl_Tiled_Image""" if self.__class__ == Fl_Tiled_Image: _self = None else: _self = self this = _fltk.new_Fl_Tiled_Image(_self, *args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Tiled_Image __del__ = lambda self : None; def copy(self, *args): """ copy(self, int W, int H) -> Fl_Image copy(self) -> Fl_Image """ return _fltk.Fl_Tiled_Image_copy(self, *args) def color_average(self, *args): """color_average(self, Fl_Color c, float i)""" return _fltk.Fl_Tiled_Image_color_average(self, *args) def desaturate(self, *args): """desaturate(self)""" return _fltk.Fl_Tiled_Image_desaturate(self, *args) def draw(self, *args): """ draw(self, int X, int Y, int W, int H, int cx, int cy) draw(self, int X, int Y) """ return _fltk.Fl_Tiled_Image_draw(self, *args) def image(self, *args): """image(self) -> Fl_Image""" return _fltk.Fl_Tiled_Image_image(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Tiled_Image(self) return weakref_proxy(self) Fl_Tiled_Image_swigregister = _fltk.Fl_Tiled_Image_swigregister Fl_Tiled_Image_swigregister(Fl_Tiled_Image) FL_NORMAL_TIMER = _fltk.FL_NORMAL_TIMER FL_VALUE_TIMER = _fltk.FL_VALUE_TIMER FL_HIDDEN_TIMER = _fltk.FL_HIDDEN_TIMER class Fl_Timer(Fl_Widget): """ This is provided only to emulate the Forms Timer widget. It works by making a timeout callback every 1/5 second. This is wasteful and inaccurate if you just want something to happen a fixed time in the future. You should directly call Fl::add_timeout() instead. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Timer_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Timer_handle(self, *args) def __init__(self, *args): """__init__(self, uchar t, int x, int y, int w, int h, char l) -> Fl_Timer""" if self.__class__ == Fl_Timer: _self = None else: _self = self this = _fltk.new_Fl_Timer(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Timer __del__ = lambda self : None; def value(self, *args): """ value(self, double arg0) value(self) -> double """ return _fltk.Fl_Timer_value(self, *args) def direction(self, *args): """ direction(self) -> char direction(self, char d) """ return _fltk.Fl_Timer_direction(self, *args) def suspended(self, *args): """ suspended(self) -> char suspended(self, char d) """ return _fltk.Fl_Timer_suspended(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Timer(self) return weakref_proxy(self) Fl_Timer_swigregister = _fltk.Fl_Timer_swigregister Fl_Timer_swigregister(Fl_Timer) class Fl_Toggle_Button(Fl_Button): """Proxy of C++ Fl_Toggle_Button class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Toggle_Button""" if self.__class__ == Fl_Toggle_Button: _self = None else: _self = self this = _fltk.new_Fl_Toggle_Button(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Toggle_Button __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Toggle_Button(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Toggle_Button_draw(self, *args) Fl_Toggle_Button_swigregister = _fltk.Fl_Toggle_Button_swigregister Fl_Toggle_Button_swigregister(Fl_Toggle_Button) class Fl_Tooltip(object): """ The Fl_Tooltip class provides tooltip support for all FLTK widgets. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def delay(*args): """ delay() -> float delay(float f) """ return _fltk.Fl_Tooltip_delay(*args) delay = staticmethod(delay) def hoverdelay(*args): """ hoverdelay() -> float hoverdelay(float f) """ return _fltk.Fl_Tooltip_hoverdelay(*args) hoverdelay = staticmethod(hoverdelay) def enabled(*args): """enabled() -> int""" return _fltk.Fl_Tooltip_enabled(*args) enabled = staticmethod(enabled) def enable(*args): """enable(int b = 1)""" return _fltk.Fl_Tooltip_enable(*args) enable = staticmethod(enable) def disable(*args): """disable()""" return _fltk.Fl_Tooltip_disable(*args) disable = staticmethod(disable) def enter_area(*args): """enter_area(Fl_Widget w, int X, int Y, int W, int H, char tip)""" return _fltk.Fl_Tooltip_enter_area(*args) enter_area = staticmethod(enter_area) def current(*args): """ current() -> Fl_Widget current(Fl_Widget arg0) """ return _fltk.Fl_Tooltip_current(*args) current = staticmethod(current) def font(*args): """ font() -> Fl_Font font(Fl_Font i) """ return _fltk.Fl_Tooltip_font(*args) font = staticmethod(font) def size(*args): """ size() -> Fl_Fontsize size(Fl_Fontsize s) """ return _fltk.Fl_Tooltip_size(*args) size = staticmethod(size) def color(*args): """ color() -> Fl_Color color(Fl_Color c) """ return _fltk.Fl_Tooltip_color(*args) color = staticmethod(color) def textcolor(*args): """ textcolor() -> Fl_Color textcolor(Fl_Color c) """ return _fltk.Fl_Tooltip_textcolor(*args) textcolor = staticmethod(textcolor) def __init__(self, *args): """__init__(self) -> Fl_Tooltip""" this = _fltk.new_Fl_Tooltip(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_Tooltip __del__ = lambda self : None; Fl_Tooltip_swigregister = _fltk.Fl_Tooltip_swigregister Fl_Tooltip_swigregister(Fl_Tooltip) def Fl_Tooltip_delay(*args): """ delay() -> float Fl_Tooltip_delay(float f) """ return _fltk.Fl_Tooltip_delay(*args) def Fl_Tooltip_hoverdelay(*args): """ hoverdelay() -> float Fl_Tooltip_hoverdelay(float f) """ return _fltk.Fl_Tooltip_hoverdelay(*args) def Fl_Tooltip_enabled(*args): """Fl_Tooltip_enabled() -> int""" return _fltk.Fl_Tooltip_enabled(*args) def Fl_Tooltip_enable(*args): """Fl_Tooltip_enable(int b = 1)""" return _fltk.Fl_Tooltip_enable(*args) def Fl_Tooltip_disable(*args): """Fl_Tooltip_disable()""" return _fltk.Fl_Tooltip_disable(*args) def Fl_Tooltip_enter_area(*args): """Fl_Tooltip_enter_area(Fl_Widget w, int X, int Y, int W, int H, char tip)""" return _fltk.Fl_Tooltip_enter_area(*args) def Fl_Tooltip_current(*args): """ current() -> Fl_Widget Fl_Tooltip_current(Fl_Widget arg0) """ return _fltk.Fl_Tooltip_current(*args) def Fl_Tooltip_font(*args): """ font() -> Fl_Font Fl_Tooltip_font(Fl_Font i) """ return _fltk.Fl_Tooltip_font(*args) def Fl_Tooltip_size(*args): """ size() -> Fl_Fontsize Fl_Tooltip_size(Fl_Fontsize s) """ return _fltk.Fl_Tooltip_size(*args) def Fl_Tooltip_color(*args): """ color() -> Fl_Color Fl_Tooltip_color(Fl_Color c) """ return _fltk.Fl_Tooltip_color(*args) def Fl_Tooltip_textcolor(*args): """ textcolor() -> Fl_Color Fl_Tooltip_textcolor(Fl_Color c) """ return _fltk.Fl_Tooltip_textcolor(*args) class Fl_Value_Output(Fl_Valuator): """ The Fl_Value_Output widget displays a floating point value. If step() is not zero, the user can adjust the value by dragging the mouse left and right. The left button moves one step() per pixel, the middle by 10 * step(), and the right button by 100 * step(). This is much lighter-weight than Fl_Value_Input because it contains no text editing code or character buffer. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def draw(self, *args): """draw(self)""" return _fltk.Fl_Value_Output_draw(self, *args) def handle(self, *args): """handle(self, int arg0) -> int""" return _fltk.Fl_Value_Output_handle(self, *args) def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char l = None) -> Fl_Value_Output""" if self.__class__ == Fl_Value_Output: _self = None else: _self = self this = _fltk.new_Fl_Value_Output(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def soft(self, *args): """ soft(self, uchar s) soft(self) -> uchar """ return _fltk.Fl_Value_Output_soft(self, *args) def textfont(self, *args): """ textfont(self) -> Fl_Font textfont(self, Fl_Font s) """ return _fltk.Fl_Value_Output_textfont(self, *args) def textsize(self, *args): """ textsize(self) -> Fl_Fontsize textsize(self, Fl_Fontsize s) """ return _fltk.Fl_Value_Output_textsize(self, *args) def textcolor(self, *args): """ textcolor(self) -> Fl_Color textcolor(self, Fl_Color s) """ return _fltk.Fl_Value_Output_textcolor(self, *args) __swig_destroy__ = _fltk.delete_Fl_Value_Output __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Value_Output(self) return weakref_proxy(self) Fl_Value_Output_swigregister = _fltk.Fl_Value_Output_swigregister Fl_Value_Output_swigregister(Fl_Value_Output) class Fl_Wizard(Fl_Group): """ The Fl_Wizard widget is based off the Fl_Tabs widget, but instead of displaying tabs it only changes 'tabs' under program control. Its primary purpose is to support 'wizards' that step a user through configuration or troubleshooting tasks. As with Fl_Tabs, wizard panes are composed of child (usually Fl_Group) widgets. Navigation buttons must be added separately. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Wizard""" if self.__class__ == Fl_Wizard: _self = None else: _self = self this = _fltk.new_Fl_Wizard(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def next(self, *args): """next(self)""" return _fltk.Fl_Wizard_next(self, *args) def prev(self, *args): """prev(self)""" return _fltk.Fl_Wizard_prev(self, *args) def value(self, *args): """ value(self) -> Fl_Widget value(self, Fl_Widget arg0) """ return _fltk.Fl_Wizard_value(self, *args) __swig_destroy__ = _fltk.delete_Fl_Wizard __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Wizard(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.Fl_Wizard_draw(self, *args) Fl_Wizard_swigregister = _fltk.Fl_Wizard_swigregister Fl_Wizard_swigregister(Fl_Wizard) class Fl_XBM_Image(Fl_Bitmap): """ The Fl_XBM_Image class supports loading, caching, and drawing of X Bitmap (XBM) bitmap files. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, char filename) -> Fl_XBM_Image""" if self.__class__ == Fl_XBM_Image: _self = None else: _self = self this = _fltk.new_Fl_XBM_Image(_self, *args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_XBM_Image __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_XBM_Image(self) return weakref_proxy(self) Fl_XBM_Image_swigregister = _fltk.Fl_XBM_Image_swigregister Fl_XBM_Image_swigregister(Fl_XBM_Image) class Fl_XPM_Image(Fl_Pixmap): """ The Fl_XPM_Image class supports loading, caching, and drawing of X Pixmap (XPM) images, including transparency. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, char filename) -> Fl_XPM_Image""" if self.__class__ == Fl_XPM_Image: _self = None else: _self = self this = _fltk.new_Fl_XPM_Image(_self, *args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _fltk.delete_Fl_XPM_Image __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_XPM_Image(self) return weakref_proxy(self) Fl_XPM_Image_swigregister = _fltk.Fl_XPM_Image_swigregister Fl_XPM_Image_swigregister(Fl_XPM_Image) FL_TREE_SORT_NONE = _fltk.FL_TREE_SORT_NONE FL_TREE_SORT_ASCENDING = _fltk.FL_TREE_SORT_ASCENDING FL_TREE_SORT_DESCENDING = _fltk.FL_TREE_SORT_DESCENDING FL_TREE_CONNECTOR_NONE = _fltk.FL_TREE_CONNECTOR_NONE FL_TREE_CONNECTOR_DOTTED = _fltk.FL_TREE_CONNECTOR_DOTTED FL_TREE_CONNECTOR_SOLID = _fltk.FL_TREE_CONNECTOR_SOLID FL_TREE_SELECT_NONE = _fltk.FL_TREE_SELECT_NONE FL_TREE_SELECT_SINGLE = _fltk.FL_TREE_SELECT_SINGLE FL_TREE_SELECT_MULTI = _fltk.FL_TREE_SELECT_MULTI class Fl_Tree_Prefs(object): """Proxy of C++ Fl_Tree_Prefs class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self) -> Fl_Tree_Prefs""" this = _fltk.new_Fl_Tree_Prefs(*args) try: self.this.append(this) except: self.this = this def labelfont(self, *args): """ labelfont(self) -> Fl_Font labelfont(self, Fl_Font val) """ return _fltk.Fl_Tree_Prefs_labelfont(self, *args) def labelsize(self, *args): """ labelsize(self) -> Fl_Fontsize labelsize(self, Fl_Fontsize val) """ return _fltk.Fl_Tree_Prefs_labelsize(self, *args) def marginleft(self, *args): """ marginleft(self) -> int marginleft(self, int val) """ return _fltk.Fl_Tree_Prefs_marginleft(self, *args) def margintop(self, *args): """ margintop(self) -> int margintop(self, int val) """ return _fltk.Fl_Tree_Prefs_margintop(self, *args) def openchild_marginbottom(self, *args): """ openchild_marginbottom(self) -> int openchild_marginbottom(self, int val) """ return _fltk.Fl_Tree_Prefs_openchild_marginbottom(self, *args) def usericonmarginleft(self, *args): """ usericonmarginleft(self) -> int usericonmarginleft(self, int val) """ return _fltk.Fl_Tree_Prefs_usericonmarginleft(self, *args) def labelmarginleft(self, *args): """ labelmarginleft(self) -> int labelmarginleft(self, int val) """ return _fltk.Fl_Tree_Prefs_labelmarginleft(self, *args) def linespacing(self, *args): """ linespacing(self) -> int linespacing(self, int val) """ return _fltk.Fl_Tree_Prefs_linespacing(self, *args) def labelfgcolor(self, *args): """ labelfgcolor(self) -> Fl_Color labelfgcolor(self, Fl_Color val) """ return _fltk.Fl_Tree_Prefs_labelfgcolor(self, *args) def labelbgcolor(self, *args): """ labelbgcolor(self) -> Fl_Color labelbgcolor(self, Fl_Color val) """ return _fltk.Fl_Tree_Prefs_labelbgcolor(self, *args) def connectorcolor(self, *args): """ connectorcolor(self) -> Fl_Color connectorcolor(self, Fl_Color val) """ return _fltk.Fl_Tree_Prefs_connectorcolor(self, *args) def connectorstyle(self, *args): """ connectorstyle(self) -> Fl_Tree_Connector connectorstyle(self, Fl_Tree_Connector val) connectorstyle(self, int val) """ return _fltk.Fl_Tree_Prefs_connectorstyle(self, *args) def connectorwidth(self, *args): """ connectorwidth(self) -> int connectorwidth(self, int val) """ return _fltk.Fl_Tree_Prefs_connectorwidth(self, *args) def openicon(self, *args): """ openicon(self) -> Fl_Image openicon(self, Fl_Image val) """ return _fltk.Fl_Tree_Prefs_openicon(self, *args) def closeicon(self, *args): """ closeicon(self) -> Fl_Image closeicon(self, Fl_Image val) """ return _fltk.Fl_Tree_Prefs_closeicon(self, *args) def usericon(self, *args): """ usericon(self) -> Fl_Image usericon(self, Fl_Image val) """ return _fltk.Fl_Tree_Prefs_usericon(self, *args) def showcollapse(self, *args): """ showcollapse(self) -> char showcollapse(self, int val) """ return _fltk.Fl_Tree_Prefs_showcollapse(self, *args) def sortorder(self, *args): """ sortorder(self) -> Fl_Tree_Sort sortorder(self, Fl_Tree_Sort val) """ return _fltk.Fl_Tree_Prefs_sortorder(self, *args) def selectbox(self, *args): """ selectbox(self) -> Fl_Boxtype selectbox(self, Fl_Boxtype val) """ return _fltk.Fl_Tree_Prefs_selectbox(self, *args) def showroot(self, *args): """ showroot(self) -> int showroot(self, int val) """ return _fltk.Fl_Tree_Prefs_showroot(self, *args) def selectmode(self, *args): """ selectmode(self) -> Fl_Tree_Select selectmode(self, Fl_Tree_Select val) """ return _fltk.Fl_Tree_Prefs_selectmode(self, *args) __swig_destroy__ = _fltk.delete_Fl_Tree_Prefs __del__ = lambda self : None; Fl_Tree_Prefs_swigregister = _fltk.Fl_Tree_Prefs_swigregister Fl_Tree_Prefs_swigregister(Fl_Tree_Prefs) class Fl_Tree_Item_Array(object): """ Because FLTK 1.x.x. has mandated that templates and STL not be used, we use this class to dynamically manage the arrays. None of the methods do range checking on index values; the caller must be sure that index values are within the range 0 Fl_Tree_Item_Array __init__(self, Fl_Tree_Item_Array o) -> Fl_Tree_Item_Array """ this = _fltk.new_Fl_Tree_Item_Array(*args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def total(self, *args): """total(self) -> int""" return _fltk.Fl_Tree_Item_Array_total(self, *args) def swap(self, *args): """swap(self, int ax, int bx)""" return _fltk.Fl_Tree_Item_Array_swap(self, *args) def clear(self, *args): """clear(self)""" return _fltk.Fl_Tree_Item_Array_clear(self, *args) def add(self, *args): """add(self, Fl_Tree_Item val)""" return _fltk.Fl_Tree_Item_Array_add(self, *args) def insert(self, *args): """insert(self, int pos, Fl_Tree_Item new_item)""" return _fltk.Fl_Tree_Item_Array_insert(self, *args) def remove(self, *args): """ remove(self, int index) remove(self, Fl_Tree_Item item) -> int """ return _fltk.Fl_Tree_Item_Array_remove(self, *args) Fl_Tree_Item_Array_swigregister = _fltk.Fl_Tree_Item_Array_swigregister Fl_Tree_Item_Array_swigregister(Fl_Tree_Item_Array) class Fl_Tree_Item(object): """ This class is a single tree item, and manages all of the item's attributes. Fl_Tree_Item is used by Fl_Tree, which is comprised of many instances of Fl_Tree_Item. Fl_Tree_Item is hierarchical; it dynamically manages an Fl_Tree_Item_Array of children that are themselves instances of Fl_Tree_Item. Each item can have zero or more children. When an item has children, close() and open() can be used to hide or show them. Items have their own attributes; font size, face, color. Items maintain their own hierarchy of children. When you make changes to items, you'll need to tell the tree to redraw() for the changes to show up. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr __swig_destroy__ = _fltk.delete_Fl_Tree_Item __del__ = lambda self : None; def __init__(self, *args): """ __init__(self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item __init__(self, Fl_Tree_Item o) -> Fl_Tree_Item """ this = _fltk.new_Fl_Tree_Item(*args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def x(self, *args): """x(self) -> int""" return _fltk.Fl_Tree_Item_x(self, *args) def y(self, *args): """y(self) -> int""" return _fltk.Fl_Tree_Item_y(self, *args) def w(self, *args): """w(self) -> int""" return _fltk.Fl_Tree_Item_w(self, *args) def h(self, *args): """h(self) -> int""" return _fltk.Fl_Tree_Item_h(self, *args) def draw(self, *args): """ draw(self, int X, int W, Fl_Widget tree, Fl_Tree_Item itemfocus, Fl_Tree_Prefs prefs, int lastchild = 1) """ return _fltk.Fl_Tree_Item_draw(self, *args) def show_self(self, *args): """show_self(self, char indent = "")""" return _fltk.Fl_Tree_Item_show_self(self, *args) def label(self, *args): """ label(self, char val) label(self) -> char """ return _fltk.Fl_Tree_Item_label(self, *args) def user_data(self, *args): """ user_data(self, void data) user_data(self) -> void """ return _fltk.Fl_Tree_Item_user_data(self, *args) def labelfont(self, *args): """ labelfont(self, Fl_Font val) labelfont(self) -> Fl_Font """ return _fltk.Fl_Tree_Item_labelfont(self, *args) def labelsize(self, *args): """ labelsize(self, Fl_Fontsize val) labelsize(self) -> Fl_Fontsize """ return _fltk.Fl_Tree_Item_labelsize(self, *args) def labelcolor(self, *args): """ labelcolor(self, Fl_Color val) labelcolor(self) -> Fl_Color """ return _fltk.Fl_Tree_Item_labelcolor(self, *args) def labelfgcolor(self, *args): """ labelfgcolor(self, Fl_Color val) labelfgcolor(self) -> Fl_Color """ return _fltk.Fl_Tree_Item_labelfgcolor(self, *args) def labelbgcolor(self, *args): """ labelbgcolor(self, Fl_Color val) labelbgcolor(self) -> Fl_Color """ return _fltk.Fl_Tree_Item_labelbgcolor(self, *args) def widget(self, *args): """ widget(self, Fl_Widget val) widget(self) -> Fl_Widget """ return _fltk.Fl_Tree_Item_widget(self, *args) def children(self, *args): """children(self) -> int""" return _fltk.Fl_Tree_Item_children(self, *args) def child(self, *args): """ child(self, int index) -> Fl_Tree_Item child(self, int t) -> Fl_Tree_Item """ return _fltk.Fl_Tree_Item_child(self, *args) def has_children(self, *args): """has_children(self) -> int""" return _fltk.Fl_Tree_Item_has_children(self, *args) def find_child(self, *args): """ find_child(self, char name) -> int find_child(self, Fl_Tree_Item item) -> int """ return _fltk.Fl_Tree_Item_find_child(self, *args) def remove_child(self, *args): """ remove_child(self, Fl_Tree_Item item) -> int remove_child(self, char new_label) -> int """ return _fltk.Fl_Tree_Item_remove_child(self, *args) def clear_children(self, *args): """clear_children(self)""" return _fltk.Fl_Tree_Item_clear_children(self, *args) def swap_children(self, *args): """ swap_children(self, int ax, int bx) swap_children(self, Fl_Tree_Item a, Fl_Tree_Item b) -> int """ return _fltk.Fl_Tree_Item_swap_children(self, *args) def find_child_item(self, *args): """ find_child_item(self, char arr) -> Fl_Tree_Item find_child_item(self, char arr) -> Fl_Tree_Item """ return _fltk.Fl_Tree_Item_find_child_item(self, *args) def find_item(self, *args): """ find_item(self, char arr) -> Fl_Tree_Item find_item(self, char arr) -> Fl_Tree_Item """ return _fltk.Fl_Tree_Item_find_item(self, *args) def add(self, *args): """ add(self, Fl_Tree_Prefs prefs, char new_label) -> Fl_Tree_Item add(self, Fl_Tree_Prefs prefs, char arr) -> Fl_Tree_Item """ return _fltk.Fl_Tree_Item_add(self, *args) def insert(self, *args): """insert(self, Fl_Tree_Prefs prefs, char new_label, int pos = 0) -> Fl_Tree_Item""" return _fltk.Fl_Tree_Item_insert(self, *args) def insert_above(self, *args): """insert_above(self, Fl_Tree_Prefs prefs, char new_label) -> Fl_Tree_Item""" return _fltk.Fl_Tree_Item_insert_above(self, *args) def depth(self, *args): """depth(self) -> int""" return _fltk.Fl_Tree_Item_depth(self, *args) def prev(self, *args): """prev(self) -> Fl_Tree_Item""" return _fltk.Fl_Tree_Item_prev(self, *args) def next(self, *args): """next(self) -> Fl_Tree_Item""" return _fltk.Fl_Tree_Item_next(self, *args) def next_sibling(self, *args): """next_sibling(self) -> Fl_Tree_Item""" return _fltk.Fl_Tree_Item_next_sibling(self, *args) def prev_sibling(self, *args): """prev_sibling(self) -> Fl_Tree_Item""" return _fltk.Fl_Tree_Item_prev_sibling(self, *args) def next_displayed(self, *args): """next_displayed(self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item""" return _fltk.Fl_Tree_Item_next_displayed(self, *args) def prev_displayed(self, *args): """prev_displayed(self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item""" return _fltk.Fl_Tree_Item_prev_displayed(self, *args) def parent(self, *args): """ parent(self) -> Fl_Tree_Item parent(self) -> Fl_Tree_Item parent(self, Fl_Tree_Item val) """ return _fltk.Fl_Tree_Item_parent(self, *args) def open(self, *args): """open(self)""" return _fltk.Fl_Tree_Item_open(self, *args) def close(self, *args): """close(self)""" return _fltk.Fl_Tree_Item_close(self, *args) def is_open(self, *args): """is_open(self) -> int""" return _fltk.Fl_Tree_Item_is_open(self, *args) def is_close(self, *args): """is_close(self) -> int""" return _fltk.Fl_Tree_Item_is_close(self, *args) def open_toggle(self, *args): """open_toggle(self)""" return _fltk.Fl_Tree_Item_open_toggle(self, *args) def select(self, *args): """select(self, int val = 1)""" return _fltk.Fl_Tree_Item_select(self, *args) def select_toggle(self, *args): """select_toggle(self)""" return _fltk.Fl_Tree_Item_select_toggle(self, *args) def select_all(self, *args): """select_all(self) -> int""" return _fltk.Fl_Tree_Item_select_all(self, *args) def deselect(self, *args): """deselect(self)""" return _fltk.Fl_Tree_Item_deselect(self, *args) def deselect_all(self, *args): """deselect_all(self) -> int""" return _fltk.Fl_Tree_Item_deselect_all(self, *args) def is_selected(self, *args): """is_selected(self) -> char""" return _fltk.Fl_Tree_Item_is_selected(self, *args) def activate(self, *args): """activate(self, int val = 1)""" return _fltk.Fl_Tree_Item_activate(self, *args) def deactivate(self, *args): """deactivate(self)""" return _fltk.Fl_Tree_Item_deactivate(self, *args) def is_activated(self, *args): """is_activated(self) -> char""" return _fltk.Fl_Tree_Item_is_activated(self, *args) def is_active(self, *args): """is_active(self) -> char""" return _fltk.Fl_Tree_Item_is_active(self, *args) def visible(self, *args): """visible(self) -> int""" return _fltk.Fl_Tree_Item_visible(self, *args) def visible_r(self, *args): """visible_r(self) -> int""" return _fltk.Fl_Tree_Item_visible_r(self, *args) def usericon(self, *args): """ usericon(self, Fl_Image val) usericon(self) -> Fl_Image """ return _fltk.Fl_Tree_Item_usericon(self, *args) def find_clicked(self, *args): """ find_clicked(self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item find_clicked(self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item """ return _fltk.Fl_Tree_Item_find_clicked(self, *args) def event_on_collapse_icon(self, *args): """event_on_collapse_icon(self, Fl_Tree_Prefs prefs) -> int""" return _fltk.Fl_Tree_Item_event_on_collapse_icon(self, *args) def event_on_label(self, *args): """event_on_label(self, Fl_Tree_Prefs prefs) -> int""" return _fltk.Fl_Tree_Item_event_on_label(self, *args) def is_root(self, *args): """is_root(self) -> int""" return _fltk.Fl_Tree_Item_is_root(self, *args) Fl_Tree_Item_swigregister = _fltk.Fl_Tree_Item_swigregister Fl_Tree_Item_swigregister(Fl_Tree_Item) FL_TREE_REASON_NONE = _fltk.FL_TREE_REASON_NONE FL_TREE_REASON_SELECTED = _fltk.FL_TREE_REASON_SELECTED FL_TREE_REASON_DESELECTED = _fltk.FL_TREE_REASON_DESELECTED FL_TREE_REASON_OPENED = _fltk.FL_TREE_REASON_OPENED FL_TREE_REASON_CLOSED = _fltk.FL_TREE_REASON_CLOSED class Fl_Tree(Fl_Group): """ An expandable tree widget. Similar to Fl_Browser, Fl_Tree is browser of Fl_Tree_Item's, which can be in a parented hierarchy. Subtrees can be expanded or closed. Items can be added, deleted, inserted, sorted and re-ordered. The tree items may also contain other FLTK widgets, like buttons, input fields, or even 'custom' widgets. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Tree""" if self.__class__ == Fl_Tree: _self = None else: _self = self this = _fltk.new_Fl_Tree(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Tree __del__ = lambda self : None; def handle(self, *args): """handle(self, int e) -> int""" return _fltk.Fl_Tree_handle(self, *args) def draw(self, *args): """draw(self)""" return _fltk.Fl_Tree_draw(self, *args) def root_label(self, *args): """root_label(self, char new_label)""" return _fltk.Fl_Tree_root_label(self, *args) def root(self, *args): """root(self) -> Fl_Tree_Item""" return _fltk.Fl_Tree_root(self, *args) def add(self, *args): """ add(self, char path) -> Fl_Tree_Item add(self, Fl_Tree_Item item, char name) -> Fl_Tree_Item """ val = _fltk.Fl_Tree_add(self, *args) #self = args[0] if self.parent() != None: #delegate ownership to C++ self.this.disown() else: #give ownership back to Python self.this.own() return val def insert_above(self, *args): """insert_above(self, Fl_Tree_Item above, char name) -> Fl_Tree_Item""" return _fltk.Fl_Tree_insert_above(self, *args) def insert(self, *args): """insert(self, Fl_Tree_Item item, char name, int pos) -> Fl_Tree_Item""" return _fltk.Fl_Tree_insert(self, *args) def remove(self, *args): """remove(self, Fl_Tree_Item item) -> int""" val = _fltk.Fl_Tree_remove(self, *args) #self = args[0] if self.parent() != None: #delegate ownership to C++ self.this.disown() else: #give ownership back to Python self.this.own() return val def clear(self, *args): """clear(self)""" return _fltk.Fl_Tree_clear(self, *args) def clear_children(self, *args): """clear_children(self, Fl_Tree_Item item)""" return _fltk.Fl_Tree_clear_children(self, *args) def find_item(self, *args): """ find_item(self, char path) -> Fl_Tree_Item find_item(self, char path) -> Fl_Tree_Item """ return _fltk.Fl_Tree_find_item(self, *args) def item_pathname(self, *args): """item_pathname(self, char pathname, int pathnamelen, Fl_Tree_Item item) -> int""" return _fltk.Fl_Tree_item_pathname(self, *args) def find_clicked(self, *args): """find_clicked(self) -> Fl_Tree_Item""" return _fltk.Fl_Tree_find_clicked(self, *args) def item_clicked(self, *args): """item_clicked(self) -> Fl_Tree_Item""" return _fltk.Fl_Tree_item_clicked(self, *args) def first(self, *args): """first(self) -> Fl_Tree_Item""" return _fltk.Fl_Tree_first(self, *args) def next(self, *args): """next(self, Fl_Tree_Item item = None) -> Fl_Tree_Item""" return _fltk.Fl_Tree_next(self, *args) def prev(self, *args): """prev(self, Fl_Tree_Item item = None) -> Fl_Tree_Item""" return _fltk.Fl_Tree_prev(self, *args) def last(self, *args): """last(self) -> Fl_Tree_Item""" return _fltk.Fl_Tree_last(self, *args) def first_selected_item(self, *args): """first_selected_item(self) -> Fl_Tree_Item""" return _fltk.Fl_Tree_first_selected_item(self, *args) def next_selected_item(self, *args): """next_selected_item(self, Fl_Tree_Item item = None) -> Fl_Tree_Item""" return _fltk.Fl_Tree_next_selected_item(self, *args) def open(self, *args): """ open(self, Fl_Tree_Item item, int docallback = 1) -> int open(self, char path, int docallback = 1) -> int """ return _fltk.Fl_Tree_open(self, *args) def open_toggle(self, *args): """open_toggle(self, Fl_Tree_Item item, int docallback = 1)""" return _fltk.Fl_Tree_open_toggle(self, *args) def close(self, *args): """ close(self, Fl_Tree_Item item, int docallback = 1) -> int close(self, char path, int docallback = 1) -> int """ return _fltk.Fl_Tree_close(self, *args) def is_open(self, *args): """ is_open(self, Fl_Tree_Item item) -> int is_open(self, char path) -> int """ return _fltk.Fl_Tree_is_open(self, *args) def is_close(self, *args): """ is_close(self, Fl_Tree_Item item) -> int is_close(self, char path) -> int """ return _fltk.Fl_Tree_is_close(self, *args) def select(self, *args): """ select(self, Fl_Tree_Item item, int docallback = 1) -> int select(self, char path, int docallback = 1) -> int """ return _fltk.Fl_Tree_select(self, *args) def select_toggle(self, *args): """select_toggle(self, Fl_Tree_Item item, int docallback = 1)""" return _fltk.Fl_Tree_select_toggle(self, *args) def deselect(self, *args): """ deselect(self, Fl_Tree_Item item, int docallback = 1) -> int deselect(self, char path, int docallback = 1) -> int """ return _fltk.Fl_Tree_deselect(self, *args) def deselect_all(self, *args): """deselect_all(self, Fl_Tree_Item item = None, int docallback = 1) -> int""" return _fltk.Fl_Tree_deselect_all(self, *args) def select_only(self, *args): """select_only(self, Fl_Tree_Item selitem, int docallback = 1) -> int""" return _fltk.Fl_Tree_select_only(self, *args) def select_all(self, *args): """select_all(self, Fl_Tree_Item item = None, int docallback = 1) -> int""" return _fltk.Fl_Tree_select_all(self, *args) def set_item_focus(self, *args): """set_item_focus(self, Fl_Tree_Item o)""" return _fltk.Fl_Tree_set_item_focus(self, *args) def is_selected(self, *args): """ is_selected(self, Fl_Tree_Item item) -> int is_selected(self, char path) -> int """ return _fltk.Fl_Tree_is_selected(self, *args) def show_self(self, *args): """show_self(self)""" return _fltk.Fl_Tree_show_self(self, *args) def item_labelsize(self, *args): """ item_labelsize(self) -> Fl_Fontsize item_labelsize(self, Fl_Fontsize val) """ return _fltk.Fl_Tree_item_labelsize(self, *args) def item_labelfont(self, *args): """ item_labelfont(self) -> Fl_Font item_labelfont(self, Fl_Font val) """ return _fltk.Fl_Tree_item_labelfont(self, *args) def item_labelfgcolor(self, *args): """ item_labelfgcolor(self) -> Fl_Color item_labelfgcolor(self, Fl_Color val) """ return _fltk.Fl_Tree_item_labelfgcolor(self, *args) def item_labelbgcolor(self, *args): """ item_labelbgcolor(self) -> Fl_Color item_labelbgcolor(self, Fl_Color val) """ return _fltk.Fl_Tree_item_labelbgcolor(self, *args) def connectorcolor(self, *args): """ connectorcolor(self) -> Fl_Color connectorcolor(self, Fl_Color val) """ return _fltk.Fl_Tree_connectorcolor(self, *args) def marginleft(self, *args): """ marginleft(self) -> int marginleft(self, int val) """ return _fltk.Fl_Tree_marginleft(self, *args) def margintop(self, *args): """ margintop(self) -> int margintop(self, int val) """ return _fltk.Fl_Tree_margintop(self, *args) def openchild_marginbottom(self, *args): """ openchild_marginbottom(self) -> int openchild_marginbottom(self, int val) """ return _fltk.Fl_Tree_openchild_marginbottom(self, *args) def connectorwidth(self, *args): """ connectorwidth(self) -> int connectorwidth(self, int val) """ return _fltk.Fl_Tree_connectorwidth(self, *args) def usericon(self, *args): """ usericon(self) -> Fl_Image usericon(self, Fl_Image val) """ return _fltk.Fl_Tree_usericon(self, *args) def openicon(self, *args): """ openicon(self) -> Fl_Image openicon(self, Fl_Image val) """ return _fltk.Fl_Tree_openicon(self, *args) def closeicon(self, *args): """ closeicon(self) -> Fl_Image closeicon(self, Fl_Image val) """ return _fltk.Fl_Tree_closeicon(self, *args) def showcollapse(self, *args): """ showcollapse(self) -> int showcollapse(self, int val) """ return _fltk.Fl_Tree_showcollapse(self, *args) def showroot(self, *args): """ showroot(self) -> int showroot(self, int val) """ return _fltk.Fl_Tree_showroot(self, *args) def connectorstyle(self, *args): """ connectorstyle(self) -> Fl_Tree_Connector connectorstyle(self, Fl_Tree_Connector val) """ return _fltk.Fl_Tree_connectorstyle(self, *args) def sortorder(self, *args): """ sortorder(self) -> Fl_Tree_Sort sortorder(self, Fl_Tree_Sort val) """ return _fltk.Fl_Tree_sortorder(self, *args) def selectbox(self, *args): """ selectbox(self) -> Fl_Boxtype selectbox(self, Fl_Boxtype val) """ return _fltk.Fl_Tree_selectbox(self, *args) def selectmode(self, *args): """ selectmode(self) -> Fl_Tree_Select selectmode(self, Fl_Tree_Select val) """ return _fltk.Fl_Tree_selectmode(self, *args) def displayed(self, *args): """displayed(self, Fl_Tree_Item item) -> int""" return _fltk.Fl_Tree_displayed(self, *args) def show_item(self, *args): """ show_item(self, Fl_Tree_Item item, int yoff) show_item(self, Fl_Tree_Item item) """ return _fltk.Fl_Tree_show_item(self, *args) def show_item_bottom(self, *args): """show_item_bottom(self, Fl_Tree_Item item)""" return _fltk.Fl_Tree_show_item_bottom(self, *args) def show_item_middle(self, *args): """show_item_middle(self, Fl_Tree_Item item)""" return _fltk.Fl_Tree_show_item_middle(self, *args) def show_item_top(self, *args): """show_item_top(self, Fl_Tree_Item item)""" return _fltk.Fl_Tree_show_item_top(self, *args) def display(self, *args): """display(self, Fl_Tree_Item item)""" return _fltk.Fl_Tree_display(self, *args) def vposition(self, *args): """ vposition(self) -> int vposition(self, int ypos) """ return _fltk.Fl_Tree_vposition(self, *args) def is_scrollbar(self, *args): """is_scrollbar(self, Fl_Widget w) -> int""" return _fltk.Fl_Tree_is_scrollbar(self, *args) def scrollbar_size(self, *args): """ scrollbar_size(self) -> int scrollbar_size(self, int size) """ return _fltk.Fl_Tree_scrollbar_size(self, *args) def callback_item(self, *args): """ callback_item(self, Fl_Tree_Item item) callback_item(self) -> Fl_Tree_Item """ return _fltk.Fl_Tree_callback_item(self, *args) def callback_reason(self, *args): """ callback_reason(self, Fl_Tree_Reason reason) callback_reason(self) -> Fl_Tree_Reason """ return _fltk.Fl_Tree_callback_reason(self, *args) def load(self, *args): """load(self, Fl_Preferences arg0)""" return _fltk.Fl_Tree_load(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Tree(self) return weakref_proxy(self) Fl_Tree_swigregister = _fltk.Fl_Tree_swigregister Fl_Tree_swigregister(Fl_Tree) NO_PAGE_FORMATS = _fltk.NO_PAGE_FORMATS class Fl_Paged_Device(object): """ Represents page-structured drawing surfaces. This class has no public constructor: don't instantiate it; use Fl_Printer or Fl_PostScript_File_Device instead. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr A0 = _fltk.Fl_Paged_Device_A0 A1 = _fltk.Fl_Paged_Device_A1 A2 = _fltk.Fl_Paged_Device_A2 A3 = _fltk.Fl_Paged_Device_A3 A4 = _fltk.Fl_Paged_Device_A4 A5 = _fltk.Fl_Paged_Device_A5 A6 = _fltk.Fl_Paged_Device_A6 A7 = _fltk.Fl_Paged_Device_A7 A8 = _fltk.Fl_Paged_Device_A8 A9 = _fltk.Fl_Paged_Device_A9 B0 = _fltk.Fl_Paged_Device_B0 B1 = _fltk.Fl_Paged_Device_B1 B2 = _fltk.Fl_Paged_Device_B2 B3 = _fltk.Fl_Paged_Device_B3 B4 = _fltk.Fl_Paged_Device_B4 B5 = _fltk.Fl_Paged_Device_B5 B6 = _fltk.Fl_Paged_Device_B6 B7 = _fltk.Fl_Paged_Device_B7 B8 = _fltk.Fl_Paged_Device_B8 B9 = _fltk.Fl_Paged_Device_B9 B10 = _fltk.Fl_Paged_Device_B10 C5E = _fltk.Fl_Paged_Device_C5E DLE = _fltk.Fl_Paged_Device_DLE EXECUTIVE = _fltk.Fl_Paged_Device_EXECUTIVE FOLIO = _fltk.Fl_Paged_Device_FOLIO LEDGER = _fltk.Fl_Paged_Device_LEDGER LEGAL = _fltk.Fl_Paged_Device_LEGAL LETTER = _fltk.Fl_Paged_Device_LETTER TABLOID = _fltk.Fl_Paged_Device_TABLOID ENVELOPE = _fltk.Fl_Paged_Device_ENVELOPE MEDIA = _fltk.Fl_Paged_Device_MEDIA PORTRAIT = _fltk.Fl_Paged_Device_PORTRAIT LANDSCAPE = _fltk.Fl_Paged_Device_LANDSCAPE REVERSED = _fltk.Fl_Paged_Device_REVERSED ORIENTATION = _fltk.Fl_Paged_Device_ORIENTATION def __init__(self, *args): """__init__(self) -> Fl_Paged_Device""" if self.__class__ == Fl_Paged_Device: _self = None else: _self = self this = _fltk.new_Fl_Paged_Device(_self, *args) try: self.this.append(this) except: self.this = this def class_name(self, *args): """class_name(self) -> char""" return _fltk.Fl_Paged_Device_class_name(self, *args) def start_job(self, *args): """start_job(self, int pagecount, int frompage = None, int topage = None) -> int""" return _fltk.Fl_Paged_Device_start_job(self, *args) def start_page(self, *args): """start_page(self) -> int""" return _fltk.Fl_Paged_Device_start_page(self, *args) def printable_rect(self, *args): """printable_rect(self, int w, int h) -> int""" return _fltk.Fl_Paged_Device_printable_rect(self, *args) def margins(self, *args): """margins(self, int left, int top, int right, int bottom)""" return _fltk.Fl_Paged_Device_margins(self, *args) def origin(self, *args): """ origin(self, int x, int y) origin(self, int x, int y) """ return _fltk.Fl_Paged_Device_origin(self, *args) def scale(self, *args): """scale(self, float scale_x, float scale_y = 0.)""" return _fltk.Fl_Paged_Device_scale(self, *args) def rotate(self, *args): """rotate(self, float angle)""" return _fltk.Fl_Paged_Device_rotate(self, *args) def translate(self, *args): """translate(self, int x, int y)""" return _fltk.Fl_Paged_Device_translate(self, *args) def untranslate(self, *args): """untranslate(self)""" return _fltk.Fl_Paged_Device_untranslate(self, *args) def print_widget(self, *args): """print_widget(self, Fl_Widget widget, int delta_x = 0, int delta_y = 0)""" return _fltk.Fl_Paged_Device_print_widget(self, *args) def print_window(self, *args): """print_window(self, Fl_Window win, int x_offset = 0, int y_offset = 0)""" return _fltk.Fl_Paged_Device_print_window(self, *args) def print_window_part(self, *args): """ print_window_part(self, Fl_Window win, int x, int y, int w, int h, int delta_x = 0, int delta_y = 0) """ return _fltk.Fl_Paged_Device_print_window_part(self, *args) def end_page(self, *args): """end_page(self) -> int""" return _fltk.Fl_Paged_Device_end_page(self, *args) def end_job(self, *args): """end_job(self)""" return _fltk.Fl_Paged_Device_end_job(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Paged_Device(self) return weakref_proxy(self) Fl_Paged_Device_swigregister = _fltk.Fl_Paged_Device_swigregister Fl_Paged_Device_swigregister(Fl_Paged_Device) class Fl_Printer(Fl_Paged_Device): """ Declaration of classes Fl_Printer, Fl_System_Printer and Fl_PostScript_Printer. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def class_name(self, *args): """class_name(self) -> char""" return _fltk.Fl_Printer_class_name(self, *args) def __init__(self, *args): """__init__(self) -> Fl_Printer""" if self.__class__ == Fl_Printer: _self = None else: _self = self this = _fltk.new_Fl_Printer(_self, *args) try: self.this.append(this) except: self.this = this def start_job(self, *args): """start_job(self, int pagecount, int frompage = None, int topage = None) -> int""" return _fltk.Fl_Printer_start_job(self, *args) def start_page(self, *args): """start_page(self) -> int""" return _fltk.Fl_Printer_start_page(self, *args) def printable_rect(self, *args): """printable_rect(self, int w, int h) -> int""" return _fltk.Fl_Printer_printable_rect(self, *args) def margins(self, *args): """margins(self, int left, int top, int right, int bottom)""" return _fltk.Fl_Printer_margins(self, *args) def origin(self, *args): """ origin(self, int x, int y) origin(self, int x, int y) """ return _fltk.Fl_Printer_origin(self, *args) def scale(self, *args): """scale(self, float scale_x, float scale_y = 0.)""" return _fltk.Fl_Printer_scale(self, *args) def rotate(self, *args): """rotate(self, float angle)""" return _fltk.Fl_Printer_rotate(self, *args) def translate(self, *args): """translate(self, int x, int y)""" return _fltk.Fl_Printer_translate(self, *args) def untranslate(self, *args): """untranslate(self)""" return _fltk.Fl_Printer_untranslate(self, *args) def end_page(self, *args): """end_page(self) -> int""" return _fltk.Fl_Printer_end_page(self, *args) def end_job(self, *args): """end_job(self)""" return _fltk.Fl_Printer_end_job(self, *args) def print_widget(self, *args): """print_widget(self, Fl_Widget widget, int delta_x = 0, int delta_y = 0)""" return _fltk.Fl_Printer_print_widget(self, *args) def print_window_part(self, *args): """ print_window_part(self, Fl_Window win, int x, int y, int w, int h, int delta_x = 0, int delta_y = 0) """ return _fltk.Fl_Printer_print_window_part(self, *args) def set_current(self, *args): """set_current(self)""" return _fltk.Fl_Printer_set_current(self, *args) def driver(self, *args): """driver(self) -> Fl_Graphics_Driver""" return _fltk.Fl_Printer_driver(self, *args) __swig_destroy__ = _fltk.delete_Fl_Printer __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_Fl_Printer(self) return weakref_proxy(self) Fl_Printer_swigregister = _fltk.Fl_Printer_swigregister Fl_Printer_swigregister(Fl_Printer) def fl_utf8bytes(*args): """fl_utf8bytes(unsigned int ucs) -> int""" return _fltk.fl_utf8bytes(*args) def fl_utf8len(*args): """fl_utf8len(char c) -> int""" return _fltk.fl_utf8len(*args) def fl_utf_nb_char(*args): """fl_utf_nb_char(unsigned char buf, int len) -> int""" return _fltk.fl_utf_nb_char(*args) def fl_utf8decode(*args): """fl_utf8decode(char p, char end, int len) -> unsigned int""" return _fltk.fl_utf8decode(*args) def fl_utf8encode(*args): """fl_utf8encode(unsigned int ucs) -> int""" return _fltk.fl_utf8encode(*args) def fl_utf8fwd(*args): """fl_utf8fwd(char p, char start, char end) -> char""" return _fltk.fl_utf8fwd(*args) def fl_utf8back(*args): """fl_utf8back(char p, char start, char end) -> char""" return _fltk.fl_utf8back(*args) def fl_utf8toUtf16(*args): """fl_utf8toUtf16(char src, unsigned int srclen, unsigned int dstlen) -> unsigned int""" return _fltk.fl_utf8toUtf16(*args) def fl_utf8toa(*args): """fl_utf8toa(char src, unsigned int srclen, unsigned int arg2) -> unsigned int""" return _fltk.fl_utf8toa(*args) def fl_utf8froma(*args): """fl_utf8froma(char dst, unsigned int dstlen, char src, unsigned int srclen) -> unsigned int""" return _fltk.fl_utf8froma(*args) def fl_utf8locale(*args): """fl_utf8locale() -> int""" return _fltk.fl_utf8locale(*args) def fl_utf8test(*args): """fl_utf8test(char src, unsigned int len) -> int""" return _fltk.fl_utf8test(*args) def fl_nonspacing(*args): """fl_nonspacing(unsigned int ucs) -> unsigned int""" return _fltk.fl_nonspacing(*args) def fl_utf8to_mb(*args): """fl_utf8to_mb(char src, unsigned int srclen, char dst, unsigned int dstlen) -> unsigned int""" return _fltk.fl_utf8to_mb(*args) def fl_utf2mbcs(*args): """fl_utf2mbcs(char src) -> char""" return _fltk.fl_utf2mbcs(*args) def fl_utf8from_mb(*args): """fl_utf8from_mb(char dst, unsigned int dstlen, char src, unsigned int srclen) -> unsigned int""" return _fltk.fl_utf8from_mb(*args) def fl_utf_strncasecmp(*args): """fl_utf_strncasecmp(char s1, char s2, int n) -> int""" return _fltk.fl_utf_strncasecmp(*args) def fl_utf_strcasecmp(*args): """fl_utf_strcasecmp(char s1, char s2) -> int""" return _fltk.fl_utf_strcasecmp(*args) def fl_tolower(*args): """fl_tolower(unsigned int ucs) -> int""" return _fltk.fl_tolower(*args) def fl_toupper(*args): """fl_toupper(unsigned int ucs) -> int""" return _fltk.fl_toupper(*args) def fl_utf_tolower(*args): """fl_utf_tolower(unsigned char str, int len) -> int""" return _fltk.fl_utf_tolower(*args) def fl_utf_toupper(*args): """fl_utf_toupper(unsigned char str, int len, char buf) -> int""" return _fltk.fl_utf_toupper(*args) def fl_chmod(*args): """fl_chmod(char f, int mode) -> int""" return _fltk.fl_chmod(*args) def fl_access(*args): """fl_access(char f, int mode) -> int""" return _fltk.fl_access(*args) def fl_getcwd(*args): """fl_getcwd(char buf, int maxlen) -> char""" return _fltk.fl_getcwd(*args) def fl_fopen(*args): """fl_fopen(char f, char mode) -> FILE""" return _fltk.fl_fopen(*args) def fl_system(*args): """fl_system(char f) -> int""" return _fltk.fl_system(*args) def fl_execvp(*args): """fl_execvp(char file, char argv) -> int""" return _fltk.fl_execvp(*args) def fl_open(*args): """fl_open(char f, int o, v(...) *args) -> int""" return _fltk.fl_open(*args) def fl_unlink(*args): """fl_unlink(char f) -> int""" return _fltk.fl_unlink(*args) def fl_rmdir(*args): """fl_rmdir(char f) -> int""" return _fltk.fl_rmdir(*args) def fl_getenv(*args): """fl_getenv(char name) -> char""" return _fltk.fl_getenv(*args) def fl_mkdir(*args): """fl_mkdir(char f, int mode) -> int""" return _fltk.fl_mkdir(*args) def fl_rename(*args): """fl_rename(char f, char t) -> int""" return _fltk.fl_rename(*args) def fl_make_path_for_file(*args): """fl_make_path_for_file(char path)""" return _fltk.fl_make_path_for_file(*args) def fl_make_path(*args): """fl_make_path(char path) -> char""" return _fltk.fl_make_path(*args) def upCB(*args): """upCB(Fl_Widget v, void arg1)""" return _fltk.upCB(*args) def downCB(*args): """downCB(Fl_Widget v, void arg1)""" return _fltk.downCB(*args) def toggleCB(*args): """toggleCB(Fl_Widget v, void arg1)""" return _fltk.toggleCB(*args) class ListSelect(Fl_Group): """Proxy of C++ ListSelect class""" thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args): """__init__(self, int x, int y, int w, int h, char topLabel = None, char bottomLabel = None) -> ListSelect""" if self.__class__ == ListSelect: _self = None else: _self = self this = _fltk.new_ListSelect(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() def getTopBrowser(self, *args): """getTopBrowser(self) -> Fl_Multi_Browser""" return _fltk.ListSelect_getTopBrowser(self, *args) def getBottomBrowser(self, *args): """getBottomBrowser(self) -> Fl_Multi_Browser""" return _fltk.ListSelect_getBottomBrowser(self, *args) def resize(self, *args): """resize(self, int x, int y, int w, int h)""" return _fltk.ListSelect_resize(self, *args) __swig_destroy__ = _fltk.delete_ListSelect __del__ = lambda self : None; def __disown__(self): self.this.disown() _fltk.disown_ListSelect(self) return weakref_proxy(self) def draw(self, *args): """draw(self)""" return _fltk.ListSelect_draw(self, *args) ListSelect_swigregister = _fltk.ListSelect_swigregister ListSelect_swigregister(ListSelect) class Fl_Table(Fl_Group): """ This is the base class for table widgets. (eg. Fl_Table_Row). To be useful it must be subclassed and several virtual functions defined. Normally applications use widgets derived from this widget, and do not use this widget directly; this widget is usually too low level to be used directly by applications. This widget does not handle the data in the table. The draw_cell() method must be overridden by a subclass to manage drawing the contents of the cells. This widget can be used in several ways: * As a custom widget; see testtablerow.cxx. Very optimal for even extremely large tables. * As a table made up of a single FLTK widget instanced all over the table; see singleinput.cxx. Very optimal for even extremely large tables; * As a regular container of FLTK widgets, one widget per cell. See widgettable.cxx. Not recommended for large tables. When acting as part of a custom widget, events on the cells and/or headings generate callbacks when they are clicked by the user. You control when events are generated based on the setting for Fl_Table::when(). When acting as a container for FLTK widgets, the FLTK widgets maintain themselves. Although the draw_cell() method must be overridden, its contents can be very simple. See the draw_cell() code in widgettable.cxx. """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr CONTEXT_NONE = _fltk.Fl_Table_CONTEXT_NONE CONTEXT_STARTPAGE = _fltk.Fl_Table_CONTEXT_STARTPAGE CONTEXT_ENDPAGE = _fltk.Fl_Table_CONTEXT_ENDPAGE CONTEXT_ROW_HEADER = _fltk.Fl_Table_CONTEXT_ROW_HEADER CONTEXT_COL_HEADER = _fltk.Fl_Table_CONTEXT_COL_HEADER CONTEXT_CELL = _fltk.Fl_Table_CONTEXT_CELL CONTEXT_TABLE = _fltk.Fl_Table_CONTEXT_TABLE CONTEXT_RC_RESIZE = _fltk.Fl_Table_CONTEXT_RC_RESIZE def handle(self, *args): """handle(self, int e) -> int""" return _fltk.Fl_Table_handle(self, *args) def draw_cell(self, *args): """ draw_cell(self, TableContext context, int R = 0, int C = 0, int X = 0, int Y = 0, int W = 0, int H = 0) """ return _fltk.Fl_Table_draw_cell(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Table""" if self.__class__ == Fl_Table: _self = None else: _self = self this = _fltk.new_Fl_Table(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Table __del__ = lambda self : None; def clear(self, *args): """clear(self)""" return _fltk.Fl_Table_clear(self, *args) def table_box(self, *args): """ table_box(self, Fl_Boxtype val) table_box(self) -> Fl_Boxtype """ return _fltk.Fl_Table_table_box(self, *args) def rows(self, *args): """ rows(self, int val) rows(self) -> int """ return _fltk.Fl_Table_rows(self, *args) def cols(self, *args): """ cols(self, int val) cols(self) -> int """ return _fltk.Fl_Table_cols(self, *args) def visible_cells(self, *args): """visible_cells(self)""" return _fltk.Fl_Table_visible_cells(self, *args) def is_interactive_resize(self, *args): """is_interactive_resize(self) -> int""" return _fltk.Fl_Table_is_interactive_resize(self, *args) def row_resize(self, *args): """ row_resize(self) -> int row_resize(self, int flag) """ return _fltk.Fl_Table_row_resize(self, *args) def col_resize(self, *args): """ col_resize(self) -> int col_resize(self, int flag) """ return _fltk.Fl_Table_col_resize(self, *args) def col_resize_min(self, *args): """ col_resize_min(self) -> int col_resize_min(self, int val) """ return _fltk.Fl_Table_col_resize_min(self, *args) def row_resize_min(self, *args): """ row_resize_min(self) -> int row_resize_min(self, int val) """ return _fltk.Fl_Table_row_resize_min(self, *args) def row_header(self, *args): """ row_header(self) -> int row_header(self, int flag) """ return _fltk.Fl_Table_row_header(self, *args) def col_header(self, *args): """ col_header(self) -> int col_header(self, int flag) """ return _fltk.Fl_Table_col_header(self, *args) def col_header_height(self, *args): """ col_header_height(self, int height) col_header_height(self) -> int """ return _fltk.Fl_Table_col_header_height(self, *args) def row_header_width(self, *args): """ row_header_width(self, int width) row_header_width(self) -> int """ return _fltk.Fl_Table_row_header_width(self, *args) def row_header_color(self, *args): """ row_header_color(self, Fl_Color val) row_header_color(self) -> Fl_Color """ return _fltk.Fl_Table_row_header_color(self, *args) def col_header_color(self, *args): """ col_header_color(self, Fl_Color val) col_header_color(self) -> Fl_Color """ return _fltk.Fl_Table_col_header_color(self, *args) def row_height(self, *args): """ row_height(self, int row, int height) row_height(self, int row) -> int """ return _fltk.Fl_Table_row_height(self, *args) def col_width(self, *args): """ col_width(self, int col, int width) col_width(self, int col) -> int """ return _fltk.Fl_Table_col_width(self, *args) def row_height_all(self, *args): """row_height_all(self, int height)""" return _fltk.Fl_Table_row_height_all(self, *args) def col_width_all(self, *args): """col_width_all(self, int width)""" return _fltk.Fl_Table_col_width_all(self, *args) def row_position(self, *args): """ row_position(self, int row) row_position(self) -> int """ return _fltk.Fl_Table_row_position(self, *args) def col_position(self, *args): """ col_position(self, int col) col_position(self) -> int """ return _fltk.Fl_Table_col_position(self, *args) def top_row(self, *args): """ top_row(self, int row) top_row(self) -> int """ return _fltk.Fl_Table_top_row(self, *args) def is_selected(self, *args): """is_selected(self, int r, int c) -> int""" return _fltk.Fl_Table_is_selected(self, *args) def get_selection(self, *args): """get_selection(self)""" return _fltk.Fl_Table_get_selection(self, *args) def set_selection(self, *args): """set_selection(self, int row_top, int col_left, int row_bot, int col_right)""" return _fltk.Fl_Table_set_selection(self, *args) def move_cursor(self, *args): """move_cursor(self, int R, int C) -> int""" return _fltk.Fl_Table_move_cursor(self, *args) def resize(self, *args): """resize(self, int X, int Y, int W, int H)""" return _fltk.Fl_Table_resize(self, *args) def draw(self, *args): """draw(self)""" return _fltk.Fl_Table_draw(self, *args) def init_sizes(self, *args): """init_sizes(self)""" return _fltk.Fl_Table_init_sizes(self, *args) def add(self, *args): """add(self, Fl_Widget w)""" val = _fltk.Fl_Table_add(self, *args) #self = args[0] if self.parent() != None: #delegate ownership to C++ self.this.disown() else: #give ownership back to Python self.this.own() return val def insert(self, *args): """insert(self, Fl_Widget w, int n)""" return _fltk.Fl_Table_insert(self, *args) def insert_before(self, *args): """insert_before(self, Fl_Widget w, Fl_Widget w2)""" return _fltk.Fl_Table_insert_before(self, *args) def begin(self, *args): """begin(self)""" return _fltk.Fl_Table_begin(self, *args) def end(self, *args): """end(self)""" return _fltk.Fl_Table_end(self, *args) def child(self, *args): """child(self, int n) -> Fl_Widget""" return _fltk.Fl_Table_child(self, *args) def children(self, *args): """children(self) -> int""" return _fltk.Fl_Table_children(self, *args) def find(self, *args): """find(self, Fl_Widget w) -> int""" return _fltk.Fl_Table_find(self, *args) def callback_row(self, *args): """callback_row(self) -> int""" return _fltk.Fl_Table_callback_row(self, *args) def callback_col(self, *args): """callback_col(self) -> int""" return _fltk.Fl_Table_callback_col(self, *args) def callback_context(self, *args): """callback_context(self) -> TableContext""" return _fltk.Fl_Table_callback_context(self, *args) def do_callback(self, *args): """do_callback(self, TableContext context, int row, int col)""" return _fltk.Fl_Table_do_callback(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Table(self) return weakref_proxy(self) Fl_Table_swigregister = _fltk.Fl_Table_swigregister Fl_Table_swigregister(Fl_Table) class Fl_Table_Row(Fl_Table): """ This class implements a simple table of rows and columns that specializes in the selection of rows. This widget is similar in behavior to a 'mail subject browser', similar to that found in mozilla, netscape and outlook mail browsers. Most methods of importance will be found in the Fl_Table widget, such as rows() and cols(). To be useful it must be subclassed and at minimum the draw_cell() method must be overridden to provide the content of the cells. This widget does not manage the cell's data content; it is up to the parent class's draw_cell() method override to provide this. Events on the cells and/or headings generate callbacks when they are clicked by the user. You control when events are generated based on the values you supply for when(). """ thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr SELECT_NONE = _fltk.Fl_Table_Row_SELECT_NONE SELECT_SINGLE = _fltk.Fl_Table_Row_SELECT_SINGLE SELECT_MULTI = _fltk.Fl_Table_Row_SELECT_MULTI def handle(self, *args): """handle(self, int event) -> int""" return _fltk.Fl_Table_Row_handle(self, *args) def __init__(self, *args): """__init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Table_Row""" if self.__class__ == Fl_Table_Row: _self = None else: _self = self this = _fltk.new_Fl_Table_Row(_self, *args) try: self.this.append(this) except: self.this = this if len(args) == 6: #retain reference to label self.my_label = args[5] if self.parent() != None: #delegate ownership to C++ self.this.disown() __swig_destroy__ = _fltk.delete_Fl_Table_Row __del__ = lambda self : None; def rows(self, *args): """ rows(self, int val) rows(self) -> int """ return _fltk.Fl_Table_Row_rows(self, *args) def type(self, *args): """ type(self, TableRowSelectMode val) type(self) -> TableRowSelectMode """ return _fltk.Fl_Table_Row_type(self, *args) def row_selected(self, *args): """row_selected(self, int row) -> int""" return _fltk.Fl_Table_Row_row_selected(self, *args) def select_row(self, *args): """select_row(self, int row, int flag = 1) -> int""" return _fltk.Fl_Table_Row_select_row(self, *args) def select_all_rows(self, *args): """select_all_rows(self, int flag = 1)""" return _fltk.Fl_Table_Row_select_all_rows(self, *args) def clear(self, *args): """clear(self)""" return _fltk.Fl_Table_Row_clear(self, *args) def __disown__(self): self.this.disown() _fltk.disown_Fl_Table_Row(self) return weakref_proxy(self) def draw_cell(self, *args): """ draw_cell(self, TableContext context, int R = 0, int C = 0, int X = 0, int Y = 0, int W = 0, int H = 0) """ return _fltk.Fl_Table_Row_draw_cell(self, *args) Fl_Table_Row_swigregister = _fltk.Fl_Table_Row_swigregister Fl_Table_Row_swigregister(Fl_Table_Row) def glLoadIdentity(*args): """glLoadIdentity()""" return _fltk.glLoadIdentity(*args) def glViewport(*args): """glViewport(int x, int y, int width, int height)""" return _fltk.glViewport(*args) def glClear(*args): """glClear(int mask)""" return _fltk.glClear(*args) def glColor3f(*args): """glColor3f(float red, float green, float blue)""" return _fltk.glColor3f(*args) def glBegin(*args): """glBegin(int mode)""" return _fltk.glBegin(*args) def glEnd(*args): """glEnd()""" return _fltk.glEnd(*args) def glVertex3f(*args): """glVertex3f(float x, float y, float z)""" return _fltk.glVertex3f(*args) M_PI = _fltk.M_PI M_PI_2 = _fltk.M_PI_2 M_PI_4 = _fltk.M_PI_4 M_1_PI = _fltk.M_1_PI M_2_PI = _fltk.M_2_PI M_SQRT2 = _fltk.M_SQRT2 M_SQRT1_2 = _fltk.M_SQRT1_2 __idleCallbacks = [] def Fl_add_idle( func, data=None): __idleCallbacks.append( (func, data) ) if len(__idleCallbacks) == 1: pyFLTK_controlIdleCallbacks(1) def Fl_remove_idle( func, data=None): for cb in __idleCallbacks: if cb == ( func, data ): __idleCallbacks.remove(cb) break def pyFLTK_doIdleCallbacks(): for cb in __idleCallbacks: cb[0](cb[1]) pyFLTK_registerDoIdle(pyFLTK_doIdleCallbacks) Fl.add_idle = staticmethod(Fl_add_idle) Fl.remove_idle = staticmethod(Fl_remove_idle) def __Fl_WidgetCallback(self,*args): if len(args) == 1: new_args = (self, args[0], self) else: new_args = (self, args[0], self, args[1]) return _fltk.Fl_Widget_callback(*new_args) Fl_Widget.callback = __Fl_WidgetCallback def __Fl_Text_BufferAddModifyCallback(self,*args): if len(args) == 1: new_args = (self, args[0]) else: new_args = (self, args[0], args[1]) return _fltk.Fl_Text_Buffer_add_modify_callback(*new_args) Fl_Text_Buffer.add_modify_callback = __Fl_Text_BufferAddModifyCallback def __Fl_Text_BufferRemoveModifyCallback(self,*args): if len(args) == 1: new_args = (self, args[0], self) else: new_args = (self, args[0], self, args[1]) return _fltk.Fl_Text_Buffer_remove_modify_callback(*new_args) Fl_Text_Buffer.remove_modify_callback = __Fl_Text_BufferRemoveModifyCallback def __Fl_File_ChooserCallback(self,*args): if len(args) == 1: new_args = (self, args[0], self) else: new_args = (self, args[0], self, args[1]) return _fltk.Fl_File_Chooser_callback(*new_args) Fl_File_Chooser.callback = __Fl_File_ChooserCallback def __Fl_Help_ViewLink(self,*args): if len(args) == 1: new_args = (self, args[0], self) else: new_args = (self, args[0], self, args[1]) return _fltk.Fl_Help_View_link(*new_args) Fl_Help_View.link = __Fl_Help_ViewLink Fl.add_timeout = staticmethod(Fl_add_timeout) Fl.repeat_timeout = staticmethod(Fl_repeat_timeout) Fl.remove_timeout = staticmethod(Fl_remove_timeout) Fl.add_check = staticmethod(Fl_add_check) Fl.remove_check = staticmethod(Fl_remove_check) Fl.add_handler = staticmethod(Fl_add_handler) Fl.remove_handler = staticmethod(Fl_remove_handler) Fl.add_fd = staticmethod(Fl_add_fd) Fl.remove_fd = staticmethod(Fl_remove_fd) Fl.get_font_sizes = staticmethod(Fl_get_font_sizes_tmp) setMenu = _fltk.setMenu pyFltk-1.3.0/fltk/docs/0000755000175100017510000000000011651415004013265 5ustar heldheldpyFltk-1.3.0/fltk/docs/CH4_Editor.html0000644000175100017510000005402711651413735016060 0ustar heldheld

4 - Designing a Simple Text Editor

This chapter takes you through the design of a simple pyFLTK-based text editor.

Determining the Goals of the Text Editor

Since this will be the first big project you'll be doing with pyFLTK, lets define what we want our text editor to do:

  1. Provide a menubar/menus for all functions.
  2. Edit a single text file, possibly with multiple views.
  3. Load from a file.
  4. Save to a file.
  5. Cut/copy/delete/paste functions.
  6. Search and replace functions.
  7. Keep track of when the file has been changed.

Designing the Main Window

Now that we've outlined the goals for our editor, we can begin with the design of our GUI. Obviously the first thing that we need is a window, which we'll place inside a class called EditorWindow:

    class EditorWindow(Fl_Double_Window):
        search = ""
        def __init__(self, w, h, label):
            Fl_Double_Window.__init__(self, w, h, label)
    

Variables

Our text editor will need some global variables to keep track of things:

    changed = False
    filename = ""
    title = ""
    textbuf = None
    editor = None
    

The textbuf variable is the text editor buffer for our window class described previously. We'll cover the other variables as we build the application.

Menubars and Menus

The first goal requires us to use a menubar and menus that define each function the editor needs to perform. The Fl_Menu_Item structure is used to define the menus and items in a menubar:

    menuitems = (( "&File",              0, 0, 0, FL_SUBMENU ),
        ( "&New File",        0, new_cb ),
        ( "&Open File...",    FL_CTRL + ord('o'), open_cb ),
        ( "&Insert File...",  FL_CTRL + ord('i'), insert_cb, 0, FL_MENU_DIVIDER ),
        ( "&Save File",       FL_CTRL + ord('s'), save_cb ),
        ( "Save File &As...", FL_CTRL + FL_SHIFT + ord('s'), saveas_cb, 0, FL_MENU_DIVIDER ),
        ( "New &View", FL_ALT + ord('v'), view_cb, 0 ),
        ( "&Close View", FL_CTRL + ord('w'), close_cb, 0, FL_MENU_DIVIDER ),
        ( "E&xit", FL_CTRL + ord('q'), quit_cb, 0 ),
        ( None, 0 ),
    
      ( "&Edit", 0, 0, 0, FL_SUBMENU ),
        ( "Cu&t",        FL_CTRL + ord('x'), cut_cb ),
        ( "&Copy",       FL_CTRL + ord('c'), copy_cb ),
        ( "&Paste",      FL_CTRL + ord('v'), paste_cb ),
        ( "&Delete",     0, delete_cb ),
        ( None, 0 ),
    
      ( "&Search", 0, 0, 0, FL_SUBMENU ),
        ( "&Find...",       FL_CTRL + ord('f'), find_cb ),
        ( "F&ind Again",    FL_CTRL + ord('g'), find2_cb ),
        ( "&Replace...",    FL_CTRL + ord('r'), replace_cb ),
        ( "Re&place Again", FL_CTRL + ord('t'), replace2_cb ),
        ( None, 0 ),
    
      ( None, 0 )
    )
    

Once we have the menus defined we can create the Fl_Menu_Bar widget and assign the menus to it with:

    m = Fl_Menu_Bar(0, 0, 660, 30);
    m.copy(menuitems)
    

We'll define the callback functions later.

Editing the Text

To keep things simple our text editor will use the Fl_Text_Editor widget to edit the text:

    w.editor = Fl_Text_Editor(0, 30, 660, 370)
    w.editor.buffer(textbuf)
    

So that we can keep track of changes to the file, we also want to add a "modify" callback:

    textbuf.add_modify_callback(changed_cb, w)
    textbuf.call_modify_callbacks()
    

Finally, we want to use a mono-spaced font like FL_COURIER:

    w.editor.textfont(FL_COURIER)
    

The Replace Dialog

We can use the pyFLTK convenience functions for many of the editor's dialogs, however the replace dialog needs its own custom window. To keep things simple we will have a "find" string, a "replace" string, and "replace all", "replace next", and "cancel" buttons. The strings are just Fl_Input widgets, the "replace all" and "cancel" buttons are Fl_Button widgets, and the "replace next " button is a Fl_Return_Button widget:

The search and replace dialog.
Figure 4-1: The search and replace dialog.

    self.replace_dlg = Fl_Window(300, 105, "Replace")
    self.replace_find = Fl_Input(80, 10, 210, 25, "Find:")
    self.replace_with = Fl_Input(80, 40, 210, 25, "Replace:")
    self.replace_all = Fl_Button(10, 70, 90, 25, "Replace All")
    self.replace_next = Fl_Return_Button(105, 70, 120, 25, "Replace Next")
    self.replace_cancel = Fl_Button(230, 70, 60, 25, "Cancel")
    

Callbacks

Now that we've defined the GUI components of our editor, we need to define our callback functions.

changed_cb()

This function will be called whenever the user changes any text in the editor widget:

    def changed_cb(i1, nInserted, nDeleted, i2, c1, editor):
        global changed, loading
        if (nInserted != 0 or nDeleted != 0) and loading == False:
            changed = True
        set_title(editor);
        if loading:
            editor.editor.show_insert_position()
    

The set_title() function is one that we will write to set the changed status on the current file. We're doing it this way because we want to show the changed status in the window's title bar.

copy_cb()

This callback function will call kf_copy() to copy the currently selected text to the clipboard:

    def copy_cb(widget):
        global editor
        Fl_Text_Editor.kf_copy(0, editor.editor)
    

cut_cb()

This callback function will call kf_cut() to cut the currently selected text to the clipboard:

    def cut_cb(widget):
        global editor
        Fl_Text_Editor.kf_cut(0, editor.editor)
    

delete_cb()

This callback function will call remove_selection() to delete the currently selected text to the clipboard:

    def delete_cb(widget):
        global textbuf
        textbuf.remove_selection()
    

find_cb()

This callback function asks for a search string using the fl_input() convenience function and then calls the find2_cb() function to find the string:

    def find_cb(widget):
        global editor
        val = fl_input("Search String:", editor.search)
        if val != None:
            # User entered a string - go find it!
            editor.search = val
            find2_cb(widget)
    

find2_cb()

This function will find the next occurrence of the search string. If the search string is blank then we want to pop up the search dialog:

    def find2_cb(widget):
        global editor
        if editor.search[0] == 0:
            # Search string is blank; get a new one...
            find_cb(widget, editor)
            return
    
        pos = editor.editor.insert_position();
        (found, pos) = textbuf.search_forward(pos, editor.search);
        if found!= 0:
            # Found a match; select and update the position...
            textbuf.select(pos, pos+len(editor.search))
            editor.editor.insert_position(pos+len(editor.search))
            editor.editor.show_insert_position()
        else:
            fl_alert("No occurrences of %s found!"%editor.search)
    

If the search string cannot be found we use the fl_alert() convenience function to display a message to that effect.

new_cb()

This callback function will clear the editor widget and current filename. It also calls the check_save() function to give the user the opportunity to save the current file first as needed:

    def new_cb(widget):
        global filename, changed
        if check_save() == 0:
            return
        filename = ""
        textbuf.select(0, textbuf.length())
        textbuf.remove_selection()
        changed = False
        textbuf.call_modify_callbacks()
    

open_cb()

This callback function will ask the user for a filename and then load the specified file into the input widget and current filename. It also calls the check_save() function to give the user the opportunity to save the current file first as needed:

    def open_cb(widget):
        global filename
        if check_save() == 0:
            return
        newfile = fl_file_chooser("Open File?", "*", filename)
        if newfile != None:
            load_file(newfile, -1)
    

We call the load_file() function to actually load the file.

paste_cb()

This callback function will call kf_paste() to paste the clipboard at the current position:

    def paste_cb(widget):
        global editor
        Fl_Text_Editor.kf_paste(0, editor.editor)
    

quit_cb()

The quit callback will first see if the current file has been modified, and if so give the user a chance to save it. It then exits from the program:

    def quit_cb(widget, data):
        global changed
        if changed and check_save() == 0:
            return
        sys.exit(0)
    

replace_cb()

The replace callback just shows the replace dialog:

    def replace_cb(widget):
        global editor
        editor.replace_dlg.show()
    

replace2_cb()

This callback will replace the next occurence of the replacement string. If nothing has been entered for the replacement string, then the replace dialog is displayed instead:

    def replace2_cb(widget):
        global editor
        find = editor.replace_find.value()
        replace = editor.replace_with.value()
    
        if len(find) == 0:
            editor.replace_dlg.show()
            return
    
        editor.replace_dlg.hide()
    
        pos = editor.editor.insert_position()
        (found, pos) = textbuf.search_forward(pos, find)
    
        if found != 0:
            # Found a match; update the position and replace text...
            textbuf.select(pos, pos+len(find))
            textbuf.remove_selection()
            textbuf.insert(pos, replace)
            textbuf.select(pos, pos+len(replace))
            editor.editor.insert_position(pos+len(replace))
            editor.editor.show_insert_position()
        else:
            fl_alert("No occurrences of %s found!"%find)
    

replall_cb()

This callback will replace all occurences of the search string in the file:

    def replall_cb(widget):
        global editor
        find = editor.replace_find.value()
        replace = editor.replace_with.value()
    
        if len(find) == 0:
            editor.replace_dlg.show()
            return
    
        editor.replace_dlg.hide()
        editor.editor.insert_position(0)
        times = 0
    
        found = 1
        while found != 0:
            pos = editor.editor.insert_position()
            (found, pos) = textbuf.search_forward(pos, find)
            
            if found != 0:
                # Found a match; update the position and replace text...
                textbuf.select(pos, pos+len(find))
                textbuf.remove_selection()
                textbuf.insert(pos, replace)
                editor.editor.insert_position(pos+len(replace))
                editor.editor.show_insert_position()
                times += 1
    
        if times > 0:
            fl_message("Replaced %d occurrences."%times)
        else:
            fl_alert("No occurrences of %s found!"%find)
    

replcan_cb()

This callback just hides the replace dialog:

    def replcan_cb(widget):
        global editor
        editor.replace_dlg.hide()
    

save_cb()

This callback saves the current file. If the current filename is blank it calls the "save as" callback:

    def save_cb(widget):
        global filename
        if len(filename) == 0:
            # No filename - get one!
            saveas_cb()
            return
        else:
            save_file(filename)
    

The save_file() function saves the current file to the specified filename.

saveas_cb()

This callback asks the user for a filename and saves the current file:

    def saveas_cb(widget, data):
        global filename
        newfile = fl_file_chooser("Save File As?", "*", filename)
        if newfile != None:
            save_file(newfile)
    

The save_file() function saves the current file to the specified filename.

Other Functions

Now that we've defined the callback functions, we need our support functions to make it all work:

check_save()

This function checks to see if the current file needs to be saved. If so, it asks the user if they want to save it:

    def check_save():
        global changed
        if not changed:
            return
    
        r = fl_choice("The current file has not been saved.\n"
                        "Would you like to save it now?",
                        "Cancel", "Save", "Don't Save")
    
        if r == 1:
            save_cb()
            return not changed
    
        if r == 2:
            return 1
        else:
            return 0
    }
    

load_file()

This function loads the specified file into the textbuf class:

    loading = False
    def load_file(newfile, ipos):
        global changed, loading, filename
        loading = True
        if ipos != -1:
            insert = 1
            changed = True
        else:
            insert = 0
            changed = False
        if insert == 0:
            filename = ""
            r = textbuf.loadfile(newfile)
        else:
            r = textbuf.insertfile(newfile, ipos)
        if r != 0:
            fl_alert("Error reading from file %s."%newfile)
        else:
            if insert == 0:
                filename = newfile
        loading = False
        textbuf.call_modify_callbacks()
    

When loading the file we use the loadfile() method to "replace" the text in the buffer, or the insertfile() method to insert text in the buffer from the named file.

save_file()

This function saves the current buffer to the specified file:

    def save_file(newfile):
        global changed, filename
        if textbuf.savefile(newfile) != 0:
            fl_alert("Error writing to file %s."%newfile)
        else:
            filename = newfile
        changed = False
        textbuf.call_modify_callbacks()
    

set_title()

This function checks the changed variable and updates the window label accordingly:

    def set_title(win):
        global filename, title
        if len(filename) == 0:
            title = "Untitled"
        else:
            title = os.path.basename(filename)
        if changed:
            title = title+" (modified)"
        win.label(title)
    

The main code

Once we've created all of the support functions, the only thing left is to tie them all together. What remains is to create a new text buffer, create a new view (window) for the text, show the window, load the file on the command-line (if any), and then enter the FLTK event loop:

    textbuf = Fl_Text_Buffer()
    style_init()
    
    window = new_view()
    window.show(1, sys.argv)
    
    if len(sys.argv) > 1:
        load_file(sys.argv[1], -1)
    
    Fl.run()
    

Running the Editor

The complete source for our text editor can be found in the test/editor.py source file. You can run the program as:

    python editor.py
    

Congratulations, you've just built your own text editor!

The Final Product

The final editor window should look like the image in Figure 4-2.

The completed editor window.
Figure 4-2: The completed editor window

Advanced Features

Now that we've implemented the basic functionality, it is time to show off some of the advanced features of the Fl_Text_Editor widget.

Syntax Highlighting

The Fl_Text_Editor widget supports highlighting of text with different fonts, colors, and sizes. The implementation is based on the excellent NEdit text editor core, which uses a parallel "style" buffer which tracks the font, color, and size of the text that is drawn.

Styles are defined using Python arrays of the form: Fl_Text_Display::Style_Table_Entry structure defined in <FL/Fl_Text_Display.H>:

    [[color, font, size], ...]
    

The color member sets the color for the text, the font member sets the FLTK font index to use, and the size member sets the pixel size of the text. The attr member is currently not used.

For our text editor we'll define 7 styles for plain code, comments, keywords, and preprocessor directives:

    styletable = [ # Style table
        [ FL_BLACK,      FL_COURIER,        14 ], # A - Plain
        [ FL_DARK_GREEN, FL_COURIER_ITALIC, 14 ], # B - Line comments
        [ FL_DARK_GREEN, FL_COURIER_ITALIC, 14 ], # C - Block comments
        [ FL_BLUE,       FL_COURIER,        14 ], # D - Strings
        [ FL_DARK_RED,   FL_COURIER,        14 ], # E - Directives
        [ FL_DARK_RED,   FL_COURIER_BOLD,   14 ], # F - Types
        [ FL_BLUE,       FL_COURIER_BOLD,   14 ]  # G - Keywords
    ]
    

You'll notice that the comments show a letter next to each style - each style in the style buffer is referenced using a character starting with the letter 'A'.

You call the highlight_data() method to associate the style data and buffer with the text editor widget:

    w.editor.highlight_data(stylebuf, styletable,
                                  len(styletable),
    			      'A', style_unfinished_cb, None)
    

Finally, you need to add a callback to the main text buffer so that changes to the text buffer are mirrored in the style buffer:

    textbuf.add_modify_callback(style_update, w.editor)
    

The style_update() function, like the change_cb() function described earlier, is called whenever text is added or removed from the text buffer. It mirrors the changes in the style buffer and then updates the style data as necessary:

    #
    # 'style_update()' - Update the style buffer...
    #
    def style_update(pos, nInserted, nDeleted, nRestyled, deletedText, e):
        global stylebuf, editor
    
        if nInserted == 0 and nDeleted == 0:
            stylebuf.unselect()
        else:
            if nInserted > 0:
                style = 'A'*nInserted
                stylebuf.replace(pos, pos+nDeleted, style)
            else:
                # Just delete characters in the style buffer...
                stylebuf.remove(pos, pos+nDeleted)
    
            # Select the area that was just updated to avoid unnecessary
            # callbacks...
            stylebuf.select(pos, pos + nInserted - nDeleted)
            # Re-parse the changed region; we do this by parsing from the
            # beginning of the previous line of the changed region to the end of
            # the line of the changed region...  Then we check the last
            # style character and keep updating if we have a multi-line
            # comment character...
            start = textbuf.line_start(pos)
            end   = textbuf.line_end(pos + nInserted)
            text  = textbuf.text_range(start, end)
            style = stylebuf.text_range(start, end)
    
            if start==end:
                last = 0
            else:
                last  = style[end - start - 1]
    
            style = style_parse(text, style, end - start)
            stylebuf.replace(start, end, style)
            editor.editor.redisplay_range(start, end)
    
            if start == end or last != style[end - start - 1]:
                # Either the user deleted some text, or the last character 
                # on the line changed styles, so reparse the
                # remainder of the buffer...
                end   = textbuf.length()
                text  = textbuf.text_range(start, end)
                style = stylebuf.text_range(start, end)
    
                style_parse(text, style, end - start)
    
                stylebuf.replace(start, end, style)
                editor.editor.redisplay_range(start, end)
    

The style_parse() function scans a copy of the text in the buffer and generates the necessary style characters for display. It assumes that parsing begins at the start of a line:

    //
    // 'style_parse()' - Parse text and produce style data.
    //
    #
    # 'style_parse()' - Parse text and produce style data.
    #
    def style_parse(text, style, length):
        # Style letters:
        #
        # A - Plain
        # B - Line comments
        # C - Block comments
        # D - Strings
        # E - Directives
        # F - Types
        # G - Keywords
        col = 0
        new_style = ""
        isComment = False
        isString = False
    
        pos = 0
        last = False
        while pos < length:
            current = style[pos]
            if isComment:
                current = 'B'
                if text[pos] == '\n':
                    isComment = False
            elif isString:
                current = 'D'
                if text[pos] == '"' or text[pos] == "'":
                    isString = False
            elif current in ['B', 'F', 'G']:
                current = 'A'
    
            if current == 'A':
                # Check for directives, comments, strings, and keywords...
                if text[pos] == '#':
                    current = 'B'
                    isComment = True
                elif text[pos] == '"' or text[pos] == "'":
                    current = 'D'
                    isString = True
                elif not last and text[pos].islower() or text[pos] == '_':
                    pos1 = pos
                    while pos1 < length:
                        if text[pos1].islower() or text[pos1] == '_':
                            pos1 += 1
                        else:
                            break
                    
                    kw = text[pos:pos1]
                    if iskeyword(kw):
                        new_style = new_style+'F'*(pos1-pos)
                        current = 'F'
                        if pos1 >= length:
                            pos1 -= 1
                        pos = pos1
                        last = True
            
            last = text[pos].isalnum() or text[pos] == '_' or text[pos] == '.'
            if text[pos] == '\n':
                col = 0
                if current == 'B' or current == 'E':
                    current = 'A'
            new_style = new_style+current
            pos += 1
    
        return  new_style
    
pyFltk-1.3.0/fltk/docs/CH3_Common.html0000644000175100017510000003360111651413735016054 0ustar heldheld

3 - Common Widgets and Attributes

This chapter describes many of the widgets that are provided with pyFLTK and covers how to query and set the standard attributes.

Buttons

pyFLTK provides many types of buttons:

pyFLTK Buttons
Figure 3-1: pyFLTK Button Widgets

The constructor for these buttons takes the bounding box of the button and optionally a label string:

    button = Fl_Button(x, y, width, height, "label");
    lbutton = Fl_Light_Button(x, y, width, height);
    rbutton = Fl_Round_Button(x, y, width, height, "label");
    

Each button has an associated type() which allows it to behave as a push button, toggle button, or radio button:

    button.type(FL_NORMAL_BUTTON);
    lbutton.type(FL_TOGGLE_BUTTON);
    rbutton.type(FL_RADIO_BUTTON);
    

For toggle and radio buttons, the value() method returns the current button state (0 = off, 1 = on). The set() and clear() methods can be used on toggle buttons to turn a toggle button on or off, respectively. Radio buttons can be turned on with the setonly() method; this will also turn off other radio buttons in the same group.

Text

pyFLTK provides several text widgets for displaying and receiving text:

The Fl_Output and Fl_Multiline_Output widgets allow the user to copy text from the output field but not change it.

The value() method is used to get or set the string that is displayed:

    input = Fl_Input(x, y, width, height, "label");
    input.value("Now is the time for all good men...");
    

The string is copied to the widget's own storage when you set the value() of the widget.

The Fl_Text_Display and Fl_Text_Editor widgets use an associated Fl_Text_Buffer class for the value, instead of a simple string.

Valuators

Unlike text widgets, valuators keep track of numbers instead of strings. pyFLTK provides the following valuators:

FLTK Valuators
Figure 3-2: pyFLTK valuator widgets

The value() method gets and sets the current value of the widget. The minimum() and maximum() methods set the range of values that are reported by the widget.

Groups

The Fl_Group widget class is used as a general purpose "container" widget. Besides grouping radio buttons, the groups are used to encapsulate windows, tabs, and scrolled windows. The following group classes are available with pyFLTK:

  • Fl_Double_Window - A double-buffered window on the screen.
  • Fl_Gl_Window - An OpenGL window on the screen.
  • Fl_Group - The base container class; can be used to group any widgets together.
  • Fl_Pack - A collection of widgets that are packed into the group area.
  • Fl_Scroll - A scrolled window area.
  • Fl_Tabs - Displays child widgets as tabs.
  • Fl_Tile - A tiled window area.
  • Fl_Window - A window on the screen.

Setting the Size and Position of Widgets

The size and position of widgets is usually set when you create them. You can access them with the x(), y(), w(), and h() methods.

You can change the size and position by using the position(), resize(), and size() methods:

    button.position(x, y);
    group.resize(x, y, width, height);
    window.size(width, height);
    

If you change a widget's size or position after it is displayed you will have to call redraw() on the widget's parent.

Colors

pyFLTK stores the colors of widgets as an 32-bit unsigned number that is either an index into a color palette of 256 colors or a 24-bit RGB color. The color palette is not the X or WIN32 colormap, but instead is an internal table with fixed contents.

There are symbols for naming some of the more common colors:

  • FL_BLACK
  • FL_RED
  • FL_GREEN
  • FL_YELLOW
  • FL_BLUE
  • FL_MAGENTA
  • FL_CYAN
  • FL_WHITE

These symbols are the default colors for all FLTK widgets. They are explained in more detail in the chapter Enumerations

  • FL_FOREGROUND_COLOR
  • FL_BACKGROUND_COLOR
  • FL_INACTIVE_COLOR
  • FL_SELECTION_COLOR

RGB colors can be set using the fl_rgb_color() function:

    c = fl_rgb_color(85, 170, 255)
    

The widget color is set using the color() method:

    button.color(FL_RED);
    

Similarly, the label color is set using the labelcolor() method:

    button.labelcolor(FL_WHITE);
    

Box Types

The type Fl_Boxtype stored and returned in Fl_Widget::box() is an enumeration defined in <Enumerations.H>. Figure 3-3 shows the standard box types included with FLTK.

pyFLTK Box Types
Figure 3-3: pyFLTK box types

FL_NO_BOX means nothing is drawn at all, so whatever is already on the screen remains. The FL_..._FRAME types only draw their edges, leaving the interior unchanged. The blue color in Figure 3-3 is the area that is not drawn by the frame types.

Labels and Label Types

The label(), align(), labelfont(), labelsize(), labeltype(), image(), and deimage() methods control the labeling of widgets.

label()

The label() method sets the string that is displayed for the label. Symbols can be included with the label string by escaping them using the "@" symbol - "@@" displays a single at sign. Figure 3-4 shows the available symbols.

pyFLTK Symbols
Figure 3-4: pyFLTK label symbols

The @ sign may also be followed by the following optional "formatting" characters, in this order:

  • '#' forces square scaling, rather than distortion to the widget's shape.
  • +[1-9] or -[1-9] tweaks the scaling a little bigger or smaller.
  • '$' flips the symbol horizontaly, '%' flips it verticaly.
  • [0-9] - rotates by a multiple of 45 degrees. '5' and '6' do no rotation while the others point in the direction of that key on a numeric keypad. '0', followed by four more digits rotates the symbol by that amount in degrees.

Thus, to show a very large arrow pointing downward you would use the label string "@+92->".

align()

The align() method positions the label. The following constants are defined and may be OR'd together as needed:

  • FL_ALIGN_CENTER - center the label in the widget.
  • FL_ALIGN_TOP - align the label at the top of the widget.
  • FL_ALIGN_BOTTOM - align the label at the bottom of the widget.
  • FL_ALIGN_LEFT - align the label to the left of the widget.
  • FL_ALIGN_RIGHT - align the label to the right of the widget.
  • FL_ALIGN_INSIDE - align the label inside the widget.
  • FL_ALIGN_CLIP - clip the label to the widget's bounding box.
  • FL_ALIGN_WRAP - wrap the label text as needed.
  • FL_TEXT_OVER_IMAGE - show the label text over the image.
  • FL_IMAGE_OVER_TEXT - show the label image over the text (default).

labeltype()

The labeltype() method sets the type of the label. The following standard label types are included:

  • FL_NORMAL_LABEL - draws the text.
  • FL_NO_LABEL - does nothing.
  • FL_SHADOW_LABEL - draws a drop shadow under the text.
  • FL_ENGRAVED_LABEL - draws edges as though the text is engraved.
  • FL_EMBOSSED_LABEL - draws edges as thought the text is raised.
  • FL_ICON_LABEL - draws the icon associated with the text.

image() and deimage()

The image() and deimage() methods set an image that will be displayed with the widget. The deimage() method sets the image that is shown when the widget is inactive, while the image() method sets the image that is shown when the widget is active.

To make an image you use a subclass of Fl_Image.

Callbacks

Callbacks are functions or class methods that are called when the value of a widget changes. A callback function is sent a Fl_Widget pointer of the widget that changed and a pointer to data that you provide:

    def xyz_callback(widget, data):
        ...
    

The callback() method sets the callback function for a widget. You can optionally pass a pointer to some data needed for the callback:

    xyz_data = 15
    
    button.callback(xyz_callback, xyz_data);
    

Normally callbacks are performed only when the value of the widget changes. You can change this using the when() method:

    button.when(FL_WHEN_NEVER);
    button.when(FL_WHEN_CHANGED);
    button.when(FL_WHEN_RELEASE);
    button.when(FL_WHEN_RELEASE_ALWAYS);
    button.when(FL_WHEN_ENTER_KEY);
    button.when(FL_WHEN_ENTER_KEY_ALWAYS);
    button.when(FL_WHEN_CHANGED | FL_WHEN_NOT_CHANGED);
    
Note:

You cannot delete a widget inside a callback, as the widget may still be accessed by FLTK after your callback is completed. Instead, use the Fl.delete_widget() method to mark your widget for deletion when it is safe to do so.

Shortcuts

Shortcuts are key sequences that activate widgets such as buttons or menu items. The shortcut() method sets the shortcut for a widget:

    button.shortcut(FL_Enter);
    button.shortcut(FL_SHIFT + 'b');
    button.shortcut(FL_CTRL + 'b');
    button.shortcut(FL_ALT + 'b');
    button.shortcut(FL_CTRL + FL_ALT + 'b');
    button.shortcut(0); // no shortcut
    

The shortcut value is the key event value - the ASCII value or one of the special keys like FL_Enter - combined with any modifiers like Shift, Alt, and Control.

pyFltk-1.3.0/fltk/docs/symbols.jpg0000644000175100017510000004145111651413735015475 0ustar heldheldÿØÿàJFIF,,ÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÀ[4"ÿÄ ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?ì¼gã9ü)s¥ÚÚé ¨K|6Ç`6à ŒX’õ‘ÿ ÷‹èœêøßüfÿÈýà/úþ‹ÿB‚©ÿ±ðÏüûÏÿÚ»¨C©§^é¾Êý_÷£oÄ͹¹4˜ÝGâί¤†§àɬŒ¹òÅÏî÷ãÆè†q‘Ÿ¨ªƒã|‡þeø¿ïòÿñºæ>"hV>MÓOGHœÝJC9c¸ù#¿°¯qàŸ Ù¶‰v5®ô+Ë”µŸT·¾ˆyr4YÃÄÑ+æ œ³U9äŠÕRµx§n›¯Õþfr•DísL|kÿÌ/ûü¿ünž>4Hæýþ_þ7TÃÝM»¹Óu+»›KOÑî5+岸Aåeò‘K!e% -¹{©S&ð>ŽÐN-¤¾ŽVðø×ai%GT\ ÂÀ Üs»çz”ã“Ùa»~æ.z½ÍAñ–Cÿ0(¿ïêÿñºxøÃ!ÿ˜_÷õøÝ\ñ…¬|Kã ~H帵½µºÓ¡’Fe’9p‘ð˜R¥x?xç¦x—Â>ÓtÿZj{]§Ù5‹½-㸑dó6Û»  »z—ž½xæ90ü¼Ü¿‹íqóT½®Q¤?ó‹þþ/ÿ§‹Rù‚ÅÿÿÖž²—ÁÐjºD¯©Ýˆ\¬W*ÞWr¡L œ(;òÄä V–‘à:òÛ@·»û|Ž­öÄf.ª¶ï `3Lžƒ#pïTèáÒ½¿?ó'ž§rèø¯!ÿ˜4_÷ñøÝ<|TÿÌ/ûíøŠÈ_ hßð‰ÿÂEöé~ÍöO+ÉóSÎûvìmÛŒyxù±Ûy®Mj£†¡+Ù~buj.§£Šù„Eÿ}¯ÿOd?ó ‹þú_þ"¼íjeªú¥ß‹'ÛO¹è#âL‡þaQßKÿÄS‡ÄiüÂâÿ¾—ÿˆ® jU¥õJ=¿Ú}Îì|CÿÌ2/ÍøŠxñü‡þa±~kÿÄWµ*ÑõZ]¿0öÓîvÃÇ’ù‡Eù¯ÿO9ÿÌ>/üwÿˆ®1jU¥õZ]¿0öÓîvƲùp‹ÿÿâiãÆRùq‹ò_þ&¹%©–—ÕivüÃÛO¹ÕHåÊ/Éøšxñ\‡þ\âü—ÿ‰®ajU£êÔ»~aí§ÜéGŠ$?òéýò¿üMñ^¥«Ùø†á<+qywvmÔíV?´GhŸÁ,jΡf#8ˆd8#Œ›ðIc(ð“é·ó_Ú1˜Çu<Í,’þé²Y›ÙÎG<`cƒŒ¤“çþa$Ô[¿är¥y|_!sœB€0ÇaÚŠgÄoù¥ÿ®Iü¨¨[v4]{RÔ´Í÷6½ŒyoˆŠ9ÁåOb8æ¹O±üYÿž²äŸøW²Üÿ­_úæŸú¨kH×j*.)ØNÝîxv«á/ˆzì>©n÷FÂ<Él›wc?tŒýÑÖ§o üAº¾³ºÔífÔþÉ ’8µ Ôž3È%Hgû§ÜWµQZG(«(¯ëæK¢ž­³Æo|7ãëýcPÔ䵚+‹ýë?•z€27XþþJ`’0íLñàê—ñíöOøþOõóËïýÏöz{W´ÑUõê—õó°vxíç†ü©Â°êúî%má.5‘C`Œà¹ç“ùÔï¡|Ašæ ™¦Ôx7y2¶¢ G¸a¶ùu¯[¢—×§Ù°vy)ð÷ŽÞx]¯Z+fV ú•ˆ¯ ToùH펕¥=§ntk},Å,pEçyØ qæ¶æóNü?$öîzæ½"ŠO7öWõó`»³ËæÐ‡g¤eŵ´/îå@evþ'ùðÄÇФ¾ ñÿ˜þFÿН]¢šÇT[%ý|Ãêñîy:ø7_òáÿ‘£ÿâªEð~¼?åÇÿ#'ÿ^©E?¯Ô쿯˜¾¯ËÇ„µÁÿ.?ù?øªxS[òåÿ‘SükÓ(¥õê—õó«@ó…ð¶²?åÏÿ"§øÔ‹á`ËŸþDOñ¯C¢¯TìƒêÑ8ðÞ¬?åÓÿ"'øÔ‹áÝT˯þD_ñ®îŠ>»S²«@â@ÔÇü»äEÿ•t-HË·þ>¿ã]•¾»S²«@äF‹¨ùwÿÇ×üjEÑïÇü°ÿÇ×ükª¢®ÔìƒêÐ9•ÒoGü°ÿÇ×üjEÓ/ü±ÿLJø×EE\©ÙÕ `®t?å—þ­)lçòÏõ"ÚÌ?ƒõ£E\ŸdVI`ê*;ÈuG€Eaw®X3³Áæ“€pÌê}{tï£EL±2’³Hq¡»¦q¶ž žÂé.¬ÛG¶¸Lì–$uÈÁÁ ‘Á#ñ«ØZÉûvýRÒO·*%À’À0u@à.ÒøÁsÇ8ùéè¬ý¢þUøÿ™§#îÿò8oø@þxh?ø#‡üknÇJÕ¬îoï¡ —·Q¤bSm…@ íßÉÃã ë[ÔPªÛh¯ÇüÄá~¯ðÿ#ì$ÿ äø?øºjhº¬º•Ýþ§ÂÚ³2¢ÚˆÉ,¥zî>¾«¡¢…Q'uøÿ˜8]Y·ø7ñþFéë’*(øÿ#t¿õÉ?•–Ã=ªçýjÿ×4ÿÐE€ÃžÆ‹Ÿõ«ÿ\ÓÿA¶Ÿñð?ÝoýÔu(>ÔßóÊûö(ûSÏ(ïØ¨( dÿjoùåýû}©¿ç”?÷ìU+k¸.ÖC« ŽF‰ñü.§óïSPF»}p5¿CˆãšöA*Æ6ïÚbÇQ=@=…kÖ»ÿ#…ÿëú_ý%š·è«FO*Þ±ÆKId¹ªµ<ßñïoþéÿÐjoùåýû}©¿ç”?÷ìT»€ÞµŸš¿hXĦ>û #>üÃQ@~ÔßóÊûö(ûSÏ(ïØ¨(  _ ÜÏy¢4×´²ÛÁ¹Žx2=€;mVƒ?ä]?õý{ÿ¥RÖýMh¸Œ1Áìi~ÔßóÊûö(´ÿþëè&  Dÿjoùåýû}©¿ç”?÷ìU).àŠêY%Uš`Æ4?Ç·ÇÓ#ð4Ew÷ÁªÓ[%NëüÁëõô4\eßµ7üò‡þýŠÁ×o®·áÈcqs^È%XÆÝà[L@8ê2Ǩ°­zÀ×äbð¿ýKÿ¤³P#~Š( e£'•oØã%$²ÜÓ>ÔßóÊûö(›þ=íÿÝ?ú¨(?Ú›þyCÿ~Åjoùåýû”ÚÅ‚éCSû@6d%U-Ôàps“ŒcŠ~Ÿ©Új°<Ör™#GØÄ£.ã èE¥ö¦ÿžPÿß±\÷…ng¼Ñk‰ZY íàÜÇ< ™À€¶«ÁŸò.Ÿúþ½ÿÒ©h¿SZn@# pF{†§´ÿþëè&‡Ú›þyCÿ~ÅjoùåýûC%Ü]Ck$ª³LƇøöã8údqþ€.ý©¿ç”?÷ìQö¦ÿžPÿß±YRkq]5³´¾bȱ1HQ]±´ ´gr÷ïW¨¸íõÀÖü9 n#ŽkÙ«Û¼ iˆF@8õö¯XïüŒ^ÿ¯éô–jß øÿ#t¿õÉ?•|Fÿ‘º_úäŸÊе±µ\ÿ­_úæŸú¥´ÿþëè&’çýjÿ×4ÿÐE-§ü|÷[ÿA5J ®ÆWóÛkÉßÏoÙQ‚¥ÃF Üù8z ï(¤ÆyŸ‡®o£Õ£:i3É1&Ug%d\å‹·8Á$îê ïœLªv:e®ž×2âV–Wc’Ä’qô8Ô’nP•€À×äbð¿ýKÿ¤³Vý`k¿ò1x_þ¿¥ÿÒY«~˜O7ü{Ûÿºô#PTóǽ¿û§ÿB4p~-’X|U ¶ìé:ÛEå´c-»|€`wÎqŽùÇ9®ò©2Õµa©º¹X„HIá,r©ÜF}>§)%“ÝIe ÞÄ‘\•DFÈüýqêz›QL Ⱥëú÷ÿJ¥­úÀðgü‹§þ¿¯ôªZß  í?ãàºßú ¨*{Oøøî·þ‚j âütÛ.´ÇÜTªLÁÁR g öÇ­aÃw«¯ˆpŽ5FtP›0dZpËžàGëòãD¹Ó-o/­nçBòZîò?('o$w#hǧ^¸Á™ko¨Ý_¢ssîÇ8@Àô('Ôý&ÁrÔeÌjdUY•[ ø8ü…ak¿ò1x_þ¿¥ÿÒY«~°5ßù¼/ÿ_Òÿé,Õ@oÑE<ßñïoþéÿÐASÍÿöÿîŸýÔä6Ó^.‹,0nkVµÀÆU~uÚÞĸÏdvÞÿ]çý}Ÿý•£ÿåŠè'H‹ÌŠ´³©Ùq$OÊ;tà`b§Ò4ˆ4ki ‚YdHdf”‚s€;ÙEJAsB°<ÿ"éÿ¯ëßý*–·ëÁŸò.Ÿúþ½ÿÒ©j€ß©í?ãàºßú ¨*{Oøøî·þ‚h âütÛ.´ÇÜTªLÁÁR g öÇ­v•NçLµ¼¾µ» Ék»Êü ¼‘Ü£zã ÎiòÞM¤ÝI~¥n[TµÞ í'›|;0Hã“Ðt}fË£,·RMöË•ŽIãà]›Ón9+»ø½iP»ÿ#…ÿëú_ý%š·ë]ÿ‘‹Âÿõý/þ’Í[ôÀñ¿ˆßò7Kÿ\“ùQGÄoù¥ÿ®Iü¨«[{UÏúÕÿ®iÿ Š-X,Û˜€¡’z”Ñsþµëšè"©ÝÙÚßÚ½­å´76ïñLѰr2áPP¿j·ÿžñßbµ[ÿÏx¿ï±Y_ð‡øcþ…Í#ÿbÿâhÿ„?Ãô.iøÿ@Í_µ[ÿÏx¿ï±GÚ­ÿç¼_÷ج¯øCü1ÿBæ‘ÿ€1ñ4Âáú4ü‹ÿ‰  úÔ±Ëâ/ yr+âú\í9Çú,ÕÑVe§†ô+ ¤º³Ñtëk„ÎÉaµDuÈÁÁ#‚GãZtSîgŠ8mÕåEm„á˜÷2³.ü7¡_Ý=Õæ‹§\Ü>7Ë5ª;¶I<? ½ö«ùïýö(ûU¿ü÷‹þû•ÿ†?è\Ò?ð/þ&øCü1ÿBæ‘ÿ€1ñ4«ö«ùïýö(ûU¿ü÷‹þû•ÿ†?è\Ò?ð/þ&øCü1ÿBæ‘ÿ€1ñ4ƒ?ä]?õý{ÿ¥RÖýCigkaj–¶vÐÛ[¦vE EÉÉÀI?M@Z°Y·1B1$ô)ªŸj·ÿžñßb’îÎÖþÕío-¡¹·|oŠdƒ‘x<€ Ëÿ„?Ãô.iøÿ@¿j·ÿžñßbµ[ÿÏx¿ï±Y_ð‡øcþ…Í#ÿbÿâhÿ„?Ãô.iøÿ@¿j·ÿžñßb°µ©c—Ä^òäWÅô¹ÚsôYªÇü!þÿ¡sHÿÀ¿øšžÓÃz…Ò]YèºuµÂgd°Ú¢:ä`à‘Á#ñ  :(¢€sοóñæ€ ¢§û:ÿÏÄ?™ÿ >οóñæ€ ¢§û:ÿÏÄ?™ÿ £yo§ÝX[I ’Kéš„c8"7“œ`aú‘î@ôQETËo˜ÕÚXÐ7 1>¸ô¥û:ÿÏÄ?™ÿ ‚ŠŸìëÿ?þgü(û:ÿÏÄ?™ÿ ‚ŠŸìëÿ?þgü+;NÔ ÔíZæßw–&–°ÆLr4dý RG¶:t  TQOŠ3,œœŸaše?Ù×þ~!üÏøQöuÿŸˆ3þ?Ù×þ~!üÏøQöuÿŸˆ3þý徟uam$‚I/¦hbŒàˆÞBNq„#êG¹ÐüFÿ‘º_úäŸÊŠ>#ÈÝ/ýrOåEZ؃ڮÖ¯ýsOýRÚÇÀÿu¿ôIsþµëšè"–Óþ>û­ÿ šŽ¥QE`x·P»Ó´ëi,ç0È÷‚«|»ãæuÍú+ŽÒ|Y"^,¤Ša’(O€¾[4(Çv8ÚI'=¾Ÿw±  wþF/ ÿ×ô¿úK5oÖ»ÿ#…ÿëú_ý%š·é€Tóǽ¿û§ÿB5O7ü{Ûÿºô#@QEr7þ2XõhÕ[ØùÏ¥ùHr@Ú9ïÛ¼€ë¨¬­^·Öžu‚â0…,% 3»8Æ þé­ZÀðgü‹§þ¿¯ôªZ߬Ⱥëú÷ÿJ¥­ú`OiÿýÖÿÐMASÚÇÀÿu¿ôPPECuu•´—âŒe˜ÿžOlw¬oë“k:Ž¢Yvñ,^Lx—Écêp=‡Nz”ý`k¿ò1x_þ¿¥ÿÒY«~°5ßù¼/ÿ_Òÿé,ÔÀߢŠ(y¿ãÞßýÓÿ¡‚§›þ=íÿÝ?úªÒH‘FÒHê‘ ,ÌÇ@êI Q\’xÊ&Ö%,JiñÛ¹vþòg €`œé’qü:^Õn5{[Ë‹€«¶ä¢"ôEØ„ ÷êyþ]¸uàÏùOý^ÿéTµ¿X ÿ‘tÿ×õïþ•KL úžÓþ>û­ÿ š‚§´ÿþëè&€ ¢Šåü]ª_éóX¥•Ë@%YK᳘ûÀúš@uW¾,’h´{kiIæ6âî| eŠîP:g““Û çîö4®ÿÈÅáúþ—ÿIf­úÀ×äbð¿ýKÿ¤³Vý0û­ÿ šKŸõ«ÿ\ÓÿA¶Ÿñð?ÝoýÔu(‚¹¿A<úe¨‚ f+t–(Ë68Îõ"ºJ) à´¯ Ü_Þ+ÞÅ$‰ ¸`À«HD1‚£¸‚ ü9#»Ž4Š5Ž4TUU @:ŠÀ×äbð¿ýKÿ¤³Vý`k¿ò1x_þ¿¥ÿÒY«~˜O7ü{Ûÿºô#PTóǽ¿û§ÿB4ZHÒXÚ9^7YXd0=AÄ_øFá5h!³r,§cûÖRæ )8a‘‘9ïƒÎ w4R°žðûè’];Ý­Áœ â-›vîÿhçï~•·EàÏùOý^ÿéTµ¿X ÿ‘tÿ×õïþ•K[ôÀžÓþ>û­ÿ š‚§´ÿþëè&   ºŽoªYµµÊ’§•aÃ#v`{ÿQÈ&°ü1¤Ýi:–§Âå ÅåÊ£åüCÈÈíî0OME À×äbð¿ýKÿ¤³Vý`k¿ò1x_þ¿¥ÿÒY©¿EPóǽ¿û§ÿB5JêÖ Ûi-î#E Ã)ÿ<ùíWfÿ{÷Oþ„j áWÁÒmIo+Èm»µ½Ðu·&™ÆxèG#îíøNÆëN³½‚î#‚ì‘Ü0؃*{Ž?ýGŠß¢•€+ÁŸò.Ÿúþ½ÿÒ©k~°<ÿ"éÿ¯ëßý*–˜õ=§ü|÷[ÿA5OiÿýÖÿÐMA\‡m®'ŸNh-§˜*ÊÅ>2SÀ8è*ëè¤Àà£ðÍŪh—–ñHWu³\BÀ¥Ž8ë‘Ûé÷{Ú(  wþF/ ÿ×ô¿úK5oÖ»ÿ#…ÿëú_ý%š·éã¿än—þ¹'ò¢ˆßò7Kÿ\“ùQV¶ ö«Ÿõ«ÿ\ÓÿAVy®íà’K`šä)“ÊcCž9`¬F'§8ÇjÕÏúÕÿ®iÿ Š† £í/ÿ f‡ÿƒ øÍhñý4?üKÿÆk~Š`}£Åÿô Ðÿða/ÿ£í/ÿ f‡ÿƒ øÍoÑ@ÏØ¼C­i7:…¶—½Œï3{¹$vÌ2F%\½«¦¢Š+/Qºñž#Óôý*Kh× ÷²#¶y9Q“ާ¦{àjQ@hñý4?üKÿÆhûG‹ÿè¡ÿàÂ_þ3[ôPÚ<_ÿ@Íÿÿñš>Ñâÿúhø0—ÿŒÖý“á½:ëKÑRÚóÉûAžyœBåÐy“<€@'€è+ZŠ(9æ»·‚I,a‚k¤"O)x傱žœãu¬O´x¿þšþ %ÿã5¿E`}£Åÿô Ðÿða/ÿ£í/ÿ f‡ÿƒ øÍoÑ@hñý4?üKÿÆj±x†ÿZÒnu m. {Þf6÷rHí˜dŒ J:¸={WMEQEeê7^#óÄz~Ÿ¥Imá^âöDvÏ'*" rqÔôÏ| Ÿhñý4?üKÿÆk~ŠÀûG‹ÿè¡ÿàÂ_þ3GÚ<_ÿ@Íÿÿñšß¢€0>Ñâÿúhø0—ÿŒÕŸ é×Z^Š–×žOÚ óÌâ.ƒÌ™ä8 AZÔPQÏ5ݼIc \…!yLhsÇ,ˆÀ$ôçã­IE`}£Åÿô Ðÿða/ÿ£í/ÿ f‡ÿƒ øÍoÑ@hñý4?üKÿÆhûG‹ÿè¡ÿàÂ_þ3[ôP3ö/ßëZMΡm¥Áoc;ÌÆÞîI³ ‘€‰GW¯j騢€ÔßóÊûö( *µ7üò‡þýŠ>ÔßóÊûö( +·3Þh5Ä­,†öðncžÌ€`À[TQSZn@# pF{_µ7üò‡þýŠ‚ŠŸíMÿ<¡ÿ¿bµ7üò‡þýŠ‚ŠŸíMÿ<¡ÿ¿b°uÛë­ørÜGײ V1·xÓ:Œ€qêì(¯EP0¢­<«xvÇ, %æ™ö¦ÿžPÿß±@ˆ(©þÔßóÊûö(ûSÏ(ïØ dTÿjoùåýûÏxVæ{ͦ¸•¥ÞÞ ÌsÀ¹ìØ(jŠ*k@ ÀÈaŽÏc@ÑSý©¿ç”?÷ìQö¦ÿžPÿß±@QSý©¿ç”?÷ìQö¦ÿžPÿß±@QYíõÀÖü9 n#ŽkÙ«Û¼ iˆF@8õö¯@7ñþFéë’*(øÿ#t¿õÉ?•kbj¹ÿZ¿õÍ?ôKiÿýÖÿÐM%ÏúÕÿ®iÿ Š[Oøøî·þ‚j:”AUnõ{)#Ž_4É fUŠ1“…x~uj³æÿ‘ŠËþ½.?ô8i ˜êVkkmrgQ ÉE…ˆ#y|muç?çj¼¶ÖkÉotE¼Ü¦3j!B0e“}qÉõã¥B``k¿ò1x_þ¿¥ÿÒY«~°5ßù¼/ÿ_Òÿé,Õ¿L§›þ=íÿÝ?ú¨*y¿ãÞßýÓÿ¡‚¨ßksº¸Â?0¨RÄ.à¹Àýæóô55ëÝGe3ÙD’Ü…&4vÀ'üý3ê:/y%™õ nÞvˆy ÃnûD ävÆ1ŽØÇ¤Ø¡e{o¨Z%Õ«—…òŠ•èH<PjÅaøCþE‹o÷åÿÑ­[”àÏùOý^ÿéTµ¿X ÿ‘tÿ×õïþ•K[ôÀžÓþ>û­ÿ š‚§´ÿþëè&  É"EI#ªF€³3©&«ÙjVz€o²Î²Ì0A”2œy~¾†¹oÏ~&Š]š{`©S‘#ŽpÞ„c ~<‘òózT÷ßÃ&˜í%É!ß¼` ‡'îàà3Æ2&ácÕë]ÿ‘‹Âÿõý/þ’Í[±—1©‘Ud nUl€{ààgò…®ÿÈÅáúþ—ÿIfª~Š(  æÿ{÷Oþ„j žoø÷·ÿtÿèFªNÓ,,mãŽI…drŠ~¤Ê€$¢³üícþ|,?ð5ÿøÕ2jïyp/­­"¶ùR³±8Î@Èäúއ­ 4+ÁŸò.Ÿúþ½ÿÒ©k~°<ÿ"éÿ¯ëßý*–˜õ=§ü|÷[ÿA5OiÿýÖÿÐMAEÎêWž(‹Q™4ý:Þ[A-Û?(Îs"÷Ïj@hèºÍ¾¹f÷6ÑË+ì"PÎÐ݉ì´kÎ<1s¯Á¦Èº=œWæ@Yä!¶'ë¶;w¯A´iÞʺEŽá£S*/E|r'¾{ЀÆ×äbð¿ýKÿ¤³Vý`k¿ò1x_þ¿¥ÿÒY«~˜7ñþFéë’*(øÿ#t¿õÉ?•kbj¹ÿZ¿õÍ?ôKiÿýÖÿÐM%ÏúÕÿ®iÿ Š-X,Û˜€¡’z”Ôu(†©Ýéæêæ„»žÚX‘Ð4AUŠ’å?Ý?Ú­ÿç¼_÷Ø£íVÿóÞ/ûìRIô;)-,-ÝY¾Àc0IŸœlÆ2{ƒ´dP1¥Q}ªßþ{Åÿ}Š>Õoÿ=âÿ¾Åbë¿ò1x_þ¿¥ÿÒY«~¹ÝjXåñ†<¹ñ}.vœãýjè©€Tóǽ¿û§ÿB5>æx£†Ý^TVØN€?xÐ+#Rð厧4³IæE,±ˆÝâ •9d>œvÒûU¿ü÷‹þû}ªßþ{Åÿ}Š@C¦iñiZ|vp¼eˆi,rÅŽpêjÝEö«ùïýö(ûU¿ü÷‹þû‹àÏùOý^ÿéTµ¿X ÿ‘tÿ×õïþ•K[ôÀžÓþ>û­ÿ š‚¦µ`³nb„bIè>SU>Õoÿ=âÿ¾Å%Õ¬¶Ò[ÜF$ŠA†Sþx=óک麖—#K³JѤfIHTEP§ÝúŸ Åßµ[ÿÏx¿ï±GÚ­ÿç¼_÷ؤµ®ÿÈÅáúþ—ÿIf­¯µ[ÿÏx¿ï±XZÔ±Ëâ/ yr+âú\í9Çú,ÔÀè¨¢Šžoø÷·ÿtÿèF §ÜÏpÛ«ÊŠÛ Ã0ï¯ö«ùïýö(Z*/µ[ÿÏx¿ï±GÚ­ÿç¼_÷ؤµàÏùOý^ÿéTµµö«ùïýö+ÁŸò.Ÿúþ½ÿÒ©i¿SÚÇÀÿu¿ôPTÖ¬mÌ@PŒI=Êh*/µ[ÿÏx¿ï±GÚ­ÿç¼_÷ؤo‡tC éòZ›‘>é7îìÇÊ«Œdÿwõ­z‹íVÿóÞ/ûìQö«ùïýö(]ÿ‘‹Âÿõý/þ’Í[õÎëRÇ/ˆ¼1åȯ‹és´çè³WELøÿ#t¿õÉ?•|Fÿ‘º_úäŸÊе±µ\ÿ­_úæŸúªwvv·ö¯kym Í»ã|S tlŒƒÁäøUËŸõ«ÿ\ÓÿA AF/ü!þÿ¡sHÿÀ¿øš?áðÇý šGþÅÿÄÖÕ Åÿ„?Ãô.iøÿGü!þÿ¡sHÿÀ¿øšÚ¢€3-<7¡X]%Õž‹§[\&vK ª#®F?Ó¢Š+2ïÃzýÓÝ^hºuÍÃã|³Z£»``d‘“Àð­:(þÿ й¤à _üMð‡øcþ…Í#ÿbÿâkjŠÅÿ„?Ãô.iøÿGü!þÿ¡sHÿÀ¿øšÚ¢€!´³µ°µK[;hm­Ó;"…"ääà$ŸÆ¦¢Š†îÎÖþÕío-¡¹·|oŠdƒ‘x<€ Ëÿ„?Ãô.iøÿ[TP/ü!þÿ¡sHÿÀ¿øš?áðÇý šGþÅÿÄÖÕ‹ÿ†?è\Ò?ð/þ&§´ðÞ…at—Vz.mp™Ù,6¨Ž¹8 dpHükNŠ(¢ŠÌ»ðÞ…t÷Wš.spøß,Ö¨îØ$dðü*øCü1ÿBæ‘ÿ€1ñ5µEbÿÂáú4ü‹ÿ‰£þÿ й¤à _üMmQ@¿ð‡øcþ…Í#ÿbÿâkRÒÎÖÂÕ-lí¡¶·L슋““€8’šŠ*»;[ûWµ¼¶†æÝñ¾):6FAàòü*j(þÿ й¤à _üMð‡øcþ…Í#ÿbÿâkjŠÅÿ„?Ãô.iøÿGü!þÿ¡sHÿÀ¿øšÚ¢€3-<7¡X]%Õž‹§[\&vK ª#®F?Ó¢Šñ¿ˆßò7Kÿ\“ùQGÄoù¥ÿ®Iü¨«[{UÏúÕÿ®iÿ ŠdQ™dääû ÓîÖ¯ýsOýRÚÇÀÿu¿ôPP}çâÌÿ…g_ùø‡ó?áPQ@Éþοóñ泯üüCùŸð¨( /ï-ôû« i$I}3CŒgFòsŒ !R=Èž°5ßù¼/ÿ_Òÿé,Õ¿@L¶ù]¥rëJ†§›þ=íÿÝ?ú ìëÿ?þgü(û:ÿÏÄ?™ÿ ‚ŠŸìëÿ?þgü(û:ÿÏÄ?™ÿ ‚Š«§jjv­so»ËKXc&92~„©#Û:UªÀðgü‹§þ¿¯ôªZß Å–@€€NNO°ÍIöuÿŸˆ3þZÇÀÿu¿ôPPÿg_ùø‡ó?áGÙ×þ~!üÏøTPÿg_ùø‡ó?áToï-ôû« i$I}3CŒgFòsŒ !R=Èž°5ßù¼/ÿ_Òÿé,ÔߢŠ(2Ûæ5v–4 È O®=)~οóñ承ãÞßýÓÿ¡‚ýçâÌÿ…g_ùø‡ó?áPQ@Éþοóñæ³´íB NÕ®m÷ybiaË dÇ#FOЕ${c§JµX ÿ‘tÿ×õïþ•K@ôø£2È ÉÉö¦TöŸñð?ÝoýÐöuÿŸˆ3þ}çâÌÿ…AEOöuÿŸˆ3þ}çâÌÿ…AEAyo§ÝX[I ’Kéš„c8"7“œ`aú‘îDõ®ÿÈÅáúþ—ÿIf­úñ¿ˆßò7Kÿ\“ùQGÄoù¥ÿ®Iü¨«[{UÏúÕÿ®iÿ Š[Oøøî·þ‚i.Ö¯ýsOýRÚÇÀÿu¿ôQÔ¢ ÅÕ¼Mk¤^‹Y­îeÆ$ÌAp$¬?ºkj¹ÝsÃkŠÝ¥òÁˆ–"­þ…Žs¸{ô¤ÆbËã+¦Óï- ÃM›YB)! ƒåaÈÈS×§ãÉì4‰äºÑln&mÒËo»` ±PIâ¸)¼1~ºuåĉ#& qÆKL oÛÉ ·'O^ƒžïDâÐtèäFIÖ%ea‚¤(È"’¸3;]ÿ‘‹Âÿõý/þ’Í[õ®ÿÈÅáúþ—ÿIf­ú  žoø÷·ÿtÿèF ©æÿ{÷Oþ„h ó[okoi3¾ ÌßgWSåGò±–%Èù}º×¥W”Úiº€³NzµEÁ·q’&„àqÏ O•,ßÂZ…Þ£§\Éy9šD¸(¬UW娇(©5¿\ß‚àž 2èO°–º,«,e gzƒ]%4ƒ?ä]?õý{ÿ¥RÖý`x3þEÓÿ_׿úU-oÓ{Oøøî·þ‚j žÓþ>û­ÿ š‚€ Ž{ˆmai®&Ž(—ï<ŒGnIªóémÔÍ5Æi,­÷žHU˜öä‘P¿‡tY¥Y?, :öÝ;ô¤•`k¿ò1x_þ¿¥ÿÒY«v8Ò(Ö8ÑR4UT`(…®ÿÈÅáúþ—ÿIf¦ýQ@ÍÿöÿîŸýÔ<ßñïoþéÿÐUš® ’ ãIa‘JÑâÿúhø0—ÿŒÐýöÿÐ3CÿÁ„¿üf´x¿þšþ %ÿã4¿XïüŒ^ÿ¯éô–j>Ñâÿúhø0—ÿŒÔbñ þµ¤ÜêÚ\ö3¼Ìmîä‘Û0É”upzö šŠ(  æÿ{÷Oþ„j ËÔn¼Gçˆôý?J’Ú5½ÅìˆížNTD@äã©éžø>Ñâÿúhø0—ÿŒÐýöÿÐ3CÿÁ„¿üf´x¿þšþ %ÿã4¿X ÿ‘tÿ×õïþ•KGÚ<_ÿ@Íÿÿñš³á½:ëKÑRÚóÉûAžyœBåÐy“<€@'€è(Z§´ÿþëè& ¨çšîÞ $±† ®B‰<¦49ã– Ä`zsŒqÖ€$¢°>Ñâÿúhø0—ÿŒÑöÿÐ3CÿÁ„¿üf€7謴x¿þšþ %ÿã4}£Åÿô Ðÿða/ÿ ]ÿ‘‹Âÿõý/þ’Í[õÌý‹Ä7úÖ“s¨[ip[ØÎó1·»’GlÃ$`bQÕÁëÚºjñ¿ˆßò7Kÿ\“ùQGÄoù¥ÿ®Iü¨«[{UÏúÕÿ®iÿ Š†¦¹ÿZ¿õÍ?ôPÔQE (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€û­ÿ š‚§´ÿþëè&€ ªJ‹&«vŽ¡•­¢HÈ#tœUÚ#ÄR¼±€²º…gp3íÔôõ¤+§=«æóÍ»ãìŒå;cœÑMMEÀÀ×äbð¿ýKÿ¤³Vý`k¿ò1x_þ¿¥ÿÒY«~€Õoÿ=âÿ¾ÅeÂáú4ü‹ÿ‰£þÿ й¤à _üMjýªßþ{Åÿ}Š>Õoÿ=âÿ¾ÅeÂáú4ü‹ÿ‰£þÿ й¤à _üMEàÏùOý^ÿéTµ¿PÚYÚØZ¥­´6Öé‘Brrp’OãSPÖ¬mÌ@PŒI=Êj§Ú­ÿç¼_÷ؤ»³µ¿µ{[Ëhnmß♣`äd ²ÿáðÇý šGþÅÿÄЯڭÿç¼_÷Ø£íVÿóÞ/ûìVWü!þÿ¡sHÿÀ¿øš?áðÇý šGþÅÿÄЯڭÿç¼_÷ج-jXåñ†<¹ñ}.vœãýj±ÿ†?è\Ò?ð/þ&§´ðÞ…at—Vz.mp™Ù,6¨Ž¹8 dpHühNŠ( ÜÏpÛ«ÊŠÛ Ã0ï¯ö«ùïýö*߆ô+û§º¼Ñt뛇ÆùfµGvÀÀÉ#'€áPÂáú4ü‹ÿ‰  _µ[ÿÏx¿ï±GÚ­ÿç¼_÷ج¯øCü1ÿBæ‘ÿ€1ñ4Âáú4ü‹ÿ‰  _µ[ÿÏx¿ï±X¾ ÿ‘tÿ×õïþ•KRÿÂáú4ü‹ÿ‰­KK;[ Tµ³¶†ÚÝ3²(P".NNàrIühjšÕ‚͹ˆ ‰' ùMCPÝÙÚßÚ½­å´76ïñLѰr2á@ ö«ùïýö(ûU¿ü÷‹þû•ÿ†?è\Ò?ð/þ&øCü1ÿBæ‘ÿ€1ñ4«ö«ùïýö(ûU¿ü÷‹þû•ÿ†?è\Ò?ð/þ&øCü1ÿBæ‘ÿ€1ñ4_Z–9|Eá.E|_K§8ÿEšº*Ì´ðÞ…at—Vz.mp™Ù,6¨Ž¹8 dpHükN€"‘˶­q“è@—joü%Þ ÿ µÏýõK”w=ÚŠðŸøK¼AÿAkŸûêøK¼AÿAkŸûê—(î{µá?ð—xƒþ‚×?÷Õð—xƒþ‚×?÷Õ¡sݨ¯ ÿ„»Äô¹ÿ¾¨ÿ„»Äô¹ÿ¾¨å žíExOü%Þ ÿ µÏýõGü%Þ ÿ µÏýõG(\÷j+Âá.ñý®ïª?á.ñý®ïª9Bç»Q^ÿ wˆ?è-sÿ}Qÿ wˆ?è-sÿ}QÊ=ÚŠðŸøK¼AÿAkŸûêøK¼AÿAkŸûêŽP¹îÔW„ÿÂ]âú \ÿßTÂ]âú \ÿßTr…Ïv¢¼'þïÐZçþú£þïÐZçþú£”.{µá?ð—xƒþ‚×?÷Õð—xƒþ‚×?÷Õ¡sݨ¯ ÿ„»Äô¹ÿ¾¨ÿ„»Äô¹ÿ¾¨å žíExOü%Þ ÿ µÏýõGü%Þ ÿ µÏýõG(\÷j+Âá.ñý®ïª?á.ñý®ïª9Bç»Q^ÿ wˆ?è-sÿ}Qÿ wˆ?è-sÿ}QÊ=ÚŠðŸøK¼AÿAkŸûêøK¼AÿAkŸûêŽP¹îÔW„ÿÂ]âú \ÿßTÂ]âú \ÿßTr…Ïv¢¼'þïÐZçþú£þïÐZçþú£”.{µá?ð—xƒþ‚×?÷Õð—xƒþ‚×?÷Õ¡sKâ7üÒÿ×$þTW7{u¨Üy÷“4Òà.öëEY'ÿÙpyFltk-1.3.0/fltk/docs/buttons.jpg0000644000175100017510000003062411651413735015503 0ustar heldheldÿØÿàJFIF,,ÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÀ›F"ÿÄ ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?è|cãGñ]¦‰¢Yérù¶ rMÚ*ã ìä»2¨PžO­aÿÂÀñŸüóðwþ -øýhø†î~5éLâ“E‘£)‚pA«ßð†øsþ€ÖŸ÷Åz¥…„µ‹m®†V”›³9K¯Š>1³¾·²m7CšâåUà[HÖàH™ÓŒ ܬ1œäUi~0ø¢Þy ŸMÒ¢š6(ñ½›+#‚-Áµ7V²¶Óþ0øZÖÒ†k=± À¹ŸÔšêe𮃨x®;{LK®üEyj"y¥ˆ^Ãå³$¸fÉ&M€!Ip1Ȫ^Á®n]5üÈ|÷²g0>2xˆÿË–‘ÿ€§ÿŠ©ÆŸùrÒ?ðÿñU¿á ÃöÍ.”ñë:–‡ªG5¥Ç˜¯té$e#ÙÙ)žŽ}ë>êÖÿøJÒëMHmc¿¹·Ô'S"(5ÊåI,B­Þ†8ÇÖ«–‹vQþµÿ"o;nS¼@åÏIÿÀSÿÅSÇŽ|ÿËž“ÿ€ÇÿŠ®†ÓÀú úí­½öö-ÚÍݤVÞlÉö«T…eùرÃù”…ç§"³4Ÿh…¿‡õ)ô«ˆÆ¡kxd‚Ê9ç‰$Š@¨ì¡Œ»~npÝvôÒ¶ù­È?yܨ>,kÇþ\ô¯ü?üU<|V×Oüºiø øª³¥ø9>! {»;I´E¼’ÍšÒf™/.d`ɧÇáýÏÐmõ-;û6ûX·¸í÷J>É.ý°Kå³9°å×MÿÀþ½<|DÕÏü»ißøÿ×®1jU£êô¿”=¬ûˆø…«ùvÓÿðÿ¯O?ÕOü»iÿøÿ×®AjU¥õz_ÊÖ}δxóU?òïaÿ€ãüjAãPÿ˽‡þñ®QjU¥õz]ƒÚϹÔjgþXXÿà8§êGþXXÿß\ÂÔ«G°§Ø=¬û(ñ†¢å…—ýøñâÝ@ÿË?ûð+œZ•i{ }ƒÚϹÑߟùcgÿ~æ°ÖnOü³·ÿ¿+OµÁÿ–vÿ÷å²֥Z^ÆŸ`ö³îi Nsüß•ÿ šÙæ™"U· ìfÇ?…f­\°ÿûoúê¿ÌR•il5Vmî_ß'ü÷²ÿ¿ÿˆª×š‡Ø„æµfžâ;xÕ ä³°QÕzs“ì;ž+Ÿ×|qáß _%ž¯¨ýšáãªy>T’Ê©TþTýBî û^Z¿™oq©YKàÊÎ8<Žzó”ü‘ÛÉæoI¨Á †9u--uV@ü6ÔzÜ6–©8º²d QA‰v`ðãŒäóÒ« tÈåºûP°3›ùxHÙ¶ùqãï ã9ýk'[hL¶k'Ê:ä;|}غÇZ¨Êí+ ÆËs®Ý0 Z[5,¡°aädg²ûÓ%¡‰å’æÈ")f>Aà¿Á\‚ç@I§^_\0‡ì‰g•–9ö’,˜Ä[O%Ïg9Î; Xê6m­ÂG×ûZê`o·– qD*ˆðs¹Ÿ›‘Ñ9Ùµd 7[|HÔΧáÝ"åFȦ5T ^ 2|çEgø¿þDŸ×$ÿÑkE9«K@‹º7<{àÍs]ñE®©£êÙ˜¬c‡Ÿ$R†Î „6:ú×7ÿ óÇ_ô47þ çýjÿ×4ÿÐECMb$’VNÞCöksÆ.>x¦î:ïV´¹—hMóÝM# e”ñÉüé£á¾?åóLÿ¿²ñí4V‹V*Êßq.„^焚ðÿ—½7þþIÿÄSÇÂ}tËÞÿÿˆ¯b¢Ÿ×«°äáV¸?åïNÿ¿ÿÄSÇÂÝpËÖŸÿÿˆ¯\¢—׫°æZWŠ]ª/aÌÇý\ËÅ—ýöÿüMH>jÃþ^,¿ï·ÿâkÒ(£ëµCØ@ó¡àTËÅŸýößüM·P>¯i3ãó?áOdÃø£üÏøV­¾·P>¯4iòâOÌÿ…È9<Ï6ø‰fº‡ô‹D%’1©c’@@}ø¢¬üTÿvÿ][ùQG3–¬i[Dz5ÏúÕÿ®iÿ Š¯q,ÐiZ”¶Í"N–’4m%ƒ˜_œÿ²ßîž•bçýjÿ×4ÿÐESÔÌÐuxöoÝe(Ù³~쎛v>~›?Ý=}J‹oÆ·|›·cjÅòç~1”í½qœÿ«\ç-¸q¨¶ükwÉ»v6¬_.wãNÛ×ÏúµÎrÛ¦¢‹ E·ã[¾MÛ±µbùs¿ÊvÞ¸ÎÕ®s–Ü8Ô[~5»äÝ»V/—;ñŒ§mëŒçýZç9mÓQEÀ…Æ¢Ûñ­ß&íØÚ±|¹ßŒe;o\g?ê×9Ënj-¿ÝònÝ«ËøÆS¶õÆsþ­sœ¶î;ÂڅΫi¤Í>»â¹žæ–7ÒÖ;vm¡™|ϳ´òÏ9"ºMî{Ý:Yn{­íÜ@à•.$Ez*øP׋oÆ·|›·cjÅòç~1”í½qœÿ«\ç-¸q¨¶ükwÉ»v6¬_.wãNÛ×ÏúµÎrÛ¹ïjÛkzm¢ê¥¼Ö×9ÓìÅÄŒÈÐ…Èò¤!píÎ8ç¥N»8xm¥y®ÒmE¬ážá3…ÆlÉÕÃnVP ¦T«sœ±¨ E·ã[¾MÛ±µbùs¿ÊvÞ¸ÎÕ®s–Ü8Ô[~5»äÝ»V/—;ñŒ§mëŒçýZç9mÜÞ§¯j¿Û6Öze­³õCg(žà ”}Ï#m£-Ôs”£3Kñ´Ö ö»+9.îu‹KP·d!(óùCjªD@ 1n2' tî5ßnù7nÆÕ‹åÎüc)Ûzã9ÿV¹Î[pãQmøÖï“vìmX¾\ïÆ2·®3Ÿõkœå·`¿‰o#ò­¿²ÒMDßýâŽç÷jæÜÎ9PJíÛŸ”ó`6mM+Q–ø]Åsn]ZOäL‘ÈdMÅAµŠ©#l‹ÕG9ã$Ô N5ßnù7nÆÕ‹åÎüc)Ûzã9ÿV¹Î[pãQmøÖï“vìmX¾\ïÆ2·®3Ÿõkœå·ME‹oÆ·|›·cjÅòç~1”í½qœÿ«\ç-»žñEÍöÈ­æ¼¹š¨iÎ<ÀäÞgÀ >ó*äó?O\ŸŠ“1ɳ¼ÒÆý˜Î.¶ ã=7¶3÷W9p²®Mq4^Z¤Œ£Ë^öªu=×ßþ¹/ò aöËŸùìÿl¹ÿžÏù×1â»éì—JX¯/-RâôÅ4–vÂyvù2¾6>~d\áOéU~Ûso£ý®ßUÕ.KßÙÁÿ %•ZxÕ¯• «‘œb4ì~Ùsÿ=Ÿó£í—?óÙÿ:‚¸[}nÖf»7þ<þϸKÛ˜¾ËæÙ§–©3¢ ^¹8gü%º‰›QÔ᳆] N8äŸd 2Lý¹Š#q ’H£P;¿¶\ÿÏgüèûeÏüöιíw_þÅóѼï/Nº¿ÿY·>O—òt=|ν±Ðæ¡—[ÕÒúÖÉtH~ÓwÓF¯{Fb½!ù„a7€@ä‚YM@éþÙsÿ=Ÿó£í—?óÙÿ:ËÒµí;pbòd’6à7hß+¹N#¥bø“PžÛ[ÓmPÔm-涸‘Οf.$fF„.G•! ‡np9Ç=(®ûeÏüöζ\ÿÏgüë‘ÒuÙÃÃm+Ív“j-g ÷!œ(¶3fHö®r²€U2¥[œå™©ëÚ¯ö͵ž™klÂ=PÙÊ'¸(%cóÇHÛhËuåèÇ v?l¹ÿžÏùÑöËŸùìÿqz_ˆ5¦°_µÙYÉws¨ÜZZ…»! G˜çÊUR"‹q¹8²þ%¼Ê¶þËI5öŠ;ŸÝ«›s8`åA+·n~PGÍ€Ø@êþÙsÿ=Ÿó£í—?óÙÿ:ÈÒµo…ÜW6éÕ¤þDɆDÜQ$Xª’6ȽTs‘Î2Yww=ÕÓéÚsì•1ö› ÀŒ€ᥠ‚ÈPC6AUp tÔ¤•åHî·´M²EV£`6¡Ãô#Ö¡—\Š sjQG ê¯*‚?U„/cmok§ÚÃäD„$ì±fbIÚʼn'%‰É$“êVÊ)ãk™'XÕ¦—xXܰb¯R÷}(¸ËSj½”’GrÅLe••ºñÁV/ƒÿäIÐ?ìoÿ¢Ö¶µ>—Ÿð?ëX¾ÿ‘'@ÿ°u¿þ‹Zs??ä§×VþTQñSþAÚwýuoåEZØLôkŸõ«ÿ\ÓÿAOPO3AÕãÙ¿u”£fÍû²:mØùúllÿtô7.Ö¯ýsOýV^±,‰£ÝÁq|n¢ks¨aË4„#؃œŽÍ@ËÔW&ú‡ˆ~4my7nÆÙì>\ïÆ2Ý·®3Ÿõkœå·¨x·ãFדvìmžÃåÎüc-Ûzã9ÿV¹Î[p3¬¢¹7Ô<@Ûñ£kÉ»v6Ïaòç~1–í½qœÿ«\ç-¸}CÄ ¿6¼›·clö.wãnÛ×ÏúµÎrÛ€7ô}?û'D°Ó|ß7ì–ÑÁæmÛ¿b…Î2qœtÍgÃuká¸ÚÊ·NÒO=Ðk}:yT fy6æ5a‘»sÆp3TPñoƯ&íØÛ=‡ËøÆ[¶õÆsþ­sœ¶áõ6ühÚònݳØ|¹ßŒe»o\g?ê×9Ën\–;fú×VÒ.¾ÈöÑÍl˨i“ áÌLHVhÛ,sÈ9>”Â;u·í_o‡ûSí¿mó¾Ì|þO‘/~í¾_ûyÝÎqòÕ7Ô<@Ûñ£kÉ»v6Ïaòç~1–í½qœÿ«\ç-¸}CÄ ¿6¼›·clö.wãnÛ×ÏúµÎrÛ€%ÿ„gQGûRjðµ÷öö‡™5žèòm¼‚ÔíÆH;²,rÅñørþ$ÂjVÛ ¿šúȵ£JeÞ²3癀ÆÌ ÏJ®ú‡ˆ~4my7nÆÙì>\ïÆ2Ý·®3Ÿõkœå·¨x·ãFדvìmžÃåÎüc-Ûzã9ÿV¹Î[pûJ·P^\Þ$—K~o¦1ÂQ¾Îmª–%Fݧ’Ù ôÏ:Øîõ)üÝÿm¹íÛ˜Š8ñןõyÏqÚ°PñoƯ&íØÛ=‡ËøÆ[¶õÆsþ­sœ¶áõ6ühÚònݳØ|¹ßŒe»o\g?ê×9Ënë(®Mõ6ühÚònݳØ|¹ßŒe»o\g?ê×9ËnPñoƯ&íØÛ=‡ËøÆ[¶õÆsþ­sœ¶àgY\ŸŠ“1ɳ¼ÒÆý˜Î.¶ ã=7¶3÷W9qõ6ühÚònݳØ|¹ßŒe»o\g?ê×9Ën©{±©\AQÚöÒI&¸–Ï Wn2¸€¬Àzå‰võ=×ßþ¹/ò¨+"û]ÔÅÛG…õ£ŒYV{`nËlàúÒ–¯´ÿ¶]é³ù»>ÅrgÛ·;ó‘ã¯ë3žzc½¦Ÿý¥io—²æ ÷mÎ|©RLuï³íœóY¿ÛºÇý :—þÚÿñÚ?·uúu/ü µÿã´/ü%:üûêÿø'»ÿãTøt“MkGÌ‚î{¸n#^’WpW9ä óà ‚Нý»¬У©àM¯ÿ£ûwXÿ¡GRÿÀ›_þ;@‰fÒõ1}öû=BÎ+¹m¢‚äÍfÒFþYr (•Js#äÜmô$Ãyá¹ï.®Äš–ëKí9tûµxœáD¿:¸!UšIã€)·uúu/ü µÿã´nëô(ê_økÿÇh½ï†uWí-¨êð»Í§\éê°Yùq ›gÏ‚ìņÎFìŒÁ-µ.Ÿækvº—›"Úh<½¿{Ìh›9Ïòºcœûs›ý»¬У©àM¯ÿ£ûwXÿ¡GRÿÀ›_þ;@†ê×Ãqµ”ÿn¤ž{ Öútò¨ÌòmÌjÃ#v:çŒàf™,w:Íõ®­¤]}‘í£šÙ—PÓ&ؘ¬Ñ·Xçr})·uúu/ü µÿã´nëô(ê_økÿÇh?áºÛö¯·Ãý©öß¶ùßf>Fÿ'ÈÇ—¿vß/ý¼îç8ùjøFuµ&¯ _hÿhy“Yî&ÛÈ(]NÜdƒ» `Ç,lnëô(ê_økÿÇhþÝÖ?èQÔ¿ð&×ÿŽÐQørþ$ÂjVÛ ¿šúȵ£JeÞ²3癀ÆÌ ÏJžßÃÒ­Ô—7‰%Òß›éŒp”Go³›pª¥‰Q·iä¶H=3÷uúu/ü µÿã´nëô(ê_økÿÇhJÇOûÞ¥?›¿í·"}»q³G:óþ¯9ã®;V‚8ÆÇÉCéÔQ\ïöî±ÿBŽ¥ÿ6¿üvíÝcþ…Kÿmøí:wÙ F<¸Ü²ä¶O<ŸCLóSþ}ãüÛük›þÝÖ?èQÔ¿ð&×ÿŽÑý»¬У©àM¯ÿ FÝë™ ¸sŒ²±8úÉðü‰:ýƒ­ÿôZÕyu­bX^?øDµ!¹Jçí6¼gþÚÕÿ ÚOaám"Îé<»‹{(b•2ÖTŒŽ#µ9/ŠŸòÓ¿ë«*(ø©ÿ í;þº·ò¢­lK=çýjÿ×4ÿÐECS\ÿ­_úæŸú§Z³'œÊH"3‚>¢ ez*¶\ÿÏgüèûeÏüöÎQSý²çþ{?çGÛ.ç³þt?Û.ç³þt}²çþ{?ç@QSý²çþ{?çGÛ.ç³þt?Û.ç³þt}²çþ{?ç@QSý²çþ{?çGÛ.ç³þt?Û.ç³þt}²çþ{?ç@QSý²çþ{?ç\÷Œn§}*ÉW*Ú­ŽFzÿ¤Ç@TQEQEQEQEQEQEQEQEQEQEQEyÿÅOùißõÕ¿•|Tÿvÿ][ùQV¶%žsþµëšè"–ßîOÿ\ó—?ëWþ¹§þ‚)mþäÿõÈÿ1P3˜ñ]ôöK¥,W—–©qzbšK;a<»|™_ ›?2.p§Œôª¿m¹·Ñþ×oªê—%ïìàÿ‰…’ÀÊ­ÚÊ„ƒƒÁäw¬»-o ýšëí¾u¥¾maåQ´ùK¼et#ñ ·F…yšµuR‘<ÅV66ï0‚œŒ¦Üã¾qÆ ãÒõ9ïìî5MBÎt³‘¦‰-lÚ\£Gó•ò»]¸ãž5l¼5yk&š¢=–ßèÐ%¶Öt¼CÌrÇsÕ >÷ËÈÚ™ ëž&½ŸÃbæÞÅ¡½ÒÚæfD4˜0fB#k!´î<Œ ëéþ"º»m.yì!ŠÇUÇØäK’òóJ¾b~DlᛑȃLðÞ§§bÿÄÖÎOìÛf³ÿdÉãýoûŸ½Èù¾ïϧøvêÑ´¸'¿†[+c-ŠKÄmùŽ\†ù³…\œ='Ä·—ñi7ZZZÚêÊ¿g"çÌ9‰¥ù”(v£`†'îåFHY|]ÿ Ûû ØÿéDu-®öm?ÃÖ¿iÝý³æòñçmá韗ïîïÓõ‹¿äaÿa[ý(Ž€7ë _»½k?GÓ]R÷QbFeÜ0YÛ€v¢³c#v0$VíPÔt{mTÀg–â‚Tž9 +¹r0Ü8`#×#ŠBÞ¼ðµÕ•寳5ý”ò¥½È’%O*i2ªë·'Ë2ÐG‚A}ÅÈSY¾%Ô'µ×4ÛEÔ5Kymî$s§Ù‹‰‘¡ ‘åHBáÛœqÏJèÄ72ÜÛÜê:¬—ïhKZ !TbŒžcã——k¸$Œîâ5 ­-‡›­Úê^n<‹i òöýï1¢lçË¢i–Üí½Óm’.Ä}vª© ¹åhÊç° †Ua¡áÛ«¶Õ ‚þ¬u\ý²7¶//1¬Må¸päEÆU°ry ®µÿ³iþ!ºû6ïì}ÿ/™;l 7\|¿o~™öª·¾%¼µ“X’=-ËHoô™Þçk:RSå S¹€cÃwæäí5o ^_Å«ÛZê‰kk«+} o2@æ%‹åbÀÚ‹TŸ½†m]hiÓüCkö¿Ûþo/>Nè™ù¾æîÝqïF€gø‹Ä:¶™¯É¥Ù£.›ˆó™€‘%òD–2¥YT:–†ÂœÝUsz·†¯/âÕí­uDµµÕ•¾Ð ·™ sÅò±`íEÈ*OÞà ‚·fñ%ŒÉ ÁªŠ’šUÓ© ã†G¸84…sªNúö±ºÆ»l–×)1iú`ž0¦Ÿ–òæÜíÁn˜â¶´-f}GÊ‚êVàiÖ·’¼Œ´¾`!pHÚ |Ç ûdë »Ûí3R³†ßP‘.|«½6F‘•`þõáÁPA$!ðÜúwÙ×IԾΉeŒ4Y qnØÈr_çl–VÛòðAç®üWâ7TÔ,-lâ· „AîNø ‰3Ê!Û+¤òÆâHumaîÍŒe‹^ÅOp¯~뫳ªla ,vÄåWc=³ÿá ºM5ôøµHE¼Ú,zLÅí s±$U‘O˜ó.Jzc#9­¤ë vo ÔìVöX †{hÙQ“b‰SûÆ,Ùãî%¼Õ'Š=KI–[ {ñ%ÝÏ’ª’—ªçwÉØ÷²Fí­6þ-SK´Ô WXn IÑ\ÁYC ã<àÕ-#A‹Gœ'w…,-¬Q\ Áa2a‰IzžüZÑôÿìÃMó|ß²[G™·nýŠ8ÉÆqÓ4vŠ( aEPŸüTÿvÿ][ùQGÅOùißõÕ¿•kbYè×?ëWþ¹§þ‚*•åüú}¤’[i×ò8Ø"ãR;î%ÙF8í“Èã©nÖ¯ýsOýT50?·uúu/ü µÿã´nëô(ê_økÿÇk~Š`nëô(ê_økÿÇhþÝÖ?èQÔ¿ð&×ÿŽÖýý»¬У©àM¯ÿ£ûwXÿ¡GRÿÀ›_þ;[ôPöî±ÿBŽ¥ÿ6¿üvíÝcþ…KÿmøíoÑ@ÛºÇý :—þÚÿñÚ?·uúu/ü µÿ㵿E`nëô(ê_økÿÇhþÝÖ?èQÔ¿ð&×ÿŽÖýý»¬У©àM¯ÿ£ûwXÿ¡GRÿÀ›_þ;[ôPöî±ÿBŽ¥ÿ6¿üv¨j—β–Vßð_[*_ÚÎòËqnUU&GbBÈO@z]uQEQEQEQEQEQEQEQEQEQEQEçÿ?ä§×VþTQñSþAÚwýuoåEZØ–z5ÏúÕÿ®iÿ Šu«2y̤‚#8#ê)·?ëWþ¹§þ‚)mþäÿõÈÿ1P0ûeÏüöζ\ÿÏgüëÒÑ.b’Ye¹,g”qs"Œ €ØLñäÚv“<ÖÓËnßl‚/2„ލó¢6Ô*Ù;Xàm?JÍß¶\ÿÏgüèûeÏüöθy¯®mü;®êºÎµ<Ö–ÉêzÀªá +.`MÄéÈç‘È®Æý²çþ{?çGÛ.ç³þu‹¥ÝÏs¨ëqJû’Úõb„` ªmá|{üÎÇŸZ¥&»[²´Êü¢và©'h!—n%¨ÔÓí—?óÙÿ:>Ùsÿ=Ÿó¨+Ϥ×o–ÓS»¾¯ö»{›µ†ÜéËö3åË"Ư7“€˜U ÆAŽrËŒ€HûeÏüöζ\ÿÏgü랺×þͧø†ëìÛ¿±÷ü¾f<í°$Ýqòýý½úgÚ°¯µÏC>¬-íìL0k¶±3]ÊŽmþLy'†¶r»Î3´dÔûí—?óÙÿ:>Ùsÿ=Ÿó®RëÄwöÑjÙ¶Ím¥®oÛílXD²¸‰|¼8 ãŠd䣚/|Kyk&±$zZ=–ßé3½ÎÖt¤§Ë@§sdž*>ïÍÉÚjWöËŸùìÿsÞ1ºô«$i\«j¶9ëþ“mV‹¿äaÿa[ý(Ž›ôQX’é6ºçll/šäÚÿeÜͲ ©`ˬ°I”œn¾´!tRÍàZC%ÌQjl*dMú¥Ó®@ÈÊ´„ìA¹ÏêÛx–ÊÑu FÒÞh®¤s§Ù‹‰‘á ‘åHBáÛœqÏJv ÍÅwsöQ¾¹Žöý㑯­– y›nß- уœdúk¤¤0¢¹½4êú¦—i®Á©ºÉu\¦žé· ÊŒ°C&pq¿wÞù¶ãä¨fñ§euâšÍ.4í2pòHóÙ"ñHË…;Øçæ*>eºíuTW%¬øê×H¿¾ÛN a=.5Ãü‹!ò¢Úwü¬Ë.[#Œdë.­y6­qok§¤¶¶“¥½Ä¦ãlÙò¨W ¡dRIpxl)ÀܯEsúN·=Ê}Ÿj¼7·*ã!D0%Ì‘«1•6¨ÆXƒØ;/A@Šóí]¾›Lѯ¯«Ü]Üý—ΆïNXmO˜È$ľJ1L?ÌÁ@ÝœŸûþ%oû7üÄ~Á³Ìÿ§¯³ïÎ?àXü3Þ‹Ú¢¸[}wÅrfæÓNo?V»¶9½a¼'Ú0‡÷*¯–0Ã$ìqÆ×ü$W[¾Õö²þÛö/;í'ÏßçyòömÛæ·¼ã?- ¢¹¸¼Kxù¹}-#Ó–ý¬Ss™þÐ`VT ‚¥¶ç,¤|Ø·I@Š( Š( ?ø©ÿ í;þº·ò¢ŠŸòÓ¿ë«**ÖijѮÖ¯ýsOýRÛýÉÿë‘þb’çýjÿ×4ÿÐER¼¿ŸO´’Km:âþGPÓ§ø†×í;¶7üÞ^|Ð$=3ó}ÍݺãÞ¢þÝÖ?èQÔ¿ð&×ÿŽÑý»¬У©àM¯ÿ  úÀñwüƒl?ì+cÿ¥Ñý»¬У©àM¯ÿª¥Æ³¬¥•·ü#WÖÊ—ö³¼²Ü[•UI‘زЀÐ3®¨m- '‡Zó£ÄVrÚy-¸½ãmÙôòñŽùíŽf¢€5§ÔüûybÄ+½ çÌcŒŒr°/,Dþ#‡TYx†á ·ïyg=±åtÇñ{sfŠ.+ú¥¢Ë%ëÈêºtítU"24ƒÉ’= sûÌð 8Æ9¨!ñ%ŒóÇ Aª‘‚‚úUÒ($ã–1€¹8¯E0¡ÐïíàMƒTH´xÔF‘$ ·  ˜?—vÍÛ‹wÏOºÐ>Ó§ø†×í;¶7üÞ^|Ð$=3ó}ÍݺãÞ¶¨  Y4F;ûÉ´ýNh/dYgkæJ¬c&6Þ~T\nFÁÉ9hzé7ê׺‚Ekw:\\Dm÷H]Q å°ªV5'–à ºôP?‡àÒ¡qI²âÛ‹é%ŠÜ–™evg•~gùJŽ­ghZ³‰,gž8R P4ŒÒ®‘A'±Œ=ÉÀ­z(ÌXøoS‡LÓ´«½VÎm>ËìûD6-­ä²²e̬:¢çåäd g!òøjññlš¢G§-ú߬BÛ23ý NÊÎ[KnÆHùrNn’Š.1ÿÞ§—äj¶kö}Fkûo2Å›o›çnGÄ£wúþÛ½xŸþÛ­ßeû|?Ùmûo“öcçïó¼üy›öíó?ØÎÞ3Ÿšº (ûþ%`ûOüÄ~ß¿Ëÿ§¯´lÆà9üqÚ¶¨¢…Q@Q@ñSþAÚwýuoåE?ä§×VþTU­‰g£\ÿ­_úæŸú¨kÂ߯>"‘˶­q“è@—joü%Þ ÿ µÏýõK”.{µá?ð—xƒþ‚×?÷Õð—xƒþ‚×?÷Õ.QÜ÷j+Âá.ñý®ïª?á.ñý®ïª9Bç»Q^ÿ wˆ?è-sÿ}Qÿ wˆ?è-sÿ}QÊ=ÚŠðŸøK¼AÿAkŸûêøK¼AÿAkŸûêŽP¹îÔW„ÿÂ]âú \ÿßTÂ]âú \ÿßTr…Ïv¢¼'þïÐZçþú£þïÐZçþú£”.{µá?ð—xƒþ‚×?÷Õð—xƒþ‚×?÷Õ¡sݨ¯ ÿ„»Äô¹ÿ¾¨ÿ„»Äô¹ÿ¾¨å žíExOü%Þ ÿ µÏýõGü%Þ ÿ µÏýõG(\÷j+Âá.ñý®ïª?á.ñý®ïª9Bç»Q^ÿ wˆ?è-sÿ}Qÿ wˆ?è-sÿ}QÊ=ÚŠðŸøK¼AÿAkŸûêøK¼AÿAkŸûêŽP¹îÔW„ÿÂ]âú \ÿßTÂ]âú \ÿßTr…Ïv¢¼'þïÐZçþú£þïÐZçþú£”.{µá?ð—xƒþ‚×?÷Õð—xƒþ‚×?÷Õ¡sݨ¯ ÿ„»Äô¹ÿ¾¨ÿ„»Äô¹ÿ¾¨å žíExOü%Þ ÿ µÏýõGü%Þ ÿ µÏýõG(\÷j+Âá.ñý®ïª?á.ñý®ïª9Bç»Q^ÿ wˆ?è-sÿ}Qÿ wˆ?è-sÿ}QÊ;oŠŸòÓ¿ë«*+ϯõ­KT#¾¼’uC¹CœàÑT´$ÿÙpyFltk-1.3.0/fltk/docs/valuators.jpg0000644000175100017510000017005011651413735016023 0ustar heldheldÿØÿàJFIF,,ÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÀ="ÿÄ ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?è|cãGñ]¦‰¢Yérù¶ rMÚ*ã ìä»2¨PžO­aÿÂÀñŸüóðwþ -øýhø†î~5éLâ“E‘£)‚pA«ßð†øsþ€ÖŸ÷Åz¥…„µ‹m®†V”›³9Gâ¿‹4¹ã†æË@-,BTh&FR̹ ’ÕXc9âª#ÿŸÿOÿT2ø‹þ|´ü?üUuÞÓô"óP³°¹°šûÃ:¢Ïo1x‡þ|´ü?üUvº…ôÄ:>¤¶§ÜìO§x¤‚9ÔÛɵ”I,…`°aØÆq\·‡|-g}n%ºðÎuÖ­ìî´üܱZ´`™vïÞ¹9;œ•ã€(^Áýýçr¨øÃâùòÒ?ðÿñT£âÿˆ?çËIÿÀSÿÅT^*Ѽ;¢xVÂKG¹¹½šö(o…Ñ*R+ªå@ÚÄ À#hù‰Á8Ås¢[Çà ;S°Ñ¿´în>Õöû޿ضˆØ*|§ÎsžœUªt¿/[Í=®jÝ|RñMËÛ^iZu½ÂctSY22ädd‘Á¢|Aÿ>zOþþ*ºÝ_Ã6z¿Ä=^êöÕ/¢kë;F‚(¥’X•¡Rdm’§—8ÞCòàÜx?F¶ðÆ·%¼·z|×jn58¦ *$›Ê•cÝÛ ³ä` ˆª +Ç·âSöÊCâÞ¾åÏIÿÀcÿÅS‡Å­{þ|ô¯ü?üUn7‚ü6ÚŸ‡“Éû%…åÇ•$W«5½ã2ûiÞÛX3àЏ,¡O5JÛÃÚÆ·e þ×mZÎdWÓç4€å‰R£v×g@M þȯS¹H|X׿çÏJÿÀcÿÅTüQñÄÉ 6l’ÈÁQЖf<<šÃñG†ît«ëûˆ¡´þ΂óìb[I ÌØn™ÁÇ\’dgŠìtoiéžÕ­m¼‹‘wd'7ñM²;Ê 0¶áŒS„É'5R…Ôw•Fís2_Š!‚g†k 69cb®hC)A<hø©®ÿϦ—ÿ€ßýzß>ÐõÝqîï­ÒÔŸ\XÊb™•nFuݸœ38åÛ÷ˆ8Å[/ é§N¶º°M?XÔ´ë½–Nó*Å:?ê ‡?1*vð3Ö-C¬GzÌÁñK\ÿŸM/ÿ¿úô£â޹ÿ>š_þõë©Ót gHºÒ·õÙ£Á=Äoöxí™\dTù£=rAôȬY<9£=ˆ·]=c—þ•Õ~Ò²Éæ†3Áb»Oq·¿P•íʼîR5¿ùôÓ?ðÿ¯Nµ¿ùõÓ?ðÿ¯Wõß iVZ'ˆ&¶Ó1”vfÃPß!û@“nöÎí×ø@5GÃÚo‡nü3&¯{ï43í–û¤ÿLÞ1Ìîþo—€zdði¨Ñqæå Ô½®ânµÿ>ºgþõê{ˆ^!³¸k{­:Æ “£–Ы ŒŒ‚sÐÔº„ìeð¬ÓÜAæËý•%ôw–èûÃ#i ”,1‚»9ç#'{ÄZž¯â)åsv5«XnDlÄ¥©2Xò®sóqÐóRÕkr÷–½Îd|JÖç×MÿÀoþ½(ø‘¬ÿÏ®›ÿ€ÿýz× hð3.“¨_¼¼†QcÌöá¬jpµ¾urÙ=«*ÿCÓ¢ð,´Lû"Ø¥IØ“˜›pÆ)ùy'4Ôh?²KuRtñψä³{ÄÓ-Ö6Úó‹2QOÎä~b¢uùöÓ¿ðÿ¯Z:}Ž¥£ø"ÃPUóKw¹Ë•'p€çfÚ=z`Šu¿‡t–²[›í1­®¿²®îf²Y^3Fà#€ä²’ ëqÒ—-¼­ÈwŸFfˆš¿üûißøÿ×§ˆz¿üûißøÿצø>h$ÕµÏ"ÕBϧ\‹{2ìÅòA‚f8§<Vt½7CŸG¹Ô¯ìþÏ6”ò‹Ë,Ê<òù.s˜ðÙ^猵T¡J.Î"R›êB> êßóí§ÿà?ÿ^œ> jßóí§ÿà?ÿ^¯Máí9t…•´ÿ&ì4¼ûvùnN0™-³Ÿîã<ñÚ§Ô4-Îæ(FŸxmDÖØ¿ Šï/.ò¤ÝUW¦Ô?”w©Ü¨Þ.ñ@f}.Ýb² ‘ ¸VÏ¡ à÷¨u_ù÷°ÿÀþ½hÙÉq7ÄÍR;àÂÚQqÙuÚ¸S´“ÆÕÀO›ŽÜó\0ª…*oxö&SšêuCÇz§üûØà8ÿQã­Sþ}ì?ðrž*þ¯K±>Ö}ΠxçSÿŸ{üãN7ÔÿçÞÇÿÅrâž(ú½>ÁígÜ釵?ùácÿ€âœ)âaO°{Y÷7‡Š¯ÿçŸýø£Å7ßóÆÏþü ÂáG°§Ø=¬û›£Ä÷ßóÆÓþü pñ5ïüò´ÿ¿°ÅÂö³îl^Ï+_ûð´£ÄóÊ×þü-d p£ØSìÖ}Íq¯ÝÿÏ+oûò´£]ºÿžvß÷åk(S…/aO°{Y÷5F¹uÿ<í¿ïÊÓ†µsÿ<í¿ïÊÖX§ =…>ÁígÜÓÍÏüó·ÿ¿+þá«ÜÏ;ûò¿áY¢ž){}ƒÚϹ¢5kî[ÿß•ÿ QªOýÈ?ïÊÿ…gŠx£ØÓìÖ}ËãSŸûß•ÿ pÔ¦þä÷娊p£ØÓìÖ}Í.§žQëÁ9hWžÃÚ§ß'ü÷²ÿ¿ÿˆªvñóÿläÿÐ sz·Ä? hzœÚn¥ªypíó#û<­Œ¨aÊ©ï\•í Z(é£yÆí<Ú‡‘{ghfµinÙÕÁÀڌ䜯L.=rG¾Ôí‘Ê>§¥+)Á@ ÿß5“{ÿ#VõºÿÒw©a›IŽ&iŸÌ˜Éç$lùó_Ü3Ó†+$kÉæ[¹Ö£·’Î5žÒv»vH¼˜A*–$’ cåÇÔýq ædvFžÈ2œä÷ÿ¾k¿(×þ1lòÌ÷…v—Ç¥øƒi-äÖé§Yܾ¸.˜é÷p‚«hßÄòI‚{x(AßÐyåh§dJ^óW:=KR^›q}<Ö¦(»*A–8ì>^§§5æ'’}GNÞF,B¨›®Ð~Uj+Ilüâ$ÔlîS\':…ÜÀ²Ý·ð¼r`Þ6t M‰ßòÓÿëƒèT¯xÞõ¥kšŸ|5©ê~+µÔtÝRŽÂ8ƒù²Ç ᳂Špluõ®[þ?ÐÜßø0»ÿâkÓüOÿ!8¿ëÞ?åX´}fI%díäW²OS€¸ø­ÞMç]ë¶—2í ¾{‰ä` ’YŸÎ˜>ê_ôÓ?ï©øÝzkV*Êßq.„矇ý´Ïûê_þ7Nµú i¿÷Ô¿ün»ú)ÿhVò«Àà‡Ã½Cþ‚Zoýõ/ÿ¥uú i¿÷Ô¿ün»Ê(úýo ú¼|>¿ÿ –ÿ}KÿÆéG€/ÿè%§ßRÿñºîh£ëõƒêð8àïúéßœ¿ün”x ûþ‚:wç/ÿ®ÚŠ>¿X>¯‹½óÓÿ9øŠpð-ïýtÿÎ_þ"»*(úý`ú¼_þm\é«§bËìk1œBM¾aKÝòpéÎ:œÀ<yÿA Î_þ"ºú)}z¯}^$<wÿA Î_þ"”x.ïþ‚œ¿üEu”QõúÁõx¨ðe×ý,?9?øŠQàë¯úXþrñÔÑG׫Õàd>•¬>˜tá©é‘Ú¶Íé &3&ß»½– _ÏÌO<õª#Â7?óÿcùÉÿÄWKE%ª¶°{Øð•ÏüÿÙ~rñááKùÿ²üäÿâ+¢¢Ÿ×«Õàsã·óÿeÿ‘?øŠQáyÿçþËÿ"ñ¿E^ªW„<1?üÿYÿäOþ"œ<57üÿYÿäOþ"¶è£ëÕEõx£ÃsÏõŸþDÿâ*ØÓ/ÿ²ÿ³´í>Éçyþ^×ûûvç;3Ó¶qWè¤ñµ_aý^½6þÿìÿjÔí$û<+_+¨½ Ï^§š€x~Oùþ´ÿÈŸüEjÑBÆÕ[X>¯²kËç—Õí Ï Á,‚6è;ò÷ñ“œ9Åg ÿçö×ÿ"ñ5¥E%Œ¨¶°:{™ãCùýµÿÈŸüM(Ñ[þmò'ÿWè§õÚ¢ú¼ CFoùý¶ÿÇÿøšQ¤ùý¶ÿÇÿøš¹E]ªWTi'þ-¿ñÿþ&œ4¿ú|¶üŸÿ‰«QõÚ¡õx 3þŸ-ÿ'ÿâiÃNóùoù?ÿRÑG×j‡Õà0iãþ-ÿ'ÿâiEŠÿÏÜ“ÿñ4ê(úíPú¼Y/üýÁù?ÿJ,Óþ~àüŸÿ‰¤¢®Õ«ÀxµOùûƒòþ&”['üýÃù?ÿQÑKë•Cêð&ñÿÏÜ?“ÿñ4á óõäÿüMW¢®U«À²"‹þ~¢üŸÿ‰§‹þ~¢üŸÿ‰ª”QõÊ¡õhBÃÿ?Q~OÿÄÒ'þ~¢ÿ¾_ÿ‰ª4QõÊ¡õhÁÿ?1ÿß-þ¡àÿŸ˜ÿï–ÿ ΢®U«@Ó[ÿÏÌ÷Ë…(–ßþ~Sþùoð¬º(úåPú´ a=·üü§ýòßáNßóòŸ÷Ë…cÑGÖêÕ l‹«_ùøOûå¿Âœ.íçáï–ÿ Ä¢­Ô«@ݶŸóð¿÷Ë…(¾´ÿŸ…ÿ¾[ü+Š_[¨V»-í»ÀñŨ=»º•ób_™Aàã*GLŽýk/ìqÐÏ«ßcÿÕj*%^Rwi1ŽˆŸìÿhŠsâ-M¥‹w–ÌT•Ü¥[¸b*d‘B§‹5¥QÐ °?ô ¥E/jû"½šîˉmlu {Ë­wP¼’ܱŒ\¶à2¥OðОô’À³Lò¿‰õ]îÅ›  dûð*¥{gkY Ù­îIq¥ÚÝÛ¼"Õ$ŠAµ‘˜Gýû®gâT‰-îœñ¶å061üFº*å|{×Jÿ®ÿ¡šj£–È–§¢xŸþBq×¼ʳô¸bŸY´Žh£–2d%$PÊq‘xê+CÄÿò‹þ½ãþUKFÿåŸýµÿÑ/Yu4èt?a±ÿ u‡þGÿÄÑöúXà$üMOE1}†ÇþÖø ÿGØlèaÿ€‘ÿñ5=Ølèaÿ€‘ÿñ4}†ÇþÖø ÿSÑ@}†ÇþÖø ÿGØlèaÿ€‘ÿñ5=Ølèaÿ€‘ÿñ4}†ÇþÖø ÿSÑ@}†ÇþÖø ÿGØlèaÿ€‘ÿñ5=Ølèaÿ€‘ÿñ5Ìk¾)Ñô=m4øF.5 ¶¶;tý2)p…ŠäŽQéŽEuÕçÚï†nµÏŠI'Úµ}>ÑtP¿lÓä1eÄÇ÷eðGC½xšµoâ k­Ö_=¥Æ±çù1]iÑFñùC-æ£#‘Œç#¥ta±ÿ u‡þGÿÄ×%ªiWQxÛÀÞR^][ØÇw×Rä~åUZGÆ71N2s]¥p–>?ðÍýõ¤Iáëˆí/.~Ím¨K¤Æ¶Ò¾HP­×’dwÆ5-¼E Ýy¾^“l¾V¬t–ó`¶2Ž¥w¹}ËË^}¢ZjöÞ‘k£éž.Ó=GVw2ùºtVû˜Èȸä×'œwûSÿ uçü¿kÿPßê?ç¯O¹þ×Ozv@w^!Öü;á« ›«Ë; Þ5™í¡¶„ÌQœF)Ç˹€ÏJѺ“B²žÞ ¸ô‹y®[dË(Ò¶@‚>c’:zŠñ¯xkS2xš |/y©ê7W«{iªÂÍ K}ÛD`uÜ íØ;ôIÐøáí^_ê7rÃ}sa}qÛµž“ Ñ*¦×_„î%^»³œƒ‚ÁsÔnî¼;a#Çyý‹lé™ÖháB¨[hbáw3Ó'wì6?ô°ÿÀHÿøšóø|-öÿˆSkzt×öö¾{Ø·£\ ;ÎY á˜ãsuÎN¯G¤a±ÿ u‡þGÿÄÑöúXà$üMOE!}†ÇþÖø ÿGØlèaÿ€‘ÿñ5=Ølèaÿ€‘ÿñ4}†ÇþÖø ÿSÑ@}†ÇþÖø ÿGØlèaÿ€‘ÿñ5=Ølèaÿ€‘ÿñ4}†ÇþÖø ÿSÑ@}†ÇþÖø ÿGØlèaÿ€‘ÿñ5=…ªÃk8ŠÖÚ-žA(ÍæççjþU&ƒik-„òMim,ŸjeÝ,*ç8ð2Aõ?7Xÿ—¯ûvÿÚõ?‡¿ä7ý}¿þ‹ŽŽ ]û ý¬?ð?þ&¹ÿxƒGðÕÕ…¬¾{ë‹ï3ÉŠÃNŠW;-Ç£gŒô5Ó× ãm ë\ñ‡„ãŠMFÚÝ>Ùç^Xc]¿>]Äcž¹"šr?èÿa²ººðÅÅ—Û5Ó¢ŠïLŠ97¸ÈrðvÈç ñ]?Ølèaÿ€‘ÿñ5Æx—BºµÓ<'ek&£©ý“^¶šYç&iBnrYغ3ŒžÅwTÂ_xÿÃ6×q?‡®$´³¹û5Ρ“ùƒ7^ ñ“Û9êî¤Ð¬§·‚î="Þk–ÙrÅ 4­0 ˜äŽž¢¼Ÿ[´Õí5½\h:g‹¬5Iu6Ü[KæiÓeÌ®Hn%I p À kø¯H•|Q«Ë¨øVçÄpê‹kœ"$-¶Î$V—¬±Ý‘ò¶NOÞð\ïdºðìWMk'ö*\,‰ ‰£„8w¢ãÜÀSŽ*D“B—P—OŽ=!ïb]ò[,P™xä®2Ì?1ë\®•áÈ.>(øŸVÔt¯3gØþÃq<$¦|±¸ÆOEär=²kŽÐü/¬C¯i- ÜÁ¬Xjw¨kí3ùwP ÿŒ¸8ÛÛ8Üø,{ÿ g‡èŸòþÄÿ(×ÿ{ýÏ~¾ÕwJÖü;«]\ÚÇga ijY§¶…^gˆæ1Éeƒëêp¿ØúŸý¯?ä}û_ú†ÿQÿ=z}Ïöº{ÖEç†oîîõ›{_ _.µ}âe³ÖtQÛD¸>üä™±Æ ‚Ì€È.zõÍׇlºþÅ‚îlyPK+#äàmR2rF;Ñ%ׇbºkY?±RádHLM!ø%Îæ:œq^cñ3LÔµm_Q´µðÄÌM²Iå­„r–g2LFäÚ¨UQ~f8ç)ê¼5áëMO∵­CHy#Ùi%„×vî£ýNX¨`0Á‘3üJF8É¢Ás±û ý¬?ð?þ&°ØÿÐ:Ãÿ#ÿâj÷üú§ýôßãGüú§ýôßãHe°ØÿÐ:Ãÿ#ÿâkTŽ$ÝåÛÁÛ‡AåB©•ÄÀ g–n¾µwÃwóêZC\ܰi ÝÒ ©<ˆ£ðU׎rj¦­ÿ-?ëíÿôT˜"îgfú5´’XÚI#™K<–èÌzã’FzW~Ãcÿ@ëüÿ‰¨toùÚÛ_ýõv€ û ý¬?ð?þ&¸½#ÇZ>·%§Øüª5½Ì‚4º:¹ý¡ö]*Ù>Ã{%”¾mœC.˜É\òóÆp}ªm^}DÒ.õ;Ë ·¶ŒÈøµˆÇEn' òHà;;«?øI¾Õm4v½u4^jÞ‡nsÕN8#Šƒâ-ž§­XéÚ™mæ}ºç}ÃÌöaC~É]~dÜÁ1Œ‚2(k@¿ÑüE¦}¶×J¶‡<2Á=œK,.¬AWPÖïƒÎªGľmJ[;k+ ­šsêBxa·0´jåH²\ÜŠâßÃþ.û‹t†¹Õ£]F,<ŵó 4~cò@£å$® û Ö]¦œñÝxƒP¶ð¥æƒ§ÉáIã 2¶@9'£|¤`à°]ä|Ôì=nÎãD½û:Gm¥‹‰í–émü¨O-º6 ®N7FzL}CÃiñjK¡%”­²;–XnÜð'å?‘ô¯>ÓdÔô}SÃzŶ‡}©Cqáh,aû*‚¢}ÊÀHÄþípGÌ}{àã!ü9v>xQî4Ý]o¬¤º_*-*;½‚IâH$ ò!°@ú•4X.z^£âO iwšu­Ói×êd…ü˜vö–3€§¹øçÌëòäÛÑ\E¿ˆ¼G?‰×Jh-¡„·’ÓIj0’}‘e ‘prÛÜ~ì” C¬Fï†îõ;ëK‰õ)ìäÛs4­µ»E*WŒ“¹Û9Ú8ÇNhjŠàOŽïüÝfÜÚÛG=…¦¥u;˜JJ#‰Î‘*²ç9Lü ŠÑ"ÔÓÂÓërI§7¤É©ZÛe’=¨+|ÇÍQ¹Aa³|ß)`:©¢Yà’.E*J9FŒpÀ‚¸9—†ì`ž9’}P´lÕnI<©‚=ˆÁ¨m5^ßßj–¨·Vë$‰ˆí•ÕS#,&•T‘¸°ÇqÆN~Ÿâ[÷ÕlôÛ¿%®$¹XçSe-»Æ­ ̭óAèì§æ  mÅÃâ­NMJ}ÉgöK{˜àxÄMæ?™}5ªû°»DjÄm99.F!—ÄÞ%ÚÔvP˜ôÚZŸ³)~ذ~Ð 67AŸâ©`;ª+#Ã:æ«áû{ÛøÒ;™@È©³hY@eÜÛ[nRÄ«dEkÐ0¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(Xÿ—¯ûvÿÚõ?‡¿ä7ý}¿þ‹Ž Ö?åëþÝ¿ö½OáïùÍÿ_oÿ¢ã¥Ô J(¢˜bÿÂ-§ÿÏÆ¯ÿƒ‹¿þ;[TPEPEPEPSÚÇÀÿu¿ôPR4óZ£Íog-䪧l²+>F:»*Œu9=sÅyçÄŸøŠÚÑü3£ê’Ï"þþþ IbR>ìl,GVw·Í÷tüâ]cZÓͯˆ4{ë-J¦šÑãŽázn€z¯â8È]Ÿí-{þ… Cÿ,ÿøõÚZ÷ý ‡þYÿñêb ðgü‹§þ¿¯ôªZn­ÿ-?ëíÿôTx(±ðØ/þÛy¹ +?i—Œ© þBhÕ¿å§ý}¿þŠ‚¥š7ü€í?í¯þŽz»T´oùÚÛ_ýõv€ (¢˜µ .ßRòüù/ËÎ>Íy,Î:ùl¹éß8ühÓô»}7Ìò$¼3ûMä³ãéæ3c¯lgð«´PYšï‡´¯Ø¥ž¯kö›tJ©æ2a€ ©£δè C VðG¤PÆ¡4PªªtS袀 («(þ]˜pˆIŒ²ƒØPj*;nKÛ+I:òFH”"çåBäã®\dg–µoíMÿ<¡ÿ¿b‹XW ¬½[¬Ÿõèÿú6 ŽÚòyük«Âò&++Cc…RZ|:dàdûARjÝdÿ¯GÿѰRc9êå|{×Jÿ®ÿ¡šê«•ñï]+þ¸?þ†h†á-Dñ?ü„âÿ¯xÿ•RÑ¿ä9gÿmôKÕßÿÈN/ú÷ùU-þC–ö×ÿD½.£èuQEPŽ^jk>¢ÉýƒkeixmÚ– ðqÊpl>ëúÿ 8¨O‰ïW9Ô¼1œç\~1œÿËö[ò>•‰«Ú^ë\Ó-4ÛùDzè¹7íßøõ…vò)<ž1ÓôÁ>Ö™vµŽ°A8û '§q?Oïle9TNÑשèáh`§Oš½gvåoñ=GÃڥƫ¥ö¤´Y,î’Ö“4±H%“pfU'‡§cÖµ«›ð>{§iz¢ÞÚKlÒÝÂѤ¬…Š­ºG“±˜ ”n3]%h¶ÔàšŠ“QwALij¼â4:ª4FæPIžàl}O­>°§ñe„·6‚ÛSžKi<¹M¶Ÿ4Ê­€ØÜŠFpÀõïL’h|?”ñ.áôËU`ïgeoE+g’ÙŒ¶HÀÇZµs£é—¶¢ÖïN³žÜHfK²o$’Ø#‰f$õäúÖoü%Ö_ô×?ðQsÿÄV¦™¨GªÚÉq p¤n‹«g…‰#<+€H÷éúÐ!aÓl-Äb +h„lD«µ‚y`ŒO—ýÞ:Q.&·&ÛP»ÓR7fe²H‘œ–%¼ÈßœäñŒ–$æ­TZŽž5]öÄÎÐy¥𩏮 =2==h*)6“vÚvŒèÈÚz2²ÈŒ¥‚²ÒÇF<·©ëY!‹Hм3¯êVZE·žöÒË2´Há¶±ýî.2NryÉçšÁÿ…mÿSÏþöʃVð ðÿ„xž)_P’7R®©\ÀðAùKÄŸò1ø3þÃÖ¿ú®’¹å9{8»÷8*Tš¥w×ó:Ú(¢»O\(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢ŠÄÖ?åëþÝ¿ö½Xðè-¦Ì$›¶úçWÖ?åëþÝ¿ö½\ð¯üzŸúþ?úTº©öiÿ焟÷Á£ìÓÿÏ ?ïƒQÜÜ­²M4Óˆ¡ˆ3»»íTQÉ$ž¹?xò?êúÔv*ÃO±òV[!æ-¿sc²ü£¯s׈ë#V™åHw…öJª2Q¶†Ãz¬§±½6á–ÓËûK|×Ù˜vïlÀÏS…'€úVO‡„¾$ ¶›œÿÓµ½gøµ™µ_ d“þ'SÿNÒÐGöˆç´÷УíÿÏhÿï¡X4TÜf÷Ú!ÿžÑÿßB´Cÿ=£ÿ¾…`ÑEÀÞûD?óÚ?ûèTñÅ$¨4gCÑ”dæ«¡µf]*Ï•ºöÍ4À›ìÓÿÏ ?ïƒTu_ôk@³þèÊá#òïn[=NŽ==«™ð×Ä+mkÄZ¯‡î˜[êVwsE î;n#G` çø€Äq¶C`“†Ï''<×LèÆ4ÔÔ·3Sn\¶:+öŸÄúͳƆÚÖÖÑâŒg†vŸqÏS‹íÇ×7.õM>Ábk¤Š!4©{²îÇ  g“ý2zYgüþ#ÿ¯;ý 湟ø_UÔN½}töS¼Ó¤ †®NØÁÁÆAœ{VüößöºÿÑÖõ2‹‹³wW6®¯ìì­&º¸ci$l±Ú dœz —·þ}Sþúoñ®WÇz]Ö¯àëû[6o8(”F£>hRf0NN8Æ@ç«zSçR¿·:½åܶl±K ÂÀ,ªêãb)Æ9ã!¸ã5\«“šÿÖ}lK­jRA«è6Öè±Guw"MŽK(‚WžŸ2©ãž=3›7ú©ÇÅê]»©(¢+ùáP8?v7Qžzã==ek¿ò1x_þ¿¥ÿÒY«¦?ñâ¿õÔÿ!YŒåçЇQEUÀðßü„¼Mÿa_ý·‚·ëÃòñ7ý…öÞ ß §ú™¿ÞOýž™OOõ3¼Ÿû=2€ Àðßü„¼Mÿa_ý·‚·ëÃòñ7ý…öÞ ß§§ú™¿ÞOýž™OOõ3¼Ÿû=2²u¿ùaÿþ•­Y:ßü°ÿJÆ¿ðÙÍ‹þ þºœ'‰?äcðgý‡­ô1]%s~$ÿ‘ÁŸöµÿÐÅt•Í?áÇæyµƒŸæu´ŽÁŽFI¥¨®¿ãÒoúæßÊ»lÅÿ„ç¿ô0é¿ø¿ãGü'>ÿ¡‡MÿÀ•ÿä¯|Y®hz…­tÛö‚Ðlä(#VùŠc<ƒè+®ð{3è îÅ™¯ïI$ä“ö©j#R2“Šèvb050ôiV›V¨›Vò¶úy‰ÿ Ï…èaÓð%ÆøN|+ÿC›ÿ+þ5¿Ehq˜ðœøWþ†7ÿWühÿ„ç¿ô0é¿ø¿ã[ôPü'>ÿ¡‡MÿÀ•ÿ?á9ð¯ý :oþ¯øÖýÿ Ï…èaÓð%ÆøN|+ÿC›ÿ+þ5¿E`Âsá_útßü _ñ£þŸ ÿÐæÿàJÿoÑ@ðœøWþ†7ÿWühÿ„ç¿ô0é¿ø¿ã[ôPü'>ÿ¡‡MÿÀ•ÿ|>3ðÍÄÑû§É,Œ'RÌÇ€I­ÊlŸêßèh쥫 pE%KsÿS¾ß΢  Mcþ^¿íÛÿkÕÏ ÿÇ©ÿ¯ãÿ ETõùzÿ·oý¯RèAÛG¹LðÈnœ,¨².<0ÜÈëÈ#ØÒêíWN³Õ¬îl/íÒâÖpVHß¡ý<‚9+ðçðV¯¯F%óôû¯!­e$oÀó2¬?¼29èrÇ mÿÂ9zNOŠõÏü–ÿã5WRÒ®4½.ïPŸÅ:ûCkÎê‚Ø±URLjsLF‡?ÖxþÃGÿI­ë?ÅŸòðßýIÿ¤ÒÖnj—†gâMv3©‰ï‰Y,¤Rј¡bZ4e'0#ƒœå5ÕÓ<={gs®ø‡U¸ò"¸¼·Žáí•]‘E%È—åPyÁô  š) ½±ŸPKa âÃ,ò[CtÛ<¹fvôà.NY@; Êç#Nñ~ªØ\]ÚZßÉäý›,–ìîg}‘–B³Ô9R;ÔÙŽæÅF n™ÞÞ-Xk•gU‹}·Î!VóvŒè§æÎæÀ«m{xƒA–ö©-Ôsmmu TÀx§˜D­Î1†e$7äÌ.[®‚ÛþAVî¿þ†k”‹X·o¶ùúN«möIóZºgòöD»d?3y©‚p£<°Á©!UÖïéþ#Ö €YÁw°,~T¥öãtE²J1;½GÐ4€Äð×Ãh­¼aªø›XD–y/æšÆß†X”ÈÅdoV#áë÷¾îç‹?ä+á¿úþ“ÿI¥«?ðÞÿÐ×®ä·ÿªóøe’k{ÛsT½kG2EÇ“³qR™;cSÑÏzlD´QEAFÕ‡üyGøÿ3XÚ·ü´ÿ¯·ÿÑPV͇üyGøÿ3XÚ·ü´ÿ¯·ÿÑPUt54oùÚÛ_ýõ£4k6–bbÁ]ÙIF*pTt#qÍghßò´ÿ¶¿ú9ê=KLºÔ$C¹¨ØÆƒýU¨‡i=ØïŽz¸ã§\´1âßÜkpÙZé÷m .û‡»¼žbA±YŠ“‚Ýpzr9©|3ðæÃ÷)yöëÉî•fY 1Ÿ˜ò©É ‚ÄOMOøFïèk×?ò[ÿŒÑÿÝïý zçþKñšÛë99/¡Î7½‰ôÏùüGÿ^vúÍX¹Ñ­nîy%¾WldEpEcÚªhÖ+­^\]Ûø“ÄÜ[¶Y&[PeÙXI";¢sÚýöwªIMóHQŠŠ²:ûË(¯¡Lóª†Ý˜'xN~¨AÇ=:V&…áÃ¥ø‹ZÔL“”ºh£…dä%5ËÌI;‰w /“þ»ßúõÏü–ÿã4Â7{ÿC^¹ÿ’ßüf’œ’i=4›¸k¿ò1x_þ¿¥ÿÒY«¦?ñâ¿õÔÿ!\ÔdÔ¬ïnuÍRõ­¤Š;'f⌙;cSÑÏzÔ¿Òd¿Ž9F·ªYF¤¨ŠÌžã¾69è:ãŽs#+K ÙÍ3ÊÓj!‹šÂŒŸ@=‡Ïü?ðlž±’âòV7÷J<È•ÿw…ÀᛞOnƒŒ–Ûÿ„q¿èhñýõkÿÆ(ÿ„q¿èhñýõkÿÆ+EVj.7ѓʯr ùõÏúñ²ÿЮ*Þ­ÖOúôýfh–Ÿbñž· ½¼¼?b³>mÙŒ¿Þ¸ãäEü ÷ì4õn²×£ÿèØ+&YÏW+ãÞºWýpý ×U\¯zé_õÁÿô3D7 lz'‰ÿä'ý{Çüª–ÿ!Ë?ûkÿ¢^®øŸþBq׼ʩhßò³ÿ¶¿ú%éuC¨¢Š*„`xoþB^&ÿ°¯þÛÁ[õá¿ù x›þ¿ûooÐÓýLßï'þÏL§§ú™¿ÞOýž™@`xoþB^&ÿ°¯þÛÁ[õá¿ù x›þ¿ûooÓÓýLßï'þÏL§§ú™¿ÞOýž€Y:ßü°ÿJÖ¬oþXÀ¿¥c_ølæÅÿÿ]NÄŸò1ø3þÃÖ¿ú®’¹¿ÈÇàÏûZÿèbºJæŸðãó<Ú¿Á‡Ïó:ÚŠëþ=&ÿ®müªZ8î„d»lñ-bÿO¿Ó¼9ö}SNco¢ZA(kØ”¤Šœ©ÈÏ?•z_‚%Ž ,±:ÉÞ^2:†æR=Åt¾gý3‡þü¯øQæÓ8ïÊÿ…DiÆ2r]NÌF:¦"*3JÔÓJÞvß_!”SüÏúgýù_ð£Ìÿ¦pÿß•ÿ ÐãEsvÞ0št¾•ô˜R+}F;ÎÃûÍ×>A|´AxûØVBTÖ¾µ¬®‹¦ýµíRUÃT€Ä’¬y),Fìà œc½.Ñ\¢øåç´»¼·Ò!6ö1Ëqwç*E…%š0Q y.DJ6Ì£=H|a3øÙ¼<ºL,‹!F¸IB²—#ÊÙ´Dûù˯Š,IEqÖž8Ôî­m®¿°tÓow÷é¿Â¦ÀhØÇ”ó5«ËOúûýkéίd»X6×tlᕊ°>à‚ìA¬[þZ×Ûÿè¨*º54oùÚÛ_ýõv©hßò´ÿ¶¿ú9êíQE09ýgÁšF»«Åª^$ßjŽÙ­r’`4MÊGº´‹‘ƒ‰p¥`µðÄßÚ׆îliëæý‹ìÓÉÿ¿•f›ÌeÁ‘T.Ò>\†Îk§¢‹ˆÅ iŸÚz=ì}—û'Îû4Ê©ïW •ñãžõ†4+­Ïû\¶Èâ²´ò‰?è°îò‹äÞí»/LÍtPEP0©&,ˆYRRí±wvŒÙZޤ™M,¢ÈÑ3;"c*vŽFAàŠñµŸ–aγÖ÷ *Ãok:ÀdC“Ë82AsÛœóØx.ËV¶ðÖ™x- Eýå¬ö,Àî;ù2ðIÉn9héY^:ðŽ³­C§ÛYÏ> |Ò^k£n‚Üp?†5brpOÝèN1o Õü>b{¯NbE#ìP|П=_<s…SÉÁõïœã* ]_ÐÂ1j{3fÃþG½sþ¼l¿ô+Š·«u“þ½ÿFÁU,?ä{×?ëÆËÿB¸«z·Y?ëÑÿôlç³ ç«•ñï]+þ¸?þ†kª®Wǽt¯úàÿú¢„¶=Äÿò‹þ½ãþUKFÿåŸýµÿÑ/W|Oÿ!8¿ëÞ?åT´oùYÿÛ_ýôº¡ÔQEB0<7ÿ!/ØWÿmà­úÀðßü„¼Mÿa_ý·‚·èéþ¦o÷“ÿg¦SÓýLßï'þÏL °<7ÿ!/ØWÿmà­úÀðßü„¼Mÿa_ý·‚€7ééþ¦o÷“ÿg¦SÓýLßï'þÏ@ ¬oþXÀ¿¥kVN·ÿ,?à_Ò±¯ü6sbÿ‚ÿ®§ âOùüÿaë_ý WI\߉?äcðgý‡­ô1]%sOøqùžm_àÃçùmR;Fv8U&»ÏlZ+þŸ ÿÐæÿàJÿðœøWþ†7ÿWüh~ŠÀÿ„ç¿ô0é¿ø¿ãGü'>ÿ¡‡MÿÀ•ÿ¿6‰§Ï¦É§¼.-¤œÜ“:0Ëæî `wüÜ>•zU܇ì÷÷6×:tlBUhÝ^2ò´­¼‚£9qä÷¿ü'>ÿ¡‡MÿÀ•ÿ?á9ð¯ý :oþ¯øÐ"ÄžÒ%9kg³´Š“È«6÷geÄ‹¹Üíl¨ÜÀ *×öMÚþÕä~ÿí?jݽ¿Öù^Nìgêþ\tïךÍÿ„ç¿ô0é¿ø¿ãGü'>ÿ¡‡MÿÀ•ÿKOèV6©km ävÉ BàÆ‡9ÈRø Ü † º¾Ò…¼p=¯œ‰#J|ùRìÑ´d»1%þF+óÆaŠðœøWþ†7ÿWühÿ„ç¿ô0é¿ø¿ã@ÃÚSØÅfÖ¹·ŠÉì<Æâ 3œòyëÇ^´jÓu;¡usÂàlİÜÉ ‚@¸(ÀŽ&{îçµSÿ„ç¿ô0é¿ø¿ãGü'>ÿ¡‡MÿÀ•ÿߢ°?á9ð¯ý :oþ¯øÑÿ Ï…èaÓð%Æ›ôVü'>ÿ¡‡MÿÀ•ÿ|>3ðÍÄÑû§É,Œ'RÌÇ€I  Ê)YJ9V àŠJÄÖ?åëþÝ¿ö½OáïùÍÿ_oÿ¢ã¨5ùzÿ·oý¯Sø{þAs×Ûÿè¸éuRŠ(¦EPEPEPEPSÚÇÀÿu¿ôPTöŸñð?ÝoýÐ-­|@ð÷‡µaªêRÛ\…µ­æ ©èA AG¨#¨5>ƒã]ÄóÍ-ÓB¡¤" QT–e'œ äàú‹ÅþÓ¼c¤;ÁåΙkk•\¼-ëî§+ߨ€EßøNðΑ™¦CåÀœ³^Fîì{±Çò@Š~ ÿ‘tÿ×õïþ•KMÕ¿å§ý}¿þŠ‚àÏùOý^ÿéT´Ý[þZ×Ûÿè¨)1£SFÿ§ýµÿÑÏWj–ÿ ;Oûkÿ£ž®ÐES¢Š(¢Š(¢Š(¬]jöö9V+iZtQ§˜ñÝÛù’îÏš¸]±¹éüsÇUÉxÀv¾!ñ :Ä—³C*YIdѪ‚r’=d’Ôd©Á U m>¹y©ßi°xŸM{»/í1ÿcÈ6o]ËÉ› v&¦hüF—ÑY·ˆôÑq,o*'öCò¨T1ÏŽ ¯çõ¨,|?u&µuäSEcoöŸ³ÜCrc{Ÿ´Î³¶60xü²:üùÏŠš?çáÛ¨.öÅ¢ý§}ž4ó|åÇü³«Ž¼/?^hð°7:¦³¨¾¯¡8‘4ù¼›7·<%ÉfmÇ÷½Gw­=[¬Ÿõèÿú6 ÌðŽ“}§yßmƒÉû=´d:·ŸöÏÁùwù‡ä<®Þ§5§«u“þ½ÿFÁIõr¾=ë¥×ÿÐÍuUÊø÷®•ÿ\ÿC4Cp–Ç¢xŸþBq׼ʩhßò³ÿ¶¿ú%êï‰ÿä'ý{Çüª–ÿ!Ë?ûkÿ¢^—Qô:Š(¢¨F†ÿä%âoû ÿí¼¿Xÿ—‰¿ì+ÿ¶ðVý=?ÔÍþòìôÊz©›ýäÿÙé”V†ÿä%âoû ÿí¼¿Xÿ—‰¿ì+ÿ¶ðPý=?ÔÍþòìôÊz©›ýäÿÙè•“­ÿËøô­jÉÖÿå‡ü úV5ÿ†Îl_ð_õÔá¦ÿ}¿ERÜÿÇÔßï·ó¨¨Xÿ—¯ûvÿÚõ&…/—¥Ëû©äÍÛÿªäÇîâë´~5±ÿ/_öíÿµë¤g]öŸúu¿ÿÀ)¿øš>ÓÿN·ÿø7ÿ\\,ußiÿ§[ÿü›ÿ‰£í?ôëÿ€Sñ5ÈÑEÂÇ]öŸúu¿ÿÀ)¿øš>ÓÿN·ÿø7ÿ\I½ÅÜþM´&Y :®3– uaEÂÇUöŸúu¿ÿÀ)¿øš>ÓÿN·ÿø7ÿ\÷ö6©ÿ>_ù1ÿGö6©ÿ>_ù1ÿNìGCöŸúu¿ÿÀ)¿øš>ÓÿN·ÿø7ÿ\÷ö6©ÿ>_ù1ÿGö6©ÿ>_ù1ÿEØÚéÖÿÿ¦ÿâj+©%žÚH :­¤Ž0'‚Å˯®7ÆÃ‘‘Ó¿<Öö6©ÿ>_ù1ÿGö6©ÿ>_ù1ÿEØþŽÿ¡‡ÅøŸüGö-ïý >+ÿÀ$ÿäzoö6©ÿ>_ù1ÿGö6©ÿ>_ù1ÿEß`4ô{Hôm5,¢T™UäÉ5”›ÙÙØ±Õ@*žª¯åùщ.¤eÆÈHòáÃzƒùTØÚ§üùäÄ?ü]ØÚ§üùäÄ?ü]-Fki3yz-˜òn_ýiÌVòH?×IÝAoí?ôëÿ€Sñ5ÏcjŸóåÿ“ÿñtcjŸóåÿ“ÿñtõÐý§þoÿð oþ&´ÿÓ­ÿþMÿÄ×=ýªÏ—þLCÿÅÑýªÏ—þLCÿÅÑvCöŸúu¿ÿÀ)¿øš>ÓÿN·ÿø7ÿ\÷ö6©ÿ>_ù1ÿGö6©ÿ>_ù1ÿEØÚéÖÿÿ¦ÿâhûOý:ßÿàßüMsßØÚ§üùäÄ?ü]ØÚ§üùäÄ?ü]`t?iÿ§[ÿü›ÿ‰£í?ôëÿ€Sñ5ÏcjŸóåÿ“ÿñtcjŸóåÿ“ÿñt]Ðý§þoÿð oþ&´ÿÓ­ÿþMÿÄ×=ýªÏ—þLCÿÅÑýªÏ—þLCÿÅÑvCöŸúu¿ÿÀ)¿øš>ÓÿN·ÿø7ÿ\÷ö6©ÿ>_ù1ÿGö6©ÿ>_ù1ÿEØÚéÖÿÿ¦ÿâjŽ¢^Xæ[ܤijÊZ[wŒdËXCùVgö6©ÿ>_ù1ÿQͧ_[©i­‚(‰óãb@ÎÔÓ¸¤jå|{×Jÿ®ÿ¡šê«•ñï]+þ¸?þ†iÃp–Ç¢xŸþBq׼ʩhßò³ÿ¶¿ú%êï‰ÿä'ý{Çüª–ÿ!Ë?ûkÿ¢^—Qô:Š(¢¨F†ÿä%âoû ÿí¼¿Xÿ—‰¿ì+ÿ¶ðVý=?ÔÍþòìôÊz©›ýäÿÙé”V†ÿä%âoû ÿí¼¿Xÿ—‰¿ì+ÿ¶ðPý=?ÔÍþòìôÊz©›ýäÿÙè•“­ÿËøô­jÉÖÿå‡ü úV5ÿ†Îl_ð_õÔáM¯˜éû¹! 7ÜÆã9íY:%¿´¶¾]*Ù,™­a‹)’9gX™B¯—†QçÆ S÷¾^u-´ûÙ&Š]^âÎéíäómµ³Áå¶ÇBNd}ÙW#¶=øÄpxgH¶{c ³¢Û¬j‘ äòÏ–FdݵÙB®aµyùF)hž0›Xñî—ý“ Q[yÙœ!?êæ1.s¯ÏµÈÚÍ÷A«²x‚eñtziдFÙg’çÊ'nã  Qþ¯«:ç1‚ÎÿO½¾Òõ-:rÖ·ok$l„¼ä ½X`zqŒ‘¸Zøðö«¦kZ•æ§6«'›wrÌcù†6@J¦Ý«ë ”tÿˆ2Íi«&§¡\隥…ƒj)g3’&€.rhÁÏÊAR |_æÝøN°ãþ gŸwþ£lK&>ïÍØÏ3T´Ÿ‡þDz”šÖ·y«__Y<Ý8Øb·+ª¤°ÝžKäóÔ±hto‡×Ú~³¡ê7¾%šÿû"7‚ ²ÇˆÇ±@¸a“–9,Ž1’ô®“ñ>çRM"êo ÜÛiºÚØ‹³r¤ ذPª@.¼ ·;‡%yfƒñU¾"Ô¼G¥}›MÓ®dŒË ªæ)Æ‚Ü(嘖'Ì'nOaÓN×Àfðχ´oí=ߨúŠ_ùÞF<í®í³¾_¿Œäôé@ø|’I¯Z\ê³M¢k=ÃØˆ•^)Ù‘¼Á(äà§ F:g<äÐ5!Ò¾$Ãc«™ìa‡PÓ줾ð_Gs±(ÿž±ä+g‚È{mxSÄ7Þ%±7Óè“iÖ’GÛ<Ó+²ì(UpOÞ•‹¥|;–ÆÇW‚ãT³•ï줳G¶ÑàµòƒŒv ÍÛÀqß‚:ÝOþÉÑ,4ß7Íû%´py›vïØ¡sŒœg3IØ ´QE (¢€ (¢€ ËÕºÉÿ^ÿ£`­JËÕºÉÿ^ÿ£`¤Àç«•ñï]+þ¸?þ†kª®Wǽt¯úàÿú¢„¶=Äÿò‹þ½ãþUKFÿåŸýµÿÑ/W|Oÿ!8¿ëÞ?åT´oùYÿÛ_ýôº¡ÔQEB0<7ÿ!/ØWÿmà­úÀðßü„¼Mÿa_ý·‚·èéþ¦o÷“ÿg¦SÓýLßï'þÏL °<7ÿ!/ØWÿmà­úÀðßü„¼Mÿa_ý·‚€7ééþ¦o÷“ÿg¦SÓýLßï'þÏ@ ¬oþXÀ¿¥kVN·ÿ,?à_Ò±¯ü6sbÿ‚ÿ®§ âOùüÿaë_ý WI\߉?äcðgý‡­ô1]%sOøqùžm_àÃçùm*©w £$œIRÛÇÔ?ï¯ó®óÛöI½þû_ñªZ…Ü[[-ä«\Èb„¸³g#Œã…''ÌWñ=Þ8¬ 3)ó$•wâ-嵆¥¢\ÝÌÀšŒ»¤s€3 sõ"³çÖI-Qµ|<©a£ˆNüÜÖ_á·ùöŸüöÿÇOøQý§gÿ=¿ñÓþÁÿÂ_áßú ÙßÑGü%þÿ Í—ýý‡µ«ü¿ãýgüŸƒ;Ïí;?ùíÿŽŸð£ûNÏþ{ã§ü+ƒÿ„¿Ã¿ô²ÿ¿¢øKü;ÿA›/ûú(öµ—ð¬â?“ðgyý§gÿ=¿ñÓþiÙÿÏoütÿ…pð—øwþƒ6_÷ôQÿ ‡è3eÿEÖ¯òþõœGò~ ï?´ìÿç·þ:Âí;?ùíÿŽŸð®þÿÿÐfËþþŠ?á/ðïýl¿ïè£ÚÕþ_À>³ˆþOÁçöŸüöÿÇOøQý§gÿ=¿ñÓþÁÿÂ_áßú ÙßÑGü%þÿ Í—ýý{Z¿ËøÖqÉø3¼þÓ³ÿžßøéÿ ?´ìÿç·þ:¸?øKü;ÿA›/ûú(ÿ„¿Ã¿ô²ÿ¿¢kWùúÎ#ù?wŸÚvóÛÿ?áGöŸüöÿÇOøWÿ ‡è3eÿEð—øwþƒ6_÷ôQíjÿ/àYÄ'àÏFFŠêr¬2µ-2ÞcŠA‡E Ã=ëO®¥±èŶ®ÌMcþ^¿íÛÿkÖ-mkòõÿnßû^±i2‚Š(¤EPZžÿ¤ßõèÿú2:Ë­OÈRoúôýÐÔ±ÛÉ*nP1œd°΢©Ïüx¯ýu?ÈUˆ>É7¢ßkþ4}’oDÿ¾×ük˜ñ‹ôïiòðù“¾VÚÙ[3z{(ÈËv÷$x¿Åúwƒ´ƒyx|Éß+ml­‡™½=”de»{’oÎËksio3¢Ëw!ŠÜ vÎztùQŽOz‘V>É7¢ßkþ5©ÈÕáoúüŸÿI'­ŠŸì“z'ýö¿ãHÖ²ª–m@É&EÀýk™ñ‹ôíRÒôɨj71CØ*¬áLè£'¤`w#nëþ=&ÿ®mü¨xãÂû#f×lcódU–Pµ€e%[dyèÿ„ç¿ô0é¿ø¿ãOø#ÿ"u×ý|Aÿ¤6µéu\¢¹æ?ðœøWþ†7ÿWühÿ„ç¿ô0é¿ø¿ã^E¡sÌá9ð¯ý :oþ¯øÑÿ Ï…èaÓð%ƽ:Š9Bç˜ÿÂsá_útßü _ñ£þŸ ÿÐæÿàJÿzur…Ï4‡Æ~¸š8a×tù%‘‚"$êY˜ð©5Ò)Ôઃè]Æ·ïÿäsÿ\ŸùÄÔÿãõ¾‚“Vd_d›Ñ?ïµÿ>É7¢ßkþ5Ì]ø¿N°ñ”¼>D÷VÉ5´Ìß$ŒY—Ëöo”c×8àã= 6Yoç±GF¹·Ž9e@ÃåW,žœìn:ñî*ÇÙ&ôOûíư4ÏùüGÿ^vúÍW´ñ~sã CÃ#PµØÑn.Æ®Jÿ´2r¾ƒ#<à§û$Þ‰ÿ}¯øÕké#Ó`YîäHãic…NàÙw`Š09å˜n§ŠÁ´ñ~sã CÃ#PµØÑn.Æ®Jÿ´2r¾ƒ#<á|]ÿ Ûû ØÿéDt¿Yz·Y?ëÑÿôl©Yz·Y?ëÑÿôl˜Îz¹_õÒ¿ëƒÿèfºªå|{×Jÿ®ÿ¡š!¸KcÑ™ÖÔ¶ßñõûëüê*d±‰¡xÙC©RѹFôe ƒî"»Ïlä~"é—ú”VbÆÆæè¤Ž\A>ÜãÀâ¬øú(gÖ48î-จê2îŠx–DoÜKÕX}ygþÍ×RÿÁ­×ÿ§Càý¨nwrI οžP¤©\íg#8b:w¬ù,å$õfÕñ«†Ž+róYÿŠßäbÿehÿôÑ?ðWoÿÄQý•£ÿÐDÿÁ]¿ÿ[ {mF’ú;´ºÉk˜ãqyÝ ÜnÎ’q€(ÓžÚöùí$±ò,­î˜ùÖS +† Ã_p<ŠÇÙVþoÅž?Õ±Ïø³û+Gÿ ‰ÿ‚»þ"ì­þ€'þ íÿøŠ·ªjÚ~—­f¶4ŽßdÙ"y…?;Dw0R©·nFâ7g«nÀš\š„ºB,2isj–j—LÍ$Qª±|£Ëb$Nñ÷¹àdöU¿›ñaõlGóþ,oöVÿ@ ÿvÿüEÙZ?ý4OüÛÿñ¥á›˜uû›‰tß³y7-áå"M n#ÌDn²WªÈÿ„«N'TA¤¸›O‚þfGœ¯˜¶Î¨ÙrXnÇ Œ9ÆhöU¿›ñaõlGóþ,—û+Gÿ ‰ÿ‚»þ"ì­þ€'þ íÿøŠ°º—üS·:ìš* !`×öÅ/ g@›ÂÈ ŒAwxnx­i× s¢]ê7Z<ѽ¾ò-àYÌ’PØU–8رèÏ~¸=•oæüX}[üÿ‹3²´úhŸø+·ÿâ(þÊÑÿè¢à®ßÿˆ©tÝnÎöîÖÑììÌó\ˆ[_|œÅ,˜ueWG ²®29$0 ‹]‚MFHŽ‚ÖÖ eûS ÷rÛ&ÔÛ‚7Då†q»žÊ·ó~,>­ˆþÅþÊÑÿè¢à®ßÿˆ£û+Gÿ ‰ÿ‚»þ"«ËâQj2®º+[“mó.zÂå`ê +ܶ¸Æ Î:=¶¹¡[jOcö?qT9C® %XÃ*8aG²­üß‹«b?Ÿñf?öVÿ@ ÿvÿüEÙZ?ý4OüÛÿñÖfYÿÏüxÿÙ–óÇÿ?ãG³­üß‹«b?Ÿñeˆdy¡ŽY]Ô3u'­>‘"*(¨ÀÔµÒ¶=¦•™‰¬Ë×ý»ízÅ­­cþ^¿íÛÿkÖ-&PQE€(¢Š+SÃßò›þ½ÿFGYu©áïù Mÿ^ÿ£#¡:’s*éL`Dyƒ1Ew*¬ÛF  ÷Áúާ?ñâ¿õÔÿ!VIò/ŒoõËÿ^?ˆ•ãÔQ¼¶„Œ,*9 ƒŸ— ‚sœäç$ñþ¹â‹Çñ¼zŠ7–Б……G!PsòàäNsœœäýãïÙøÏO ¥-õX‹{’8#®ÇÇU'ñRr;‚xûÀ6~3ÓÃ)K}V"ÞäŽë±ñÕIüTœŽàÕÅcgRÿ‘«Âßõù?þ’OVõyut‹¹4›xn5Œ˜"™ö#7`Oôã=2:Šš—ü^ÿ¯Éÿô’zØ©ò¶w¨ß|NÒîug™õÕ óÌÃJ ‚?‡Æ8Æ1Æ+êK¯øô›þ¹·ò®Oľ³Ö¼E¥x‚Ô¥¾¥gw ³6>[ˆÑÔØþ ð<`¯Yuÿ“×6þTÛ¸##àü‰×_õñþÚץך|ÿ‘:ëþ¾ ÿÒZôº´HW/®XYêþ2ÑôíJÒ Û§ÞÎm®cFdY-•_kdnÜÔoS]Egêz-–¯å¥d‹!&¶¹’ÞE]ñ²¶Ó…%s‚UIþ ù|>ñ#‡P¾‚$#.åDE•UU@ åü=agk¦ü>Õmí ‡RÔü¿·ÞGY®÷XM#y®9|º«Ä唢»Ëm.ÒÎÞÚÞÝ$Ž;w.e™ˆmÅÎs!%™‰|åŽã–æ©Øø_IÓ¯#¹·†pÑgÈŠK¹d† ‚?u1Hð¤¨Ø£ JŒElQE^ÿþA×?õÉÿ‘¬MOþ?[è+nÿþA×?õÉÿ‘¬MOþ?[è*d4|ãñÓþGk/û'þŒ’½;ᆡâGÂ0ͯÅè-g‘›Ìí Ä nѼò2¤L0ÑÆ ~éHÇ ´|«ýÑz(2çO½ŽieÒ.,í^âO6äÜÛ<þclDbDÛ…@;çÛœÆþѤ3³X¦éàžÞV Áž9œÉ"“œà±$zdã5¯Ed/†t„‚æ³;Cq[´o<Œ© 4q‚ߺR1Âm*ÿtaŸØ·0ÿ¢ÚÝBúd¿ñóo¨$×’H 7 WŒ žsŠÚ¢­áM%ãUd¼gY«9¿œÌVP»÷íßåÎ>vã“OO éߋնq0bäyòlfóPY7mbGav“Æ01¯E2Ã:\rÊëÉOö†¯&hÄžh›pBÛT︸èH­,¡h­Ób4’JFIù˱çÕ˜ŸÆ¦¢€ (¢€ (¢€15ùzÿ·oý¯Xµµ¬Ë×ý»ízÅ©c (¢Q@jx{þB“×£ÿèÈë.µ<=ÿ!I¿ëÑÿôdt gCYÚ”ZÜ쉦êvV(Ë,ÖM33zî(ã¼úhÑV#ì*ÿ¡ƒMÿÁSñú>Áâ¯ú4ßü7ÿ­ú(˜—Dñ$×Ö7¯éÆ[)H¿âVØËFñœþÿžŸ¨J±öÐÁ¦ÿà©¿øýoÑ@`ñWý oþ ›ÿÓ_MñK£#kúiV#û)¿øýt4PO iÐøWD‹O´’bÁcóåG›"Æ‘îÁnV5àÝÎIÚþÔ›þzÍù§ÿT(¢ìV/ÿjMÿ=füÓÿˆ£ûRoùë7æŸüEP¢‹°±ûRoùë7æŸüEÚ“ÏY¿4ÿâ*…]…‹ÿÚ“ÏY¿4ÿâ(þÔ›þzÍù§ÿT(¢ì,]“P’XÚ7’b¬ ‘”äøsš„>&»¿šxu­:Y—i¬å°-ç œu8ô+ZŠ.ØÁâ¯ú4ßü7ÿ¨.4-zý­’ÿ\±’Þ¨n"ÓY¼¹À çgn:µÓQ@eêÝdÿ¯GÿѰV¥eêÝdÿ¯GÿѰR`sÕÊø÷®•ÿ\ÿC5ÕW+ãÞºWýpý Ñ Â[‰âù Åÿ^ñÿ*¥£ÈrÏþÚÿè—«¾'ÿœ_õïòªZ7ü‡,ÿí¯þ‰z]GÐê(¢Š¡qz‡…®'_Gë½FÚKkTÛóÛD£çÆñó«  ÆqÞ»J(›Ôu MoOŸHK›k-u—Ì·²¹¹ŒÍéûÈ™•²U|sÇQÔW?«ø^îþîÎöóK¹¹iZòk…-$xÙÚ ²Üf<¬Qª™å:œ’}Š.#…Ñü±xŠò÷R±†âÞ÷íždrÅEÝt$MØ]ÒnPŒ7³câtü6tŸ hšF‹u.§jr[CæÚù±¤’ÌT!8çbËŒŒäŽõÓÑEÀó‡ð]ý¯Ãí?K´·ßyåË%Äx†=’=Œ±c*7ÎÊ7Äç%ˆ_Ëe¯ÜjÚ„Ö}Å”=ÅÔð*[²I?!ëæ&6îûÃ8æºz(¸D–3j^(‡WÒâ¶¾¶šxuhåH¢M¡Ö)QÖHÉÛ (ˆÅ¹ÚAYòèZµÞƒ [Ï ÌÿÙöQÛ\ÛK$ çlžÍØ/ÎT«,RãqwœdgÑè¢àyÞ¥á{»¨ôqq¥ÜÏ {ˆ-ÒÒF·Y&F†=·@1·äÎ6à½t<9ák+Åw:´ÑÇ×ÛrBľ^ë­ë’£|›Ói‰Ùµ‡ñ½¥\Š( aEPEPEPEPEPEPEPEPEP&±ÿ/_öíÿµë¶µùzÿ·oý¯Xµ,aER¢Š(­OÈRoúôýeÖ§‡¿ä)7ýz?þŒŽ„ èjtHE¸’@ä—+ò;oz‚§?ñâ¿õÔÿ!VHf×û“ßCü(ͯ÷&ÿ¾‡øTã¾:øÆyšo…¤Ýp’m’üª´` q9 “‘¸Œ`qœ‚¨Ó›_îMÿ}ð¬jÃGÒ£¸´ˆ´¯woïNT•QŽ9Á8ç®:ô¨|+4·Ñ'žG–i, w‘س3Ô’IêIª>8ÿ¿ý„lÿôzP2Þ’ÿÁŒßübìÏχ‡¿ðc7ÿ®ÇKÔ¡Õ¬î‘wãÑÈŽQÐà‘•eeÈ$d0k/Nñd„ö?ñ.¾·´ÔãÂöo+˺ù ‹´+—\Ƭãz¯ €NTfögŽ?çÃÃßø1›ÿŒQý™ãùðð÷þ fÿãÞÑG* ³‚þÌñÇüøx{ÿ3ñŠ?³ÿÁŒßüb»Ú(åAvp_Ùž8ÿŸàÆoþ1Z°ÀbÓá{åä–YVÊ+‚ u }Jê+ûþ=×þ»Ëÿ¡šM$ •³kýÉ¿ï¡þf×û“ßCü* ð¯|cžÇýÅ2Muoò¬7Š¡¤‹ Ã÷eÇ;¹lçïg„3ß3kýÉ¿ï¡þ•â MtËym¢-$·¶Öÿ½l€²LˆÇáŽ=ñ×¥[†h® Žx$Ia‘C¤ˆÁ•”Œ‚ê¬?È6Ãþ¶?úQ!›õ—«u“þ½ÿFÁZ•—«u“þ½ÿFÁIÏW+ãÞºWýpý ×U\¯zé_õÁÿô3D7 lz'‰ÿä'ý{Çü«)VUÛ¹Ar†*T‚ ‘Ï­lxŸþBq×¼ʲmà–îî+h|±$…°dbaKàÑ})=ƶöŸúu°ÿÀ(øš>ÓÿN¶øÿWá¾ÿžö÷òOþ7Gü#×ßóÞÃþþIÿÆèÔ _iÿ§[ü‡ÿ‰£í?ôëaÿ€Pÿñ5wþëïùïaÿ$ÿãtÂ=}ÿ=ì?ïäŸün@¥öŸúu°ÿÀ(øš>ÓÿN¶øÿWá¾ÿžö÷òOþ7Gü#×ßóÞÃþþIÿÆèÔ _iÿ§[ü‡ÿ‰£í?ôëaÿ€Pÿñ5wþëïùïaÿ$ÿãtÂ=}ÿ=ì?ïäŸün@¥öŸúu°ÿÀ(øš>ÓÿN¶øÿWá¾ÿžö÷òOþ7Gü#×ßóÞÃþþIÿÆèÔ _iÿ§[ü‡ÿ‰£í?ôëaÿ€Pÿñ5wþëïùïaÿ$ÿãtÂ=}ÿ=ì?ïäŸün@¥öŸúu°ÿÀ(øš>ÓÿN¶øÿWá¾ÿžö÷òOþ7Gü#×ßóÞÃþþIÿÆèÔ _iÿ§[ü‡ÿ‰£í?ôëaÿ€Pÿñ5wþëïùïaÿ$ÿãtÂ=}ÿ=ì?ïäŸün@¥öŸúu°ÿÀ(øš>ÓÿN¶øÿWá¾ÿžö÷òOþ7Gü#×ßóÞÃþþIÿÆèÔ _iÿ§[ü‡ÿ‰£í?ôëaÿ€Pÿñ5wþëïùïaÿ$ÿãtÂ=}ÿ=ì?ïäŸün@¥öŸúu°ÿÀ(øš>ÓÿN¶øÿWá¾ÿžö÷òOþ7Gü#×ßóÞÃþþIÿÆèÔ _iÿ§[ü‡ÿ‰£í?ôëaÿ€Pÿñ5wþëïùïaÿ$ÿãtÂ=}ÿ=ì?ïäŸün@¥öŸúu°ÿÀ(øš>ÓÿN¶øÿWá¾ÿžö÷òOþ7Gü#×ßóÞÃþþIÿÆèÔ _iÿ§[ü‡ÿ‰£í?ôëaÿ€Pÿñ5wþëïùïaÿ$ÿãtÂ=}ÿ=ì?ïäŸün@¥öŸúu°ÿÀ(øš>ÓÿN¶øÿWá¾ÿžö÷òOþ7Gü#×ßóÞÃþþIÿÆèÔ _iÿ§[ü‡ÿ‰£í?ôëaÿ€Pÿñ5wþëïùïaÿ$ÿãtÂ=}ÿ=ì?ïäŸün@¥öŸúu°ÿÀ(øš>ÓÿN¶øÿWá¾ÿžö÷òOþ7Gü#×ßóÞÃþþIÿÆèÔ /rï „GhX1@‘䌠g©üê·u¦Ïf¬e–Ùö•DÎHÝ»Tànýª¥ (¢€ (¢€ Ôð÷ü…&ÿ¯GÿÑ‘Ö]jx{þB“×£ÿèÈè@Ά§?ñâ¿õÔÿ!PT’KV($‘2670àU’bx—ö~)ÑdÒ¯¥¹Ž Xµ¼›*r=AÄߨ|Ûâÿêþº?l‹Í±y AxŸrN223•lv>‡šú“íVÿóÞ/ûìTk¦ßÚ½­âÚ\Û¾7Å0WFÁÈÈ<@?… Ø(ø?þDþÁÖÿú-j§Ž?äoÿa?ý•³f,,,mìídŠ;{xÖ(“ÌÎÕQ€2NO½aøÖh¤ÐíÂJŒ´lÎÿ—„¤3·ð'ü“Ï Ø*×ÿE-tÍø.xm| áë{‰c†x´Ëd’9+#”AäxÅn}¾Ïþ~àÿ¿‚µ ±EWû}ŸüýÁÿo³ÿŸ¸?ïà  Íër;ÅZV­5½Ü–qY]Û;ZÛIpË$nÈ F¬Ø"'ù±€ Œî}¾Ïþ~àÿ¿‚·ÙÿÏÜ÷ðP?…ƒÙè±­ÄÆ×š…äÑ+BÙ ,óL…Æ?w” üøÁ!Nâ¹ýg’ËÁGد£»Ñ6}¿Î³–8ãÙg,-¶VP’~ñÔ ŒÙ#* ®ãíöó÷ýü}¾Ïþ~àÿ¿‚€,QUþßgÿ?pßÁGÛìÿçîûø(Å_íöó÷ýü}¾Ïþ~àÿ¿‚€,V÷ü{¯ýw—ÿC5¯öû?ùûƒþþ Ä¿žµšXÀi¥*KFóÒ¥ëäŸ øSWñeóZé6Þg—´Í+¶Øâã,3’@8õÚ­ÿç¼_÷تZU–¢X­ž™¥­ºãäˆ¸à ±êÍ€2NIÇ5)Øm¾ ðmŸ‚ô·³µ¹¹¸i˜I3Êÿ)} ¨8Qǹè 8—Åßò °ÿ°­þ”G[_j·ÿžñßb°|W4Riö!%F?Ú–' ÀÿËÄt èë/Vë'ýz?þ‚µ+/Vë'ýz?þ‚“ž®Wǽt¯úàÿú®ª¹_õÒ¿ëƒÿèfˆnØôOÿÈN/ú÷ùU-þC–ö×ÿD½]ñ?ü„âÿ¯xÿ•RÑ¿ä9gÿmôKÒê>‡QEU(¢Š(¢Š(¢Š(¢Šò¯^]ÂĆËí>(û'öJÍäx}Ï™¿Ía¹—¦ÜpO\í­E’ëOñ€,¢¿ÕÚÞæ;Ù&MBbf“1U˜t,¥°éŠë¿°­á)ÿ„‡Ì›íbûÌ/fýùÆ3»>øÇjTÑmîõm;[e¹’ëJYÚÞY@”È›H;±Î2Œõ4î#Rh–x$…Ë…‘J’ŽQ€#0 ƒîEyUŽ»ªê:~áYu ŸíUÖ&²Ô.–B‚hm~yd\>J´`6$6HÎO Ã¬_K IâmRçJ»’Æâæ8>Ò—zJ±lÜ£ @`Àr2=ˆçSLø{¡é°jÐ0¹½‡VXÅÚÞKæoeçÎÜY‹ž‘Œ ›Lðûxe.nâ¿ñ·3(U‚êøH@Ï;CL÷$œàqÔ‚h¾±öïìKÿìÏù}šO³}ßõ»NϽÇ\uãÖ¼ÇÁ7wPø›G·½Ôü]mwqm ž×Zˆ´N¨ ˜œ¦Ó–É c#8>‚neÖ#—M¿ðÔoÏ4°lÚT‚—)nzp;öëYš'ÃÝ;EÔìïÿ´õ{ç±£´Žöë|vá”)Ø  |£éŽÜ rþ ×ïåµðW3Írú‡ö4×—>Yb¹ù¶·§Îã ߌ¼C®IáýFO°è7ºôÛKÁYŠ²Ê à«Ü–AÎTžÓKð.™¤ÿ`ùÞ7ö'Ú>Íæ:þvwoÂŒãr¹ËR«´c#ƒÎIü(Ð :(¢ÂŠ( Š( Š( Š(  Mcþ^¿íÛÿkÖ-mkòõÿnßû^±jXŠ(¤EPZžÿ¤ßõèÿú2:Ë­-¶jS¶ÉòÆ…Øþò.€MÑÖ}þƒ£ê“¬ú†“cw2®Á%ŲHÁrN2Aã$þugí?ôëÿ€Sñ4}§þoÿð oþ&¬Fgü!þÿ¡sHÿÀ¿øš?áðÇý šGþÅÿÄÖŸÚéÖÿÿ¦ÿâhûOý:ßÿàßüMfÂáú4ü‹ÿ‰© ð·‡­n"¸·Ðt¸g‰ÃÇ$vq«#A ƒÞ¯ý§þoÿð oþ&´ÿÓ­ÿþMÿÄÐÏ´Ïÿ=äÿ¾Ía>¹­7F—N¤sÍ \²³™@ËcÂ?|íëZ?iÿ§[ÿü›ÿ‰¦‰gyÅ…à™ÕQ¤îe ÙÈ›SëEÀ©gâ+é|o®HC\>œ·ŸåFXǼÌp«ž2O­swÞ<×4ë)ÖIc’öwt’Òkr˜¶¸)Rì¬7Ûãz;+ ÀcŽä:L6SÆt´Ô´ËU`ïge¥ŠVÏ%³ l8#€1޵4ZV¡´‡Ãþ]±fs i.³)F;Bc%ISê (¸ŽOOø¯^Øêr1‚7¶IhÙ!–^n‚y„¢¾çÆãµW æ¶¿á/ÖãÑ5«„]Úh0j&'»gu˜²0- Ä:ŽyôÙÖ*\"`]•Ø6O™ƒ™?'$;3ö‰=MGsa¦^Ý «½ 縘D²énϰ‚ ä¦vÌéÉõ¢àW‹_×,|-©jš¼R ‹8å™aÂýQ7òË(ä‚3Ÿø«.5¯Z\[é’jZ|··sªG2G"ˆ”Ç+åáó ù$¼d±ãäù“ ”ñ-5-2ÕX;ÙÙiA"•³ÉlÂ[$à c­LšVŸ.Ÿ‡öYJÛä¶]%ÄnÜrWf ùGä=(¸W^5Õ Óf˜ÌÐXjs1;ö¼¶’¬`»…bX•É# nã$›Æº·ü&2x} p™.Ì·½÷¨´óŸ*rŽÑw•ð9ÖãÛX¼Ð>‘3CjÊöñ6B°²Œ)A³å tÇJ~Ë_;Îþ̹ó|Ï;öt¹ß³fììûÛ>\õÇ(¸ÓøŸÅ©§ÛIö·77:¤Ö)¬X¼ð͇¸PIòAûË€OÞ8§Øø·ÄÓxº2æ0–ž`†Y [0ÂÕ%`ÏoŸ{+|¡ˆcµˆÛ¹°Ó/mE­Þ†óÛ‰ Â)t·dÞI%°S‰f$õäúÔÛXÛˆÄDÑØ:Ód]¬Ëa8!>_÷xéEÀÕûLÿóÞOûìÖf£¢i:ÅÂÜjze•ôêK›u•‚äœÀœdž=ÍOöŸúu¿ÿÀ)¿øš>ÓÿN·ÿø7ÿ@ÌÏøCü1ÿBæ‘ÿ€1ñ4Âáú4ü‹ÿ‰­?´ÿÓ­ÿþMÿÄÑöŸúu¿ÿÀ)¿øšÌÿ„?Ãô.iøÿO‡Â¾·ž9àÐ4¸¦ƒ¤‰g²°98 Ö‡ÚéÖÿÿ¦ÿâhûOý:ßÿàßüMOYz·Y?ëÑÿôlwí?ôëÿ€Sñ5GQ/,sH-îR4µe--»Æ2e‡,¡ü©09úå|{×Jÿ®ÿ¡šê«•ñï]+þ¸?þ†h†á-Dñ?ü„âÿ¯xÿ•RÑ¿ä9gÿmôKÕßÿÈN/ú÷ùU-þC–ö×ÿD½.£èuQEP‚Šå ŸÄ:¦§«¥ž©ckogwötIlZV?ºòXH¿ßÇNÕkì*ÿ¡ƒMÿÁSñúߢ°>Áâ¯ú4ßü7ÿ«ºU¦µîu=RÒêâ8,Œ'vÒA,dn8éÇÔJŠ( I×µ+/øoQ×µHcMBåZiæ–0žSZ»¨'Ë@Ÿ:Ž9=·â·|IªÞh‚Þú^ê ²Äöª1¾B…â;°H%“Ê»L:ݪZ~—o¦ùžD—æc?i¼–|c=<ÆluíŒþàoµÝoO¼×mäñ³Ï§Z?—K rJëd²y‚$³ ä·úÀÁ ƒu.¢'µ‚9n”mvy£C¼(Ç;@ÆN1År¿ð–jW  ´×³iv7òj_kžx£ŽKDŠlE¸¸*Œ>XÎàA/ŽX‚7me«]\Ãsx]ÝÁYn¤’0 gåFb«ÓŒÀâ¬ÿiÞÏoüt…aõˆ-,q¼m4ífaëºíí¹ÑRÛÄvÐÁqË›»‰b´[¡ÜðÈ ÚÄüªþòáp+_Åú­Æ—ö6[ï±Z6ó4‘Ér³ »Uu1wbU™X…Ê“µÒÓ/'¸¹d–MÊœ`r*ÆŸ¥Ûé¾g‘%ãù˜ÏÚo%ŸÏO1›{c?…k ©«£¢•ER<ÈåmüUs4QIx‘j+§jñ¬rÇ¢ÐI˜‰b£t²IÁ8ÝÀ¬»oj’ø2KÈõ¤¼9ÞýÌ(°Í4¡gˆ°BŠvŸ™Y—~NxétU\Ðó…Öu÷Õ4áo¬C=Šýí3Ås Ñ·›s2™mÁ}Á1·fÖ œÌ=Š(¢Š(QEQEQEQEQEQE‰¬Ë×ý»ízÅ­­cþ^¿íÛÿkÖ ìRÞFS†T$Â¥Q]¾±ŽWO´_¬F|ÈÿøÝ7þëùïÿ#ÿãtX.sÔWCÿõü÷¿ÿ¿‘ÿñº?á±ÿž÷ÿ÷ò?þ7E‚ç=Et?ðXÿÏ{ÿûùÿ£þëùïÿ#ÿãtX.sÔWCÿõü÷¿ÿ¿‘ÿñº?á±ÿž÷ÿ÷ò?þ7E‚ç=Et?ðXÿÏ{ÿûùÿ£þëùïÿ#ÿãtX.sÔWCÿõü÷¿ÿ¿‘ÿñº?á±ÿž÷ÿ÷ò?þ7E‚ç=Et?ðXÿÏ{ÿûùÿ¬ˆn|q]ßÅU´­>ÛR»ñ$W*ä.¯½97Fû4#*êC)Á#‚2  ­“¢iæÍ- /ä*²…8ä°räç&MÊH~pÙ ä’A±k:ÅάúrØÇ{Jd»kghÝQ-Û/0'í gyÿVxù¾^ƒBÔ?µ´­;Rò¼¯µÚ ü½Û¶oˆ¶3œg®*‘ðΖ`HÄw*ÊÌÞz^L³± ºPÛØ¨0X‘º1¯i Vâ( "†8Ù4Pªª€QErv–—úÆ­­“¯êv‘ÚßyEmäí äÆÿÇåÏzu”Vü#w¿ô5ëŸù-ÿÆhÿ„n÷þ†½sÿ%¿øÍoÑYºN=•÷›6µ¨ß)Ç•uåmi;¾HÔç\sÓ¥iPž6­w&²Äd¹Ô.,Ò „:Ì¿9}Ø`|£ÆÑÓŽa¸Õ®ã½¸t}’Úò7ˆ¡.æO/ç» š8Ús´ò3ƬÚUœZÌ÷i <×p¦F(¬IË*µXää€ ÜÞ§5Æb.#˜Ç)tÚpÓ¹We+:“‡a…ù˜òŽxóäãÌÏ r;$ð~­wy¨Ú‘PÓÚò% ˜@1|ŒKç÷£îž9㸮[ÃZUŽ£$–ñ²·”QCHÎ#\•$"ð8\ ÇS]tZqÐõ0:zQZ!EPEPEPEPEPEPEPEP&±ÿ/_öíÿµëçþ=fÿq¿•oëòõÿnßû^°.ãÖo÷ùT±£¿¹ÿ©¿ßoçQT·?ñõ7ûíüê*¡Q@VÿR°ÒàYõ ÛkHY¶ .%XÔ¶ ÆIàʲŒôPNÙ/e^ÒC§\HŒ=U• °=ˆ$Ô¯a6–æý„ž2ðùÏŸ¨¥—§Ûã{]ÿîù¡wc¾3ŒŒõ»@&žÁESQEWü+ÐoçÒt}Bm'Ã2i¡¤qröÌoƒ+¾Ó¸¹=õëÕ ¥­…ªZÙÛCmn™Ù(''p9$þ4\G#ðïþf¿ûï?öJ‡â‡Ù~Ãá¿¶ù?dþÞµóüüy{0û·g¸ÎsÆ+wV1hpyöš†‹¢Ã<ìóÉyn6Í+ ç"Hþbç9'Õý¹¥_Äðkí±n<>G‡îZ,ŒÀŸ1\xe8Æy Ñ{j&ÒÜåä›L·ñG‹'𔉄~‘ç“Nb°-ÐÉB ü¡‚tÛþ×}ÕŠ5¶ÿ„g@Eñ©oª oSQ±‘åg{±RÓH΄'ü¼“ÝÙë^ µ±šÉ>æZMð]Ú}Š9²0ØYCð8ÏÏQ[²húd¿có4ë7û>˺>F1œ|¸Ú½1ÐzS¸-v8_ ÝÏñH¼º2âãÁðË+à ÌÒ‚N“Ú½©Zhúe„‰%žglé… ¡mÅA…ÜIÇLœÕÚC (¢…Q@VÿR°ÒàYõ ÛkHY¶ .%XÔ¶ ÆIàʲŒôPNÙ/e^ÒC§\HŒ=U• °=ˆ$Ô¯a6–æý„ž2ðùÏŸ¨¥—§Ûã{]ÿîù¡wc¾3ŒŒõ»@&žÁESV^­ÖOúôýjV^­ÖOúôý&=\¯zé_õÁÿô3]Ur¾=ë¥×ÿÐÍÜ%±èž'ÿœ_õïòªZ7ü‡,ÿí¯þ‰z»âù Åÿ^ñÿ*¥£ÈrÏþÚÿè—¥Ô}¢Š(ªÌ.«{Öªö–¶¶‚ûìòO}¨KnÓËåFù!Q;YG\ü½0)á Ô?篃?ð{?ÿ®oÄÿòÖÿìeúGpµÅ_éO•#겎§Ã{yM§vºt={þ Cþzø3ÿ³ÿñª³£ë÷W>!‡N¸‡EušÒâe›M¾–ãiM€©Üª>`õéÛ"¼b»o†ÿò2Úÿ×ÿþÛQCêÏ• Íøzž ëÆm»¥Ó©éÕÄÛÜ\¦­©YÛ\½±¾ñçTº(±Y>]À®IŒAàžø#¶®gF³µ¿¸ñE­å´76ïªñLѱoƒÈð®ÓåDþÖ¾ÿ„WÎóÿÒ´³¼ý‹»oÛ>ÏæcwíùºmÝü8ùj­½æ©uâ |>uk˜Öݦo¶$pùòŽÕ€l¡Lfåú ?*ó×wNtÛ 6VÆ­Ö3íXˆÆ8Rr:p=*Ðtytø´ù4›²‰·ÇlÖÈcFç¸À?1üÏ­áËùuMJÔ'TY®¬–wT(f‡qÆsÆM]§Åþ¹Ýý©” ú6ŸæoÜ—;]q“Ï÷j?ì}3Öïþû_þ&³üUá1¯ÞÛ\jKfc·DÚoÝß9Þ=kþ·ýLw?ø ÿÛ+žq´´…þh꣖àjAN¥UúrÉþ)XÞß—‹m4ûe*kçv•l¬‘(`|íž½ºwÚ®VÊÀi^*Ñ4ñp÷>F‘x ®›Kfâé“ýìuí]-×üzMÿ\ÛùVÑV[XætáNNÝÒ{÷ó%¢¸mBÑσt½WR¸Ô‹Ëe²¸Ôî²îê¼W噎¨É$: »m¡xfæÆ[Ÿԣ‚ùÆ}NòNõw8!¾`8 ô Õë(®$YxLÀòuµee_!±ÞÀ…s¤|ýÓ O èÖ©sm&¤ñ>pN©v à‚ ™VAÁpE:j+Œ×’Í5]vöú«˜ì4ý8Å7ó[(2UîØsò¯P~ích‘éž"×íbŽ×P³¶û-Ëâv¾›úoÔôÊ+þÍ×RÿÁ­×ÿ£þÍ×RÿÁ­×ÿ«9Íú+þÍ×RÿÁ­×ÿ£þÍ×RÿÁ­×ÿ  ú+þÍ×RÿÁ­×ÿ£þÍ×RÿÁ­×ÿ  ú+þÍ×RÿÁ­×ÿ£þÍ×RÿÁ­×ÿ  ú+þÍ×RÿÁ­×ÿ¥O i6î³'öxÎõ©\ºäsÊ™#،ޢ¥¹ÿ©¿ßoçQP&±ÿ/_öíÿµëçþ=fÿq¿•oëòõÿnßû^°.ãÖo÷ùT±£¿¹ÿ©¿ßoçQT·?ñõ7ûíüê*¡r·šíÞ¦LzL¢Ú˶ ¥ZIqÿ<‘”®ÃÇÎs^vðêz„šLl~Åoòß cÍr–/tÚÛ˜pPdëL®jÕ¹}Øœ¬S‹ä†åKm.ÎÒv¸Žn™v½Ì¤É3Ž8i–aÀê{ØUº(®FÛÜómÝ…Q·ÓFšwèÒ5º˜àQä9ÿn/ºs–_€«ÔSŒœuCŒåx»ÚF·ý íkwÚߢï0¬›ÕÓ?y¸ €x20T¶½q—âuBâ–6ßÑœsœ€p¸*ôk·‡SÔ$Òccö+–øck¬±{¦ÖÜÀrƒ$oZesV­ËîÄàÅbœ_$7*[ivv“µÄpt˵îe&IœqÃHijSØ­ÑEr6Þç˜Ûnì*¾š4Ó¿F”é­ÔÇ!Ïûq}Óœ °Úø ^¢œdãªg(;ÅØÖÒ5¿ík[¸Öýy…dÞ®™ûÈÄ ÀdÀ ‘‘‚¥µëŒ¸·ªï±¶ø¦Œáâ~”ŸbFA‚$ýTmSOÌáVöÝ„7h€…YB«¼œ© ¬9Îg vҫεÜõðØj¬÷F¥Q[A\­æ»w©““(¶²í¨)V’\Ï$e+°ñóœä…ÁW£]¼:ž¡&“±[ü·Ãó\…e‹Ý6¶æ”#zÓ+šµn_v'+âù!¹RÛK³´®#€¦]¯s)2LãŽF%˜p:žÀvnŠ+‘¶÷<ÆÛwaTmôѦú4§Mn¦8yÛ‹îœàe†×ÀÀ`*õã'Pã9AÞ.ƶ‘­ÿh;ZÝÀ¶·è»Ì+&õtÏÞF n ŒŒ-¯\eŸP‡x¥·Å4gô ¤û0r$A ïè:£jš~g ·¶ì!»D*ÊXíäåHeaÎpÃ89¶•^u®ç¯†Ä{Ugº5+/Vë'ýz?þ‚µ+/Vë'ýz?þ‚µgQÏW+ãÞºWýpý ×U\¯zé_õÁÿô3D7 lz'‰ÿä'ý{Çüª–ÿ!Ë?ûkÿ¢^®øŸþBq׼ʩhßò³ÿ¶¿ú%éuC¨¢Š*„qú ×5¤ºäñê¹E …¾ÏÍûÈØçuÇ·'3ÿ½³ÿ ­ïþÚñŠÑðßü„¼Mÿa_ý·‚·ê\SÝB½X+FM/Vqÿð¯lÿè+{ÿ€öŸüb´´ [hÚÂ^¥õÜî°M ¤© "‡±Äq¯?»^µ½O‹ýrÿºÿúP¢–È'^¬Õ¥&׫\Žψ5-KVŽÊÿKµ·²»û:$ºX™›÷q¾Ko^îGNÕÓÖ†ÿä%âoû ÿí¼Fc¾Éâ¯ú èßø$ÿíÔ}“Å_ôÑ¿ðIÿÛ«vŠ¡¤Ã­ÃzN£©i÷0˜œ·ÓD içvöã¯^Æý>/õËþëÿè L QÑ­®5+™¤¸ÔK´¬NÝFá@ç ð  æü?§¥ö³â›{‹½IⱸµKuþÑœlWIKœ•^¹é]­×ü~Oÿ]ù×+á_ù|mÿ_v_ú.jãŒåïjy0©;OVtÞÑììõfºŒÜ¼ÂŒ4÷rÍ…,¤€ˆ*¿•t×_ñé7ýsoåY7ü~?ýs?ÌVۢȌ¬0ppq[PmÃS³ '*wnç-¤ØK¨ü7ÐaL––7¬Ñyr$g”Æpqœàã3èw÷šFµmrm¡›ZiÞ\"Û)·XARU|ÔS‚ï~_› ³³²°±·³µŽhííãX¢O4ª£d®O½OûŸI¿ïµÿâkc¤ä¥Ñµ‹Y5É"±ŽöˆGh·.Ѻ¢\.L¾X*OÚIÆÃþ¬só|»Z-„ºv›äÎÈfyæ¸p„•V–V¨'¾3œg8­?ÜúMÿ}¯ÿGî}&ÿ¾×ÿ‰ Å?wÅßöÒ?ôdÕ‹ð÷þCöÿõëyÿ¡Z×WxžÖnîo¦:²<ÙB€û±—ÙÎ>¼VN•ꪗécцaË€–—ys^þKK[˹µEeÉâm #†¸¹ 3¬ŒˆÌ°ìvFi®äq¹°§kp §ÿÂA£ÿlÿdù—Ÿkó<œyOåïòüݾg—³vÏ›Î+SÎ4hªWúÞ“¦Î°ÝKr­·{”Rëdò2¡¯ ó9ån~Sˆî|C¢ZXý²{™’ßÌš-üŸš!`&xIõÛÆr2£Ee¿‰tXí"¸g¿"Iþα-¼0“i}¦!õ;AnTqƒÐŠ!ñ.‹>¥ž~.d`€=¼ˆ¡Ì^nÂÆ0¡¶|ÛIÈôÍjQOýϤß÷Úÿñ4~çÒoûíøš2›'ú·ú—÷>“ßkÿÄÒ6ý4_þ&€sÿS¾ß΢§Jþd®øÆæ'ÚÄÖ?åëþÝ¿ö½`\ÿǬßî7ò­ýcþ^¿íÛÿkÖÏüzÍþã*–4w÷?ñõ7ûíüꆥ—¥Ýê«´6°<î¨bª¥Ž3Žp*ýÏü}Mþû:æüfHðÓ®NÙ.­bqÙ‘®#VSê ’î Þ„·esK¶–ÓN†;†Wº ÉpéÑæbZF8.Xã¯AÒ­ÑEyÝÜùæÛwaERQETv3}‡Å–n3åê5£Éi4±“ž€(œqÔºä¢J¥¨±†M:æ3‰¢Ô-‚7 ’E‰ø÷I~9€kJNÓFØyrÕ‹;ª«©_Å¥éwz„êí ¬;ªXª©cŒãœ µX3$xi×'l—V±8ìÈ׫)õIwŠô‡¸Ý•Ìm.Ú[M:î^èƒ%çG™‰ità¹cŒ½J·Eæ7wsç›mÝ…UÖ´ôÕãÒÇúkôŒ#ÒØ,Ú3‚sŒzŠVc)_•^Åú(¢‚B£±›ì>,³qŸ/P‰­KH¥ŒœôDãŽ¥× õU-EŒ2i×1œM¡l½’,OǺHãñÈäZRvš6ÃË–¬YÝU]Jþ-/K»Ô'Whm`yÝPÅUKgàUªÀñ™#ÃN¹;dºµ‰ÇfF¸YO¨*H#¸$W ô=Æì®civÒÚiÐÇpÊ÷D.:<ÌKHçË`uè:Uº(¯1»»Ÿ<Ûnì(¢ŠB (¢€ ŽÆo°ø²ÍÆ|½B&´p9-"–2sÐŽ:—\ƒÔITu"b“M¹BVhu`Œ;o•bÍ$qøúâ´¤í4m‡—-X³»¬½[¬Ÿõèÿú6 Ô¬½[¬Ÿõèÿú6 ôîœõr¾=ë¥×ÿÐÍuUÊø÷®•ÿ\ÿC4Cp–Ç¢xŸþBq׼ʩhßò³ÿ¶¿ú%êï‰ÿä'ý{Çüª–ÿ!Ë?ûkÿ¢^—Qô:Š(¢¨F†ÿä%âoû ÿí¼¿Xÿ—‰¿ì+ÿ¶ðVýø¿×/û¯ÿ 52Ÿúåÿuÿô V†ÿä%âoû ÿí¼¿Xÿ—‰¿ì+ÿ¶ðPýQ@‹ýrÿºÿúS)ñ®_÷_ÿ@jes_ñù?ýtoç\¯…äañ·ý}Ù蹫ªºÿÉÿë£:å|+ÿ#¿ëîËÿEÍ\0ûg ª®ÿÿ\Ïó¹Xz7ü~?ýs?ÌVåo‡øìð‚Š(­Î°¢Š(›>Š-.î9- ½¹¿ÏvmA.Ës碸 ÷~ðã¦:T—–× ´m#QÓ¦Ž$’%¹–8Œ>T¨åU¬Á_iÀaÀ<äðz (É/‚~Ïiweg{ —ÑËosµéK4bÃŒ¢w\Ã…;F6dð½¼!›ÄqÆ“_‰Ú`ó?³¬^J³܃qŒ²ð‰é(¢àr·ú%ψç[Ý·:,Û|‡.\ù`“˜å‚^,~W.¹U;8ù™{àÛ«í6ãO—T„[µÍÜð”´!Óí p¬ù˜lŒ‚ýÌwÈëh¢àr·þ—P¶Sssc=Ó_ýºaq`d·‘„¾Q“ Úycó ÷À}ƒ-lµ¨up,ÅâH h­Ù’)'bî@àõ•3ÓÑEÀ(¢ŠQEQEbkòõÿnßû^°.ãÖo÷ùVþ±ÿ/_öíÿµëçþ=fÿq¿•K;ûŸøú›ýöþuÎøÉ3á;ùóÿŠ·¸þÿë.ßmÛ1žÙÎJè®ãêo÷ÛùÔUL–®¬rUÍͽ»Ou~qp“‹èQEI!EPTïí7ÚE–vý¢þ&ß×o•™úwÏ“·ÛvyÆ Ê‡­Íî¹s©ò ´¬¡#¤ŒÅZSè@)‚ ²8­ÞhèÂÞªò:ªËÕºÉÿ^ÿ£`­JËÕºÉÿ^ÿ£`®ö{g=\¯zé_õÁÿô3]Ur¾=ë¥×ÿÐÍÜ%±èž'ÿœ_õïòªZ7ü‡,ÿí¯þ‰z»âù Åÿ^ñÿ*¥£ÈrÏþÚÿè—¥Ô}¢Š(ªá¿ù x›þ¿ûooÖ†ÿä%âoû ÿí¼¿@>/õËþëÿè L§Åþ¹Ýý¨•á¿ù x›þ¿ûooÖ†ÿä%âoû ÿí¼¿EPâÿ\¿î¿þ€ÔÊ|_ë—ý×ÿЙ@Å×ü~Oÿ]ù×+á_ù|mÿ_v_ú.jꮿãòúèßι_ ÿÈÃãoúû²ÿÑsW >ÙãCj‡k£Çãÿ×3üÅkÝǤßõÍ¿•dhßñøÿõÌÿ1Z÷_ñé7ýsoå[ÐøìðŽ/FдsàÝ/UÔ®5"òÙA,®5;¬»º¯Uùfc€ª2I‚®Ûh^¹±–ñn5(à‡>qŸS¼„Ó½]ÁNo˜=4í&Â]Gᾃ ‚d´±¸@ä…f‹Ë)#8¦3ƒŒç©ŸC¿¼Ò5«k“m ÚÓH&òäiÙMºÂ ’«æ¢œŸxóòüÛFh²ð™ä2ëjÊʾCÝj ; b-½ ç!Hùû§žÐ/­RæÚMIâ|àRìAÁ2¬ ƒ‚ àŠŽ]X¹Õ“\’+ï`h„v‹ríª%ÂäË傤ý¤œl?êÇ?7˵¢ØK§i¾Lì†gžk‡IUiei ‚q ã8Æp3ŠÅ¸Ò­µê0ݽߕo§X´iä°ª–†8†IÚ½}*ßü!š?®¥ÿƒ[¯þ9N³ÿ‘ïXÿ°nŸÿµëv˜ð†hþº—þ n¿øåð†hþº—þ n¿øåoÑ@ð†hþº—þ n¿øåð†hþº—þ n¿øåoÑ@ð†hþº—þ n¿øåð†hþº—þ n¿øåoÑ@ð†hþº—þ n¿øåð†hþº—þ n¿øåoÑ@ð†hþº—þ n¿øå*xKI·u™?´ Æw¨}Jå×#žTÈAÄ`Öõ6Oõoô4=Ïü}Mþû:Š¥¹ÿ©¿ßoçQP&±ÿ/_öíÿµëçþ=fÿq¿•oëòõÿnßû^°.ãÖo÷ùT±£¿¹ÿ©¿ßoçQT·?ñõ7ûíüê*¡ÞÚ‡“wjê—öÊâ#!;[idn¸jüÀd‘•l;{:¸(ñKl–'êU€ö ädA‚ ìë/TÐlõGÖת¡òÜ(™W$íË ò~Vgœd1«IO^§.# ªê´f5Ö:ý‰ÃÙC©GÐIe ŠF=rc…P:q#ÁÇ'N¦”—NÕ’Eái³¾ÓÜnD*ßU$ÄŠät¦ºd°õc¼KÔU4¼º¹ÏØ´]VãoßÝoö}¾ŸëÊnï÷sŽøÈÍûj—§þ&wQYÀ80XH]¤úÊÊ¥AŒ*†8éN4fú -Yô±^(®5;¶²²siº#;W< €xPC7UWë,í °±·³µO.ÞÞ5Š$É;UFÉäð;Ñigkaj–¶vÐÛ[¦vE EÉÉÀI?M]”é¨+#Õ£F4£dQEhldkzCjMÝ«ª_Û+ˆŒ„ìum¥‘ºà«óTFU°íîêà£Å,m²XdxŸ©V؃‘A'³¬½SA³ÕNw[^ª„KËp¢e\“·,+ÉùXžqÆ­%=zœ¸Œ2«ªÑ˜ÔTsXëö'e¥A%”‚)õÉŽB@éÄŒOœU:˜BR];VI†A¦ÎûOq¹«}T{+‘Òšèy’ÃÕŽñ/QTÒòêç?bÑu[¿u¿Ùöú¯)»¿ÝÎ;ã#7íü=ª^Ÿø™ÝEgàÁa!v“ë+*•0ª`ã¥8Ñ›èT0µgÒÅx¢¸ÔîÚÊÉÌb<}¦èDŒí\ðd ‚áA ÝU_¬³´‚ÂÆÞÎÕ<»{xÖ(“$íU'“ÀïE¥­…ªZÙÛCmn™Ù(''p9$þ55vS¦ ¬VÒQE¡±‘­é ¨y7v®©l®"2±Õ¶–Fë€v¯ÌAPyV÷¸«‚±¶Éaaâ~¥XbFAH žÎ²õMÏTq9Ýmzª/-‰•rNܰ ¯'å`FyÆ@#´”õêrâ0Ê®«FcQQÍc¯Øœ=”:”}–R¤c×&9U§1<rqTêa ItíY$^›;í=ÆäB­õRAìH®GJk¡æKV;ĽESKË«œý‹EÕn6ýýÖÿgÛéþ¼¦îÿw8߷ðö©zâguœƒ„…ÚO¬¬ªTH¨a€CŽ”ãFo¡PÂÕŸKâŠãS»k+'1ˆñö› 3µsÁ‚…3uU~²ÎÒ {;TòííãX¢L“µT` žO½–v¶©kgm µºgdP D\œœÀ䓸ÔÕÙNš‚²=Z4cJ6AYz·Y?ëÑÿôl©Yz·Y?ëÑÿôllØç«•ñï]+þ¸?þ†kª®Wǽt¯úàÿú¢„¶=Äÿò‹þ½ãþUKFÿåŸýµÿÑ/W|Oÿ!8¿ëÞ?åT´oùYÿÛ_ýôº¡ÔQEB0<7ÿ!/ØWÿmà­úÀðßü„¼Mÿa_ý·‚·è§Åþ¹Ýý©”ø¿×/û¯ÿ 52°<7ÿ!/ØWÿmà­úÀðßü„¼Mÿa_ý·‚€7袊|_ë—ý×ÿЙO‹ýrÿºÿúS(˜ºÿÉÿë£:å|+ÿ#¿ëîËÿEÍ]U×ü~Oÿ]ù×+á_ù|mÿ_v_ú.já‡Ûašw6+↴]SFšÚÞÎçÏ0_¤¥Æc‘1„‘€ÁpÙ>ƒ¢®Ÿàùl--¬WQG²Vµšu6äI$°,J¥[~O‘*UÞù¹Ù³ñ©Iao%ã\'›ñ:#ynM®Ñ…m¬@8'­NÚ®œººé_évc•HÙ‘TîÁgí\ìldŒâ°­<5‡õ fÒ×íWs}£ÏH!eŸÌŸÌO™Ø°3ÈÜ1Ÿº ]´Ò¡»Öÿá!º±ònͲAW1ÆÒÛíirC«0„ƒ€z}›oè—v?l‚æg·ó!‹#æ˜Fc)žD±ý7sŒZ¿Ô,4Ø[“r6ÄHǘîØ' Š…˜àÀ8ž€×+iàËû-ôø5{cë9‘žÉ‹ mÖâQ•"»Á¾÷Ý¿µ½× [ ›·šÙ¼Ä¾žž $®äU˜Ê‡æ,¤2²à|ÝAÓ!ÑÖêä\ÍåZÛ}ªrs˜ã˃‘³!Š@Wï¤ 1|M¡¾sqr«d²¼ÌèÊ6ÄJÈS1þð);3‚G¨Î3x:÷ì·¶ÃYßöœl®â–L“1 ŽÒd(3à+n;T Ùæžþ–k}J õ+qôå-ʘVêO1÷åÎò\coç9àBãÅú ¤k“ªÄ¥d|=Œá‚F»•òro_˜Œs׃[¿¹ô›þû_þ&¸‰þZÞÚ¬W1ébŽq Úib(’W1”¡v Êbä6ÓÆsÚPÿsé7ýö¿üM!A`ÿÓEÿâi´P1Ò¿™+¾1¹‰Å6Š(Xÿ—¯ûvÿÚõsÿ³¸ßÊ·õùzÿ·oý¯X?ñë7ûüªXÑßÜÿÇÔßï·ó¨ª[Ÿøú›ýöþuP‚Š( Š( Š( Š( Š(  _Ã{s ´MÄ—6ɾùU3 rv2¶Ý»³†g‘Ö¡°’æÇĦÂå¯%‰´ëdŠA Ï ‘ Þa.wb6}æÉùy&º †îÎÖþÕío-¡¹·|oŠdƒ‘x<€ s"º¿Šë_·¶]D¼ú(û ·†VA:‹‚ÛYFÕõ}Á?.3Åb¿ü%jÚÚ?ö‹ÀÖZ´–r.àUÌÁbŒÉ`z1ä‰p¼-z ¥­…ªZÙÛCmn™Ù(''p9$þ55 Âq¼z\¡înnžNë‹{¨X|«Æ.]ßàíöÎk•°¹Ölü'ö¥‡]ŸÉM’h¤YšåîÀÝ* >r¥ “ïcø«º¹ÑôËËè¯n´ë9îáÇ•<°+H˜9XŒŒ‘Žõv€8[kiaµö˃ êÍ<Ö1ËqFöÒ©*?¾Råvá‘À€ (¢™ž$ûWü"ڿؼïµýŠo#ÈÏ™¿aÛ·îÎ1ŽsYp-Þ‹«h–·3^\ÀÖ×1I,1\K•¥„Æ_sHWx í€7rÓÓ&†+ˆ$‚xÒXdR¨ee#z‚(…¬Y_Þx§Eû=ÄÐÚCÓOƒ(Èxv©Øê7_· nùMsÏu¬Å‰mÝusq=•ר Ã3ë=á]¬¶y;y˜ÏÛØi¶\ Ÿemi 6ó¼K–ÀÀœùUªÅÖn¦½ðn©q¦-âÜ=”ÿg"›xV …`6Gg¦+›½—[‹N‹û jž\š£EdÓ$¬ñÆöŒæþZÜ1bdEv?ØúgöŸöŸöuŸö‡üýy æýÝ¿éÇ^œUÚã´Û½RËXÓ­u8¯¶Æ·VÎÑ$ÓÂÌÏÁ™6傯Å<Ç”“'©=PYz·Y?ëÑÿôl©Yz·Y?ëÑÿôl˜Îz¹_õÒ¿ëƒÿèfºªå|{×Jÿ®ÿ¡š!¸KcÑVþéÅÛk˜®íÖxtmžpAAäAA!­âÖðüà•X^\YøMe·•£t‚WR;[²¼+â-SXð¥ÍååÓ4ë<±†Q· éîÆ·SZ.ç«FŒêÐuÖÊ×ùÞß‘½Ey÷†äTÑÿëÆýV¥`ñ6v±å<}¹ø[ErTRúÏ¿´?»øÿÀ:Ú+’¢¬ùö‡÷ø[ErTQõŸ þÐþïãÿëh®JŠ>³äÚÝüàm ¯üyÁÿ\×ùTÕÔÕÏF.êæ&±ÿ/_öíÿµë ÐI!Îq[šÇü½Û·þ׬7qlç8PIÅ&R4¥ÕZižW·Ý‹6.g'ØIøS?´?éßÿ&®?øå)ÑuU$àƒqÿIýªÏ—þLCÿÅѨö‡ý;ÿäÕÇÿ£ûCþÿòjãÿŽQýªÏ—þLCÿÅÑýªÏ—þLCÿÅѨö‡ý;ÿäÕÇÿ£ûCþÿòjãÿŽQýªÏ—þLCÿÅÑýªÏ—þLCÿÅѨö‡ý;ÿäÕÇÿ£ûCþÿòjãÿŽQýªÏ—þLCÿÅÑýªÏ—þLCÿÅѨö‡ý;ÿäÕÇÿ£ûCþÿòjãÿŽQýªÏ—þLCÿÅÑýªÏ—þLCÿÅѨö‡ý;ÿäÕÇÿ£ûCþÿòjãÿŽQýªÏ—þLCÿÅÑýªÏ—þLCÿÅѨö‡ý;ÿäÕÇÿ£ûCþÿòjãÿŽQýªÏ—þLCÿÅÑýªÏ—þLCÿÅѨö‡ý;ÿäÕÇÿ£ûCþÿòjãÿŽQýªÏ—þLCÿÅÑýªÏ—þLCÿÅѨö‡ý;ÿäÕÇÿ£ûCþÿòjãÿŽQýªÏ—þLCÿÅÒ#S\fÌ £70òIÀ¹8£PûCþÿòjãÿŽQý¡ÿNÿù5qÿÇ*•f>±'Úîmíô«ÛŸ³¸ä‰¢ ¸¢¾éèõtÚôïÿ“WüríúwÿÉ«þ9\ÿö¥çý5ûùoÿÇhþÔ¼ÿ £ÿ-ÿøítÚôïÿ“WüríúwÿÉ«þ9\ÿö¥çý5ûùoÿÇhþÔ¼ÿ £ÿ-ÿøítÚôïÿ“WüríúwÿÉ«þ9\ÿö¥çý5ûùoÿÇhþÔ¼ÿ £ÿ-ÿøítÚôïÿ“WüríúwÿÉ«þ9\ÿö¥çý5ûùoÿÇhþÔ¼ÿ £ÿ-ÿøítÚôïÿ“WüríúwÿÉ«þ9\ÿö¥çý5ûùoÿÇhþÔ¼ÿ £ÿ-ÿøítÚôïÿ“Würš÷Ûã‘Eº+:l.e•È]ÊØÜÊŽÝ«ûRóþ€ýü·ÿã´&±'Úí­î4«Ûo´9$•¢+¸#>Ù è§µi×+ãÞºWýpý ×U\¯zé_õÁÿô3NŠ[‰âù Åÿ^ñÿ*¥£ÈrÏþÚÿè—«¾'ÿœ_õïòªZ7ü‡,ÿí¯þ‰z]GÐê(¢Š¡ÿ—‰¿ì+ÿ¶ðVý`xoþB^&ÿ°¯þÛÁ[ôSâÿ\¿î¿þ€ÔÊ|_ë—ý×ÿЀXÿ—‰¿ì+ÿ¶ðVý`xoþB^&ÿ°¯þÛÁ@ôQE>/õËþëÿè L§Åþ¹Ýý©”Ì]ÇäÿõÑ¿r¾ÿ‘‡Æßõ÷eÿ¢æ®ªëþ?'ÿ®üë•ð¯üŒ>6ÿ¯»/ý5pÃíž46¨vº7ü~?ýs?ÌVµ×üyÏÿ\ÛùVNÿÿ\Ïó³*y°¼yÆå+ŸLÖÔ†vaè[Ôâ5[I/l|¨Š‰X¦@çŒr+…'°;qœg8=*ƒi7w:n©æ¤ÕüÝŽ\@ "0T•Ïȧ/Þ<ñÏgý‰ÿOøçÿ^ìOúxÿÇ?úõŠ¥Qt9ºZ/ÈáäÒõ9õÕž;D»‰£Ùl'fG ³.L›÷äãiûƒŸ›M*ÒK+*R¦G–Yœ!ÈS$ŒåAîìg8ÎJÚÔ--´»6»»»u…Yä·i³0UW$’̽ö–×S˜"»9`ŽvíÙRBÁI Œ£pyä *l ]«rþF…Çü‰ßöë7ójç|ÿ"=ßý}Íÿ¢ã«Z„ú´ÆÆ=wN‚Vò&Òžc‰ädMÍæÛœ0éÀëês!¾»K ±ˆ4‹{8!’éü¿I I|‘â@%\mù“påyäg¥Sw‹ì Ââ,ðòZË—ÿ%¿ùœÎ…à­&ëÃÚeÄšŸˆÒIm"vXu$T $(òŽ É­ø@´oú ø£ÿ‰ÿÆ«£ðÖ›i. ¥¥ìÒ}RÒS5œ8eO(ø#!”þ=iMæŒ念Ћe¸iöÄÄÆ *%È –^:AÖoÛßOÐñŸÖï§èsðhßôñGþ ÿQÿÿA_àÑ?øÕt‹w¤<3ÿhºÃo\4k"«Ä£-$dÞ¨å7™¼3jÚK›o>Ó4ðçÌ{»I-ö€2I;qß§_CK÷ÿÕ…þÙýXäáÑ¿è+âü'ÿ£þ-þ‚¾(ÿÁ¢ñªéí¥Ón¦Š½š9å“ÊHg³’ Øî×…"7ÂT€r1LK½"Kñdº‹™‹'ì²lVó ñµIxÝFHÜGÈÉûÿêÁþÙýXæÿáÑ¿è+âü'ÿ£þ-þ‚¾(ÿÁ¢ñªè^ÿIE¸cwy²ÞC È4Ùʶ«Ã¶ó· “×ÐÖ†ŸimªY­Ý¥Û´,Ο=»FÁ•а*Ø †R9¨ýÿõ`ÿlþ¬qßðhßôñGþ ÿQÿÿA_àÑ?øÕwØŸôñÿŽõèþÄÿ§üsÿ¯EëÿVöÏêÆ°›í#ÏÛ·Ìùöç8Ï8¢™yP¤yÎÕ Ÿ\Së¥^ÚžŒoesXÿ—¯ûvÿÚõsÿ³¸ßÊ·õùzÿ·oý¯X?ñë7ûü©2‘ßÜÿÇÔßï·ó¨ª[Ÿøú›ýöþtÆ%”!m£çè3T":+?þOÐQÿðéðkÚÍÄpE©;I#Eû; ’p .׎ÅâÍVÿÅ:–—'?²®­-¥Ÿö:ϹwíOŸœr{džkÕ4IukºHŒj.'„rHŽW?ŽÜã¶q“Ö©øw@þÀþÖÿIóÿ´5¯ÿÕíòüÌ|Nq޼})ˆ¥¡ê×מ:ñV›<ûí,~Éöhö(Ù¾"ÍÈ9#¹4|CÕ¯´?êZ–›?‘w•åɱ[•ðÀŽ„ö§Ç§Ãáßkzüó\κ³[¨†ÞÊIZ#eå˜bAëœ:w¨uèm|sáûÝ /¬ÚuF3\i“ƪEoùh¨ 8Æ3žý¨›ð‡ˆõ}SÅV°YøŸþM3Ëß¹ÒþÈ-xýÙ ¹™²1ÏŽ;M?â\Ú½²"ò-úäÚXê¬ÉælÆUIÈ=¹ ·Zë¬|koâm>õ-'ò>Íy [[˜òç «p>n~êŒ`rtÿ†XêöÎu{ÉtK“wc¥1; ˜àƒ¿9e$ w䜶ç ð–kóûÿ3§öWú¤ÿ_ùçÓÿûÞõ¡¨üSÓ´ýz{F·FÓ­'û5ÝÙ»dŽ@pÛmÏï$PH€ìØÚÿ„þ¢ó1ÿnÿ¨ÿÈ_{ÿý*®£ðÊ z{û;ëk{k©üû˜'Òàºvr~r’J @zãIh‰ñô¾4¼ðí—‡æºûy÷báV8â‘Ag9xdaKÇŒW[XºnýâmsYûO™ý©öÜùxò¼¤+×?6sžƒõµHŠ( aP\ÿË·ý}ÛÿèÔ©ê Ÿùvÿ¯»ý”ÈÖf—ÿ!oþ¿WÿIá­:ÌÒÿä#­ÿ×êÿé<54袊(¢Š(¢Š(¢Š(¢Š+3Tÿމÿ_­ÿ¤óVfjŸòÑ?ëõ¿ôžjuÊø÷®•ÿ\ÿC5ÕW+ãÞºWýpý ÕCqKcÑô`xoþB^&ÿ°¯þÛÁ[õá¿ù x›þ¿ûooÑEø¿×/û¯ÿ 52Ÿúåÿuÿô¦P1uÿ“ÿ×FþuÊøWþF×Ý—þ‹š½ M& $i É–$œßð¨`ðæ•h÷rÚÚù3Þ¼os*ÈÄÊÈ)!‰†=ë\±¥%ÍæyÑÃTJ~d7ü~?ýs?ÌVåT¶Óâ´É9$cæ#ü*ÝkJ.1³:pÔåNŸ,‚Š(­Nƒ?ZÒbÖô߰ϳÉiá‘Õ㮱ʮTƒÔ0\~=úU)të/TmKN$µû$6­§A‡+I·Ëv‘@óyŠÝ¢€9‹Ÿ C®ê ¬ÝZý–ì}“ÊK˜cymü‰ÚC†V`7‚×=?á•ô¹4ùuhcÒæÒìÙ-Ê´qHª¤ÉóŸ1€9Þ㑎ªŠ.#Ÿ´±_ Ç<V5Í­ÍËΰؤ2ª;ä]Ù`Äp>^­g?€b2êRǨ:5ý¥õ¼Š"\K¿ÌÆyeBsóO»·ØÑEÀæ×ÃWŸðŽÜèRjˆlƒX[¶Ã"ØBXï`û»ËqÈÚËm:]6Æ]û·¼È’ãK²‚ÞÄ´rJŘ’v°#WOErPxFþÙ ž ^¸‚åfŠ#o+ZÆ¢9cÚ‘4ħŸºÁpˆŒ¾/Ë£$§QCk4ë<±}œ‡,—rܦ×߀7JåNBñ·¦ÿ}¿:Óþ>û­ÿ š®¤œ¤æÎ×v LkËm‘Ç|ŒçëÍ_Óà·•©[»"dÀU¶ÉätÀÎ~œÖ”‘­´6>TD¢cË#ÕóùóK ®³ÄÂÒxðëó8Ÿg'ô©±E?Ⱥëú÷ÿJ¥­úÀðgü‹§þ¿¯ôªZߪQEQEQEQEQET?òíÿ_vÿú5*z‚çþ]¿ëîßÿF¥r5™¥ÿÈG[ÿ¯ÕÿÒxkN±íX§ñ CçL·A£‹p]ì-¡ÂäôÉã56(¬KMeÖÚâK¹f£UTµ’ÞFgmª¾\‡8-€8$‘ÆÒhºñ5½­²N,îæTòȱ„ÌB &íÌ!Ž>RsŽ2(°tV=lj--,š{˜ä†E˜[´´jÂB»À,[gÜù³»ºñSÜkv6Ö6·Ï#[•.’…8 "iw×PöÏN(°4V<^ ‚âúÚÖ%‘GÛ"ºƒ‰²¹ Á FáÓÎDVþ#Y¦¹Ûȶ‹ ¼–ä¾s+º©7ˆ@7m#'vBÀnÑXW,Ó­- ¸º[ù¯*å(<·ØäüØ8=”³ð8iñ#C{yoqa6c»ÖûZ5ó2ˆØË8‰lHa€Hl;Íú+'TÖL¿·GžÕ­æšw@3¡æ9#*œ€ éO¼Öá³Õ ÓL2Kq:3Ʊ¼y8Vlm.„grG4¬fjŸòÑ?ëõ¿ôžj¯?ŠtØm ÐfxKFˆùXó§˜*ØC|Ø€ øfº2FØ#*m¦ àûSb¹_õÒ¿ëƒÿèfºªå|{×Jÿ®ÿ¡špÜRØôOÿÈN/ú÷ùU-þC–ö×ÿD½]ñ?ü„âÿ¯xÿ•RÑ¿ä9gÿmôKÒê>‡QEU)“M¼O<‰1©w‘Ø*ª’I=úÏ׬%Õ<;©éð2,×V’ÀŒä… ÈTgã&€&µÔ¬/’'´½¶¸Y•ž&ŠUpê¤+Áä@8èH©%¼µƒÎónaÈŒM6÷ËN~fô_•¹<|§Ò±ntë7RÓ¯¬“Ï´³¶¸Šqqs4“‘ârÉò»HÃËl)#9‚öÀx–â Ë7š ~-ïc¹µ–†¡hQÉqëZr½¶|õ7H X`§pÏËó9î@®z êqêSî{?²\\Ç;È%o1<»é®”Û†Ü$U'pÁÉù°2ÁáBE½¶”"Ã=ÿÚDɪÜr†ñg E´,m°¹Nw¼“@¥å­ýª]YÜÃsnùÙ,.py~5fxK}FŽÁßÌ1É)ó Œí iƒ»7%Ø[¶âqŠÓ aEPEPEPEPEPEPEPEPEP&±ÿ/_öíÿµëçþ=fÿq¿•oëòõÿnßû^°.ãÖo÷ùT±£¿¹ÿ©¿ßoçN´ÿþëè&›sÿS¾ßÎiÿýÖÿÐMWRL뙥SctÀ;|ÊcÁç¨Ëæ¢ódf@Öwëó9‘èäþ•fâêU¹•E…ÓänS=F_5 \É&Õk+ˆÁuùÜÇÈôrJC3<ÿ"éÿ¯ëßý*–·ëÁŸò.Ÿúþ½ÿÒ©k~˜Q@Q@Q@Q@Q@Asÿ.ßõ÷oÿ£R§¨.åÛþ¾íÿôjP#Y:|qÍy¯E*,‘½ØVF ¼9w­Yš_ü„u¿úý_ý'† d‰£Ù$òGã{Ë3Èÿ)ÊáØ–<Œ ÈÁæ†Ñ¬% Êy2@~vÉI/“œ’ÄXóœœòj Éï“Y†8ÌËnU6á²ÄH$c÷B®ÒW$Ÿ¿µ˜¯ªÞXºŠgaqdî¦9DêeEÀ£P†ç©ù›07fÒìçoƒK(™$d`áBnV;@Æ}N]6kskµÄ^tQãh‘‹9$ääO r ¬Yîõ¥]TƳ#·¸d_ mÔþãË8ùË.Y†[òýÓN]6]JT‘c¹»]NT¸’òÜL"L#ÞƒhiBÚ2á±–ä°"éV)r.VÝVa/œ>m¬¿—Îç2Ìz’j¬ž³×1Ú†çT‹³„Å('äPIÀM¸ÏÊT€Dht­z|ÚÜ­»Y[ÇÙìä‘Ö—+ò)—zÖ½K™,.RÎEŽé¢a ·E|¤ðxÎ;¡m ZŧÁk+Ìï;ùÉ4‘¾]‹8ÜvÒOBÇ É$f¥›C°žæiäI‹LÁ¥As ŽB/̶‘…‚9šÂšÖá´Ýr;+&ŠÖ[ PÄð:ÌÓì#©b%c–Ëóe0σˆ¯4©­tÝFÔÚBTËhá-,[ìì‚PXù ’Î0ÛÀ<¨N”ÔÝéÖ·Û¾ÓýÐÉn~b?vøÜ8=öŽzñQcÙiÿhl“íüÏõϳ~Ï/vÌíÎÞ3Šæn¬ãm&Éc³¶0® ^DMUŒ%ÆZ înJÝ3J²-.Vm&çO‡ÒÖéÖ(mZÒ)X¼x‘˸n#'ïØ b‹»ý`-~Ìyqïó‰Ù[ʲW òŒåéÅA¨F±^h1©b©vTbÇÞn¤òO¹ª:rZ6“n¨Ñ³iJב‘‚$Q¡aü-0v'f9Ø1£ªÈGDÿ¯ÖÿÒy¨N¹_õÒ¿ëƒÿèfºªå|{×Jÿ®ÿ¡špÜRØôOÿÈN/ú÷ùU%Ö=fÕÝ‚ª‰Ibpò_š½âù Åÿ^ñÿ*ÇŽG†U–'d‘yWS‚8ÇèM'¸ÖÇOý­§ÐB×þÿ/øÑý­§ÐB×þÿ/øÖö®£ÿ?÷_÷ù¿Æí]Gþî¿ïó ¿ÚÚwý-ïòÿÚÚwý-ïòÿajê?óÿuÿ›ühþÕÔçþëþÿ7øÑp±»ý­§ÐB×þÿ/øÑý­§ÐB×þÿ/øÖö®£ÿ?÷_÷ù¿Æí]Gþî¿ïó ¿ÚÚwý-ïòÿÚÚwý-ïòÿajê?óÿuÿ›ühþÕÔçþëþÿ7øÑp±»ý­§ÐB×þÿ/øÑý­§ÐB×þÿ/øÖö®£ÿ?÷_÷ù¿Æí]Gþî¿ïó ¿ÚÚwý-ïòÿÚÚwý-ïòÿajê?óÿuÿ›ühþÕÔçþëþÿ7øÑp±»ý­§ÐB×þÿ/øÑý­§ÐB×þÿ/øÖö®£ÿ?÷_÷ù¿Æí]Gþî¿ïó ¿ÚÚwý-ïòÿÚÚwý-ïòÿajê?óÿuÿ›ühþÕÔçþëþÿ7øÑp±»ý­§ÐB×þÿ/øÑý­§ÐB×þÿ/øÖö®£ÿ?÷_÷ù¿Æí]Gþî¿ïó ¿ÚÚwý-ïòÿÚÚwý-ïòÿajê?óÿuÿ›ühþÕÔçþëþÿ7øÑp±»ý­§ÐB×þÿ/øÑý­§ÐB×þÿ/øÖö®£ÿ?÷_÷ù¿Æí]Gþî¿ïó ¿ÚÚwý-ïòÿÚÚwý-ïòÿajê?óÿuÿ›ühþÕÔçþëþÿ7øÑp±»ý­§ÐB×þÿ/øÑý­§ÐB×þÿ/øÖö®£ÿ?÷_÷ù¿Æí]Gþî¿ïó ¿ÚÚwý-ïòÿÚÚwý-ïòÿajê?óÿuÿ›ühþÕÔçþëþÿ7øÑp±»ý­§ÐB×þÿ/øÑý­§ÐB×þÿ/øÖö®£ÿ?÷_÷ù¿Æí]Gþî¿ïó ¿ÚÚwý-ïòÿÚÚwý-ïòÿajê?óÿuÿ›ühþÕÔçþëþÿ7øÑp±»ý­§ÐB×þÿ/øÑý­§ÐB×þÿ/øÖö®£ÿ?÷_÷ù¿Æí]Gþî¿ïó µˆ.Réàš9TpZ6 3ûþ8¬KŸøõ›ýÆþUrkÛ»” =ÔÒ¨9 $…†}yªw?ñë7ûü©0;ûŸøú›ýöþtëOøøî·þ‚i·?ñõ7ûíüéÖŸñð?ÝoýÕõ$¥q\Ê¥n2®AŬ¤uõ ƒPµì3mDYÃ\n·‘GQܨ-Ƨą÷ÖÊÊä2¨ ç§Z…µ )ÊÇ å¼’\*J¤žG`i ÏðByš¦qºþðgþÞ¥­7Ö4dšHMì¦HŸËp¶®Ønxãè#Yþÿ<_ö»ÿÒ©k?ä/©ÿØH)¨nÀŽÆÞûM¹‘£Žê}ËŒ†µuô=þ¢¬°1y¢ôy{woÙÆ1œç=1X–ñÿ?ýt‹ÿEGQ§üЇþÁçÿEÑp:&[Dk½£ dÇŽIÀïêhu´Dg{½ª –c¹æ³uøô_úïþJ5Où_×¼Ÿú §p4]m#Fw»Úª2XÇ€¯Zw•mÿ?-ÿ~ÿúõ—«Èûþ½äÿÐM]o¼~´'ú“ç}´y[wïÙòíÆsœôÅ ö$û×ey˜ÏRp_ZÄoùÿî?ô]O¨ôOúú‡ÿF­+n{ý2ÞAÝÌX®ì%«·Æx÷#óZ®•pæ8n§w´›~ÊÃå\ääàu}x¬©ÿã÷þÝŸÿFGTôùÉÿ`Ûýô\,nhú‡ö¶‰a©y^WÚí£ŸËÝ»fõ Œàg늚çþ]¿ëîßÿF¥fx?þDþÁÖÿú-kNçþ]¿ëîßÿF¥09dz¹‚Òë]žæxá…oSt’¸U‚2O½lW:l®oçÖa¶¼û)þÐFsµŽõû4_.Q•‡89 :c¡"¥ Ø]JÅ熽¶i§O2(ĪZDÁ;”g‘€y”ѪZ6­ý˜’«ÝšWE`L`ûÃ9ïqÎ gCáÏ&޾ן*(³åõû<…ó×ø³ozžÓG’×UûWÚU­Ñgòâò°ÀÍ"ÈĶì¹NÑÁïŒÑ ?iƒí_eóãûFÏ3ÊÞ7ìÎ7c®3ÆjªßØ´–³ÀÑÏöçòxJ°mªï‚Àò×õäýjµÞ‚·’Þ,—µ»ÜÒ ŒÑy$«œàlìsß­:E¸†æk•{vn¥)Õcä˜@PX•Úy'}x4ãjV)Óµí²ÃùrÈeP±¾@ÚÇ<‘Áõ¬{S¡Y] ¿±#Ó¥T2A+Z¢¼‹§`\°'z¤;ÀÆr°xsÉ·½Þ_ÙcŒˆñˆ­äÞ€óË[Ó 1Ë[EÔ™'iï­.&yc˜³´d˜äWD-½°œáxÜ[“Æ€^µÕZêöKeÓ®ÐDÁ%•Œ{cbŠûN’pÀpÏ|sV¬®ã¿°¶¼ˆ0Žâ%•C@`Ï¿5VÃM†Û½I Uº¼ebYÌv"ùe9Lðq“øÕ[+}OE°¶·bºŒD°$vÖâ)PbÏ.Ò09¹r÷R6—P[Gesu4Èò„ Â©PI.ËÝÖ þÝIeD±±»½W·Žä<>Z’nÛ÷ÝNNÓÚ¢¸Ò­üA,Sêzs$qE,?g¹Tbwì;Ã#6Ò60sÉéÞ ¿ KwuÌòé×S Xà‘¯tñ.YK껋r=…~=RÙ5;›²É,r\•QÊQ © ç%J€H8\ç×¹»ŽòóEt Ž—ì’Dã }ž\«^Aã‚ A©±ä}BæYnU­&¸K¯ E†óP._w* a°9œdmo,Z–Ÿs2yow©´ÞVA1hè#‚p€œp Œй_õÒ¿ëƒÿèfºªå|{×Jÿ®ÿ¡špÜRØôOÿÈN/ú÷ùVU¥³^_Aj²ˆ¼ÂÙr›°3tÈþï­jøŸþBq׼ʩhßò³ÿ¶¿ú%é=ÇлÿßýDÿòOÿ¶QÿßýDÿòOÿ¶VÝì…sþ¿ú‰ÿäŸÿl£þ¿ú‰ÿäŸÿl¯+øaá¨/aѯî<½G”k_Úd|ÈìTùöe øf»¿‡ó5ÿØÇyÿ²SqAsgþ¿ú‰ÿäŸÿl£þ¿ú‰ÿäŸÿl¬Ÿˆ°Ëo¢Úx‚Ö7{­î;À±)ß$YÛ,{‡*¥NXàŒ/#Ó'O»ûOü&0mN:&“ì6WÓÅö„†~S$G#r»’B¯ÀûçŠ,‚çYÿßýDÿòOÿ¶QÿßýDÿòOÿ¶W•êúæ·¨øÆzn·4Ó=—Ø$‰îmRÞ`%um®ˆÅF08Îy9ô÷‰õ Kïˆ ÷É:U¤ c½P¤xŽHù‰}¸<ร”.tðÿÔOÿ$ÿûeðÿÔOÿ$ÿûepZ¿|@ðxN°k庸ÑáÔnn¬4伕نÜydªªç$°îT9Ï øcR¿Õü7e}©Ø=…ìŠDÖX1\á¹ã ÄrzÑ`¹ü#õÿÉ?þÙGü#õÿÉ?þÙXÞ%ÿ’›àoûÿÑ"¹]Äþ1}'Âúíö±m5®¥ª&žÖ‚ÑAtgu23ŒaR\ *“Ÿ˜”.zü#õÿÉ?þÙGü#õÿÉ?þÙ^qwãéòkš³jÚt¶:Fµ%©ÓeUI§ˆ±P ‘´ ©êq!9 ƒÒ_xŸP´¾ø€¯|‘C¥Z@Ö;ÕŠGˆä˜—Û€sÎëŠ9BçGÿßýDÿòOÿ¶QÿßýDÿòOÿ¶W£?ˆ5oˆz%ÃøÐIáë{é#6ÈÊQš1,`tÙw#Ð õŠVAsãB[kig}H•‰ ,ùÀÿž•B[7MLX WÚVßÌ)Ç.v3øã5Ñjßò¾ÿ¯y?ôYò6û §þŽšcþ¿ú‰ÿäŸÿl£þ¿ú‰ÿäŸÿl­ºñ†‚öþãÁÛÑdyFµý¦GÌŽÅOfP¿†j¬…sÕ?áÿ¨ŸþIÿöÊ?áÿ¨ŸþIÿöÊÆøwÿ3_ýŒwŸû%?â,2Ûè¶ž µÞëD»Žð,JwÉvËáÊ©S–8# Èô,‚æ·ü#õÿÉ?þÙGü#õÿÉ?þÙ\žŸwöŸøL<`Úœ:tM'Øl¯§‹í ü¦HŽFåw$…^7÷ÏËêúæ·¨øÆzn·4Ó=—Ø$‰îmRÞ`%um®ˆÅF08Îy9ô*ÏTÿ„oþ¢ù'ÿÛ(ÿ„oþ¢ù'ÿÛ+œ¾ñ>¡i}ñ^ù"‡J´¬wªÉ1/·çœ×‹«ø×ćôë¾[«FæêÃNKÉ]˜mÇ–Jª®rKå@œœ£¹ÞÿÂ7ÿQ?ü“ÿí”Â7ÿQ?ü“ÿí•'†5+ý_ÃvWÚƒØ^ȤMnêÊUƒÎ2ìG'­s?Hµ/xSÃ÷÷o‘¨Ï9º‰d‰Ú5Së‚Ç’F9…d:?øFÿê'ÿ’ý²øFÿê'ÿ’ý²¸ ‘x/Å&Òü9vðÙÇáéu²™«ot¸ Fìví$ç#‡Ž«’rŠç{ÿßýDÿòOÿ¶QÿßýDÿòOÿ¶W'ã{Um]Ò4ÍcìÑZøqïDªÏË 'Ÿ¼¬càsÆàÀgÐ|>¶¾¶ðN—öÝCížm´RAû•ɈƛcãïcŸ˜òsEîš`³W"ìÌP¦WÈÙ÷÷ãçû‡·qY—?ñë7ûü«Xÿ—¯ûvÿÚõsÿ³¸ßÊ¡ýÏü}Mþû:u§ü|÷[ÿA4ÛŸøú›ýöþtëOøøî·þ‚jú’2V>sò~ñ¨'$Æ9?}ô!L¸Ó¬æW{VfrK4*I9êx¨ZÂʲEgo‡\2DªG#¸†fø*xm|?ö‹‰R"¾¼y$‘‚ª(º”’Ià;×;µáæ½½¸ohȳ^™•Zèghó`zïºȺëú÷ÿJ¥­úäañW†­î$”x—GpÎŒº¢*úz©¦/м64¯°ÿÂE¤ÿǹ‡Ú—û»sŠÑñ\úª.•m¤\yW¦&;Õ2¢\Í€rƒøOLqœÔÚ^®—:ö·¦Ky \[\¯“o¹D‹ ‚ÎÞ¥w»r{œS°.|iỈ„ÛúJâD|ý­OÝpØý1E×<7sg=¿öþ’¾lmﵩÆAýk;XñˆlõKô²Šà†öH NZGa§–/,.J™;ƒîÏËŒQs¬ß;PG×?´Ibj¡8’[.H·¤e8]‡î1_3'9QE…sFïÆ~º³žßþ %|ØÙ7}­N21š˜øïÃd“ý»¤ÿàbÿ…róø›Q´±Ñ#Եdz¹º[åvn€Ïè«’¼[E.•FJ¡‰P×l5Û¯>8×ÄÉ©\¥ÜA,oác›8U]Ä!y†Q¶¯“ód«’X._>-ðÙÑþÁÿ “ÿþFÿµ/÷vçÒ¤¸ñ†î1ÿ’¸•$ÿµ?uƒcôÅPÒuoUñúMÍÜÖП·ÉÕ¼)ÊGt‘"åÕ”ºâ@F1µÐœ±È‚ÛÄ:Ͷ‘£Ý©¯—ìPêz¬²Gýž)6öP¹M‹rÀ(g܉ž `¹¢Þ'ðÔ³ù‡Äº:)£Áºä²OöMAgâ Ú\I3xŸFplå€*\Œ–i‡P0EnøsWMN ÈÞòîíonb–4e߉äXÃ(éò(Æzã<ÖÕ+ Åðü‰:ýƒ­ÿôZÖÏü»×Ý¿þJž ¹ÿ—oúû·ÿÑ©LF³4¿ùëõú¿úO iÖf—ÿ!oþ¿WÿIá¨_TÕntÝZ2È­§¥…ÅÌÁ[ç&2:Œà|Ã;Ž~èÍËKùg†ìIk‹›W1É2 ÛÀV`¹Èeê9íÍZ{h%ž)ä‚7šùR2É‘ƒ´öÈëŠlvV‘Y›8íaKR¥L  ƒÔm郓ùÐ;'‰/RX®ÞV÷3\À²¸eXü£œIÛH…|©Nþ+ô8ö«_fƒí_jò#ûFÏ/ÍØ7ìÎvç®3Î)èL>"Ž}Ml–ÝkƒrÝ€˜nÇ®ëwô*sœNMSY¬°G³©ýž4i°?²™0O–Hçkg“’W É裶‚/+Ë‚4ò“Ëj±8ùG ùWaéMV‚å®E¬"á˜3KåÄ…* =r‘ô$Q +âTšêÂ;{+™Rêgf±1¤¤…'h*1‚[s.ãwJŸ_ÖŽ‰`n¸+?“¹(£,Ãj7’ŒŒ‘ÆgšÛIßn“AeºÓg®‰˜w©·?w%@êG*[Í6ÇPÙöÛ+k™ÙçD¯·=q‘ÇAùQ —¾!’Ò[¨ÖËÌ1Ý%¬;YØ»˜„¬YQ€€Ù=p9§^x€Û;e£tÑy‘ɹd€HʪX`Iá™rT“ÓF[kŸ>ÖX-¥ó6É4NŠÛ»+0ï÷0 þïµ5´5å‚VÓí –ê« ˜W1…û¡N8¶:Q išŒ×ÒܤÖËnÑ02ìdÁÏ,¥@Ž –RCaŽ)º§ü„tOúýoý'š®ZYZXDb³µ†Þ2ÛŠC@O®~SÕ?ä#¢×ëé<Ô§\¯zé_õÁÿô3]Ur¾=ë¥×ÿÐÍ8n)lz'‰ÿä'ý{Çüª–ÿ!Ë?ûkÿ¢^®øŸþBq׼ʩhßò³ÿ¶¿ú%éuC¨¢Š*„sðö¦ðêZv…©Øézf™zÖ°[Ëb÷ Ê$¤—3)ë)ã«KNø{®i?kûˆ´Ø¾×r÷SÿĦFß+ãsspqœžÕfÓdÖá´¶ŽâòûÄ&ÞÝ%”Åáe„»…b£loŒ)ç€IŽ‹ªÍ© Øní£·¼±¸û=ÂE)–=Æ4rªXm‘3•är&ÒЛœµç‚>]kJ:QV_³¾‘# ,y7çqÈ9È8Æ0+Ó¨¢È.y _L6ØÅªi±ÚÜF±MiÓ Wó·úW,£@ã8â§Õ~ Ë­jm©j:–=ÛÆbi‘ Ü6•ÉäÀ#¯Eåz—­_K²Óoõ}*k[ l§J”4j. ØÀÉç=iéÞ×´> éVö°.ØãM°þrIä“É$“^ƒEAsÎî~ë—šŽ¥?ˆ´×»±ó>Í'öLƒfõÚÜ ŒÜ¥Â{ø4Í;M[ÓVÓN¹V±ÿfJ|¹C3ÏÚryfà’9¯Q¢‹ ¹åü–-]ueÔ´s|·/t&m"F>kà–æç‘:)ä`Ѫü—ZÔÛRÔu-{·ŒÄÒ"A¸m+’È€<6200F=^Š,<®o„7WéSË«éFm)Q,äT¡£T  $\üÀ1»=ýNz+} ZÓçêzÕ¥ì ¬¢(, 6ÒA,en8éDZ쪆«þ¦?÷›ÿE½ ç'«Èûþ½äÿÐMd\ÈØ?ì&Ÿú8V¾­ÿ {ïú÷“ÿA5‘qÿ#`ÿ°šèáY²‘Ñ×3¨[¯„ü1gcáôŠÑ>× ¼BPÒªyÓbAlž\žµÓV‹¿äaÿa[ý(Ž˜´ï kšOÚþŬé±}®åî§ÿ‰d¾WÆææsŒàp8©¯4_ߨÜYÝkºl–÷´R§ö[ÊÃdO‘ÁíSiþ"º»m.yì!ŠÇUÇØäK’òóJ¾b~DlᛑȻ©jWV÷ÖÖÜ]Ï“<æÂ!@ß0G;³"àcÏ#G9‚5|6|<ºŽ”t¢¬¿g}2F,Xòn ÎãsqŒ`V|_ L6ØÅy¦ÇkqÅ4ic81K¤òÁº1ä3Ž+¹Òµí;pbòd’6à7hß+¹N#¥]¢àyþ«ðÞ]kSmKQºÑç»xÌM!Òä†Ò¹ \XÃc#`aú—ÃÛ­_K²Óoï´©­lT%²6PѨP¸ .cg'œ ôÞÑEÀå´ïëÚNŸ…†±¥[ÚÀ»c4–À÷ÿ’O$žI$šƒZð¦±â<Øjº®•slX>ÖÒÜáN=G¡#¡5ØQ@ÎGðæcug¦Þèñ[ÝÇÂ>•$žhÆ0Åç$® ã§'ÔÕ]+á“è—–÷šuÞ•Í»;E(Ó¦f×kd›ƒ‘Ž€ä ’0I¯C¢‹ˆó•øX©æ…›G -Ê]<Ù²ùfDÝ·äûFÝ£{ ¸ÛƒŒt«¶Þ¼´ðôº 7º:é“gÌ€éRäó’Æ}Ÿ9ÈÀÆ0+¹¢‹çú_Ãytiì.´x‹Û5¬€ér8’&m̬à†Éîrpè1]W†ü5§ø[D†ËO…c,ÅKáäÎÒÀ31Q…dãúÖµ=¿ÔÃþëèm@:Çü½Û·þ׬ Ÿøõ›ýÆþU¿¬Ë×ý»ízÀ¹ÿY¿ÜoåRÊGsÿS¾ßÎiÿýÖÿÐM6çþ>¦ÿ}¿:Óþ>û­ÿ š®¤™—66Ow3=•«1v%š$œõ'Øí"dx­-ãpë†HUHäw©¼Ö7Ž×+¥3 ˜´òÄçžNÓž½riöÑÛ5Ü+œÑ9‘@q`So>»F) ‹ÁŸò.Ÿúþ½ÿÒ©k~°<ÿ"éÿ¯ëßý*–·é€U[ûuÞå6àmîd³‚>ôl ôÎ?*µE2–#… •B‚î]ˆ±$“îNM>Š(¢Š(¢Š(¢Š(¨.åÛþ¾íÿôjTõÏü»×Ý¿þJäk3KÿŽ·ÿ_«ÿ¤ðÖfiòÖÿëõôžštÙ#YbxذWR¤«8>„r¸§Q@~•£j6‘Yʰ\Á<¶PkÀí•üà@b¬61#9À#nÀ­uÕ»ÔÌvñȯåy0À¸Øi†Ò íXóóÅ‚µu4S¸Xå–Ë\ŽïLei’Ý<ÄY ¥Nò\¹yG ¥F?{·o@Zçˆíõy¾ÌÚd’*¦íâ ïãc`È€†È$ƒ‘•n£vŠ.9øGäþßûnÛŸÚhÏÚßo—öm¹Û»ë>\c8ãîñM°³×ÓO½ŽîYžrÑ‚I†ýï–ÞcYxFçM\,sºeÕžµ5Ü–·¬³ZÅ—ºlÄò°,9Èrèÿ31%º*(¤Yš§ü„tOúýoý'š´ë3Tÿމÿ_­ÿ¤óP€Ó®Wǽt¯úàÿú®ª¹_õÒ¿ëƒÿèfªŠ[‰âù Åÿ^ñÿ*¥£ÈrÏþÚÿè—«¾'ÿœ_õïòªZ7ü‡,ÿí¯þ‰z]GÐê(¢Š¡:%µÛÝêö–²];ÄÍq%¼L‹$ŠÚzÅ„ÞUr  œ°à§ö>¶»Iu‹û»Y-£z.#·•‘¤VbÃì,¹&"FðGC3|ÚkëÍwÑ­Þ¦g€ˆÙ·ÇäB›¸ø‘‡>ž„WKöè}&ÿ¿þkbYfŠ­öè}&ÿ¿þ}ºI¿ïÃÿ…;ˆ³EVût>“߇ÿ >ݤß÷áÿ‹fŠ­öè}&ÿ¿þ}ºI¿ïÃÿ…Í[íÐúMÿ~ü(ût>“߇ÿ .š*·Û¡ô›þü?øQöè}&ÿ¿þ\ 5CUÿSûÍÿ¢Þ¦ût>“߇ÿ ©:OÖ_”³Ñ2€60êG¸¤Æs·üï¿ëÞOýÖEÇüƒþÂiÿ£…kêßò¾ÿ¯y?ôYò6û §þŽ›)`x»þA¶ö±ÿÒˆë~²—¦¥”SM2«É!’m»ÙÙØ ¬zW©€QEQEQEQEQET?òíÿ_vÿú5*z‚çþ]¿ëîßÿF¥r5™¥ÿÈG[ÿ¯ÕÿÒxkN³4¿ùëõú¿úO @Í:(¢€ (¢€ (¢€ (¢€ (¢€ ÌÕ?ä#¢×ëé<Õ§Yš§ü„tOúýoý'š„r¾=ë¥×ÿÐÍuUÊø÷®•ÿ\ÿC5PÜRØôOÿÈN/ú÷ùVeŒâÛP†á‰òv7FÊ8ÈÏ,;ŠÓñ?ü„âÿ¯xÿ•bÒ{lmlÓßþHÿöê?¶?éïÿ$ûubÑEÂÆ×öÇý=ÿäÿn£ûcþžÿòGÿ·V-\,mlÓßþHÿöê?¶?éïÿ$ûubÑEÂÆ×öÇý=ÿäÿn£ûcþžÿòGÿ·V-\,mlÓßþHÿöê?¶?éïÿ$ûubÑEÂÆ×öÇý=ÿäÿn£ûcþžÿòGÿ·V-\,mlÓßþHÿöê?¶?éïÿ$ûubÑEÂÆ×öÇý=ÿäÿn£ûcþžÿòGÿ·V-\,k\j+sm,xBÊ… <àŒÏj©-Ò>¶/@o/í‹>]¢@ØúâªQJàmlÓßþHÿöê?¶?éïÿ$ûubÑNáckûcþžÿòGÿ·Qý±ÿOù#ÿÛ«Š.6¿¶?éïÿ$ûuÛô÷ÿ’?ýº±h¢áckûcþžÿòGÿ·Qý±ÿOù#ÿÛ«Š.6¿¶?éïÿ$ûuÛô÷ÿ’?ýº±h¢áckûcþžÿòGÿ·Qý±ÿOù#ÿÛ«Š.6¿¶?éïÿ$ûuÛô÷ÿ’?ýº±h¢áckûcþžÿòGÿ·Qý±ÿOù#ÿÛ«Š.4//#ž|òK#Gÿ,<µ žgûm“óþ•™2 ‘2Ê@ÏÒŸE 7§ÖÖ[‰dK’ªÎX)²Éž™ó†*ûcþžÿòGÿ·V-î6¿¶?éïÿ$ûuÛô÷ÿ’?ýº±h¢áckûcþžÿòGÿ·Qý±ÿOù#ÿÛ«Š.6¿¶?éïÿ$ûuÛô÷ÿ’?ýº±h¢áckûcþžÿòGÿ·Qý±ÿOù#ÿÛ«Š.6¿¶?éïÿ$ûuÛô÷ÿ’?ýº±h¢áckûcþžÿòGÿ·Qý±ÿOù#ÿÛ«Š.6¿¶?éïÿ$ûuÛô÷ÿ’?ýº±h¢áckûcþžÿòGÿ·Qý«É šéš8æŽR©e´¬2œtô¬Z(¸X+aÕ­5 BKk[)¡¹™eS-ÓÆÃ¢@»¦z÷­Š)™çë¿ôÓ¿ð=ÿøÍ~»ÿ@í;ÿßÿŒÖ™çë¿ôÓ¿ð=ÿøÍ~»ÿ@í;ÿßÿŒÖ™çë¿ôÓ¿ð=ÿøÍ~»ÿ@í;ÿßÿŒÖ™çë¿ôÓ¿ð=ÿøÍ~»ÿ@í;ÿßÿŒÖ™çë¿ôÓ¿ð=ÿøÍ~»ÿ@í;ÿßÿŒÖ™çë¿ôÓ¿ð=ÿøÍDÐê×z†Ÿ%Í­”0ÛLÒ±Šéäc˜Ýƽß={VÅW+ãÞºWýpý ×U\¯zé_õÁÿô3U Å-Œ§ñˆ¤rí«\dúåÚ›ÿ wˆ?è-sÿ}QEj@Â]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßTÂ]âú \ÿßTQ@ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõEÂ]âú \ÿßUFÿU¾Õúåçd)~ QEÿÙpyFltk-1.3.0/fltk/docs/CH5_Drawing.html0000644000175100017510000007602711651413735016232 0ustar heldheld

5 - Drawing Things in pyFltk

This chapter covers the drawing functions that are provided with pyFltk.

When Can You Draw Things in pyFltk?

There are only certain places you can execute drawing code in pyFltk. Calling these functions at other places will result in undefined behavior!

  • The most common place is inside the virtual method Fl_Widget.draw(). To write code here, you must subclass one of the existing Fl_Widget classes and implement your own version of draw().
  • You can also write boxtypes and labeltypes. These are small procedures that can be called by existing Fl_Widget.draw() methods. These "types" are identified by an 8-bit index that is stored in the widget's box(), labeltype(), and possibly other properties.
  • You can call Fl_Window.make_current() to do incremental update of a widget. Use Fl_Widget.window() to find the window.

pyFltk Drawing Functions

pyFltk provides the following types of drawing functions:

Boxes

pyFltk provides three functions that can be used to draw boxes for buttons and other UI controls. Each function uses the supplied upper-lefthand corner and width and height to determine where to draw the box.

fl_draw_box(boxtype, xpos, ypos, width, height, color);

The first box drawing function is fl_draw_box() which draws a standard boxtype c in the specified color c.

fl_frame(s, xpos, ypos, width, height);

The fl_frame() function draws a series of line segments around the given box. The string s must contain groups of 4 letters which specify one of 24 standard grayscale values, where 'A' is black and 'X' is white. The order of each set of 4 characters is: top, left, bottom, right. The results of calling fl_frame() with a string that is not a multiple of 4 characters in length are undefined.

The only difference between this function and fl_frame2() is the order of the line segments.

fl_frame2(s, xpos, ypos, width, height);

The fl_frame2() function draws a series of line segments around the given box. The string s must contain groups of 4 letters which specify one of 24 standard grayscale values, where 'A' is black and 'X' is white. The order of each set of 4 characters is: bottom, right, top, left. The results of calling fl_frame2() with a string that is not a multiple of 4 characters in length are undefined.

The only difference between this function and fl_frame() is the order of the line segments.

Clipping

You can limit all your drawing to a rectangular region by calling fl_push_clip, and put the drawings back by using fl_pop_clip. This rectangle is measured in pixels and is unaffected by the current transformation matrix.

In addition, the system may provide clipping when updating windows which may be more complex than a simple rectangle.

fl_clip(xpos, ypos, width, height)
fl_push_clip(int x, int y, int w, int h)

Intersect the current clip region with a rectangle and push this new region onto the stack. The fl_clip() name is deprecated and will be removed from future releases.

fl_push_no_clip()

Pushes an empty clip region on the stack so nothing will be clipped.

fl_pop_clip()

Restore the previous clip region.

Note:

You must call fl_pop_clip() once for every time you call fl_push_clip(). If you return to pyFltk with the clip stack not empty unpredictable results occur.

status <- fl_not_clipped(xpos, ypos, width, height)

Returns non-zero if any of the rectangle intersects the current clip region. If this returns 0 you don't have to draw the object.

Note:

Under X this returns 2 if the rectangle is partially clipped, and 1 if it is entirely inside the clip region.

(status, X, Y, W, H) <- fl_clip_box(xpos, ypos, width, height, int &X, int &Y, int &W, int &H)

Intersect the rectangle x,y,w,h with the current clip region and returns the bounding box of the result in X,Y,W,H. Returns non-zero if the resulting rectangle is different than the original. This can be used to limit the necessary drawing to a rectangle. W and H are set to zero if the rectangle is completely outside the region.

Colors

pyFltk manages colors as 32-bit unsigned integers. Values from 0 to 255 represent colors from the pyFltk 1.0.x standard colormap and are allocated as needed on screens without TrueColor support. The Fl_Color enumeration type defines the standard colors and color cube for the first 256 colors. All of these are named with symbols:

  • FL_GRAY0
  • FL_DARK1
  • FL_DARK2
  • FL_DARK3
  • FL_BACKGROUND_COLOR
  • FL_LIGHT1
  • FL_LIGHT2
  • FL_LIGHT3
  • FL_BLACK
  • FL_RED
  • FL_GREEN
  • FL_YELLOW
  • FL_BLUE
  • FL_MAGENTA
  • FL_CYAN
  • FL_DARK_RED
  • FL_DARK_GREEN
  • FL_DARK_YELLOW
  • FL_DARK_BLUE
  • FL_DARK_MAGENTA
  • FL_DARK_CYAN
  • FL_WHITE
  • Color values greater than 255 are treated as 24-bit RGB values. These are mapped to the closest color supported by the screen, either from one of the 256 colors in the pyFltk 1.0.x colormap or a direct RGB value on TrueColor screens. You can generate 24-bit RGB color values using the fl_rgb_color() function.

    fl_color(color)

    Sets the color for all subsequent drawing operations.

    For colormapped displays, a color cell will be allocated out of fl_colormap the first time you use a color. If the colormap fills up then a least-squares algorithm is used to find the closest color.

    color <- fl_color()

    Returns the last fl_color() that was set. This can be used for state save/restore.

    fl_color(r, g, b)

    Set the color for all subsequent drawing operations. The closest possible match to the RGB color is used. The RGB color is used directly on TrueColor displays. For colormap visuals the nearest index in the gray ramp or color cube is used.

    Line Dashes and Thickness

    pyFltk supports drawing of lines with different styles and widths. Full functionality is not available under Windows 95, 98, and Me due to the reduced drawing functionality these operating systems provide.

    fl_line_style(style, width=0, dashes=0)

    Set how to draw lines (the "pen"). If you change this it is your responsibility to set it back to the default with fl_line_style(0).

    Note:

    Because of how line styles are implemented on WIN32 systems, you must set the line style after setting the drawing color. If you set the color after the line style you will lose the line style settings!

    style is a bitmask which is a bitwise-OR of the following values. If you don't specify a dash type you will get a solid line. If you don't specify a cap or join type you will get a system-defined default of whatever value is fastest.

    • FL_SOLID      -------
    • FL_DASH       - - - -
    • FL_DOT        .......
    • FL_DASHDOT    - . - .
    • FL_DASHDOTDOT - .. -
    • FL_CAP_FLAT
    • FL_CAP_ROUND
    • FL_CAP_SQUARE (extends past end point 1/2 line width)
    • FL_JOIN_MITER (pointed)
    • FL_JOIN_ROUND
    • FL_JOIN_BEVEL (flat)

    width is the number of pixels thick to draw the lines. Zero results in the system-defined default, which on both X and Windows is somewhat different and nicer than 1.

    dashes is a pointer to an array of dash lengths, measured in pixels. The first location is how long to draw a solid portion, the next is how long to draw the gap, then the solid, etc. It is terminated with a zero-length entry. A NULL pointer or a zero-length array results in a solid line. Odd array sizes are not supported and result in undefined behavior.

    Note:

    The dashes array does not work under Windows 95, 98, or Me, since those operating systems do not support complex line styles.

    Drawing Fast Shapes

    These functions are used to draw almost all the pyFltk widgets. They draw on exact pixel boundaries and are as fast as possible. Their behavior is duplicated exactly on all platforms pyFltk is ported. It is undefined whether these are affected by the transformation matrix, so you should only call these while the matrix is set to the identity matrix (the default).

    fl_point(xpos, ypos)

    Draw a single pixel at the given coordinates.

    fl_rectf(xpos, ypos, width, height)

    Color a rectangle that exactly fills the given bounding box.

    fl_rectf(xpos, ypos, width, height, r, g, b)

    Color a rectangle with "exactly" the passed r,g,b color. On screens with less than 24 bits of color this is done by drawing a solid-colored block using fl_draw_image() so that the correct color shade is produced.

    fl_rect(xpos, ypos, width, height)

    Draw a 1-pixel border inside this bounding box.

    fl_line(xpos, ypos, xpos1, ypos1)
    fl_line(xpos, ypos, xpos1, ypos1, xpos2, ypos2)

    Draw one or two lines between the given points.

    fl_loop(xpos, ypos, xpos1, ypos1, xpos2, ypos2)
    fl_loop(xpos, ypos, xpos1, ypos1, xpos2, ypos2, xpos3, ypos3)

    Outline a 3 or 4-sided polygon with lines.

    fl_polygon(xpos, ypos, xpos1, ypos1, xpos2, ypos2)
    fl_polygon(xpos, ypos, xpos1, ypos1, xpos2, ypos2, xpos3, ypos3)

    Fill a 3 or 4-sided polygon. The polygon must be convex.

    fl_xyline(xpos, ypos, xpos1)
    fl_xyline(xpos, ypos, xpos1, ypos2)
    fl_xyline(xpos, ypos, xpos1, ypos2, xpos3)

    Draw horizontal and vertical lines. A horizontal line is drawn first, then a vertical, then a horizontal.

    fl_yxline(xpos, ypos, ypos1)
    fl_yxline(xpos, ypos, ypos1, xpos2)
    fl_yxline(int x, int y, int y1, xpos2, ypos3)

    Draw vertical and horizontal lines. A vertical line is drawn first, then a horizontal, then a vertical.

    fl_arc(xpos, ypos, width, height, a1, a2)
    fl_pie(xpos, ypos, width, height, a1, a2)

    Draw ellipse sections using integer coordinates. These functions match the rather limited circle drawing code provided by X and WIN32. The advantage over using fl_arc with floating point coordinates is that they are faster because they often use the hardware, and they draw much nicer small circles, since the small sizes are often hard-coded bitmaps.

    If a complete circle is drawn it will fit inside the passed bounding box. The two angles are measured in degrees counterclockwise from 3'oclock and are the starting and ending angle of the arc, a2 must be greater or equal to a1.

    fl_arc() draws a series of lines to approximate the arc. Notice that the integer version of fl_arc() has a different number of arguments than the fl_arc() function described later in this chapter.

    fl_pie() draws a filled-in pie slice. This slice may extend outside the line drawn by fl_arc; to avoid this use width - 1 and height - 1.

    Drawing Complex Shapes

    The complex drawing functions let you draw arbitrary shapes with 2-D linear transformations. The functionality matches that found in the Adobe® PostScriptTM language. The exact pixels that are filled are less defined than for the fast drawing functions so that pyFltk can take advantage of drawing hardware. On both X and WIN32 the transformed vertices are rounded to integers before drawing the line segments: this severely limits the accuracy of these functions for complex graphics, so use OpenGL when greater accuracy and/or performance is required.

    fl_push_matrix()
    fl_pop_matrix()

    Save and restore the current transformation. The maximum depth of the stack is 4.

    fl_scale(xfraction, yfraction)
    fl_scale(xfraction)
    fl_translate(xfraction, yfraction)
    fl_rotate(dfraction)
    fl_mult_matrix(afraction, bfraction, cfraction, dfraction, xfraction, yfraction)

    Concatenate another transformation onto the current one. The rotation angle is in degrees (not radians) and is counter-clockwise.

    fl_begin_line()
    fl_end_line()

    Start and end drawing lines.

    fl_begin_loop()
    fl_end_loop()

    Start and end drawing a closed sequence of lines.

    fl_begin_polygon()
    fl_end_polygon()

    Start and end drawing a convex filled polygon.

    fl_begin_complex_polygon()
    fl_gap()
    fl_end_complex_polygon()

    Start and end drawing a complex filled polygon. This polygon may be concave, may have holes in it, or may be several disconnected pieces. Call fl_gap() to seperate loops of the path. It is unnecessary but harmless to call fl_gap() before the first vertex, after the last one, or several times in a row.

    Note:

    For portability, you should only draw polygons that appear the same whether "even/odd" or "non-zero" winding rules are used to fill them. Holes should be drawn in the opposite direction of the outside loop.

    fl_gap() should only be called between fl_begin_complex_polygon() and fl_end_complex_polygon(). To outline the polygon, use fl_begin_loop() and replace each fl_gap() with fl_end_loop() fl_begin_loop().

    fl_vertex(xfraction, yfraction)

    Add a single vertex to the current path.

    fl_curve(xfraction, yfraction, xfraction1, yfraction1, xfraction2, yfraction2, xfraction3, yfraction3)

    Add a series of points on a Bezier curve to the path. The curve ends (and two of the points) are at xfraction, yfraction and xfraction3, yfraction3.

    fl_arc(xpos, ypos, radius, start, end)

    Add a series of points to the current path on the arc of a circle; you can get elliptical paths by using scale and rotate before calling fl_arc(). xpos,ypos are the center of the circle, and radius is its radius. fl_arc() takes start and end angles that are measured in degrees counter-clockwise from 3 o'clock. If end is less than start then it draws the arc in a clockwise direction.

    fl_circle(xpos, ypos, radius)

    fl_circle() is equivalent to fl_arc(...,0,360) but may be faster. It must be the only thing in the path: if you want a circle as part of a complex polygon you must use fl_arc().

    Note:

    fl_circle() draws incorrectly if the transformation is both rotated and non-square scaled.

    Drawing Text

    All text is drawn in the current font. It is undefined whether this location or the characters are modified by the current transformation.

    fl_draw(string, xpos, ypos)
    fl_draw(character, n, xpos, ypos)

    Draw a nul-terminated string or an array of n characters starting at the given location. Text is aligned to the left and to the baseline of the font. To align to the bottom, subtract fl_descent() from ypos. To align to the top, subtract fl_descent() and add fl_height(). This version of fl_draw provides direct access to the text drawing function of the underlying OS. It does not apply any special handling to control characters.

    fl_draw(string, xpos, ypos, width, height, align, image = 0, draw_symbols = 1)

    Fancy string drawing function which is used to draw all the labels. The string is formatted and aligned inside the passed box. Handles '\t' and '\n', expands all other control characters to ^X, and aligns inside or against the edges of the box described by xpos, ypos, width and height. See Fl_Widget::align() for values for align. The value FL_ALIGN_INSIDE is ignored, as this function always prints inside the box.

    If image is provided and is not None, the image is drawn above or below the text as specified by the align value.

    The draw_symbols argument specifies whether or not to look for symbol names starting with the "@" character.

    The text length is limited to 1024 caracters per line.

    (width, height) <- fl_measure(string, draw_symbols = 1)

    Measure how wide and tall the string will be when printed by the fl_draw(...align) function.

    height <- fl_height()

    Recommended minimum line spacing for the current font. You can also just use the value of size passed to fl_font().

    distance <- fl_descent()

    Recommended distance above the bottom of a fl_height() tall box to draw the text at so it looks centered vertically in that box.

    width <- fl_width(string)
    width <- fl_width(string, n)
    width <- fl_width(character)

    Return the pixel width of a nul-terminated string, a sequence of n characters, or a single character in the current font.

    shortcut <- fl_shortcut_label(value)

    Unparse a shortcut value as used by Fl_Button or Fl_Menu_Item into a human-readable string like "Alt+N". This only works if the shortcut is a character key or a numbered function key. If the shortcut is zero an empty string is returned. The return value points at a static buffer that is overwritten with each call.

    Fonts

    pyFltk supports a set of standard fonts based on the Times, Helvetica/Arial, Courier, and Symbol typefaces, as well as custom fonts that your application may load. Each font is accessed by an index into a font table.

    Initially only the first 16 faces are filled in. There are symbolic names for them: FL_HELVETICA, FL_TIMES, FL_COURIER, and modifier values FL_BOLD and FL_ITALIC which can be added to these, and FL_SYMBOL and FL_ZAPF_DINGBATS. Faces greater than 255 cannot be used in Fl_Widget labels, since Fl_Widget stores the index as a byte.

    fl_font(face, size)

    Set the current font, which is then used by the routines described above. You may call this outside a draw context if necessary to call fl_width(), but on X this will open the display.

    The font is identified by a face and a size. The size of the font is measured in pixels and not "points". Lines should be spaced size pixels apart or more.

    face <- fl_font()
    size <- fl_size()

    Returns the face and size set by the most recent call to fl_font(a,b). This can be used to save/restore the font.

    Drawing Overlays

    These functions allow you to draw interactive selection rectangles without using the overlay hardware. pyFltk will XOR a single rectangle outline over a window.

    fl_overlay_rect(xpos, ypos, width, height)
    fl_overlay_clear()

    fl_overlay_rect() draws a selection rectangle, erasing any previous rectangle by XOR'ing it first. fl_overlay_clear() will erase the rectangle without drawing a new one.

    Using these functions is tricky. You should make a widget with both a handle() and draw() method. draw() should call fl_overlay_clear() before doing anything else. Your handle() method should call window().make_current() and then fl_overlay_rect() after FL_DRAG events, and should call fl_overlay_clear() after a FL_RELEASE event.

    Drawing Images

    To draw images, you can either do it directly from data in your memory, or you can create a Fl_Image object. The advantage of drawing directly is that it is more intuitive, and it is faster if the image data changes more often than it is redrawn. The advantage of using the object is that pyFltk will cache translated forms of the image (on X it uses a server pixmap) and thus redrawing is much faster.

    Direct Image Drawing

    The behavior when drawing images when the current transformation matrix is not the identity is not defined, so you should only draw images when the matrix is set to the identity.

    fl_draw_image(data, xpos, ypos, width, height, delta = 3, line_delta = 0)
    fl_draw_image_mono(data, xpos, ypos, width, height, delta = 1, line_delta = 0)

    Draw an 8-bit per color RGB or luminance image. The pointer points at the "r" data of the top-left pixel. Color data must be in r,g,b order. xpos, ypos are where to put the top-left corner. width and height define the size of the image. delta is the delta to add to the pointer between pixels, it may be any value greater or equal to 3, or it can be negative to flip the image horizontally. line_delta is the delta to add to the pointer between lines (if 0 is passed it uses width * delta), and may be larger than width * delta to crop data, or negative to flip the image vertically.

    It is highly recommended that you put the following code before the first show() of any window in your program to get rid of the dithering if possible:

      Fl.visual(FL_RGB)
      

    Gray scale (1-channel) images may be drawn. This is done if abs(delta) is less than 3, or by calling fl_draw_image_mono(). Only one 8-bit sample is used for each pixel, and on screens with different numbers of bits for red, green, and blue only gray colors are used. Setting delta greater than 1 will let you display one channel of a color image.

    Note:

    The X version does not support all possible visuals. If pyFltk cannot draw the image in the current visual it will abort. pyFltk supports any visual of 8 bits or less, and all common TrueColor visuals up to 32 bits.

    Image Classes

    pyFltk provides a base image class called Fl_Image which supports creating, copying, and drawing images of various kinds, along with some basic color operations. Images can be used as labels for widgets using the image() and deimage() methods or drawn directly.

    The Fl_Image class does almost nothing by itself, but is instead supported by three basic image types:

    The Fl_Bitmap class encapsulates a mono-color bitmap image. The draw() method draws the image using the current drawing color.

    The Fl_Pixmap class encapsulates a colormapped image. The draw() method draws the image using the colors in the file, and masks off any transparent colors automatically.

    The Fl_RGB_Image class encapsulates a full-color (or grayscale) image with 1 to 4 color components. Images with an even number of components are assumed to contain an alpha channel that is used for transparency. The transparency provided by the draw() method is either a 24-bit blend against the existing window contents or a "screen door" transparency mask, depending on the platform and screen color depth.

    pyFltk also provides several image classes based on the three standard image types for common file formats:

    Each of these image classes load a named file of the corresponding format. The Fl_Shared_Image class can be used to load any type of image file - the class examines the file and constructs an image of the appropriate type.

    Finally, pyFltk provides a special image class called Fl_Tiled_Image to tile another image object in the specified area. This class can be used to tile a background image in a Fl_Group widget, for example.

    copy();
    copy(width, height);

    The copy() method creates a copy of the image. The second form specifies the new size of the image - the image is resized using the nearest-neighbor algorithm.

    draw(xpos, ypos, width, height, ox = 0, oy = 0);

    The draw() method draws the image object. xpos, ypos, width, height indicates a destination rectangle. ox,oy,width,height is a source rectangle. This source rectangle is copied to the destination. The source rectangle may extend outside the image, i.e. ox and oy may be negative and width and height may be bigger than the image, and this area is left unchanged.

    draw(xpos, ypos)

    Draws the image with the upper-left corner at xpos, ypos. This is the same as doing draw(x,y,img.w(),img.h(),0,0). pyFltk-1.3.0/fltk/docs/boxtype.jpg0000644000175100017510000016075311651413735015506 0ustar heldheldÿØÿàJFIF,,ÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÀÝ`"ÿÄ ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?ì¼gã9ü)s¥ÚÚé ¨K|6Ç`6à ŒX’õ‘ÿ ÷‹èœêøßüfÿÈýà/úþ‹ÿB‚©ÿ±ðÏüûÏÿÚ»¨C©§^é¾Êý_÷£oÄ͹¹4˜ÝGâί¤†§àɬŒ¹òÅÏî÷ãÆè†q‘Ÿ¨ªcㄟô/Eÿ×ÿ×3ñB±ðòhÖšz:DæêRËÇÉý€®(WE<>¢rŠÓæ¿ ¿ÌÆu'kž¸>7ÉÿBü_÷ùøÝ(øÛ'ý ñßåÿãu䂞*þ§CùO¶ŸsÖGÆÉ?èýþ_þ7N¤ÿ _÷ùøÝy0§Š>§GùÚ}ÏWÿ…Ó'ý"ÿ¿ËÿÆéásÉÿ@¿ïòÿñºò‘N}NoҶŸsÕásIÿ@¿ïêÿñºQñ–OúEÿWÿ×– p£êt{~,=´ûž§ÿ ŽOúEÿWÿÒŒ2Ð/ûú¿ün¼´SÅ/©Ñíø°öÓîz€øÁ!ÿ˜_÷õøÝ(ø½'ýâÿ¿«ÿÆëÌ祋RÐ/ûø¿ün—þÌŸô‹þþ/ÿ¯5áGÕ(öüX½´ûž’>+Éÿ@h¿ïâÿñºQñZOúEÿÿל p£ê”{~,~Ú}ÏGÿ…©'ýâÿ¾×ÿÒŠrÐ/ûíøŠó¡N}RoҶŸsÑÅüÁâÿ¾×ÿˆ¥$ÿ D_÷Úÿñ炞)}RoҶŸsЇÄéüÂ"ÿ¾×ÿˆ¥dÿ L_÷Úÿñçž(ú¥ß‹¶Ÿs¿ÿ…—'ýbÿ¾—ÿˆ¥¤ÿ T_÷ÒÿñÁ p£ê”{~,=´ûïü,™?èýô¿üE/ü,y?èýô¿üEpbœ)}RoҶŸs»ÿ…'ýâÿ¾—ÿˆ¥$ÿ \_÷Òÿñà p£ê´{~aí§Üî?áaÉÿ@È¿5ÿâ)GÄ?èæ¿üEq"œ(ú­.ߘ{i÷;oøXÐ6/ÍøŠ_øO¤ÿ l_šÿñÅŠp£ê´»~aí§Üìÿá=“þÑ~kÿÄRÿÂy'ý¢ÿÇøŠãEæÏöìŸóïýð¿üM/öÜŸóÂ/ûáøšÇñGÕ©vüÃÛÔîk jOùáýð¿üM/öÌŸóÆ/ûö¿üMe x£êô»~böõ;šcW“þxÅÿ~×ü)ßڲϿïÚÿ…f x£êô»~aíêw4F©'üò‹þý¯øRÿiIÿ<¢ÿ¿kþž)â—ÕéöoS¹xj2Ï8¿ïÒÿ…Z&ñX«Ejà‚bâ²EM­ëf“xÿÚZŸ›#ùic߃Î7œd~uÏ^§k/ÌÞŒ¥;ÝþE›Ë×°³šîçì‘Á vÌG{OÐsS“x¬U¢µpA1q\§‰¯-oüugs Í»ÄvK ‡FÃ`àŽ ©ø‡Âz'Š>!êÛ6_iû=•¿•û×M»¥¹ÏÝ#?tuô®~xÿ/çþfܯ¿åþGayzös]Üý’8!BîÙˆàaÉújT’êHÕÄVá[‘»ËçÒ¼¾ëÃÚW†¡ñUž‘kökwÓm%dóòÆIÁ9bOE•w#’Æ/ Èú•üÖ‹nL—PLÑIÎØ*ËÎì㜞0sƒW+|¿ŸùŠÏš×ü¿ÈÚÝuÿ<í8«˜ñ>¨/|ª½»ÄSËxËÆª2Cm`2ã‚=«œð¦¥«Þx†Ý©4FÂ<ÝZ&ÝØÏÝ#?tuª#ÁZïüûÛàtü]v´W\i8+Fßwü7õg<®Ï oüƒÿ‹§kŸóÂÛÿ ÿâë±¢«–]ÿø"öq8ñàÝoþx[àtü]8x;Zÿž6ßøÿ]urË¿áÿ=œNLx?Zÿž6ßøÿNÿ„CYÿž6ßøÿ]U¹eßðÿ‚Î',<#¬ÿÏ+oü ƒÿ‹§ kóÊÛÿaÿâë§¢ŽYwü?à‡³‰Í êÿóÊÛÿaÿâéÚ¿üò¶ÿÀØøºè裖]ÿø!ìâsú·üó¶ÿÀØøºpð¶«ÿ<í¿ð6þ.·è£’]ÿø!ìâ` ê¿óÎÛÿaÿâéÃç÷-¿ð2þ.·(£’]ÿø!ìâb êܶÿÀÈøºpðÖ§ýËoü ‡ÿ‹­Š(ä—Ãþ{(™#Ãz—÷m¿ð2þ*”xsRþí·þCÿÅV­¹%ßðÿ‚Î&`ðö£ýÛoü ‡ÿЧê–ßøÿZ4QÉ.ÿ‡üöq( Pô¶ÿÀÈøªpÐoý-¿ð./þ*®ÑG³—Ãþ{8”Æ…}ÿNßøÿN÷ý;à\_üUZ¢g.ÿ‡üöQ+÷þ¿ð./þ*œ4[Ï[oü ‹ÿŠ©¨£ÙË¿áÿ=”HÆyëmÿqñT£G»õ¶ÿÀ¸¿øª}{9wþ¾ðöQi~¶ßøÿNM×÷­¿ð*/þ*’Š=œ»ÿ_x{(UÏ÷­¿ð*/þ*œ4»Ÿï[àT_üUEE/g.ÿ×ÞÊ$ãL¸þý·þEÿÅR6ïÛàT_üUW¢fûÿ_x{(–†?÷í¿ð*?þ*œ4ù¿ç¥·þGÿÅU:(öO¿õ÷‡²‰xXKÿ=-¿ð*?þ*”XËÿ=-¿ð*?þ*¨QG²}ÿ¯¼=”Me'üô¶ÿÀ˜ÿøªp³“þzÛàLüUfQG²}ÃÙDÕÿ=m¿ð&?þ*œ-[þzÛàLüUdQG²}ÃÙDÙÍÿ=­¿ð&?þ*œ-Ïüö¶ÿÀ˜ÿøªÄ¢dû‡²‰¸ ÿ¦ÖßøÿNÿÓ{oü ükŠ=“îÊ'@"óÞÛÿ#ÿpŒÏ{oüük¢—±}ÃÙDèÂ/üü[àB8*ÏÅ·þ'ø×5EÅ÷e§?çâÛÿüiÀÇÿ?6ßøŸã\µ{Ü=”N¬4_óómÿ þ4àñÏÍ·þ'ø×%EÅ÷e®Cÿ?6ß÷ý?Æœ%ƒþ~­¿ïúqôQì_pöQ;!4óõmÿÓüiÂ{ùú¶ÿ¿éþ5ÅÑG±}ÃÙDíEÅ·üýÛßôÿp¹¶ÿŸ»oûþŸã\E½ƒîÊ'r.­çîÛþÿ§øÓ…ݧüþ[ßõÿá(£Ø>áì¢w¢òÓþ-¿ïòÿ8^ÙÿÏå·ýþ_ñ®Š=ƒîÊ' ‹ë?ùý¶ÿ¿Ëþ5«Xr7RÕô¬32,ú|R÷BîrGAù çh¨žOâ×ÞTc˳7_K‘´‡Ò£ñ•‹)_& HãUäà+ŒsÍ;UÒ£ÖïšóQÔ¼=s1È 6…W$휜O~õEGÔ!ý×wßòÿ#Y|? V7VvÚ¾‰k Ò…˜ZØEp:d«Œã'ZÞ½¼¼žUû/ˆtëhv¬f%sÔ’I/Ï$öcë\]þ£ [úüÅ­ïëî:¿7Tÿ¡¯NÿÀdÿã•ZúÞ+/‡ú•¤wÝ4hÌÏË9n€œuõí\í__ù|Aÿ\£þf°¯…*NQòüÊÛWgCãßõ¶õÏÿeJãë°ñïúÛúçÿ²¥qõÕ‚þ~˜Op¢Š+¨¢Š(¢°¬¼@÷v‰r"³(Æ) ߘñ™T1“ß¶=ëv¦3RÕ‚ŠÊŸ[HRŒÀÛìãiæâP¨®yíê9õÏ I&¦è²Ü, Ö0–Yf2aÆÒC˜äyƒ€xÊö‘ 4U{럱i÷7[7ù4›sÛA8ÏáYxŠ•£ÚÈû7 ³¹dîU ri,ên¹#å8ÅÙ°±·Eg6¡sº\Y¯ÚfdŽ žb)¶ îÎG=q=¥ê^´¯×·B&VÈã$®8 d ç¨aÆ9ÓvÕQTEPEP÷†íáŸí^t1É·f7¨8ëë[ßÙö_óçoÿ~‡øV7…åïþÿ³WE^..RUšOú±¤v+gÙÏ¿ýúáGö}—üùÛÿß¡þfŠæç—r¬VþϲÿŸ;ûô?Âìû/ùó·ÿ¿Cü+›ÿ„ÊBš´‘Á¦:éËtò@º‘7;a,¹1y(b£¿ç¡ëhç—p±[û>Ëþ|íÿïÐÿ ?³ì¿çÎßþýð¬}OÄ’Yëë¤ÂšgšÐÅ"}·P6í+;º…E¶ãòãµtËÿíWŸËòöÜOÝÙÏ—+GŸÇn}³G<»…‡ÿgÙÏ¿ýúáGö}—üùÛÿß¡þBÃ]þÓŸQ·¶¶ÄÖ¹òĵdÃÉ$Wç…û—iêJ‡èZ•î©o4×vvöÊ“I ®ZRÍg(¸^:äÔs˸X¹ýŸeÿ>vÿ÷è…Ùö_óçoÿ~‡øV&³âŸì½e´üéQm·Ž3PÔ~Í»s:áFÆÎ6sþð©­|C6«w:FŸö˜qÉ7›0‰×z,`†}Œ¤äªå€Ý÷¶œòî5³ì¿çÎßþýð£û>Ëþ|íÿïÐÿ ÊÂv,ù¯u2éÃqQt²q‘‘‘³ï>mB¾Ñ½G<»…ŠßÙö_óçoÿ~‡øQýŸeÿ>vÿ÷è…Y¢Žyw úÕ¬ZLï´(ãnP>a\•všïün?à?ú®.½ln›¿ò3–á]Þªø{O‘¬m$yË<+‰u#Ò¸JïtŸù´Ï÷$ÿÑF=µM[¿ù„w,ìµÿ nŸÿ€©þlµÿ nŸÿ€©þ”W“Ï.æ–e¯ýtÿüOð£e¯ýtÿüOð¤¬ëŸØpZI¶Óý"ãÈßwuöx“äwË>ÖþæH£ž]ÂÆÎË_úéÿø ŸáFË_úéÿø ŸáY:^­%ýÓÛË º²ÚÃr$¶¸3Fë#Hkm\ŒFqü^Ù6ukÿì½ûPòüß²ÛÉ?—»níª[çÅòî.ìµÿ nŸÿ€©þlµÿ nŸÿ€©þ‡®ëÒiÖðÚ%Ä· ”ß1CyÐD![ßç8þœñsKÔ$½QÜ@ÜÚMäÌ‘ÈdMÅÆÖ!I]zÎGl“ž]ÂÆ†Ë_úéÿø ŸáFË_úéÿø Ÿá\Ž©ãxô½GQ‚a¦$V ¬ÚˆŽâUòÖBcˆ§Ì~l¸dŒdV”Úô‘¥ÅêZ#é­"Ü\™ˆyd¬Œ±íù•H å;[j·Ë¸ç—p±¹²×þºþ§øQ²×þºþ§øV7öïüL¿³>ÍþöžVþ<œnóúgf>\ãgÉŸâ­Š9åÜ,.Ë_úéÿø ŸáFË_úéÿø ŸáIEòîe¯ýtÿüOð®\”·Œï¡TŽ8c´·)HA-.NsÇ=x‚»êóíkþGGþ¼í¿œµÓ„”d›þ¬L¶#¢Š+Ú3.èžmcNkÙu{èY®nG AµU&tP7FOEI­øB×þƒº§ýñmÿÆjǃä\õùwÿ¥2Vý|ç<»›Xæ?á _úêŸ÷Å·ÿ£þµÿ î©ÿ|[ñšéëž_I/‰®4x“L ËYµ“º˜ÖFd‹Ë91þ.vž”s˸X‡þµÿ î©ÿ|[ñš?á _úêŸ÷Å·ÿ­½&ÿûSF±Ô<¿+íVñÏåîÝ·r†ÆxÎ3Uµ-JößS´°°³·¸–xe˜™îZUFŒvGÉ>`ôéG<»…ŒßøB×þƒº§ýñmÿÆhÿ„-è;ªßßüf®&½%ùé6‰5Ê)i㺘°áÞ2¥•_-¾7(#ä'w+ºüU¶÷Œ–®³C4PÇ ¸šI<‘¸€B0‘7qaW'<»…ˆá _úêŸ÷Å·ÿ£þµÿ î©ÿ|[ñšeçŽ-­›J•,å’ÒòÜ\Ï.à­kFò#þ,¬R’äl=IPw¬¯þ×u¨ÁåìûÀƒvìïÌQÉŸoõ˜ü=èç—p±‰ÿZÿÐwTÿ¾-¿øÍð…¯ýuOûâÛÿŒÔ:§ãÒõF †˜‘X0³j";‰WËY Ž"Ÿ1ù°á’1‘ZSkÒF—©h¤Z´‹qrf"Aå’²2Ç·æU ƒ–ímªß.ãž]ÂÅ?øB×þƒº§ýñmÿÆhÿ„-è;ªßßüf¯ÿnÿÄËû3ìßéßhÙåoãÉÆï?¦vcåÎ1æ|™þ*Ø£ž]ÂÇ1ÿZÿÐwTÿ¾-¿øÍð…¯ýuOûâÛÿŒ×OEòî8ÍzàÕZ8‘Q0ª02bR^i‹ÿ"ˆ?ë”ÌÔÞ#ÿÓÿ×?ôRT+ÿ"ˆ?ë”Ì׫_ýÓä¿C5ñÖØ×?ý•+®ÃÇ¿ël?ëŸþÊ•ÇÖ˜/àGçù„÷ (¢º‰ (¢€3Ž˜ãD¶ÓãCÛˆvÊÑäR2¹vú÷© ×¶±¨–½v'›TXÂŽ:‡“ëÐÿõîÑSȺ>5++Á)–ÚK© ‹¸)hIˆEÎ •¿FìFjÄšcºËn³ªØÌY¥„Ç—;‰,ç€I9àžNã4Röq ™—Ï=í½Í‡Ø.‘'F‡ÏÌET0#v7ççÍ ¥Íu(’úåÑ Ä`ˆÇ°îVÝË6HdR;uÈ9­:(äOp¹œÚ}Ìêïqx¿h1˜RH#1ùhÄnÚ7¸àrOuÌö–IdÒ¤RÝÈd…W3Œ¸à€qŽ¥9âÕÔw¢Š*€(¢Š(¢Šèü+ÿ/ðýšº*æ<7q jó¦Ž=Û1½€Ï_ZÞþвÿŸËûú?Ƽ\\dë6—õcHìY¢«hYÏå¿ýýãGö…—üþ[ÿßÑþ5ÍÉ.Å\ úÿj:GÚqößµ~÷gÜóÝÛ¦yÛ¿FqÚž%Õì!i.£MQ™€Hì-ÖAƒ’ÞlÄÓ¡Øö¹ý¡eÿ?–ÿ÷ôÚ_óùoÿGøÑÉ.Árž›Óêwz¤Ö·41[‹yü²ÀFÒ6죰ÁóqŽÛïU­ôbÒ+«{m^Ò8%’æXÏØI–&•ÁÜdÚv³ÿw1ÆsZ¿Ú_óùoÿGøÑý¡eÿ?–ÿ÷ô’ì3lü1g¦]ÙO§Éq¶Vˆ¤·Φ¸òÔ;ƒrÆÙQüt54QM¡éÌÚÜj ÷SJV-D’<ŸÆê07c®O\z\þвÿŸËûú?Æí /ùü·ÿ¿£ühä—`¹Ž–Ú½Þ§>©jSLiaŽÝíïí–v"6v ¦)ðóHÁçå§Úøzm*í´CìÐãŽo6+¶ÄXÃ¡È ûAÈeʃ·ïnÕþвÿŸËûú?Æí /ùü·ÿ¿£ühä—`¹”þ„lh&òžÖ8bÓŽÒÂÕcç''Ý|Ü€/mÇz«hYÏå¿ýýãGö…—üþ[ÿßÑþ4rK°\³EVþвÿŸËûú?Æí /ùü·ÿ¿£ühä—`¹_]ÿ-ÇüÿBÅ×[­^ZˤΑÜÂîváUÁ'æÉW­€MSwïþFrÜ+½ÒäZÓ?Ü“ÿF5pU½Œt½7L²°™/žhQ¼Ï&ÊWPK³¸.tõõÍôÝ5nÿæÜéè®cþÝþxjŸø/›ÿ‰£þÝþxjŸø/›ÿ‰¯'’].tõNöÃíwZtþfϱÜöíÎüÅ$xöÿYŸÃÞ±?á=Ñÿ熩ÿ‚ù¿øš?á=Ñÿ熩ÿ‚ù¿øš9%Ø._ºÓ5/홵 >þÒ:Þ(;‹F—î4Œ"DÇúÃëÒ™¨Ë>§ Þ“6‰©­µÊ½³Ü¤–áB0*\fMØÁÏÝÏ·j§ÿ îÿ<5OüÍÿÄÑÿ îÿ<5OüÍÿÄÑÉ.Áq÷¾¹ÖX½´¸òö*¤Ve“ΊWWV‘·nòUG@2r¶”…t[h-´ÝY`±ˆ†5‹œôwAÉ$ñžù¬¯øOtùáªà¾oþ&øOtùáªà¾oþ&ŽIv ƒhºŽ£¨t²³Õ˜›‹YíƒÏ˜–& "JP©pØÏ ô«“h2H—Iv‰¤]4qla&CæÒ*É»åV$“•$nm¬¿.ÚðžèÿóÃTÿÁ|ßüMðžèÿóÃTÿÁ|ßüM’ì/ÿaÄËûOí?éßhßæìãÉÆß#®vcæÆqæ|øþØ®cþÝþxjŸø/›ÿ‰£þÝþxjŸø/›ÿ‰£’]‚çOEsðžèÿóÃTÿÁ|ßüMðžèÿóÃTÿÁ|ßüM’ì:zóíkþGGþ¼í¿œµµÿ îÿ<5OüÍÿÄ×5=üZ¯Š/ï­â¸XÚS<,¦LŒ0ê?:éÂFJ²mV&[ÑEí7ƒä\õùwÿ¥2Výcø~Üiz@µžîÄÉçÏ/Éyy]ÀûÝpÃ>õ§öˆ?çæÓÿâÿâ«ç9%ØÚäµNÊÃì—ZŒþfÿ¶\ öíÆÌEx÷ÿWŸÇÚ§ûDóóiÿqñT}¢ùù´ÿÀ¸¿øª9%Ø.civZ¶ƒ¥Cm$ÑjPZ[¤CkkäÌÛv¨%žm§€IéíèXñjºž§ý¼¥Kk âþeY ÛåMÁPëýêÜûDóóiÿqñT}¢ùù´ÿÀ¸¿øª9%Ø.d¦ƒ%i7i Ë©Y亄̳eÞBÅU“ ¾G?)ç#o ´¶ðÍ¥®§kzŽìЫ—ßËK+3‘!#ç\pÍè6®5¾ÑüüÚà\_üUhƒþ~m?ð./þ*ŽIv ˜Ñxb5u¿Žm¥o ÈM¤ü¦9ALçþzO,™ÿko@0Ëð´SÃee{¨Ãq0tXŒ*mÑbŽ5B]×p8<œry;Ÿhƒþ~m?ð./þ*´Aÿ?6ŸøÿG$»Îu´]GQ‹T :YYêÌMŬöÁçLK‘%( TÈ8lgzUÉ´$K‹$»DÒ.šF¸¶0“!ó idÝò«IÊ’76Ö_—n·Ú ÿŸ›Oü ‹ÿŠ£íÏͧþÅÿÅQÉ.Ás3û þ&_ÚiÿNûFÿ7gN6ùs³633çÇðÖÅEöˆ?çæÓÿâÿâ¨ûDóóiÿqñTrK°\–Š‹íÏͧþÅÿÅQöˆ?çæÓÿâÿâ¨ä—`¹ÊxþCOÿ\`ÿÑIP¯üŠ> ÿ®Qÿ3Rø…Ñõ™ r$Š"‰wFÁ†Dj#ƒÈ5ÿÈ£âúåó5ê×ÿtù/ÐÍ|GCãßõ¶õÏÿeJãë°ñïúÛúçÿ²¥qõ¦ øùþa=Š(®¢BŠ( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( ¯¯üŠ> ÿ®Qÿ3T*úÿÈ£âúåó5Ëþ¾_š*;ÖØ×?ý•+B°‡RÖ!´œ¸‰Ã’c ·p}+Ç¿ël?ëŸþÊ••á/ùm¿Ü—ÿEµg‡ma.»?Ô%ñ|/ÿ<õûî/ð£>ÿžzÇý÷øV%Õì¼Ø®mçÂÿóÏXÿ¾âÿ 3áùç¬ßq…bU;NÚÚàÀþ{J9X­ä“’;Tã¡ü©8%¼ŸÞ:|ø_þyë÷Ü_áF|/ÿ<õûî/ð¬gŽá ÄÛ”;!8Ç*ÅHüÁ¢Iã‰âGl4¯±:¥±ù)ü¨ök~g÷…Íüø_þyë÷Ü_áF|/ÿ<õûî/ð®^mZÎ Ì Ò´ R(B0Ÿºg^}êÜr$±¬‘ºº8 ¬§ ƒÐƒIA7e'÷»Ÿ ÿÏ=cþû‹ü(Ï…ÿçž±ÿ}Åþɦ¹bðyên|¢‡6²€Ûˆ ·åç%†©áÔ-¦ŽWш†éÈÑ_ïÀpyéÁô4(Åí/Ä—>ÿžzÇý÷øQŸ ÿÏ=cþû‹ü+šþÑ´ÛÈÓª­ÄžTe~~Sž‡‚0qÈÇ^)“êöVó´+4ÊUZ8£i @‚z+ ÷rÇùŸÞQŸ ÿÏ=cþû‹ü(Ï…ÿçž±ÿ}ÅþËq Ê·A$l‡ò`©)û?ï?¼.mçÂÿóÏXÿ¾âÿ £¬Üè6š%ýÍ”Z“]Co$‘ 6nU$nÀÎ8è?1Ö©Ukþ@ŸýyÍÿ Šqƒ’“ÑܽEW@Š··R[ u†šYæò”<¦0>Fl’¿¹éÞ£óµOùð³ÿÀæÿãT_ÿÇΗÿ_‡ÿDËW«)JíèÿD2ªÏ…Ÿþ7ÿ£ÎÕ?çÂÏÿ›ÿU©çŽÚÞYæm±D…ݱœ2O^-NÚgDz3¾ÅÛÉãµ›rŽÊÉÜvrx\oªÏ…Ÿþ7ÿ£ÎÕ?çÂÏÿ›ÿUê§§i=Á÷‡d¢uVe$¬FŒ=¥ o'÷…ÆùÚ§üøYÿàsñª<íSþ|,ÿð9¿øÕ,š½”M(’VQbÎcm‡h%€laˆÁÈž® K¤¶iTLã*ž½ÀàwÚØèp¹ó?¼ þv©ÿ>øßüj;TÿŸ ?üoþ5K¯a,wŽ—*E‘ap0sÜçŒdô<ޏ8«3ϵ¼³ÌÛb‰ »c8dž(POU'÷WÎÕ?çÂÏÿ›ÿQçjŸóágÿÍÿÆ©³hª–éw8EÒPXNۓ“ÇJ•u fµ{ìÖ Œ®Œ.Ò7dä`c'#E±iýàGçjŸóágÿÍÿƨóµOùð³ÿÀæÿãU7Û­|ëx„è^å Ñ $ƒÐðAú}*Ö¬fˆJòÈ®ÈË /!vî(=7¯âqÖ‡­äþðÎÕ?çÂÏÿ›ÿQçjŸóágÿÍÿƪän$]CÀJŸÄGÐÓª½Ÿ÷˜\›L¶žîÃR¸»†8ZÚ4hÄ3™áNr‹ŽùÇ0Ö®›ÿ ]kþ¸Çÿ£R²©S½ä›ÙþˆWS¦èuÆ•ks?ÚŒ³+1òåUËЩþï­rÕÝiòÓ¿ë›ÿè׬q³”)§mGvWÿ„oHô¾ÿ¿éÿÄQÿÞ‘é}ÿÓÿˆ­:†îê)îî_dFÒÈø'j¨É8žyŸY­üÅò¢—ü#zG¥÷ýÿOþ"øFôKïûþŸüE-¾»cs,Q(»‰å“ÊŒ\YÍöÚϽF~Tcø{ŒéQõšß̨Ìÿ„oHô¾ÿ¿éÿÄQÿÞ‘é}ÿÓÿˆ¨¥ñ>—ÍÔµÚ=¤m,å¬f ˆ¡‰mÛ1ƒ±°s†Ç«—š­•„ðÁs6É'Ç–»IÝó¤}‡÷¥AÿôÖk0r¢øFôKïûþŸüEðé—ß÷ý?øŠ’×ZÓ¯ml.m®’XoÛe³ $;f#Ø€œãc¯fk¨må·ŠWÚ÷2¢'sgÇ·ÊŒyô£ë5¿˜9QKþ½#Òûþÿ§ÿGü#zG¥÷ýÿOþ"›sâ=6Òí­î$¸Vehà´–fUðŠxıóÓæÇ\Ö”3Gq sC"IŠe# ‚:ƒGÖk0r£?þ½#Òûþÿ§ÿGü#zG¥÷ýÿOþ"›§øMÔÞ¶{€']м֒’ŒnùÔ8ÉÀ$àÐ}¾½§Ýy¾D’¿—”bÞOÞ êÑ|¿½ŽSpù—ûÃ'Ök0r¡?áÒ=/¿ïúñÂ7¤z_ßôÿâ*Ô:…¥ÄÑÅé+IL2ùdá[pàÎ9ç ŒàâÍY­üÁÊŒÏøFôKïûþŸüEsºÝ¥½Ž¦-턾_’¯û× rY‡P íkñ/ü‡?íÙ?ô'®Œ-z’ª”žŸð$¬eQEëšö~žîÆÞçíѧÉ·ìäã#8ÎúŸþIÿè#þþ.¶´oùéÿõíþ‚)º†±g¦M 7hifVtH-e™Š©Pǧn^¾µàýf·óò£þIÿè#þþ.øE'ÿ Œø øºÞ³¿·¿›vrbeIãddbŠàÀvºŸlã¨"Ÿus³Ï*ÊȘȆ•¹8áPzö}f·ó*9ïøE'ÿ Œø øº?áŸþ‚1ÿà1ÿâëWN×´ýWÈû$’Ÿ>6–/2ÞH¼Ä]™a½FGԖÆõW›ÈPêÊ …¥@¹#- €z•÷>³[ùƒ•¿ðŠOÿAÿðÿñtÂ)?ýcÿÀcÿÅ×C Ô7ÜEî{iRŒµŠ«ãßåuòÿß²\ÿϼ¿÷Áª|Þᩘڵœ ‚öx¬¥a»É¸™ÀÉáˆíØÖ}¬76ÂØ@Ë ¼k¡s½<ó*íÃr1Ô¤öôd¹ÿŸyïƒGÙ.çÞ_ûàÒn-ë 0"´¹û¦–Ð2¥±‡7%—c¬l¬03»'hÈ “ÉÀÌ6ÚMŶž²c}í¶Å€p7$@¨^¸Áäýß7¾Ñ]/Ù.çÞ_ûàÑöKŸù÷—þø4¹i÷ NEô ¸t«Èmö¼ë†2Ä/·Ž2;íù»Œ€I­VþÊçO¾°†úÕ®åŠHR=C €¸'®x­ß²\ÿϼ¿÷Á£ì—?óï/ýði(Á&¢÷ LK­%_ìQFnZ$¹2HÆêBê<§^¶áÉ^ïõªë¦Þˆ"³Mªc,—3f_;aSï˜1?t“‘ƒ1´ŠèþÉsÿ>òÿß²\ÿϼ¿÷Á¦Õ>á©Ê6—¶ ¹Óã[º»ðÑ2 É%r¡ãÉ'€IÎyŠ=âÎ𷺹ˆoKiÄNìc€?:žYžO<û×aöKŸù÷—þø4}’çþ}åÿ¾ K§Mõ ²¬ñ ®˜AòÈÛ˜qМœŸ|Ÿ­IS}’çþ}åÿ¾ d¹ÿŸyïƒ[sǸ‹úoüu¯úãþJÊ­‹¤‹EÖ|ÈÝ3 xܤg÷©XõÚnMwýØWu¤ÈNÿ®oÿ£^¸Zî´ùißõÍÿôk×6aü%ëþc†åºÍñ ¬×ÞÕm-“|óÙÍi73!dð95¥Ey‡=¨i²iÿÙRiö··Ëm|ÓË]™dÚ`–<†™úe—Œúœu«â-2Ñ#¥Ý¾—pë¿ì×·1$r@<18= üëVŠæ5[ NMd©|‘‘ž†Š(®?Ä¿òÿ·dÿО» ãüKÿ!ÏûvOý ë§ühüÿ"e±•EW¸fw7ü€ôÿúöÿAGTÑΧ¯éóIö…¶†ÖáàºxX;<%FQƒB¿·ö«Ú7ü€ôÿúöÿAv¾hØÁ´kësTS¤ÝËåâJ—1¼;|˜’ †à£tSÇLÕË_è—×)mi¬i÷¾vÅ Ê;6N9<kJŠä¬¼9<øj+Ô¸‰l´–‚sÛDÉ)»£`Hù¹}+6×Â7gSX®­ôæšE½Ææh™µËnÜI[ˆ¹Î~PqßÑ@Æ—r<=öóâ=JÊÞk« ÑM,é¹T‚2q‚J’WøIÇ#Ö)>¯¿ieoçÙk2¥ñ< †Þ8˜ðû‰€¸$ #°¢€9‹:ÿû/QÐÑÞ+ö¹Åøtij»³nRwî]ì†Âü˸íd^šfÔVy¼²’Jtù¶ƒå´“}¤Ë€yÄžZín¾Fz9ÕQ@e‡‡u¸’ù¢H.öÅwwRfšæIa$g—=ø?{pô_JÐô-7KÕ5]>ÒúÖΧ‚k¸Õ‘„kFk¤¢€<êÓÂwwº6›¦Ëg©ØK«Eq=ÕïŸZÚHO—™†w8#åQ´‘Ðôòÿh_ÝYÏ>—-¿ölpTKý¡ü§Œ$_0àï'sì ÿ®Qÿ3V|Qÿ!ù¿ëœ?ú)j²ÿÈ£âúåó5ëÖÿt^‹ô3_Ðø÷ým‡ýsÿÙR¸¹à†æ†x’X›ï$Šý vž=ÿ[aÿ\ÿöT®>´Á??Í„·(aéô ±ÿÀtÿ ?°ôúXÿà:…_¢º9#Ø›”?°ôúXÿà:…ØzGý¬ð?¯ÑG${ÊØzGý¬ð?Âì=#þV?øŸáW裒=‚åì=#þV?øŸáGö‘ÿ@«üOð«ôQÉÁr‡ö‘ÿ@«üOð£ûHÿ Uþ§øUú(ä`¹CûHÿ Uþ§øQý‡¤Ð*ÇÿÓü*ýrG°\¡ý‡¤Ð*ÇÿÓü(þÃÒ?ècÿ€éþ~Š9#Ø.PþÃÒ?ècÿ€éþaéô ±ÿÀtÿ ¿E‘ì (¢¨ ××v[¾Ëu<ñ»Ê®ìtÎ>¦§þÜÕÿè+}ÿþ5BŠN1z´ÿíÍ_þ‚·ßøÿãGöæ¯ÿA[ïüñªRä`¹ûsWÿ ­÷þ?øÑý¹«ÿÐVûÿüj…rG°\¿ý¹«ÿÐVûÿühþÜÕÿè+}ÿþ5BŠ9#Ø._þÜÕÿè+}ÿþ4njÿô¾ÿÀ‡ÿ¡E‘ì/ÿnjÿô¾ÿÀ‡ÿ?·5ú ßàCÿP¢ŽHö —ÿ·5ú ßàCÿÛš¿ýo¿ð!ÿƨQG${ËÿÛš¿ýo¿ð!ÿÆíÍ_þ‚·ßøÿãT(£’=‚å¹õ]Fæ†{û©bn©$ÌÀ÷èMT¢Ši%°FÐDìY¢F'¹PjJ(i=À‹ìÐÏÿï‘GÙ ÿž1ÿß"¥¢—${ȾÍüñþù}šùãýò*Z(ä`¹Ù ÿž1ÿß"³AÿÍüñþù-rG°\‹ìÐÏÿï‘GÙ ÿž1ÿß"¥¢ŽHö ‘}šùãýò(û4óÆ?ûäT´QÉÁr/³Aÿ½X9QÆÿÂ9¬ÿÏŠÿàTü]ðŽk?óâ¿øÿ]•}z°r£ÿ„sYÿŸÿÀ¨?øº?áÖçÅð*þ.»*(úõ`åGÿæ³ÿ>+ÿPñtÂ9¬ÿÏŠÿàTü]vTQõêÁÊŽ7þÍgþ|Wÿ ÿâèÿ„sYÿŸÿÀ¨?øºì¨£ëÕƒ•oü#šÏüø¯þAÿÅÕ[­>îÇj…cËš99Æ88e<úŠï+–×¾ë×ì¿ú&Þ¶ÃâªT¨£-„â’0袊ôÈ5dÑ sI½‰š7hØ¥µË ÊH#""#Šoö9ÿŸµÿÀ;¯þ5]]·Þ»ÿ¯Û¯ýõ=xß^¬iÊŽ7ûÿÏÚÿà×ÿ£ûÿÏÚÿà×ÿ®ÊŠ>½X9QÆÿcŸùû_üºÿãTcŸùû_üºÿãUÙQG׫*8ßìsÿ?kÿ€w_üjìsÿ?kÿ€w_üj»*(úõ`åGýŽçíðëÿQýŽçíðëÿWeE^¬¨ã±Ïüý¯þÝñª?±Ïüý¯þÝñªì¨£ëÕƒ•oö9ÿŸµÿÀ;¯þ5Gö9ÿŸµÿÀ;¯þ5]•}z°r£þÇ?óö¿øuÿƨþÇ?óö¿øuÿÆ«²¢¯VTyôñg’! “c$+/#‚0ÀAÈä•mäQñýrùšUÿæ§ÿ_³ÿèÆ©þE×(ÿ™®ÌDœ°¼Ï­¿BcñÖØ×?ý•+žÑÿãöOúõ¸ÿÑ/]ÖØ×?ý•+žÑÿãöOúõ¸ÿÑ/O þì¾› |E È×m¾ÖÚl`m×G‰âóˆ¤<®F:×¢ºåefI…Ö:F­43Ïgh>ÇÕÊ„ï—vÕ'ŽN{õ­¹#IchäEtpU•†A¨"Tÿ³`ûGŸæ]oß¿k—nsŸ»»öÆ*T\U–ÀaÛÙ¤Ùí­æ}Náwù9_<@ œǰ}§ìxÛþ±3·oñù~gÝù¾ï}•¯ý›Ú<ÿ2ë~ýøû\»sœýÝØÇ¶1W*ÜØ\ægû$rÇu¤yÎ×÷Óµ¶<µ!”Áo(Íœs¹çe,–·q¢Å0buB«4eÇÈK–tÎyýÑeÜ1Ä#T–Š^ËÌ.rº_ ^÷¼/²X\ä…ͳ†LûFOFÀZÓ×m¾ÖÚl`m×G‰âóˆ¤<®F:Õ‘‘²1`J±SøÈúНma ¬…ã{–$cÜÉ ü™ˆüi*V/@¹ÏÞé›ogò,ôé~Íe šËx?<¥¼µ 0O'äàdu©nšây ]=noRÊ4Û*ʇ̓ä™™‡TÜÈ•½=-{Ñ…ÎUgš}Bõì¥s£,q+*W÷Q6äéµ¼³+d÷EúzZai§Ò’qöm‰qiî"ÆÆ,ç§ší¨¥ìu»arþŸÿZ¯ýz¯þŽŠ¨Uý?þ<µ_úõ_ýP­c»þº+­ð·ü€æÿ¯Ù?ô\UÉW[áoùÍÿ_²踫0þõÿ2¡¸x³þDÝsþÁ÷ú-«âÆËÃ3h×_ØöjÚ‘2Okj¶qíû4áCe›'$óŸâÆ={:+È4!µ»¶¾¶K›Kˆ® |í–­ƒƒ‚8<‚+ÌgMþÍñŸkðÿÛ¿âkûŸ³/ÛºÏÿ-<Ìôçî}Þ=ëÑot{mBa,ÒÞ«ÚÓB¸É?uyëŒÕÈbX!Ž$.U(.娀1ËI>ääÐ ¨iA­Ãcþ–íoo>Ù×qymâÔ¶Ö1uÌN ” ÕÖ«jieu Å®…m¦dI5¢4–®²Û4¦æ‘ [³µòT øÊcÑh  "›KÓõ}:ŠRêAi¶™¶ ŒÂxÔ¶7ìÞKPZ €ü»Ë8îŸMšÒ;)`Ôt«ƒ{em+&LN_d+2 +æÀ9;B†ÀàŠóÝmmµtÝfö]>(/õòŸQˆIÛ-¼þVå, î,Ò A”¢‹Eðºk·Òè’§Áö'²‰cËy×9û2«3Î>á-»çèTP='í¿ØÖ?Ú_ñýöxþÓÓýfÑ»îñ×=8¯1Ñ#‘t¼=w¢Iª6ߟl‰r§ì²móßÌ 7Ër€_i8àW¤]hv——/<³j uˆ—ŽÓ°­*ãÓûíPdý“ÉýçöÎqþ£Ê|ý«w;÷íÿYóÿ¬íæTÞûOÛOö§›ö¯±Çö/?;þÍ“÷÷sçço›Ž3å{WUEËkßu¿ëö_ýo]MrÚ÷Ýoúý—ÿDÛ×NøÑùþDËcŠ(¯pÌï­¾õßý~Ýèç¬ÁöŸyˆù·–‰‰£óææ1ó.Fáê22+^Ûï]ÿ×í×þŽzž¾hØãÂé¾×t•»—JÓÑìï7<1-¤.æK|aKvÜ“·òëaš;ˆcšH¤PèèÀ«)Ô}fÝhv——/<³j uˆ—ŽÓ° 7Ó,ôÛŸÙCm¨h‹u󟹷pÙš¹s—,7fº²·ðê´&’!%ƒMûÑ e)3Ãó@ä¾à{š(€s¢Ï¦A+¦imÒ·¸o7L¶¡>S¨­Ø0^Ÿò7Ìj„ŸØ÷:À{‡ðý„#O„C­¸Bט HŸ»à `¡LéÔP¦fùý™öOøH?¶'󼾓öÆó<Üs³ÊÏßã;1ól­¿ÛÂò žÝ"7V¡ÚåCDíä¸$e}FGäWCY¶º¥ÊOÚƒ:gmFâUäc•w õî(Œ±H㻜Cq¦OáíÐÖÒàZ…Ûq¼0Ã;¾Ï¼çîmÜ6f¯Ëöo*ãûÊû™mý•öly_lÜþfÌË=»|Íœmó¿‹}vÔP?†ÿä/›ÿßh“í¹ëçgœwÙ»7såùu±EÂê¿òÔÿëöýÕ"ÿÈ£âúåó5«ÿ!ÍOþ¿gÿÑR/üŠ> ÿ®Qÿ3^½o÷Eè¿C5ñÖØ×?ý•+’ŽYafhd1¹FMÀärPH®·Ç¿ël?ëŸþÊ•ÇÖ˜5|:OÏóa-ȼ§ÿŸ‰?%ÿ <§ÿŸ‰?%ÿ –Šèä_Ód‘yOÿ?~KþyOÿ?~Kþ-r/é°"òŸþ~$ü—ü(òŸþ~$ü—ü*Z(ä_Ó`Eå?üüIù/øQå?üüIù/øT´QÈ¿¦À‹Êùø“ò_ð£Êùø“ò_ð©h£‘M”ÿóñ'ä¿áG”ÿóñ'ä¿áRÑG"þ›/)ÿçâOÉÂ)ÿçâOÉÂ¥¢ŽEý6^SÿÏÄŸ’ÿ…#@Î¥Zy#a¦¢ŽEý6 (¢¨ ­¦†f–Ê ’F•œmõÆÖxëž•gûBÛþ€ö?÷Üßür¨QRâ¯p/ÿh[ÐÇþû›ÿŽQý¡mÿ@{ûîoþ9T(£‘MûBÛþ€ö?÷Üßürí oúØÿßsñÊ¡E‹úl ÿÚßô±ÿ¾æÿã”h[ÐÇþû›ÿŽU (ä_Ó`_þжÿ =ý÷7ÿ£ûBÛþ€ö?÷Üßür¨QG"þ›ÿö…·ýìﹿøåÚßô±ÿ¾æÿã•BŠ9ôØÿ´-¿ècÿ}ÍÿÇ(þжÿ =ý÷7ÿªQÈ¿¦À¿ý¡mÿ@{ûîoþ9Gö…·ýìﹿøåP¢ŽEý6÷ÔÓìÓßkžã2€Á±ó9TvªQM$¶«Öš“ZZ›%dC+J šXÈ%UOÜuȹïTh¥8FjÒWìiÿlùô_ü ºÿã´lùô_ü ºÿãµ™Eeõj?Ê>fiÿlùô_ü ºÿã´lùô_ü ºÿãµ™EV£ü¡ÌÍ?íƒÿ>‹ÿ—_üvíƒÿ>‹ÿ—_üv³(£êÔ”9™§ý°çÑð2ëÿŽÑý°çÑð2ëÿŽÖe}Zò‡34ÿ¶üú/þ]ñÚ?¶üú/þ]ñÚÌ¢«QþPæfŸöÁÿŸEÿÀ˯þ;GöÁÿŸEÿÀ˯þ;Y”Qõj?ÊÌÓþØ?óè¿øuÿÇhþØ?óè¿øuÿÇk2Š>­GùC™šÛþ}ÿ.¿øíW»¿7P¤BâUv•y³0PI.Ìz"Š©EThS‹¼V¡vQEj#Kþ U^SÒÆ²Jòìñ0رÁe''©4¿ð‘ë?óü¿ø ÿY”VV£ü£æfŸü$zÏüÿ/þÁÿÄQÿ ³ÿ?Ëÿ€°ñ™EV£ü¡ÌÍ?øHõŸùþ_üƒÿˆ£þ=gþ—ÿ`ÿâ+2Š>­GùC™šð‘ë?óü¿ø ÿGü$zÏüÿ/þÁÿÄVe}Zò‡34ÿá#Öçùðþ"øHõŸùþ_üƒÿˆ¬Ê(úµåfiÿÂG¬ÿÏòÿà,üEð‘ë?óü¿ø ÿY”Qõj?ÊÌÓÿ„YÿŸåÿÀX?øŠ?á#Öçùðþ"³(£êÔ”9™§ÿ ³ÿ?Ëÿ€°ñÂG¬ÿÏòÿà,üEfQGÕ¨ÿ(s1]ä–Y%•ËË+´Žä¹˜’Ou5yäQñýrùš¡W×þE×(ÿ™¨Å¤°í//Í;ÖØ×?ý•+ŽfTRÌÁ@îN+±ñïúÛúçÿ²¥sZWü‡4ÏúýƒÿF-F\¸U.×ýB_Ÿö˜?ç´÷Уí0Ïhÿï¡ZŸÛš¿ýo¿ð!ÿÆíÍ_þ‚·ßøÿã]?½ò†_Ú`ÿžÑÿßB´Áÿ=£ÿ¾…jnjÿô¾ÿÀ‡ÿ?·5ú ßàCÿ½ò ¿´Áÿ=£ÿ¾…iƒþ{Gÿ} ÔþÜÕÿè+}ÿþ4njÿô¾ÿÀ‡ÿ?{äiƒþ{Gÿ} >Óüöþú©ý¹«ÿÐVûÿühþÜÕÿè+}ÿþ4~÷È42þÓüöþú}¦ùíýô+SûsWÿ ­÷þ?øÑý¹«ÿÐVûÿühýïheý¦ùíýô(ûLóÚ?ûèV§öæ¯ÿA[ïüñ£ûsWÿ ­÷þ?øÑûß ÐËûLóÚ?ûèQö˜?ç´÷ЭOíÍ_þ‚·ßøÿãGöæ¯ÿA[ïüñ£÷¾A¡—ö˜?ç´÷Уí0Ïhÿï¡ZŸÛš¿ýo¿ð!ÿƬéºÖ«&±§#êwŒy ²™Ø†Ezb¦r©¹i hcÑE°‹Ö7w»¾Ëk<û1»ÊŒ¶ÜôÎ>†§þÃÕÿè}ÿ€ïþ U}ee ìŸùg=Qû4óÆ?ûäV\Órj6Óü‡¡©ý‡«ÿÐ*ûÿßü(þÃÕÿè}ÿ€ïþ—öh?çŒ÷È£ìÐÏÿï‘O÷¾A¡©ý‡«ÿÐ*ûÿßü(þÃÕÿè}ÿ€ïþ—öh?çŒ÷È£ìÐÏÿï‘Gï|ƒCSûWÿ U÷þ¿øQý‡«ÿÐ*ûÿßü+/ìÐÏÿï‘GÙ ÿž1ÿß"Þù†§ö¯ÿ@«ïüð£ûWÿ U÷þ¿øV_Ù ÿž1ÿß"³AÿÍüñþù~÷È45?°õú_à;ÿ…Øz¿ý¯¿ðÿ²þÍüñþù}šùãýò(ýïhhO¥j6Ð´ÓØ]Eõy!e·R*¥L–Ð&‘$«k ¼…C„€c˜‘ŸCù †97u.Ÿä„©ϪéÖÓ43ê±J¿y$™TŽý «•¹àõZ×ý„þ“ÃYbk:0æHi\å?·4ú ØÿàBÛšGýlð!?ƽRŠâþЗò•Èy_öæ‘ÿA[üOñ£ûsHÿ ­þ'ø×ªQGö„¿”9+þÜÒ?è+cÿ þ4niô±ÿÀ„ÿõJ(þЗò‡!åÛšGýlð!?ÆíÍ#þ‚¶?øŸã^©EÚþPä<¯ûsHÿ ­þ'øÑý¹¤ÐVÇÿükÕ(£ûB_ʇ•ÿniô±ÿÀ„ÿ?·4ú ØÿàBz¥hKùCò¿íÍ#þ‚¶?øŸãGöæ‘ÿA[üOñ¯T¢í (rWý¹¤ÐVÇÿüj{këKÝßeº‚}˜ÝåHnzgC^›\/ˆär¸ÿ°}¿þŒž¶¡Œ•JŠ n'"¥Q]ä”?·4ú ØÿàBÛšGýlð!?Æ»Ï ÿÈ›¡ÿØ>ßÿE­lW•ý¡/å/ò¿íÍ#þ‚¶?øŸãGöæ‘ÿA[üOñ¯T¢í (rWý¹¤ÐVÇÿühþÜÒ?è+cÿ þ5ê”Qý¡/åCÊÿ·4ú ØÿàBÛšGýlð!?ƽRŠ?´%ü¡Èy_öæ‘ÿA[üOñ£ûsHÿ ­þ'ø×ªQGö„¿”9+þÜÒ?è+cÿ þ4niô±ÿÀ„ÿõJ(þЗò‡!åÛšGýlð!?ÆíÍ#þ‚¶?øŸã^©EÚþPä<¯ûsHÿ ­þ'øÓ£Öt¹dXãÔ¬ÝÜ…UYÔ’O@kÔ«›ñãðÃ)ÁÄûxŽšÌ%Ö!ÈsÕ}äQñýrùšÉ³‘å´Gs–9ÉükYäQñýrùšéÅIKäºÛóBÄt>=ÿ[aÿ\ÿöT®kJÿæ™ÿ_°èÅ®—Ç¿ël?ëŸþÊ•Íi_òÓ?ëöýµ÷?“ýFþ#Yžæ!d–Í8in60€G¼-ÛÌùz¨ü©Ö2Ü émæ–W m ˜˜&ðÌÒg;Âqø›²A¯ºå¢}èsÐí+ŸÉçUî4Ëk›ƒ;ùë)@…¢¸’<€Iíaž§ó®·s]¬ò[h÷ÓÂÛeŠÞGFÆpB’5•%Ϋoäybñ¤y°#¼ò?xR6Õ1ôÉQÉéÇQt§´½¹óašâÕ­%ʼ_g`ÅnuÇÇáO‹L¶…ÑÇžì½L·I´íeÈÜdzò)FRwZ ηԥÔo¥¶·¹d†BeŽeA¸F#…€†92ç$21È"´Ú¥Ü“G2ßH±$ÞgÙ E™¶ùDITs‡è£œ‚ÎÓiveeQÏ6_9ŒlPïÆ  ‘ÁÆ3“êjH¬­àhš8ðÑ#"Äœ1³êIPI<çêirMõ £÷W¸´ÒíÚm–æpò#K"èªJå²$˜Ã`ÿÀ¤Õ#â¼y³§\[ïGÛ÷J©|ã;“'ÛËõj·oeojÅ a(ï‚Ä;¸àƒŽ€Qö+#ÉòÿwæùØÜ~þýùÿ¾¹ÿëSQšê!ŸVkÓ µöán“4v¢ß÷eÞO”™:à¹v“Þ¬CswFõîžTkÖ·02 P¦s*@#ƒÉ9äwÈ¿q¦[\ÜßÏYJ-Ä‘äHk õ?é–\ÑyvpWeVbI*¤áIÉäÔúÒTäžÿˆ\f³<Öúi{vu”ËRØiH¾\àž¼V]ÕÆ¡nÖÉæj­¾)¥‘-ša´ ¶‘ÉàdœÃPZ^ÌÈ·—²À\¤vì‡*C)Ϙz0§j¶`®r¿½DdVÏ@Ä?ñÑùS”e-o`0¯u{‹M.Ðý¦Ùng"4² Ф®[!rIŒ6ñ1\éõï³ê>vï3M{%™B¯Ï¸‰\œpR3׾ޜֽ½•½«‚=„ O¼H ìã€::Q.ÍK‘.êíóJÈd¯÷ØŸÇ)rTî6—º½Ôϲ]4‘¡Þ,V¡¼éWþZóŒ éÏ5Úé_òÓ?ëöýµŠÚ5‘•¤Už7lî1\ÉrÌÜíaŸ™Øþ5µ¥ÈsLÿ¯Ø?ôbÔJ2)s;èéRŠ(®‘Çü€åÿ¯Ø?ô\õÍÝËy.¸Ö°Ëx¬116â)fpKyƒ=tÏC] ÿ¿õûþ‹ž¨#[‡œ/ï]³Ô)$üxþu‚‹r—¯è†WÓg’âÕÞVÜÂâdáeeò Ög¹ˆY%³N[Œ ï#ËvÀó>^ª?*™tÈ`‘æ¶ic•‹¸ 4fÉ$¦ìI8ãð¨ÛO¸»d…ÄR¤gz}$Õ°Fw èXcÞ­©ròõ4ë:uñ[Ï=­–×{,«œ÷­Ÿ“ ‚±ÿ|ûÔ—º½Ôϲ]4‘¡Þ,V¡¼éWþZóŒ éÏ5¼ºe¢ŽQÜü™i%w'c—^I'†$þ)£YZEYãvÎãÌ‘ç,ÍÎÖùãYû:ÿº)é×WšÍ²Ü-ÏÙZ4å+»F’Ùço΃Ï#‹ë¹â†úY§´·š$–#i$K•ñ¸s»$m] r iË¥ÙͰ4;UG²6(¬ƒ¢²‚/^G'ÔÑ>™iq3I">[ïªÊê’vù”­Æ ä:UrNÛ…ÊžmÜz‡úMÌð†—)ÝÔœ¸ ÊØ |Äe‡kw©É¤ÛÜI=ú4âÜy²-¾ÏžD¨POF8Ü>¼Öçöe§Ú<íûöy¯åîÎs³;sžs޼õæ¢MÅ ò\ù@(n¥!vWoÍÆ ŒIÓ›Ù÷êD–’Ê—“ÙK+Nb%YXÄ1a‚‚‡qÆM;¹o%×Öo†&&ÜC…,Î o0g¢Ž™èjïØÞÞß˰‘"rûçV˜·ä–žƒ$ž=0ë[ic’Iî).*Š2ƒjä‚ÍÝ›Ÿj¾Y; 1­¯oä¿U2]|÷R¢y‹€¢HAŸvÐp;‘ž€Õ‹mif×ÞÓí04LòD‘†à SÈûÃ'Íž>EÇ_›LY[„Tà,¦eÇ,XzòIü (VâÒQî!Ù±w6Wž¼)(Mu œí¶½}6¦£2}­å‹ímá£&/»þÑGž1÷ñŽ*þ=õͼÝ5ó mÕ÷J ’@9]Ÿ7®3Û¯5}4»4DE‡ ‰(Üx6ä{Ͼh³Ó-¬0-üðª›âGUYˆ*cNi¦Ø]ãþ@rÿ×ìú.z©VÇü€åÿ¯Ø?ô\õR®ŸÅ/_Ñ ÜðGú­kþÂÿIá¬:ÜðGú­kþÂÿIá®\ÃøK×üÇ Î¦³|Cu5†u[»gÙ<sKନH8<EiT7v°ßYOir›àž6ŠDÉ•†ÈäpkÈ49ëiõ;k,\\j`]_^+õµ-°[Ìÿ)„c•zœü½ç§ªzŽ—kªG ] s'›C;ÄÊÛJä2z3½ê³Øjvé:]ý¼Vè¸Åì2ÝHX’Ió À‘ÈàçëŽ7±­G9»c©ÉÕšÓç[_²ˆÍÑ„tÄÙ x?Þ9¥o¨ßÿeéÚûÝ»Å~ÖÙ°(‚8–wE]¬ý˽I$Øo•w ·í|7c‰4‚Y&ó î¿h›È2–Þ\BÎT|ä°ààŽFjÌZ5„7æõ"q.æp¦W1£6w2ÆNÅc–Ë ÜÜüÇ 5¶¿¯Â>×fçP?Øï|Ï{¨‰‡”Hhcq"Mœ7[æ²çc]¾Õ4DŽÆ-BîîK­Æ8D鋈#t_”Fw,Ün’Û½&¦K§Á`ößèð[µ¬j$`DL› $Ž êªz€C?áÓM¤ÖΗ³23É%Ü­.Q·&$-¼n@“êrÍÞ_ëvÓZB[Äxhng‘;¸`†+ó·ç$ô#Õh³\\höÓ\È’<Š]]YNä$”$¯ÊX®ÝÛ~\ço¢ÓG³²™&í*+¢¼÷RÌÁ\¡a—cÁòÓéŽ:œÂú~¡j‘Á¤]YZZ"ábžÑæ*rN‰W 2\`ÆæâÖ5¨ç7lu9 :³Z|ëköQº0Ž˜›!OûÃ'"´­õÿì½;_{·x¯ÚÛ6GÎ諵€ß¹w©$’ ò®á¶ý¯†ì`‘&K$Þa×íyRÛˈYÊœ–œÈÍY‹F°†üÞ¤N%ÜÎÊæ4fÎæXÉØ¬rÙ`;›Ÿ˜ä+IÕonõ“¦Ë7Ëeæù“í^a¶¦ÃŒ6Àq.лdÚ¤ªpéVVÿf1Cµ­·ylîù¾þ㜶ãóÙËÇ$W(®Ä?ò9\Ø>ßÿFO]Õp¾!ÿ‘ÊãþÁöÿú2zéÁÿ??È™lT¢Š+Ü3:ß ÿÈ›¡ÿØ>ßÿE­lV?„ÿäMÐÿìoÿ¢Ö¶+æ:“EŒxgÄú¬–úc1]TG"Ùr­æL¹3n9ÈÆÑÁÙåOÙdÛ翘Ao–å¾ÒqÀ¯HºÐí/.^yfÔßê7/*8§aZTǧöÚ þÉû'“ûÏíœãýG”ùûVîwïÛþ³çÿYÛÌ©¼/öŸ¶ŸíO7í_cì^~wý›'ïîçÏÎß7gÊö®ªŠ+šñ÷ü‰×?õÞÛÿGÇ]-s^>ÿ‘:çþ»Ûèøè•ÓÿãÆ?ÇùšÙ_ù|Aÿ\£þf±´ÿøññþf¶WþE×(ÿ™¯^·û¢ô_¡šøŽ‡Ç¿ël?ëŸþÊ•ËYL¶ÚÂRˆ¥`:®ãߺŸÿ­°ÿ®û*WW„Š–Eõ¿æÂ_oÈÓÿè%sÿ‚õÿãÔyý®ð^¿üzªQ[û/6+–ü?þ‚W?ø/_þ=G‘§ÿÐJçÿëÿǪ¥{/6-ùý®ð^¿üz#Oÿ •Ïþ ×ÿUJ(ö^l.[ò4ÿú \ÿà½øõFŸÿA+Ÿü¯ÿª”Qì¼Ø\·äiÿô¹ÿÁzÿñê£D9™§ÿ ~¯ÿ@[ü¿ÿ£þý_þ€¶?ø1þ3Y”Qõ!ÌÍ?øKõúØÿàÅÿøÍð—êÿô±ÿÁ‹ÿñšÌ¢¨ÑfiÿÂ_«ÿÐÇÿ/ÿÆk*{›½GY›Pº¶‚ßu¼P,qNeû­#IEÇß•:ŠºxZtåÍÄäØQEÐ#1´ë¨R8lµB xÐ"ƺŒà(î1Mû«ÿAGÿWüUjÑ\²ÁÒnö+™™_bÕè1¨ÿàÊãÿŠ£ìZ¯ý5ü\ñU«E/¨Ñfe}‹Uÿ Æ£ÿƒ+þ*±j¿ôÔðeqÿÅV­}Fˆs3+ìZ¯ý5ü\ñT}‹Uÿ Æ£ÿƒ+þ*µh£ê4C™™_bÕè1¨ÿàÊãÿŠ£ìZ¯ý5ü\ñU«EQ¢ÌÊû«ÿAGÿWüUbÕè1¨ÿàÊãÿŠ­Z(úæfWص_ú j?ø2¸ÿâ¨û«ÿAGÿWüUjÑGÔh‡32¾ÅªÿÐcQÿÁ•ÇÿL—K¾¸O.ãQ¼ž=ÊÞ\×Ó:’#*IøVÅ}Fˆs2Xš dˆ$g§ÖµWþE×(ÿ™ª}äQñýrùš1qQø®–üÐGs¡ñïúÛúçÿ²¥qõØx÷ým‡ýsÿÙR¹‹}¤’ªÛc‘€ed!#ƒFÛŸ¯æÂ_Zгöé¹oÿ€ñÿñ4}º_î[ÿà<üMtÞ]¿¯¸’µgíÒÿrßÿãÿâhût¿Ü·ÿÀxÿøš/.ß×Üj*ÏÛ¥þå¿þÇÿÄÑöé¹oÿ€ñÿñ4^]¿¯¸ ÔUŸ·KýËüÿ‰£íÒÿrßÿãÿâh¼»_p¨«?n—û–ÿøÿGÛ¥þå¿þÇÿÄÑyvþ¾à+QV~Ý/÷-ÿð?þ&·KýËüÿ‰¢òíý}ÀV¢¬ýº_î[ÿà<üMn—û–ÿøÿEåÛúû€­EYût¿Ü·ÿÀxÿøššÎéå¾·ã·(ò*°û:r úRr’W·õ÷BŠ(«¢­Û¿•c4б—óAxÕ°|õÐS~Ý/÷-ÿð?þ&¦îîÈ ÔUŸ·KýËüÿ‰£íÒÿrßÿãÿâh¼»_p¨«?n—û–ÿøÿGÛ¥þå¿þÇÿÄÑyvþ¾à+QV~Ý/÷-ÿð?þ&·KýËüÿ‰¢òíý}ÀV¢¬ýº_î[ÿà<üMn—û–ÿøÿEåÛúû€­EYût¿Ü·ÿÀxÿøš>Ý/÷-ÿð?þ&‹Ë·õ÷Zгöé¹oÿ€ñÿñ4}º_î[ÿà<üM—oëîµgíÒÿrßÿãÿâhût¿Ü·ÿÀxÿøš/.ß×Üj)÷×Y¹²Ê@ÒÀY™(Î÷ô™JS½ºh R4×ÚÚÅç]K‘ç«1þ>àIÔ¤¢®öh­ø<fW:…åíÜ„»3@ˆ{í•8>ŒXŒuêL¿ð„èóÎûÿW?ür¸^a è™\‡7EtŸð„èóÎûÿW?ürøBt?ùç}ÿƒ+Ÿþ9KûB?ʇ7EtŸð„èóÎûÿW?ürøBt?ùç}ÿƒ+Ÿþ9Gö„”9nŠé?á Ðÿç÷þ ®øåð„èóÎûÿW?üríÿ(rÝÒ¡ÿÏ;ïü\ÿñÊ?á Ðÿç÷þ ®øåÚþPä9º+¤ÿ„'Cÿžwßø2¹ÿ㔡ÿÏ;ïü\ÿñÊ?´#ü¡ÈstWIÿN‡ÿ<ï¿ðesÿÇ(ÿ„'Cÿžwßø2¹ÿã”hGùCæè­{、O>“qs.ÞE”òV^á]¾mÝÆæ#·Ê+‹«2oBq’ ‚8 ƒÈ ‚<‚0k¦Ž"—»¸š°ú(¢·QRØØÜj÷mmlÆ8ã#í ådgjç‚ä@è †?­»‚tƒíjÿ­{$e¿à1•QéÂ~rk’¶2åË»)E³¢ºOøBt?ùç}ÿƒ+Ÿþ9Gü!:üó¾ÿÁ•Ïÿ¬¿´#ü¡ÈstWIÿN‡ÿ<ï¿ðesÿÇ(ÿ„'Cÿžwßø2¹ÿã”hGùCæè®“þþyßàÊçÿŽQÿN‡ÿ<ï¿ðesÿÇ(þÐò‡!ÍÑ]'ü!:üó¾ÿÁ•Ïÿ£þþyßàÊçÿŽQý¡åC›¢ºOøBt?ùç}ÿƒ+Ÿþ9Gü!:üó¾ÿÁ•Ïÿ£ûB?ʇ7EtŸð„èóÎûÿW?ürøBt?ùç}ÿƒ+Ÿþ9Gö„”9nŠé?á Ðÿç÷þ ®øåcêºú_i3^Xûé& æAþÑØª zœezœ©%.ž:œ¥f¬,§W×þE×(ÿ™ª}äQñýrùš¼oð%òüÐGs¡ñïúÛúçÿ²¥s?ëÛþ¸Ëÿ 5tþ=ÿ[aÿ\ÿöT®bÇý{×ô©Âÿ»/ŸæÂ_Z³5M[û:âÞôUó‘Û}ÍÏ’£iQ€vœ“»ô5§UÞÛ~¡ ÖüyqIÜuÜPç>Û?ZêÚ÷Igt÷q‘,o‚6Úû%Î÷±ø~ÝNûû:Á®v£aÑy&Ř.K`à ç§jbYÝÃ<ÐÝ@ žU‘ãx nT€ÁÀè¾ûÔ7-u¨Ä¶âÆæÔù‰ šo-ÑJ0q²dçn8õ©n\­u¶¾— ð ¶–ç*±­µÇ™ @/ŒbxéŒdœQw®=H§†Ú+“"« nvĪÊä6ý½ö‚϶ ›û.i&k©îPÞ žT‘ÄUnüeKçÌpyèxÁ§.˜íwÜó«Ü¤™–=ªT#¨P2q0œ’NsÛOï-ÿ áÖnn¤Š+[[i]ÄŒ_í'Ê!vrŽîûøè0U‡jŽo¢ÜùIö8ÀŒ1ûeß’wotek‚‡$zg­Xþʹ†hd´»‰"TE–áQʶÞzÀôã$M*æÒ奱»‰‘…“Ï€ÈYƒ»–Èe&CÆ1鎔¿{ýX4!‡_óoL-N.-.·OÕÝåíéÆãÏ “Ú¯êwßÙÖ sµ‹ûÉ6(ÜÁr[g=;S#Ó<¡$Ø–;‰e ·ªÈì̇žŸ7¯USŽ1QÌóê;w°º¶_69 ²ˆ>0®O;qÓ½RçQwÜ ²ëïÛþÌq#,¦ÿ¥Fläåþ±>¶–ú\W¯å†Õl‚Y™”÷QŠž3•霋sY%ÅäsIµ‘a’—!ƒ”'?÷Æ1ïU—GÑ«©åòbò¢e‘ãp3ÉfV‰3ž2¹g­RîÌ4$“U† YìfZ­¸ŸÏf:¶T“ÐáIúô¬´ñOšGîmmr…¶ß]ù-þ±ÓÚyù2}3а|;¡æÝD‰f6Æ­ ÛלÇ!Lõþ.µ$:UÝ¥ÌÓZÞÀ¾nw mËõ’GÃùèGáIûVÿáƒC^¬éÿòµÿ®ÉüÅV«:ü„­ë²1ZÏábEj(¢¨ )ÿ Ùÿë´ÉëYžk}4½»:Êe‰Œ)l4Ф ß.pO^+a?ä?ývù=Ršî$«¹C«œr¬Ì ‹7Ì—õ Ö’Ý%õ¬3KrD°Í#%Àx*ÑÌcÉüyöÕª·Z}½ä‘É/š0Ê­Ïã#*F~èü© ¬ÚîÙ!P¬Ð<ÀîÞ`ÏÖ…xù“qwieu$÷sÅv¶ò¸ŽHPÄÌœÄÀzŒ€Ä¶Ðr½ÅÆÕeP_´ÛÏil–³M'›±³´§#c1àù÷«E°*èÑ;FÈÉå´ÎQAªN‚GÊ qSÏeou,rMçîÄcæVíþÒ)ü>µ ]G¡…o¬\]é’¨¼‹íK5²—·(ûV@Ã<¯È£¾œäÜ{»˜/WKóÙÞB›nYWz«,¬x)#Ê88æuû½>Úø©¸Fb£ UÙHù•¸ Žè§>Ô.Ÿl¶¯o±Š9ÜÅ™Ëq†ÜNìŒ ä`c ¡B}Âædº”ºf¦°]\´¶Ég‘Ã,“´s·ÉaÀ;®Iýþø,®ÊÅy$Ñ’@j20ô?4rF;€ç©ÓM>Ù òB1_1e%™™”‚ brq´u=*I` 6‹„’7`H]Ø'##<ªþ]E>Iw–³=ÌBÉ-špÒÜlay[¶™òõQùVmÝÝíµË#Ï©˜¢¶ŠG1­¶ä,î rÃ` ¯O­lEktóÇ%ìöÓ‰xÄP4e[s’ç<3 c½NÖ°<’»Ä¬fŒE nC(Ý€GOâo· K[Ø mKZ“N–Ö;‹›X¥H–[¥Ý€ÙeS´7$cÍ r«ë†%Ö. Ôuc±¾uK<¯ äDöwL‡Žq»ØVͽ¬VÁü À¹ Åœ±b.I'=T0ivvÂ! ;DN>bpD~X<Ÿîqúõ¤á>á¡‹¤^êWÍ’I|è<Æ%€GÌQ³nÝóubN;+¦ªèÖVî­ ÏݸT¹)Ú¡FWv #œsWê©ÆQ^ó!¾ÿŽ™ÿ^ÇÿC’¦¨o¿ä#¦×±ÿÐä©«,7Ûÿ‚¶|½Î³vIóÑÚàtØ‘‰úæfü÷Î5lø.UKfЃæ£ºÈé±ãõÌ-øïŒñ÷öZww:Êçµ?Ig¯®“ ižkC‰öÝ@Û´¬îêFÛÉÿ èjœv^³s¨y™óíáƒËÛ÷|¶‘³žùó?OzñÍL¿þѵyü¿/mÄðmÝœùr´yüvçÛ5OÄ:çö’m´ÿH¸ò7ÝÝ}ž$ùòϵ¿¹ÇR)–Z~©¥ö][ÜÙù×Ù- ÌÆGy6‰ »s¹±’ }:Рέ¨Ø<Úeí‚ÙL×§0²ÈLoß’F þó9Æ>\w m`Ë2°<c €ÄÐdµHÚÆí"šÙ¤[V’é2f‰”0Ê‚£nÒ»B äÜÏì ˜nSPµ¾‰u6ó<ù¦·/›Ä`á©\c ós¸ÔÍ?ÅQÞkM¦Éjð’ΑÊ2³¬³¦Ò0%mÝÁéÔ7VÓü]s{a.¦úlQi–ñÅ%Ă贱†‚9˜„Ø üÙ!N8SfÛ±Åö£5Ó»\¬l̈¤Ë<³ù‹’F<Érç@;²j¶Ÿá›+ tÇÔ¢—L¸Ž(î#¥e,ÂÀ>ò0ŒgåÈ pAÃ_Ç?´[f”~Åö¯ôí?ô—ò7ÿË//Û3ÔàóÒ·¬õ–½:¬V×OM‚c2:)Pß1U ‚ËF0ÃüÁs_Ãړ麎™ý©h,o~ÕÇØ›ÍO<»}ï7iîŒÛ­\[[ÛYS½ÿ‰•ìQ˜aŠÎ!Ì¥°B %T’[A€wC¯ø‹ûöÎÛþ%éö˜å“Í¿½û2 …Ðv6Ißœqše—‰dÕíãþȵ·¹¸ ^m÷EaE‚±%ðµ´ñ,ÜJÐdž21½n$bÏqž‚@yRª6|p@p‰ÄÎ(P‘J©lr@$à{dýM>¸j%·ñv ˆIÃÓg³Ñ=± þ$ûßW­J·.Ô`µl÷pBG¶&_Äbz°WöÊÄËb (¢½³3ªð|K„tÇæâtùìò“#ì œ{c¯Z¿«_ÿeè×Ú‡—æý–ÞIü½ÛwmRØÏ8Î*‡ƒåY<#¦ 6ð‹WÏwˆ˜ØbPãÛ:UýZÃûSF¾ÓüÏ+íVòAæmÝ·r•Î8Î3_6ï}MŒ«Iw% )¦MÕѶYl5pªÂ)$;¿v¸?"Œµž1ÏCYº¾s|Ö2Ú]Eo=¥ÁZhLªÙã €ÊzHO^ÔǾԬ’8¥Ón5)våç²X¢98d›p c¹ý‚*ÛÆ?hÕÓÊÓÎ/×ÈŠÿ}ßË!“°qÆóóp™<ãñ⛳¤Þê£M·’ÒÚdeŽ÷3DÈ…ü¹ òÛ€¬b¬Gd‹–z+Gog0‘Ṋêk¯BÍ#;ÂÛXä|ã£cr#sŒU;ÿ ]ê‚qw©[–{YmRâ+-“²º2+‡Ã¨ÞX¨U‚‘Œb€/Úø—MÔ5˜tý>òÒó}¼³¼–÷ þ^Æ@ g®óÿ|÷íN}³A}FÒËtŸh·"–]€ùþQBX–d'ƒ‚ € ¹¬è_ÚóÆæçËìò[KÌù‘Èñ3®r1•—#‘¿#‘Tîü& 3é÷ÒÀïå3›§’ë{E2KK¾@mgÌ'°  '^’'6Wˆº¹eXí’bÑɼ;+ Œ.#œ¨#ca[+¸ƒ^kiWÖ‰os"’Æ9Œ‰¸‚Ñ…;A!–9¹!pb#2’I\ÞÜ]£já•£¹HJÇÀêª#,r¸’@rÄí†\.Ønü.ºœ.ú•ÂMy+ ’Xâ1§”¡ÔÆ©¸9f\–$ … Xxª=FÆ àµ6{¨ Ž&p7+ƳnÎ0…‹ê¥A<gÄ:çö’m´ÿH¸ò7ÝÝ}ž$ùòϵ¿¹ÇR)÷šLm¬E¬„ye·…€1ºG„dÀ“.ÌÉ?(Å;‘©k7f+.[9ÂM{SFçËxÊíŽmÙÄ„ç§Ë@ ±ñWöœf m.u#¦Øn÷[‹3‰‚ä€%Eás¸ã…“â8à ×Ñ%²G1¶¼‘¥-¥ØIb1°# rè ‚HVG \Å,š‚_D5y$giþÎ|’cBž^üãÆ~þw.s‚T¼ør9­ô©r’Lno#h†Ë™vPT’jÂàœ¢Ä‚XKO¹’ò™mÞÙ¥]âÎôSʆlc#±ÈÉÆMš­§ÛIga ´·rÑ.Á3ç{¨áKœ¶1“ÜäàgÍy>“‹f¹ÓC–ŽÊymá-ËŽFA“ë…tKÿ"ˆ?ë”Ì×-£Î——·7‘‚#º’k” Ô,’P}ðÃ>õÔ¯üŠ> ÿ®Qÿ3^““– ßúÔ´t>=ÿ[aÿ\ÿöT®bÇi ²®èäPY€(@ä×Oãßõ¶õÏÿeJã룯‡K×ób—ÄYû ¿ß·ÿÀˆÿøª>Ã/÷íÿð"?þ*«Q]6—ëï$³ö¿oÿÿñT}†_ïÛÿàDüUV¢‹K¿õ÷gì2ÿ~ßÿ#ÿâ¨û ¿ß·ÿÀˆÿøª­E—ëïÏØeþý¿þGÿÅQö¿oÿÿñUZŠ-.ÿ×ÞŸ°ËýûüÿŠ£ì2ÿ~ßÿ#ÿ⪵Z]ÿ¯¼ ?a—ûöÿøÿGØeþý¿þGÿÅUj(´»ÿ_x~Ã/÷íÿð"?þ*°ËýûüÿŠªÔQiwþ¾ð,ý†_ïÛÿàDüUMgjñ_[Èò[„I˜ý¡8ýj…œdÕ¯ý}àQEX%ÄqZL’Bò‚C€´åAã¡õªÚ0ÿÐ*óþÿþ7SQXΓ“¼dÐÓ!þчþWŸ÷üñº?´aÿ Uçýÿün¦¢£ØOùØ]v!þчþWŸ÷üñº?´aÿ Uçýÿün¦¢a?çau؇ûFú^ßñÿÆèþчþWŸ÷üñºšŠ=„ÿ…×bíèyÿÇÿ£ûFú^ßñÿÆêj(öþv]ˆ´aÿ UçýÿüníèyÿÇÿ©¨£ØOùØ]v!þчþWŸ÷üñº?´aÿ Uçýÿün¦¢a?çau؇ûFú^ßñÿÆèþчþWŸ÷üñºšŠ=„ÿ…×b¤· y¨ÚºÚKpÆcùÎîìsœïUº(­(Òöi«ÞîàÝ¡¸ŽêÖ_&ê,ì“=U‡ñ)ÀÈö@!h­%%g°ø?ÌçIÿ ¶‡ÿ=/¿ð[sÿÆèÿ„ÛCÿž—ßø-¹ÿãuÍÑGö|˜9Í{ï=ÜO“osîìñ„U^åQ¾m݆å¿Ì ‹K l@q’I$’I9$“É$’I<’riôWM<(¯wq7p¢Š+qØß\imsl¦Hä#íÀæàcrç€àèÀ?Â˱ô#ûA½µ—ÐÉg#²ýLa—ß‚>+ ¢–ÚŽdIõè:âÄ`ÕGÍ JV:_øO¼9ÿ?W?øqÿÄQÿ ÷‡?çêçÿ.?øŠå³íç—þ<Æìû_ùåÿñ®_ìú½×õò+Wü'ÞÿŸ«Ÿü¸ÿâ(ÿ„ûßóõsÿ€üEr¿Ùö¿óËÿ?ãGö}¯üòÿÇøÑýŸWºþ¾AÎŽ«þïÏÕÏþ\ñÂ}áÏùú¹ÿÀ þ"¹_ìû_ùåÿñ£û>×þyãÇühþÏ«Ý_ çGUÿ ÷‡?çêçÿ.?øŠ?á>ðçüý\ÿàÇÿ\¯ö}¯üòÿÇøÑýŸkÿ<¿ñãþ4gÕs£ªÿ„ûßóõsÿ€üEðŸxsþ~®ðãÿˆ®Wû>×þyãÇühþϵÿž_øñÿ?³ê÷_×È9ÑÕÂ}áÏùú¹ÿÀ þ"øO¼9ÿ?W?øqÿÄW+ýŸkÿ<¿ñãþ4gÚÿÏ/üxÿÙõ{¯ëäèê¿á>ðçüý\ÿàÇÿ\οâɵè•­´ö–n12Ë·Ì›ý”ל·CÑÿgÚÿÏ/üxÿK´0œÇƒëÔþtÖ_;êÐ¹Ñ ©¶Œ—?;ã#Ò¶—þE×(ÿ™ª}äQñýrùšêÄÁC ã´üÅyÖØ×?ý•+®ÃÇ¿ël?ëŸþÊ•ÇÕ`¿ŸæÜ(©£…6 '‘£Fû»Ws7¾28÷ÿëáûì¿çÞãþÿþ"º9»"JÔUö_óïqÿÇÿFû/ù÷¸ÿ¿ãÿˆ£™öü€­EYßeÿ>÷÷üño²ÿŸ{ûþ?øŠ9ŸoÈ ÔUö_óïqÿÇÿFû/ù÷¸ÿ¿ãÿˆ£™öü€­EYßeÿ>÷÷üño²ÿŸ{ûþ?øŠ9ŸoÈ ÔUö_óïqÿÇÿFû/ù÷¸ÿ¿ãÿˆ£™öü€­EYßeÿ>÷÷üño²ÿŸ{ûþ?øŠ9ŸoÈ ÔUÖMÇ—qû[ÃãðÀÏçQK—†Vß}ÖÆ3ì}ôþ˜4Ôº0#¢Š)€QEoXøm¦‰%º‘£Ï>Z›²{lVu*š¼˜%sŠêÿá²ÿž·÷Ðÿ ?á²ÿž·÷Ðÿ ÃëÔJåg)EuðŒYÏ[ûè…ðŒYÏ[ûè…^¢¬å(®¯þ‹/ùëqÿ}ð£þ‹/ùëqÿ}ð£ëÔC•œ¥ÕÿÂ1eÿ=n?ï¡þÂ1eÿ=n?ï¡þ}zˆr³”¢º¿øF,¿ç­Çýô?ÂøF,¿ç­Çýô?¯QVr”WWÿÅ—üõ¸ÿ¾‡øQÿÅ—üõ¸ÿ¾‡øQõê!ÊÎRŠêÿá²ÿž·÷Ðÿ Š ÄWýáÕ€½D|¬Ì¢´ÿáÕÿè5cÿ‚çÿãÔÂ!«ÿÐjÇÿÏÿǨúõåfeq¼9â$b«—*ƒ!º’2Ã×o”Ûsé“SÖ¢—Eñ º‡}6Þà–waœ{‘"Æ1øç§H¥Œ¢þ׿.VAE$±jvÊëDÔbBpg9ôÛ;ü‘~ET—U²·`—s‹9ÈŽñLG¨W‘לcƒéZƵ9m$eÊ(¢´Uõÿ‘GÄõÊ?æj…__ù|Aÿ\£þf¹q¿À—ËóEGs¡ñïúÛúçÿ²¥r¶‘¬—H$rî=UFHúàê¼{þ¶Ãþ¹ÿì©\Åü|‘Ý£‘@õ%êMNýÙ|ÿ6øˆ$‘¥rîrÇüþ³Ž³d<âZ}ïß'Ù¤Ø6gwÍ·`÷«õ„t™F©ª¬¦êà]ŒÎJîåp¤ísÇ^{×LÜ—ÂI»Tî5;kkƒùí(@åb·’LHíSއò¤œqFÒ_FÖUk©#‰Ï†>•›=ªê÷W—V7{€·Ž8e·»eC"³±VØz|ËžøcŒR›û;ŽÆœº¥œ; M¹]›ãRê¨z30*õäàp} H÷¶ñÅu#I„µÏœvŸ— ý~RJ¸°y~Ï`Ì—%]Y@B*mnxhåwwãš+¦ÝÙéwšTp<âæ!\)EEýÊE–·TžàާŠNr]ÆÊê6ȳ«*MövÀ'l›‚m#·$~yéÍEµa5»Î²ºÄ‘·I ¦ä%— n:g¨õšÚMÚªI.æ¼ÌÈXsº2«ì qÆwú€*'Óïï<;“Y¼ÚÚ²þñÐù¯ä´`.ñ󓎃ŽN%Ô©Ø,s¬Ú*†eº]ÎA´”$€6äð¤ñÒ­Áý㺑ÔM¸Õ,mbŠI®P$¨Ï_›zª–$c¨Ú3Ÿ§¨¬i´mF ;˜ã’+¦¹¶–6GåÄ;‡%œ¾Ì00?yè_èW’G*Äž`ÍŠÝrTh¦ÆÜŸ”n‘‘©éŒ'R¢_YµäW{¼µvã>l_MÀgð­/žanyY¾L›ˆÂŸÀ‘øgצGåù¿è·Ðgñõsæç¯O±úvë[ü„me‘XŸ@IúVÛpm‹©ZŠ(­ÚðÝ¢Ïxó:«, `ÌzÐ×W\ß…™C].FâžHçüEt•âã[ušf‘Ø*ž£ªZéqÂ÷F_ßIåF°Àò³6ÒØ €žŠÇ§j¹Xúî–ú¤úJb_&Ã,Í í*ù¨!”†ûÌ£ƒßÓ5ÈQrÏTµ¿‘£€Ê$XÖVŽh&UfuRUÀ#&6ü³ÐŒÍwu ”÷w/²#id|µTdœO±o4­~y­ô«Ûëi,màGŠh‹æ$1–EbpëÏ9çšgˆu}*ûFÕt{mWO}F{y­c¶û\aÚVR¡0OqÆ=hãxŸKHžIZî-›~IlfG}̨6# gù™AÚ ã"¬Úkw³$1ý¡%uwTžÖXXª pê8b}sÇCŽ{PðľtðÀ·w0O%«¤²ßHò[„¸¦Ew}Ê ª¸ÛÉ*Ù`OÊ ’23®"s…7(n$®Í_£ä꺄·_ÝŽÛuªsµ‹“×ø¶à—#5¹§év’®,,¡·.‘Ñ>y1лucÉä’y>µvŠðå9MÞNæ¶)ê:¥®—/teýôžTk +3m-€¨ è¬zv¢ÏTµ¿‘£€Ê$XÖVŽh&UfuRUÀ#&6ü³ÐŒÓ×t·Õ'ÒSù0Þfhgh™WÈ•A ¤7Þeþ™ªÌ·šV¿<ÖúUíõ´–6ð#Å4EƒFóË"±8uçœóÍH e/ˆô¦†æo´8ŠÞ¸gh]UâQ–xÉ_Þ(ã”Ü>eõ­«jz&©e}¡néñ]]G%žÏ´#:»˜Ù¸A=:çŠxKýSQ°{›²[ šff•fcLjöœíùÉÜÁO 6òv€jÍu ¼¶ñJû^æCCî`¬øöùQ>•Yµ­9a¾˜Ý!Kg¹ ±Tœ maÆyV^ª@ÊÓô«Ý/íS,?iþÏ·{m* Á7Fpáwdã8Š,¶Oîw¬«¯ ëVšeü0Ío¨=õŬÂ(|†ga,‹#‘>c¸Ú¡Gï‰è æ³o5ÛÓi(»yÄk+%½œÓmV,%’­×Ò˜5Ø`…¦Õ } ÁïçVF œ)Yž;ãÛ<Ö Ï‘ªë÷•”7º­›ZÃͤjk¬ˆò³+í™2q"ׯjèn5ý2ÛÊ/s½$ŒL$Š6‘3ÒGe"30<M6«eoö‘,ÛZÛo˜¥Nï›îmËn?(Ûœ°*2Aƒ¢iúŸ†lÍ,~ÞóGdŠUDŠD‚8H}ÄŸ» Còð7B<9{mö‰|ÕÑíí 2_ìûå×8;G1n#l›‰ã€v•á­R®.,P\9î!f†VÀÀІ#àœp=jÑBvØ:÷Âw–åÓnÍÌ*7 K…̇ý•—# é¼HåùÈÈG,]7ŠhÛd±8ÃFÞ‡ó# ‚$kÐo/-ôûI.®¥ÃË1õ8É$’@×sp/õ‹ÍE#1C9E‰Jì,ª1½×ûç$sÎÕ@@ Šô°UªJ\¯TD’Š(¯L‚K+ ý^B–*±@¤«^Ê»£ :ª¨`ÎsÇe79]§Ro hÚeÛ5©î¯ º+ɱ‹0P‚øe,q†NpIÿ ê¶°Z[hs‘ìaÄyB‚NðÝB9aÃØÇ5«â+ 5=$ZĮŮ­¶Hc`‹:3À‚PO‡µÏ]ZÜiz¶›qea{o ­Ì-¶á^EgxXe¦>FîqÀéW%ñ&jâ+íNÊÊä*™-®n£Y#$†ºóØ‘èMsM³a5ù²I\˹1‰ÄnËʲ±˜a² ’6·)Åcâ!c’VžT…#yDÏm*Ç"ª–&7+¶O”IÈŒš¡o§_ÿeéÚÚ:E`ÖÙ¿.†9VF]ªýͱA¹o™¶Ô/tÝ^]/PÓôý:îÖ)¬ç‰í湊KbÆ6UÛ׿Ø! o•[Ø5Ô){£>'–7••R¡Žzp]?­SmLkê sæ[$‹h£i f*PIݹHÀä2‘A¬{Ý òËTŠçF7líg5±šâñçòI Ã…•Žv¨wÀûÛ0zЦú­¥Z›khb½·i-'Ú§“å›yal¬X´Iýà’;±$§MfÁì$½ó]b¶:¼N’+aLdÜw.;—äd´Öl/¦H •üçWo*Hž7P…7nV©ýâ‘Íc˧_Ýꉯý‘â–‹eƒºyލ“©ËP1ûC2GȹeÜvC¤êºßöͺ=Øh£†6;Æ¡gŒÊØb™_´³í²#9|(ôzÖ5§ÚãºGƒÎH7¨'çvUAômèAèC~£ªZéqÂ÷F_ßIåF°Àò³6ÒØ €žŠÇ§jÄ:zV­g5»%¶h¿i“{ ±µÁò¤±v €áýC!†:®+*û@Õ4µ2£Jß'>T!fGv±'vsŒ)ÏËÖéK4zU¬WÑ[Mb7ŠjWp‡PyÁäTνa¡@’^HÛäÈŠÔ³È@ì;ƒq‚FHÍkN½JoÝbi3‹ŽD–5’7WG•”äzkEäQñýrùšæ´F—ËttFK”‹ˆã,IÚƒ²ŒàÀ éWþE×(ÿ™¯J½Oi…rôüÈJÒ:ÿ­°ÿ®û*W#©":Ê}®»Ç¿ël?ëŸþÊ•ÇÖ˜/àGçù°–埳›ŸžÖ6cüQ($¯Ó¹_åÐö&µgûB÷þ.?ïéÿè÷–Ä•¨«?Ú¿óùqÿOøÑý¡{ÿ?—÷ôÿ—oëîµgûB÷þ.?ïéÿ?´/çòãþþŸñ¢òíý}ÀV¢¬ÿh^ÿÏåÇýý?ãGö…ïüþ\ßÓþ4^]¿¯¸ ÔUŸí ßùü¸ÿ¿§ühþнÿŸËûúƋ˷õ÷Zгý¡{ÿ?—÷ôÿÚ¿óùqÿOøÑyvþ¾à+QV´/çòãþþŸñ£ûB÷þ.?ïéÿ/.ß×ÜÆò¸HÑÏEQ’jøô ?åáR?ç˜#¼GåõèÉ/.¥B’\Ìèz«9 Ô4Y½À(¢Š -X_I§Ý £¸Úʈz{Wkkw íºÍ eOQÜCï\:9'²8èÊpErâ0±­®ÌjV=Šàÿ´/çòãþþŸñ£ûB÷þ.?ïéÿäþÏ—óÎw”Wý¡{ÿ?—÷ôÿÚ¿óùqÿOøÑýŸ/æs¼¢¸?í ßùü¸ÿ¿§ühþнÿŸËûúÆìù0såÁÿh^ÿÏåÇýý?ãGö…ïüþ\ßÓþ4gËùƒœï(®ûB÷þ.?ïéÿ?´/çòãþþŸñ£û>_ÌçyEpÚ¿óùqÿOøÑý¡{ÿ?—÷ôÿÙòþ`ç;ÊFeE,Ä*’IÀ¸Oí ßùü¸ÿ¿§üj)n&ŸtÒI·¦ö'5—ÊúÈ9Í-gVû{ˆb·CH寰ÿ?Lš(¯F8Ó,HnáEU­»é¹þʹ—MÝ÷–Ø.Æ÷1°)žÍ·vÇ«‰µËUÙ$6Z€À ìÍnãØ€á‰ö:sFŠÂxjSÝ I£r? Ø.tmB_ÌçªU ÝsIÓ&ßê–V’²ï =ÂFÅrFpONå^uý‡¤Ð*ÇÿÓü*͵¥µœf;[x Bw‰‚}p>”Ö_.²s²oxqT‘®éÒ2+”woeU$±ô{Ufñ¶´ùo‘ñò °™KÃ,F}IÔŠç(«Yrë ç6eñ¤î ZhwLóöÉã1ìPÈsÓŒמÇ>ç]ׯO0éÑç!-PI íƒ$€©¯AžkQ[GJ>bæddî…ÝÁk›ÁŸô™Îùs¤ýÑÉùW 2pOEÕ¨«$HQEÀ†æÖ È 0¤±6 G»ëzLhš^«0·Fm¥U‘00üÀ¸mVPL·EcWN¯Ä†›DñøëV´·ú<€ß¼š Ì{‡_•œv/ÉGm>"iRHEͦ£h˜âI!}1;~$c޽+"£h"v,Ñ#ܨ5Ç,¿ùdW9ÔÁã\HSûM`ÀÎ븞ÝO°iA>ÙÏ_J±ÿ g†ÿè`Ò¿ð6?ñ®#û>×þyãÇüj?ì¨?¿'æ?±x «°ù‘êÍÄ1Í ‰$R(tt`U”Œ‚ê >¼‚_ iÒ9³Ã¹‰,^bOåQÿÂ)§ÿÏ oüZ‡ƒ­Ûòd{ãŸðŠiÿóÂÛÿÖøE4ÿùámÿ€ëKêu¿—ñAÌN›Äú¼ÒC6¹¦G,lQÑîã ¬ žªóøÏÖñ‡þصŸ'mí =ÊǸïŒtõ®-Ð&óµ@ B€*Oì¨?¿'æ?©`«vdu3üBÑ#Œd¾»|óv­×2ì_ÀóÓ­gOñS ûˆÍ9û]Љ³ì\c§9Ï^=rÿ³íç—þ<ƦX"F ±"‘Ü(¢ËçÕ¡s¢¬Þ ñ6¨Hûy…J2YB#R;ü͹ƒsÔ0íŒj¶ˆÞWÂI#n‘¾óÈrrYº“îsÖ¶¨®˜`)ÇYj'&2(’Ù…^µ¤¿ò(øƒþ¹GüÍP«ëÿ"ˆ?ë”ÌÕãT^_šît>=ÿ[aÿ\ÿöT®>»ÿ­°ÿ®û*WF øùþa=Š(®¢BŠ*X­n'RÑA,Š2ˆHÍ ¥¸QV~Ãp>ú,GÒWT?“qGؤ´–á{Ÿ=?I?…O<{…ŠÔUŸ³Eÿ?Öÿ÷ÌŸüMf‹þ­ÿï™?øš9×ô˜¨«?f‹þ­ÿï™?øš>Ëáo-Ëv8ÏâTøÑο¤À­EYû ¿ß·ÿÀˆÿøª>Át~ä-(õ‹çšäfŽx÷ ¨§Ë °0YcxØŒáÔƒŠeRwØŠ( Š( Š( Š( а¶7n¡–ÖvR2ŒEX]Re -ŽÏ, þY¨u ·h,Ìú+R/j1 F1œ»Œ~™©¿á½ÿž¶ÿ÷Ñÿ ‡ˆ¤¾Ò™‹EmÂ1{ÿ=mÿï£þÂ1{ÿ=mÿï£þ¾³Gùƒ•˜´V¼¾¿A_*CœaŸ×ö¥ÿ>ßøúÿR¯Iý¤fui´Ûåb¦Ò|ƒŽ#$~uY•‘а*Àà‚0A­“ÙˆJ(¢˜Q@Q@–¢ãQ•¢Ó,®¯Ý£xó0ä«Jq9Ã0==Fo`x›þ…«¿ü ´ÿãÕ”«Ò‹³ìÊTUßìеwÿVŸüzìеwÿVŸüz§ë4˜9YJŠ»ýâoú®ÿð*ÓÿQýâoú®ÿð*ÓÿQõš?̬¥E]þÀñ7ý WøiÿǨþÀñ7ý WøiÿǨúÍæVR¢®ÿ`x›þ…«¿ü ´ÿãÔ`x›þ…«¿ü ´ÿãÔ}fó+)QW°³Gùƒ•”¨«¿Ø&ÿ¡jïÿ­?øõ!Ð|Jü‹Wžœ]ZŸý­GÖhÿ0r²œÇÙ¥Ž{{»ü‹˜^6ç¶8 ·•©|NÁk“QYßðhô³ÿ¾ÏøQÿ ‡ÿA‹?ûìÿ…gõš?Ì>VhÑYßðhô³ÿ¾ÏøQÿ ‡ÿA‹?ûìÿ…Y£üÁÊÍ+;þ þƒ÷Ùÿ ?á Ðÿè1gÿ}Ÿð£ë4˜9Y£EgÂA¡ÿÐbÏþû?áGü$ý,ÿï³þ}fó+4h¬ïøH4?ú Yÿßgü(ÿ„ƒCÿ ÅŸýö¬Ñþ`åfÿ ‡ÿA‹?ûìÿ…ðhô³ÿ¾ÏøQõš?̬Ѣª[jÚeä†;]JÖgqU“zóZ¸A=ˆÈ=ˆõ¤* ¸¬Ð•}äQñýrùš¡W×þE×(ÿ™¬1¿À—ËóEGs¡ñïúÛúçÿ²¥qõØx÷ým‡ýsÿÙR¹[MŸkÌÛ·Ù¥ƒvçëù°–ã–Û y*FT2’Ì=@ÿë֗͵î[´‡¦e~¾Äþ5›ü×ó7y™;·uÏ|ûÓk§–û²K?n¸qÖ#ë*Í@8¨ešYØ4²<Œ2ìIÅsöÚz\k÷÷O›ˆîW™-·J†26¾xÁÁéëëSxzúÒ}ÂÞ¨$ž;X÷Æ’Ë…äG5jû[qšôVf©äý¢ßíÛ?³¶?›æãËó2»7çŒc^3Žûjš£ÄÚŒ?ñçk)ò±ÐÚ•MûÙ ŒB¿)Nvvú+t™m#íÞK»é~Ñs ÈE+¹y!X²3ÈÈ$àò*]B+kÍ=uÖ mí¦·•®d– 9Á,¸lqœdâ¥Õ³Ôv:Z)±È’ƲFêèà2²œ‚B r6úR'…­d0Øo¸Šm0Hi#ÈîùóÆzg•Nn;+ŠÇaEs*’YZßÚD©ìÎ Š8ü•ÁV"T¾öÝÄ’@&= ñ“ Á¹1ZÙŰÝÛÞ4Öñ3(%Ls4jv’åJc?u{db=µºÇcÕÄ V)åIÎÈ©>Û#q,pÊ]Ñ€[êà ŸÆ¼úé’çS[«©­–™"‘MÚï…cÛr#ùIÊ…8$|Ì~•ÖibÓ¢=«ÅÎÖ´@‘žO@ Ç¿=sJŒÛÐ65si/dñnÞ¹ôÆ2âOÖ£–ÝãPà‰"'Di>œŽ±¨ªÍ—úæÝþ«aóÝÇóéŒ÷Åh×*ºZŠ(«UYØ*‚ÌN$šÚ³ðäó’áÄHFJŽ_éíÇÿª“Ã^OÛßúÝŸ»Î1ïøÿL×W^~/8K’:ÜͶЬ-ÎLfV Êsútý*üPÅ•Š4IÎ@§×7âë/íÐí6Z?™¨–îßψâÞcó&Fzqϵy²©9üNåXé(®JÖëIð߈îmnîôÍ9³mB )m7™pX¢ÀÉÎ2qžµÐêßmþƾþÍÿï³ÉönŸë6¿{ޏëÅ@Ë”WžëßÙ?Ø—ÿðŽù^gØî¿´ü¯¿åýžL}£<ùžfÏ¿ûÌïí¾¯ÜXÙxfmâëûÍ[R&IímVÎ=¿fœ(l³däžsüXǨgEqþ"¼:üpYè­-äb6¸’{ cm„¬‘Ä~gElHÁ J´€H ¿·Ó|A?†ïot»GžKÇ·¸I¢Y ‚ã|Eˆù‚ȧؑ‘Ú€; +ÅŸò&ëŸö¸ÿÑm\|ùwçûïJ¸·6çíŸØÞNÔóàÎý’9/åyû1†ûûrhÒ)UÔ«ÊF# Šâ§þÄò®ÿ±ü¯ìo±ÉöŸì½˜ûNèü+/Ÿ÷±·œùyþ ØðçÚ|ÝCûSÊþÙóí>N|½›G—ånù¼¿½×3ÍÅhO£Ø\. ²!ÁÆ6‘ùuük.ëà ¤ÿU—ùä§j設ራ ˜šLóéíæ¶”Ç4lŽ;0ëôõu~%ò~À›ÿÖïýÞ1ŸÃúâ¹Jö0õ]Xs4fÕ˜U­#Nάö’<‰iBk§ŒáŽâBFA¶¾XrÁeaV·üèbÖÓ öybWæò|•ÙÏ]»ÄØ3»¾kÓäçËÙ´y~Vï›ËûÝxó<ÜP–¹jú®‹=¡ òÿ¬ÜœÅ(SØóô#‚$;Ó†EU.`‘¡™W aÜ}A©Æqž+Ô+ËÃÆþ'×Ôiç'Ý\7oÏÇ_»åû~9®Ü Ú©ËÑ“%¡nŠ(¯`Ìu¥”ÚÆ¨4ëk‰-Ò$ÞÏãVËT$¹ˆÉãAäg²Óô'Iq%†mo.Ï,Ì‘1—¼ÿy²@$’ry5ç±YG©jÍk"Z=äš²|·vþt_g“˜²€¨?0—‚ è+¦µºÒ|7â;›[»½3N_ìÛPˆ [FÍæ\(„ð2sŒœg­|õZ’œÜ¤j•޶ŠÇñgü‰ºçýƒî?ô[W64».îö£´¶”G Ò,Ͱ¸¶2§žÄfiUÀÙʉ i\Æw”W}ýš rxwìƒHŠH%¾k-¿gG[¨X•ùA‰KÈP¥øÙLÕ=sÅvÒéz‚Ý Š+Ûg"L°ß7U8b»”'ÀþŠóH®t›¿Ë?‰mì­£f¸Ý£°¤slP\Äa°Ã¨äpk¹Ð~Óý‘Ú¼ÝÞd¾WþO˜ÞVìüÙòögwÍŸ½ÎhJŠàôÏìß1ÿ³>Éÿ öÄþw‘·Ïò~ØÞg›ŽvyYûügf>m”-­…ö›mhéøš*-Qâᑊ‹‘!ˆöÛŸ“ý^Î|ºï(®ÖmE­`ñ-üŽMXá¹@è®·oòð‘É*ÜmWÊ‘‰ö[ý+Ã>&–T”´ÑË¥ ág’Ê) ¸÷¬êv€1&I ÀªQXþ,ÿ‘7\ÿ°}Çþ‹jãàË¿?ØwzUŹ·?lþÀ¶òv§Ÿwì‘É+ÏÙŒ7ßÛ“@ýîe©Â!¿³·»‰[xIâY6ÎëÉü럗ÃÖZeØUi#Ó®ØDŠE¤ÌÊ#¯™™Xs‚ɪ §þÄò®ÿ±ü¯ìo±ÉöŸì½˜ûNèü+/Ÿ÷±·œùyþ q7cFÖ ÿ“ÿ '—ågËóò¿dò·óåù»~÷Ëæy¹ã4ã'u¸%á•âaÑŠ°ÏB:ÕÕÿ‘GÄõÊ?æiúûBúõဠžf8çþ¹¦/üŠ> ÿ®Qÿ3^Æ*\Øfß[~hÎ?Ðø÷ým‡ýsÿÙR¸úì<{þ¶Ãþ¹ÿì©\}V øùþa=Ë s• ÓüøÛÿßRñTùŸoÈ ©ôØ.&i^K ÍÔGw*ÉXW*ÏÚbÿŸûêOþ*µF9[;pÝÎqø þ4“¶Ñü€­EYût¿Ü·ÿÀxÿøš>ßt>äÍô‹ä’àfåÛúû€Ž+[‰Ô´PK"ƒŒ¢3R}ŠEæY!ˆ»¤¯ÕF[?…C,ÒÎÁ¥‘ä`1—bN)”Z@YŤ\î’v÷bç×9É€?JŽ[‡‘B#ˆˆÐ úòy>梢…¬Š(ªU™2’¬AÚ³ñð„Žá¨ ëïÇÿ®±(¨©J¤;¶»appd118Q×§ëWâš)Ô´R$Š2ŒÍyíÇ,¾áv+œôZÍþôûoÚüíCÌó<Í¿Ú73œãfý¸ÿgÇÅr‹}vŠn§U U…×5%P¢äà rªOçŠÁåóèÐùÑÚÑ\t^!Ô#bZDctý1SÂO{ÿ<­ÿï“þ5Uv2:º+”ÿ„ž÷þy[ÿß'ühÿ„ž÷þy[ÿß'ühú`æFÏö§Û~×çjg™æmþѸٜç7íÇû8Æ8Æ+J¹|G"€¾Tg9Ê/?®jíÝKþ~ñÅÿ kUötv”ŒÊŠYˆU$“€p­©_37säœñ!òªÌÌìY‰f'$“’Mh²÷ÖBç;iõ‹ uɹG8$Îâ.ŸeÝxŸ ´ƒêÒÿ,ôï\åÑ (靖™$÷\ÊdšFw=Øôúz ŽŠ+±$´D…ZÒ5£jÏw"Hö“Ä!ºHÆXm$¤€`“·såG$9<•U5h¨©MT‹Œ;¾›«ØêÖÉqgp’#ôç“ø}9«ÕåRèöÍ3\[´¶—“æÛ>Óԕû¤œIþ”ŸÙ·ôÕï¸ÿøŠò¥€ªžššs#Ò¯ôÈ5/Ï’í<¼ãì÷rÁœã¯–Ã=;ôüjk[hìí’šVDÎ Ó<­ÉÏ,ä“×¹¯/þÍ»ÿ ö«ÿ}ÇÿÄQý›wÿAíWþûÿˆ¥õÁÌV¢¼§û6ïþƒÚ¯ý÷ÿGömßýµ_ûî?þ"¨ÖdzµCumå³Á+J¨øÉ†g‰¸9á‚:v5åÿÙ·ôÕï¸ÿøŠ?³nÿè=ªÿßqÿñ}F°s#Ò¬4È4ï3È’íüÌgírÏŒg§˜Ç{uü*åyOömßýµ_ûî?þ"ìÛ¿új¿÷ÜüEQ¬ÈôOì;O¶ý¯ÎÔ<Ï3ÌÛý£q³9Î6oÛöqŒqŒV•yOömßýµ_ûî?þ"ìÛ¿új¿÷ÜüEQ¬ÈõjBB‚II5å_Ù·ôÕï¸ÿøŠ™pãlºÖ§$g†F‘aÜȃGÔj‡2;ÄÖºM·— ù×Ò® Š1¸³vïSÉè < ãtûY-¡‘§e{™äi¦eèXö@è3Œãš-4Ë;/8Œ‹¾=71'tÎ*Ýwa°¾ËÞ–äÊW (¢ºÉ.hËy¸.tø„ï4b;«mê¯:®vË•PÊXç,]ÝN+«³Ö´ÍBv·µ¿·’å´–áÀ–<è~e  x<׬ÈáÑŠ²œ‚5©&½qwh¶šµ–©l„2En³*°n÷Á<žy>µæ×Á9Kš™j]Íïì;O¶ý¯ÎÔ<Ï3ÌÛý£q³9Î6oÛöqŒqŒV•pÿiÒ¿èRðÏþ ã£í:Wý ^ÿÁ\u‡Ôk™ÅÃý§Jÿ¡KÃ?ø+Ž´é_ô)xgÿqÑõÁÌŽâ¨^èöÚ„ÂY¥½V ´/¦…q’~ê8ó×®[í:Wý ^ÿÁ\t}§Jÿ¡KÃ?ø+ލÖdv°Ä°CH\ª(P]˱c–$’}Éɧ×ö+þ…/ ÿà®:>ӥХáŸüÇGÔk2;Š+‡ûN•ÿB—†ðWiÒ¿èRðÏþ ã£ê5ƒ™7ö§Û~×çjg™æmþѸٜç7íÇû8Æ8Æ+J¸´é_ô)xgÿqÑö+þ…/ ÿà®:>£X9‘×Þê6Zd"kûË{H™¶žUK`œdž¼ʲouîZÞêXŸû)žÜ Þʬ­L|¥e,X…ÜDeK!9Ë·Õ×O—ÎÒt#Kœ©FšÆÅ"vS‚TœtÈ©ÜÝOy1šæg–CüLsøAíZRÀJ÷žÂrìG,4¯,‡.ìYŽ:“Ö®¯üŠ> ÿ®Qÿ3T*úÿÈ£âúåó5׌þù~hQÜè|{þ¶Ãþ¹ÿì©\}v=ÿ[aÿ\ÿöT®>Œð#óüÂ{…Q]D…Q@Q@T77vÖq‰.®" ÚW ôÉúPÝ·j*8'†æš RX›î¼lÝEI@Q@Q@Q@Q@Q@Q@Q@Q@"A,«º8ÇLª“QÑtÀ(¢Š(¢Š(¢Š(¢Š(¢•U›î©?ACijÀJ)þTŸóÍ¿*<©?ç›~U<ñîE?Ê“þy·åG•'üóoÊŽx÷ ¢ŸåIÿ<Ûò£Ê“þy·åG<{…†QOò¤ÿžmùQåIÿ<Ûò£ž=ÂÃ(§ùRÏ6ü¨ò¤ÿžmùQÏáa”Sü©?ç›~TyRÏ6ü¨çp°Ê)þTŸóÍ¿*<©?ç›~TsǸXeÿ*Oùæß•4‚§} 5$ö`%QLŠpFa•RG°¥ò¤ÿžmùT¹ÅnÀeÿ*Oùæß•TŸóÍ¿*9ãÜ,2Š•'üóoÊ*Oùæß•ñîE?Ê“þy·åG•'üóoÊŽx÷ ¢ŸåIÿ<Ûò£Ê“þy·åG<{…†QOò¤ÿžmùQåIÿ<Ûò£ž=ÂÃ(§ùRÏ6ü¨ò¤ÿžmùQÏáa”Sü©?ç›~T†7%J9ãÜ,6¯¯üŠ> ÿ®Qÿ3T*úÿÈ£âúåó5Ïþ¾_š*;ÖØ×?ý•+®ÃÇ¿ël?ëŸþÊ•ÅÏ2ÛÂÒ¸r«ÔG9ü”hÁ??Í„·$¢±&ÖZïOÔŽž`ŠkkyeÍÅÌjÿ 9Û,û»íeQêGJѰðö¶&ÓF©ª]À··F€ÛÛù‘’edRêÃ*J‚qœ/rxÚQvÜYj«Ë}k Â[<è.$Ç—9’BNT3xIàWaoàý-s ·ò.wÙL‰'¦è†"8íòv¯5™¤¼Ú6Ÿ%í¬«¤º¼–ϧÅo 0€×FeØŠÛ€rŲŽà¯<³åˆù èl5‹¨Ì–º¡$`í&P–ç?îÌÈÄ{|ƒ(¼#«Êí:Ž™g·<ˆä»ßëœù[qÇ÷³žØæœÞ4’ÓNÐ%ºÔmRWÓཽóÙQ¤cjœnù|÷ îCµ­Ïâ[ûMo[±o*OÞG›¹8I Û©`ƒ³}ÌgŒœoôQ\ÒÆÖ—[•‘x3FŽbn.õkø¶ñ×  ë˜V6éØœsÓ8ƾe¦èì$Ó4»+Iöymq LëÆCÉ÷›$I$’2rk—ðýî«â-*í'µ–Þ¶ÂŒ³ÊÐG+4€»ûÀ6¡CÃ|ܹ¿ð˜j2i­ùÙ SZ³Ø5¼ÂÊ;€„ãçtŒ Y;”yNRøÊ;ký+GÕ¥y¯ô‹9nd#Ì»Dòî0ïS8pzqÓŠÉ›Ázk4­i¨êvc¹„ºO¶?‹z™g’<Ày ã-¯µ-ÛT—P–â6ÕÌÚªÄ~4FrÂì0.<)¬Ûóms§êqÎûY þâ¡Þ¤úê2pqŒœé¬õk]ŸjÐõ(÷çg“¹Î:çÈ/·¨ûØÏlàãKÄ:Åí·ˆâ±Kë»kWû>ãil&”nK²v®Ç'&(óÁÀ§&º-kÉt¸Þóx”³…g]Žñ‡"6eã Si#‘…è:c­·'•µõ¥îï²ÝA>Ìnò¤ ·=3¡«%ÕÅÞ£A¡§ö‹ïîÃÿ~…h¾þì?÷èU_ÝMcáVîÙöOœÒÆøk*‘X–š–¢ºµ„ u{=„÷B?:úÐA+·‘pî›v'Ê6BÀíêXn<€Òý¢ûû°ÿß¡GÚ/¿»ýú‡âízM h­®­ º›Í‘>Ó"F¬#BBîr™ HFsµØŒcrš…íÕ×Ùo­nõô‰­ÒXçÓ­ÒWËdæDtg ‚›v) —Ý€Ÿh¾þì?÷èQö‹ïîÃÿ~…a†¾›ÄZZ¦»+ÚÜÙÉtÉo>L… m%Y‚7˜Çï“Èà ­áûÝWÄZT7ÚOk-¼0+m…g• ŽViw÷€mB‡†ù¹@:_´_vûô(ûE÷÷aÿ¿Bªø†êk ê·vϲx,æ–7À;YPpx<ŠÇñv­{§]YÅmu-¼rÇ™DŽ?ÒmcÊ‚­“¶W`äž„â€:/´_vûô(ûE÷÷aÿ¿B©h3]Ík9¸{‰bY±m5Ì>T²ÇµI.›W9u*ð àç'›ÖujÒçÄ7VÇS’5³¶¿gmã‰7âR2ħ8<Ðcö‹ïîÃÿ~…h¾þì?÷èVÆ£ý—¨ëévéƒ\âÀ"åXÕ·1÷6Æ ‚å~VÚw?ûV÷þ?ì_;åûG›ö­£^ÍÿgÝŒyÙçn3äüÙÝóPçÚ/¿»ýúËøõÒ"+”*¸Ýïý? ì+’ñ'ü„×þ¹æk§üeýt&[ôQE{†g¦hzd?Ù0•UPÀ\ ÑþÌÚ¸ÿ Üj÷ÚÕÄçVK [ˆãSÚ}™WìñHU÷ƒ1$±_ï ‚GSá{ËGÂZ5õÜžeÍÍŒJøs´jIÀàrOJù¦ï«6'þÌÚìÈý«Å•Å®½¥Y®£©Ù[Mks+6È\ÈÎ\*BüàsŽzU¿ j­üzˆÖ#»·žÞÀÛ H$tß’O^¸ÅhÿfGíGöd~ÕÍéþ0K¿M¥ÿhY=³Ë=¬6èêfY"T$”zå¾Ô a·GŒnäÓeÕòÚjº¾¡i:º´2ZÂmØí'u¬ŠA•ef}ˆÅ“ø€Aý™µÙ‘ûW&¿«hZ"j·Ö¤QÔ"’’ ´w…TŒXÃ'žGƒÙéö:­ÃIw¬=êH¹xžÝc|õ[@!>ð×?wæàîöd~ÔfGíYÚÁ¾¹ñ6™¦Úê·Z|2ÙÝO#[$LÎÈð*ƒæ#€1#t¨iÚ®£â[©ôñzúkØ©3ÏgÅÄð|¢Ep‰þŽÍŒ1ùÔnùNðƒû2?j?³#ö®FÓÅ:­Üךa•>ß5äP[ÉaB/43 –sλËrá>m£uKøŠïQÐãÓü‘uX¿±6\Üî·ÂŽcÙ%›¨`Ä0¸.¹þÌÚìÈýª†õŸí¹5kˆ§ó¬Öê/²6Í¿º{X%äÈÇžyÇlW/¯kšý•߉ï-[V’ßImФ göPÚ)JË¿¹‰m‡;OÊs@·öd~ÔÙtÈÌN>Sòž£"°nµ]GûTñ4w¯:s]…ÓDhb™-ÝÑ·¹]ûÛËb +•m§{ŸY¿ÿ„´?äûA›í›W—¿ìÛ±?w;vçÈù³»æ +R‰ Ôîbv¢HBAš•äQñýrùšn±ÿ!‹ÏúêßΜ¿ò(øƒþ¹GüÍzõÝð—}—èf¾#¡ñïúÛúçÿ²¥qõØx÷ým‡ýsÿÙR¸úÓüüÿ0žå{Ë]BÜÁwMþÁÆ2='‘ÍT} Û`×Ön¯¾7¶»‘<£Œƒ;W‚WБZtVò§ |Jäܯo{â}*ÐÃa«Ex«þ¬jq´×'t=N8ì½?MÕäÒîEÍîƒ,²‚ó4–—¯4K#’]’)lbYÏȤáˆ䊖Šç– ”¶Ð®fhhÞ,ðž™¶‰›Lß´ùW›£8DXÔüý¶Æ£==s[:eŸ‡ãŽìóØ%Y#ÄÌvºÂ!OüóÂàýzó\µf¾¥¶6Z,¿fc~»Ïã\ÒËßÙùÏA>Òe‚Þy6𭺢Ná^%Týâž#æoïÏu¢é×¶·ö×6©,7í¾å’‚ªƒì@EÆ1‚3ךóÈáÕíTý“^º,Ç‘t‰*ãØ¤Çðô»‰üKfs=¤ÈÐ`—k±þñWÀ:qžýkžXJÑèW2;;mO´½k¸£—Ì2<¡^âGDw$³*3Rw7*ÃК¬u+Üê·útö÷ãŠÎH_#•*þqÚC`‚A`àŽFoxžø·––ÖIÀ27™"}T|§?ït>¼U9m5 À öµy&F׎±FÃÓ,2:Ùô#ŒÂV—K ™›EáÝ!£¹žä "5f¹»y\Œ¿}Ø’¡d~ ÀÜN9¬]Sǰ´ÿñ$Ô ¸E]#Ó¤º!¹çrH ÛŽÇ틉¦ÀêâÑE`Ë$Ù•ÔŽ˜fÉ«õÓ½ý© œ¦—×›üÛ]Ç0“Ïo¶jˆRÛÙÖy|ù`C‚9FmõYïšò]LÚ³nq’±ÈÙÜʲ†;›,ª¬wÆæÎ…Óô¸¹™–ž°ýÙfºdÜsu;ʱˤí$Ÿ˜ñךЂm¡X`‰"‰~êF¡@ïÐT”WDaü*ÄÜ(¢Š #0F× 9_Þ¢2+g b øèü©‚ÑY]d¸ 3–q ŠS€¿<{¶0!@ ‚9©è©”#-$®|®Ñi¢ Êì–6ÒYe9RL2¨b7ŽØÉ­K›M6ú9£’}N‹3¤bNŒíDÆFu¸(ĬήÑXK Eô35½º[ÝÏ£ê*UؤÆmtäc jÊÙ`(“¦S$ )×Q²¶K-Ä0X[Â]‘-4pËÄ~òV*À ôÆ)(®ˆ`)¯‰Üžv1­í%³Ž ‹wœœIqæÝLbšmÛÚCÿ,ÿ6Ý¥sÚ¡µÓí,u¾³mgr û?îÐ¥A¸PpXd~fþñÍš+¦8zQÚ(Wexì­âòvG´Ã»cn9ù¾öOVÉäç98'‘š±EªIl ®Ãüši*27‘\}nèÞ&›G³kt·ŽP[p,q\˜Êr;Eu*.Ìê&ÒÅĶòËç¶ËÉX«&}þWaÏ­S¼ðŵõé»”]¤æ5‰žÞòhw*– ŒÁfëëU?á<¹ÿŸï³þÂysÿ>0ÿßgü+Ìúµoå/™ÝèºÕ÷Ÿmsw§¾>èäƒìRh›‚»Äܧ±×œv«šŽ…©)t’þæO66†w‰•¶•Èd ôf{Öwü'—?óãýöÂøO.çÆûìÿ…V­ü¡Ì= + HS#F±4“Nò³*³²‚ÎI827玀b´ž²s•Šâ,ìÍmw,,Åœî(À°Üì@9qÆ2j¿ü'—?óãýöÂøO.çÆûìÿ…V­ü¡ÌDÑ¡Škyc¶HÚÚ‚Ÿ*¤lT• 8ÇȸÇM¼%§´6Ðý•ÄV𭺢Í"«Ä£ ’x£žpù›Ôæ¿ü'—?óãýöÂøO.çÆûìÿ…V­ü¡Ì‹i:ÝÄÒG5Ö™%„ŒUíßOrÍ<¡c. #ŒíÇ·j#ð’´W0dek›¹fe*êãiv%FäR@À;FsUÿá<¹ÿŸï³þÂysÿ>0ÿßgü(úµoådhߨêòyÙ÷6–øÎÿ´[4Ûºc‘1ß×ðª áæy'Ô7Ís;n¹M40L@ 7Cæ#jªr9ëŠoü'—?óãýöÂøO.çÆûìÿ…V­ü¡Ì‹ÒørÖkñzð9—r¹Q+ˆÝ—Y£c0Âáˆ$m^~Q‡ÿ`Ûõû?Íö´ïÜÛüÏïnÎz|¸Î6ü¿wŠÎÿ„òçþ|aÿ¾ÏøQÿ åÏüøÃÿ}Ÿð£êÕ¿”9‘»öY»\Š#hõE 0| SZðž\ÿÏŒ?÷Ùÿ ÁÖ5Y5‹Ñs,i*úÿ]tahTU)- “V3袊õˆ=SÃVp[ifXSkÝ2Ë1É;˜"¦yéò¢Ž=*+_ ãZЧšÚU‰a„^\Ü]Á84 t#LƒËi¾0šÆÉ-äˆÉ³€U€ãò«Ÿð7üú¿ýüá^ÂÖNܦ¼Èé,4Ûá~/µk›+«˜¢h`{[Wƒb9Rà†•Ãd¤~˜Ú}hoiÇU“RS{̲¬Ò¯çŽ7uUPZ5p‡åE#9Ísð7üú¿ýüáGü'Mÿ>¯ÿøRúµoådu‹£X&•k¥¬³´ò|˜÷·Éä²´|ç'©çæ«ÙøoK°»K‹x¦ |˜äº–H ÈÇîãf)•@Â’"¹¿øN›þ}_þþð£þ¦ÿŸWÿ¿ƒü(úµoådu‘èÖ}Ÿdû=Ô·q|íòË'™½ºóŸ6NwŠ‘øz 9%“FÙmvW˅@™¤q™mB£å^P+žÿ„é¿çÕÿïàÿ ?á:oùõûø?«VþPæFÑðäú•ÂO®Þ¤óB¬–òi¿h°dV ¸b³’À”N8ÆÚ½w é×–öИ^µ_.g3Û4i€6+FT„ùWåÎ>UãŽ_þ¦ÿŸWÿ¿ƒü(ÿ„é¿çÕÿïàÿ >­[ùC™|ze”7³El‘½¤ måXâb„¨QÆ?v¸ÇéŸØÖmû_‘ûÿµ}¯~öÿ[äù;±œ«ùqÓ¾3Írð7üú¿ýüáGü'Mÿ>¯ÿøQõjßÊÈèdÑîlžgðüš~žn§k›¿:ÍæÊBÀ,¨áyë“Ï\“~´å¹Õî.î[}Ø·žâ iÈè<ÖB6*©!±Ï‹ÿ ÓÏ«ÿßÁþÂtßóêÿ÷ð…V­ü¡ÌŽ¢mNŸRòBæmË#(™ÄNë®ñ±ÜapÌ WåsèÖ[#çûA»ó7¶ÿ7¦íÙÏÝù1œlù1·å®Wþ¦ÿŸWÿ¿ƒü)¯ã—1°[fÜAÆ_ŒþT}Z·ò‡29ÍcþCŸõÕ¿9äQñýrùš©<Ïq;Í!Ë»cŒsV×þE×(ÿ™¯G/+éoЈüGCãßõ¶õÏÿeJãë°ñïúÛúçÿ²¥qõx/àGçù„÷ (¢º‰ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ ¾¿ò(øƒþ¹GüÍP«ëÿ"ˆ?ë”Ì×.7øù~h¨ît>=ÿ[aÿ\ÿöT®AT»Rc€HÎ+¯ñïúÛúçÿ²¥rPÿ¯ýñüë<;qÂ]v¨Kâ!òbîŸS+ŒþDÊ&/î¿ýþ“ÿЬÛÍ]íõAcÙï1£¯Ú.¼¢å™€ 6œýßÔUÛ;ŸµÀÒlÙ¶Y#Æs÷—?ŽÜÖ꛲ýEvKäÅý×ÿ¿ÒñTy1uÿïôŸüUV¿»šØÛ$¤²Ï/–¢I ò3g îúw¦XjnžXL;$ŽìÛäFŽ€Æp{ƒÐSä¥~[~av\òbþëÿßé?øª<˜¿ºÿ÷úOþ*ªË©$Z¬V&6%ÀùóÐäqô‰óÿ듈áÔgžòX£·‰£ŠM’?'8 Sã#æåyñK’—õpÔ½äÅý×ÿ¿ÒñTy1uÿïôŸüUe¦«v­?Ÿe,7[±Žà±,æ>yAÀgê1ïV­ogºhåKeû£tr‰>r1ÅqÀ=¹'‘9À¡Iè—æ–¼˜¿ºÿ÷úOþ*&/î¿ýþ“ÿЍ®.|‰í#Ù»í˜óœmÂ3gßîãñªOªÜ¶§%­¤Nè_-,åbnÊç®? )-׿f—“÷_þÿIÿÅQäÅý×ÿ¿ÒñTËK”¼³‚ê0Á&dPÝ@##?bCâG—L7Â; €E•[ì˜Ë²¨ó>O—$õéC(ïú†¦÷“÷_þÿIÿÅQäÅý×ÿ¿ÒñU›o­$–w—2,N–±™í&ó‘† * ó r;eyæ‰u´‚ÖÖy``%¹ki6¶DEw†l÷PPœñÇ=±K–Žá©¥äÅý×ÿ¿ÒñTøbŒHV¸É‘›™5…wâD·½–Ù"‹È‘ù×ùQ’Ë!?6C_÷²;VÆ™sö¸¡Ÿt ¸õ‚_188á°3ùTÏÙ¨ÉÃtŸà=Ih¢Šê$³kšg] °ôbHûsNûlóákù?ÿXZGˆïH»¹Y˜Ù-Õ–¿1ã2M€Ë°c=úŒ{*ç‡%YIïÿ †ô-ý¶?ùðµüŸÿŠ£í±ÿÏ…¯äÿüU`¾©2]̦Ù>Í Äví ”ï,á0BíÆ3 þ/_¥[±¹ûnŸmu³gŸÉ·9Û¸Œþ5J›²_˜]šmþ|-'ÿâ¨ûlóákù?ÿ\üÚ\irÞ¤ Y°eVVcØu,yÆ®2Iµ+Øt¹¯~Çlâ(üàRè”xö“•m™'Ž˜Ç#ž¸žZ_ÕÃS ûlóákù?ÿGÛcÿŸ _ÉÿøªÁ:¤ÑÜIm]C$¥•™Œœn*0ÆI8õŒÝ¶yÞ3öˆ)Á ûÔûƒ€09¶ ¥N›Ù~avhý¶?ùðµüŸÿŠ£í±ÿÏ…¯äÿüU`ɪM÷ŒÖÉö;GÛ,¢S¼ Šå‚mÁ7÷³ÁÀ'ºMMÑe¸X¬a,²Ìdä†!1Èòñ•ÉKú¸jn}¶?ùðµüŸÿŠ£í±ÿÏ…¯äÿüUsÿÛh©g¾9+"†Ï”ÁÖ6þ,;é€O %¾¶“êóX˜P±O»"Fùà u\ä‡iõ\´o`Ôè>ÛüøZþOÿÅQöØÿçÂ×òþ*³,n~Û§Û]lÙçIJmÎvîã?cCâG—L7Â; €E•[ì˜Ë²¨ó>O—$õéMÆ’ßõ N³í±ÿÏ…¯äÿüUmþ|-'ÿ⫟·Ö’K;Ë™'KXÌŒö“yÈÕ …ù†9²¼óDºÚAkk<°0ܵ´›[""»Ã6{¨(NxãžØ¥ËGpÔèc¹²’åbH^'T*™ÃÏ©àŒÏÚ©VtÞ%Kk[ûdŠ,-Õ¼^}ÄþTd”ÍƒÐÆWýìŽÜÙ²¹û]¢OºÝž`—ÌN 6*tgåöåúƒ,QE¸‚Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( ¯¯üŠ> ÿ®Qÿ3T*úÿÈ£âúåó5Ëþ¾_š*;ÖØ×?ý•+’‡ý|ïç]oÖØ×?ý•+FØêØÎÒ+<:rÂYv¨Kâ+%¶ÍBk­ùó"Ž=¸é´¹Î}÷þ•ZÚÖöÄɶx¦·ó%”B°!ÜÌÛCÇSÜ~]kH¯?)zä 6ŸoÌWG´§ßó™“4?ÚòÛÇw¦Ë0Èe"àDé'ÊÊÏ÷³ÓøjGÓîb¼3XÏmc‡Ë{rà,F0뽌{V–ÓíùŠ6ŸoÌRç§Õ†¦Lºs,ò4ò‹©$2¬Ø"°?»&0Û[h9íæ¤›Nž{È¥’â&Ž)7Æ|ŒLœä¨|àŒ—•àóÍim>ߘ£iöüÅÔ¿«†¦|šg™öŸßcκŠçîôÙåü½{ù}}ý¨‚ÒâÉU"›}¤ ˆ­Ö0$ .N¸’yΆÓíùŠ6ŸoÌQÏJ÷¿æ™r}¦ýâ"Ò{9`69'º´©#äðÇÓ§^Æ1 Ã5ع¿ò.œï.Ù¹„j ‚N0±Žç©éÒ¶6ŸoÌQ´û~b—5'»¸jRžòx¦dM6êe$¢ÿßNéL]3n‘iaçÇ¿‘óíûÞ[)éž3·ðÍhm>ߘ£iöüÅW´¦÷affͤ‰™ã32ÚÉ0â\©Üð° ¯Ìøç!¹;¸…ô^M¦W6ÌûäŠFg.Loå·r¬£ÛgkciöüÅO·æ)9Q{†¦ЦŠhn ¼A<{YšHKÞïlÜf'ñŠÚ³/”'tysó4hP} 8üéÛO·æ)PìpÇõ¨“‡#Œ7kÌ5¸Ú(¢º„Cm¦8ð¼º|s¨{x­öÊÑ䱑•Èë·×½@f½µD°5ë±<Ú¢ÆqÔ<Ÿ^‡ÿ¯­k"šm¢e ¼ôR<ûqR}‚/úÙþoÿÄ×2å„¥}?á÷0l´øMÜÚŒ¶Š—SI½L¨†H€@˜Ü ë´žñT0éWk¦.5ìl±,$%¹Vd¼õPGc9+¤û_ô³üßÿ‰£ìÐFÏóþ&«š—pÔÁ](ÛÌòÙÜË<{XÊÍ6â+’䜜1ç@5Ñݬõdš%{ØÙÁÄ‚ íÜrÇw'<á}+¢û_ô³üßÿ‰£ìÐFÏóþ&Žj_ÕÃSãLó¯šñfÙ0HÄGnB2ùœžyHAqЃ‚e¼´|Èe¾‘É$ÛªF©ÓpSÎz Úû_ô³üßÿ‰£ìÐFÏóþ&iO£ 3›]>âèÝ_ɵ½}Ó[Áýlÿ7ÿâhæ¥ßó L8ô›tûr¸ßÞU—‘„9%sžìò6ÚÇ@*tD$NÌÒGçUÚ|ÕwÈ:Ž]óŒ`cŽ+¢û_ô³üßÿ‰£ìÐFÏóþ&ŽjA©ÏÛ¼úm¬)aur¶ñ$bhÌJ pΩLÛ¤ZXyßñïä|û~÷–ÊzgŒíü3[Ÿ`‹þ‚6›ÿñ4}‚/úÙþoÿÄÑÏO¸Y˜3i"fxÌ̶²L'x—*wü,+ó~9ÈnNî!}“i•ͳ>ù"‘™Ë“ÆÇymÜ«(öÙÇZé>Áýlÿ7ÿâhû_ô³üßÿ‰¡Ê‹Ü50àÐ&N’â ÄYâšf’ÁßmÎöÀaÆbpü­À&XTNèòÿF…ü 8üëFS­”–É2NÒº¹hóµBçÔ “ŸÓߊTèÅ.f¶oô@Š(­„QEQEQEQEQEQEQEQEQEQEQEQEQEQEQEQEQE}äQñýrùš¡W×þE×(ÿ™®\oð%òüÑQÜè|{þ¶Ãþ¹ÿì©\}-çÄÙ¯e 6‹dê£$Ë©ú ­ÿ ÐMÿ¾+ކ1R¦ ÖÅ8ÝܱEWÿ…€?è¦ÿßÂÀôÓïŠ×ûF?Ê.BÅ_þÿ ›ÿ|Qÿ ÐMÿ¾(þÑò‡!bНÿ ÐMÿ¾(ÿ…€?è¦ÿßhÇùC±EWÿ…€?è¦ÿßÂÀôÓïŠ?´cü¡ÈX¢«ÿÂÀôÓïŠ?á`úi¿÷ÅÚ1þPä,QUÿá`úi¿÷Åð°ý4ßûâíÿ(r(ªÿð°ý4ßûâøXþ€oýñGöŒ”9 UøXþ€oýñGü,ÿ@ 7þø£ûF?Ê…Š*¿ü,ÿ@ 7þø£þÿ ›ÿ|Qý£åBÅ_þÿ ›ÿ|Qÿ ÐMÿ¾(þÑò‡!bНÿ ÐMÿ¾(ÿ…€?è¦ÿßhÇùC±EWÿ…€?è¦ÿßÂÀôÓïŠ?´cü¡ÈX¢«ÿÂÀôÓïŠ?á`úi¿÷ÅÚ1þPä,QUÿá`úi¿÷Åð°ý4ßûâíÿ(r(ªÿð°ý4ßûâøXþ€oýñGöŒ”9 UøXþ€oýñGü,ÿ@ 7þø£ûF?Ê…Š*¿ü,ÿ@ 7þø£þÿ ›ÿ|Qý£åBÅ_þÿ ›ÿ|Qÿ ÐMÿ¾(þÑò‡!bНÿ ÐMÿ¾(ÿ…€?è¦ÿßhÇùC±EWÿ…€?è¦ÿßÂÀôÓïŠ?´cü¡ÈX¢«ÿÂÀôÓïŠ?á`úi¿÷ÅÚ1þPä,QUÿá`úi¿÷Åð°ý4ßûâíÿ(r(ªÿð°ý4ßûâøXþ€oýñGöŒ”9 UøXþ€oýñGü,ÿ@ 7þø£ûF?Ê…Š*¿ü,ÿ@ 7þø£þÿ ›ÿ|Qý£åBÅ_þÿ ›ÿ|Qÿ ÐMÿ¾(þÑò‡!bНÿ ÐMÿ¾(ÿ…€?è¦ÿßhÇùC±EWÿ…€?è¦ÿßÂÀôÓïŠ?´cü¡ÈX¢«ÿÂÀôÓïŠ?á`úi¿÷ÅÚ1þPä,QUÿá`úi¿÷Åð°ý4ßûâíÿ(r(ªÿð°ý4ßûâøXþ€oýñGöŒ”9 UøXþ€oýñGü,ÿ@ 7þø£ûF?Ê…Š*¿ü,ÿ@ 7þø£þÿ ›ÿ|Qý£åBÅ_þÿ ›ÿ|Qÿ ÐMÿ¾(þÑò‡!bНÿ ÐMÿ¾(ÿ…€?è¦ÿßhÇùC±EWÿ…€?è¦ÿßÂÀôÓïŠ?´cü¡ÈX«ëÿ"ˆ?ë”ÌÖGü,ÿ@ 7þø¨o¼t÷šeÕŠé6–ép›Y¡ùOµe_ªÓpHj6w?ÿÙpyFltk-1.3.0/fltk/docs/pyFltk.html0000755000175100017510000001237611651413735015451 0ustar heldheld pyFltk - Python module for the FLTK GUI toolkit.

    pyFLTK - Python Module for the FLTK GUI Toolkit



    NAME

    pyFltk - Python module for the FLTK GUI toolkit.


    DESCRIPTION

    FLTK

    FLTK is a toolkit for creating GUI applications for UNIX/X11, MS Windows and Mac. This module allows you to write programs with this toolkit in Python without the fuss of C++. FLTK was created by Bill Spitzak and can be found on the web at http://www.fltk.org.


    What's in this document?

    This document will not cover all the details on using the FLTK toolkit. For complete instructions on the FLTK API consult the manual that comes with the source code or see the latest manual on the FLTK website. This document will cover the differences in using pyFLTK and provide some examples.


    Using pyFltk

    The Python syntax for FLTK is very similar to using it in C++. To declare a new window, simply use:

            window = Fl_Window( width, height, label)
    

    As FLTK takes posession of all the widgets that are created, the Python garbage collector will attempt to delete widgets that have already been deleted by FLTK, or vice-a-versa. To avoid this, thisown is internally set to 0 for every created widget. If it is necessary to explicitly delete a window, then thisown has to be set to 1, prior to deleting.

    All widgets are declared in a similar manner. After a new window or group is declared all widgets declared after it will be inserted into it until the end() member function is called. This is the same as using the C++ API, so consult the FLTK documentation for further info.


    Using callbacks

    Callbacks do the work of your program. To get a widget to respond to events sent to it you must assign a callback function to it. This is done using the callback(sub-name, data) function:

            
            def button_cb(ptr, data):
    	    btn = castWidget2Button(ptr)
                # do something
    
    	.
            .
            .
            button = Fl_Button(10, 10, 40, 20, "Button")
            button.callback(button_cb, "I am a button")
            .
            .
            .
    
    

    Note the cast in the callback function. This corresponds and indeed wraps a C++ dynamic cast and allows to access the actual type of the widget. In case that the proper type cast is not avaliable or that such a construct is deemed unpythonic, global identifiers should be used instead.


    Interactive usage

    (Courtesy of Michiel de Hoon)
    Interactive behavior is particularly useful for rapid development of GUIs, for beginning users of pyFltk, as well as for scientific visualization.
    As an example, the following will work:

            > python
            >>> from fltk import *
            >>> window = Fl_Window(300,300)
            >>> window.end()
            >>> window.show()
            # Window pops up here
            >>> window.label("My new title")
            # Window label changes immediately
            >>> window.color(FL_RED)
            >>> window.redraw()
            # Window color changes to red immediately
    
    ... and so on, all without calling Fl.run().


    EXAMPLES

    Here's some quick example scripts to get you going, starting with the ubiquitous Hello World:

            from fltk import *
            import sys
    

            def btn_cb(ptr):
                sys.exit(0)
    
            window = Fl_Window(200, 90, "hello.py")
            button = Fl_Button(9, 20, 180, 50, "Hello World")
            button.callback("btn_cb")
            window.end()
            window.show()
    

            Fl.run() #starts the event loop
    


    ACKNOWLEDGEMENTS

            Bill Spitzak <spitzak@cinenet.net> FLTK Author
            Micheal Sweet <mike@easysw.com> FLTK Maintainer
    	Kevin Dahlhausen <morse@harborcom.net> Originator of pyFltk
    	Matt Kennedy <mkennedy@odysseys.net> Originator of Perl FLTK module
    


    AUTHORS

            Andreas Held <a.held@computer.org> Python FLTK module
    


    SEE ALSO

            The FLTK Manual. Available at http://www.fltk.org
            pyFltk homepage at http://pyfltk.sourceforge.com
    
    pyFltk-1.3.0/fltk/docs/CH1_Intro.html0000644000175100017510000002135711651413735015722 0ustar heldheld

    1 - Introduction to FLTK/pyFLTK

    The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a cross-platform C++ GUI toolkit for UNIX®/Linux® (X11), Microsoft® Windows®, and MacOS® X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL® and its built-in GLUT emulation. It was originally developed by Mr. Bill Spitzak and is currently maintained by a small group of developers across the world with a central repository in the US.

    History of FLTK

    It has always been Bill's belief that the GUI API of all modern systems is much too high level. Toolkits (even FLTK) are not what should be provided and documented as part of an operating system. The system only has to provide arbitrary shaped but featureless windows, a powerful set of graphics drawing calls, and a simple unalterable method of delivering events to the owners of the windows. NeXT (if you ignored NextStep) provided this, but they chose to hide it and tried to push their own baroque toolkit instead.

    Many of the ideas in FLTK were developed on a NeXT (but not using NextStep) in 1987 in a C toolkit Bill called "views". Here he came up with passing events downward in the tree and having the handle routine return a value indicating whether it used the event, and the table-driven menus. In general he was trying to prove that complex UI ideas could be entirely implemented in a user space toolkit, with no knowledge or support by the system.

    After going to film school for a few years, Bill worked at Sun Microsystems on the (doomed) NeWS project. Here he found an even better and cleaner windowing system, and he reimplemented "views" atop that. NeWS did have an unnecessarily complex method of delivering events which hurt it. But the designers did admit that perhaps the user could write just as good of a button as they could, and officially exposed the lower level interface.

    With the death of NeWS Bill realized that he would have to live with X. The biggest problem with X is the "window manager", which means that the toolkit can no longer control the window borders or drag the window around.

    At Digital Domain Bill discovered another toolkit, "Forms". Forms was similar to his work, but provided many more widgets, since it was used in many real applications, rather then as theoretical work. He decided to use Forms, except he integrated his table-driven menus into it. Several very large programs were created using this version of Forms.

    The need to switch to OpenGL and GLX, portability, and a desire to use C++ subclassing required a rewrite of Forms. This produced the first version of FLTK. The conversion to C++ required so many changes it made it impossible to recompile any Forms objects. Since it was incompatible anyway, Bill decided to incorporate his older ideas as much as possible by simplifying the lower level interface and the event passing mechanisim.

    Bill received permission to release it for free on the Internet, with the GNU general public license. Response from Internet users indicated that the Linux market dwarfed the SGI and high-speed GL market, so he rewrote it to use X for all drawing, greatly speeding it up on these machines. That is the version you have now.

    Digital Domain has since withdrawn support for FLTK. While Bill is no longer able to actively develop it, he still contributes to FLTK in his free time and is a part of the FLTK development team.

    History of pyFLTK

    The Python wrappers for FLTK were started in 1999 by Kevin Dahlhausen. In the beginning, development went on in parallel with the Perl wrappers, maintained by Matt Kennedy. After the year 2000, neither Kevin nor Matt had the necessary resources to continue with the wrappers and both projects went into hibernation for a while. Finally, in 2003, the Python part was picked up by Andreas Held again, who thought it a pity that the combination of such great tools, namely Python and FLTK, was not in a better shape. Finally, in 2006 the first official release of pyFltk was done on Sourceforge. Meanwhile, while not a big player in the Python GUI market, pyFltk was able to recruit a small but dedicated group of followers.

    Features

    FLTK was designed to be statically linked. This was done by splitting it into many small objects and designing it so that functions that are not used do not have pointers to them in the parts that are used, and thus do not get linked in. This allows you to make an easy-to-install program or to modify FLTK to the exact requirements of your application without worrying about bloat. FLTK works fine as a shared library, though, and is now included with several Linux distributions.

    Here are some of the core features unique to FLTK:

    • sizeof(Fl_Widget) == 64 to 92.
    • The "core" (the "hello" program compiled & linked with a static FLTK library using gcc on a 486 and then stripped) is 114K.
    • The FLUID program (which includes every widget) is 538k.
    • Written directly atop core libraries (Xlib, WIN32 or Carbon) for maximum speed, and carefully optimized for code size and performance.
    • Precise low-level compatability between the X11, WIN32 and MacOS versions - only about 10% of the code is different.
    • Interactive user interface builder program. Output is human-readable and editable C++ source code.
    • Support for overlay hardware, with emulation if none is available.
    • Very small & fast portable 2-D drawing library to hide Xlib, WIN32, or QuickDraw.
    • OpenGL/Mesa drawing area widget.
    • Support for OpenGL overlay hardware on both X11 and WIN32, with emulation if none is available.
    • Text widgets with Emacs key bindings, X cut & paste, and foreign letter compose!
    • Compatibility header file for the GLUT library.
    • Compatibility header file for the XForms library.
    In addition, some of the features of pyFLTK:
    • Native Python look-and-feel.
    • flconvert: a tool to convert FLUID scripts to Python.

    Licensing

    FLTK comes with complete free source code. FLTK is available under the terms of the GNU Library General Public License with exceptions that allow for static linking. Contrary to popular belief, it can be used in commercial software - even Bill Gates could use it!

    The same license applies for pyFLTK; the Windows binary of pyFLTK also include the complete FLTK libraries.

    What Does "FLTK" Mean?

    FLTK was originally designed to be compatible with the Forms Library written for SGI machines. In that library all the functions and structures started with "fl_". This naming was extended to all new methods and widgets in the C++ library, and this prefix was taken as the name of the library. It is almost impossible to search for "FL" on the Internet, due to the fact that it is also the abbreviation for Florida. After much debating and searching for a new name for the toolkit, which was already in use by several people, Bill came up with "FLTK", including a bogus excuse that it stands for "The Fast Light Toolkit".

    Internet Resources

    pyFLTK is available on Sourceforge:

    WWW
    http://pyfltk.sourceforge.net/
    EMail
    pyfltk-user@lists.sourceforge.net [see instructions below]

    To send a message to the pyFLTK mailing list ("pyfltk-user@lists.sourceforge.net") you must first join the list. Non-member submissions are blocked to avoid problems with unsolicited email.

    To join the pyFLTK mailing list, go to https://lists.sourceforge.net/lists/listinfo/pyfltk-user and fill in the required information.

    Reporting Bugs

    To report a bug in pyFLTK, send an email to pyfltk-user@lists.sourceforge.net, or fill in a bug report at http://sourceforge.net/projects/pyfltk/. Please include the pyFLTK version, and operating system & version, that you are using when describing the bug or problem. We will be unable to provide any kind of help without that basic information.

    For general support and questions, please use the pyFLTK mailing list at pyfltk-user@lists.sourceforge.net.

    pyFltk-1.3.0/fltk/docs/CH8_Opengl.html0000644000175100017510000003110211651413735016047 0ustar heldheld

    8 - Using OpenGL

    This chapter discusses using pyFltk for your OpenGL applications.

    Using OpenGL in pyFltk

    The easiest way to make an OpenGL display is to subclass Fl_Gl_Window. Your subclass must implement a draw() method which uses OpenGL calls to draw the display. Your main program should call redraw() when the display needs to change, and (somewhat later) pyFltk will call draw().

    With a bit of care you can also use OpenGL to draw into normal pyFltk windows. This allows you to use Gouraud shading for drawing your widgets. To do this you use the gl_start() and gl_finish() functions around your OpenGL code.

    You must make sure that pyFltk has been compiled with OpenGL support!

    Making a Subclass of Fl_Gl_Window

    To make a subclass of Fl_Gl_Window, you must provide:

    • A class definition.
    • A draw() method.
    • A handle() method if you need to receive input from the user.

    If your subclass provides static controls in the window, they must be redrawn whenever the FL_DAMAGE_ALL bit is set in the value returned by damage(). For double-buffered windows you will need to surround the drawing code with the following code to make sure that both buffers are redrawn:

      glDrawBuffer(GL_FRONT_AND_BACK)
      ... draw stuff here ...
      glDrawBuffer(GL_BACK)
      
    Note:

    If you are using the Mesa graphics library, the call to glDrawBuffer() is not required and will slow down drawing considerably. The preprocessor instructions shown above will optimize your code based upon the graphics library used.

    Defining the Subclass

    To define the subclass you just subclass the Fl_Gl_Window class:

      class MyWindow(Fl_Gl_Window):
        def __init__(self, xpos, ypos, width, height, label):
          Fl_Gl_Window.__init__(self, xpos, ypos, width, height, label)
      
      

    The draw() and handle() methods are described below. Like any widget, you can include additional private and public data in your class (such as scene graph information, etc.)

    The draw() Method

    The draw() method is where you actually do your OpenGL drawing:

      def draw(self):
        if not self.valid(): 
          ... set up projection, viewport, etc ...
          ... window size is in w() and h().
          ... valid() is turned on by pyFltk after draw() returns
        
        ... draw ...
      
      

    The handle() Method

    The handle() method handles mouse and keyboard events for the window:

      def handle(self, event):
        if event == FL_PUSH:
          ... mouse down event ...
          ... position in Fl.event_x() and Fl.event_y()
          return 1
        elif event == FL_DRAG:
          ... mouse moved while down event ...
          return 1
        elif event == FL_RELEASE:   
          ... mouse up event ...
          return 1
        elif event == FL_FOCUS or event == FL_UNFOCUS:
          ... Return 1 if you want keyboard events, 0 otherwise
          return 1
        elif event == FL_KEYBOARD:
          ... keypress, key is in Fl.event_key(), ascii in Fl.event_text()
          ... Return 1 if you understand/use the keyboard event, 0 otherwise...
          return 1
        elif event == FL_SHORTCUT:
          ... shortcut, key is in Fl.event_key(), ascii in Fl.event_text()
          ... Return 1 if you understand/use the shortcut event, 0 otherwise...
          return 1
        else:
          // pass other events to the base class...
          return Fl_Gl_Window.handle(self, event)
        
      
      

    When handle() is called, the OpenGL context is not set up! If your display changes, you should call redraw() and let draw() do the work. Don't call any OpenGL drawing functions from inside handle()!

    You can call some OpenGL stuff like hit detection and texture loading functions by doing:

        if event == FL_PUSH:
          self.make_current() # make OpenGL context current
          if not self.valid():
            ... set up projection exactly the same as draw ...
            self.valid(1) # stop it from doing this next time
          
          ... ok to call NON-DRAWING OpenGL code here, such as hit
          detection, loading textures, etc...
      

    Your main program can now create one of your windows by calling MyWindow(...).

    You must put glwindow.show() in your main code after calling show() on the window containing the OpenGL window.

    Using OpenGL in Normal pyFltk Windows

    You can put OpenGL code into an Fl_Widget.draw() method or into the code for a boxtype or other places with some care.

    Most importantly, before you show any windows, including those that don't have OpenGL drawing, you must initialize pyFltk so that it knows it is going to use OpenGL. You may use any of the symbols described for Fl_Gl_Window.mode() to describe how you intend to use OpenGL:

      Fl.gl_visual(FL_RGB)
      

    You can then put OpenGL drawing code anywhere you can draw normally by surrounding it with:

      gl_start()
      ... put your OpenGL code here ...
      gl_finish()
      

    gl_start() and gl_finish() set up an OpenGL context with an orthographic projection so that 0,0 is the lower-left corner of the window and each pixel is one unit. The current clipping is reproduced with OpenGL glScissor() commands. These functions also synchronize the OpenGL graphics stream with the drawing done by other X, WIN32, or pyFltk functions.

    The same context is reused each time. If your code changes the projection transformation or anything else you should use glPushMatrix() and glPopMatrix() functions to put the state back before calling gl_finish().

    You may want to use Fl_Window.current()->h() to get the drawable height so that you can flip the Y coordinates.

    Unfortunately, there are a bunch of limitations you must adhere to for maximum portability:

    • You must choose a default visual with Fl.gl_visual().
    • You cannot pass FL_DOUBLE to Fl.gl_visual().
    • You cannot use Fl_Double_Window or Fl_Overlay_Window.

    Do not call gl_start() or gl_finish() when drawing into an Fl_Gl_Window!

    OpenGL Drawing Functions

    pyFltk provides some useful OpenGL drawing functions, which can be freely mixed with any OpenGL calls.

    gl_color(color)

    Sets the current OpenGL color to a pyFltk color. For color-index modes it will use fl_xpixel(c), which is only right if this window uses the default colormap!

    gl_rect(xpos, ypos, width, height)
    gl_rectf(xpos, ypos, width, height)

    Outlines or fills a rectangle with the current color. If Fl_Gl_Window.ortho() has been called, then the rectangle will exactly fill the pixel rectangle passed.

    gl_font(fontid, size)

    Sets the current OpenGL font to the same font you get by calling fl_font().

    height = gl_height()
    descent = gl_descent()
    width = gl_width(text)
    width = t gl_width(text, n)
    width = gl_width(character)

    Returns information about the current OpenGL font.

    gl_draw(text)
    gl_draw(text, n)

    Draws a nul-terminated string or an array of n characters in the current OpenGL font at the current raster position.

    gl_draw(text, xpos, ypos)
    gl_draw(text, n, xpos, ypos)
    gl_draw(text, float_xpos, float_ypos)
    gl_draw(text, n, float_xpos, float_ypos)

    Draws a nul-terminated string or an array of n characters in the current OpenGL font at the given position.

    gl_draw(text, xpos, ypos, width, height, alignment)

    Draws a string formatted into a box, with newlines and tabs expanded, other control characters changed to ^X, and aligned with the edges or center. Exactly the same output as fl_draw().

    Speeding up OpenGL

    Performance of Fl_Gl_Window may be improved on some types of OpenGL implementations, in particular MESA and other software emulators, by setting the GL_SWAP_TYPE environment variable. This variable declares what is in the backbuffer after you do a swapbuffers.

    • setenv GL_SWAP_TYPE COPY

      This indicates that the back buffer is copied to the front buffer, and still contains it's old data. This is true of many hardware implementations. Setting this will speed up emulation of overlays, and widgets that can do partial update can take advantage of this as damage() will not be cleared to -1.

    • setenv GL_SWAP_TYPE NODAMAGE

      This indicates that nothing changes the back buffer except drawing into it. This is true of MESA and Win32 software emulation and perhaps some hardware emulation on systems with lots of memory.

    • All other values for GL_SWAP_TYPE, and not setting the variable, cause pyFltk to assume that the back buffer must be completely redrawn after a swap.

    This is easily tested by running the gl_overlay demo program and seeing if the display is correct when you drag another window over it or if you drag the window off the screen and back on. You have to exit and run the program again for it to see any changes to the environment variable.

    Using OpenGL Optimizer with pyFltk

    OpenGL Optimizer is a scene graph toolkit for OpenGL available from Silicon Graphics for IRIX and Microsoft Windows. It allows you to view large scenes without writing a lot of OpenGL code.

    OptimizerWindow Class Definition

    To use OpenGL Optimizer with pyFltk you'll need to create a subclass of Fl_Gl_Widget that includes several state variables:

      class OptimizerWindow(Fl_Gl_Window): 
        def OptimizerWindow.__init__(self, X, Y, W, H, L):
          Fl_Gl_Window.__init__(self, X, Y, W, H, L)
          self.context_ = None
          self.draw_action_ = None
          self.scene_ = None
          self.camera_ = None	
      
        def scene(self, csGroup):
          self.scene_ = csGroup
          self.redraw()
      
        def camera(self, csCamera):
          self-camera_ = csCamera
          if self.context_ != None:
            self.draw_action_.setCamera(self.camera_)
            self.camera_.draw(self.draw_action_)
            self.redraw() 
      							      

    The camera() Method

    The camera() method sets the camera (projection and viewpoint) to use when drawing the scene. The scene is redrawn after this call.

    The draw() Method

    The draw() method performs the needed initialization and does the actual drawing:

      def draw(self):
        if self.context_ != None:
          # This is the first time we've been asked to draw; create the
          # Optimizer context for the scene...
      
          if sys.platform == 'win32':
            self.context_ = csContext(fl_getHDC())
            self.context_.ref()
            self.context_.makeCurrent(fl_getHDC())
          else:
            self.context_ = csContext(fl_display, fl_visual)
            self.context_.ref()
            self.context_.makeCurrent(fl_display, fl_window)
      
          ... perform other context setup as desired ...   
      
          # Then create the draw action to handle drawing things...
      
          self.draw_action_ = csDrawAction()
          if self.camera_ != None:
            self.draw_action_.setCamera(self.camera_)
            self.camera_.draw(self.draw_action_)
          
        else:
          if sys.platform == 'win32':
            self.context_.makeCurrent(fl_getHDC())
          else:
            self.context_.makeCurrent(fl_display, fl_window)
      
        if not valid():
          # Update the viewport for this context...
          self.context_.setViewport(0, 0, self.w(), self.h())
        }
      
        # Clear the window...
        self.context_.clear(csContext.COLOR_CLEAR | csContext.DEPTH_CLEAR,
                        0.0,		# Red
      		  0.0,		# Green
      		  0.0,		# Blue
      		  1.0)	        # Alpha
      
        # Then draw the scene (if any)...
        if self.scene_ != None
          self.draw_action_.apply(self.scene_)
      

    The scene() Method

    The scene() method sets the scene to be drawn. The scene is a collection of 3D objects in a csGroup. The scene is redrawn after this call. pyFltk-1.3.0/fltk/docs/editor-replace.jpg0000644000175100017510000002342711651413735016707 0ustar heldheldÿØÿàJFIF,,ÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÀ‚2"ÿÄ ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?è|cãGñ]¦‰¢Yérù¶ rMÚ*ã ìä»2¨PžO­aÿÂÀñŸüóðwþ -øýhø†î~5éLâ“E‘£)‚pA«ßð†øsþ€ÖŸ÷Åz¥…„µ‹m®†V”›³9Gâ¿‹4¹ã†æË@-,BTh&FR̹ ’Õc9⫌þ#?òå£ÿà)ÿâ©uk+m?ã…­m!H`F³Û ›™ ýI®ƒÅ‘ÚëQ}’k鯭¢ñD«¨^LÁ$Òagˆ†â؉°X? ”Œð.*Œ¬Ô4wüÌäæ›ÔÂüDåËHÿÀSÿÅU«oо*¼ó~Í¥iÓy1™eò¬™¶ êÇ€;“ÅlÅàß Íã;--ü5ª[ÃöûˆZY!–iâX¤*´¬Yƒ !—haŸ–“JÑí4íîèiÿÙšç†u#wa—XYcm²ë¸g©ÁÛÇz¡Ò?×ôƒ÷ÌAñwÄþ\ôŸü?üU=~-kçþ\ô¯ü?üUj·4XôI>ÜžIµ“Oݩ۫ÇÉ3*ÈÉ$’:Èlî €8ÁÅC†4÷ñŽ£c}áç²´µ†ñìr׿2€LÈBüØŒ®}qE°ïhŠõ;•Å}xÿËž•ÿ€ÇÿŠ§Ššéÿ—M/ÿ¿úõÏøªÒÎÏU‰l´ÍCNF·Fx/a1ü‚ȬÌBg–<ägŠÇZÕP¤ÕùHu&´¹ÞŠ:áÿ—M3ÿ¿úôññ;[?òë¦à7ÿ^¸e©VŸÕé({Y÷;ñ+Y?òë¦ÿà7ÿ^¤_ˆúÁÿ—]7ÿÿúõÄ­L´¾¯KùEígÜìÇÄM\ÿ˶ÿ€ÿýzxøƒ«ùvÓÿðÿ¯\rÔËGÕé({Y÷:ñãíTÿ˾Ÿÿ€ÿýzxñÞ¨åÞÃÿÇø×$µ2Òú½.ÁígÜêÇŽ53ÿ.ö?ø?ÆžçNÁígÜß_ÞŸùeiÿ~ÁígÜÒ]Jsüß•ÿ µ³Ë”½¢)b£t#'ôSê+%jÜ÷pXhR^]?—one–WÁ;UUI8žjƼ#]#ZS”¥fËÛäÿžö_÷àÿñR Q'[·ûM”qZÜw’Hv©`ªÇ/OœqÎ~µƒ¡xãþ%¾{=#QûMÂFedò$L( –P:°üéÚ_“ö]Kí_‘ý¿ûÏ3vÿ£ç9ã®5?$tòù›Ë©Û;„MOJfc€‚Iÿ¾i¶Z™Ô./bí±g'—$ [ N>\ÿ;­Réosh¶ãNóMÜ|˜ãþµz3Òªø[þ>Ùó]{JÔn5}Vm#MÔS@2í‹8ŸÉ}I‡ß6èW=0‚¾oA“ó¦!ñnž-bòmÆ”|¨ü£Åóa® c¥(K™Ù¤9++ÜñÝE™õ;·v,Í3’IÉ'q¢’ÿþB7?õÕÿ™¢¤£Óü{àÍs]ñE®©£êÙ˜¬c‡Ÿ$R†Î „6:ú×7ÿ óÇ_ô47þ çýjÿ×4ÿÐECV±I+'o!{5¹ã žÝYa×uH÷Jfb’F r'fz*þ^æº *=§’/“ÌÆþÇÔ¿èhÖÿð%øŠm¾%¥•ͼ¥ê5̾l³†O1ŽŒìà| ð3Ç^MmÑGµk¢³]ÌøG.è`Õ¿ïòñ-Ž€lõ!}&¡wu(ŒÄ>ÐêØRA8ÂŽê+jŠ=«[$Íw>w¿ÿÏýuæh¢ÿþB7?õÕÿ™¢ŸG\ÿ­_úæŸú¨jkŸõ«ÿ\ÓÿA fPQE (¢ŠÈ›Å^·žH'×ô¸¦Šdó|¯°ùû|ÝÞgúÎs»8ù~ïwÂöð}·^X¯&¹K}[ !œ±Èµ… 1nJüÙ9PNXf€,^Xéú—m Õ§š->&êêR—’[*”’½™x ÏÔàd×Gÿ ãÃ_óËRÿÁÅßÿ®7Åñ÷¬Ø£ª8kgZ¼›Ãö÷Wz>±wr.<9¨j"æk“r²M„Å*Ê ýë±…C‘òà(¶6á\xkþyj_ø8»ÿã´¸ð×üòÔ¿ðqwÿÇk;YµA½’ÚßXÔ¬m%Ñïoe¹žî{³–ïŽPػܔ8`ö<%{}©JóUŠKM@\,i¦o1lBƬ¨~G,Ì.x“åŒU„Aÿ ãÃ_óËRÿÁÅßÿ£þdž¿ç–¥ÿƒ‹¿þ;]]XSþdž¿ç–¥ÿƒ‹¿þ;Gü+ Ï-Kÿüvºº(°§ü+ Ï-KÿüvøWÿžZ—þ.ÿøíutQ`9OøWÿžZ—þ.ÿøíð®<5ÿ<µ/ü]ÿñÚêè¢ÀrŸð®<5ÿ<µ/ü]ÿñÚ?á\xkþyj_ø8»ÿãµÕÑE€å?á\xkþyj_ø8»ÿã´¸ð×üòÔ¿ðqwÿÇk«¢‹Ê¸ð×üòÔ¿ðqwÿÇhÿ…qá¯ùå©àâïÿŽ×WE”ÿ…qá¯ùå©àâïÿŽÑÿ ãÃ_óËRÿÁÅßÿ®®Š,)ÿ ãÃ_óËRÿÁÅßÿ£þdž¿ç–¥ÿƒ‹¿þ;]]XSþdž¿ç–¥ÿƒ‹¿þ;Gü+ Ï-Kÿüvºº(°§ü+ Ï-KÿüvøWÿžZ—þ.ÿøíutQ`9A¢Xè1Ím`³¬Nc‘¼ë™'lüãïHÌqÀã8üÍGZšÇú÷ÿv?ç%eÖl¤|ïÿ!ŸúêÿÌÑEÿü„në«ÿ3EhIôuÏúÕÿ®iÿ Š†¦¹ÿZ¿õÍ?ôPÖeQ@Š( E P!HcHÔ³9TPf%˜ñÜ’Iõ$Ó>Çkçyßf‡Íó<íûwìÙ»?ÞÙòç®8éSQ@n4Û ¸'‚æÊÚhn<ÑɲÊÀ 9 *õþèô¢6ÂÜF ²¶ˆFÁÐ$J»X'–Àà„ùÝã¥Z¢€3mà†oÁöÈ£{Ñ® ›ÎPcmòÁò6x9¸=@>†ºÛ84>âêâÊ-6Ú{·ßs$*ˆÓ6Iˑ˱9>§Ö¹mCÄšn„ÑǨj°Ø™rÈ%›fìuÆzöªð°¼9ÿCEþñ¦˜¬u¶ZO…tÔ‘,4ýÕ$xÝÖb@̹ Àä«rcÈ­>š·p²Ú Ý@˹•I* ê@,ÄÛ­p_ð°¼9ÿCEþñ£þ‡?èh±ÿÀ±þ4ù…cÐ~ßgÿ?pßÁGÛìÿçîûø+Ï¿áaxsþ†‹ü ãGü,/ÐÑcÿcühæ ƒöû?ùûƒþþ >ßgÿ?pßÁ^}ÿ ßô4XÿàXÿ?áaxsþ†‹ü ãG0Xô·ÙÿÏÜ÷ðQöû?ùûƒþþ óïøX^ÿ¡¢ÇÿÇøÑÿ ßô4XÿàXÿ9‚Ç ý¾Ïþ~àÿ¿‚·ÙÿÏÜ÷ðWŸÂÂðçý ?ø?ÆøX^ÿ¡¢ÇÿÇøÑÌ=íöó÷ýü}¾Ïþ~àÿ¿‚¼ûþ‡?èh±ÿÀ±þ4ÂÂðçý ?ø?ÆŽ`±è?o³ÿŸ¸?ïà£íöó÷ýüçßð°¼9ÿCEþñ£þ‡?èh±ÿÀ±þ4sAû}ŸüýÁÿo³ÿŸ¸?ïà¯>ÿ……áÏú,ð,ð°¼9ÿCEþñ£˜,zÛìÿçîûø(û}ŸüýÁÿy÷ü,/ÐÑcÿcühÿ……áÏú,ð,ÁcÐ~ßgÿ?pßÁGÛìÿçîûø+Ï¿áaxsþ†‹ü ãGü,/ÐÑcÿcühæ ƒöû?ùûƒþþ >ßgÿ?pßÁ^}ÿ ßô4XÿàXÿ?áaxsþ†‹ü ãG0Xô·ÙÿÏÜ÷ðQöû?ùûƒþþ óïøX^ÿ¡¢ÇÿÇøÑÿ ßô4XÿàXÿ9‚ÇW©ÍÒ;E"H F2¬ÏÏYÕ_OÖ­5ËWžÃPŽöÞ7Ï»Ô63ŒúãùûÕŠ–3ç{ÿùÜÿ×WþfŠ/ÿä#sÿ]_ùš+BO£®Ö¯ýsOýT55ÏúÕÿ®iÿ Š†³(+ ?Ïpf6žÕ.aŽy`óQí•Y£vFÀiÆå=@­Úâítv=:ââÏUÔmÏö܆Åb·]ñ›‰OîÚHÉ A L¨mÊÐÉâ=;ËVÎÚÞò1-»ÜÌ"ó€r`ôaôÍM{¬išn~ߨÙÚãn|ùÕ1»vÞ§¾ÆÇ®Óèk•šÕtÝR9­nu­;Mm.ÖÞØXØ؈ÚSµÕ¢‘ªº}à¤äõ àÓšÏÃþ"XäÓïŠÛèv6ÑÈ-¾Ñ, <ÿ#ùAŽNÑ’£fS¯ÝÉ`:¦Õmc¾»µ•ü¯²[Gs4²±ª9g9ãSžÇà[ke匷¶ºœöçÍž)Õ£L ÌÉÏjä´ë GJ°Û.›æÏo¢éqx¼ÔI#yw° þ±£È}ªrp jm}su©Ýí{¸û.TšöÑb‘Ò§’@ˆ¨„í¥w“ÐË’ÀvŸÛgögöŸöŸöüýyëå}í¿8ëÇ^¼Síõ+ ¸ žÚöÚhn¤2G*²ÊÀBy +tþéô®sYÿO†ÃQ²ƒQ±Š-DÍ=Ä6_é >Ï$[ÄLŒç–Dù“8ÆÐ´<>‘[Åq(“T¯®÷™¯­„nì"UÎÕEظoΫ’;îR@9ïëz‡'¸Õ´›³ßA£Kå˱_nëË5<0 ðHäW¶×üZÿ}ÿýŸÿK¬«ß*ã°žáESQEQEQEQEQEQEQEQEQEQEQE‰¬¯÷cþrV]jkëßýØÿœ•—P÷);ßÿÈFçþº¿ó4Qÿ!ŸúêÿÌÑVIôuÏúÕÿ®iÿ Š†¦¹ÿZ¿õÍ?ôI K)}ÎT*î$ ÷ãY”EEOåÛÏÃÿß¿þ½]·üü?ýûÿëÐ2 …m Kéo1q,i¾O*…ŠŒtà»~J»åÛÏÃÿß¿þ½]·üü?ýûÿëÐ" *.Ûþ~þýÿõèòí¿çáÿïßÿ^QSùvßóðÿ÷ïÿ¯G—mÿ?ÿ~ÿúôƒ}á›MwY «[%Î’Ú|–³CçùnÎf†EÆN•Ï>y®ßûV?ùäÿ÷ò?þ*±¼»oùøû÷ÿף˶ÿŸ‡ÿ¿ýziŠÆÏö¬óÉÿïäüUÚ±ÿÏ'ÿ¿‘ÿñUÊëZ„Mœ3®ùÚ[¨-‚ãn<ÉU3žznÎ;ãu­¢GÝܨR ž¹ÿ .ÂÆ×ö¬óÉÿïäüUÚ±ÿÏ'ÿ¿‘ÿñUåÛÏÃÿß¿þ½]·üü?ýûÿëÑv6µcÿžOÿ#ÿâ¨þÕþy?ýüÿЬo.Ûþ~þýÿõèòí¿çáÿïßÿ^‹°±³ý«üòûùÿGö¬óÉÿïäüUcyvßóðÿ÷ïÿ¯G—mÿ?ÿ~ÿúô]…ŸíXÿç“ÿßÈÿøª?µcÿžOÿ#ÿâ«˶ÿŸ‡ÿ¿ýz<»oùøû÷ÿ×¢ì,lÿjÇÿ<ŸþþGÿÅQý«üòûùÿXÞ]·üü?ýûÿëÑåÛÏÃÿß¿þ½acgûV?ùäÿ÷ò?þ*íXÿç“ÿßÈÿøªÆòí¿çáÿïßÿ^.Ûþ~þýÿõè» ?Ú±ÿÏ'ÿ¿‘ÿñTjÇÿ<ŸþþGÿÅV7—mÿ?ÿ~ÿúôyvßóðÿ÷ïÿ¯EØXÙþÕþy?ýüÿŠ£ûV?ùäÿ÷ò?þ*¹$Ô£—_½ÒãF"ÖÞŒ§ÆC Æ=¼¾¹ç=8çTÁ ß3T6g¨úÑv6?µcÿžOÿ#ÿâ¨þÕþy?ýüÿЬo.Ûþ~þýÿõèòí¿çáÿïßÿ^‹°±³ý«üòûùÿGö¬óÉÿïäüUcyvßóðÿ÷ïÿ¯G—mÿ?ÿ~ÿúô]…ŸíXÿç“ÿßÈÿøª?µcÿžOÿ#ÿâ«˶ÿŸ‡ÿ¿ýz<»oùøû÷ÿ×¢ì,XÔ'[†iÚŲ“Æüô'ÔU §q¨Åˆ-t¨Õ¤3ZËre?(]ãóæg޹ÿZ¿õÍ?ôKo÷'ÿ®GùŠKŸõ«ÿ\ÓÿA¶ÿrú䘬Ê25ëùt¿êz„ 5­¤³¢¸%K*Æ8Ȭû›wIX.o/të«v¹†Š'…Ï›"Æc+‚àãiÎ1Ær45ë uOêz| ‹5Õ¤°#9!C2Æxɬôð–™§êöú¦‘¥éÖ× ˆäQn¨ ‚Ê@Ê8 ÜŽ­ü,€ÂIÚ?ãÆóì_iû/Û¿wåy¾g•·nÿ3ýgɘÏ?wæ¦Eâ›ye8°¾[U»k'»tQÌ%1ÆíÌ í•Hù†HÃmϵð¯Ùuf—ûB›7²]ÿiL›®FéL¸ ³ï ì æq€ØþƒK²Ôõ -qf4ñ­Oqçoa*yWÏ&͘!²S·.}Ó·æ×µ×®d±ó³no'7wPˆí@ ïbÒ2¨8 Æì’Iáçļ6ße±¼º¹ŸÍÿE‹ËYÊp’î.êŸ+§ rNFG5Ÿ7‡¯þÃ Ž¡Úîæ–ÆæVHeógi#f;q@Äl*W-»9E4Í7úž‰„–‘éÓÜZý¶3f¶‡dó‰A\+•ÚFÌó›åäZ}x,éž›}}1'xâT¢G$!a+& *ürFÓ8ÎÜö6÷–¯æ[ÜF²Äø#r°È8<Žzæõ_ Ëwª.¡>“¢ë3=¤Vî·Àı²3±dÊKÃ:q£–Ï÷Z}ÓxytÛIa·”Ç %º˜Di¹ˆv0MÛHnr(®‰¯Kª_ÜC, ,¦k7þþ!#ÆYOñŒ"I¸q¶tŒÌðÞ»u¬y?hŽߤÙ^Ÿ,óÍæî“òƒúòj5ð®>Ÿu£½ÌSÙ2Ɖ=ôòEörBÉÖbÚ2 cæDϤðÞ…u£ù?h’Ù¤ÙY,“óÃæî<òãúð(|]ÿ Ûû ØÿéDuÓGÿsÿ¼ŸÖ¹ŸÈ6Ãþ¶?úQtÑÿÇœÿï'õ  ròþÞM.ÛO’Ú)¯nÌKˆZUUË'Ý ¼æ0:÷ªÇV½Ñïš-nêÎk±Oxg¶µx¼¥„Ç»*]ËdIž1½x³®h‘kriisµÅ­µÙžhn:ºù2 ùH ΧŸJÏÿ„>ÖÚÇYÓtØ,ììµKiž8@’`G`7§ÎÄAS RZ—ÄñÚAw&¡¦_Y5½¤·‚9|¦icŒ ûvHÃ#rðÄgpÆpq£â–¶Òõ)’ÂæÚæ ïmâ· ‚[j¶å²e\#|Ý22u=ìñÇö…¥ÿĦå3§òI”'–òãÚ£0Ù$r6ó¡©èzƳè»61Mý—uaE#•™¦ ó°+û° cåþñçåù€4õxi¯;I¦ßIil»î/PG¹Žƒ8 ÉØ­Ü ° HÚÒiÉg•äÉ ‹ ÷1"˜á‘•X+ ÛÏ„¥@nHÃcÅ¿×F£·Òî…Ä –·Å‹Ye1µ# FKÞ``ß0Èaƒ¯–§g¬ÞÉj,ÚÒúå.%–Wo2,Ge00ÙðÅÆ ýÓ· ÂIÚ?ãÆóì_iû/Û¿wåy¾g•·nÿ3ýgɘÏ?wæ£ÄZÅÖŒº{ÚÚ}«Î¹d–ÈȰË!òÀêÿ»à ã#9–¾û.¬ÒÿbèSföK¿í)“uÈÝ)—6}á¼Î0Ã[º„·wÚDñ²³»iä NJ˜%|È? Ð)¼t‚ÏM¾¾˜À“¼q*FÑ#’°•“•~9#iÈdÓu¥ÔõIc·d{#akyHg´½sÛ®äçÛ3UðÜ·z¢êé:.³3ÚEnë| K#;L¤¼1“§Ú9lñ§¦é2Øê’ܳZÂÖÕRÌj&”œ';W.N0Gn@+ÜÉBÓÿìuÿ£`­úÀ¸ÿ’…§ÿØ*ëÿFÁ[ô ùÞÿþB7?õÕÿ™¢‹ÿùÜÿ×WþfŠÐƒèëŸõ«ÿ\ÓÿAFö}F Wþ̶µžwùH¹¢U^¤åQ‰<Œ½xÁ½sþµëšè"¡¬Ê0>Ñâÿúhø0—ÿŒÑöÿÐ3CÿÁ„¿üf·è fÚ<_ÿ@Íÿÿñš>Ñâÿúhø0—ÿŒÖýöÿÐ3CÿÁ„¿üf´x¿þšþ %ÿã5¿E`}£Åÿô Ðÿða/ÿ£í/ÿ f‡ÿƒ øÍoÑ@hñý4?üKÿÆhûG‹ÿè¡ÿàÂ_þ3[ôP+}gâ}XZAug¤Aw–÷ñ^Êìr«ˆHR:ŠÞÔn5x Xô«K˶d7W/ÜtÆÔlç'Óïž.Q@hñý4?üKÿÆhûG‹ÿè¡ÿàÂ_þ3[ôPÚ<_ÿ@Íÿÿñš>Ñâÿúhø0—ÿŒÖýöÿÐ3CÿÁ„¿üf´x¿þšþ %ÿã5¿E`}£Åÿô Ðÿða/ÿ£í/ÿ f‡ÿƒ øÍoÑ@hñý4?üKÿÆhûG‹ÿè¡ÿàÂ_þ3[ôPÚ<_ÿ@Íÿÿñš>Ñâÿúhø0—ÿŒÖýöÿÐ3CÿÁ„¿üf´x¿þšþ %ÿã5¿E`趪kšŽ§ªEe\Á)¬í(ýÙ”’K"ãý`õèjkÛ¿=Óý›MÑÌ òÆd¿”3(à$zã'§­lQ@hñý4?üKÿÆhûG‹ÿè¡ÿàÂ_þ3[ôPÚ<_ÿ@Íÿÿñš>Ñâÿúhø0—ÿŒÖýöÿÐ3CÿÁ„¿üf´x¿þšþ %ÿã5¿Es¶6:Üþ&‡TÕ ÓàŽ9mÕmn^RÅÞ6ÉÝà,÷=EtTQ@;ßÿÈFçþº¿ó4Qÿ!ŸúêÿÌÑZ+j7ÎåÞòᙎI2±$þtŸo¼ÿŸ¹ÿïᢊ>ßyÿ?sÿßÃGÛï?çîûøh¢€·ÞÏÜÿ÷ðÑöûÏùûŸþþ( í÷Ÿó÷?ýü4}¾óþ~çÿ¿†Š(û}çüýÏÿ o¼ÿŸ¹ÿïᢊ>ßyÿ?sÿßÃGÛï?çîûøh¢€·ÞÏÜÿ÷ðÑöûÏùûŸþþ( í÷Ÿó÷?ýü4}¾óþ~çÿ¿†Š(û}çüýÏÿ o¼ÿŸ¹ÿïᢊ>ßyÿ?sÿßÃGÛï?çîûøh¢€·ÞÏÜÿ÷ðÑöûÏùûŸþþ( í÷Ÿó÷?ýü4}¾óþ~çÿ¿†Š(û}çüýÏÿ o¼ÿŸ¹ÿïᢊ>ßyÿ?sÿßÃGÛï?çîûøh¢€·ÞÏÜÿ÷ðÑöûÏùûŸþþ( í÷Ÿó÷?ýü4}¾óþ~çÿ¿†Š(û}çüýÏÿ o¼ÿŸ¹ÿïᢊ>ßyÿ?sÿßÃGÛï?çîûøh¢€·ÞÏÜÿ÷ðÑöûÏùûŸþþ( ™Ø³Xœ’O$ÑEÿÙpyFltk-1.3.0/fltk/docs/CH6_Events.html0000644000175100017510000003106611651413735016076 0ustar heldheld

    6 - Handling Events

    This chapter discusses the pyFltk event model and how to handle events in your program or widget.

    The pyFltk Event Model

    Every time a user moves the mouse pointer, clicks a button, or presses a key, an event is generated and sent to your application. Events can also come from other programs like the window manager.

    Events are identified by the integer argument passed to the Fl_Widget.handle() virtual method. Other information about the most recent event is stored in static locations and acquired by calling the Fl.event_*() methods. This static information remains valid until the next event is read from the window system, so it is ok to look at it outside of the handle() method.

    Mouse Events

    FL_PUSH

    A mouse button has gone down with the mouse pointing at this widget. You can find out what button by calling Fl.event_button(). You find out the mouse position by calling Fl.event_x() and Fl.event_y().

    A widget indicates that it "wants" the mouse click by returning non-zero from its handle() method. It will then become the Fl.pushed() widget and will get FL_DRAG and the matching FL_RELEASE events. If handle() returns zero then pyFltk will try sending the FL_PUSH to another widget.

    FL_DRAG

    The mouse has moved with a button held down. The current button state is in Fl.event_state(). The mouse position is in Fl.event_x() and Fl.event_y().

    To receive FL_DRAG events you must also respond to the FL_PUSH and FL_RELEASE events.

    FL_RELEASE

    A mouse button has been released. You can find out what button by calling Fl.event_button().

    FL_MOVE

    The mouse has moved without any mouse buttons held down. This event is sent to the Fl.belowmouse() widget.

    FL_MOUSEWHEEL

    The user has moved the mouse wheel. The Fl.event_dx() and Fl.event_dy() methods can be used to find the amount to scroll horizontally and vertically.

    Focus Events

    FL_ENTER

    The mouse has been moved to point at this widget. This can be used for highlighting feedback. If a widget wants to highlight or otherwise track the mouse, it indicates this by returning non-zero from its handle() method. It then becomes the Fl.belowmouse() widget and will receive FL_MOVE and FL_LEAVE events.

    FL_LEAVE

    The mouse has moved out of the widget.

    FL_FOCUS

    This indicates an attempt to give a widget the keyboard focus.

    If a widget wants the focus, it should change itself to display the fact that it has the focus, and return non-zero from its handle() method. It then becomes the Fl.focus() widget and gets FL_KEYDOWN, FL_KEYUP, and FL_UNFOCUS events.

    The focus will change either because the window manager changed which window gets the focus, or because the user tried to navigate using tab, arrows, or other keys. You can check Fl.event_key() to figure out why it moved. For navigation it will be the key pressed and interaction with the window manager it will be zero.

    FL_UNFOCUS

    This event is sent to the previous Fl.focus() widget when another widget gets the focus or the window loses focus.

    Keyboard Events

    FL_KEYDOWN, FL_KEYUP

    A key was pressed or released. The key can be found in Fl.event_key(). The text that the key should insert can be found with Fl.event_text() and its length is in Fl.event_length(). If you use the key handle() should return 1. If you return zero then pyFltk assumes you ignored the key and will then attempt to send it to a parent widget. If none of them want it, it will change the event into a FL_SHORTCUT event.

    To receive FL_KEYBOARD events you must also respond to the FL_FOCUS and FL_UNFOCUS events.

    If you are writing a text-editing widget you may also want to call the Fl.compose() function to translate individual keystrokes into foreign characters.

    FL_SHORTCUT

    If the Fl.focus() widget is zero or ignores an FL_KEYBOARD event then pyFltk tries sending this event to every widget it can, until one of them returns non-zero. FL_SHORTCUT is first sent to the Fl.belowmouse() widget, then its parents and siblings, and eventually to every widget in the window, trying to find an object that returns non-zero. pyFltk tries really hard to not to ignore any keystrokes!

    You can also make "global" shortcuts by using Fl.add_handler(). A global shortcut will work no matter what windows are displayed or which one has the focus.

    Widget Events

    FL_DEACTIVATE

    This widget is no longer active, due to deactivate() being called on it or one of its parents. active() may still be true after this, the widget is only active if active() is true on it and all its parents (use active_r() to check this).

    FL_ACTIVATE

    This widget is now active, due to activate() being called on it or one of its parents.

    FL_HIDE

    This widget is no longer visible, due to hide() being called on it or one of its parents, or due to a parent window being minimized. visible() may still be true after this, but the widget is visible only if visible() is true for it and all its parents (use visible_r() to check this).

    FL_SHOW

    This widget is visible again, due to show() being called on it or one of its parents, or due to a parent window being restored. Child Fl_Windows respond to this by actually creating the window if not done already, so if you subclass a window, be sure to pass FL_SHOW to the base class handle() method!

    Clipboard Events

    FL_PASTE

    You should get this event some time after you call Fl.paste(). The contents of Fl.event_text() is the text to insert and the number of characters is in Fl.event_length().

    FL_SELECTIONCLEAR

    The Fl.selection_owner() will get this event before the selection is moved to another widget. This indicates that some other widget or program has claimed the selection. Motif programs used this to clear the selection indication. Most modern programs ignore this.

    Drag And Drop Events

    FL_DND_ENTER

    The mouse has been moved to point at this widget. A widget that is interested in receiving drag'n'drop data must return 1 to receive FL_DND_DRAG, FL_DND_LEAVE and FL_DND_RELEASE events.

    FL_DND_DRAG

    The mouse has been moved inside a widget while dragging data. A widget that is interested in receiving drag'n'drop data should indicate the possible drop position.

    FL_DND_LEAVE

    The mouse has moved out of the widget.

    FL_DND_RELEASE

    The user has released the mouse button dropping data into the widget. If the widget returns 1, it will receive the data in the immediatly following FL_PASTE event.

    Fl.event_*() methods

    pyFltk keeps the information about the most recent event in static storage. This information is good until the next event is processed. Thus it is valid inside handle() and callback() methods.

    These are all trivial inline functions and thus very fast and small:

    Event Propagation

    pyFltk follows very simple and unchangeable rules for sending events. The major innovation is that widgets can indicate (by returning 0 from the handle() method) that they are not interested in an event, and pyFltk can then send that event elsewhere. This eliminates the need for "interests" (event masks or tables), and this is probably the main reason pyFltk is much smaller than other toolkits.

    Most events are sent directly to the handle() method of the Fl_Window that the window system says they belong to. The window (actually the Fl_Group that Fl_Window is a subclass of) is responsible for sending the events on to any child widgets. To make the Fl_Group code somewhat easier, pyFltk sends some events (FL_DRAG, FL_RELEASE, FL_KEYBOARD, FL_SHORTCUT, FL_UNFOCUS, and FL_LEAVE) directly to leaf widgets. These procedures control those leaf widgets:

    pyFltk Compose-Character Sequences

    The foreign-letter compose processing done by the Fl_Input widget is provided in a function that you can call if you are writing your own text editor widget.

    pyFltk uses its own compose processing to allow "preview" of the partially composed sequence, which is impossible with the usual "dead key" processing.

    Although currently only characters in the ISO-8859-1 character set are handled, you should call this in case any enhancements to the processing are done in the future. The interface has been designed to handle arbitrary UTF-8 encoded text.

    The following methods are provided for character composition:

    pyFltk-1.3.0/fltk/docs/CH7_Subclassing.html0000644000175100017510000004172111651413735017107 0ustar heldheld

    7 - Adding and Extending Widgets

    This chapter describes how to add your own widgets or extend existing widgets in pyFltk.

    Subclassing

    New widgets are created by subclassing an existing pyFltk widget, typically Fl_Widget for controls and Fl_Group for composite widgets.

    A control widget typically interacts with the user to receive and/or display a value of some sort.

    A composite widget holds a list of child widgets and handles moving, sizing, showing, or hiding them as needed. Fl_Group is the main composite widget widget class in pyFltk, and all of the other composite widgets ( Fl_Pack, Fl_Scroll, Fl_Tabs, Fl_Tile, and Fl_Window) are subclasses of it.

    You can also subclass other existing widgets to provide a different look or user-interface. For example, the button widgets are all subclasses of Fl_Button since they all interact with the user via a mouse button click. The only difference is the code that draws the face of the button.

    Making a Subclass of Fl_Widget

    Your subclasses can directly descend from Fl_Widget or any subclass of Fl_Widget. Fl_Widget has only four virtual methods, and overriding some or all of these may be necessary.
      class MyClass(Fl_Widget):
      

    The Constructor

    The constructor should have the following arguments:
      def __init__(self, xpos, ypos, width, height, label=None):
      

    The constructor must call the constructor for the base class and pass the same arguments:

        Fl_Widget.__init__(self, xpos, ypos, width, height, label)
        # do initialization stuff...
      
    Fl_Widget's protected constructor sets x(), y(), w(), h(), and label() to the passed values and initializes the other instance variables to:
      type(0)
      box(FL_NO_BOX)
      color(FL_BACKGROUND_COLOR)
      selection_color(FL_BACKGROUND_COLOR)
      labeltype(FL_NORMAL_LABEL)
      labelstyle(FL_NORMAL_STYLE)
      labelsize(FL_NORMAL_SIZE)
      labelcolor(FL_FOREGROUND_COLOR)
      align(FL_ALIGN_CENTER)
      callback(default_callback,0)
      flags(ACTIVE|VISIBLE)
      image(0)
      deimage(0)
      

    Methods of Fl_Widget

    The following methods are provided for subclasses to use:

    Fl_Widget.damage(mask)
    Fl_Widget.damage(mask, xpos, ypos, width, height)
    mask <- Fl_Widget.damage()

    The first form indicates that a partial update of the object is needed. The bits in mask are OR'd into damage(). Your draw() routine can examine these bits to limit what it is drawing. The public method Fl_Widget.redraw() simply does Fl_Widget.damage(FL_DAMAGE_ALL), but the implementation of your widget can call the private damage(n).

    The second form indicates that a region is damaged. If only these calls are done in a window (no calls to damage(n)) then pyFltk will clip to the union of all these calls before drawing anything. This can greatly speed up incremental displays. The mask bits are OR'd into damage() unless this is a Fl_Window widget.

    The third form returns the bitwise-OR of all damage(n) calls done since the last draw().

    When redrawing your widgets you should look at the damage bits to see what parts of your widget need redrawing. The handle() method can then set individual damage bits to limit the amount of drawing that needs to be done:

      MyClass.handle(self, event):
        ...
        if change_to_part1: damage(1)
        if change_to_part2: damage(2)
        if change_to_part3: damage(4)
      
      
      MyClass.draw(self):
        if damage() & FL_DAMAGE_ALL:
          ... draw frame/box and other static stuff ...
        
      
        if damage() & (FL_DAMAGE_ALL | 1): draw_part1()
        if damage() & (FL_DAMAGE_ALL | 2): draw_part2()
        if damage() & (FL_DAMAGE_ALL | 4): draw_part3()
      
      

    Fl_Widget.draw_box()
    Fl_Widget.draw_box(boxtype, color)

    The first form draws this widget's box(), using the dimensions of the widget. The second form uses boxtype as the box type and color as the color for the box.

    Fl_Widget.draw_focus()
    Fl_Widget.draw_focus(boxtype, xpos, ypos, width, height)

    Draws a focus box inside the widgets bounding box. The second form allows you to specify a different bounding box.

    Fl_Widget.draw_label()
    Fl_Widget.draw_label(xpos, ypos, width, height)
    Fl_Widget.draw_label(xpos, ypos, width, height, align)

    This is the usual function for a draw() method to call to draw the widget's label. It does not draw the label if it is supposed to be outside the box (on the assumption that the enclosing group will draw those labels).

    The second form uses the passed bounding box instead of the widget's bounding box. This is useful so "centered" labels are aligned with some feature, like a moving slider.

    The third form draws the label anywhere. It acts as though FL_ALIGN_INSIDE has been forced on so the label will appear inside the passed bounding box. This is designed for parent groups to draw labels with.

    Fl_Widget.set_flag(SHORTCUT_LABEL)

    Modifies draw_label() so that '&' characters cause an underscore to be printed under the next letter.

    Fl_Widget.set_visible()
    Fl_Widget.clear_visible()

    Fast inline versions of Fl_Widget.hide() and Fl_Widget.show(). These do not send the FL_HIDE and FL_SHOW events to the widget.

    shortcut_status <- Fl_Widget.test_shortcut()
    shortcut_status <- Fl_Widget.test_shortcut(string)

    The first version tests Fl_Widget.label() against the current event (which should be a FL_SHORTCUT event). If the label contains a '&' character and the character after it matches the key press, this returns true. This returns false if the SHORTCUT_LABEL flag is off, if the label is NULL or does not have a '&' character in it, or if the keypress does not match the character.

    The second version lets you do this test against an arbitrary string.

    type <- Fl_Widget.type() const
    Fl_Widget.type(type)

    The property Fl_Widget.type() can return an arbitrary 8-bit identifier, and can be set with the protected method type(type) . This value had to be provided for Forms compatibility, but you can use it for any purpose you want. Try to keep the value less than 100 to not interfere with reserved values.

    Handling Events

    The virtual method handled <- Fl_Widget.handle(event) is called to handle each event passed to the widget. It can: Events are identified by the integer argument. Other information about the most recent event is stored in static locations and aquired by calling the Fl.event_*() functions. This information remains valid until another event is handled.

    Here is a sample handle() method for a widget that acts as a pushbutton and also accepts the keystroke 'x' to cause the callback:

      def MyClass.handle(self, event):
          if event == FL_PUSH:
            highlight = 1
            redraw()
            return 1
          elif event == FL_DRAG:
              t = Fl.event_inside(self)
              if t != highlight:
                highlight = t
      	  redraw()
            return 1
          elif event == FL_RELEASE:
            if highlight != 0:
      	highlight = 0
      	redraw()
              do_callback()
      	# never do anything after a callback, as the callback
      	# may delete the widget!
            return 1
          elif event == FL_SHORTCUT:
            if Fl.event_key() == 'x':
              do_callback()
      	return 1
            return 0
          else:
            return Fl_Widget.handle(self, event)
      

    You must return non-zero if your handle() method uses the event. If you return zero, the parent widget will try sending the event to another widget.

    Drawing the Widget

    The draw() virtual method is called when pyFltk wants you to redraw your widget. It will be called if and only if damage() is non-zero, and damage() will be cleared to zero after it returns.

    The damage() value contains the bitwise-OR of all the damage(n) calls to this widget since it was last drawn. This can be used for minimal update, by only redrawing the parts whose bits are set. pyFltk will turn on the FL_DAMAGE_ALL bit if it thinks the entire widget must be redrawn, e.g. for an expose event.

    Expose events (and the above damage(boxtype,xpos,ypos,width,height)) will cause draw() to be called with pyFltk's clipping turned on. You can greatly speed up redrawing in some cases by testing fl_not_clipped(xpos,ypos,width,height) or fl_clip_box(...) and skipping invisible parts.

    Besides the protected methods described above, pyFltk provides a large number of basic drawing functions, which are described below.

    Resizing the Widget

    The resize(xpos, ypos, width, height) method is called when the widget is being resized or moved. The arguments are the new position, width, and height. x(), y(), w(), and h() still remain the old size. You must call resize() on your base class with the same arguments to get the widget size to actually change.

    This should not call redraw(), at least if only the x() and y() change. This is because composite widgets like Fl_Scroll may have a more efficient way of drawing the new position.

    Making a Composite Widget

    A "composite" widget contains one or more "child" widgets. To make a composite widget you should subclass Fl_Group . It is possible to make a composite object that is not a subclass of Fl_Group, but you'll have to duplicate the code in Fl_Group anyways.

    Instances of the child widgets may be included in the parent:

      class MyClass(Fl_Group):
        the_button = None
        the_slider = None
        ...
      
    The constructor has to initialize these instances. They are automatically add()ed to the group, since the Fl_Group constructor does begin(). Don't forget to call end() or use the Fl_End pseudo-class:
      # class MyClass
      def __init__(self, xpos, ypos, width, height) :
        Fl_Group.__init__(self, xpos, ypos, width, height)
        self.the_button = Fl_Button(xpos + 5, ypos + 5, 100, 20)
        the_slider = Fl_Slider(xpos, ypos + 50, width, 20)
      
        ...(you could add dynamically created child widgets here)...
        end() # don't forget to do this!
      
    The child widgets need callbacks. These will be called with a pointer to the children, but the widget itself may be found in the parent() pointer of the child. These callbacks can be methods or normal functions:
      # class MyClass
      def slider_cb(self, widget, data):
        do something here
      
    If you make the handle() method, you can quickly pass all the events to the children using the Fl_Group.handle() method. You don't need to override handle() if your composite widget does nothing other than pass events to the children:
      # class MyClass
      def handle(self, event):
        if Fl_Group.handle(event) != 0: return 1
        ... handle events that children don't want ...
      

    If you override draw() you need to draw all the children. If redraw() or damage() is called on a child, damage(FL_DAMAGE_CHILD) is done to the group, so this bit of damage() can be used to indicate that a child needs to be drawn. Fl_Group provides some methods to make drawing easier:

    Fl_Group.draw_child(widget)

    This will force the child's damage() bits all to one and call draw() on it, then clear the damage(). You should call this on all children if a total redraw of your widget is requested, or if you draw something (like a background box) that damages the child. Nothing is done if the child is not visible() or if it is clipped.

    Fl_Group.draw_outside_label(widget)

    Draw the labels that are not drawn by draw_label().

    Fl_Group.update_child(widget)

    Draws the child only if its damage() is non-zero. You should call this on all the children if your own damage is equal to FL_DAMAGE_CHILD. Nothing is done if the child is not visible() or if it is clipped.

    Cut and Paste Support

    pyFltk provides routines to cut and paste 8-bit text (in the future this may be UTF-8) between applications: It may be possible to cut/paste non-text data by using Fl.add_handler().

    Drag And Drop Support

    pyFltk provides routines to drag and drop 8-bit text between applications:

    Drag'n'drop operations are initiated by copying data to the clipboard and calling the function Fl.dnd().

    Drop attempts are handled via events:

    • FL_DND_ENTER
    • FL_DND_DRAG
    • FL_DND_LEAVE
    • FL_DND_RELEASE
    • FL_PASTE

    Making a subclass of Fl_Window

    You may want your widget to be a subclass of Fl_Window, Fl_Double_Window, or FL_Gl_Window. This can be useful if your widget wants to occupy an entire window, and can also be used to take advantage of system-provided clipping, or to work with a library that expects a system window ID to indicate where to draw.

    Subclassing Fl_Windowis almost exactly like subclassing Fl_Group, and in fact you can easily switch a subclass back and forth. Watch out for the following differences:

    1. Fl_Window is a subclass of Fl_Group so make sure your constructor calls end() unless you actually want children added to your window.
    2. When handling events and drawing, the upper-left corner is at 0,0, not x(),y() as in other Fl_Widget's. For instance, to draw a box around the widget, call draw_box(0, 0, w(), h()), rather than draw_box(x(), y(), w(), h()).

    You may also want to subclass Fl_Window in order to get access to different visuals or to change other attributes of the windows. See "Appendix F - Operating System Issues" for more information. pyFltk-1.3.0/fltk/docs/HowToAddNewWidgets.html0000644000175100017510000000415311651413735017641 0ustar heldheld How to Add New Widgets to FLTK

    7 Steps to New Widgets in pyFLTK


    Here's a little guide on adding new widgets to pyFLTK. It shows the basic steps and conventions we've been using.

    1. Preferrably, place the widget - its header, source and Readme file - in the contrib/ directory. This will allow for a simple inclusion in the build of pyFltk. For a larger distribution, you can keep it intact and adjust the include paths as well (see below).

    2. Add support to setup.py for the new widget. If you placed your sources in the directory contrib/, then you can add the source files to the list UserDefinedSources, at the very top of setup.py, in the form ./contrib/UserWidget1.cpp. If you placed the widget somewhere else, then you will also have to extend the include path by adding the new path to the list UserIncludeDirs.

    3. Create the SWIG interface file(s). I've been creating a swig/xxxx.i file for each header file for the widget. Import the files into the swig build by adding lines to the file swig/UserDefinedWidgets.i, of the form %include UserWidget1.i.

    4. Address the ownership of your new widget! If your widget is derived from Fl_Widget, then you can add the following lines to your interface file:
      %include macros.i
      CHANGE_OWNERSHIP(UserWidget1)

    5. By default, all widgets are wrapped using the director feature of swig. If this is not desirable for your widget, you can disable it by placing the line %feature (nodirector) UserWidget1; somewhere before your code.

    6. You can now build your distribution by first executing python MakeSwig.py in the directory python/, followd by python setup.py build in the root directory. Check for compilation errors! For MinGW on Windows, you should use python setup.py build -cmingw32 install instead.

    7. Now create a test program in test/ and test the widget.

    pyFltk-1.3.0/fltk/docs/editor.jpg0000644000175100017510000022526511651413735015302 0ustar heldheldÿØÿàJFIF,,ÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÀ«œ"ÿÄ ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?ì¼gã9ü)s¥ÚÚé ¨K|6Ç`6à ŒX’õ‘ÿ ÷‹èœêøßüfÿÈýà/úþ‹ÿB‚©ÿ±ðÏüûÏÿÚ»¨C©§^é¾Êý_÷£oÄ͹¹4˜ÝGâί¤†§àɬŒ¹òÅÏî÷ãÆè†q‘Ÿ¨ªð¼$ÿ¡z/ûþ¿ün¹Ÿˆº‡“F´ÓÑÒ'7RÎXî>Hïìjë>ðÆŸ¬/‡bצMoí6–à24‚_7hs·ËUÃæ>@ÁÁ5ª¥…–±Nß?Å]Ûï3”ª'kšCã|Ÿô/Åÿ—ÿÒ²пýþ_þ7[Z‡ô©´Øü?l—1ÚÁâ»›w{ƒ Ã;Gi'͆‹`hà«cצ9ûŸ hÚ߈<¢%»ÙM}£[ÏqqnP+¨ŽFo“o21_¾XÿºqR©áïgŇ5Näÿð»$ÿ¡~/ûü¿ün—þ\Ÿô‹þÿ/ÿ¬ý?Àš¥£A¬ùú•­¤úMí瓽&’7·‘W9ÚÔ†ÎÜ)ÈûÜñ“áï Øj—zÅÝž¨š4WÖ.JÆó¬L )r¬¤àᶃƒWìpÚû»zÿ™<õ;8øÓ'ý"ÿ¿ËÿÆéGƉ?èýþ_þ7T"ø{¦j±éÖ7³C¨éVÚ–œ—r¨wæÆì.À˵Gç¦Oâ}2ÏĶÚ4ÓOa †8¥••‹ã‚À¯IÉvÅ8áðòvKóR¢Öç¡Âç“þ€1ßåÿãt¿ð¹¤ÿ  _÷õøÝyX§ Óêt{~,Ÿm>穌²Ð /ûú¿ün”|c“þ€QßÕÿãu墜)}NoҶŸsÔ¿áqIÿ@(¿ïêÿñº_ø\Ð/ûú¿ün¼¸SÅS£Ûñaí§Üôÿø[òÐ/ûú¿ün”|^“þ€‘ßÅÿãuæ"œ(úß‹m>ç¦ÿÂÜ“þ€‘ßÅÿãt¿ð¶äÿ ,_÷ñøÝy˜§ _T£Ûñaí§Üô¿ø[RÐ/ûø¿ün—þÌŸô‹þþ/ÿ¯5ñGÕ(öüX{i÷=#þ¼Ÿô‹þþ/ÿ¥ÿ…­'ý¢ÿ¿‹ÿÆëÎ8QõJ=¿Ú}ÏFÿ…«'ý¢ÿ¾×ÿÓ¿áiÉÿ@x¿ïµÿâ+ÎE8QõJ=¿Ú}ÏEÿ…¥'ýâÿ¾×ÿˆ¥ÿ…£'ý"ÿ¾×ÿˆ¯;ñKê”{~,=´ûž…ÿ >OúEÿ}¯ÿKÿ :OúEÿ}¯ÿ^|)ªQíø±{i÷=þlŸô ‹þú_þ"”|K“þ1ßKÿÄW)ªQíø°öÓîw¿ð²¤ÿ T_÷Òÿñ¿ð²dÿ T_÷ÒÿñÁŠp£ê”{~,=´ûßü,‰?èýô¿üE(ø'ýâÿ¾—ÿˆ®S…/ªÑíù‡¶Ÿs¹dÿ \_÷ÒÿñïøX’Ð2/ÍøŠá…8QõZ=¿0öÓîwð°¤ÿ d_šÿñ£â Ÿô ‹ó_þ"¸‘N}V—oÌ=´û¯ü, ?èæ¿üE(ñôŸô ‹ó_þ"¸±N}V—oÌ=´ûŸü'²Ð:/ÍøŠ_øO$ÿ t_šÿñÆŠp¥õZ]¿0öÓîv?ðIÿ@è¿ñßþ"—þ™?èþ;ÿÄW)âªÒíù‡¶Ÿs®ÿ„âOúÅÿŽÿñ£ÆòÐ>/üwÿˆ®HS…U¥Ûóm>çXçIÿ \Ÿóçä¿üM/ü%RÏœ_÷Êÿñ5Î x£êÔ»~aí§Üèá(“þ}"ÿ¾Wÿ‰¥ÿ„žOùô‹þù_þ&¹ñN¾­K·æÞ}΃þY?çÖ/ûåøš_øI$ÿŸX¿ï•ÿâkSÅV¥Ûó·©ÜÝÿ„ŽOùõ‹þù_þ&—þ)?çÚ/ûáøšÃáGÕ©vüÇíêw6ÿá “þ}¢ÿ¾ÿ‰¥þß“þ}âÿ¾ÿ‰¬QN¾­K·æÚ}ÍŸíé?çÞ/ûáøš_íÉ?çÞ/ûáøšÇáGÕ©vüÃÛÔîkÿmÉÿ<"ÿ¾ÿ‰¥þÚ“þxEÿ|/ÿY"ž(úµ.ߘ½½Næ Ö$ÿž1ßµÿâiF¯'üñ‹þý¯øV`§ >¯K·æÞ§sOûZOùãýû_ð¥þÔ“þyEÿ~×ü+4SÅW¥ÛóoS¹ 59?ç”_÷í”jRÏ8¿ïÚÿ…PáKêôû·©ÜÓ†ââufH ÂàËõúcRnºÿžv¿œUZ×þ<¦ÿ®‰üš³-vE Ò;¶N9< ã«Ë ¸¨þæuSæ”Soò5£¼’[¹­Z´Ð*4€yXPû¶óÓ'kq×qSnºÿžv¿œUÃk¿ò ñÿýƒ#ÿÑ3ÖG‰>ø>ÃÂڽ宑åÜ[ÙM,Oö™ŽÖT$Áäw¬ù£ü¿Ÿù—Êûþ_äzBj&¡%Š f¹GEªwc'tñŸæ*Æë¯ùçkùÅ\îÿ#Ƶÿ^Ñè¹k—ñ^¥«Ùø†á<+qywvmÔíV?´GhŸÁ,jΡf#8ˆd8#Œš“ŠKÝß×üÄ“mëùƒu¨µœG?ÙUçr‘*ˆØ± Xðì=?1^=ñ*W—Åò9Ä( v«¯‚KG„ŸM¿šþÑŒÆ;©æid—÷M’ÌÜîÎr8ÁãoÄoù¥ÿ®Iü¨vqM+oú½Úlì¾$è>"Õµ- óö¯-Οûß1Y?tøˆ¡ÃœTö#Žk—þÊøÃéqÿ|Z…{<„ˆe àí‡ÿAªžcÿ}¿:¨×´T\S°Ý;»Üñ WÁ?µÙ }RÂ{£aZÝ6îÆ~î3÷GZ|¾ ø>œ4é¡Ôä± ¨-žü‚®6¥ñÛ½³Ìï·çG˜ÿßoδŽ6QVQ_×̇E=Ûµ]<ñ;[kTµÔÞÚA4 Õ ‚Heð­’NG<šöÏ1ÿ¾ßcÿ}¿:^Ÿò öîÏ›Áßî'’yâÔåšH »È÷Á™¢'&2Kò¤ÿJ½¢h´•-4ÙÙZÒ[H–KEºÈC3E‰ÆÊƒ‘Þ½gÌï·çG˜ÿßoÎ‡Ž›Vå_×Ì=‚îÏ$Ó¼7ñNÔîõ?ì™.u ‹g·ûUÌêòŹBïGßà ž"±ÇÃ?ÿÐOûûÿ^çæ?÷Ûó£Ìï·çBÇÍl—õó«Ç¹áÃá§Œ?è 'ýýÿŠ¥ |aÿ@Y?ïìüU{‡˜ÿßoÎ1ÿ¾ß?í —õóÕâxˆøkâÿúÉÿcÿâ©GÃoÿÐOûûÿ^Ûæ?÷Ûó£Ìï·çGö…NËúù‡Õâx øoâïúIÿcÿâ©ÃáÇ‹è 'ýýÿНióûíùÑæ?÷Ûó£ûB§eý|Ãêñ<\|9ñoý¤ÿ¿±ÿñTáðëÅŸô“þþ'ÿ^Íæ?÷Ûó£Ìï·çGö…NËúù‡ÕâxØøwâÏúÉÿÿŠ¥ÿ…yâ¿úÉÿÿНcóûíùÑæ?÷Ûó£ëõ;/ëæW‰ãßð¯|Wÿ@y?ïâñT£á÷Š¿è'ýüOþ*½ƒÌï·çG˜ÿßoΗ×êv_×Ì>¯ÈGÃÿÿÐ"OûøŸüU8xÅ?ô“þþ'ÿ^¹æ?÷Ûó£Ìï·çG×êv_×Ì>¯É€|Qÿ@‰?ïâ8x Åô “þþ'ø×¬ùýöüèóûíùÑõú—õó«Äòø@üOÿ@™?ï´ÿpð‰ÿè'ýöŸã^­æ?÷Ûó£Ìï·çG×êv_×Ì>¯ÊÇ¿S²«Äó!àÐ.OûíÆ”x'Äô “þû_ñ¯LóûíùÑæ?÷Ûó£ëÕ; ú´O4 ñýäÿ¾×üiÃÁ~"ÿ \Ÿ÷ÚÿzO˜ÿßoÎ1ÿ¾ß^©ÙÕ¢yÀðgˆè'ýô¿ãJ<âúIÿ}/ø×£yýöüèóûíùÑõê}^'xƒþ’ßKþ4áàÿÐ6Oûéƽ Ìï·çG˜ÿßoΗתvAõhž|½S²«Dà‡„uïúÉÿ}/øÒ k¿ô“þú_ñ®óÌï·çG˜ÿßoίTìƒêÑ8_øDõßúIÿ}/øÒ kŸô“ó_ñ®çÌï·çG˜ÿßoήÔìƒêÑ8á]sþò~kþ4áámoþò~cükµóûíùÑæ?÷Ûó£ëµ; ú´N,x_[ÿ |Ÿ˜ÿpðƵÿ@ù?1þ5ÙyýöüèóûíùÑõÙöAõhœxðγÿ>~cüiG†µŸùð“óã]˜ÿßoÎ1ÿ¾ß]ŸdV‰É ëóá'æ?Æœ<9¬ÏŒŸ˜ÿêüÇþû~tyýöüèúìû ú´NTxsWÿŸ?Oñ¥ÕÿçÆOÓük©óûíùÑæ?÷Ûó¥õÙöAõhœÀðö­ÿ>2~”ïøGõ_ùò“ô®—Ìï·çG˜ÿßoήϲ«DæÆªÿÏ”Ÿ¥8h:§üùIúWEæ?÷Ûó£Ìï·çG×gÙÕ£ÜçÆ…ªÏ”Ÿ¥8hzŸüùÉúV÷˜ÿßoÎ1ÿ¾ß\Ÿd/«G¹„4MKþ|ä§ RÿŸ9?*ÛóûíùÑæ?÷Ûó£ë“ì‡õh÷1F¨ÿϤŸ•8húüúIùVǘÿßoÎ1ÿ¾ß\ŸdV‰’4Cþ}$ü©F‘¨ϤŸ•jùýöüèóûíùÑõÉöAõh÷3“ÿ>²~T£J¿ÿŸY?*ÒóûíùÑæ?÷Ûó¥õÉöBú´{™ãK¾ÿŸY?*pÓ/çÖOʯyýöüèóûíùÑõÉöAõh÷) 6÷þ}¤ÿ¾iÃN¼ÿŸi?ïš·æ?÷Ûó£Ìï·çG×'Ùգܬ4ûÏùö“þù¥óï'ýóV<Çþû~tyýöüèúÜû ú´{”o,5·€Ea µËv{c)8>`SëÛ§~vÓÀwÖIug—mp™Ù,:$h둃‚GÆ»1ÿ¾ßcÿ}¿:ÊUyÚ_ùšFŸ*²g7ÿψÛ·ÞÁ'Û•àI§n¨Ú_!Îxçß9¿ð­åÿŸ-ÿvÞcÿ}¿:<Çþû~t½¢þUøÿ˜ùËüŒK]³¹¿¼7K%íÔi”Ù¨a»¹8cÜti?±üYÿAdÿÁpÿâësÌï·çG˜ÿßoΛ¨ŸÙ_ù‚ƒ]#“DÕ⺷Ôõ}F7·°JÄÚˆUAB–Ý€9Éô¯;øÿ#t¿õÉ?•z7Ž]€õÐX‘ö{ÿ²kÎ~#ÈÝ/ýrOåKŸ›KXm­Ïq—ýD¿îÃÿ ×+ã %‹ÃÄÃöÍwi[iLR:µÄjʬpH$g#¯Q]T¿ê%ÿvý¹ýz35„h,o/1s ¾]£Ä® n$™FÜ œóǨ̳e:o‡uÝA4ýjÒk{ YPÕe|!o—lï´‚£æXgƒÖ‹ÍzïM¼ÔãGviµ„µ‰šÞK‘ýŠ9N"Œî`J·Œ,zuäy|Ac{¥Þèú…½Í³ÄóK$†H]’9Ý‚HÈÇ›îe±^IÉB{àkÕ[ 6²’K»›¹·<× 1ÀQ€8P~¤“jœß‹ž_ø’ÅwÓ,×å$†ÆäÁ$ª-ælnÞœ¡¾ðû½úT1\K¤i·3A¦ê–³K=½ºRøÝ.é%†Lü)|‘•ÝÀÏqwĶóÜ mmª<Öó™Ò]=­ƒFÛ>a9Ádn€ôíÞ ½JÎêÛTmih¤‰ï¦ätmêÉädd2©Ã‚dP#>âûV³Ö/¢¾žŠe* ‘FD—r#6ÍÙVÇn`Ár Q©áÔäÓ®ŸR½†ëý6é#) !]·©Égl¯hãhdõ§§…­üÙ縿¾ºžvµi%™×$ÛÊeL¡Tdà…3÷‰cwKÒ†”n„w—3C<òN±K³lLîÎÛJ¨8,çïÐP…dx‚ Éí-Ų\Ë Ïºæ Yü™¥k÷.Ò£™rŒœí:õ‹â(å–;_"ÇQšx¤2Å=ƒÀÚW8™‚œ«¸èÝOCƒ@ÌQ¬E£Új-g&£¾?²£YjO4–òK)ˆÈ‰i—§Ë&#´üù«º~·©\ZêBS ýš8ä[ë« ìa‹oÊJImw¸ ¯Þ£OÒ[P†÷ûF ^;™<œ]^½·™û§/Á )ò9-ó/%°wÐD¶sAw©_]É#Fë<¬¢hÛzTUL†¹SžnÂ_êB Ø’8nnà’È#Me=Š8¸ŸÊÚRMÌ1´ã#æû§iΧÚõÖÔŸNŠ}9î--£¸™ÞÝÑ.<Ç*/ÎLXrÇÌûÙÛÆ ÓÂÖþlóÜ_ß]O;Z´’Ìë’må2¦Pª2pB€ûıµ{¢¥åñ»ŽöòÑäaœ[:¯Ÿ–*¤•,¸Þü¡Vùºð0ƒs©ë3x¦þmšËMŸÎ1N®ï"­¬.Ñ¡ C©Ý‡ÉrvŒ|Ýf\hV·6zÍ«É0M[wžA]ЬGo|¨9ç?JÓ Š( aEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPŽäD×ëÆ_ý×|Fÿ‘º_úäŸÊ½Ç?ò"k¿õã/þ‚kξ#ÈÝ/ýrOåN"g§x·ÄÚ ³†ÂÂ;É/  Be.JÇ» ‘Få¸ Iã{çŽsþ¿ÿЩ/þßÿò-túÔÝxÖ÷G4Ï*IŠ]MŒÀ‚Æ+GÔ´ß ‰†™m£[ù7šœ×Åp¶ÒÌb¹™"…‚¡Èÿ"ž¸À_šg(Â<Ò2«V4£Í-Šð•ø¯þ…Iðÿÿ‘hÿ„¯Åô*Kÿ€·ÿü‹^‘n5 èvÍ7›4’B&»¶•¥Rˆ<Íå° œÿÏNýô5[™‘#³´}—·{’'Ào$$ÊGp¼{eRFì5k‚«¥ìy?ü%~+ÿ¡R_ü¿ÿäZ?á+ñ_ý ’ÿà-ÿÿ"ר}­tÛ™´ûkxÞÚÌܼÒÜ Å›ÉSÃmv/–9V$r ¥}â‹«;KiN•å¼–‹q/Úåhc˜ÝùžYPùùÊrW®xNpKQ:ñŠ÷<ÿ„¯Åô*Kÿ€·ÿü‹Gü%~+ÿ¡R_ü¿ÿäZõ]WRº°žÆ+k%¹7r´#3l(ÛÁ<¯ÈrzÐ1â›w{vÖ6¶ñÇö]Nú<Ü$û)Û–sÙ‚˜,Tq»"›Ž¾E:©]v<³þ¿ÿЩ/þßÿò-ð•ø¯þ…Iðÿÿ‘kÑuæ³Õtk-*,‹<åZé’7P[ÌêX–”6â·ö™„ÓêóI§ÚÜ‹51Ŷ¸é‘£q8‹)…ù×~z•ÊŽG$Tó%túí’º}?à™æŸð•ø¯þ…Iðÿÿ‘hÿ„¯Åô*Kÿ€·ÿü‹^¡©j÷VzÙ`³‚TÍ<“Ëuå¤ùiòªFì’J·À›Qº¸Ò죆&´Ôu²¨Ãqµ%2ÎÀŽBdF SÙš:¡ûhݮǗÿÂWâ¿ú%ÿÀ[ÿþE£þ¿ÿЩ/þßÿò-z^¡©&„°Xéö-pûK²+„ýç(’6æmÄ>b®IÈä¸×®–h 9vIgö¹êãÉû(㉆ӰcvÉ%X`XÐZ1:ñZ=Ï4ÿ„¯Åô*Kÿ€·ÿü‹Gü%~+ÿ¡R_ü¿ÿäZô_øI/#†Y.tµ€=.ቧ"Idn<¥Ì q“—N2ØÖÍpöê×QEÇ;’) Š9ã UIã…8¸Ëb£UKDxçü%~+ÿ¡R_ü¿ÿäZ?á+ñ_ý ’ÿà-ÿÿ"שßêwÖúµ½…­„WxT‘î<°¥CùI0FNxÀ5Qºñ<‘Ãisob²ÛÝiï{ùöHÄlÛP¤f’5=Iààe9A^â•xÆ÷èy×ü%~+ÿ¡R_ü¿ÿäZ?á+ñ_ý ’ÿà-ÿÿ"×¥ê—ÚÌ0é°ÛÛY¥ÝÝÈórÅ.d !’6\àHÆzѪËx|A§EcLñE,² ¹1F3µWÍÆ~S™ùI܃Qü„ë%{.߉æŸð•ø¯þ…Iðÿÿ‘hÿ„¯Åô*Kÿ€·ÿü‹^›m®\j–mae—3ZEw$sNcH’@vÁIbHla„䎉üG4Ÿe’ÊÊ)-î,Eéš{‘·S‚<ß”ígg%Xc°9á½ÃÛÂ×¹æÿð•ø¯þ…Iðÿÿ‘hÿ„¯Åô*Kÿ€·ÿü‹^Áaq%Þms4 o,Ñ$ õŒ S9: ±V’zš)]\ñøJüWÿB¤¿ø ÿÈ´ÂWâ¿ú%ÿÀ[ÿþE¯h¢ŽT;ž/ÿ _ŠÿèT—ÿoÿùøJüWÿB¤¿ø ÿȵíQÊ‚ç‹ÿÂWâ¿ú%ÿÀ[ÿþE£þ¿ÿЩ/þßÿò-{Er ¹âÿð•ø¯þ…Iðÿÿ‘hÿ„¯Åô*Kÿ€·ÿü‹^ÑE¨.x¿ü%~+ÿ¡R_ü¿ÿäZ?á+ñ_ý ’ÿà-ÿÿ"×´QG* ž/ÿ _ŠÿèT—ÿoÿùøJüWÿB¤¿ø ÿȵíQÊ‚ç‹ÿÂWâ¿ú%ÿÀ[ÿþE£þ¿ÿЩ/þßÿò-{Er ¹âÿð•ø¯þ…Iðÿÿ‘hÿ„¯Åô*Kÿ€·ÿü‹^ÑE¨.x¿ü%~+ÿ¡R_ü¿ÿäZ?á+ñ_ý ’ÿà-ÿÿ"×´QG* ž/ÿ _ŠÿèT—ÿoÿùøJüWÿB¤¿ø ÿȵíQÊ‚ç‹ÿÂWâ¿ú%ÿÀ[ÿþE£þ¿ÿЩ/þßÿò-{Er ¹âÿð•ø¯þ…Iðÿÿ‘hÿ„¯Åô*Kÿ€·ÿü‹^ÑE¨.x¿ü%~+ÿ¡R_ü¿ÿäZ?á+ñ_ý ’ÿà-ÿÿ"×´QG* ž/ÿ _ŠÿèT—ÿoÿùøJüWÿB¤¿ø ÿȵíQÊ‚ç‹ÿÂWâ¿ú%ÿÀ[ÿþE£þ¿ÿЩ/þßÿò-{Er ¹âÿð•ø¯þ…Iðÿÿ‘hÿ„¯Åô*Kÿ€·ÿü‹^ÑE¨.x¿ü%~+ÿ¡R_ü¿ÿäZ?á+ñ_ý ’ÿà-ÿÿ"×´QG* ž/ÿ _ŠÿèT—ÿoÿùøJüWÿB¤¿ø ÿȵíQÊ‚ç‹ÿÂWâ¿ú%ÿÀ[ÿþE£þ¿ÿЩ/þßÿò-{Er ¹âÿð•ø¯þ…Iðÿÿ‘hÿ„¯Åô*Kÿ€·ÿü‹^ÑE¨.x¿ü%~+ÿ¡R_ü¿ÿäZ?á+ñ_ý ’ÿà-ÿÿ"×´QG* ž/ÿ _ŠÿèT—ÿoÿùøJüWÿB¤¿ø ÿȵíQÊ‚ç‹ÿÂWâ¿ú%ÿÀ[ÿþE£þ¿ÿЩ/þßÿò-{Er ¹âÿð•ø¯þ…Iðÿÿ‘hÿ„¯Åô*Kÿ€·ÿü‹^ÑE¨.x¿ü%~+ÿ¡R_ü¿ÿäZ?á+ñ_ý ’ÿà-ÿÿ"×´QG* ž/ÿ _ŠÿèT—ÿoÿùøJüWÿB¤¿ø ÿȵíQÊ‚ç‹ÿÂWâ¿ú%ÿÀ[ÿþE£þ¿ÿЩ/þßÿò-{Er ¹âÿð•ø¯þ…Iðÿÿ‘hÿ„¯Åô*Kÿ€·ÿü‹^ÑE¨.x¿ü%ž+ó*Kÿ€·ÿü‹Iÿ oŠèU“ÿ¯ÿù½’çþ=¤ÿtדxŸânámjÓK»–Yf‘‡ÚLGwÙPއrNÑÎÜŸî†MæN£«ø“Ä6oáù4HlŸUW´Š[•¼…w21êöàcŒò¬ˆßò7Kÿ\“ùW¢êw uâ?OË42j ñȹYM¼¤{‚+ξ#ÈÝ/ýrOåN"g©kR4>0𤩠“ºO+,Q• äXÍòÄ žœ=H«~Òä1]¦¯§^é“Ï~ÓD'š%î{¨Õ6;À?Ì:qКƒRÿ‘ãÂõõ'þ‘MRø®óQçúÔUí-€ŒÆ-Ì~|ÌÄ™8'ÌF=@é€ÄœêIF7jæ8‰¨Fí_úÿ#° Û[^G+:ª–‰¢™¼· :×éœã¨¦yöwzŒ²í/‰$‘€Xã@H€³¶O?1çÝÌiú5 3•†%E Šá[gÊHqéÔõ¬OÉ—¶¶òÚ5ÔÁI‚Ú{6šÞéÛ'`oº’ùÛ…Wc‚ Ô­fµåËfµýM]C@Óõ9¤–é'-,BwRÆì+`ù›¯©¦Ÿi­+»-Ëy›|ÔkÉŠK… ó®í¯•PàsŽs\þ®|$o4:Y4v[Y<©„ÒFZ8bFÂc‘‰<¿—9?6A«CS½²Ñßì&ú- Â<äxR531f܈¬¤¸É ¥‰uéüQÍ ¶Ò3æ§vä–…Ó¥é:Ì˪Es<ÅÔªMm¨J©Ž ±À*3ޤsÍhEgW·yfšuD% ‹œ(Çl³rrÇœ?i3C§xrÉuE´¿½au H„ÂèãÌC ª†.NàqýÞ+¨«…ž¶ÔÒŸ,µ¶½}mÿ©™q i÷W²^È“‹©Q¦ŽêXØ*ç °Ú¼ä¨À'’ ¦ÏáÍ6âXÝ–å<¬yI äÑ$X]£b«_—#€:ŸZÏñ.«skw ¬öÚzy~cMspy„œFxä ŒÃh#rsÉ—ºÛC ªj‹¤(³Žáæ™ä9Ü‘¬ªN+´·Î:4¹S»M)ÑM¦¶ô-ÿeè7Ö²Ý}¥§·¼‰-Q¨HÉ*Ú«ø'vG©,ÀçqΕ®Ÿ ­Ä³£JòIqn‘ˈÕÉäòÌrrIc“ŒÊbÛNÑôxÿ·­­¯ÚHe»€O YL¬²LÌNvŒ*>`r¢´ÛëÍJFŠ+˜–™$¼’8ÊÂýàdãŒgsâ9¥ã ­ìáÓuì|ɧˆˆ®]ïýã ßw÷b@ƒžÜE;ÄWr[ÞÛ=Œ¶sêQÅ ·Óç— îø "¨É$meì6»å”DånT”=ë¤íoëî-êvz,Ã6§:ÁªÁ¾{¶A(!$%‡š>÷»«zœËu i÷³]Ë:NÍy†p.¥PÈ:.^˜ûÍý㜠D¶… …¬J—va‚nÉÚ<¸Tç2f%þð]Ëò¾î:Û[hl­!µ·MÃÇäªÉç §I´Ò9g&œWõý?éŒi­l!·Šk…‰Y–ŒÒòíÙrÇ,ÇäÑyg§Â&½»‚Ú"ÛCÍ @O\d÷àþUÍx‡UÒêúÊæòÎÜ‹cow4÷‘#eÜV¹,ÅHÉÙ÷Êíoõ};Ä3\^·ú»Q‚ÌìîdHÁ#{ñÎ2½7r{UªCu•ÚVÓúþ¾ãbòþÏO„M{w´E¶‡š@€ž¸ÉïÁüªYeŽ^i¤XâE,îç@ä’OA\­¬±øzkXu9Ëg¤Cª!æy>a*D7±òáã¨ÊôÝÍ+¿´iÙv—_a“û3M‰ †l·Úî!SŒÈ6(V+æ}ÖÞ0k+´K®Ò»_ð=¯Ìíâ–9áI¡‘d‰Ô2:†AEEyg§Â&½»‚Ú"ÛCÍ @O\d÷àþUäZ£Ì •åœ1måfµiI>¹/8ÇãY7Z„zn¸óêr+Kž‹j¨6äfc*D¤üÌvCòä‘•þ÷7)´i9¸­~þ†ô÷Vö¾_Ú'Š/6A~c…Þ碌õ'Ò¥®âçL±ÓF‰}{c¶ºjY_O%ÇΉå‚Ëde‹ sü|®ÑÖÞEª<ÀÙ^YÃÞVkV”“ë‘"ñÓŒ~4£Sšâ…^ké±jYc‚ši8‘K;¹ÀP9$“ÐQ,±Á Í4‹H¥Üà(’Iè+šñ]ΖtÛm3VºÓšæiaÜ“A³v$pƒ`ÎAàب¼Iy$äm ³h­m„ö°\Œ›©÷’%ï ØXd§™÷[x•[\S­Ë+TRÇ<)42,‘:†GCÀò#¨¨¯/ìôøD×·p[D[hy¤ 댞üʬW?¨ÛéÞ!šâõ¿Õب²Œggs"F Ü쇎q•é»›œ¹Q¤åÊ[ÝSOÓv}ºúÚ×ÌÎÏ>eMØëŒžzάE,s“C"ɨdt9  ‚:ŠÂû<ÚW‡´»1jùØA2¨m°o`XrF_¶ÔŠ–ñ¡°—DѬµ°;H1y&_:—æ'îñ˜œñÞ§õ#Ú5«òûßOëÈÖžêÞ×ËûDñEæÈ"Ìp»ÜôQž¤úQ=Õ½¯—ö‰â‹ÍE˜áw¹è£=Iô®_Ä:®×WÖW7–vä[{¹§¸Ä‰.â°ÅÉf*FHÀÎϾWh•ŸªÝíÔ4»µ?±ÜÜN]SÈó>Ñc/z.A7_JÇñ«¤5Õõ•Í幯Þîiî1"F˸¬1rYŠ‘’03³ï•Úê(¦UJª)ù-åýžŸšöî h‹m4=q“߃ùUŠåüK|ÖšŠKËÜ6rˆD˜ÍÉr¿º„½&c^~`»—ä}ÜexŽ? ZÌös›2ö¶qG$s23Å{˜Go˜Èà•à‚ íÝ2­Êß‘¯ÊÞÚíÈ¢ŽRcXâE ˆƒ@àA\׋uÙt¸Y!mZ(ǘ÷ ˜ ß»‹|n¸ä`”çæ­'5óHÚ¥EN<Ò:Š+Џ×$‡_Ä¢ËJK‹óm乕ÛZÃ$îÄ‘àÙî5“mik§®Åb‰cï{ Œý®Báå ·vI>bc=¼«}bÕ¿Ìém®­ïmÖâÖx§…ó¶Hœ2¶ã¨5-pë«Ågg¡Ù¯ˆ,쮥S6¢ °°ýâwÉà1‘Ô®>bv²Œ ÚÞ£aö;ªÛ[Hšîæhí~Ðý>BÑȼ`–P¼nL U•®úÄ.[¾‡UEqúÿˆnìt˜æŠÒåmêW3 9¶œÇË–9© Ã)ž¦ªßë׋0ǯ[ˆm#YE”‘4ó\2Ü‘H˜•ä #!9`2p,D,T"Ú;Y.­â¸†ÞIâI¦ÝåFÎI“´u8qR×+®j6§^ØúÄV1év=Ë|®êd*¢œ€à *N% ¾E{ÍkPM;Iõ+;9žÎ9§¹šê(DÎÀq”‘° üQpp[¬“wè·~Ÿ×æuW—öz|"kÛ¸-¢-´<ÒõÆO~åV+•Ö5ÛÑ °¿Ôlb½ºò#»€Ëåái˜ød=øÝƒÈæ"§Õõ»h¦metÛl·1ÝFccsÙX÷« $($ïNŸÄý¬nÇíâ›ÔÞ¶º·½·[‹YâžÎÙ"pÊØ88#Ž Ó¥–8!y¦‘c‰³»œ’I=gøz6Ãö%Ê™¥ˆM3# +üîÀŽ,Ìxãž8¬¯É—¶¶òÚ5ÔÁI‚Ú{6šÞéÛ'`oº’ùÛ…Wc‚ Ãs´9™N£TÔžçQEEkm •¤6¶é²cXã\“µ@À<ô-hj¼ÂŠ( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š(  ZµâXiW2Gq"¢ýËxi'€±äöuÜ-m<¸a´’"™ÍÄ’eYÔ‰@L(fÿ¥:²”cx«±Öœ£ Á]…Éjö7Ž£qzÞiÞ?e²LДšV ””yŸ2©Ø@<Œ†Ÿq¦I¥¬ ¡Ë«YÁcVÖ“Õâ]2ãR»„Ikssf‘ü‘Û-»âB~bë?ËÐ.Ò£#/žÉ|5!§Øé«¥_\ù[<·"âÝå•s‚ά䲅$…ê[¶ ¹ÊÍX‰T’M[çn§KU4ëõÔ¬ÅÊÃ,?¼’6Ž]»•‘Ê0;ITô&±õx..fO¡6©¶S”!›æ,dÜÛrA@oÆÏÍ­£ZµŽ‡§Ú6íÐ[GÞ9U ã±#ÜÕ)7+[BÔäçkh]¢Š+CP¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¦Ï~ÒHÓØÍª˜d\îe©¯zâ~#ÈÝ/ýrOå^›¥ÿÈV×þº¯ó¯2øÿ#t¿õÉ?•8ƒ=[Rÿ‘ãÂõõ'þ‘M]±â4BÖÞQ*Æc’ââAm$а¨Á  8;Šg<ÎpJçÔ¿äxð‡ý}Iÿ¤SVƳásªêW 4¾\‘ÁOµÊ '™þ»AÀAŽägƒÍLÜù}ÍÌk¹òþïscG»šÿF³º¹…¡¸’%3FÑ´e0ÚÜœãÛ×­C©j–÷¶––6\Í:Èì%¸1DÛ–á#,£×,8#$hEà D¥Š¢…رÀõ'$ŸsÍcÞèÚZÚ]ßý†îÊ8ÊGk=žò™ûÄ1ld¼•8 Œ’\¹”R[Š\ê G}?à–-µÛ+˜mÝ|ð×nHÌ I‹Œãh °Ü¿($ò8äQ6¿¦Ámeq$ì!¾]ÖÎ!r$Êî`pÄtSÉ<O_SÑõ «»¹ìu(­>Õh¶ÎZÝÓi†F¸?¼=AM›GÕ{&†ÿNŠ%ýÌ"Á¶«ìÙ¸bQÀÀnr@"\ªvþ¾ò\ª­-ý}å‡ñ&–ŸeÌò±»€\[ª[ÈÆT8û .I‚Tr$ÍX¸Õ¬­á‚S+J³®ø…´M9uãæ%y7NG<ŠÇ»ûUÏŒJC=ͰŠÑaŽCbÏÎKKµñ´>%AÈÚNE]þÄ’Öd:]ÒÚEöh­Z/4¬qîÙ°–á†ö僎œpr)MÞß×â%:Žöþ¿ò%¼×ôÛDÒÎÏ‹Ï/o Ì>¡Ø ;TààœƒŽ†¬^ê6ÖæRòglpÂò¹©Ú€œ Œœ`dzŠÅ¸ð£K(Hnm ·Ž4†ÝÖÕ…Õ´J¡vÇ8pGñ~ñ#е¬hÚwiqþƒ&# åßÙý¥œ Ü»IÏÌyÎÕéŽNj¶zšµžž…ë^ÂÒ9¦¹_*öT†ÝÐ;ò ž¯J»Yëasºj[_yVv±˜æƒÈOß / ˜#8Pé€+B´úšÅÉÞæf±¬Å¤-°hgš[‰V8ãŠrFFãò©åSsc© qV/uk ‚s)y3¶8ay\Ôí@NFN02=EE©iÓ_Ki$7^CÛÈ\|eJ–^F` Ü¿1Ê·©¬hÚwiqþƒ&# åßÙý¥œ Ü»IÏÌyÎÕéŽbNjö^†ruùW¡bó_ÓlaK;Ò¡£½š0 ã p;W8êFjkÍ&Òúa4¾zJi{{‰!,:€Ån'Î2qÔÒq©­Ÿ§õb\jëgéý[üÌýOĉc§Cr–íæ¼K<Î’©‚2 Ìž\rl<Ȇçå4ËýSU{¬ìâ†çP’=éq)C æ²õTt'‚AÇ¥ÛÍM¾„C, ‘¼‚–ó“e%Õ…Ô‘3Ï`¬¶ò<¬ÅC.ÖÉ'æ$­“Wj¡•™Tââ¬ÎsS‹V]NMb{x¯/(âabíÑ’X˜Üp7Î0b“û^SMµ5õÌ s,ö%6Ûµq‚…±„'zq€Öĺ-œÚšj.n~ÒŸt­Üª q‘°6Ü«‘ŒsšeÖ§ÞÍw,é;5äBÀº•C è¸ zcï7÷Žstå«_™“¥=Z}{¿^Ýÿ­§ˆd»†9–Úâm1/Ýå¹Ú"/’ªÇoÝ8œgN@ã:¶]éÖ×3@ÖòÍHð¿XÉ•9‘Ó ªW~Óo³ö…¹mÐ-»í¼™|ÈÆp 7ýæå²NMiEà D¥Š¢…رÀõ'$ŸsÍ\Ó÷™¤Dý÷ý}ÆVµ|‘©ÏkyI;»“žµkPÓ­µKu‚èJcY@#™ã;”䩃ƒõõ‹6ÒëP³¾š-×6{ü‡ÜFÍã À89µ<³ænÿ×õý"9'ÌÝý?^ÿ×c>ý’óVšÚææ[{++E¸”ÇpÐî.Î.¥H "n3ƒ¿'îŠÊ“Y»6–÷ßn‹ËÓc¼Ôä‚0Ž¡†Iû m“p\I÷vtltwšM•üÂ[ˆ™›nÆ + ‘ºáH¼Ÿ•²>cÇ'%æ“e0–â&fÛ±‚ÊÈ$_î¸R¯'ål˜ñÉÊ”&ïbeNní?ëúýBå³ŠÊÍ®ÔÊ‘H^ã(»ÈKd¹u9¬ýtÍ4ÆÖÒêqzbÝm€ŽS²ÌÃ+pÛ_‡8JãM´ºÔ,曆uÍžÿ!÷³xÃpG­U»ðæ›}-Ëη?é_ëÒ;É£I>P¼ª°Sò€:sŠsŒši_SŒÚi_‡ùþ…x–"íÒênÖÙ®?{*¡Ú3€¾ó±R¤¶4´òô›$û_Û6Àƒí9ÏòŸ99Ï^§­†mª[¬BSȲÏܧ åH<¨¨nšŒ¹›oB£s¹7§C—Önõ3â$´²“QX( ¿eXS,¬›Ûz³¡XœÙ‚M‹ïí+_³ ­Jæ;HàQ5í¬PÞ ‡yUÕ¶¡ùHØ0¹rØb i—-te„]±iÕo§U‘ƒ•Œ`Œc‚¥›@Óî.¦¸‘'-;™Ô¢9P¿4a¶°Ú F棒z¿ÔËÙÔÕßñåèe\Ûkp\YÃ.½8k›”ajÁ½Ø«FNæhäÀ ¸qƒ»§Cw˜Žúãí,’~÷MçfpÎÝ àuÍE.‹g6¦š‹›Ÿ´§Ý+w*¨dl ·jäcæ´*á›oó4§MÆM¿Í³ ]3M1µ´ºœ^˜·[E`#”ä,³0ã`Ç Ü6×áÎuû%æ­5µÍ̶öVV‹q)Žá¡Ü]œ]JDÜg~OÝ5߇4Ûén^u¹ÿJÿ^‘ÞMIò…åU‚Ÿ”ÓœU‹Í&Êþa-ÄLÍ·c•H¿Ýp¤^OÊÙ1ã“™p“l— ¶öþ¿¯ÐĵšmFXµ{‰í–×L†êì‰ZÜ´²nÉb¥J…òß#¡ßÈEW¾ñKéÞ¶Žêæ(5c¦­Ôâá–'ÎÊG23+0Bõ ð­ÑÞi6Wó n"fm»,¬‚Eþë… :ò~VÈùœ»PÓ­µKu‚èJcY@#™ã;”䩃ƒõõ“§;;=ItªYò½¯ëï -<½&É>×öͰ ûNsç|£çÎNsשëV袶JÊÇBVV (¢˜ÂŠ( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š(  ¿ÿÈçþÿ¡ ૽ñü€nà?ú® ³žåD·¥ÿÈV×þº¯ó¯2øÿ#t¿õÉ?•zn—ÿ![_úê¿Î¼Ëâ7üÒÿ×$þT@êÚ—üÿ¯©?ôŠj—Åwšˆ×?ÐF¢¯ilf1ncóæ`¶$ÉÁ>b1êL$Å©Èñáúú“ÿH¦®Âé¬ÖöÞm–Yî˜B G— Ýö«c³:úÔÔ4m{W‡…sÆ1O¡»EeE­¬ã“Q¶–Þåä‘>Ï rNÄ#•Þ¦â‡å;¶ó/¨Ë®uý6ÕK;{f»Y#…Þ3Œ³oPWc¿uõ9ã½Çí!kÜÓ¢±ïüEoeki2ÛÞJ×RˆãŒZLß9+³ …ÜØ  që[Ô“vCS‹vL(®Wñ#iÚÌ:lqØ´’ÆŒ>ÑxÑ1g}Š¡Dl['<Ž˜;¶Œ úªZÚZ½ô2Ãs4ašÚk‡C¸b0I H±ŽG¨¥í#v¯±*¬jûV¦¶çH°¸½‘V[É@Šh­$h@œå—F\nn wÁkXÖbÒØ43Í-Ä«qÅ ¹##qùTò©¹±Ô…8£ÚF×k^kštUKÝFÚÃ`œÊ^LíŽ^W u;P‘“Œ QQ]ëzu’ZÉ5ÇîîÿãÝãFuíÜ*$º:·A“MÊ+vSœVìТ¢µ¹†öÒ«wß Ñ¬‘¶ܤdz£¬k1i læ–âUŽ8â…Ü‘‘¸üªyTÜØêBœPä’»Øâ£ÌÞ†R÷Q¶°Ø'2—“;c†•ÈNÔàddã#ÔU{ÍM±„M,ìñ¼òöð¼ÁcꊵN À88èhsŠÝƒœVìÓ¢³5f-!mƒC<ÒÜJ±ÇP»’27•O*››HSŠÓ¦¤›°Ô“m.EgÞëV}ÚZ\I(¸’3$q¤9ƒ·jÄg$ 9#Ñw­éÖIk$×»»ÿwÖC·p¨ ’>èêÝM.x÷%ÔŠ¾»V{ëV ikr$–Hî£Â!‚IЀwlU,#$Ž2äŠ'Öôë,½Æä’1(’$ic=™A‡æbž ñîÒ=Í +)¼I¥­¥•ÓO*Ã{Ÿ³±·y„ €ÜäòŽ­ü9« «Z :Þý|ùmîZ6†ÞII 2ÕR@Ǩ£ž=ÁTƒÙ—h¬Fñn‡Ï2ûË R†xG—'Ü|•ÆÌ t€Hµ`––·"IdŽê1,"$‘ÝvÅRÀr2Hã H¥Ïµ}…í#v›ØÐ¢™±Ï M ‹$N¡‘Ðä0<‚ê+?RÔ/-ïm-,m ¹šu‘ØKpb‰·-Â6FYG®XpFH§$•Øå%viÑXãÄÚh¶¶žVž%¸³7˺ÝÈX‚îbYAP@##=Hõ/üEoeki2ÛÞJ×RˆãŒZLß9+³ …ÜØ  qëSí!kÜŸk ^æÅªëMÕtërê"eyÉy$p¡@„É-–§å r6óaõ«´µ¹K$wQ‰aÁ$Žè@;¶*–‘’GòEñ»WØ~Ò7i½ +2ã_Óm¦‚'î"ó ÂòùÉÇ)´çp2@ç§5zÖæÛHn­ß|3F²FØ#r‘pyèi©&ì˜ÔâÝ“%¢±õ}`éš–™õ)pÒy±^IY~òäÅA†'€¤Ô³ëV‹¬‰3*Üʱ£›iAÞ£à~í²vüØÃuRçÚ¾Âö‘»WØÓ¢³ïu« >í-.$”\I’8Ò ÈÁÛµNâ3’H‘Žh}jÁ--nD’ÉÔbXD0I#º튥€äd‘Æ@<‘Ož=ÃÚGkšV¦¶çH°¸½‘V[É@Šh­$h@œå—F\nn wÁv÷Z°ÓîÒÒâIEÄ‘™# ‘Ì€»Tî#9 dÉæ’©^âUbÕïý3BŠÌmMXmæóØÅaÚ¥Š”9[çnX0éÇ5fÑ/–{!c{g‚âÖÞKG¡Ù°Þh,B–¶œeþ¯/‡ôñÓÿh\ǺYd’7]åˆgòbp¸!AÚDZ÷Š.¬í-¥:W–òZ-Ä¿k•¡Ž6`wæyeCäcç)É^¹áJTúÿ_q2•/µë×ô:ZÏԴ鯥´’¯!íä. Œ>2¥K/#0î_˜å[ŒWׯ5+vÓàÓc¥º¹—–RBƒ!q¸dG\õƒÏmŠÓI^&Í©Þ=ŒMc@þÓ»Kô1O.þÏí(˜$ååÚN~cÎv¯LsVãÂÓO( yl‘¤i3-K¨# Ë(\Çîàn#x«ZšÞO¯YZ[j—6qɲÈ"H˜…ô$d9ÆÉÈ}þ¨M†Ÿ{kÜXÜËdóÞI#æ0$¼ps’+9F »£F›rr_×ȱ©iÓ_Ki$7^CÛÈ\|eJ–^F` Ü¿1Ê·Ь«½Zh¥¹û-´SCeÿrKp"Ùò‡Âä`¤˜ªüÃæûÛsûT¾½ÑdŽÅ£¹û4—3Zý­‘"Ý´"Ìvô ¾Âw§5Nq‹vþºêB-ÛŸ û¿µ\øÄ¤3ÜÛ­ä6,ñüä´»_Cá!ÁbT¤äU‰´KåžÈXÞÙÁg`¸µ·’Ñä(vl·š ¥€í†ç$!ºÖu+/CŸM·%ÔÚ&>läÆÏ4¯Ül‚ˆëœ (Æ2¿üaM¾½z¯?òü Ë­6éõ»³½[vš$†mÐù‡j–*Päo¹`çá^ÙÜØ­æ“áù¥®#TU{˜FÞRÆ ÜnUPçæ`AÆã…«ºœZ²êpªkÛÅyx±@Çã—lîŒ’ÄÆàs¸qƒb NØg/•¨_ǺY$š_%D-#ˆ²U\…Æãål‘Æé—,›Vkúé©2Q“jÍ],þaw¤j^Z½å½­Ÿ6ÖídÌìÙœ¬‹œÀÃt$"ñ†¿·|ÏÞÛ2úU¯Ÿåuùâù—cüÜžsµ?»Íˆõ¹/á¶:UªÍ,ÖÑݲÜËåã“;2B¶XḔäŽ3_X¸MWÂ][ÉsÛ<"Hæhž#3*+„go™¹ÁÇãNJ›‹ëרä©8˯^¿×Ü2?^yÁæ¾³*%·>T6F4C’±æä0=ráF¶“c&¦Çm4Ë<Áä•cØ$vbÌÛrpI$œg ]®_Z¿Ô#×Í­­Ôöð‹h”¸Hš$–i4foÈ#€2íÉ@ -¨ÓÖÅ5 ^òF†¡¦ê—Z”0êqÃnÅáŠK6r®ÝÅ„«“‚àpHKu¦Ý>¢÷vw«nÓDͺ0íRÅJ€­ó·,tヘµ n´Û;5b×±˜£šygò¥åURh[‘ò‚rhׯ5+vÓàÓc¥º¹—–RBƒ!q¸dG\õƒÏaò«·úƒäWný;ÿ_qÚ%òÏd,olà³°\ZÛÉhò;6[͈RÀvÃs’´U-ZòK6I¡ gfH¡>_1Ø"nÇ;w0Î9ÆqWhÁ6h£i´cÝýªçÆ%!žæØEh°Ç!±gç%¥ÚøÚ   äm'"¢k/µë h®aÓ´ÛI š9m¤Xî”0ì0ÀÁ<Ãæ°kóêZséÖZlºœò¼sHþA…žRn2) 7È *0£#n0Vymµ5Õ,4ÿíëÀ^)æ’U†]QÔ(ÁŒá¿z °ã ÷rÙ;]¦ºÿKs™Ù¶šoU¬·þ¬^—J¸¸×’úyí¥µŽ=‘Û½±,œ†$>üdº!ÉSƒ9&ý+U¸ÔÞò×T¶·ýÁ‚öfF„6 0>`’ªy £Ž¹¥s&¡wqgqk­Ï¦¥r‚ÔCD,>G˜ImÄ£ÏìTÕ¹ºÖí5?°É©NvÄÜyp˜ÃO4‘ÂÎ6Ü / 6³c%,ÎRŽº?ëçó§ }׿õ×¶¦¹Ñn£¼ÓþÍwma«[306}ÿ3“´¸ù¹ @4K¡Ü\O5ÅìM$òBöå`+äˆ_|jß1Þ7r~é;›6í|â{ ýMä÷Ye¶Ë´o61n ÇBÝÎkb´P‹¾ŸÕc;«Vÿ!‘ (&eyBì‹´Ü€IÀöÉúÕ-KNšú[I!ºòÞBà˜Ãã*T²ò0à3NåùŽU¸Æ…£I«3WÕ™u¥êRê7wvú”´– }Ö¦Cns–`Kà“Ü`µ3¼Ô¹ð²Ë š/öt‹ol–â;Ë#qï™Bsƒ’Ä…^xÉèè¨t¢÷3t`÷DV¶ëii ²¤Q¬jvªð:(}ÐVMîý¥­¥ÝÿØn죌¤v³Ùï)Ÿ¼CÆI ÉS€¸É'nЧÕ™R„d¬ö9«È†·â›h‚Ü¥¥¤%ЖÖDŽä3'îà'œ0ÀùljêZt×ÒÚI ×öòÆR¥—‘‡˜w/Ìr­Æ4(¤ µ¿Q*k[õ1î´½J]FîîßR‚’ØAoºÔÈmÎrÌ |{Œv¦s·–E¡ÜZy?`½ŠÛ‘ZKˆ ü‘îÚcÜß)ùÛïoþvè£ÙÆ÷eßõg?/‡®—íØêZÂlVÊÐy Ïj£«+ù€ä§ÝBs·»X~Ïi ˆyqªb$؃*äíƒ'-ãÅÝ4ãtcÝiz”ºÏö¾¥e"0à –¥Õˆ.NK1(˜9ŒsUçÐuvÖÚ²ZG8¸Ù5£;É&ï0—a"Ždùð¡GtÈ=.œX;߯›0®´mRæk¹¿µ`ŽYìŬn–¬ «º3‚Ù?÷Ìy'o.—G¾÷šmõµœÏi´„YîE »i7€¸.ÜÃîŽÇ;tQìâÊÓg?.‡©K;(/ìb³µòJDl²cnOœPÿFrû­T¹šîoíX#–{1k¥«êî‡Ìà¶OýóIÛÎí{(ÿM‹ØÃúlãïm¯í–óLÑçòn.£U`ºdËIå,{£”0HÐ*©ÆX‚7-]½ðÌ—wLÑÜYÁUŽŠÏeÍ´a@ÙÊãhûÄpGÌAq]½Œz“ì"ïÔ(¢ŠÔÜ(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢ŠËñü€nà?ú® »ßÿÈçþÿ¡ à«9îTKz_ü…mëªÿ:ó/ˆßò7Kÿ\“ùW¦éòµÿ®«üë̾#ÈÝ/ýrOåDž­©Èñáúú“ÿH¦®ªóL³žóΞvInÝUw¸Àí2€äýìûØÍrº—üÿ¯©?ôŠj—Åwšˆ×?ÐF¢¯ilf1ncóæ`¶$ÉÁ>b1êL$ÍI(Æí\Ã5Ý«ÿ_äv±Kð¤ÐȲDêCÈ Ž¢³î´Ëß¶JoûJ†ŽöhƒŒ€Àí\ã©©´{1§èÖv€ÎV•\2(…mŸ) qǧSÖ®Ö–RK™e8®dR¼Òl¯æÜDÌÛv0YY‹ý× @uäü­‘ó99†ëA±¼½ûd¦ðO´¨hïfŒ(8È\ÕÎ:‘šÓ¢‡½Ð:q{ ª—ºm¦¡³íQoÙ0År§ª¶܇*r§ â­ÑM¤ôe4š³3.´ >ök¹gIÙ¯"ÎÔªEÀ`ëÓy¿¼rùô[;,¹¹WŽ1’+¹cvQÐ3+øÉûÄõ>¦´(¥ÉÄû8vQÁ C kH¡Q`(è*¨ÒmªÚ˜óÅÓ(V"âM„@7mÀÉ=:’zœÕÚ)´žå8§º3õÃUÝö¨å;ãòŸÊžH¼ÄçåmŒ7O8Éõ5ðæšÒ»²Ü·™·ÍF¼˜¤¸P¿:îÚùUî8ç5«E'½Z%Óƒwi/tÛMCgڢ߳ aŠåOUl¹TåNAÅ[¢Šv[•dÌ«ßiº…ÅÄ÷+r^â1¡/&Et€¥U€Ç'Œw>¦y ØßÝ ™Íá•[rì½™»rª®œ8Ï©­:*y#ØŸgÈæµ/I¨K-¨‹É³–1— ©N$uÚ–ˆ®øw;7¸ µ¥u i÷³]Ë:NÍy†p.¥PÈ:.^˜ûÍýã:){8ë •ku¹JãI²»†®"iØ¥¥bYxʱÎ]NU² ÕÚ(«I-‹I-Œùt[9µ4Ô\Üý¥>é[¹U@ã#`m¸;W#8ç4ûÍ&Êþa-ÄLÍ·c•H¿Ýp¤^OÊÙ1ã“›´RäarG±JóI²¿˜Kq3mØÁed/÷\)דò¶GÌxäæÍÆþè\Îo ªÛ—eìÈíÛ•Upà‘Àî}MiÑC„^èNœ^èdQ¬0¤JXª(P]‹RrI÷<Õ%Ñlí¿»•¾Ù –mÓÈß8èË–ùÀÁ\cjãîŒhQMÅ=ÑN)ü;as,rJ×ÅâÆÂ5 ÆÒnF® õ99êjÅÆ“ew \DÒ,+±KJIJñ•cœºœ «d6A«´Räb}œ;TÔl¾ßf`yn$ŽTm¹ÑîGQ‘‘‘žGZ·E6®¬Êi5fRM Õ[Sxºe Ä\I°€¦í¸'§ROSš¯{áÍ7P¸¸žånKÜF"”%äÈ®€ª°äñŽçÔÖ­œ"ôh—N Y¤gË¢ÙÍ©¦¢æçí)÷JÝʪmÁÚ¹ÁÇ9¡t[ûoîåo¶H%›tò7Î:2å¾B00WÚ¸û£QÉÁìãØ¥m§,¯rÒ´„D°B–1 äüÌI,Çïò3ÊäºãM´ºÔ,曆uÍžÿ!÷³xÃpG­[¢ŽUk’6µ‚Š(ª((¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢ŠËñü€nà?ú® »ßÿÈçþÿ¡ à«9îTKz_ü…mëªÿ:ó/ˆßò7Kÿ\“ùW¦éòµÿ®«üë̾#ÈÝ/ýrOåDž­©Èñáúú“ÿH¦®Âé¬ÖöÞm–Yî˜B G— Ýö«c³:úשÈñáúú“ÿH¦©|U¡Þjú¼íö{7‰m¢¶ŽG°28ɱØ6áóE´¸8à9Ï\ÔÔ“Œn•Ì+ÊQâ®ÎÂÂò=CN¶½„2ÅqJÆ Ç~j-CV´Ó¹ó÷NÅc[É)bHùó€OÐCRØÚGce ´QA¢ò¶ñyqç©*¼à“Œž½MakSëšôP]YßGa¸‚áQeÞQ™X ³…#iÎó÷v†5'%7 Êq‚²÷´.Ÿé`lÞ0™#Ûc;ÊX2à' 66TóœbŸuâ=6ÊâX&k’ðȱ9ŽÎi]‚•]ʤdï^3ÜUMFmJ-x][h·7Imi$Q2M ¬¯!F9Üà¨XÁÎãÇs$‚ù5=.&Ó§œ[Ê&¹ÔB‚y<“â›ÁI8ÈØˆsžß£3u*j—~Ïúþ¼Ñoþ$(c4ê¦)fËZJ¤D‰ ÊðTŒyÉ£:v× wn³Æ²ª6p%‰£n9VÄW5>“s>«}-»A$üÄÙr©+I#m ´»olokdvôñ;I ;FÑ3(&7ÆTú2=‰Tå6ýâéJm¾oÉ¢°µ{GŸQ u¤6­cå(ŠòˆŠL¶öe‘”A@$aºdî¯q¥ºý–Ú]+ë(í#†ÞÔȯ ¼‹Å̘,1° Ì·q ÜÚéý}ÃuoOÏüŽ–ŠãntÆ“\³¶›O]YìtĆiep¾{HØV”7TS ±ûä)#4j:#\êºNœÊ·s 2k[ÛöPd"‰I;›ªòyf?0 º²ìC­+;Gúû¿«•2GdPV6î Œ€HòG©ïÆOÌjÚdoy§[Aá©^ÆÆG“u¿ŠáƒS"ŒX–Ïf`ÙÕ¬~]>ÊÓóÍŸ,& Г!VÂo6NÅCœq“Î-Ô–º~ä7VZé·¯ùET¸¿[}BÎÌÃ+½Îü2m"0£$°ÎqÈŒ23Ík¾|p__]è’ÞJc `ÌÑŸ²±E Ÿë <ÜóXåb@—CΖ±è2ÞØé¶>UœfH•.¤füÀXÊ£d®2à•2©+Ù/ëî«Jí%ùÿ—“:»‹˜m"Nû¤HÁÁ?3°Uz–¥®VçA/¥xzÞM.+ÿ°F’ácÎ|­€8$€™!˜©b .ºŽª´Œ›nêÆ”¤ÝÕŠZ¶©§K{r“¼Q©b!‰¤<{NîE:öýlö"Ã-ÅÄ™òíáÛ½Àê~b#$9©çëíy(·µ¶ÒîncÃ<“Dñ¢9íÝI$ € œ’0[¯Ù]êG ’Þ[\ž5Ô!’0‘#ãx ’ÄüŠFÕ Ë’DÊRÖÄÊrW·—Oëü‹¯¬[›KYíR[¶»ŒKo ‘0 2XŽ u I­Âa³{8'½kȼøc„*–ˆmËüå@:qœüÝ88ÏÕt™^]?JŠòÍ¢¶6ÐßC*l†&À*wäጠä½rH‹YÑçhb²²³f·ŠÌÛY˜äP!sÇï·6^<þQ¸6r¶¦Rš¾Ÿ×õú)ÔWÓúþ¯øy­Ì7¶Ý[¾øfd°Få# àóÐÕ}[TƒFÓ¥½¹IÞ(Ô±ÄÒ=‡ާw"‹Í*Þúa,Ò^+Ûˆo&ˆcèŒyëÖ³õ¥»ZXÚi——P¤°Jó,±’¢7ÞH˜”PIìÙÉ#ää¢Í')¨¿ëð4¯oÖÏb,2Ü\IŸ.޻ܧæ 22I: O¬[›KYíR[¶»ŒKo ‘0 2XŽ u Zý•Þ¡4pÙ-åµÁ‰ã]B# >7‚ ,OȤmPr ¹$Cªé2¼6º~•å›Elm¡¾†TÙ M€Tî%ÉÂ)Èzä‘2”î쿯ëå±2œÓv_×õòÛÌÓ}bÜÚZÏj’ݵÜb[x¡<‰€w|Ä’Äu©Ûµ¹†öÒ«wß Ñ¬‘¶ܤdzÁÕt™^]?JŠòÍ¢¶6ÐßC*l†&À*wäጠä½rHÞµ¶†ÊÒÙ 1¬q®IÚ ` žz ¨¹9jTÜš{_×ÝæCs~¶·–VÏ ­ö¹5‘víF_ “žB¶0NqVëšÖ-'½×¢–ãC–öÂÖŒ(–3ç¼…;€(¾_ñ/˺³.´—TÓ´óoŽöwq]MÙC+‚Фàà/™p8Üvà2Ô:’Méý}Ä:³Mé}ËÈî+3R×ôý&o*ñçVòšl¥¬²‹÷˜•RôÈÏQW­­mì­ÖÞÖ …3¶8*®NNã©5Êj¶úާ©H4«äy`[Ki>Ó€íÞD’ “æBdûŒò¯C¸¨ª’”cî­J«9Æ>ê×æÎ¶GdPV6î Œ€HòG©ïÆOWVÔF“§KzÖ³ÜE —C³*€[æa1Û'Ú²|A×—6¨š÷-ms©v @¬®vnpÙ%BžœyÀúÅÅýÜP[Å¡ß2 àäAò„e“hA“• zIàd”Þ¶þ¿N£÷’OîäiêÚˆÒtéoZÖ{ˆ¡RòvePK|Ì2;dûUÚçõ‹‹û¸ ·‹C¾dÁ;È$ƒåË&Ð ƒ'*ô’ ÀÎìNÒBŽÑ´LÊ ñ•>‡ŒbETey2ã+Éö*ÞjÖ–3eóÞR»Š[ÛÉ1QЧh88Î3ƒŽ†¬ZÜÃ{i Õ»ï†hÖHÛnR2= bjBþMBW´Ò®Rî<%½ê\F!`ç.ðÅ3‚6±’¸&ªë‹âÄΑð·± êΪË!ÙæÁL,ˆ‚à…$f¡Ô’oȮVI½??ëð:y‘AXÚC¸ .2 ɧ¾0Í»£ZµŽ‡§Ú6íÐ[GÞ9U ã±#ÜÕFRrبÎR•š².ÔW0ÚD$ö#H‘ƒ‚~g`ª8õ,cêörÜê#ÏÒ—T´1*Á …<¸eËny„€äø8júž†óZè‘Oe®ö_,’\ÌåËïÎ’ˆÜÀªá[¨Rœµ²ªI^Ëúþ»Wëo¨YÙ˜ew¹ß†M¤Fd–Î9 ’ÆFm×5¬ZO{«M,Ú·öö–…mc2ƱÜHì «†n@Û—«©^hW2iÚMœÖ·—6¶¶qƱ–ÌD€ÆD˜²gv•Ége:’Mér]Y¦ýÛÿ^ž§eErZ…Äòhö÷:%åêX.d¸ÂæbbØSs:3+Ëm€!¸¯¬ø~K¹~É,ÛÀ¶–‚s ¶»6ý㹄ё’ CŸ‘OÍŒPêÉ^ÑüÿÈ%ZJöçþGkET¸¸»P³†/6Ú]þ}ÇšÈÀÊü§–Üxã¥[­S¹ºw (¢˜ÂŠ( Š( Š( Š( Š( Š( Š( Š( Š( Š( Š(  ¿ÿÈçþÿ¡ ૽ñü€nà?ú® ³žåD·¥ÿÈV×þº¯ó¯2øÿ#t¿õÉ?•zn—ÿ![_úê¿Î¼Ëâ7üÒÿ×$þT@êÚ—üÿ¯©?ôŠjèµÁ¤j¶ò‰V3— i$U…F ÁÜS9à.s‚W<î¥ÿ#Ç„?ëêOý"š¶5Ÿ WR¸¸i¥ò䎂}®U<Ïô…Úx w#<iMÏ—ÜÜÆ»Ÿ/î÷64{¹¯ôk;«˜Z‰"S4mFQñó ­ÈÎ=½zÓ/u« >í-.$”\I’8Ò ÈÁÛµNâ3’H‘ŽjìQ¬0¤JXª(P]‹RrI÷<×;wö«Ÿ”†{›a¢Ã†Åž?œ–—kãh|$8,Jƒ‘´œŠrn1]Éœ¥¤·þ½ +MµdÎÅ^Ù®ÖHáwŒÄ£,ÛÔÀïÝ}FsõŸÅ¥Ãg*$.W?n•íJªc'iŒ±9 mqÈ ’ k/µë h®aÓ´ÛI š9m¤Xî”0ì0ÀÁ<Ãæ±«.•qq¯%ôóÛKk{#·{bY9 H}øÉtC’§0rL9T’|¿×rªÉ>_ë¿ùßUÖVæÒÔi6hefF¾`Q°["#•9Å—û¼ ÝgT‚ý­íô¨$F¹[hZk¦ŒÌLbF`<²6¨Ý“Ÿà s€]¥j·›ÞZê–Öÿ¸0@ÌÈІÁfÌ’UO ´q×!Ñn£¼ÓþÍwma«[306}ÿ3“´¸ù¹ @4?i²¿àÚê•÷òÛú×îó)7Šo#¼K'Ó Ž-¾ÖDŽêîˆLcr¾ÍÛ¸ ¹fÀwGl×n­uQLs¹"È£ž0ÅTž1ØVLºÅÄ÷ó\^ÄÒO$/nV¾H…÷Æ­óãw'¹n݈„‚2¼¡FöEÚ î@$à{dýj©©ßÞý ¤ª]ó¿Ëúÿ‡3oWF°Ôþ{(ü™Û,6fYÈi?"–Àz ÜT1Ï ÙùZ¥µ¬B[øüÕ–ÖÉšiQ°ÅˆE/Œ•$‘ÔŒòEXºÓï?´^öÂîe–$ŠQqne!b»pëƒó¶sœñÓ¶].ì]ý¢×Qòä’íç’X»*!—U_çnªËÓåÀ ¦¥}õ÷‰©_Hÿ]÷ÿ!×þ›m4<ìïq†—ÎN9M ï<ƒ’=9¢ç_ÓmY³±W¶kµ’8]ã1(Ë6õp;÷_Qœƒm,~&ŠÊÆK›K{Kµ·cdòF‰2m»ÂÇ‹.r6±&†±‚û^°°¶Šæ;M´’ £–ÚEŽá @#à ŒÉÜ0>`[í'Ò݈öµ5µ··ùõ.Ïwáûk«mRâÑa»ºfHn$°u™˜)rSpb §–è Õ©µ«AkcSÏ“ø–´i[K›;Øå— k!’TP yj>brÀãiÊîl€9¥©G©¬—öZmÛ-íòƒ+gLJbT.“n ŠTõb8Üpµ¥.|·wXß[Z¡´[kDûï²€rJüàsé€>TÎvòœ¦ÛKúü«‰Î¤›Q[]ÿ«¾ñ¥¥•…ÔQÏr·Ìž@Š ²6 o•NBσ‚BŸÃb±äÑ$û—½ÒÛ› ¥bÜÈSr†bC,âÀn9 pFÅik¾cXsÝóZÕýõ¼“ÛCŽüÆ2rgláaŒìp7à•X“µ×—W’ê"ÃOx#•"ó¦–hŒ8EÚr[sž6r>aUo´mJãRšò BÎ7Û¶Ùæ±2Éj àùgÌrIÛ“@X¿Òn.næžÖûìßimç"2\"— ÆÁ†ÇýãrCÃç»Ð‡ÎÛÑ•íõ{Í^§ˆ-åšÎ;Éšd2ˆƒýÄÀdÉ8~sÇ—Èù…2ë\ŸþëY+8gg•ÞÚ[¯( ±àãË’ÀãæâÅÖ‰#LæÂél¢šÙ-%T‹”7mòˆaå°ÞÜÃîñÇ/¹Òf¸F²1G¤ÉíVÜ ·iDp@T cî’2ØaÆÕj–ªY÷þ¿§ê9µËHmÆ«wg§ÝÉÈöó] (OQ’F@9TZ®©uodo, mÒ!0‘ŽñrOÝŠ=§ï77#, +äíØ¬+íR¸Ô¦¼ƒP³öí¶y¬L²Z‚¸>Yóœ’vää>{i©SçKMKW—W’ê"ÃOx#•"ó¦–hŒ8EÚr[sž6r>aUmõ{Í^§ˆ-åšÎ;Éšd2ˆƒýÄÀdÉ8~sÇ—Èù…X¿Òn.næžÖûìßimç"2\"— ÆÁ†ÇýãrC²ëD‘¦sat¶QMl–’ªEÊF›¶ùD0òØonHa÷xã”Ôî&ª_úü?_R¿ü$ž}¦—ä h.u#˜}¦l$;ÀÚ8w$«òîØüŒVž•gi1º[;4¾‘q ¸ŒÈO,{œÎ ?SYú‡†ãºšClð[E=˜°™~ϸ¬wËl?1êp¼qÎí8)_ß#+ûæ>¯¬3RÓ!Þ¥.O6! É+"¯Þ@¼’¨ pÄðš|¾$ÒáÛ¾y@h$¸Ü-ä!R<ïÜBáJ‘‚§2@¦]iz”ºÏö¾¥e"0à –¥Õˆ.NK1(˜9ŒsYK§Ey¯ÚYÄ/¥œWl7®«xÒȬ˼¨R ®æå €RÀL¥4ݾ_ÕþdJu"ݺ½/òóõgQmp—vëí-.$”\I’8Ò ÈÁÛµNâ3’H‘Žh}jÁ--nD’ÉÔbXD0I#º튥€äd‘Æ@<‘T®´mRæk¹¿µ`ŽYìŬn–¬ «º3‚Ù?÷Ìy'o.—G¾÷šmõµœÏi´„YîE »i7€¸.ÜÃîŽÇ3ÍRïOëï•[½4þ¼ÿÈmŸˆb‹J±¸ÕfU{Ö!áöL¹&<› É´„'q'gŠsÏ ¤¶ºÈµŠK›¨Ä°Ï “I;¡P7aT¸Hž™õ¢:¥ÓÖÚþÆ;{ÂÁ Y;Â=›³çdð\OFçqÔºÆý§v—è2b0ž]ýŸÚQ0IÊ Ë´œüÇœí^˜å~òÛmýw'÷¼º«Úßðûšê6ÐZGu™f†\lkh^}ÀŒ‚qŽý:zÕYüI¥ÛÚGtóÊÐɹ ¼’mˆŒ‡`ªJå±ÐúÏÖ<$º•¢[$ÖÛÐZ©º³Y| â PFç<0v¦ÛEdž..e®¬bU"ŽK{öè°Ê²ƒ;ˆ67w(”ªôC”ë]Ú?×ÞtµÏë(‡GÔͬÍckh× ÷f6ÏÌBl%²WørFÚ ®~÷AÔ/?´ó¨Û·lˆæÑŽÛuݘŽ$Îãó ™±—mÔç·¸]n~_srèÕµ•´š»[ÝÌ¥­¸{–\uû‹’FN0 '#-Öoî!Ñ>Û¥ÏlÒ6ß'ÌC"L_åEYq¹™Fìàg=9ëöÚ\ ÉˆÂywöiDÁ'(7.Òsósµzc–ÝhÚ”°ÛZÛêqÙ[4L‘=‰%Œx+¸¤Š1¸ªŽée¹Ù«'RÍ[ÐÒ½Ôm¬6 Ì¥äÎØá…årSµ88ÀÈõ‰wq£Áurbg—s#Ä…ã,|· I#rm8'#5^ëKÔžg¹³Ô ·»šÙ šFµ2 ®â¬‹¼m9vዞ‡:«c§[Z.ݰD‘ €…p 'w$ûš¥Ìå®Å®w=v ËØ¬aÌ“²–Ûˆ`yN~ˆ ÇzU'ñ&–ŸeÌò±»€\[ª[ÈÆT8û .I‚Tr$ÍTñ†¿·|ÏÞÛ2úU¯Ÿåuùâù—cüÜžsµ?»É.ƒ¨?Úì|œÌ¥RîËOëÌ™J·3åZ^hÐ}jÁ--nD’ÉÔbXD0I#º튥€äd‘Æ@<‘F‰wq£Áurbg—s#Ä…ã,|· I#rm8'#5R]ú?Þi·ÖÖs=¤vÒg¹&í¦4Þà»pwº;éØZ­Žmh»vÁD6À$œqÜ“îj£Îå©Qçr÷¶{¨ÛXl™Kɱà Êä§jp22q‘ê*®§¯[iÖör¢Kuö¹añ¼ÔYEn‰¹Àîâu¦Ý>¢÷vw«nÓDͺ0íRÅJ€­ó·,tブÜ蹃N†Æãì±Øü±žfÕØS+“÷Â’mËÉʱÆœõ°¤êkeý}ÿåóªëMÕtërê"eyÉy$p¡@„É-–§å r6óaõ«´µ¹K$wQ‰aÁ$Žè@;¶*–‘’GòEWºÒõ)u»»}JZKa¾ëS!·9Ë0%ðIî0Ú™ÎÞj\øYe†Íû:E·¶Kq呸÷L€¡9ÁÉbB¯5íÜÑÚizã'¿ò©d–8T4²*)` ±ÀÉ õ$€=Í+¡]¢¢’êÞ+ˆmäž$šmÞTlà4˜;GS×-1Ü(¢Š(¢Š(¦I,p¨idTRÁAc’@êI{š}QL–Xà…æšEŽ$RÎîpI$ôú*+k«{Ûu¸µž)á|í’' ­ƒƒ‚8ê KFàõAEPEPE2Yc‚ši8‘K;¹ÀP9$“ÐSm®­ïmÖâÖx§…ó¶Hœ2¶ã¨4¯ÐWW±-QLaEPEPEPEPEPEPEPEWŠþÎ{Tº†î -Ý‚¤© (Ķл¯b’wiìQE1…É%Ž ,ŠŠX(,p2H}I sM’êÞ+ˆmäž$šmÞTlà4˜;GS×®+¤KESQEQL’XáPÒȨ¥‚‚Ç$€Ô’÷4ú(¢Š(¢Š(¨­®­ïmÖâÖx§…ó¶Hœ2¶ã¨4[\Ãyn³Àûâ|í|gêPz‚2 +¡]2Z(¢˜ÂŠ( Š( Š( Š( Š( Š( Š( Š(  ¿ÿÈçþÿ¡ ૽ñü€nà?ú® ³žåD·¥ÿÈV×þº¯ó¯2øÿ#t¿õÉ?•zn—ÿ![_úê¿Î¼Ëâ7üÒÿ×$þT@êÚ—üÿ¯©?ôŠj—Åwšˆ×?ÐF¢¯ilf1ncóæ`¶$ÉÁ>b1êL$Å©Èñáúú“ÿH¦®Âé¬ÖöÞm–Yî˜B G— Ýö«c³:úÔÔ4m{W‡`‹¸-Á‘ÕTW0ÚD$ö#H‘ƒ‚~g`ª8õ,]HóF×±¥XóF×±ÍjÚ´všvœ™s0ŠxÎVFØÎ2#áñ”äƒÆ:äÔZ7°j6PÞZ³4.èÙ£d,;0·¨æ³åæzOúû̹yß»?ëïôþ˜Í-¦}&É®."¸™ C$ÑRFÚ2Ê@ò8¬][‚ßT±²‡_¶°—Ìoµ£¼_,[ ÉßÑòSo?ÄIVÖ­þµg¦ÜEȹó%ÿV"´–PÇàR3…'p3Ò®ÈìŠ ÆÒÀaq žHàu=ð8Éâ´jë•=¤¹£Ëj¿®ç1­ê7öc±:­µ´‰i®îfŽ×íÓä-‹Æ e ÆäÁÁ º÷[hauMQt…qÜ<Ñ S<‡;’5•IÂã%v–ùÓ§Fݹ¿[[Ë+g†Vû\È»v£/†ÉÏ![§8«u<·iìäÛ´¿¯¼â†±m§hú<ÛÖÖ×í$2ÝÀ'„¬¦VY&f';F Œ •09QO×¼Bíu"iºÔ‘Ä»bµ–&¹’F]ÊV9‰T†Œ€¬¤å€,peE'JV²—õ÷‰Ñ¬¥ý}ç9⢴Èd¿žÒ¹Ý)‰–Ø7 ]ÊÙ1cÂ/, pppÝ[‚ßT±²‡_¶°—Ìoµ£¼_,[ ÉßÑòSo?ÄIV×KET Ýì÷þ»•*mݧ½¿™ËêÚÄZjéö²x’Ô"–î´(&©‘Xƒ`r0W’É TZέcw®é𮹥½¼Oq%”!ÀaÛ(‘¥ Ù\œ}Öî£ma°Ne/&vÇ /+:¨ ÀÈÉÆG¨©­na½´†êÝ÷Ã4k$m‚7)ž†“‹m®oëï%Áɸóvü>g$Þ"{ .?µµF´X´ö’8œD’Ï™$ȪÀbM‘‚Tñ™Ú¸Á—WyeÒü>—z» ‘£{‰íUgeMêÈJÌeTÚª2À¶€qÖÑG²v³×ÞÆViËúûÎkĺ­Í­Ü6°_Ûiéåù5ÍÂAæpã60K  ÉÏ$Û &›N¶–ä(âF"²Ä à6 ö<úÕŠ*ÔZ“mšF Iɳœñ¹ieskk°ZÝ%ÌK-±–  )}û*aˆ9\’$Mñ,Ñ\¦“·S– 9§3Û„a Uó#ØJ¶çó=ª¹, p@8ØÕµ¤éÒÞµ¬÷B¥äìÊ –ù˜d vÉö«µ..M«ÿ_yNJý»ÿ˜W/âÝv].Hg[VŠ#qæ=ÂBfwîâ߇n9e9ù«oPÕ­4Æn|ýÓ±XÄVòJX’>E<àôÐÕ¨¥ŽxRhdY"u އ!äGQN~òq‹³.~úqŒ¬Î6ã\’ |G‹-)./Í·’æWlmhw ds¸cG€ d[¸ÖMµ¥¬zž»Š%Œs½ì&3ö¹;„{”‚ÝØU$ù‰Œtmû›õµ¼²¶xeoµÈѬ‹·j0Bølœò±€zsŠn­¨'N–õ­g¸Š/ ‡fU$·Ìà c¶OµgÊÕß7çþf<]ómëþ‘‰c_hÖ:A*ÆâÙnuFV2̰V’Mßw€¡°Tì«z¾¤"ÔEœÚ‹i±–HäQ¤¹rXã­¸®UT±.:6ÁUƒ|‘[îydRþXPXœ.ã’3€¾< –­A¥kš*mFÉœ–£¯µ`––·"IdŽê1,"$‘ÝvÅRÀr2Hã H¬Ü Û»üŒ¥Nœœ®õë·—üÅ„2[éÖÐLìòÇ#³Éæ@’Ä Çß>‚²¼E¥F}6C¥Á~¶ò»”&>d*nè™!‰ˆ(¸Vê4.5k+x`”ÊÒ¬ë¾!mN]xù€@I^GÍÓ‘Ï"™¢]Ü_èð]\˜™åÜÈñ!ExË-Â’HÜ›N ÈÍhùeîË’_»þ´±•â]2ãR»„Ikssf‘ü‘Û-»âB~bë?ËÐ.Ò£#/žÍ}FÂây4{{òõ,2\ ás11l)¹•‹e‰6À ÜjêúÁÓ5-2êRá¤ób¼’²*ýä É!Š‚' OI§ËâM.»ç”‚KÂÞB#ÎýÄ.©*pAÀ#$ ÎQƒnïò2”i¹Jò¶Ý¼ŽrãÃB}E„Z,ööé-¼n“ "(I>pę݀#ÉùÕNA9+T‡‡on¬Ìø~XÜy‹ýšKHÄŽÎx $L DhØã`ô k„»·YãYU8ÄÑ·«Gâ*ޱ¬Å¤-°hgš[‰V8ãŠrFFãò©åSsc© qJT)Û™½>DË I.fôù‘§XZ½œ·:ˆóô¥Õ- J°C!O.rÛž@Ç¡ 9>Î]WX:n«§[—Që+ÈžKÉ#… Œ&Il°$m?(c‘·›­X%¥­È’Y#ºŒK† $wBݱT°Œ’8È’+Y8Êé½§(Jñoc QÓfšMÒïDŸV‹N_Þ]È o´+f6É&pIÜIœŽ¢ÚÖÞÊÝmí`ŠS;c‰ªääà:“NŠXç…&†E’'PÈèrAu‹â/®‚ÖÀ‹`W‘ótäsÈ«QKð¤ÐȲDêCÈ Ž¢ªŒ^Œªp„dùYÎêqêöÇX:}¥Ì·w[ZÖꄈ‚Æ¡Q¼ÖoHŒHHäœ2{ BæMNck?› Ú‹5âÍÙ·‘¥ÎTá ±ÛÈ åFþ«q§Ÿk³Í${×íW&'\ˆðŒ\€¤°ã¯\ñ+ê©kij÷ÐË ÌцkhQ®áˆÁ$) Æ9¢¥Æ-»·úZáÝäÿN¿æbäj6PM§B²—–ƵÝQ!Ž4#y·ùžB‚È2>b:x¢ŽRcXâE ˆƒ@àAYZÆ»…•´–Û§–ñ•mŒP<ÊÀà–ùÈ —ÆA`§¸Šo}ƒM²–á'¹¸º—ËUŠÂh‹ ß1ØC2•M̓Ë8öqpƒjã‹§Mµ}¿šŒÚ”Zðº¶Ñnn’ÚÒH¢dšY^BŒs¹ÁP<°3ƒÇŽêúµµäë§Á.>¡qg,2D-º’P«±EiRÅ‘À“Î;±ê6ÒêsiÊeûL1¬Ž .)èw‘´çž‡±ô8¯½c5‘¼ˆ^<"S Ûe1mã9vnÀ ‚qŒŒu¡Æ.÷–þ(AÞòßÐÊÔíî5fÞâëÃóÜØÛÛ2y-,$Èòc”.ªyx9'æ €v:UÁm6ÖãBžî)e˜ÉíÚá±n‘O–…9pxß›_Ó`¶²¸’vß.ëg¹ew08b:)äž'Š{ëV ikr$–Hî£Â!‚IЀwlU,#$Ž2䊗6Û—åýv%Ó¦Ûn_———¡…âMòM:=>Âɦ´·¶ g%¼ePTy¾~~P6€WŸ¿žÔËÍ5tK?øG¯§´Óc¼i-÷ºù[<£ûÁsóÿ ÙŒ09lRÇ<)42,‘:†GCÀò#¨¬_xt¶Yâe‘ØÜܘBªIFÜyhù²F 8$äÞšJTâœäôÓúØÌÕ´;yõ½3M³²‹ÊlÖ“M€ÏkتryÉD\Ÿâc‚ÕÛZÛÙ[­½¬A glq U\œœÇRk°Ó½»Ò`²ÔîZ@ëgžGùlÆ›ŠŸ•‰ `°šÐ:µ—œ±,­#=±ºCLâH†2T¨!̼ žGЍ(Å·Õ•MB-ËDÙ©Ç«Û`éö—2ÝÝmk[¨" …FóXq¼9 1!#’pÏi77Ó[G47—Ö±Dù+lŤþ&‘f3€»JŒŒÉÐZoâM->Ë™åcw¸·T·‘Œ¨q÷@\’¨äHš•õ«´µ¹K$wQ‰aÁ$Žè@;¶*–‘’GòE';®oÄN4åuÍøüÿS½Ò.噞]¯¦³Ó wšXäK©N ’ÊdU!XnUçyÆvÓµYm4ÛCe}5­¢G1‹Y\ 5fÊP¥:fNpFv,5w:½ýò´†fbik#‡BXÆûs(d yèN_xŠÒÒÊÂê(ç¹[æO EŒY·Ê§!gÁÁ!Oá<”ív÷#ÙÒåm½ý ­FÂây4{{òõ,2\ ás11l)¹•‹e‰6À Ü$Ñï$Ó£Óì,škK{`¶q"[ÈUG›ççåhyûùí]¡¨EbmÒGhÚyR5³¼‰’ê0Jð¤îÀ,@Éï‚)׺µ†Á9”¼™Û0¼®@êv '#'¢©Ó†©¿È¹R…¤›üŒ+˜ï"Ò´í*ÓDÔ^ fµ&V–ß!b*øÇ˜2Ù@§ ä‘œzX¤…£h™”ã*} Ċϸ×ôÛi ‰çg{ˆ¼è0¼¾rqÊmyä 9éÍ^µ¹†öÒ«wß Ñ¬‘¶ܤdz¸(§£¹¤Sv•þãþÚþ÷ÄÖæ4¾³·‚Œ^@``åʱ>âòÔp¹$ö-VÿNžÂîoìý í±¦”¶V™1”^_)&÷Vd8‹×ø±‚Nwïuk ‚s)y3¶8ay\Ôí@NFN02=EEwªÛA£¬ÿ%Ô‘ˆ¦XXØ3(eáwnq“žqŠ™B:ÝêD©Ã[½~G?&—'Ú4ؤÐ.n´Ý>Ä[,RM <¬Â3ó!p„ Œg'ïT»ªi Ô­ôë}14›™Ò;´¥‚H|¸Ñeó„q†u$.1¼ ÀS¯¬k1i læ–âUŽ8â…Ü‘‘¸üªyTÜØêBœTZ®°tÝWN·.¢)ÖW‘<—’G L’Ù`HÚ~PÇ#o2á}.¤8Sýï]ºéØ¥­­Æ öXðå̲A<3­Á6墖FUÌ™É*ôNHu+y.îã–÷D—Q³hË´>Kyå‹—Wp¤à ÆæÐ}jÁ--nD’ÉÔbXD0I#º튥€äd‘Æ@<‘EÞ·§Y%¬“\~îïþ=Þ4gYÝÀ ‚Hû£«t5N0Õ¹~E¸ÃVåù|‹ëi§[[,K ÃF#G. ÔŒš±QZÜÃ{i Õ»ï†hÖHÛnR2= KZ«[CukhQE1…Q@Q@Q@Q@Q@Q@Q@~#ÿ ÏüÿBÁW{â?ùÜÿÀô!\g=ʉoKÿ­¯ýu_ç^eñþFéë’*ôÝ/þB¶¿õÕy—Äoù¥ÿ®Iü¨€3Õµ/ùçšÇ¿Òµ[Mï-uKkÜ fdhC`³æI*§@Ú8ë›z¸]Án¦Šy– 4R™V\1ÃñïÖª_ë—wÑ=”F8-öçÏ!î\¢5]½w`pOßN2Ø'åý}Á7å¢ùþƒn´Kç†ÚÎÊöÎßOµhŒ0=£Èq †4Ü`ü ŒæÄºv .þÙk{mÌG æ[Vtm…ˆ*ŠW—n¥»z×Ô5Û»‚§¬·Î¥åŽ–Xâ\árÉ6[¶Pµùã™nõ›¨£ÒžÛMi ÛsIåIÙÆáƒÀÚws‘Ž*w¯üuwÿ‹SðójC+KgrÉÆF¥f.F~e+6~lpv¯Ét ïô…¶Ôâ…Ål­›ì¿=¸yÔ«¨ÿ²|©ýÜj~$¼Ó¡„¾–©)¶Y¦ûDæ8QÎv&É»#1QÊàœñ¡¬ÝÍi³-ºËÜíö†‰Ð´¨ª@ w · ç45MÝÿ˜š¤îûo¹›qá‹‹™Ak«•cH£’ÞÄÅ=º¬2¬€ Îâ Äʵ¬hÚwiqþƒ&# åßÙý¥œ Ü»IÏÌyÎÕéŽmÝßÜ-Ù³°¶Šâå#YdLbDF$/!X’J¶ÂrGÏÍ'Ùd²²ŠK{‹zfžäD-Ôà7å;AÁÉVÀ,©+§úƒtÿSnÖÝm-!¶C”Š5NÕ^ÇE z Äñ†¿·|ÏÞÛ2úU¯Ÿåuùâù—cüÜžsµ?»ÎÅ…Ä—zuµÌÐ5¼³D’Tjv—!D€ä”Ls…$æ™>ƒ¨£¶¶Ôm’Ò9ÅÆÉ­ÞI7y„» s'Ï… 8¦A±¯^jVí§Á¦ÇKur#/,¥…B>ãpÈŽ¹ê žÑj²ÞiÑXÄÓRw ÆcD”ôP”i««>úŽ¿Ó5‹ï%N¥b±G$r”6.wº`ŒŸ4q¼zIÍ{ß^jM4÷ÖaÙUDñYîa@a¢L¨'q ÄÊ%ñCÿgiÓÛX4ÓÞ[%ËD¾cˆU€ 1Ž7l’HPÖäczÖµZCqåK›¿—*ítÈÎv#¸¦£NnÛýãQ¥Qµ¿Í™—Z^¥.£wwo©A Il ·Ýjd6ç9f¾ =Æ;S9ÛÍKŸ ,°Ù¢ÿgH¶öÉn#¼²7 ^ñ©'89,HU猛šÞO¯YZ[j—6qɲÈ"H˜…ô$d9ÆÉÈ}þ¨M†Ÿ{kÜXÜËdóÞI#æ0$¼ps’)5{¡J4ß72Ûþdº-Ü6•¨Ek!´ŽÕž[Q&=ÛUJ*Ÿ¸Á^˜tì-VÇN¶´]»`‰" àN8îI÷5^îþánÍ…´W)Ë šc"1!y Ä’U°þ’8Í+ý~æÊDk=ô± fL’ fh£s’rÚØÜñƒW„5ÿ2ïN ¿ó%ºÒõ)uŸí}JÊDa†-Kª+\œ:–bQ0r$æ²—NŠó_´³ˆ^ K8®>Øn-]Vñ¥‘Y—yP¤]ÌÊA¥€Ð¸×®–h 9vIgö¹êãÉû(㉆ӰcvÉ%X`XW¾ñEÕ¥´§JòÞKE¸—ír´1ÆÌîüÏ,¨|Œ|å9+×Õ‰-àˆ[5oÌ·y~^üìWùH…c¸§#¦Iµ«èítyK̺Ž¡’m†"௠m`Ç‚1±â‹Ó³·ê$éYÛ¯¯áÿn«áÆÔïÞèj3Û¶ÁV% ­ cŸ¼~b9Py!ˆ¯¬xBBÑ-mÞÚ8RÐZF·VÆãÈP , >'œíONz Y&–Ò. ò&xÕ¤‹xo-ˆår88ƒv>NÎe—G¾÷šmõµœÏi´„YîE »i7€¸.ÜÃîŽÇ;u®ë©£ÂJ"Ë*¯™"°—ÇÏÎÆ8ßhàã †çƒU(B*ì©Bœ3ÓæÌýOÁë§Ch²Ù…K5´}¡˜B#| ¾cny$±;Sû¼éÜé3Mœ°ÜÅlö}<«p|… EÏÊ@,%”n9VÀ"£ë÷Ãì¡tÈËb.ç3ÝybÐñ•—)•݃‚IFù@†]x’òÖIKPgÓÞìÄó•‘d]ƒÉ ³–/"(èrOýÒ»ÿ2?p®ý;–õM7T¿™Z…œV©*J±=›9%0F挀à7täg/—L¾7j‚þ(f–à¹ao»! Ñ‚ØC—½¼}Þ89жk‡·VºŠ(¦9Ü‘HdQÏbªOì+3ÄÈdÑYYá–Ib†9a™ã1¼Ž#ò‘¸.ýÛO\£œ¿ÌÒQŠN«þ‘^_]/Ú#±Ô"µ„Ø­• òžÕGVWóÉOº„ço;v°ýžÒ1òãTÄI±>UÉÚ=N+3]×SG„”E–U_2Ea.#ŸŒq¾ÑÁÆ@ Ï«ßêš«ØèÍgg7:„‘ïK‰JH_5ü‡ª£¡8=éÁ»n.jpnÛ’ëöÚ\ ÉˆÂywöiDÁ'(7.Òsósµzc–ÝhÚ”°ÛZÛêqÙ[4L‘=‰%Œx+¸¤Š1¸ªŽéeÖu·ÓfŠÞÚÑ®§e.ÁVB#^ƒw–ŽÀ“œepv·<`—zÍÔQéOm¦´‡Pm‚9¤ò¤‰ŒlãpÁàm;¹ÈÇš§wÿRT®ï¿]Éo´Û«ÁbâõbžÙ‹3¬9Š, Ÿ•°ÍÅ”n9Vàˆ®´½J]FîîßR‚’ØAoºÔÈmÎrÌ |{Œv¦s·;Y&–Ò. ò&xÕ¤‹xo-ˆår88R@ãN§­]­«R׽̊WšM¥ôÂi|ô”.Òö÷BXuŠ0ÜN3œd㩪òøsM–á'ÛsÇ•‚òh–4ÀUQ€Qò¯‚µh¡Â/t'NtfM i÷S\H“–ƒL‚êQ„(_š0ÛXmP#sEæƒct.g7†Um˲ödvíʪ¸ pHàw>¦´è£’=ƒÙÁôF|ú-…Ï—çG+ìŒDs<Ÿ½AÑdù¿x9<>~ózœ²ë@Óïf»–tšò! à]J¡t\½1÷›ûÇ:tPáÐ8=ÐÈ£XaH”±TP »8¤ä“îy¬Û¿i·Òܼësþ•þ½#¼š4“å Ê«?(§8­Z(qMY¡Ê’³W ¥y¤Ù_Ì%¸‰™¶ì`²² û®€ëÉù[#æök¹gIÙ¯"ÎÔªEÀ`ëÓy¿¼s§E'½Ðœ"÷F|ú-Ç–\ܫnjIܱ»(è•|dýâzŸSWbŠ8!Hac‰*" €>Šj)jÔRwHÊ½ðæ›¨\\Or·%î#JòdW@ UX rxÇsêiך ýйœÞU·.ËÙ!Û·*ªà)Á#ÜúšÓ¢§’=‰öpìŒùô[;,¹¹WŽ1’+¹cvQÐ3+øÉûÄõ>¦‰ô[ ü¼G,\b%û,òAòº§ËeÈ8¦N1“ZSä`öqìeKá½.o´‚UKˆÚH㸑Ê^ˆXž[ûÇ!ðæšÒ»²Ü·™·ÍF¼˜¤¸P¿:îÚùUî8ç5«E/gÁì¡Ù¯4›Ké„Òùé(]¥íî$„°êa¸ œg8ÉÇSPßè–º„6–“*>݃D\$…~â°]¸Á!{Ü"÷@á{­Â©^i6Wó n"fm»,¬‚Eþë… :ò~VÈùœÝ¢›IèÊi5ff]h67—¿l”Þ ö• ìÑ…+€Ú¹ÇR3ZtQBŠZ¤ )6ÒÜ©¨Ù}¾ÌÀ$òÜI¨Ûr£‡\Ž22£###<޵£¢Øj»¾Õ§|~SùSɘœü­±†áÉàç>¦´(¤âžèN–è¥q¤Ù]ÃW4‹ ìRÒ±,¼eXç.§*Ù jíSI-†’[‡Mº¼ñ4…õ½²Ãc‹fÑ\3>ç 32”•c'ýì‚·¯4›+ù„·36ÝŒVA"ÿuÂy?+d|ÇŽNnÑR µ¹*œu¾·35 OÔæ’[¤œ´±dÝKt°¬€#æn¾¦›/‡l&¸Iݯ¼ÔËW]Bu!p?}ªO©95«E{ tà÷H*•æ“e0–â&fÛ±‚ÊÈ$_î¸R¯'ål˜ñÉÍÚ*šOFSI«3Ÿ¹Ñ%½ñ4·wV–ÒY<À\ºÉµK± ¡pÈÅÀ([i  Õ½Óm5 Ÿj‹~̆+•=U°Fä8S•8nŠ•«ù’©Å_Ì̼Ðloî…ÌæðÊ­¹v^ÌݹUWN çÔÓçÑl.|¿:9_db#™äýê‹'ÍûÁÉáó÷›ÔçBŠ|‘ìΌ˭O½šîYÒvkÈ„3u*†AÑp:ôÇÞoïÍm§,¯rÒ´„D°B–1 äüÌI,Çïò3ÊäÝ¢ŽHÞöHÞö ÏÔt[ WwÚ£”ïÊ*y"óŸ•¶0Ü9<ã'ÔÖ…ÚMY•(©+5s*_i³ý£Í[—ûL o6o&ùã^€üß^zÍœî9¯“s7ˆ-o/-àútO“-Ô’I––}Ê2JüG9ÝWvŠ—N=ˆt¡Ø+2óA±¿º3›Ã*¶åÙ{2;våU\8$p;ŸSZtU8§£EÊ*JÒW3/4 >þÂNËåy,VêT2'÷\«ã“÷³÷©Ì×M•Ü0EqH°®Å-+ËÆUŽrêp2­Ø®ÑK’=‰öqìR¼Òm/¦K礡v—·¸’è Q†à2qœã'MW—Úl· >Û˜ž8ü¨Ä“D±¦ÚªŒ•xt«E{ tà÷AUå±µšöÞòXUî-ÕÖ’±»çg®2;š±E6¯¹M'¹JóI´¾˜M/ž’…Ú^ÞâHK 1F€ÉÆsŒœu5^_i²Ü$ûnbxãò£^MƘjª0 >UàÐV­œ"÷Dºp{£2mO¸ºšâDœ´ìdRˆä!BüцÚÃj€A sš/4û¡s9¼2«n]—³ C·nUUÀS‚G¹õ5§E‘ì΢3çÑl.|¿:9_db#™äýê‹'ÍûÁÉáó÷›Ôå—ZŸ{5ܳ¤ìבgêU ƒ¢à0ué¼ßÞ9Ó¢‡¾€éÁîŠO¤ÙIuau$LóØ+-¼+1P˵²Iù‰«dÕÚ(¦’[’[QLaEPEPEPEPEP_ˆÿäsÿÿÐ…pUÞøþ@7?ðýWYÏr¢[Òÿä+kÿ]Wù×™|Fÿ‘º_úäŸÊ½7Kÿ­¯ýu_ç^eñþFéë’* õmKþG×ÔŸúE5vMf·¶ðËl²ÏtÀ1<¸fïµ[=™×Ö¸ýKþG×ÔŸúE5Kâ­óWÕço³Ù¼Km´r=‘ÀžMŽÁ·š-¥ÁÇÎz榤œct®a^RŒovv‘êuµì!–+ˆ’T0@`Î;óT®¼G¦Ù\KÍr^'1ÙÍ"«°R«¹TŒëÆ{Š»ci”6ÑEJ‹ÊÛÅåÇž¤ªó€NN2zõ5•|—¯Xù:DþD7&yn‘¡ØÄbÜœg䜊“’жá9ME[K–¡×-nf²Kxç•nÚUåíòÌy ½[ á·;q’ÆFt$vEcià0¸È€O$p:žødñ\Ö©§¼ú¤îÞk»k[fû4AâH®e‘ÃHäd#ËÔ9Á;j½Å…Âéš-ˆÐ.ndÓþÌVìýœ2ö3m\‚J<É9`cÚI^ëóÿ#?k5{«ýÿåêvW¯iwšÝÔŒú4ìÞRÅ Ýym€eË3 ÂHØ ˜Î~E#v®Ê´ŒÜ›V5„Ü›VµŠZ¶¢4:[Öµžâ(T¼‚™T’ß3 ŽÙ>ÕjGdPV6î Œ€HòG©ïÆO‹®Ë}9ŽÒ òh’æZt’GY>PÒI*œc$ó€ }mn5²Ç‡.e’ án ·- ²2®dÎIP‡ êr@̦Óvþ¿%Q¦ìŸÜÿÈÚ¹¿[[Ë+g†Vû\È»v£/†ÉÏ![§8«uËêv÷޳oquáùîlmí™<––dy 1Ê U<¼“ó@;wU[*à¶›kq¡Ow ”²Ìd‚HvípØ7H§Ëœ€ˆ ¸<'RI½??ò«$Þ—_?//S²¢¹/h÷’iÑéöM5¥½°[8‘-ä *‚£Íóóò´¼ýüö¦^i¬ë¢YÿÂ=}=¦›ýãIo½×ÊÙåÞ ƒŸŸøNÌaÈI&×/õ÷ Ö’mrÿ_qØQ\~­¡ÛÏ­éšm”^PÓf´šl{XÅS“ÎH"äÿ®ÚÖÞÊÝmí`ŠS;c‰ªääà:“W6Úkbá9JM5°é‘AXÚC¸ .2 ɧ¾åëÜꨮ6çLi5Ë;i´õÕžÇLHf–W ç´…iCuE0»¾ApB’3RêÚ%äðØZÝ-棵²¦øVÝÌ’Žä[‚W$ÚFHÌ™<ò{Ykî‹ÛJÍòmEqs ¤BIßb4‰8'æv £RÀS,!’ßN¶‚gg–8‘žO0’– n>øô•â-,j3é². õ·•ؤ¡1ó!PwDÉ HÜAE·Qr“QºF³“QºZšWëo¨YÙ˜ew¹ß†M¤Fd–Î9 ’ÆFm×5¬ZO{«M,Ú·öö–…mc2ƱÜHì «†n@Û—«³õ]SYiÑZKr–Ö1¬"µl\*Ì¢RÀ»,“Ë䟖¡Ô’¾—2ue/u¿ëþì..a´ˆI;ìF‘#üÎÁTqêX –¹{í $°Ða]!o"±P¢+£eQ@®zmÉŠî9E·QÔUÆM·ti I·ua’;"‚±´‡p\d@'’8O|2x¦Ü\Ãi’wØ"F ù‚¨ãÔ°ƒâ¦¼¹µDÐ'¹kk˜¥K°`Êes³s†É*ôà“Î/×tãª*y4x®ü™Ú,•-P¯œ€™ ±]Ç(¸Vê%ÍëdLªK[-½Èè(¢¹}KMÕañÎ¥¤YÙï–+Ty¤ÀyÊÞbg¦Ü±É€8+S“н®\æâ®•ΖGdPV6î Œ€HòG©ïÆOWVÔF“§KzÖ³ÜE —C³*€[æa1Û'Ú¹©´5±µ±°´ðë\=­ÌW} vé— ®ìŠdK Ž2¥¬\_ÝżZó ž ÞA$(FY6€d9P§ äNaÔ•žšÿ^FN¬¬ô³ûõû¿àz¶¢4:[Öµžâ(T¼‚™T’ß3 ŽÙ>Õv¹ýbâþî(-âÐï™ðNò ùB2É´ ÉÊ…=$‚p3»´£´m2‚c|eO¡Á##Ø‘W^LÒ2¼Ÿb½ÍúÚÞY[<2·ÚähÖEÛµ!|6Ny ØÀ=9Å[®kX´ž÷^Š[[Û X0¢XÏžòlìf¢ùÅüD¿.ê¥} ^<¶×6óÜÚÄ®ÑÃf-Ýbfvm¥n>R¨¥ €@‚C©$Þ—3uf›÷oý//S²¢«ØC%¾mÎÏ,q";<ža$ ,@Ü}ð3è+ Y·¼]ZòêßDþÐy4ß³@ÇÊÙ¸³—I:–Cˆøç61“›”šW±¤¦ãØéh®ÿÃ÷pChš=̉oi¥°½6òÁ·`Ë>IäLGøØµ|K¦\jWp‰-nnlÒ?’;e·|HOÌ]gùzÚTdeóÁk+7Êgí¥fùvþ»··‘ØZ´òa¹QQ.ìÁUFxÉb$y sO¶™ç·Y$·–ÝÛ9ŠR¥—žûIüåõ>k‰4{k¿Ϩŧ®džG‚o4ù[væFRÀ“¸±&1òóýCM’Âúé´ßÅqÓ~Íl±¤)³3³¤ŠYIB|³ŒâÆ 9=¤®Ý´þ¼ƒÚÊíÛOŸù|Ý[QN-ëZÏq*^A̪Io™†@ÇlŸj»\½Ìw‘iZv•i¢j/³Z“+Ko±|cÌl SÐrHÎ:·úœöÐÚ%µƒM}tÀ%³Ê©åŽ®ÎÃvz7rT îÔõm”ªjÛÛNŸÕÍ:(¢µ6 (¢€ (¢€ (¢€ (¢€ (¢€ (¢€2üGÿ Ÿøþ„+‚®÷Äò¹ÿ€ÿèB¸*Î{•Þ—ÿ![_úê¿Î¼Ëâ7üÒÿ×$þUéº_ü…mëªÿ:ó/ˆßò7Kÿ\“ùQg«j_ò_ssî|¿»ÜØÑîæ¿Ñ¬î®ahn$‰LÑ´mGÇÌ6· g8öõëU5}`éš–™õ)pÒy±^IY~òäÅA†'€¤Ö¬Q¬0¤JXª(P]‹RrI÷<ÖUÖ—©K¬ÿhÛêPFR# 0Éj]QX‚äáÔ³‰ƒÁ'4åÌ¢’ÜSSPIjôþºZ°‘ÂG$®íÜX$$ª6Öwï‚@)÷ã^ûÄV––VQG=Êß2y($bÈØ%¾U8! >  “xnò#t4ÍQm…Õ·“,’@^Mûås"²º…bÒ±à``Å^¹Òfš 9a¹ŠÙìúyVà ù ‹Ÿ”€X.K(Ür­€DÞ£[_yÕšz_y«XWºüÖZÌ–OšÄ²Ý2´¯)uD #<ïB' óv n×5©øVmBâòxõ/"I'ŽæØùĨˆo œ1Ä Æ¸äª¼ö÷ ­ÏËû½ÿ®áˆ5‰mífM&Ä‹©Ì0íýæ |àù8ØUÁÏ+Œd ¤Öõȧ¶‹f®E´`ß8Ë)0à¨]Ù>¨Àdඇ©$¶Kmc­†E¬ dí°mعo8! /`wFq‹wzv¡s¬ZÝ Ûakm&ô­X¶Jí'xs‚àq»H³µKnÿ$«[Vúvù™SøÁ¬§òµ,l –YÅë)]Ñ).fAQœvû¡´¢Õ5)áHâÓ`ûz¨k˜žèùpÈC C—Áp$à®ê÷º¡yý§FØ}»dG6ŒvÛ®ìÄq Îw˜`üÍŒ|»mɤÜ˦†ûʵ¼Ip‹óKTÂHl"ÿ o½†‚¢ö½Oëþ"«__Óúí÷¿•tñ —-––Ð}‘´õ¾’k›Ÿ(Â1@Ãi;NH'[?ú¤>"×%Žm^yR(âšñј´bCÖaWvyêŒN»/‡÷Ëq sÅuÅ4ŸËUÚ"G GŒü»IÜ‚ Mw§j:ŭн¶¶ÒoHÕ‹d®Òw‰8.¹€iÚ¯ÈmVïùinDšƒhöÖòI*LcA¹±!ßµKÚ$sjk— žÞÊ+Ƽ¯œÆûÌ>V©$,m×5«øZ}i魯ÔvÉ,ÚÛÊYQ`Œ±/¹D HX8"ðGSRP´7*¢œiÚžÿ"íî·%ž¹—ÙUíYcóî¸0™¤`¦ß˜3¹ŽI`šš‰¦˜Ç&¡g¥´öÆâÞXîc2ïUWË'z>ñÞ w˜èW— ¨=íü\ܬ^L±[Ä"Z3´»nÎì¤IÇEºŽóOû5Ý´zu†­lÌÀÙ÷üÎNÒàdcæä1Ôþö÷ÿ/ëb_¶½×éßüµßvhiÓ_Oh²j‘ZLÜùQÏæíNÐ3œŽ28êk6÷_šËY’Éà³X‚Â"–[¦V•å.¨DgèAäá~nÄ Úæµ? ͨ\^O¥äI$ñÜÛ 8‚U ä†8„xÀwƒUSErêþEÕöŠ+“Wò"ºñV¡k¢ DiVÒ±óœCëðÇÖU>V –ÉÀÁL\ ÒÔ5kË}FKk[[9"†Ø\O5ÍÙ„D `3û¶àícœñ´çg6÷Á¦öÞâå ´VK•VÞœ†_Þ6‚Nع¥O'†d½šêïQ¸³ŸPeO²]%žÃhS%J‚íîÇÉ‘€3^Ûú·õ¯õc%õŽ¿§þÿêÄÓk·†e¶,BÍnçkë“nmÃgÆÆÁù[¿[8ã,Ö¼Gq¦é0_Ûé¾sI\=¬Ò˜fDU Ä®Ö(?6HÁÀ,2O É{5ÕÞ£qg> ÊŸdºK=†Ð¦J•Û 9ÝŽ3’ #E©xVïX[·¾ÕÜImöhZåŠ8”’\”|å¾^§"äb‡í¬í¿ËúüÂ^ߕۗõùšºÜ–zä_eWµeϸàÂdb‘‚›~`Î6ä9$‚sm|M¬]Á ©¢[*ÜN°Ûï¾q炞`‘s÷6e¹ÁùHÆî*éЯ.P{Ûø$¹¹X¼™b¶1ˆ D´givÜØ=I ’0Ž‹uæŸök»hôë -ZÙ™€ ³ïùœ¥ÀÈÇÍÈb¦ý«wÿ/ëaµY»­ËúÛ__Â+_Ý-ÓÇ«iñXF#‘£e¥iJJ#!WËä”#»oM ’q«§M}=¢É¨ZEi3såG?›´`u;@Îr8È㩪·zv¡s¬ZÝ Ûakm&ô­X¶Jí'xs‚àq»HµkH)_Þ‘­5;¾gùjTQ¶—S›NS/Úadpap¡OC¼§<ô=¡Å/øH¬f‚ –tYnE¸y,fÛ¼:©S•I'h'w®¨µ_6§~÷CQžØ•¶ ±(Àh¥iýãóÊƒÉ @Áu¢_<6ÖvW¶vú}«DaíCˆðT3ù ãåäg2ÝMtþ¾òe*ºÙ_ykXÖbÒØ43Í-Ä«qÅ ¹##qùTò©¹±Ô…8¨µ]`麮n]DS¬¯"y/$Ž(0™%²À‘´ü¡ŽFÞe¾Ón¯‹‹ÕŠ{f,ΰä(T²‚~VÃ67Q¸å[‚"ºÒõ)u»»}JZKa¾ëS!·9Ë0%ðIî0Ú™ÎÞ\¹õ·—õ¿È'í5·—õ¿È°úÕ‚ZZ܉%’;¨Ä°ˆ`’Gt ÛKÈÉ#Œ€y"žuk/9bYZF{ct†(™Ä‘ d©PC™x<Ž9F-âÓÉûìVØ´ŠÒ\@_ävÓæùOÎß{ððpsχ®“ÍIÔ"±†Kì€hGS~ÖG) ;ç 4¹ªvþ¾ðæ«Ûúûÿ¯2Å÷ˆ­-,¬.¢Ž{•¾dòPHÅ‘°K|ªpB|þ•s¤Í4rÃs³Ùôò­ÀAò%?)°\–Q¸å[Z¸ó]ó{¾b¥î£ma°Ne/&vÇ /+:¨ ÀÈÉÆG¨ªç_ÓC\=ŠÛ[ ¹$X\ÇåÁÀÚÀ€q‚sƒèj¾± iÝ¥Çú ˜Œ'—gö”Lrƒrí'?1ç;W¦9|ž†I¬ó3 hm¾Í4 Š¢åFÝö€6®åœºYL·RîÈ–êÝÙhX“Z³ŠÞ˜\þûvÈ…¤¦RÁ>X]àŽHÇ#Ôe—þ›m4<ìïq†—ÎN9M ï<ƒ’=9ªúÆý§v—è2b0ž]ýŸÚQ0IÊ Ë´œüÇœí^˜æ)t ïô…¶Ôâ…Ål­›ì¿=¸yÔ«¨ÿ²|©ýÜåS¢þ¾ñJU“v_×ÞhZÚiW²Ã­[ÙÛ<ÓF²Gwä#)\¸ßtãéÅ3XÖbÒØ43Í-Ä«qÅ ¹##qùTò©¹±Ô…8«Ö°ýžÒ1òãTÄI±>UÉÚ=N*¦¥§M}-¤Ýyo!pLañ•*Yyp€'rüÇ*Übšj>îåÉICÝßú¹_UÖ›ªéÖåÔE:Êò'’òHáB€# ’[, OÊämæÃëV ikr$–Hî£Â!‚IЀwlU,#$Ž2䊯u¥êRê7wvú”´– }Ö¦Cns–`Kà“Ü`µ3¼Ô¹ð²Ë š/öt‹ol–â;Ë#qï™Bsƒ’Ä…^xÉ–ê&쿯¼Íº©»/ëï:¥ŽxRhdY"u އ!äGQUu B+n’;FÓÊ‘«ýäL—Q‚W…'vbO|V-mÖÒÒd9H£XÔíUà tPú ¬ÍSMÕ/æA¡gªJ’¬OfÎIL¹„£ 8 À9ÍÉË—E©¤Ü¹tZ¼ñ&“§ÝÉkywäKÂáãp¹Â¶q™à¶v‚@$Lÿ„£I&%ó§ß2»GÙ%Þûc€»rYH9\dHÇ5_ûPží®o5iYç·wT´d8‹2Çþ°ãç;ÃuÎAÜ¿(Í´±¾·×ÒÏí³¬°ÛûRéÏåHòÈòNÁŽU\툂X 9„dçQ=¿¯¿±‹©Y=VúïÛñ7u›ûˆtO¶ésÛ4·ÉóÈ“ùQAV\nfQ»8ÏNECPŠÄÛ¤ŽÑ´ò¤jÿgy%Ô`•áIÝ€X“ßV}Ö‰|ðÛYÙ^ÙÛéö­†´y#ÁPÏæ‚@`Œ”‘œºÿLÖ/¼•:•ŠÅ‘ÊPعÞé‚2|ÑÆðè$g4Üõ²þ¾òÛ©­—õ÷šºµ†Á9”¼™Û0¼®@êv '#'¢›q«Y[æV•g]ñ hšrëÇÌJò>nœŽyŸ©èjSC<ϧO*ıºÞXùñ‚2KF¥ÆÂsÏ'!Wû¼º]î›JÔ"µÚGjÏ-¨“ 팪¥OÎÜ`¯L-Ê¥ÞŸ×Þ7*·vZ^e½îâÿG‚êäÄÏ.æG‰ +ÆXùn’FäÚpNFjXõiu9´å2ý¦ÖG ô;ÈÚsÏCØú>ÂÕltëkEÛ¶’!°0 $ãŽäŸsYZ¯‡S¿{¡¨ÏlJÛX”`4R´Ž~ñùˆåAä† a¾umXß<`¬®ú–£×¬f²7‘ Ç„Ja;l¦-¼g#nÍØN1‘Ž´M¯é°[Y\I;o—u³ˆ\‰2»€1òOÅfë‡P´K[w¶Ž´‘­Õ±¸òDKƒÉç;SÓ›hú£OdÐßéÑCd¿¹„X6Õ}›7 J8¸  ÎHG5^ß×ÞG5m­ÛþRÔÚþ›µ•Ä“°†ùw[8…È“+¸ÃÑO$ð  òè:ƒý£ÉÔm­÷Ø­œM£/Ù±÷šaÚ¥Š”9[çnX0éÇ5fÑ/–{!c{g‚âÖÞKG¡Ù°Þh,B–¶œRsÖËúûÉ›©ªKúûÿ¯3KMš[>)f}ò6rßf{|òå›’ËøõëÐÕº(­ˆÙ++QLaEPEPEPEPEPEP_ˆÿäsÿÿÐ…pUÞøþ@7?ðýWYÏr¢[Òÿä+kÿ]Wù×™|Fÿ‘º_úäŸÊ½7Kÿ­¯ýu_ç^eñþFéë’* õmKþG×ÔŸúE5]ñ?Š?²uˆbŽ{KX%º–¿ò¤wUFWiÎD›•OÞ 6üÔµ/ùcþ§¼ 99ù—æjú–«¦\J¢[ë¤±Ò„× n¶è²HD€HwŒ®<¶8]ça÷dÐ4ùXIÈÚ×íRí”ïv$$ `I‘M—ÚlÿhÞ·?é­Ä˜¼˜fEû¤a¸Æå_îŒ\¡6´‰r§Q­¾¯ü½Äú­Ö‹¦Cf¾#òõXí%¸i¤XM· õcò¨ãq%Šàéjw÷¶þ"ŒÃtËin¶ÂkbŠDÆyZ%!±¹J‘»© Àùy'B]Oo–TÅò„¸Ýu), ’ß*üÍò® Åè|6×¶á'x¯—mÀ–êY »z³Þ20p ¥ìê]ëø¾ŸÒ¿ê/eVï]=_KÿÀ¿ãs±:íÅ–—q6¿r¿Ú“¡‡dP* ”†Ì\¿ÊË‘ÈluZg‰5kíM[Fñ Áª$W7+#ù8–5cå«)N\ªíyÚê%ÑlæÔÓQssö”û¥nåUŒ¶àí\Œ`ãœÓ%Ð4ùÖùeIÜ_(K×R’Ê !AÝò¯Ìß*à`‘ŒRt§ÊÒ‹¡S•¤õõÖæ/‰oõ8u´±º¼·†×O¼‘$ 3þð_hœ„ Hè6–¶·ŸlÓ’×T¹´ûTâ#H™@òÃ!9! õd^žÓ¤8¼q+n•d¾ÖS€>u.C  ‚:Sæðí„÷féÚûÎ;°Ë¨N»CH>$J®IëçæÊöu5¿_7þ]Š—6÷ãVÓì#×/<K,ž\¸FQõx2¯#Œ&1“¸ŒóÞ"}7V¹·‡P‘Q qÆWg–òîál•]½F26ï|9¦êÜ­É{ˆÄR„¼™Ð•Vž1Üúš&ðí„÷féÚûÎ;°Ë¨N»CH>$J'­¿6MRÛÕÿ_ðæeÕ®³myo x‚ómÝàŠÛ’±ˆŒ¸y\±(à`à§œ_kZMôkw{.¤.¼È­ão*5YM̨1Iè<·ÀbÊ+V]ÎmM57?iOºVîUP8ÈØnÕÈÆ9ÍWÔm4{[ØõmBí­¥V’K$Q烴.ð¸;+Œ¼ƒC„•Ýÿ°:rÝú÷{tëk›KEŽîþ[麴²F‰ÎpryÉ穨®ïîìÙØ[Eqr‘¬² ¦1"#¬I%[á9#ŒèU+Í&Êþa-ÄLÍ·c•H¿Ýp¤^OÊÙ1ã“v´M¤š£ý~eµÙ®sccöˆõ<L#d-‘r0F0§vG`ÇŠÖµ’im!’â"gZH·†òØŽW#ƒƒÆjÖƒcy{öÉMàŸiPÑÞÍPq¸«œu#5zK«x®!·’x’i·yQ³€Ò`díN\R2mÉŠ*i·7ý^g?â‹íJÞîÆßMûsI$rÈÉf!%ðQT"£t‹–À ŽU×ÖÚ»i¶ã^¼ón.L&E†6$¹ ÆrÛfA8luõÜN›¨bòëì²É¶#$×®‘¶Âí-°ðXޤž¼Ó.´-0Üý²âkÄ”±A'öŒèv*áÀ¶Ñ´q:T8I¶ïøôÿ‚e(I¹;þ/EÿϺµÖm¯-áo^m»¼BÂ;rV1‘·+–% Tó‚ Mu¬XjÑGq©4ñ[4BhÌqâán.$Š2H@U‘B“ŽŒqÉ;²è¶sji¨¹¹ûJ}Ò·rªÆFÀÛpv®F0qÎh-€MA r²j9ûJ¼ò0|®ÓŒ·ËÇ.8v=œ¯£ü_õ¸:S¾ñÖÿÉZßë—Yl¿ÕgK‹k{‰ 1Úâ!<„.spЧ$)Üyù­Ûïí+_³ ­Jæ;HàQ5í¬PÞ ‡yUÕ¶¡ùHØ0¹rØb i—-te„]±iÕo§U‘ƒ•Œ`Œc‚Ÿu¢émq-ÕÉ•~Ñ"ùªnäX¥bdܲ®ç§5*œÒÕþ,˜Ò©îÿývÿ2¥÷ö•¯Ù…Ö¥s¤p(šöÖ(GïC¼ªêÛPü¤l\¹lÛµŽh­!Žâ>dVIvó[“Î*ŒÚŸqu5ĉ9iØ4È.¥ÈB…ù£ µ†Õ‚0@ç5§ZÆ-7ÌÞi¶ÿ3šñEö¥owco¦ý¹¤’9dd³’ø(ª ‘NѺEË àG+,My"]ÛÍ­K Z|Œ'½òâY• åJ**:‚q– Ÿ”›Li6ƒUmLyâé”+q& ›¶àdžI=Nh“I²–ô]¼Leܨ•„lÃf@v³ 1«ÏÉ+·ÄÍÓŸ3•÷éw±ÍM¬ÞÉsf·Wz„¯§ÛÉ%½¥ª°iåfP¤º0Œî]¿;KFÓž¶×íd‡í~WÚ|µó|¬ìß›nyÆsŒÕA¢ØÔÇ+&£Ÿ´«Ï#Êí8Ë|¼qòã€a‹±F°Â‘)b¨¡Av,p=IÉ'ÜóNœdŸ¼Ê¥ Å·'s•ñ®¶úl"Mel/–Ú[• b!Âã UÔ’ÌxPþ#Îݧ­¬«­Kû>£%Ñ”EwúSÉw Z–ld·Èƒsp00HéWlfµžÊ³¸[‹}»RU—Í {'qã’I9¢*Jm·¸AIM¹=úúýìÐjzu´w·Ö±ÉÒHÖv¢v`»|·#—wNÁ,Êñ>½yc¤Ú£j‘izÏØ^êX·DP²¨ÊaƒKeT?ˆå¶àõI´«jcÏL¡X‹‰6Ý·$ôêIêsPË ió­òÊ“¸¾P—®¥%”Bƒ»å_™¾UÀÁ#©œ*;Ùïëý]H©N¬”¬í7ý]L­kR–|Û CQµ‰m¢+¥²H%–IPhÈC•ÇÌ@%‡M§%ÌZòÜY­Æ°ÖòÞ\¤A-#£Œ7Éñ–$´r“Àe<àƒ«§Ãm{nwŠùvÜ n¥¸Û·«1 íã#z ?°l~Û á7†xT*1½˜€Þß‚ÕÎ~ñ9¡Ó›Ýþ,*VÿýmèfÝ[êðfÛ¾¹r³\]¼H㄃ód Aï˜Ð/óƒŽl@5+›«›X5FX¬Yc2Ë4“LTI†À åítP¬H?0ÆM‰¼;a=Ùºv¾óŽì2ê®ÐÄ€ ÇÒ¥¹Ñl.îi£—/1y9xÇ΂¿¸€àbŽIMSŸôÞÆUÅÍå´·O>©rÖú^šé †/ßLU‰ ;\nqó§gqö}\]é6ë—)pö’Ku$QÂUÙ 1ñÌ£û©Œd–i6RÞ‹·‰Œ»ƒ•°˜c ÈÖa† ‘µyàb½ï‡4ÝBââ{•¹/qŠP—“"º@RªÀc“Æ;ŸSC§.Ÿ›¥>ñב…â¿$ZtišÚÙÏ-œ—±òñ" ‚®¥‹18P6ÿçnÓkZÔ¥‡_6ÃPÔmb[hŠÇil’ e’FTÚ2åqó aÓi΄zV©ÚÞMu¢»&‘/$pê¬ß*°o•rÌ6®$cµK§Ãm{nwŠùvÜ n¥¸Û·«1 íã#z \•nûúÿ_×R}Y6ï¿›óüôÿ‚^µûGÙ!û_•öŸ-|ß+;7ãæÛžqœã5‰¯Þͧ§[G{}k‘Í$gj'f °·Ër9pwtàŒÀØ£XaH”±TP »8¤ä“îyªO§XA©VG–;‡Ùfº# ®ÍÛO,p1Õ³ÔÖ“MÆÈÞ¤dãdc½þ¡‰îï.§µK 1e½‚Õ"qç²32©`pÈ8ÜAÜ„ñÕg½Ô,¯-ìoõDOœ&Cim‰ç‘Ù@ bÛÊíˆrôÚÄîêú5¥Âê:„Ñ[fEæk“O )d,œ$6Œ}щF‹`PC¬šŽ~Ò¯<Œ+´ã-òñÇËŽ†3p›Ñ?ŘºsnÊ_‹þ»~&V­{}Æ‘m=íͬ²A$—-§Zùá™BLnÀn|†ô –K Ýþ¡k'Ú®ÿ²”h/^/,‘1‰d` †Q‡òIîüÚè¶pjù ÏÚkf»•ƒ*‚*['‘Ô“ÔæŸ&“e-è»x˜Ë¸9Q+Ù†0Ì€ífb Wž+’w½ÿ½K·Åÿ_q%Ö©-¥…Ýì×:u¼–‘Épö±Çû‰HËù¢PÅPe@ qó— E{ûf=^ÚÂ+­FQµ°¹šÖ+pä¡•ƒ«+1 tû v¦Ð4û‹©®$IËNÁ¦Au(ŽB/Ím¬6¨‚9¨§ðÆ™r×FQxEÛVúuY 9PøÆÆ0è*]9½ŸâL©T{?Åÿ‘§kÑZCÄþ|ɬ’ì æ0¶'œTµRãM´ºÔ,曆uÍžÿ!÷³xÃpG­[­ÕΕ}‚±5‰/"»Gk»›M8F7\Z¬GËlÆ_1X„ÆÜ|å°#n³&Ð4û‹©®$IËNÁ¦Au(ŽB/Ím¬6¨‚9©šmhEE&­­þ±s¤Cif"mFûÊi9ãÌ"G*Xçn>VçŒÿÄOo §Ù´ùåžx„Í ‘ɘôÒFV' 0v?<`è^i6—Ó ¥óÒP»KÛÜI aÔ(Ãp8Îq“ަ™>‹a?—ˆåƒËŒD¿ežH>A÷Tùl¹'ôÉÆ2jjkfC]y_¡nÖµZCqåK›¿—*ítÈÎv#¸¬ÍzóR·m> 68[«‘ye((2÷†DuÏPH<öÕŠ(à…!†5Ž$P¨ˆ0t^÷M´Ô6}ª-û2®TõVÁàeNTàdUÉIÆËsI©8Ù=LÝV[Ãâ :+šgŠ)e‘ÉŠ1ª¾n3òœÈGÊNäÀ j|PÿÙÚtöÖ 4÷–ÉrÑ/˜â` cÛ$’Tµ¹ÁкÐ4ûÙ®å'f¼ˆC8R¨d€¯L}æþñËçÑlî<²æå^8ÄbH®åÙG@̬ ã'ïÔúš‡—m?ëî2p«vâ÷þ»v-ÚÏö«Hn<©bócWòå]®™ÃÄw©j,ÂýÍìöZsžh!HÌQ_¡V¸$ã9ÏÝ ómEpBÃÇ(TD : ϾÐ4ýE¦7 8.ÙV+©bY1ó*0 q’3€@*¦¤ã¦æ“Sq´w2%Ô5}JÈý¾Y!‚ 1sÛ¬iiähƒà®èÊ‘¸¯~ ‚MM7P¿{µ+fúKH4Ñy*¤PEg–>t@¤çïS…”h¶51Êɨçí*óÈÁò»N2ß/|¸àØaòi6RÞ‹·‰Œ»ƒ•°˜c ÈÖa† ‘µyàc?g;Þÿ‹þ»û*—½ÿývü~nÓ!»ƒL¶Žþãí‹ó¥ÀŸ¾0ÆxtÆy«tQ[¥ec¥++QLaEPEPEPEP_ˆÿäsÿÿÐ…pUÞøþ@7?ðýWYÏr¢[Òÿä+kÿ]Wù×™|Fÿ‘º_úäŸÊ½7Kÿ­¯ýu_ç^eñþFéë’* õmKþG×ÔŸúE5Kâ»ÍDkŸè#QW´¶3·1ùó0H[dàŸ1õ¦bÔ¿äxð‡ý}Iÿ¤SWatÖk{o ¶Ë,÷L!#ˆnûU±ƒÙ}jjGš6½Œ+Þ6½¿¯ó Ìiú5 3•†%E Šá[gÊHqéÔõ®sÄ>Cý®úc ;I$n Jùkƒó7Êe;z‚FJšê,/#Ô4ëkØC,W$¨`€Àœwæ¬UJÑI TÔ £´ó9}[Ä[®ž$Õ Óµ6´X™á`iËMø ®N1’@¨µZÆï]Óá]r K{xžâK…(B;€"öP3#J@;²¹8û¬:Ú):r}¯¼R¥'{·áó8Û}Ñ´ÛYµø,.|ÙEÈŸÊVû>ËwVd„ˆrä”!J‰|I¬ÝèÚtp5ò¥ÄÂi.^híÍÑ‚±+G f$d¨“žk­¢—³•Ÿ½ý}ât§f¹µþ¼Î>ó].‰hÞ'±†ìÆ ü‹$E Y.7‚X¡O]ÙÚÊj×:¥–¡¦iñj’½åÝŒÑÆ1„–åbFÊ’ w àxnª³àÒÌZ´š„—×3»FcH¥ì‰KnÂáA‡^p3œ 'N]ÿ¯¼%J{_{|¿Ý´/ºÇ%Ä·¹Ì²… Ü÷ÚöàW)â OO„꯬%ÃÙàÙØ^ʨ³'–¬]UÜä—Pp~îÑŒ±=…¤à䬟êiRQåOõ9-Zö}* 2ÚêÏJŠeÉšñc ”$rIï ´îʃóFr2EE{¯Ê“1›Z[O²i‹q¨A }킾RÊ7+dCŽŽƒ¶GeEC¥.’3te­¥ý}ç¨ê÷ðZi°ZÆÞCh’Íy%Ìp¥Ë‘Ý;FêÂXÝE?Q×ÂÉ£Û¾¿gaxëºýņ,“¶P[qM óóU€ u´PéËù¿¯¼n”õ÷»[œ—‰5›½N޾T¸‚ØM%Ë͹º V%hä ÄŒ•crsÍž·cÿý®}­iÒÞÜ­¼W[n ¶™[öÁ_)e•²!ÇGA€["½þ½x°C zõ±¸†Ò5”YIO5à mɉ‰PîB2–'wTTºRkúûÈtfþ×çþg5â]VæÖîX/í´ôòüÆšæá ó 8 ŒñÈ%†ÐFäç’í„“M§[KrNñ#HYFâp {}jÅ¢‹Rm³XÁ©96r¾(Ô,%Ô4ý6Mz+³‰nPK •TÑŽðp|Áp[‚"{ëdz¹M>ëZžÕV!"\”ˆÍvìÌ<´]›IPUT±Þ?‹£¢§Ù»·}ÿ®äºNíß_óÿ#’ÔuçŽMÖã[³Ó5\ê0—ˆˆ‹-÷‰Ã+·“œ’C€k¨µŽh­!Žâ>dVIvó[“Î*Z*£›mܨAŶÝÎ7RÖnß\¹ƒM×`T[›[e‰Ò7 ;3yˆOo–¤ã9,6« Ñe®½Õœ+s®5¼.¯-½Ú,F[Àe‘QvX"¦åUÝ—Q… †ì¨¨öR½ù¿?ó3ö3½ù¿?ó9-G^xäÑín5»=3PeΣ xˆˆ²ßxœ0r»y9É$8Ÿ­ê7öc±:­µ´‰i®îfŽ×íÓä-‹Æ e ÆäÁÁ õTPéË_xn”ýïëï+ØI4Úu´·!Dï4”n g°Àg±çÖ±õÍZ+;·†ïUþɶŽ0œlß;eD¬Рc½ztn‚йEµdÍ%ãdÎMFîÇJÒí“P³°ym…ÝÅÄ×qÄ'–BY¼·)"0Ü]˜ÆøðpqWµÉf¸±Ð…åü¶~t‰%ÏÙâ3*ùŠH…·ùª›Sˆ-òœuTT{'f®eì]šæÓC—ñn».— $3­«E¸óá!3»÷qo÷Œ2œüÕî½­–’’x–ÍuÖâácš.pÛFmÃå]ÙHÛœŒd+­¢›§&Ûæ©M¶ù·ü?šñ»£É§‹ªØî»’(äCpƒ09S&N~Pb݃ÇQƒ’*–½âk©MÖ DŽ%Û¬±5Ì’2îR±È¤J¤4de',c€;*)Jœ¥}¯¼'Jr¿½oëÔ©q©ZZêv3K¶æó›Iß°e¹Ö­ÑEj®l¯Ô(¢Šc (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€2üGÿ Ÿøþ„+‚®÷Äò¹ÿ€ÿèB¸*Î{•Þ—ÿ![_úê¿Î¼Ëâ7üÒÿ×$þUéº_ü…mëªÿ:ó/ˆßò7Kÿ\“ùQg«j_òx÷R=Ë´TV·0ÞÚCunûáš5’6Á”ŒƒƒÏCU5jÃJÝö©%#ó_Ê‚I|´çæmŠvŽ'Áô4Ü’WlnQJíèhQXú®°tÝWN·.¢)ÖW‘<—’G L’Ù`HÚ~PÇ#o6Z°KK[‘$²Gu– Hî„»b©`9$q$TóÆí_a{Hݦö4(ªGV²ó–%•¤g¶7Hb‰œIÆJ•1ù—“Èã‘U5MNoøGÓQÒf€´ª 0˜¾kÊT³2 žyÍ%pu"“}Š*¥î£ma°Ne/&vÇ /+:¨ ÀÈÉÆG¨¨´K»‹ý «“<»™$(¯cå¸RI“iÁ9£™_”|ë›—©¡EcêºÁÓu]:ܺˆ§Y^Dò^I(Pa2Ke#iùC¼ÛmZÐiÖ÷ëçËopªÑ´6òJHavª’=Eñ»WØ^Ò7jûh¬¨üI¥Ê“H³ËåÃh·®æÞ@¢»ƒd®FxðF2%“Z³ŠÞ˜\þûvÈ…¤¦RÁ>X]àŽHÇ#Ôdçpöî )‘Kð¤ÐȲDêCÈ Ž¢ªêµ––Ð-ä­ŠEˆ™ƒ0Úæ=—«&›i+²œ’Wl»Eg¾µ`––·"IdŽê1,"$‘ÝvÅRÀr2Hã H§ÜjÖVðÁ)•¥Y×|BÚ&œºñó€’¼›§#žE.x÷<{—h¬÷Ö¬ÒÖäI,‘ÝF%„C’;¡îتXFIdÉ]ê¶ÐEhë?Éu$b)––6 ÊYx]Û€œdçœbŽx÷<{šV|ÚÕ…½ÅäÉ*=œhœ˜$Ú±àœîÛƒÐð ?)ô4I­YÅo Ì.}»dBÒS)àŸ,.ðÇ$c‘ê2sǸ{H÷4(ªWµ•¼0JeiVuß¶‰§.¼|À $¯#æéÈç‘LÑ.î/ôx.®LLòîdx¢¼e–áI$nM§äfŽe{9r£BНy{Œ"Y’vRÛq )ÏÑ8ã¯J}­Ì7¶Ý[¾øfd°Få# àóÐÓº½‡u{u%¢ª^ê6ÖæRòglpÂò¹©Ú€œ Œœ`dzЉõ«´µ¹K$wQ‰aÁ$Žè@;¶*–‘’GòE'(­Øœâ´lТ³.5ý6Úh"yÙÞâ/: //œœr›AÞy$zsEο¦Ú² gb¯l×k$p»ÆbQ–mê à wî¾£'<{‹ÚCº4設®îÝgeTlàKFÜr¬ˆ¨ouk ‚s)y3¶8ay\Ôí@NFN02=E;«\®d•ï¡nŠÇÖ5ج,­¤¶Ý<·Œ«lbæV·È@L¾2 8=ÅÝ6in4ø¥™÷ÈÙË}™íóÉÿ–nK/ãׯCIM9r¢TâåÊ‹tVf±¬Å¤-°hgš[‰V8ãŠrFFãò©åSsc© qQjºÁÓu]:ܺˆ§Y^Dò^I(Pa2Ke#iùC¼§8 •HÆ÷{[ñ6(¬÷Ö¬ÒÖäI,‘ÝF%„C’;¡îتXFIdÉv)cžšHC#¡È`yÔU)'³)I=˜ú+>æþàÜ5¶mÌÑãÎ2ÌcŽ<Œ…,‰r;@àrHÊî¤úõÔ•µÆœ±¤‘D×n.7W”•E /Î ¹SêHË©¹¤VæíÍXøP¼ùÛO±ŠÜZ³3_°UŒîòØæ!€ûIõU° v´Ë›‹Í2Úæê×ì³Kvƒqcy’Î1‘ŽG½©l«ü%º++QÔu }NÚÊÊÊÚàÏ>eºhŠ…Æâ@†2È:ç-Óš±¨jX›t‘Ú6žT_ìï"dºŒ¼);° 2{àŠ|ë_!óÇ_"í«ëLÔ´Èw©K†“͈BòJÈ«÷/$†*œ1<&¥Ÿ_Ómá¶–YØ%Ó2DD.r뜡Àáø#aÃ#¹ãv›Ø=¤nÓ{tU&Õ­o~¾|¶÷ ­Co$¤†j© cÔT3kúlÖWNÂåÝlâ"L®à GE<“ÀñOž+¨:‘[³NŠÊ“Äš\I <¾\ÖzŽ-ä*a ¸¶Bà`cƒÏ c$gBÚá.íÖxÖUFα4mÁÇ*ÀøŠ¢ôLjq“²d´V}ÍýÁ¸km:Ú+™£Çœe˜Çy X+ävÀä‘•Ü>ª–¶–¯} °ÜÍf¶…áÐànŒB’lc‘ê(çB牡Ef\kúm´ÐDó³½Ä^t^_98å6ƒ¼òHôæžúÕ‚ZZ܉%’;¨Ä°ˆ`’Gt ÛKÈÉ#Œ€y"Žx÷iæ…Ÿw­éÖIk$×»»ÿwÖC·p¨ ’>èêÝM=µkA§[߯Ÿ-½Â«FÐÛÉ)!†AÚªHõsǸùãµË´V>©©Íÿúj:LЕQ ó¡fÀq¹J–fA“ÀÏ#Ób…$ÝI7dVf¥¨^[ÞÚZXÚAs4ë#°–àÄn[„lŒ²\°àŒ[k¶W0Ûºùá®,þÜ‘˜“ÆÐAa¹~PIäqÈ£ž7°½¤okštVïˆb†}Ky–K[åy åx¶d2ÎA)•ÚNž“R꺜ÃB7ÚTÐKg…˜HäìXÈÜ¥¹ Iû§9/i|…íc­ºU-CPŠÄÛ¤ŽÑ´ò¤jÿgy%Ô`•áIÝ€X“ßS¯uk ‚s)y3¶8ay\Ôí@NFN02=E>dº”ç{½‹tTV·0ÞÚCunûáš5’6Á”ŒƒƒÏCRÕnRwÕQ@Q@Q@Q@Q@~#ÿ ÏüÿBÁW{â?ùÜÿÀô!\g=ʉoKÿ­¯ýu_ç^eñþFéë’*ôÝ/þB¶¿õÕy—Äoù¥ÿ®Iü¨€3Õµ/ùçšÍ»Óµ bÖè^Û [i7¤ jŲWi;ăœŒ Ü‚@5.„.A°[©¢žeM¦U—‡ @'pÁü{õªššÞO¯YZ[j—6qɲÈ"H˜…ô$d9ÆÉȹ4â›]‡&œk±bëMº}EîìïVݦ‰!›t>aÚ¥Š”9[çnX0éÇ4®|=tžlzN¡Œ2XÇd@Ò±,·þ‚g[››Ÿ!TG3ÆöòJÊ™;J–Ø_;NÛÎ;h]ßÜ-Ù³°¶Šâå#YdLbDF$/!X’J¶ÂrGiÅ;8ÆWÿ>¾E{­/R—Q»»·Ô …¤¶[îµ2sœ³_žã©œíç?SðzßéÐÚ,¶aRÍmŸhf€ß/˜ÛžI,NÔþï6ÄsIöY,¬¢’ÞâÄ^™§¹ u8#ÍùNÐFpFrU†0 ǯ]Mgö˜ôåU‚$’ùn.<£Y .åÃ0VÜQyýí°ý”®Ÿêg/c+§¯ßý^D²hÏ5›I"¤1[}ž{{xü¸îÊUXdá …ÉáÈÎ f± iÝ¥Çú ˜Œ'—gö”Lrƒrí'?1ç;W¦9ÐÓ.n/4Ëk›«_²Í,aÚ ÅŒyäH8ÆF89õJ]um5Élo` †c1/+Ê̪6õÊ?sÀ×Õ;k³.Q¥Ë®ÌÓµ·[KHmå"cSµW€1Ñ@肳5 7TºÔ ¹‡P³Žv/ RY³åvî,%\œ€0Ü‚@" Öo®4‹ùtøÞâæÌwÎcÈ‹ŒF2ì•8ùx=J‹zõæ¥nÚ|lp4·W"2òÊP(Pd#î7 ˆëž y유ãå§Jp”|´ïò¬hÚwiqþƒ&# åßÙý¥œ Ü»IÏÌyÎÕéŽ_ý‘uk2K¦^A h­œ\ZïcÝ´¨F@§çl㎘ŪËx|A§EcLñE,² ¹1F3µWÍÆ~S™ùI܃iiw¿ÚZM•÷—åý¦›fìíÜ ã=úДŸpQƒ›V×çýu3u?6¡42´¶w,‘,djVbàdgæP³gæÇjð1EÖ©K µ­¾¡g•³DÉØ’XÇ‚»ŠH£€l*¨à™]zóR·m> 68[«‘ye((2÷†DuÏPH<ö‹U–ðøƒNŠÆ&™âŠYdArbŒgj¯›Œü§2ò“¹0RP×NÝÉ’¦›Ñô¾å‹í·vÓÜÜeVÔQ&ĺåH É; òäýò °huûNí.?ÐdÄa<»û?´¢`“”—i9ù9Ú½1ËeÕæŸEÒu³Sã[4£íL‘ã Œ/ÎnA*ç8£]ñÚDÅ"²Ybók‰ZsÈ $ØÈ#9Qó. Ï;;íó+7-´î:]î›JÔ"µÚGjÏ-¨“ 팪¥OÎÜ`¯L:v«c§[Z.ݰD‘ €…p 'w$ûš±Xþ&C&ŠÈ²Ï ²K1Ë Ïäq”ÁwîÚx8üjÚPNH·Á9$Wñ†¿·|ÏÞÛ2úU¯Ÿåuùâù—cüÜžsµ?»Îݬ?g´† D<¸Õ1lA•rvA“Š£¬ÝÍi³-ºËÜíö†‰Ð´¨ª@ w · ç5WY–ðkºD613Ìy˜“LŠJ¸ÈÌŠAÚÄ1`Ÿ,[’ZèK䄜’×KîZºÓï?´^öÂîe–$ŠQqne!b»pëƒó¶sœñÓ¶].ì]ý¢×Qòä’íç’X»*!—U_çnªËÓåÀ ד^ºòlßNY^êæ[GCq·Ë–=ù íù“1·<`…$í£Sñ éšt2Ëj«wå,×3HâÝpI,ñFø‚ µˆ<NT÷ÿ19R³mþ×R‘¶–?Eec%Í¥½¥ŠZÛ±²y# Ä™6ÈFÝác‡ Å—9X“CXÁ}¯XX[Es¦ÚIÑËm"Çp„ ‡a†Æ äî0-‹ókWÑÚèò&—™u#C$Û EÀ9^@ÚÁc…cÅE¯ßiÿgé‘’ÅîZ3uó‰WhòT!‰yAœž: A'}½õ؆©¤îô¿gåeùf]i·O¨½ÝêÛ´Ñ$3n‡Ì;T±R‡ +|íË8àæõ³\=ºµÔQE1ÎäŠC"ŽxÃRxÇaTu›¹­#¶e·Y`{˜c•¾ÐÑ:•HNá–äæ¶•¹nΉòòÝ•fÑ/–{!c{g‚âÖÞKG¡Ù°Þh,B–¶œݬO\j–Vz|q½ŸÉg{†ˆ¨ d` ©#r#®á‚¤‚=´4Øe·ÓâŠdÙ"ç+ö—¸Ç'þZ8 ßN(ÙI¤L9TÜb¿2-KNšú[I!ºòÞBà˜Ãã*T²ò0à3NåùŽU¸Å{­/R—Q»»·Ô …¤¶[îµ2sœ³_žã©œíäÔµ{«=Gì°YÁ* fžIåºòÒü´ùNÕ#vÉ%[€`G«Þ\Ãl–ºzý¹í£¹ž ™ŒBù–ØIl« mþœp ·Úÿ2dé¶Ó½þ×õäT¹ð²Ë š/öt‹ol–â;Ë#qï™Bsƒ’Ä…^xÉÞµ·[KHmå"cSµW€1Ñ@肱/õ‹ë‹m"¿âe$l­q.«·Í*@VûÈŽ¤ö$c=º pP»å5 ¾Dsú·‡n55+hní£¶Ô~i–âÐÌÊû! `"‘pÃ9èχ¤eÔ\À¾rĶ~U¶Áj"%¢݆ ÇwA“xÀµ.º¶šä¶7‹0€C1˜—•åfU@›zå¹àë‚P¦ß_ø?ðE*t¢ù¥××Ïþ ü#j‚[XgTÓg‰ –Œ´žR¦ÁÈ[åLÆ Ë¹ÈÝ®r/jRYé—J¿´ehá xO˱åÊB’ˆ pOÊ-ßß^Ca§Ï5Ѝ–Xæ?µ•x]äERnyÜRŒ “qýB¦“qý®£/ô­VãS{Ë]RÚß÷Ù™Ø,Àù€J©ä6Ž:å·Z%óÃmge{go§Ú´FÑä8C?š €n0~PFs.½y©[¶Ÿ› -ÕÈŒ¼²” ûÃ":ç¨${ζúlÑ[ÛZ5Ôì¥Ø*ÈDkÐnòÑØsŒ®ÖçŒ%O[þ¢’¤¹¹¾{Œ—JÕ_SMAuKa,pyÆÖdÆ¡°dly‰,‰› 0IÍDÚ¡ųZj6Ë ´4i=£;\ò3,Š %äà£yã»YþÕi Ç•,^ljþ\«µÓ#8aØŽâ³5ëÍJÝ´ø4Øàin®Deå” P ÈGÜn×=A óÙÊ0K™þ£”)¥Ìïø•üEá¯íß3÷¶ÃÌ€Ãþ•kçù]~x¾eØÿ7'œíOîòù´}Q§²hoô衲_ÜÂ,j¾Í›†%\Ðç$.ÝßÜ-Ù³°¶Šâå#YdLbDF$/!X’J¶ÂrG±ay¡§[^Âb¸‰%@ãŒã¿4ù äûüÃÙÓ”ŸŸC ò!­ø¦Ú ·)iiÉt%µ‘#¹ Éû°ä@( ç 0>`[-cëך•»iði±ÀÒÝ\ˆËË)@¡A¸Ü2#®z‚Aç´Z¬·‡ÄtV14ÏRË" “c;U|Ügå9”È1€ÒME·Ô”žîëúù!š·‡n55+hní£¶Ô~i–âÐÌÊû! `"‘pÃ9èõ?G{4- iÆ(¢X’ Ë/>8€Î<µ » Î\…^˜æ|PÿÙÚtöÖ 4÷–ÉrÑ/˜â` cÛ$’Tµ¹ÁÞµŸíVÜyRÅæÆ¯åÊ»]23†ˆî(Q§6ì%3nÚýÿ×S]ûý!mµ8¡F±[+fû/ÏnÞu*ê?ì…*w¾ðßÚþÌq¦?•Ãå]XyЦÜóo^sƒÉÈTÃÌ^(¾Ô­îìmôß·4’G,Œ–b_A2)Ú7H¹aœråm\]ê:Biö»µ%ºžH|éa`v»¦@]¤\1¸V§³ýEj[?Ôeþ™¬_y*u+Š9#”¡±s½Ódù£à0ÐHÎf—NÔßÛ-om£¹’áœËjΰ±@‘JòíÔ·oCœÇñd±hÑßKg»¯ž%šE[|²³$$ l(àA ³kWÑÚèò&—™u#C$Û EÀ9^@ÚÁc…cÅ5*o[þcR¢õOó6"FŽF‘¥eP Œ±õ8dû)õ…¯ÜÙChƒMg¾–!,Ð)’AoìÍnrN@;@;ž0v-gûU¤7T±y±«ùr®×LŒá‡b;ŠÖ3‹vFÑœ[åD´QEQaEPEPEPEPbÙîô©àFUfÁËtàƒý+þÄ—þ~íï¦ÿâk¸¹ÿi?Ý5áÞ-µøoâú¿§^É´ -áÿD<’ìÉL†äÿ ÉÆè’»;=©¤ëZ¦²è¥hö²‡cR{m/H<¸ÄKöYäƒäuO–W dà™8ÆME.› Mö€ÂEKˆÚH㸑Ê^ˆXž[ûÇ4(¡¨½Ð:P{¢ùÓ´6•Ýžå¼Í¾j5äÅ%Â…ù×v×ʨp9Ç9«‘éWÓ ¥–d”.Òö÷BXuŠ0ÜN3œd㩬Š(´{²‡c¢ŠöÂRY#‰*".À‚¨ê6Ú6«»íFC¾?)ü©ä‹ÌN~VØFáÉàç>¦²è¦ìÕš„Z³ZçÓô[™c’YïKÅ„_Ü ¤.ÜŒ?\ êrsÔÔ³Ûh×>_œd}‘ˆŽg“÷¨:,œþðrx|ýæõ9Ë¢•£Ø^Ê+«-ök¹gi™¯"Î̪EÀ`ëÓy¿¼s_RÒ´BÒXÕÌ&XÄR:\Ê7®’À8ûF7>îƒ;€ÅU¢“Œ^èN7{£¤þÒ´ÿž¢³ï-tBy&¼·†y$"ràœ¢>õ_¦îHïœYtU;=)Â2VhÒ¼³Ñïî…ÌóÝ™U·.ËÙ!Û·*ªà)Á#Üúš–â="î"¸Ì‹ ìRÒ9,¼eXç.§*Ù k"ŠVa{(k¦æ•Õ–‰{5ܳ´ÌבgæU ƒ¢à0ué¼ßÞ9ЊúÎR%˜•E ±cêNI>çšçh¦¬Ò„SºFÕïöN¡³íX}™ W*z«`Èp2§*p2*½Õ–‰{5ܳ´ÌבgæU ƒ¢à0ué¼ßÞ9Í¢“Iî„éÁî‹óéú-̱É,÷¥âÆÂ/îÒnF® õ99êh:v†Ò»³Ü·™·ÍF¼˜¤¸P¿:îÚùUî8ç5BŠ9cÙ ØÓ쎓ûJÓþzŠÍ¼³Ñïî…ÌóÝ™U·.ËÙ!Û·*ªà)Á#ÜúšÍ¢›³Ñ¢¥ÉZJåùôýæXä–{Òñca÷i ·#ׂzœœõ4>¡Épn Ü‹ƒEç-äÂMŠ8]Á³ŽrFy<œžj…¹cÙìiöEùtí[„Ÿ}ÌO~Tb É¢XÓmUFGʼ: —Q¶Ñµ]ßj2ñùOåO$^bsò¶Â7O8Éõ5—Eaû(j­¹~]?Ešá'yï|ÔËW[û…!p?}ªO©95-Äz}Ö·g©Ï0g²ÖÝ@#k?Äçžc›®F2è¢ÑìÊŽ“ûJÓþzŠÍ¼³Ñïî…ÌóÝ™U·.ËÙ!Û·*ªà)Á#ÜúšÍ¢›³Ñ¡Ê’´•Ëòéú,× ;Ï{æ¤~ZºßÜ) €áûíR}HÉÉ­_í+Oùê+›¢…e²Çdi]Yh—³]Ë;LÍy†p.ePÈ:.^˜ûÍýã—Om£\ù~q‘öF"9žOÞ è²sûÁÉáó÷›Ôç.ŠVa{(v6¯²u ŸjÃìÈb¹SÕ[nC•9SqPê‘éú¿Ù⻘=œry²[àâft78(IR9!{]Ýžènœ]î·:Oí+Oùê+>ò×AÔ'’kËxg’HÒ'. Ê#ïUúnäŽøÈ—EÏFÂ2VhÒº³Ñï/~Ù,÷b}¥CG{4aAÆ@ àv®qÔŒÑyg£ßÝ ™ç»2«n]—³ C·nUUÀS‚G¹õ5›E+G°(=ѯq‘w \fE…v)i–^2¬s—S•l†ÀÈ4^G¥_L&–Y’P»KÛÜI aÔ(Ãp8Îq“ަ²(§§aû8¾‡E턤0²G(TD\€W½þÉÔ6}«³ aŠåOUl¹TåNAÅbÑCwVcpMYš÷‘éó n2Í·c‘ÐH¿Ýp¤^OÊÙ1ã“›¿ÚVŸóÔW7E ÛPPIÝW¿Ù:†Ïµaöd 1\©ê­‚7!ÀÊœ©ÀÈ8ª÷VZ%ì×rÎÓ3^D!œ ™T2‹€Àצ>óxç6ŠM'º%ӃݓÛéYy®UãŒF$ŠîXÝ”t ÊÀ¾2~ñ=O©«Ñ^ØA C $q"…DEÀP8ÐW;E5eªCPŠwH×éCUmLK0ºe Ä\I°€¦í¸'§ROSšŠêÏG¼½ûd³Ý‰ö• ìÑ…+€Ú¹ÇR3Y´R´^–¥¬Ñ¯y•}0šYfIBí/oq$%‡P£ Àdã9ÆN:šdöÚ4þ^ yqˆ—ì³ÉÈ>êŸ,®@ÉÀ=2qŒšË¢‹'Ð8=ÑÑE{a) ,‘ÄŠ@àAYóYh—S\HÓƒL‚æQ„(_š0ÛXmP#sY´Svz47µf{Èô‹ù„·fÛ±‚Èè$_î¸R¯'ål˜ñÉÌWVz=åïÛ%žìO´¨hïfŒ(8È\ÕÎ:‘šÍ¢“Q{¡:P{£j÷û'PÙö¬>̆+•=U°Fä8S•8 它¨O$×–ðÏ$‘¤N\”GÞ«ôÝÉð3+.ŠnÏt7N/tjj6Ú6«»íFC¾?)ü©ä‹ÌN~VØFáÉàç>¦¢—OÑf¸IÞ{ß5#òÕÖþáH\Gßj“êFNMP¢“Q{¡:Pz´kÞG¥_L&–Y’P»KÛÜI aÔ(Ãp8Îq“ަ­Å{a) ,‘ÄŠ@àA\íÕ“½†¡î‘ÒiZÏQGö•§üõÍÑO˜«'ö•§üõiZÏQ\ÝsŽ“ûJÓþzŠ?´­?種nŠ9‚ÇIý¥iÿ=EÚVŸóÔW7EÁcfëÄV·Ú}›3¼·Ó4Ql\…+ÈKz !ÎH÷"ßö•§üõÁê_ò5x[þ¿'ÿÒIë‰ñ.¡âOŒºd:_hóôèÅÔ1Xš!,™g8;vç†Á œs´»ŠÇ¬ø‹ÄÉaookc\êò-£‘Ìq†ÎK°€ $œ$r¿hñý4?üKÿÆh×äbð¿ýKÿ¤³VýKwÎEeâÿèW:…¶—½á™½Ü’;f7Œ J:¸={WŸ|Fÿ‘º_úäŸÊ½žøø‡þº§þ„+Æ>#ÈÝ/ýrOåU3ÔüCc©ÏªiÚ\6“M`æSÕÇ’¬ÝãêóÓ·QT&Å×Iú7‡¥†E(ñ¾¦Ì¬¤`‚ \‚+Ê߯>"‘˶­q“è@—joü%Þ ÿ µÏýõG(\ôùìücq©é—­§hA¬%’UQª¶t2Gƒû®1¿?†;äZÝã?úè?ø5þ5^Mÿ wˆ?è-sÿ}Qÿ wˆ?è-sÿ}QÊ=gwŒÿè ÿàÕÿøÕ¼gÿ@½ÿ¯ÿƫɿá.ñý®ïª?á.ñý®ïª9Bç¬îñŸýôü¿ÿ£wŒÿè ÿàÕÿøÕy7ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõG(\õÞ3ÿ ^ƒÿƒWÿãTnñŸýôü¿ÿ¯&ÿ„»Äô¹ÿ¾¨ÿ„»Äô¹ÿ¾¨å ž³»Æô ÐðjÿüjÞ3ÿ ^ƒÿƒWÿãUäßð—xƒþ‚×?÷Õð—xƒþ‚×?÷Õ¡sÖwxÏþzþ _ÿQ»Æô Ððjÿüj¼›þïÐZçþú£þïÐZçþú£”.zÎïÿÐ/AÿÁ«ÿñª7xÏþzþ _ÿW“Â]âú \ÿßTÂ]âú \ÿßTr…ÏYÝã?úè?ø5þ5FïÿÐ/AÿÁ«ÿñªòoøK¼AÿAkŸûêøK¼AÿAkŸûêŽP¹ë;¼gÿ@½ÿ¯ÿƨÝã?úè?ø5þ5^Mÿ wˆ?è-sÿ}Qÿ wˆ?è-sÿ}QÊ=gwŒÿè ÿàÕÿøÕ¼gÿ@½ÿ¯ÿƫɿá.ñý®ïª?á.ñý®ïª9Bç¬îñŸýôü¿ÿ£wŒÿè ÿàÕÿøÕy7ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõG(\õÞ3ÿ ^ƒÿƒWÿãTnñŸýôü¿ÿ¯&ÿ„»Äô¹ÿ¾¨ÿ„»Äô¹ÿ¾¨å ž³»Æô ÐðjÿüjÞ3ÿ ^ƒÿƒWÿãUäßð—xƒþ‚×?÷Õð—xƒþ‚×?÷Õ¡sÖwxÏþzþ _ÿQ»Æô Ððjÿüj¼›þïÐZçþú£þïÐZçþú£”.zÎïÿÐ/AÿÁ«ÿñª7xÏþzþ _ÿW“Â]âú \ÿßTÂ]âú \ÿßTr…ÏYÝã?úè?ø5þ5FïÿÐ/AÿÁ«ÿñªòoøK¼AÿAkŸûêøK¼AÿAkŸûêŽP¹ë;¼gÿ@½ÿ¯ÿƨÝã?úè?ø5þ5^Mÿ wˆ?è-sÿ}Qÿ wˆ?è-sÿ}QÊ=gwŒÿè ÿàÕÿøÕ¼gÿ@½ÿ¯ÿƫɿá.ñý®ïª?á.ñý®ïª9Bç¬îñŸýôü¿ÿ£wŒÿè ÿàÕÿøÕy7ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõG(\õÞ3ÿ ^ƒÿƒWÿãTnñŸýôü¿ÿ¯&ÿ„»Äô¹ÿ¾¨ÿ„»Äô¹ÿ¾¨å ž³»Æô ÐðjÿüjÞ3ÿ ^ƒÿƒWÿãUäßð—xƒþ‚×?÷Õð—xƒþ‚×?÷Õ¡sÖwxÏþzþ _ÿQ»Æô Ððjÿüj¼›þïÐZçþú£þïÐZçþú£”.zÎïÿÐ/AÿÁ«ÿñª7xÏþzþ _ÿW“Â]âú \ÿßTÂ]âú \ÿßTr…ÏYÝã?úè?ø5þ5FïÿÐ/AÿÁ«ÿñªòoøK¼AÿAkŸûêøK¼AÿAkŸûêŽP¹ë;¼gÿ@½ÿ¯ÿƨÝã?úè?ø5þ5^Mÿ wˆ?è-sÿ}Qÿ wˆ?è-sÿ}QÊ=gwŒÿè ÿàÕÿøÕ¼gÿ@½ÿ¯ÿƫɿá.ñý®ïª?á.ñý®ïª9Bç¬îñŸýôü¿ÿ£wŒÿè ÿàÕÿøÕy7ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõG(\õÞ3ÿ ^ƒÿƒWÿãTnñŸýôü¿ÿ¯&ÿ„»Äô¹ÿ¾¨ÿ„»Äô¹ÿ¾¨å ž³»Æô ÐðjÿüjÞ3ÿ ^ƒÿƒWÿãUäßð—xƒþ‚×?÷Õð—xƒþ‚×?÷Õ¡sÖwxÏþzþ _ÿQ»Æô Ððjÿüj¼›þïÐZçþú£þïÐZçþú£”.zÎïÿÐ/AÿÁ«ÿñª7xÏþzþ _ÿW“Â]âú \ÿßTÂ]âú \ÿßTr…ÏYÝã?úè?ø5þ5FïÿÐ/AÿÁ«ÿñªòoøK¼AÿAkŸûêøK¼AÿAkŸûêŽP¹ë;¼gÿ@½ÿ¯ÿƨÝã?úè?ø5þ5^Mÿ wˆ?è-sÿ}Qÿ wˆ?è-sÿ}QÊ=gwŒÿè ÿàÕÿøÕ¼gÿ@½ÿ¯ÿƫɿá.ñý®ïª?á.ñý®ïª9Bç¬îñŸýôü¿ÿ£wŒÿè ÿàÕÿøÕy7ü%Þ ÿ µÏýõGü%Þ ÿ µÏýõG(\õÞ3ÿ ^ƒÿƒWÿãTnñŸýôü¿ÿ¯&ÿ„»Äô¹ÿ¾¨ÿ„»Äô¹ÿ¾¨å ž³»Æô ÐðjÿüjÞ3ÿ ^ƒÿƒWÿãUäßð—xƒþ‚×?÷Õð—xƒþ‚×?÷Õ¡sÖwxÏþzþ _ÿQ»Æô Ððjÿüj¼›þïÐZçþú£þïÐZçþú£”.z|ö~1¸ÔôËÖÓ´ ÖÉ*¨Õ[º#Áý×ߟÃò'ø¹gyÆáá3ª£H56ÜÊ årfÇÔú×”ÿÂ]âú \ÿßTÂ]âú \ÿßTr…ÏSþÍñ-þµ¤ÜêšLö3¼Ìmõ#¶a’0(£«ƒ×µtÞTŸÝ_ûúŸã^ ÿ wˆ?è-sÿ}Qÿ wˆ?è-sÿ}QÊ=î(œO`€ ’eN ú׋|Fÿ‘º_úäŸÊ³á.ñý®ïªÍ½¿ºÔn<ûÉšip{uÀ¦•³ÿÙpyFltk-1.3.0/fltk/docs/fltk.html0000644000175100017510001043225311651413735015136 0ustar heldheld Python: package fltk
     
     
    fltk
    index
    /home/held/source/pyfltk/test/fltk/__init__.py

    pyFltk, the Python bindings to the FLTK GUI toolkit.
    This is an easy to use and light-weight GUI toolkit
    offering basic capabilities for the creation of
    graphical user interfaces.

     
    Package Contents
           
    _fltk

     
    Classes
           
    __builtin__.object
    FL_CHART_ENTRY
    Fl
    Fl_End
    Fl_File_Chooser
    Fl_File_Icon
    Fl_Help_Block
    Fl_Help_Dialog
    Fl_Help_Link
    Fl_Help_Target
    Fl_Image
    Fl_Bitmap
    Fl_XBM_Image
    Fl_Pixmap
    Fl_GIF_Image
    Fl_XPM_Image
    Fl_RGB_Image
    Fl_BMP_Image
    Fl_JPEG_Image
    Fl_PNG_Image
    Fl_PNM_Image
    Fl_Shared_Image
    Fl_Tiled_Image
    Fl_Label
    Fl_Menu_Item
    Fl_Multi_Label
    Fl_Preferences
    Fl_Text_Buffer
    Fl_Text_Selection
    Fl_Tooltip
    Fl_Widget
    Fl_Box
    Fl_Button
    Fl_Light_Button
    Fl_Check_Button
    Fl_Radio_Light_Button
    Fl_Round_Button
    Fl_Radio_Round_Button
    Fl_Radio_Button
    Fl_Repeat_Button
    Fl_Return_Button
    Fl_Toggle_Button
    Fl_Chart
    Fl_Clock_Output
    Fl_Clock
    Fl_Round_Clock
    Fl_FormsBitmap
    Fl_FormsPixmap
    Fl_Free
    Fl_Group
    Fl_Browser_
    Fl_Browser
    Fl_File_Browser
    Fl_Hold_Browser
    Fl_Multi_Browser
    Fl_Select_Browser
    Fl_Check_Browser
    Fl_Color_Chooser
    Fl_Help_View
    Fl_Input_Choice
    Fl_Pack
    Fl_Scroll
    Fl_Spinner
    Fl_Table
    Fl_Table_Row
    Fl_Tabs
    Fl_Text_Display
    Fl_Text_Editor
    Fl_Tile
    Fl_Window
    Fl_Double_Window
    Fl_Overlay_Window
    Fl_Gl_Window
    Fl_Single_Window
    Fl_Menu_Window
    Fl_Wizard
    ListSelect
    Fl_Input_
    Fl_Input
    Fl_File_Input
    Fl_Float_Input
    Fl_Int_Input
    Fl_Multiline_Input
    Fl_Output
    Fl_Multiline_Output
    Fl_Secret_Input
    Fl_Menu_
    Fl_Choice
    Fl_Menu_Bar
    Fl_Menu_Button
    Fl_Positioner
    Fl_Progress
    Fl_Timer
    Fl_Valuator
    Fl_Adjuster
    Fl_Counter
    Fl_Simple_Counter
    Fl_Dial
    Fl_Fill_Dial
    Fl_Line_Dial
    Fl_Roller
    Fl_Slider
    Fl_Fill_Slider
    Fl_Hor_Fill_Slider
    Fl_Hor_Nice_Slider
    Fl_Hor_Slider
    Fl_Nice_Slider
    Fl_Scrollbar
    Fl_Value_Slider
    Fl_Hor_Value_Slider
    Fl_Value_Input
    Flcc_Value_Input
    Fl_Value_Output
    Flcc_HueBox
    Flcc_ValueBox
    Style_Table_Entry

     
    class FL_CHART_ENTRY(__builtin__.object)
        Proxy of C++ FL_CHART_ENTRY class
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self) -> FL_CHART_ENTRY
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_FL_CHART_ENTRY>
    delete_FL_CHART_ENTRY(FL_CHART_ENTRY self)

     
    class Fl(__builtin__.object)
        The Fl class is the FLTK global (static) class containing state 
    information and global methods for the current application.
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args, **kwargs)
    __repr__ = _swig_repr(self)

    Static methods defined here:
    add_awake_handler_(*args)
    add_awake_handler_(Fl_Awake_Handler arg0, void arg1) -> int
    add_check = Fl_add_check(...)
    add_fd = Fl_add_fd(...)
    add_handler = Fl_add_handler(...)
    add_idle = Fl_add_idle(func, data=None)
    add_timeout = Fl_add_timeout(...)
    arg(*args)
    arg(int arg0, char arg1, int arg2) -> int
    args(*args)
    args(int arg0, char arg1, int arg2, int arg3 = None) -> int
    args(int arg0, char arg1)
    awake(*args)
    awake(Fl_Awake_Handler cb, void message = None) -> int
    awake(void message = None)
    background(*args)
    background(uchar arg0, uchar arg1, uchar arg2)
    background2(*args)
    background2(uchar arg0, uchar arg1, uchar arg2)
    belowmouse(*args)
    belowmouse() -> Fl_Widget
    belowmouse(Fl_Widget arg0)
    box_dh(*args)
    box_dh(Fl_Boxtype arg0) -> int
    box_dw(*args)
    box_dw(Fl_Boxtype arg0) -> int
    box_dx(*args)
    box_dx(Fl_Boxtype arg0) -> int
    box_dy(*args)
    box_dy(Fl_Boxtype arg0) -> int
    check(*args)
    check() -> int
    clear_widget_pointer(*args)
    clear_widget_pointer(Fl_Widget w)
    compose(*args)
    compose(int _del) -> int
    compose_reset(*args)
    compose_reset()
    copy(*args)
    copy(char stuff, int len, int clipboard = 0)
    damage(*args)
    damage(int d)
    damage() -> int
    default_atclose(*args)
    default_atclose(Fl_Window arg0, void arg1)
    delete_widget(*args)
    delete_widget(Fl_Widget w)
    display(*args)
    display(char arg0)
    dnd(*args)
    dnd() -> int
    dnd_text_ops(*args)
    dnd_text_ops(int v)
    dnd_text_ops() -> int
    do_widget_deletion(*args)
    do_widget_deletion()
    draw_box_active(*args)
    draw_box_active() -> int
    event(*args)
    event() -> int
    event_alt(*args)
    event_alt() -> int
    event_button(*args)
    event_button() -> int
    event_button1(*args)
    event_button1() -> int
    event_button2(*args)
    event_button2() -> int
    event_button3(*args)
    event_button3() -> int
    event_buttons(*args)
    event_buttons() -> int
    event_clicks(*args)
    event_clicks() -> int
    event_clicks(int i)
    event_ctrl(*args)
    event_ctrl() -> int
    event_dx(*args)
    event_dx() -> int
    event_dy(*args)
    event_dy() -> int
    event_inside(*args)
    event_inside(int arg0, int arg1, int arg2, int arg3) -> int
    event_inside(Fl_Widget arg0) -> int
    event_is_click(*args)
    event_is_click() -> int
    event_is_click(int i)
    event_key(*args)
    event_key() -> int
    event_key(int arg0) -> int
    event_length(*args)
    event_length() -> int
    event_original_key(*args)
    event_original_key() -> int
    event_shift(*args)
    event_shift() -> int
    event_state(*args)
    event_state() -> int
    event_state(int i) -> int
    event_text(*args)
    event_text() -> char
    event_x(*args)
    event_x() -> int
    event_x_root(*args)
    event_x_root() -> int
    event_y(*args)
    event_y() -> int
    event_y_root(*args)
    event_y_root() -> int
    first_window(*args)
    first_window() -> Fl_Window
    first_window(Fl_Window arg0)
    flush(*args)
    flush()
    focus(*args)
    focus() -> Fl_Widget
    focus(Fl_Widget arg0)
    foreground(*args)
    foreground(uchar arg0, uchar arg1, uchar arg2)
    free_color(*args)
    free_color(Fl_Color arg0, int overlay = 0)
    get_awake_handler_(*args)
    get_awake_handler_(Fl_Awake_Handler arg0, void arg1) -> int
    get_boxtype(*args)
    get_boxtype(Fl_Boxtype arg0) -> Fl_Box_Draw_F
    get_color(*args)
    get_color(Fl_Color arg0)
    get_font(*args)
    get_font(Fl_Font arg0) -> char
    get_font_name(*args)
    get_font_name(Fl_Font arg0, int attributes = None) -> char
    get_font_sizes(*args)
    get_font_sizes(Fl_Font arg0, int sizep) -> int
    get_key(*args)
    get_key(int arg0) -> int
    get_mouse(*args)
    get_mouse(int arg0, int arg1)
    get_system_colors(*args)
    get_system_colors()
    grab(*args)
    grab() -> Fl_Window
    grab(Fl_Window arg0)
    h(*args)
    h() -> int
    handle(*args)
    handle(int arg0, Fl_Window arg1) -> int
    has_idle(*args)
    has_idle(void cb, void arg1 = None) -> int
    has_timeout(*args)
    has_timeout(Fl_Timeout_Handler arg0, void arg1 = None) -> int
    lock(*args)
    lock()
    modal(*args)
    modal() -> Fl_Window
    mt_run = Fl_mt_run(window)
    next_window(*args)
    next_window(Fl_Window arg0) -> Fl_Window
    own_colormap(*args)
    own_colormap()
    paste(*args)
    paste(Fl_Widget receiver, int clipboard)
    paste(Fl_Widget receiver)
    pushed(*args)
    pushed() -> Fl_Widget
    pushed(Fl_Widget arg0)
    readqueue(*args)
    readqueue() -> Fl_Widget
    ready(*args)
    ready() -> int
    redraw(*args)
    redraw()
    release(*args)
    release()
    release_widget_pointer(*args)
    release_widget_pointer(Fl_Widget w)
    reload_scheme(*args)
    reload_scheme() -> int
    remove_check = Fl_remove_check(...)
    remove_fd = Fl_remove_fd(...)
    remove_handler = Fl_remove_handler(...)
    remove_idle = Fl_remove_idle(func, data=None)
    remove_timeout = Fl_remove_timeout(...)
    repeat_timeout = Fl_repeat_timeout(...)
    run(*args)
    run() -> int
    scheme(*args)
    scheme(char arg0) -> int
    scheme() -> char
    screen_count(*args)
    screen_count() -> int
    screen_xywh(*args)
    screen_xywh(int X, int Y, int W, int H)
    screen_xywh(int X, int Y, int W, int H, int mx, int my)
    screen_xywh(int X, int Y, int W, int H, int n)
    scrollbar_size(*args)
    scrollbar_size() -> int
    scrollbar_size(int W)
    selection(*args)
    selection(Fl_Widget owner, char arg1, int len)
    selection_owner(*args)
    selection_owner() -> Fl_Widget
    selection_owner(Fl_Widget arg0)
    set_abort(*args)
    set_abort(void f)
    set_atclose(*args)
    set_atclose(void f)
    set_boxtype(*args)
    set_boxtype(Fl_Boxtype arg0, Fl_Box_Draw_F arg1, uchar arg2, uchar arg3, 
        uchar arg4, uchar arg5)
    set_boxtype(Fl_Boxtype arg0, Fl_Boxtype _from)
    set_color(*args)
    set_color(Fl_Color arg0, uchar arg1, uchar arg2, uchar arg3)
    set_color(Fl_Color arg0, unsigned int arg1)
    set_font(*args)
    set_font(Fl_Font arg0, char arg1)
    set_font(Fl_Font arg0, Fl_Font arg1)
    set_fonts(*args)
    set_fonts(char arg0 = None) -> Fl_Font
    set_labeltype(*args)
    set_labeltype(Fl_Labeltype arg0, Fl_Label_Draw_F arg1, Fl_Label_Measure_F arg2)
    test_shortcut(*args)
    test_shortcut(int arg0) -> int
    thread_message(*args)
    thread_message()
    unlock(*args)
    unlock()
    version(*args)
    version() -> double
    visible_focus(*args)
    visible_focus(int v)
    visible_focus() -> int
    visual(*args)
    visual(int arg0) -> int
    w(*args)
    w() -> int
    wait(*args)
    wait() -> int
    wait(double time) -> double
    watch_widget_pointer(*args)
    watch_widget_pointer(Fl_Widget w)
    x(*args)
    x() -> int
    y(*args)
    y() -> int

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl>
    delete_Fl(Fl self)

     
    class Fl_Adjuster(Fl_Valuator)
        The Fl_Adjuster widget has proven to be very useful for values that need a 
    was stolen from Prisms, and large dynamic range.
    When you press a button and drag to the right the value increases. When you 
    drag to the left it decreases. The largest button adjusts by 100 * step(), 
    the next by 10 * step() and that smallest button by step(). Clicking on the 
    buttons increments by 10 times the amount dragging by a pixel does. 
    Shift + click decrements by 10 times the amount.
     
     
    Method resolution order:
    Fl_Adjuster
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Adjuster
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    soft(self, *args)
    soft(self, int s)
    soft(self) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Adjuster>
    delete_Fl_Adjuster(Fl_Adjuster self)

    Methods inherited from Fl_Valuator:
    bounds(self, *args)
    bounds(self, double a, double b)
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_BMP_Image(Fl_RGB_Image)
        The Fl_BMP_Image class supports loading, caching, and drawing of 
    Windows Bitmap (BMP) image files.
     
     
    Method resolution order:
    Fl_BMP_Image
    Fl_RGB_Image
    Fl_Image
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, char filename) -> Fl_BMP_Image
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_BMP_Image>
    delete_Fl_BMP_Image(Fl_BMP_Image self)

    Methods inherited from Fl_RGB_Image:
    color_average(self, *args)
    color_average(self, Fl_Color c, float i)
    copy(self, *args)
    copy(self, int W, int H) -> Fl_Image
    copy(self) -> Fl_Image
    desaturate(self, *args)
    desaturate(self)
    draw(self, *args)
    draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0)
    draw(self, int X, int Y)
    label(self, *args)
    label(self, Fl_Widget w)
    label(self, Fl_Menu_Item m)
    uncache(self, *args)
    uncache(self)

    Methods inherited from Fl_Image:
    count(self, *args)
    count(self) -> int
    d(self, *args)
    d(self) -> int
    data(self, *args)
    data(self) -> char
    h(self, *args)
    h(self) -> int
    inactive(self, *args)
    inactive(self)
    ld(self, *args)
    ld(self) -> int
    w(self, *args)
    w(self) -> int

    Data descriptors inherited from Fl_Image:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Bitmap(Fl_Image)
        The Fl_Bitmap class supports caching and drawing of mono-color 
    (bitmap) images. Images are drawn using the current color.
     
     
    Method resolution order:
    Fl_Bitmap
    Fl_Image
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, uchar bits, int W, int H) -> Fl_Bitmap
    __repr__ = _swig_repr(self)
    copy(self, *args)
    copy(self, int W, int H) -> Fl_Image
    copy(self) -> Fl_Image
    draw(self, *args)
    draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0)
    draw(self, int X, int Y)
    label(self, *args)
    label(self, Fl_Widget w)
    label(self, Fl_Menu_Item m)
    uncache(self, *args)
    uncache(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Bitmap>
    delete_Fl_Bitmap(Fl_Bitmap self)

    Methods inherited from Fl_Image:
    color_average(self, *args)
    color_average(self, Fl_Color c, float i)
    count(self, *args)
    count(self) -> int
    d(self, *args)
    d(self) -> int
    data(self, *args)
    data(self) -> char
    desaturate(self, *args)
    desaturate(self)
    h(self, *args)
    h(self) -> int
    inactive(self, *args)
    inactive(self)
    ld(self, *args)
    ld(self) -> int
    w(self, *args)
    w(self) -> int

    Data descriptors inherited from Fl_Image:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Box(Fl_Widget)
        This widget simply draws its box, and possibly it's label. 
    Putting it before some other widgets and making it big enough 
    to surround them will let you draw a frame around them.
     
     
    Method resolution order:
    Fl_Box
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Box
    __init__(self, Fl_Boxtype b, int X, int Y, int W, int H, char l) -> Fl_Box
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Box>
    delete_Fl_Box(Fl_Box self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Browser(Fl_Browser_)
        The Fl_Browser widget displays a scrolling list of text lines, and manages 
    all the storage for the text. This is not a text editor or spreadsheet! But 
    it is useful for showing a vertical list of named objects to the user.
     
    Each line in the browser is identified by number. The numbers start at one 
    (this is so that zero can be reserved for 'no line' in the selective browsers).
    Unless otherwise noted, the methods do not check to see if the passed line 
    number is in range and legal. It must always be greater than zero 
    and <= size().
     
    Each line contains a null-terminated string of text and a data pointer. 
    The text string is displayed, the  pointer can be used by the callbacks 
    to reference the object the text describes.
     
    The base class does nothing when the user clicks on it. The subclasses 
    Fl_Select_BrowserFl_Hold_Browser, and Fl_Multi_Browser react to user 
    clicks to select lines in the browser and do callbacks.
     
    The base class called Fl_Browser_ provides the scrolling and selection 
    mechanisms of this and all the subclasses, but the dimensions and appearance 
    of each item are determined by the subclass. You can use Fl_Browser_ to 
    display information other than text, or text that is dynamically produced 
    from your own data structures. If you find that loading the browser is a 
    lot of work or is inefficient, you may want to make a subclass of Fl_Browser_.
     
     
    Method resolution order:
    Fl_Browser
    Fl_Browser_
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Browser
    __repr__ = _swig_repr(self)
    add(self, *args)
    add(self, char text, PyObject data = None)
    bottomline(self, *args)
    bottomline(self, int l)
    clear(self, *args)
    clear(self)
    column_char(self, *args)
    column_char(self) -> char
    column_char(self, char c)
    column_widths(self, *args)
    column_widths(self) -> int
    column_widths(self, PyObject widths)
    data(self, *args)
    data(self, int index, PyObject data = None) -> PyObject
    display(self, *args)
    display(self, int arg0, int arg1 = 1)
    displayed(self, *args)
    displayed(self, int n) -> int
    draw(self, *args)
    draw(self)
    format_char(self, *args)
    format_char(self) -> char
    format_char(self, char c)
    full_height(self, *args)
    full_height(self) -> int
    full_width(self, *args)
    full_width(self) -> int
    get_data(self, *args)
    get_data(self, int index) -> PyObject
    hide(self, *args)
    hide(self, int n)
    hide(self)
    incr_height(self, *args)
    incr_height(self) -> int
    insert(self, *args)
    insert(self, int index, char text, PyObject data = None)
    item_draw(self, *args)
    item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
    item_first(self, *args)
    item_first(self) -> void
    item_height(self, *args)
    item_height(self, void arg0) -> int
    item_next(self, *args)
    item_next(self, void arg0) -> void
    item_prev(self, *args)
    item_prev(self, void arg0) -> void
    item_quick_height(self, *args)
    item_quick_height(self, void arg0) -> int
    item_select(self, *args)
    item_select(self, void arg0, int arg1)
    item_selected(self, *args)
    item_selected(self, void arg0) -> int
    item_width(self, *args)
    item_width(self, void arg0) -> int
    lineposition(self, *args)
    lineposition(self, int arg0, Fl_Line_Position arg1)
    load(self, *args)
    load(self, char filename) -> int
    make_visible(self, *args)
    make_visible(self, int n)
    middleline(self, *args)
    middleline(self, int l)
    move(self, *args)
    move(self, int to, int _from)
    remove(self, *args)
    remove(self, int arg0)
    replace(self, *args)
    replace(self, int a, char b)
    select(self, *args)
    select(self, int arg0, int arg1 = 1) -> int
    selected(self, *args)
    selected(self, int arg0) -> int
    show(self, *args)
    show(self, int n)
    show(self)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    swap(self, *args)
    swap(self, int a, int b)
    text(self, *args)
    text(self, int arg0) -> char
    text(self, int arg0, char arg1)
    topline(self, *args)
    topline(self) -> int
    topline(self, int l)
    value(self, *args)
    value(self) -> int
    value(self, int v)
    visible(self, *args)
    visible(self, int n) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    BOTTOM = 1
    MIDDLE = 2
    TOP = 0
    __swig_destroy__ = <built-in function delete_Fl_Browser>
    delete_Fl_Browser(Fl_Browser self)

    Methods inherited from Fl_Browser_:
    deselect(self, *args)
    deselect(self, int docallbacks = 0) -> int
    getHScrollbar(self, *args)
    getHScrollbar(self) -> Fl_Scrollbar
    getScrollbar(self, *args)
    getScrollbar(self) -> Fl_Scrollbar
    handle(self, *args)
    handle(self, int arg0) -> int
    has_scrollbar(self, *args)
    has_scrollbar(self) -> uchar
    has_scrollbar(self, uchar i)
    hposition(self, *args)
    hposition(self) -> int
    hposition(self, int arg0)
    position(self, *args)
    position(self) -> int
    position(self, int arg0)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    scrollbar_left(self, *args)
    scrollbar_left(self)
    scrollbar_right(self, *args)
    scrollbar_right(self)
    select_only(self, *args)
    select_only(self, void arg0, int docallbacks = 0) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Static methods inherited from Fl_Browser_:
    scrollbar_width(*args)
    scrollbar_width(int b)
    scrollbar_width() -> int

    Data and other attributes inherited from Fl_Browser_:
    ALWAYS_ON = 4
    BOTH = 3
    BOTH_ALWAYS = 7
    HORIZONTAL = 1
    HORIZONTAL_ALWAYS = 5
    VERTICAL = 2
    VERTICAL_ALWAYS = 6

    Methods inherited from Fl_Group:
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Browser_(Fl_Group)
        This is the base class for browsers. To be useful it must be subclassed 
    and several virtual functions defined. The Forms-compatible browser and 
    the file chooser's browser are subclassed off of this.
     
    This has been designed so that the subclass has complete control over 
    the storage of the data, although because next() and prev() functions 
    are used to index, it works best as a linked list or as a large block 
    of characters in which the line breaks must be searched for.
     
    A great deal of work has been done so that the 'height' of a data object 
    does not need to be determined until it is drawn. This is useful if 
    actually figuring out the size of an object requires accessing image 
    data or doing stat() on a file or doing some other slow operation.
     
     
    Method resolution order:
    Fl_Browser_
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Browser_
    __repr__ = _swig_repr(self)
    deselect(self, *args)
    deselect(self, int docallbacks = 0) -> int
    display(self, *args)
    display(self, void arg0)
    draw(self, *args)
    draw(self)
    full_height(self, *args)
    full_height(self) -> int
    full_width(self, *args)
    full_width(self) -> int
    getHScrollbar(self, *args)
    getHScrollbar(self) -> Fl_Scrollbar
    getScrollbar(self, *args)
    getScrollbar(self) -> Fl_Scrollbar
    handle(self, *args)
    handle(self, int arg0) -> int
    has_scrollbar(self, *args)
    has_scrollbar(self) -> uchar
    has_scrollbar(self, uchar i)
    hposition(self, *args)
    hposition(self) -> int
    hposition(self, int arg0)
    incr_height(self, *args)
    incr_height(self) -> int
    item_draw(self, *args)
    item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
    item_first(self, *args)
    item_first(self) -> void
    item_height(self, *args)
    item_height(self, void arg0) -> int
    item_next(self, *args)
    item_next(self, void arg0) -> void
    item_prev(self, *args)
    item_prev(self, void arg0) -> void
    item_quick_height(self, *args)
    item_quick_height(self, void arg0) -> int
    item_select(self, *args)
    item_select(self, void arg0, int arg1 = 1)
    item_selected(self, *args)
    item_selected(self, void arg0) -> int
    item_width(self, *args)
    item_width(self, void arg0) -> int
    position(self, *args)
    position(self) -> int
    position(self, int arg0)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    scrollbar_left(self, *args)
    scrollbar_left(self)
    scrollbar_right(self, *args)
    scrollbar_right(self)
    select(self, *args)
    select(self, void arg0, int arg1 = 1, int docallbacks = 0) -> int
    select_only(self, *args)
    select_only(self, void arg0, int docallbacks = 0) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Static methods defined here:
    scrollbar_width(*args)
    scrollbar_width(int b)
    scrollbar_width() -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    ALWAYS_ON = 4
    BOTH = 3
    BOTH_ALWAYS = 7
    HORIZONTAL = 1
    HORIZONTAL_ALWAYS = 5
    VERTICAL = 2
    VERTICAL_ALWAYS = 6
    __swig_destroy__ = <built-in function delete_Fl_Browser_>
    delete_Fl_Browser_(Fl_Browser_ self)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Button(Fl_Widget)
        Buttons generate callbacks when they are clicked by the user. You control 
    exactly when and how by changing the values for type()  and when().
     
    Buttons can also generate callbacks in response to FL_SHORTCUT events. The 
    button can either have an explicit shortcut() value or a letter shortcut 
    can be indicated in the label() with an '&' character before it. For the 
    label shortcut it does not matter if Alt is held down, but if you have an 
    input field in the same window, the user will have to hold down the Alt key 
    so that the input field does not eat the event first as an FL_KEYBOARD event.
     
     
    Method resolution order:
    Fl_Button
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Button
    __repr__ = _swig_repr(self)
    clear(self, *args)
    clear(self) -> int
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    set(self, *args)
    set(self) -> int
    setonly(self, *args)
    setonly(self)
    shortcut(self, *args)
    shortcut(self) -> int
    shortcut(self, int s)
    shortcut(self, char s)
    value(self, *args)
    value(self, int arg0) -> int
    value(self) -> char

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Button>
    delete_Fl_Button(Fl_Button self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Chart(Fl_Widget)
        This widget displays simple charts and is provided for Forms compatibility.
     
     
    Method resolution order:
    Fl_Chart
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Chart
    __repr__ = _swig_repr(self)
    add(self, *args)
    add(self, double arg0, char arg1 = None, unsigned int arg2 = 0)
    autosize(self, *args)
    autosize(self) -> uchar
    autosize(self, uchar n)
    bounds(self, *args)
    bounds(self, double a, double b)
    bounds(self, double a, double b)
    clear(self, *args)
    clear(self)
    draw(self, *args)
    draw(self)
    insert(self, *args)
    insert(self, int arg0, double arg1, char arg2 = None, unsigned int arg3 = 0)
    maxsize(self, *args)
    maxsize(self) -> int
    maxsize(self, int arg0)
    replace(self, *args)
    replace(self, int arg0, double arg1, char arg2 = None, unsigned int arg3 = 0)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Chart>
    delete_Fl_Chart(Fl_Chart self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    handle(self, *args)
    handle(self, int arg0) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Check_Browser(Fl_Browser_)
        The Fl_Check_Browser widget displays a scrolling list of text lines that may be selected and/or checked by the user.
     
     
    Method resolution order:
    Fl_Check_Browser
    Fl_Browser_
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Check_Browser
    __repr__ = _swig_repr(self)
    add(self, *args)
    add(self, char s) -> int
    add(self, char s, int b) -> int
    check_all(self, *args)
    check_all(self)
    check_none(self, *args)
    check_none(self)
    checked(self, *args)
    checked(self, int item) -> int
    checked(self, int item, int b)
    clear(self, *args)
    clear(self)
    draw(self, *args)
    draw(self)
    full_height(self, *args)
    full_height(self) -> int
    full_width(self, *args)
    full_width(self) -> int
    handle(self, *args)
    handle(self, int arg0) -> int
    incr_height(self, *args)
    incr_height(self) -> int
    item_draw(self, *args)
    item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
    item_first(self, *args)
    item_first(self) -> void
    item_height(self, *args)
    item_height(self, void arg0) -> int
    item_next(self, *args)
    item_next(self, void arg0) -> void
    item_prev(self, *args)
    item_prev(self, void arg0) -> void
    item_quick_height(self, *args)
    item_quick_height(self, void arg0) -> int
    item_select(self, *args)
    item_select(self, void arg0, int arg1 = 1)
    item_selected(self, *args)
    item_selected(self, void arg0) -> int
    item_width(self, *args)
    item_width(self, void arg0) -> int
    nchecked(self, *args)
    nchecked(self) -> int
    nitems(self, *args)
    nitems(self) -> int
    remove(self, *args)
    remove(self, int item) -> int
    set_checked(self, *args)
    set_checked(self, int item)
    text(self, *args)
    text(self, int item) -> char
    value(self, *args)
    value(self) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Check_Browser>
    delete_Fl_Check_Browser(Fl_Check_Browser self)

    Methods inherited from Fl_Browser_:
    deselect(self, *args)
    deselect(self, int docallbacks = 0) -> int
    display(self, *args)
    display(self, void arg0)
    getHScrollbar(self, *args)
    getHScrollbar(self) -> Fl_Scrollbar
    getScrollbar(self, *args)
    getScrollbar(self) -> Fl_Scrollbar
    has_scrollbar(self, *args)
    has_scrollbar(self) -> uchar
    has_scrollbar(self, uchar i)
    hposition(self, *args)
    hposition(self) -> int
    hposition(self, int arg0)
    position(self, *args)
    position(self) -> int
    position(self, int arg0)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    scrollbar_left(self, *args)
    scrollbar_left(self)
    scrollbar_right(self, *args)
    scrollbar_right(self)
    select(self, *args)
    select(self, void arg0, int arg1 = 1, int docallbacks = 0) -> int
    select_only(self, *args)
    select_only(self, void arg0, int docallbacks = 0) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Static methods inherited from Fl_Browser_:
    scrollbar_width(*args)
    scrollbar_width(int b)
    scrollbar_width() -> int

    Data and other attributes inherited from Fl_Browser_:
    ALWAYS_ON = 4
    BOTH = 3
    BOTH_ALWAYS = 7
    HORIZONTAL = 1
    HORIZONTAL_ALWAYS = 5
    VERTICAL = 2
    VERTICAL_ALWAYS = 6

    Methods inherited from Fl_Group:
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Check_Button(Fl_Light_Button)
        Buttons generate callbacks when they are clicked by the user. You control 
    exactly when and how by changing the values for type() and when().
     
    The Fl_Check_Button subclass display the 'on' state by turning on a light, 
    rather than drawing pushed in. The shape of the 'light' is initially set to 
    FL_DIAMOND_DOWN_BOX. The color of the light when on is controlled with 
    selection_color(), which defaults to FL_RED.
     
     
    Method resolution order:
    Fl_Check_Button
    Fl_Light_Button
    Fl_Button
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Check_Button
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Check_Button>
    delete_Fl_Check_Button(Fl_Check_Button self)

    Methods inherited from Fl_Light_Button:
    handle(self, *args)
    handle(self, int arg0) -> int

    Methods inherited from Fl_Button:
    clear(self, *args)
    clear(self) -> int
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    set(self, *args)
    set(self) -> int
    setonly(self, *args)
    setonly(self)
    shortcut(self, *args)
    shortcut(self) -> int
    shortcut(self, int s)
    shortcut(self, char s)
    value(self, *args)
    value(self, int arg0) -> int
    value(self) -> char

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Choice(Fl_Menu_)
        This is a button that when pushed pops up a menu (or hierarchy of menus) 
    defined by an array of Fl_Menu_Item objects. Motif calls this an OptionButton.
     
    The only difference between this and a Fl_Menu_Button is that the name of 
    the most recent chosen menu item is displayed inside the box, while the 
    label is displayed outside the box. However, since the use of this is most 
    often to control a single variable rather than do individual callbacks, some 
    of the Fl_Menu_Button methods are redescribed here in those terms.
     
    When the user picks an item off the menu the value() is set to that item and 
    then the item's callback is done with the menu_button as the Fl_Widget 
    argument. If the item does not have a callback the menu_button's callback is 
    done instead.
     
    All three mouse buttons pop up the menu. The Forms behavior of the first two 
    buttons to increment/decrement the choice is not implemented. This could be 
    added with a subclass, however.
     
    The menu will also pop up in response to shortcuts indicated by putting a '&' 
    character in the label(). See Fl_Button for a description of this.
     
    Typing the shortcut() of any of the items will do exactly the same as when 
    you pick the item with the mouse. The '&' character in item names are only 
    looked at when the menu is popped up, however.
     
     
    Method resolution order:
    Fl_Choice
    Fl_Menu_
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Choice
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    value(self, *args)
    value(self, int i) -> int
    value(self) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Choice>
    delete_Fl_Choice(Fl_Choice self)

    Methods inherited from Fl_Menu_:
    add(self, *args)
    add(self, char arg0, int shortcut, Fl_Callback arg2, void arg3 = None, 
        int arg4 = 0) -> int
    add(self, char arg0) -> int
    add(self, PyObject lObj, PyObject sObj, PyObject cObj, PyObject uObj = None, 
        PyObject fObj = None) -> int
    clear(self, *args)
    clear(self)
    copy(self, *args)
    copy(self, Fl_Menu_Item m, void user_data = None)
    copy(self, PyObject args, PyObject user_data = None)
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    find_item(self, *args)
    find_item(self, char name) -> Fl_Menu_Item
    item_pathname(self, *args)
    item_pathname(self, char name, int namelen, Fl_Menu_Item finditem = None) -> int
    menu(self, *args)
    menu(self) -> Fl_Menu_Item
    menu(self, PyObject args)
    menu(self) -> PyObject
    mode(self, *args)
    mode(self, int i, int fl)
    mode(self, int i) -> int
    mvalue(self, *args)
    mvalue(self) -> Fl_Menu_Item
    picked(self, *args)
    picked(self, Fl_Menu_Item arg0) -> Fl_Menu_Item
    remove(self, *args)
    remove(self, int arg0)
    replace(self, *args)
    replace(self, int arg0, char arg1)
    shortcut(self, *args)
    shortcut(self, int i, int s)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    test_shortcut(self, *args)
    test_shortcut(self) -> Fl_Menu_Item
    text(self, *args)
    text(self) -> char
    text(self, int i) -> char
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int c)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar c)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar c)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Clock(Fl_Clock_Output)
        This widget provides a round analog clock display and is provided for Forms 
    compatibility. It installs a 1-second timeout callback using Fl.add_timeout().
     
     
    Method resolution order:
    Fl_Clock
    Fl_Clock_Output
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Clock
    __init__(self, uchar t, int x, int y, int w, int h, char l) -> Fl_Clock
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Clock>
    delete_Fl_Clock(Fl_Clock self)

    Methods inherited from Fl_Clock_Output:
    hour(self, *args)
    hour(self) -> int
    minute(self, *args)
    minute(self) -> int
    second(self, *args)
    second(self) -> int
    value(self, *args)
    value(self, ulong v)
    value(self, int arg0, int arg1, int arg2)
    value(self) -> ulong

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Clock_Output(Fl_Widget)
        Proxy of C++ Fl_Clock_Output class
     
     
    Method resolution order:
    Fl_Clock_Output
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Clock_Output
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    hour(self, *args)
    hour(self) -> int
    minute(self, *args)
    minute(self) -> int
    second(self, *args)
    second(self) -> int
    value(self, *args)
    value(self, ulong v)
    value(self, int arg0, int arg1, int arg2)
    value(self) -> ulong

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Clock_Output>
    delete_Fl_Clock_Output(Fl_Clock_Output self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    handle(self, *args)
    handle(self, int arg0) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Color_Chooser(Fl_Group)
        The Fl_Color_Chooser widget provides a standard RGB color chooser. You can 
    place any number of these into a panel of your own design. This widget 
    contains the hue box, value slider, and rgb input fields from the above 
    diagram (it does not have the color chips or the Cancel or OK buttons). The 
    callback is done every time the user changes the rgb value. It is not done 
    if they move the hue control in a way that produces the same rgb value, such 
    as when saturation or value is zero.
     
     
    Method resolution order:
    Fl_Color_Chooser
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Color_Chooser
    __repr__ = _swig_repr(self)
    b(self, *args)
    b(self) -> double
    draw(self, *args)
    draw(self)
    g(self, *args)
    g(self) -> double
    hsv(self, *args)
    hsv(self, double arg0, double arg1, double arg2) -> int
    hue(self, *args)
    hue(self) -> double
    mode(self, *args)
    mode(self) -> int
    r(self, *args)
    r(self) -> double
    rgb(self, *args)
    rgb(self, double arg0, double arg1, double arg2) -> int
    saturation(self, *args)
    saturation(self) -> double
    value(self, *args)
    value(self) -> double

    Static methods defined here:
    hsv2rgb(*args)
    hsv2rgb(double arg0, double arg1, double arg2, double arg3, 
        double arg4, double arg5)
    rgb2hsv(*args)
    rgb2hsv(double arg0, double arg1, double arg2, double arg3, 
        double arg4, double arg5)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Color_Chooser>
    delete_Fl_Color_Chooser(Fl_Color_Chooser self)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Counter(Fl_Valuator)
        The Fl_Counter widget is provided for forms compatibility. It controls a 
    single floating point value.
     
     
    Method resolution order:
    Fl_Counter
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Counter
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    lstep(self, *args)
    lstep(self, double a)
    step(self, *args)
    step(self, double a, double b)
    step(self, double a)
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int s)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Counter>
    delete_Fl_Counter(Fl_Counter self)

    Methods inherited from Fl_Valuator:
    bounds(self, *args)
    bounds(self, double a, double b)
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Dial(Fl_Valuator)
        The Fl_Dial widget provides a circular dial to control a single floating 
    point value.
     
     
    Method resolution order:
    Fl_Dial
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Dial
    __repr__ = _swig_repr(self)
    angle1(self, *args)
    angle1(self) -> short
    angle1(self, short a)
    angle2(self, *args)
    angle2(self) -> short
    angle2(self, short a)
    angles(self, *args)
    angles(self, short a, short b)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Dial>
    delete_Fl_Dial(Fl_Dial self)

    Methods inherited from Fl_Valuator:
    bounds(self, *args)
    bounds(self, double a, double b)
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Double_Window(Fl_Window)
        The Fl_Double_Window class provides a double-buffered window. If possible 
    this will use the X double buffering extension (Xdbe). If not, it will draw 
    the window data into an off-screen pixmap, and then copy it to the on-screen 
    window.
     
    It is highly recommended that you put the following code before the first 
    show() of any window in your program:
     
          Fl.visual(FL_DOUBLE|FL_INDEX)
     
    This makes sure you can use Xdbe on servers where double buffering does not 
    exist for every visual.
     
     
    Method resolution order:
    Fl_Double_Window
    Fl_Window
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int W, int H, char l = None) -> Fl_Double_Window
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Double_Window
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    flush(self, *args)
    flush(self)
    hide(self, *args)
    hide(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    show(self, *args)
    show(self, PyObject count = None, PyObject data = None)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Double_Window>
    delete_Fl_Double_Window(Fl_Double_Window self)

    Methods inherited from Fl_Window:
    border(self, *args)
    border(self, int b)
    border(self) -> int
    clear_border(self, *args)
    clear_border(self)
    copy_label(self, *args)
    copy_label(self, char a)
    cursor(self, *args)
    cursor(self, Fl_Cursor arg0, Fl_Color arg1 = FL_BLACK, Fl_Color arg2 = FL_WHITE)
    default_cursor(self, *args)
    default_cursor(self, Fl_Cursor arg0, Fl_Color arg1 = FL_BLACK, Fl_Color arg2 = FL_WHITE)
    free_position(self, *args)
    free_position(self)
    fullscreen(self, *args)
    fullscreen(self)
    fullscreen_off(self, *args)
    fullscreen_off(self, int arg0, int arg1, int arg2, int arg3)
    handle(self, *args)
    handle(self, int arg0) -> int
    hotspot(self, *args)
    hotspot(self, int x, int y, int offscreen = 0)
    hotspot(self, Fl_Widget arg0, int offscreen = 0)
    icon(self, *args)
    icon(self) -> void
    icon(self, void ic)
    iconize(self, *args)
    iconize(self)
    iconlabel(self, *args)
    iconlabel(self) -> char
    iconlabel(self, char arg0)
    label(self, *args)
    label(self) -> char
    label(self, char arg0)
    label(self, char label, char iconlabel)
    make_current(self, *args)
    make_current(self)
    modal(self, *args)
    modal(self) -> int
    non_modal(self, *args)
    non_modal(self) -> int
    override(self, *args)
    override(self) -> int
    set_modal(self, *args)
    set_modal(self)
    set_non_modal(self, *args)
    set_non_modal(self)
    set_override(self, *args)
    set_override(self)
    shown(self, *args)
    shown(self) -> int
    size_range(self, *args)
    size_range(self, int a, int b, int c = 0, int d = 0, int e = 0, int f = 0, 
        int g = 0)
    x_root(self, *args)
    x_root(self) -> int
    xclass(self, *args)
    xclass(self) -> char
    xclass(self, char c)
    y_root(self, *args)
    y_root(self) -> int

    Static methods inherited from Fl_Window:
    current(*args)
    current() -> Fl_Window
    default_callback(*args)
    default_callback(Fl_Window arg0, void v)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_End(__builtin__.object)
        Proxy of C++ Fl_End class
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self) -> Fl_End
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_End>
    delete_Fl_End(Fl_End self)

     
    class Fl_File_Browser(Fl_Browser)
        The Fl_File_Browser widget displays a list of filenames, optionally with 
    file-specific icons.
     
     
    Method resolution order:
    Fl_File_Browser
    Fl_Browser
    Fl_Browser_
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_File_Browser
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    filetype(self, *args)
    filetype(self) -> int
    filetype(self, int t)
    filter(self, *args)
    filter(self, char pattern)
    filter(self) -> char
    full_height(self, *args)
    full_height(self) -> int
    full_width(self, *args)
    full_width(self) -> int
    iconsize(self, *args)
    iconsize(self) -> uchar
    iconsize(self, uchar s)
    incr_height(self, *args)
    incr_height(self) -> int
    item_draw(self, *args)
    item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
    item_first(self, *args)
    item_first(self) -> void
    item_height(self, *args)
    item_height(self, void arg0) -> int
    item_next(self, *args)
    item_next(self, void arg0) -> void
    item_prev(self, *args)
    item_prev(self, void arg0) -> void
    item_quick_height(self, *args)
    item_quick_height(self, void arg0) -> int
    item_select(self, *args)
    item_select(self, void arg0, int arg1)
    item_selected(self, *args)
    item_selected(self, void arg0) -> int
    item_width(self, *args)
    item_width(self, void arg0) -> int
    load(self, *args)
    load(self, PyObject dObj, PyObject sObj) -> int
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    DIRECTORIES = 1
    FILES = 0
    __swig_destroy__ = <built-in function delete_Fl_File_Browser>
    delete_Fl_File_Browser(Fl_File_Browser self)

    Methods inherited from Fl_Browser:
    add(self, *args)
    add(self, char text, PyObject data = None)
    bottomline(self, *args)
    bottomline(self, int l)
    clear(self, *args)
    clear(self)
    column_char(self, *args)
    column_char(self) -> char
    column_char(self, char c)
    column_widths(self, *args)
    column_widths(self) -> int
    column_widths(self, PyObject widths)
    data(self, *args)
    data(self, int index, PyObject data = None) -> PyObject
    display(self, *args)
    display(self, int arg0, int arg1 = 1)
    displayed(self, *args)
    displayed(self, int n) -> int
    format_char(self, *args)
    format_char(self) -> char
    format_char(self, char c)
    get_data(self, *args)
    get_data(self, int index) -> PyObject
    hide(self, *args)
    hide(self, int n)
    hide(self)
    insert(self, *args)
    insert(self, int index, char text, PyObject data = None)
    lineposition(self, *args)
    lineposition(self, int arg0, Fl_Line_Position arg1)
    make_visible(self, *args)
    make_visible(self, int n)
    middleline(self, *args)
    middleline(self, int l)
    move(self, *args)
    move(self, int to, int _from)
    remove(self, *args)
    remove(self, int arg0)
    replace(self, *args)
    replace(self, int a, char b)
    select(self, *args)
    select(self, int arg0, int arg1 = 1) -> int
    selected(self, *args)
    selected(self, int arg0) -> int
    show(self, *args)
    show(self, int n)
    show(self)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    swap(self, *args)
    swap(self, int a, int b)
    text(self, *args)
    text(self, int arg0) -> char
    text(self, int arg0, char arg1)
    topline(self, *args)
    topline(self) -> int
    topline(self, int l)
    value(self, *args)
    value(self) -> int
    value(self, int v)
    visible(self, *args)
    visible(self, int n) -> int

    Data and other attributes inherited from Fl_Browser:
    BOTTOM = 1
    MIDDLE = 2
    TOP = 0

    Methods inherited from Fl_Browser_:
    deselect(self, *args)
    deselect(self, int docallbacks = 0) -> int
    getHScrollbar(self, *args)
    getHScrollbar(self) -> Fl_Scrollbar
    getScrollbar(self, *args)
    getScrollbar(self) -> Fl_Scrollbar
    handle(self, *args)
    handle(self, int arg0) -> int
    has_scrollbar(self, *args)
    has_scrollbar(self) -> uchar
    has_scrollbar(self, uchar i)
    hposition(self, *args)
    hposition(self) -> int
    hposition(self, int arg0)
    position(self, *args)
    position(self) -> int
    position(self, int arg0)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    scrollbar_left(self, *args)
    scrollbar_left(self)
    scrollbar_right(self, *args)
    scrollbar_right(self)
    select_only(self, *args)
    select_only(self, void arg0, int docallbacks = 0) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)

    Static methods inherited from Fl_Browser_:
    scrollbar_width(*args)
    scrollbar_width(int b)
    scrollbar_width() -> int

    Data and other attributes inherited from Fl_Browser_:
    ALWAYS_ON = 4
    BOTH = 3
    BOTH_ALWAYS = 7
    HORIZONTAL = 1
    HORIZONTAL_ALWAYS = 5
    VERTICAL = 2
    VERTICAL_ALWAYS = 6

    Methods inherited from Fl_Group:
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_File_Chooser(__builtin__.object)
        The Fl_File_Chooser widget displays a standard file selection dialog that 
    supports various selection modes.
     
    The Fl_File_Chooser class also exports several static values that may be used 
    to localize or customize the appearance of all file chooser dialogs:
    Member      Default value
    add_favorites_label         'Add to Favorites'
    all_files_label     'All Files (*)'
    custom_filter_label         'Custom Filter'
    existing_file_label         'Please choose an existing file!'
    favorites_label     'Favorites'
    filename_label              'Filename:'
    filesystems_label   'My Computer' (WIN32)
                        'File Systems' (all others)
    manage_favorites_label      'Manage Favorites'
    new_directory_label         'New Directory?'
    new_directory_tooltip       'Create a new directory.'
    preview_label               'Preview'
    save_label          'Save'
    show_label          'Show:'
    sort                        fl_numericsort
     
    The sort member specifies the sort function that is used when loading the 
    contents of a directory.
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self, char d, char p, int t, char title) -> Fl_File_Chooser
    __repr__ = _swig_repr(self)
    callback = __Fl_File_ChooserCallback(self, *args)
    color(self, *args)
    color(self, Fl_Color c)
    color(self) -> Fl_Color
    count(self, *args)
    count(self) -> int
    directory(self, *args)
    directory(self, char d)
    directory(self) -> char
    filter(self, *args)
    filter(self, char p)
    filter(self) -> char
    filter_value(self, *args)
    filter_value(self) -> int
    filter_value(self, int f)
    hide(self, *args)
    hide(self)
    iconsize(self, *args)
    iconsize(self, uchar s)
    iconsize(self) -> uchar
    label(self, *args)
    label(self, char l)
    label(self) -> char
    ok_label(self, *args)
    ok_label(self, char l)
    ok_label(self) -> char
    preview(self, *args)
    preview(self, int e)
    preview(self) -> int
    rescan(self, *args)
    rescan(self)
    show(self, *args)
    show(self)
    shown(self, *args)
    shown(self) -> int
    textcolor(self, *args)
    textcolor(self, Fl_Color c)
    textcolor(self) -> Fl_Color
    textfont(self, *args)
    textfont(self, uchar f)
    textfont(self) -> uchar
    textsize(self, *args)
    textsize(self, uchar s)
    textsize(self) -> uchar
    type(self, *args)
    type(self, int t)
    type(self) -> int
    user_data(self, *args)
    user_data(self)
    user_data(self, void d)
    value(self, *args)
    value(self, int f = 1) -> char
    value(self, char filename)
    visible(self, *args)
    visible(self) -> int

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    CREATE = 2
    DIRECTORY = 4
    MULTI = 1
    SINGLE = 0
    __swig_destroy__ = <built-in function delete_Fl_File_Chooser>
    delete_Fl_File_Chooser(Fl_File_Chooser self)

     
    class Fl_File_Icon(__builtin__.object)
        The Fl_File_Icon class manages icon images that can be used as labels in 
    other widgets and as icons in the FileBrowser widget.
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self, char p, int t, int nd = 0, short d = None) -> Fl_File_Icon
    __repr__ = _swig_repr(self)
    add(self, *args)
    add(self, short d) -> short
    add_color(self, *args)
    add_color(self, Fl_Color c) -> short
    add_vertex(self, *args)
    add_vertex(self, int x, int y) -> short
    add_vertex(self, float x, float y) -> short
    clear(self, *args)
    clear(self)
    draw(self, *args)
    draw(self, int x, int y, int w, int h, Fl_Color ic, int active = 1)
    label(self, *args)
    label(self, Fl_Widget w)
    load(self, *args)
    load(self, char f)
    load_fti(self, *args)
    load_fti(self, char fti) -> int
    load_image(self, *args)
    load_image(self, char i) -> int
    next(self, *args)
    next(self) -> Fl_File_Icon
    pattern(self, *args)
    pattern(self) -> char
    size(self, *args)
    size(self) -> int
    type(self, *args)
    type(self) -> int
    value(self, *args)
    value(self) -> short

    Static methods defined here:
    find(*args)
    find(char filename, int filetype = ANY) -> Fl_File_Icon
    first(*args)
    first() -> Fl_File_Icon
    labeltype(*args)
    labeltype(Fl_Label o, int x, int y, int w, int h, Fl_Align a)
    load_system_icons(*args)
    load_system_icons()

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    ANY = 0
    CLOSEDLINE = 3
    COLOR = 1
    DEVICE = 3
    DIRECTORY = 5
    END = 0
    FIFO = 2
    LINE = 2
    LINK = 4
    OUTLINEPOLYGON = 5
    PLAIN = 1
    POLYGON = 4
    VERTEX = 6
    __swig_destroy__ = <built-in function delete_Fl_File_Icon>
    delete_Fl_File_Icon(Fl_File_Icon self)

     
    class Fl_File_Input(Fl_Input)
        This widget displays a pathname in a text input field. A navigation bar 
    located above the input field allows the user to navigate upward in the 
    directory tree.
     
     
    Method resolution order:
    Fl_File_Input
    Fl_Input
    Fl_Input_
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char t = None) -> Fl_File_Input
    __repr__ = _swig_repr(self)
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    draw(self, *args)
    draw(self)
    errorcolor(self, *args)
    errorcolor(self) -> Fl_Color
    errorcolor(self, Fl_Color c)
    handle(self, *args)
    handle(self, int arg0) -> int
    value(self, *args)
    value(self, char arg0) -> int
    value(self, char arg0, int arg1) -> int
    value(self) -> char

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_File_Input>
    delete_Fl_File_Input(Fl_File_Input self)

    Methods inherited from Fl_Input_:
    copy(self, *args)
    copy(self, int clipboard) -> int
    copy_cuts(self, *args)
    copy_cuts(self) -> int
    cursor_color(self, *args)
    cursor_color(self) -> Fl_Color
    cursor_color(self, unsigned int n)
    cut(self, *args)
    cut(self) -> int
    cut(self, int n) -> int
    cut(self, int a, int b) -> int
    index(self, *args)
    index(self, int i) -> char
    input_type(self, *args)
    input_type(self) -> int
    input_type(self, int t)
    insert(self, *args)
    insert(self, char t, int l = 0) -> int
    mark(self, *args)
    mark(self) -> int
    mark(self, int m) -> int
    maximum_size(self, *args)
    maximum_size(self) -> int
    maximum_size(self, int m)
    position(self, *args)
    position(self) -> int
    position(self, int p, int m) -> int
    position(self, int p) -> int
    readonly(self, *args)
    readonly(self) -> int
    readonly(self, int b)
    replace(self, *args)
    replace(self, int arg0, int arg1, char arg2, int arg3 = 0) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    static_value(self, *args)
    static_value(self, char arg0) -> int
    static_value(self, char arg0, int arg1) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)
    undo(self, *args)
    undo(self) -> int
    wrap(self, *args)
    wrap(self) -> int
    wrap(self, int b)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Fill_Dial(Fl_Dial)
        The Fl_Fill_Dial widget provides a filled, circular dial to control a single 
    floating point value.
     
     
    Method resolution order:
    Fl_Fill_Dial
    Fl_Dial
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Fill_Dial
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Fill_Dial>
    delete_Fl_Fill_Dial(Fl_Fill_Dial self)

    Methods inherited from Fl_Dial:
    angle1(self, *args)
    angle1(self) -> short
    angle1(self, short a)
    angle2(self, *args)
    angle2(self) -> short
    angle2(self, short a)
    angles(self, *args)
    angles(self, short a, short b)
    handle(self, *args)
    handle(self, int arg0) -> int

    Methods inherited from Fl_Valuator:
    bounds(self, *args)
    bounds(self, double a, double b)
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Fill_Slider(Fl_Slider)
        The Fl_Fill_Slider widget contains a sliding knob inside a box. It if often 
    used as a scrollbar. Moving the box all the way to the top/left sets it to 
    the minimum(), and to the bottom/right to the maximum(). The minimum() may 
    be greater than the maximum() to reverse the slider direction.
     
     
    Method resolution order:
    Fl_Fill_Slider
    Fl_Slider
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Fill_Slider
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Fill_Slider>
    delete_Fl_Fill_Slider(Fl_Fill_Slider self)

    Methods inherited from Fl_Slider:
    bounds(self, *args)
    bounds(self, double a, double b)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    scrollvalue(self, *args)
    scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
    slider(self, *args)
    slider(self) -> Fl_Boxtype
    slider(self, Fl_Boxtype c)
    slider_size(self, *args)
    slider_size(self) -> float
    slider_size(self, double v)

    Methods inherited from Fl_Valuator:
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Float_Input(Fl_Input)
        The Fl_Float_Input class is a subclass of Fl_Input  that only allows the 
    user to type floating point numbers (sign, digits, decimal point, more 
    digits, 'E' or 'e', sign, digits).
     
     
    Method resolution order:
    Fl_Float_Input
    Fl_Input
    Fl_Input_
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Float_Input
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Float_Input>
    delete_Fl_Float_Input(Fl_Float_Input self)

    Methods inherited from Fl_Input:
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Methods inherited from Fl_Input_:
    copy(self, *args)
    copy(self, int clipboard) -> int
    copy_cuts(self, *args)
    copy_cuts(self) -> int
    cursor_color(self, *args)
    cursor_color(self) -> Fl_Color
    cursor_color(self, unsigned int n)
    cut(self, *args)
    cut(self) -> int
    cut(self, int n) -> int
    cut(self, int a, int b) -> int
    index(self, *args)
    index(self, int i) -> char
    input_type(self, *args)
    input_type(self) -> int
    input_type(self, int t)
    insert(self, *args)
    insert(self, char t, int l = 0) -> int
    mark(self, *args)
    mark(self) -> int
    mark(self, int m) -> int
    maximum_size(self, *args)
    maximum_size(self) -> int
    maximum_size(self, int m)
    position(self, *args)
    position(self) -> int
    position(self, int p, int m) -> int
    position(self, int p) -> int
    readonly(self, *args)
    readonly(self) -> int
    readonly(self, int b)
    replace(self, *args)
    replace(self, int arg0, int arg1, char arg2, int arg3 = 0) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    static_value(self, *args)
    static_value(self, char arg0) -> int
    static_value(self, char arg0, int arg1) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)
    undo(self, *args)
    undo(self) -> int
    value(self, *args)
    value(self, char arg0) -> int
    value(self, char arg0, int arg1) -> int
    value(self) -> char
    wrap(self, *args)
    wrap(self) -> int
    wrap(self, int b)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_FormsBitmap(Fl_Widget)
        Proxy of C++ Fl_FormsBitmap class
     
     
    Method resolution order:
    Fl_FormsBitmap
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, Fl_Boxtype arg0, int arg1, int arg2, int arg3, int arg4, 
        char arg5 = None) -> Fl_FormsBitmap
    __repr__ = _swig_repr(self)
    bitmap(self, *args)
    bitmap(self, Fl_Bitmap B)
    bitmap(self) -> Fl_Bitmap
    draw(self, *args)
    draw(self)
    set(self, *args)
    set(self, int W, int H, uchar bits)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_FormsBitmap>
    delete_Fl_FormsBitmap(Fl_FormsBitmap self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    handle(self, *args)
    handle(self, int arg0) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_FormsPixmap(Fl_Widget)
        Proxy of C++ Fl_FormsPixmap class
     
     
    Method resolution order:
    Fl_FormsPixmap
    Fl_Widget
    __builtin__.object

    Methods defined here:
    Pixmap(self, *args)
    Pixmap(self, Fl_Pixmap B)
    Pixmap(self) -> Fl_Pixmap
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, Fl_Boxtype arg0, int arg1, int arg2, int arg3, int arg4, 
        char arg5 = None) -> Fl_FormsPixmap
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    set(self, *args)
    set(self, char bits)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_FormsPixmap>
    delete_Fl_FormsPixmap(Fl_FormsPixmap self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    handle(self, *args)
    handle(self, int arg0) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Free(Fl_Widget)
        Emulation of the Forms 'free' widget. This emulation allows the free demo 
    to run, and appears to be useful for porting programs written in Forms which 
    use the free widget or make subclasses of the Forms widgets.
     
    There are five types of free, which determine when the handle function is 
    called:
     
          FL_NORMAL_FREE                1
          FL_SLEEPING_FREE              2
          FL_INPUT_FREE         3
          FL_CONTINUOUS_FREE    4
          FL_ALL_FREE           5
     
    An FL_INPUT_FREE accepts FL_FOCUS events. A FL_CONTINUOUS_FREE sets a 
    timeout callback 100 times a second and provides a FL_STEP event, this 
    has obvious detrimental effects on machine performance. FL_ALL_FREE does 
    both. FL_SLEEPING_FREE are deactivated.
     
     
    Method resolution order:
    Fl_Free
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, uchar t, int x, int y, int w, int h, char l, FL_HANDLEPTR hdl) -> Fl_Free
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Free>
    delete_Fl_Free(Fl_Free self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_GIF_Image(Fl_Pixmap)
        The Fl_GIF_Image class supports loading, caching, and drawing of Compuserve 
    GIF images. The class loads the first image and supports transparency.
     
     
    Method resolution order:
    Fl_GIF_Image
    Fl_Pixmap
    Fl_Image
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, char filename) -> Fl_GIF_Image
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_GIF_Image>
    delete_Fl_GIF_Image(Fl_GIF_Image self)

    Methods inherited from Fl_Pixmap:
    color_average(self, *args)
    color_average(self, Fl_Color c, float i)
    copy(self, *args)
    copy(self, int W, int H) -> Fl_Image
    copy(self) -> Fl_Image
    desaturate(self, *args)
    desaturate(self)
    draw(self, *args)
    draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0)
    draw(self, int X, int Y)
    label(self, *args)
    label(self, Fl_Widget w)
    label(self, Fl_Menu_Item m)
    uncache(self, *args)
    uncache(self)

    Methods inherited from Fl_Image:
    count(self, *args)
    count(self) -> int
    d(self, *args)
    d(self) -> int
    data(self, *args)
    data(self) -> char
    h(self, *args)
    h(self) -> int
    inactive(self, *args)
    inactive(self)
    ld(self, *args)
    ld(self) -> int
    w(self, *args)
    w(self) -> int

    Data descriptors inherited from Fl_Image:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Gl_Window(Fl_Window)
        The Fl_Gl_Window widget sets things up so OpenGL works, and also keeps an 
    OpenGL 'context' for that window, so that changes to the lighting and 
    projection may be reused between redraws. Fl_Gl_Window also flushes the 
    OpenGL streams and swaps buffers after draw()  returns.
     
    OpenGL hardware typically provides some overlay bit planes, which are very 
    useful for drawing UI controls atop your 3D graphics. If the overlay hardware 
    is not provided, FLTK tries to simulate the overlay, This works pretty well 
    if your graphics are double buffered, but not very well for single-buffered.
     
     
    Method resolution order:
    Fl_Gl_Window
    Fl_Window
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int W, int H, char l = None) -> Fl_Gl_Window
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Gl_Window
    __repr__ = _swig_repr(self)
    can_do(self, *args)
    can_do(self, int m) -> int
    can_do(self, int m) -> int
    can_do(self) -> int
    can_do_overlay(self, *args)
    can_do_overlay(self) -> int
    context(self, *args)
    context(self)
    context(self, void arg0, int destroy_flag = 0)
    context_valid(self, *args)
    context_valid(self) -> char
    context_valid(self, char v)
    draw(self, *args)
    draw(self)
    drawPixels(self, *args)
    drawPixels(self, PyObject rgb_py)
     
    Writes a raw RGB string to the canvas.
     
    Arguments:
        - rgb - a string of width * height * 3 bytes, comprising
          the raw image in RGB format
    flush(self, *args)
    flush(self)
    hide(self, *args)
    hide(self)
    hide_overlay(self, *args)
    hide_overlay(self)
    invalidate(self, *args)
    invalidate(self)
    make_current(self, *args)
    make_current(self)
    make_overlay_current(self, *args)
    make_overlay_current(self)
    mode(self, *args)
    mode(self) -> Fl_Mode
    mode(self, int a) -> int
    mode(self, int a) -> int
    ortho(self, *args)
    ortho(self)
    redraw_overlay(self, *args)
    redraw_overlay(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    show(self, *args)
    show(self, PyObject count = None, PyObject data = None)
    swap_buffers(self, *args)
    swap_buffers(self)
    valid(self, *args)
    valid(self) -> char
    valid(self, char v)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Gl_Window>
    delete_Fl_Gl_Window(Fl_Gl_Window self)

    Methods inherited from Fl_Window:
    border(self, *args)
    border(self, int b)
    border(self) -> int
    clear_border(self, *args)
    clear_border(self)
    copy_label(self, *args)
    copy_label(self, char a)
    cursor(self, *args)
    cursor(self, Fl_Cursor arg0, Fl_Color arg1 = FL_BLACK, Fl_Color arg2 = FL_WHITE)
    default_cursor(self, *args)
    default_cursor(self, Fl_Cursor arg0, Fl_Color arg1 = FL_BLACK, Fl_Color arg2 = FL_WHITE)
    free_position(self, *args)
    free_position(self)
    fullscreen(self, *args)
    fullscreen(self)
    fullscreen_off(self, *args)
    fullscreen_off(self, int arg0, int arg1, int arg2, int arg3)
    handle(self, *args)
    handle(self, int arg0) -> int
    hotspot(self, *args)
    hotspot(self, int x, int y, int offscreen = 0)
    hotspot(self, Fl_Widget arg0, int offscreen = 0)
    icon(self, *args)
    icon(self) -> void
    icon(self, void ic)
    iconize(self, *args)
    iconize(self)
    iconlabel(self, *args)
    iconlabel(self) -> char
    iconlabel(self, char arg0)
    label(self, *args)
    label(self) -> char
    label(self, char arg0)
    label(self, char label, char iconlabel)
    modal(self, *args)
    modal(self) -> int
    non_modal(self, *args)
    non_modal(self) -> int
    override(self, *args)
    override(self) -> int
    set_modal(self, *args)
    set_modal(self)
    set_non_modal(self, *args)
    set_non_modal(self)
    set_override(self, *args)
    set_override(self)
    shown(self, *args)
    shown(self) -> int
    size_range(self, *args)
    size_range(self, int a, int b, int c = 0, int d = 0, int e = 0, int f = 0, 
        int g = 0)
    x_root(self, *args)
    x_root(self) -> int
    xclass(self, *args)
    xclass(self) -> char
    xclass(self, char c)
    y_root(self, *args)
    y_root(self) -> int

    Static methods inherited from Fl_Window:
    current(*args)
    current() -> Fl_Window
    default_callback(*args)
    default_callback(Fl_Window arg0, void v)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Group(Fl_Widget)
        The Fl_Group class is the FLTK container widget. It maintains an array of 
    child widgets. These children can themselves be any widget including Fl_Group
    The most important subclass of Fl_Group  is Fl_Window, however groups can 
    also be used to control radio buttons or to enforce resize behavior.
     
     
    Method resolution order:
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Group
    __repr__ = _swig_repr(self)
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    draw(self, *args)
    draw(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)

    Static methods defined here:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Group>
    delete_Fl_Group(Fl_Group self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Help_Block(__builtin__.object)
        Proxy of C++ Fl_Help_Block class
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self) -> Fl_Help_Block
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Help_Block>
    delete_Fl_Help_Block(Fl_Help_Block self)

     
    class Fl_Help_Dialog(__builtin__.object)
        The Fl_Help_Dialog widget displays a standard help dialog window using the 
    Fl_Help_View widget.
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self) -> Fl_Help_Dialog
    __repr__ = _swig_repr(self)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    load(self, *args)
    load(self, char f)
    position(self, *args)
    position(self, int xx, int yy)
    resize(self, *args)
    resize(self, int xx, int yy, int ww, int hh)
    show(self, *args)
    show(self)
    show(self, int argc, char argv)
    textsize(self, *args)
    textsize(self, uchar s)
    textsize(self) -> uchar
    topline(self, *args)
    topline(self, char n)
    topline(self, int n)
    value(self, *args)
    value(self, char f)
    value(self) -> char
    visible(self, *args)
    visible(self) -> int
    w(self, *args)
    w(self) -> int
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Help_Dialog>
    delete_Fl_Help_Dialog(Fl_Help_Dialog self)

     
    class Fl_Help_Link(__builtin__.object)
        Proxy of C++ Fl_Help_Link class
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self) -> Fl_Help_Link
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Help_Link>
    delete_Fl_Help_Link(Fl_Help_Link self)

     
    class Fl_Help_Target(__builtin__.object)
        Proxy of C++ Fl_Help_Target class
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self) -> Fl_Help_Target
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Help_Target>
    delete_Fl_Help_Target(Fl_Help_Target self)

     
    class Fl_Help_View(Fl_Group)
        The Fl_Help_View widget displays HTML text. Most HTML 2.0 elements are 
    supported, as well as a primitive implementation of tables. GIF, JPEG, 
    and PNG images are displayed inline.
     
     
    Method resolution order:
    Fl_Help_View
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int xx, int yy, int ww, int hh, char l = None) -> Fl_Help_View
    __repr__ = _swig_repr(self)
    clear_selection(self, *args)
    clear_selection(self)
    directory(self, *args)
    directory(self) -> char
    draw(self, *args)
    draw(self)
    filename(self, *args)
    filename(self) -> char
    find(self, *args)
    find(self, char s, int p = 0) -> int
    leftline(self, *args)
    leftline(self, int arg0)
    leftline(self) -> int
    link = __Fl_Help_ViewLink(self, *args)
    load(self, *args)
    load(self, char f) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    select_all(self, *args)
    select_all(self)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    textcolor(self, *args)
    textcolor(self, Fl_Color c)
    textcolor(self) -> Fl_Color
    textfont(self, *args)
    textfont(self, uchar f)
    textfont(self) -> uchar
    textsize(self, *args)
    textsize(self, uchar s)
    textsize(self) -> uchar
    title(self, *args)
    title(self) -> char
    topline(self, *args)
    topline(self, char n)
    topline(self, int arg0)
    topline(self) -> int
    value(self, *args)
    value(self, char v)
    value(self) -> char

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Help_View>
    delete_Fl_Help_View(Fl_Help_View self)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Hold_Browser(Fl_Browser)
        The Fl_Hold_Browser class is a subclass of Fl_Browser  which lets the user 
    select a single item, or no items by clicking on the empty space. As long 
    as the mouse button is held down the item pointed to by it is highlighted, 
    and this highlighting remains on when the mouse button is released. Normally 
    the callback is done when the user releases the mouse, but you can change 
    this with when().
     
    See Fl_Browser for methods to add and remove lines from the browser.
     
     
    Method resolution order:
    Fl_Hold_Browser
    Fl_Browser
    Fl_Browser_
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Hold_Browser
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    full_height(self, *args)
    full_height(self) -> int
    full_width(self, *args)
    full_width(self) -> int
    incr_height(self, *args)
    incr_height(self) -> int
    item_draw(self, *args)
    item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
    item_first(self, *args)
    item_first(self) -> void
    item_height(self, *args)
    item_height(self, void arg0) -> int
    item_next(self, *args)
    item_next(self, void arg0) -> void
    item_prev(self, *args)
    item_prev(self, void arg0) -> void
    item_quick_height(self, *args)
    item_quick_height(self, void arg0) -> int
    item_select(self, *args)
    item_select(self, void arg0, int arg1)
    item_selected(self, *args)
    item_selected(self, void arg0) -> int
    item_width(self, *args)
    item_width(self, void arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Hold_Browser>
    delete_Fl_Hold_Browser(Fl_Hold_Browser self)

    Methods inherited from Fl_Browser:
    add(self, *args)
    add(self, char text, PyObject data = None)
    bottomline(self, *args)
    bottomline(self, int l)
    clear(self, *args)
    clear(self)
    column_char(self, *args)
    column_char(self) -> char
    column_char(self, char c)
    column_widths(self, *args)
    column_widths(self) -> int
    column_widths(self, PyObject widths)
    data(self, *args)
    data(self, int index, PyObject data = None) -> PyObject
    display(self, *args)
    display(self, int arg0, int arg1 = 1)
    displayed(self, *args)
    displayed(self, int n) -> int
    format_char(self, *args)
    format_char(self) -> char
    format_char(self, char c)
    get_data(self, *args)
    get_data(self, int index) -> PyObject
    hide(self, *args)
    hide(self, int n)
    hide(self)
    insert(self, *args)
    insert(self, int index, char text, PyObject data = None)
    lineposition(self, *args)
    lineposition(self, int arg0, Fl_Line_Position arg1)
    load(self, *args)
    load(self, char filename) -> int
    make_visible(self, *args)
    make_visible(self, int n)
    middleline(self, *args)
    middleline(self, int l)
    move(self, *args)
    move(self, int to, int _from)
    remove(self, *args)
    remove(self, int arg0)
    replace(self, *args)
    replace(self, int a, char b)
    select(self, *args)
    select(self, int arg0, int arg1 = 1) -> int
    selected(self, *args)
    selected(self, int arg0) -> int
    show(self, *args)
    show(self, int n)
    show(self)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    swap(self, *args)
    swap(self, int a, int b)
    text(self, *args)
    text(self, int arg0) -> char
    text(self, int arg0, char arg1)
    topline(self, *args)
    topline(self) -> int
    topline(self, int l)
    value(self, *args)
    value(self) -> int
    value(self, int v)
    visible(self, *args)
    visible(self, int n) -> int

    Data and other attributes inherited from Fl_Browser:
    BOTTOM = 1
    MIDDLE = 2
    TOP = 0

    Methods inherited from Fl_Browser_:
    deselect(self, *args)
    deselect(self, int docallbacks = 0) -> int
    getHScrollbar(self, *args)
    getHScrollbar(self) -> Fl_Scrollbar
    getScrollbar(self, *args)
    getScrollbar(self) -> Fl_Scrollbar
    handle(self, *args)
    handle(self, int arg0) -> int
    has_scrollbar(self, *args)
    has_scrollbar(self) -> uchar
    has_scrollbar(self, uchar i)
    hposition(self, *args)
    hposition(self) -> int
    hposition(self, int arg0)
    position(self, *args)
    position(self) -> int
    position(self, int arg0)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    scrollbar_left(self, *args)
    scrollbar_left(self)
    scrollbar_right(self, *args)
    scrollbar_right(self)
    select_only(self, *args)
    select_only(self, void arg0, int docallbacks = 0) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Static methods inherited from Fl_Browser_:
    scrollbar_width(*args)
    scrollbar_width(int b)
    scrollbar_width() -> int

    Data and other attributes inherited from Fl_Browser_:
    ALWAYS_ON = 4
    BOTH = 3
    BOTH_ALWAYS = 7
    HORIZONTAL = 1
    HORIZONTAL_ALWAYS = 5
    VERTICAL = 2
    VERTICAL_ALWAYS = 6

    Methods inherited from Fl_Group:
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Hor_Fill_Slider(Fl_Slider)
        The Fl_Hor_Fill_Slider widget contains a sliding knob inside a box. It is 
    often used as a scrollbar. Moving the box all the way to the top/left sets 
    it to the minimum(), and to the bottom/right to the maximum(). The minimum() 
    may be greater than the maximum() to reverse the slider direction.
     
     
    Method resolution order:
    Fl_Hor_Fill_Slider
    Fl_Slider
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Hor_Fill_Slider
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Hor_Fill_Slider>
    delete_Fl_Hor_Fill_Slider(Fl_Hor_Fill_Slider self)

    Methods inherited from Fl_Slider:
    bounds(self, *args)
    bounds(self, double a, double b)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    scrollvalue(self, *args)
    scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
    slider(self, *args)
    slider(self) -> Fl_Boxtype
    slider(self, Fl_Boxtype c)
    slider_size(self, *args)
    slider_size(self) -> float
    slider_size(self, double v)

    Methods inherited from Fl_Valuator:
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Hor_Nice_Slider(Fl_Slider)
        The Fl_Hor_Nice_Slider widget contains a sliding knob inside a box. It is 
    often used as a scrollbar. Moving the box all the way to the top/left sets 
    it to the minimum(), and to the bottom/right to the maximum(). The minimum() 
    may be greater than the maximum() to reverse the slider direction.
     
     
    Method resolution order:
    Fl_Hor_Nice_Slider
    Fl_Slider
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Hor_Nice_Slider
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Hor_Nice_Slider>
    delete_Fl_Hor_Nice_Slider(Fl_Hor_Nice_Slider self)

    Methods inherited from Fl_Slider:
    bounds(self, *args)
    bounds(self, double a, double b)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    scrollvalue(self, *args)
    scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
    slider(self, *args)
    slider(self) -> Fl_Boxtype
    slider(self, Fl_Boxtype c)
    slider_size(self, *args)
    slider_size(self) -> float
    slider_size(self, double v)

    Methods inherited from Fl_Valuator:
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Hor_Slider(Fl_Slider)
        The Fl_Hor_Slider widget contains a sliding knob inside a box. It is 
    often used as a scrollbar. Moving the box all the way to the top/left sets 
    it to the minimum(), and to the bottom/right to the maximum(). The minimum() 
    may be greater than the maximum() to reverse the slider direction.
     
     
    Method resolution order:
    Fl_Hor_Slider
    Fl_Slider
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Hor_Slider
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Hor_Slider>
    delete_Fl_Hor_Slider(Fl_Hor_Slider self)

    Methods inherited from Fl_Slider:
    bounds(self, *args)
    bounds(self, double a, double b)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    scrollvalue(self, *args)
    scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
    slider(self, *args)
    slider(self) -> Fl_Boxtype
    slider(self, Fl_Boxtype c)
    slider_size(self, *args)
    slider_size(self) -> float
    slider_size(self, double v)

    Methods inherited from Fl_Valuator:
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Hor_Value_Slider(Fl_Value_Slider)
        The Fl_Hor_Value_Slider widget contains a sliding knob inside a box. It is 
    often used as a scrollbar. Moving the box all the way to the top/left sets 
    it to the minimum(), and to the bottom/right to the maximum(). The minimum() 
    may be greater than the maximum() to reverse the slider direction.
     
     
    Method resolution order:
    Fl_Hor_Value_Slider
    Fl_Value_Slider
    Fl_Slider
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Hor_Value_Slider
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Hor_Value_Slider>
    delete_Fl_Hor_Value_Slider(Fl_Hor_Value_Slider self)

    Methods inherited from Fl_Value_Slider:
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int s)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Methods inherited from Fl_Slider:
    bounds(self, *args)
    bounds(self, double a, double b)
    scrollvalue(self, *args)
    scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
    slider(self, *args)
    slider(self) -> Fl_Boxtype
    slider(self, Fl_Boxtype c)
    slider_size(self, *args)
    slider_size(self) -> float
    slider_size(self, double v)

    Methods inherited from Fl_Valuator:
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Image(__builtin__.object)
        Fl_Image is the base class used for caching and drawing all kinds of images 
    in FLTK. This class keeps track of common image data such as the pixels, 
    colormap, width, height, and depth. Virtual methods are used to provide 
    type-specific image handling.
     
    Since the Fl_Image class does not support image drawing by itself, calling 
    the draw() method results in a box with an X in it being drawn instead.
     
      Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int W, int H, int D) -> Fl_Image
    __repr__ = _swig_repr(self)
    color_average(self, *args)
    color_average(self, Fl_Color c, float i)
    copy(self, *args)
    copy(self, int W, int H) -> Fl_Image
    copy(self) -> Fl_Image
    count(self, *args)
    count(self) -> int
    d(self, *args)
    d(self) -> int
    data(self, *args)
    data(self) -> char
    desaturate(self, *args)
    desaturate(self)
    draw(self, *args)
    draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0)
    draw(self, int X, int Y)
    h(self, *args)
    h(self) -> int
    inactive(self, *args)
    inactive(self)
    label(self, *args)
    label(self, Fl_Widget w)
    label(self, Fl_Menu_Item m)
    ld(self, *args)
    ld(self) -> int
    uncache(self, *args)
    uncache(self)
    w(self, *args)
    w(self) -> int

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Image>
    delete_Fl_Image(Fl_Image self)

     
    class Fl_Input(Fl_Input_)
        This is the FLTK text input widget. It displays a single line of text and 
    lets the user edit it. Normally it is drawn with an inset box and a white 
    background. The text may contain any characters (even 0), and will correctly 
    display anything, using ^X notation for unprintable control characters 
    and 
    nn notation for unprintable characters with the high bit set. It 
    assumes the font can draw any characters in the ISO-8859-1 character set.
    Mouse button 1      Moves the cursor to this point. Drag selects characters. 
    Double click selects words. Triple click selects all text. Shift+click 
    extends the selection. When you select text it is automatically copied 
    to the clipboard.
    Mouse button 2      Insert the clipboard at the point clicked. You can also 
    select a region and replace it with the clipboard by selecting the region 
    with mouse button 2.
    Mouse button 3      Currently acts like button 1.
    Backspace   Deletes one character to the left, or deletes the selected 
    region.
    Enter       May cause the callback, see when().
    ^A or Home  Go to start of line.
    ^B or Left  Move left
    ^C  Copy the selection to the clipboard
    ^D or Delete        Deletes one character to the right or deletes the selected 
    region.
    ^E or End   Go to the end of line.
    ^F or Right Move right
    ^K  Delete to the end of line (next 
     character) or deletes a single 
     
    character. These deletions are all concatenated into the clipboard.
    ^N or Down  Move down (for Fl_Multiline_Input only, otherwise it moves
    to the next input field).
    ^P or Up    Move up (for Fl_Multiline_Input only, otherwise it moves to 
    the previous input field).
    ^U  Delete everything.
    ^V or ^Y    Paste the clipboard
    ^X or ^W    Copy the region to the clipboard and delete it.
    ^Z or ^_    Undo. This is a single-level undo mechanism, but all adjacent 
    deletions and insertions are concatenated into a single 'undo'. Often this 
    will undo a lot more than you expected.
    Shift+move  Move the cursor but also extend the selection.
    RightCtrl or
    Compose     Start a compose-character sequence. The next one or two keys typed 
    define the character to insert (see table that follows.)
     
    The character 'nbsp' (non-breaking space) is typed by using [compose][space].
     
    The single-character sequences may be followed by a space if necessary to 
    remove ambiguity. 
     
    The same key may be used to 'quote' control characters into the text. If you 
    need a ^Q character you can get one by typing [compose][Control+Q].
     
    X may have a key on the keyboard defined as XK_Multi_key. If so this key 
    may be used as well as the right-hand control key. You can set this up 
    with the program xmodmap.
     
    If your keyboard is set to support a foreign language you should also be 
    able to type 'dead key' prefix characters. On X you will actually be able 
    to see what dead key you typed, and if you then move the cursor without 
    completing the sequence the accent will remain inserted.
     
     
    Method resolution order:
    Fl_Input
    Fl_Input_
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Input
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Input>
    delete_Fl_Input(Fl_Input self)

    Methods inherited from Fl_Input_:
    copy(self, *args)
    copy(self, int clipboard) -> int
    copy_cuts(self, *args)
    copy_cuts(self) -> int
    cursor_color(self, *args)
    cursor_color(self) -> Fl_Color
    cursor_color(self, unsigned int n)
    cut(self, *args)
    cut(self) -> int
    cut(self, int n) -> int
    cut(self, int a, int b) -> int
    index(self, *args)
    index(self, int i) -> char
    input_type(self, *args)
    input_type(self) -> int
    input_type(self, int t)
    insert(self, *args)
    insert(self, char t, int l = 0) -> int
    mark(self, *args)
    mark(self) -> int
    mark(self, int m) -> int
    maximum_size(self, *args)
    maximum_size(self) -> int
    maximum_size(self, int m)
    position(self, *args)
    position(self) -> int
    position(self, int p, int m) -> int
    position(self, int p) -> int
    readonly(self, *args)
    readonly(self) -> int
    readonly(self, int b)
    replace(self, *args)
    replace(self, int arg0, int arg1, char arg2, int arg3 = 0) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    static_value(self, *args)
    static_value(self, char arg0) -> int
    static_value(self, char arg0, int arg1) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)
    undo(self, *args)
    undo(self) -> int
    value(self, *args)
    value(self, char arg0) -> int
    value(self, char arg0, int arg1) -> int
    value(self) -> char
    wrap(self, *args)
    wrap(self) -> int
    wrap(self, int b)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Input_(Fl_Widget)
        This is a virtual base class below Fl_Input. It has all the same interfaces, 
    but lacks the handle() and draw() method. You may want to subclass it if you 
    are one of those people who likes to change how the editing keys work.
     
    This can act like any of the subclasses of Fl_Input, by setting type() to one 
    of the following values:
     
          FL_NORMAL_INPUT               0
          FL_FLOAT_INPUT                1
          FL_INT_INPUT          2
          FL_MULTILINE_INPUT    4
          FL_SECRET_INPUT               5
          FL_INPUT_TYPE         7
          FL_INPUT_READONLY             8
          FL_NORMAL_OUTPUT              (FL_NORMAL_INPUT | FL_INPUT_READONLY)
          FL_MULTILINE_OUTPUT   (FL_MULTILINE_INPUT | FL_INPUT_READONLY)
          FL_INPUT_WRAP         16
          FL_MULTILINE_INPUT_WRAP       (FL_MULTILINE_INPUT | FL_INPUT_WRAP)
          FL_MULTILINE_OUTPUT_WRAP      (FL_MULTILINE_INPUT | FL_INPUT_READONLY | FL_INPUT_WRAP)
     
     
    Method resolution order:
    Fl_Input_
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Input_
    __repr__ = _swig_repr(self)
    copy(self, *args)
    copy(self, int clipboard) -> int
    copy_cuts(self, *args)
    copy_cuts(self) -> int
    cursor_color(self, *args)
    cursor_color(self) -> Fl_Color
    cursor_color(self, unsigned int n)
    cut(self, *args)
    cut(self) -> int
    cut(self, int n) -> int
    cut(self, int a, int b) -> int
    index(self, *args)
    index(self, int i) -> char
    input_type(self, *args)
    input_type(self) -> int
    input_type(self, int t)
    insert(self, *args)
    insert(self, char t, int l = 0) -> int
    mark(self, *args)
    mark(self) -> int
    mark(self, int m) -> int
    maximum_size(self, *args)
    maximum_size(self) -> int
    maximum_size(self, int m)
    position(self, *args)
    position(self) -> int
    position(self, int p, int m) -> int
    position(self, int p) -> int
    readonly(self, *args)
    readonly(self) -> int
    readonly(self, int b)
    replace(self, *args)
    replace(self, int arg0, int arg1, char arg2, int arg3 = 0) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    static_value(self, *args)
    static_value(self, char arg0) -> int
    static_value(self, char arg0, int arg1) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)
    undo(self, *args)
    undo(self) -> int
    value(self, *args)
    value(self, char arg0) -> int
    value(self, char arg0, int arg1) -> int
    value(self) -> char
    wrap(self, *args)
    wrap(self) -> int
    wrap(self, int b)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Input_>
    delete_Fl_Input_(Fl_Input_ self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw(self, *args)
    draw(self)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    handle(self, *args)
    handle(self, int arg0) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Input_Choice(Fl_Group)
        A combination of the input widget and a menu button. The user can either 
    type into the input area, or use the menu button chooser on the right, 
    which loads the input area with predefined text. Normally it is drawn with 
    an inset box and a white background.
     
    The application can directly access both the input and menu widgets directly, 
    using the menubutton() and input() accessor methods.
     
     
    Method resolution order:
    Fl_Input_Choice
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Input_Choice
    __repr__ = _swig_repr(self)
    add(self, *args)
    add(self, char s)
    changed(self, *args)
    changed(self) -> int
    clear(self, *args)
    clear(self)
    clear_changed(self, *args)
    clear_changed(self)
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    draw(self, *args)
    draw(self)
    input(self, *args)
    input(self) -> Fl_Input
    menu(self, *args)
    menu(self) -> Fl_Menu_Item
    menu(self, Fl_Menu_Item m)
    menubutton(self, *args)
    menubutton(self) -> Fl_Menu_Button
    resize(self, *args)
    resize(self, int X, int Y, int W, int H)
    set_changed(self, *args)
    set_changed(self)
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, Fl_Color c)
    textfont(self, *args)
    textfont(self) -> uchar
    textfont(self, uchar f)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)
    value(self, *args)
    value(self) -> char
    value(self, char val)
    value(self, int val)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Input_Choice>
    delete_Fl_Input_Choice(Fl_Input_Choice self)

    Methods inherited from Fl_Group:
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Int_Input(Fl_Input)
        The Fl_Int_Input class is a subclass of Fl_Input  that only allows the user 
    to type decimal digits (or hex numbers of the form 0xaef).
     
     
    Method resolution order:
    Fl_Int_Input
    Fl_Input
    Fl_Input_
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Int_Input
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Int_Input>
    delete_Fl_Int_Input(Fl_Int_Input self)

    Methods inherited from Fl_Input:
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Methods inherited from Fl_Input_:
    copy(self, *args)
    copy(self, int clipboard) -> int
    copy_cuts(self, *args)
    copy_cuts(self) -> int
    cursor_color(self, *args)
    cursor_color(self) -> Fl_Color
    cursor_color(self, unsigned int n)
    cut(self, *args)
    cut(self) -> int
    cut(self, int n) -> int
    cut(self, int a, int b) -> int
    index(self, *args)
    index(self, int i) -> char
    input_type(self, *args)
    input_type(self) -> int
    input_type(self, int t)
    insert(self, *args)
    insert(self, char t, int l = 0) -> int
    mark(self, *args)
    mark(self) -> int
    mark(self, int m) -> int
    maximum_size(self, *args)
    maximum_size(self) -> int
    maximum_size(self, int m)
    position(self, *args)
    position(self) -> int
    position(self, int p, int m) -> int
    position(self, int p) -> int
    readonly(self, *args)
    readonly(self) -> int
    readonly(self, int b)
    replace(self, *args)
    replace(self, int arg0, int arg1, char arg2, int arg3 = 0) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    static_value(self, *args)
    static_value(self, char arg0) -> int
    static_value(self, char arg0, int arg1) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)
    undo(self, *args)
    undo(self) -> int
    value(self, *args)
    value(self, char arg0) -> int
    value(self, char arg0, int arg1) -> int
    value(self) -> char
    wrap(self, *args)
    wrap(self) -> int
    wrap(self, int b)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_JPEG_Image(Fl_RGB_Image)
        The Fl_JPEG_Image class supports loading, caching, and drawing of Joint 
    Photographic Experts Group (JPEG) File Interchange Format (JFIF) images. 
    The class supports grayscale and color (RGB) JPEG image files.
     
     
    Method resolution order:
    Fl_JPEG_Image
    Fl_RGB_Image
    Fl_Image
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, char filename) -> Fl_JPEG_Image
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_JPEG_Image>
    delete_Fl_JPEG_Image(Fl_JPEG_Image self)

    Methods inherited from Fl_RGB_Image:
    color_average(self, *args)
    color_average(self, Fl_Color c, float i)
    copy(self, *args)
    copy(self, int W, int H) -> Fl_Image
    copy(self) -> Fl_Image
    desaturate(self, *args)
    desaturate(self)
    draw(self, *args)
    draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0)
    draw(self, int X, int Y)
    label(self, *args)
    label(self, Fl_Widget w)
    label(self, Fl_Menu_Item m)
    uncache(self, *args)
    uncache(self)

    Methods inherited from Fl_Image:
    count(self, *args)
    count(self) -> int
    d(self, *args)
    d(self) -> int
    data(self, *args)
    data(self) -> char
    h(self, *args)
    h(self) -> int
    inactive(self, *args)
    inactive(self)
    ld(self, *args)
    ld(self) -> int
    w(self, *args)
    w(self) -> int

    Data descriptors inherited from Fl_Image:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Label(__builtin__.object)
        Proxy of C++ Fl_Label class
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self) -> Fl_Label
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    measure(self, *args)
    measure(self, int arg0, int arg1)

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Label>
    delete_Fl_Label(Fl_Label self)

     
    class Fl_Light_Button(Fl_Button)
        Buttons generate callbacks when they are clicked by the user. You control 
    exactly when and how by changing the values for type() and when().
     
    The Fl_Light_Button subclass display the 'on' state by turning on a light, 
    rather than drawing pushed in. The shape of the 'light' is initially set 
    to FL_DOWN_BOX. The color of the light when on is controlled with 
    selection_color(), which defaults to FL_YELLOW.
     
     
    Method resolution order:
    Fl_Light_Button
    Fl_Button
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Light_Button
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Light_Button>
    delete_Fl_Light_Button(Fl_Light_Button self)

    Methods inherited from Fl_Button:
    clear(self, *args)
    clear(self) -> int
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    set(self, *args)
    set(self) -> int
    setonly(self, *args)
    setonly(self)
    shortcut(self, *args)
    shortcut(self) -> int
    shortcut(self, int s)
    shortcut(self, char s)
    value(self, *args)
    value(self, int arg0) -> int
    value(self) -> char

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Line_Dial(Fl_Dial)
        The Fl_Line_Dial widget provides a circular dial to control a single 
    floating point value.
     
     
    Method resolution order:
    Fl_Line_Dial
    Fl_Dial
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Line_Dial
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Line_Dial>
    delete_Fl_Line_Dial(Fl_Line_Dial self)

    Methods inherited from Fl_Dial:
    angle1(self, *args)
    angle1(self) -> short
    angle1(self, short a)
    angle2(self, *args)
    angle2(self) -> short
    angle2(self, short a)
    angles(self, *args)
    angles(self, short a, short b)
    handle(self, *args)
    handle(self, int arg0) -> int

    Methods inherited from Fl_Valuator:
    bounds(self, *args)
    bounds(self, double a, double b)
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Menu_(Fl_Widget)
        All widgets that have a menu in FLTK are subclassed off of this class. 
    Currently FLTK provides you with Fl_Menu_ButtonFl_Menu_Bar, and Fl_Choice .
     
    The class contains a pointer to an array of structures of type Fl_Menu_Item
    The array may either be supplied directly by the user program, or it may be 
    'private': a dynamically allocated array managed by the Fl_Menu_.
     
     
    Method resolution order:
    Fl_Menu_
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Menu_
    __repr__ = _swig_repr(self)
    add(self, *args)
    add(self, char arg0, int shortcut, Fl_Callback arg2, void arg3 = None, 
        int arg4 = 0) -> int
    add(self, char arg0) -> int
    add(self, PyObject lObj, PyObject sObj, PyObject cObj, PyObject uObj = None, 
        PyObject fObj = None) -> int
    clear(self, *args)
    clear(self)
    copy(self, *args)
    copy(self, Fl_Menu_Item m, void user_data = None)
    copy(self, PyObject args, PyObject user_data = None)
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    find_item(self, *args)
    find_item(self, char name) -> Fl_Menu_Item
    item_pathname(self, *args)
    item_pathname(self, char name, int namelen, Fl_Menu_Item finditem = None) -> int
    menu(self, *args)
    menu(self) -> Fl_Menu_Item
    menu(self, PyObject args)
    menu(self) -> PyObject
    mode(self, *args)
    mode(self, int i, int fl)
    mode(self, int i) -> int
    mvalue(self, *args)
    mvalue(self) -> Fl_Menu_Item
    picked(self, *args)
    picked(self, Fl_Menu_Item arg0) -> Fl_Menu_Item
    remove(self, *args)
    remove(self, int arg0)
    replace(self, *args)
    replace(self, int arg0, char arg1)
    shortcut(self, *args)
    shortcut(self, int i, int s)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    test_shortcut(self, *args)
    test_shortcut(self) -> Fl_Menu_Item
    text(self, *args)
    text(self) -> char
    text(self, int i) -> char
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int c)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar c)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar c)
    value(self, *args)
    value(self) -> int
    value(self, int i) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Menu_>
    delete_Fl_Menu_(Fl_Menu_ self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw(self, *args)
    draw(self)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    handle(self, *args)
    handle(self, int arg0) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Menu_Bar(Fl_Menu_)
        This widget provides a standard menubar interface. Usually you will put 
    this widget along the top edge of your window. The height of the widget 
    should be 30 for the menu titles to draw correctly with the default font.
     
    The items on the bar and the menus they bring up are defined by a single 
    Fl_Menu_Item array. Because a Fl_Menu_Item array defines a hierarchy, the 
    top level menu defines the items in the menubar, while the submenus define 
    the pull-down menus. Sub-sub menus and lower pop up to the right of the 
    submenus.
     
    If there is an item in the top menu that is not a title of a submenu, then 
    it acts like a 'button' in the menubar. Clicking on it will pick it.
     
    When the user picks an item off the menu, the item's callback is done with 
    the menubar as the Fl_Widget* argument. If the item does not have a callback 
    the menubar's callback is done instead.
     
    Submenus will also pop up in response to shortcuts indicated by putting 
    a '&' character in the name field of the menu item. If you put a '&' 
    character in a top-level 'button' then the shortcut picks it. The '&' 
    character in submenus is ignored until the menu is popped up.
     
    Typing the shortcut() of any of the menu items will cause callbacks 
    exactly the same as when you pick the item with the mouse.
     
     
    Method resolution order:
    Fl_Menu_Bar
    Fl_Menu_
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Menu_Bar
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Menu_Bar>
    delete_Fl_Menu_Bar(Fl_Menu_Bar self)

    Methods inherited from Fl_Menu_:
    add(self, *args)
    add(self, char arg0, int shortcut, Fl_Callback arg2, void arg3 = None, 
        int arg4 = 0) -> int
    add(self, char arg0) -> int
    add(self, PyObject lObj, PyObject sObj, PyObject cObj, PyObject uObj = None, 
        PyObject fObj = None) -> int
    clear(self, *args)
    clear(self)
    copy(self, *args)
    copy(self, Fl_Menu_Item m, void user_data = None)
    copy(self, PyObject args, PyObject user_data = None)
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    find_item(self, *args)
    find_item(self, char name) -> Fl_Menu_Item
    item_pathname(self, *args)
    item_pathname(self, char name, int namelen, Fl_Menu_Item finditem = None) -> int
    menu(self, *args)
    menu(self) -> Fl_Menu_Item
    menu(self, PyObject args)
    menu(self) -> PyObject
    mode(self, *args)
    mode(self, int i, int fl)
    mode(self, int i) -> int
    mvalue(self, *args)
    mvalue(self) -> Fl_Menu_Item
    picked(self, *args)
    picked(self, Fl_Menu_Item arg0) -> Fl_Menu_Item
    remove(self, *args)
    remove(self, int arg0)
    replace(self, *args)
    replace(self, int arg0, char arg1)
    shortcut(self, *args)
    shortcut(self, int i, int s)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    test_shortcut(self, *args)
    test_shortcut(self) -> Fl_Menu_Item
    text(self, *args)
    text(self) -> char
    text(self, int i) -> char
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int c)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar c)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar c)
    value(self, *args)
    value(self) -> int
    value(self, int i) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Menu_Button(Fl_Menu_)
        This is a button that when pushed pops up a menu (or hierarchy of menus) 
    defined by an array of Fl_Menu_Item objects.
     
    Fl_Menu_Button widget.
     
    Normally any mouse button will pop up a menu and it is lined up below the 
    button as shown in the picture. However an Fl_Menu_Button may also control 
    a pop-up menu. This is done by setting the type() , see below.
     
    The menu will also pop up in response to shortcuts indicated by putting 
    a '&' character in the label().
     
    Typing the shortcut() of any of the menu items will cause callbacks exactly 
    the same as when you pick the item with the mouse. The '&' character in menu 
    item names are only looked at when the menu is popped up, however.
     
    When the user picks an item off the menu, the item's callback is done with 
    the menu_button as the Fl_Widget* argument. If the item does not have a 
    callback the menu_button's callback is done instead.
     
     
    Method resolution order:
    Fl_Menu_Button
    Fl_Menu_
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Menu_Button
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    popup(self, *args)
    popup(self) -> Fl_Menu_Item

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    POPUP1 = 1
    POPUP12 = 3
    POPUP123 = 7
    POPUP13 = 5
    POPUP2 = 2
    POPUP23 = 6
    POPUP3 = 4
    __swig_destroy__ = <built-in function delete_Fl_Menu_Button>
    delete_Fl_Menu_Button(Fl_Menu_Button self)

    Methods inherited from Fl_Menu_:
    add(self, *args)
    add(self, char arg0, int shortcut, Fl_Callback arg2, void arg3 = None, 
        int arg4 = 0) -> int
    add(self, char arg0) -> int
    add(self, PyObject lObj, PyObject sObj, PyObject cObj, PyObject uObj = None, 
        PyObject fObj = None) -> int
    clear(self, *args)
    clear(self)
    copy(self, *args)
    copy(self, Fl_Menu_Item m, void user_data = None)
    copy(self, PyObject args, PyObject user_data = None)
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    find_item(self, *args)
    find_item(self, char name) -> Fl_Menu_Item
    item_pathname(self, *args)
    item_pathname(self, char name, int namelen, Fl_Menu_Item finditem = None) -> int
    menu(self, *args)
    menu(self) -> Fl_Menu_Item
    menu(self, PyObject args)
    menu(self) -> PyObject
    mode(self, *args)
    mode(self, int i, int fl)
    mode(self, int i) -> int
    mvalue(self, *args)
    mvalue(self) -> Fl_Menu_Item
    picked(self, *args)
    picked(self, Fl_Menu_Item arg0) -> Fl_Menu_Item
    remove(self, *args)
    remove(self, int arg0)
    replace(self, *args)
    replace(self, int arg0, char arg1)
    shortcut(self, *args)
    shortcut(self, int i, int s)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    test_shortcut(self, *args)
    test_shortcut(self) -> Fl_Menu_Item
    text(self, *args)
    text(self) -> char
    text(self, int i) -> char
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int c)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar c)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar c)
    value(self, *args)
    value(self) -> int
    value(self, int i) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Menu_Item(__builtin__.object)
        The Fl_Menu_Item structure defines a single menu item that is used by the 
    Fl_Menu_ class. This structure is defined as
     
          Fl_Menu_Item :
            text                -> character array # label()
            shortcut_   -> unsigned long
            callback_   -> Fl_Callback
            user_data_  
            flags               -> int
            labeltype_  -> unsigned character
            labelfont_  -> unsigned character
            labelsize_  -> unsigned character
            labelcolor_ -> unsigned character
          
     
          enum: # values for flags:
            FL_MENU_INACTIVE    = 1,
            FL_MENU_TOGGLE              = 2,
            FL_MENU_VALUE               = 4,
            FL_MENU_RADIO               = 8,
            FL_MENU_INVISIBLE   = 0x10,
            FL_SUBMENU_POINTER  = 0x20,
            FL_SUBMENU          = 0x40,
            FL_MENU_DIVIDER             = 0x80,
            FL_MENU_HORIZONTAL  = 0x100
          
     
    Typically menu items are statically defined; for example:
     
          MenuTable = (
            ('&alpha',   FL_ALT+ord('a'), the_cb, 1),
            ('&beta',    FL_ALT+ord('b'), the_cb, 2),
            ('gamma',    FL_ALT+ord('c'), the_cb, 3, FL_MENU_DIVIDER),
            ('&strange',  0,   strange_cb),
            ('&charm',    0,   charm_cb),
            ('&truth',    0,   truth_cb),
            ('b&eauty',   0,   beauty_cb),
            ('sub&menu',        0,   0, 0, FL_SUBMENU),
              ('one'),
              ('two'),
              ('three'),
            (None,),
            ('inactive', FL_ALT+'i', 0, 0, FL_MENU_INACTIVE|FL_MENU_DIVIDER),
            ('invisible',FL_ALT+'i', 0, 0, FL_MENU_INVISIBLE),
            ('check',    FL_ALT+'i', 0, 0, FL_MENU_TOGGLE|FL_MENU_VALUE),
            ('box',      FL_ALT+'i', 0, 0, FL_MENU_TOGGLE),
          (None,);
     
    A submenu title is identified by the bit FL_SUBMENU in the flags field, 
    and ends with a label() that is NULL. You can nest menus to any depth. A 
    pointer to the first item in the submenu can be treated as an Fl_Menu array 
    itself. It is also possible to make seperate submenu arrays with 
    FL_SUBMENU_POINTER flags.
     
    You should use the method functions to access structure members and not 
    access them directly to avoid compatibility problems with future releases 
    of FLTK.
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self) -> Fl_Menu_Item
    __repr__ = _swig_repr(self)
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    activevisible(self, *args)
    activevisible(self) -> int
    add(self, *args)
    add(self, char arg0, int shortcut, Fl_Callback arg2, void arg3 = None, 
        int arg4 = 0) -> int
    add(self, char a, char b, Fl_Callback c, void d = None, int e = 0) -> int
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    callback(self, *args)
    callback(self, Fl_Callback c, void p)
    callback(self, Fl_Callback c)
    callback(self, Fl_Callback0 c)
    callback(self, Fl_Callback1 c, long p = 0)
    callback(self) -> PyObject
    check(self, *args)
    check(self)
    checkbox(self, *args)
    checkbox(self) -> int
    checked(self, *args)
    checked(self) -> int
    clear(self, *args)
    clear(self)
    deactivate(self, *args)
    deactivate(self)
    do_callback(self, *args)
    do_callback(self, Fl_Widget o)
    do_callback(self, Fl_Widget o, void arg)
    do_callback(self, Fl_Widget o, long arg)
    draw(self, *args)
    draw(self, int x, int y, int w, int h, Fl_Menu_ arg4, int t = 0)
    find_shortcut(self, *args)
    find_shortcut(self, int ip = None) -> Fl_Menu_Item
    first(self, *args)
    first(self) -> Fl_Menu_Item
    first(self) -> Fl_Menu_Item
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self, Fl_Image a)
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure(self, *args)
    measure(self, int h, Fl_Menu_ arg1) -> int
    next(self, *args)
    next(self, int arg0 = 1) -> Fl_Menu_Item
    next(self, int i = 1) -> Fl_Menu_Item
    popup(self, *args)
    popup(self, int X, int Y, char title = None, Fl_Menu_Item picked = None, 
        Fl_Menu_ arg4 = None) -> Fl_Menu_Item
    pulldown(self, *args)
    pulldown(self, int X, int Y, int W, int H, Fl_Menu_Item picked = None, 
        Fl_Menu_ arg5 = None, Fl_Menu_Item title = None, 
        int menubar = 0) -> Fl_Menu_Item
    radio(self, *args)
    radio(self) -> int
    set(self, *args)
    set(self)
    setonly(self, *args)
    setonly(self)
    shortcut(self, *args)
    shortcut(self) -> int
    shortcut(self, int s)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self) -> int
    submenu(self, *args)
    submenu(self) -> int
    test_shortcut(self, *args)
    test_shortcut(self) -> Fl_Menu_Item
    uncheck(self, *args)
    uncheck(self)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self) -> PyObject
    value(self, *args)
    value(self) -> int
    visible(self, *args)
    visible(self) -> int

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Menu_Item>
    delete_Fl_Menu_Item(Fl_Menu_Item self)

     
    class Fl_Menu_Window(Fl_Single_Window)
        The Fl_Menu_Window widget is a window type used for menus. By default the 
    window is drawn in the hardware overlay planes if they are available so that 
    the menu don't force the rest of the window to redraw.
     
     
    Method resolution order:
    Fl_Menu_Window
    Fl_Single_Window
    Fl_Window
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int W, int H, char l = None) -> Fl_Menu_Window
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Menu_Window
    __repr__ = _swig_repr(self)
    clear_overlay(self, *args)
    clear_overlay(self)
    draw(self, *args)
    draw(self)
    erase(self, *args)
    erase(self)
    flush(self, *args)
    flush(self)
    hide(self, *args)
    hide(self)
    overlay(self, *args)
    overlay(self) -> int
    set_overlay(self, *args)
    set_overlay(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Menu_Window>
    delete_Fl_Menu_Window(Fl_Menu_Window self)

    Methods inherited from Fl_Single_Window:
    show(self, *args)
    show(self, PyObject count = None, PyObject data = None)

    Methods inherited from Fl_Window:
    border(self, *args)
    border(self, int b)
    border(self) -> int
    clear_border(self, *args)
    clear_border(self)
    copy_label(self, *args)
    copy_label(self, char a)
    cursor(self, *args)
    cursor(self, Fl_Cursor arg0, Fl_Color arg1 = FL_BLACK, Fl_Color arg2 = FL_WHITE)
    default_cursor(self, *args)
    default_cursor(self, Fl_Cursor arg0, Fl_Color arg1 = FL_BLACK, Fl_Color arg2 = FL_WHITE)
    free_position(self, *args)
    free_position(self)
    fullscreen(self, *args)
    fullscreen(self)
    fullscreen_off(self, *args)
    fullscreen_off(self, int arg0, int arg1, int arg2, int arg3)
    handle(self, *args)
    handle(self, int arg0) -> int
    hotspot(self, *args)
    hotspot(self, int x, int y, int offscreen = 0)
    hotspot(self, Fl_Widget arg0, int offscreen = 0)
    icon(self, *args)
    icon(self) -> void
    icon(self, void ic)
    iconize(self, *args)
    iconize(self)
    iconlabel(self, *args)
    iconlabel(self) -> char
    iconlabel(self, char arg0)
    label(self, *args)
    label(self) -> char
    label(self, char arg0)
    label(self, char label, char iconlabel)
    make_current(self, *args)
    make_current(self)
    modal(self, *args)
    modal(self) -> int
    non_modal(self, *args)
    non_modal(self) -> int
    override(self, *args)
    override(self) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    set_modal(self, *args)
    set_modal(self)
    set_non_modal(self, *args)
    set_non_modal(self)
    set_override(self, *args)
    set_override(self)
    shown(self, *args)
    shown(self) -> int
    size_range(self, *args)
    size_range(self, int a, int b, int c = 0, int d = 0, int e = 0, int f = 0, 
        int g = 0)
    x_root(self, *args)
    x_root(self) -> int
    xclass(self, *args)
    xclass(self) -> char
    xclass(self, char c)
    y_root(self, *args)
    y_root(self) -> int

    Static methods inherited from Fl_Window:
    current(*args)
    current() -> Fl_Window
    default_callback(*args)
    default_callback(Fl_Window arg0, void v)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Multi_Browser(Fl_Browser)
        The Fl_Multi_Browser class is a subclass of Fl_Browser  which lets the user 
    select any set of the lines. The user interface is Macintosh style: clicking 
    an item turns off all the others and selects that one, dragging selects all 
    the items the mouse moves over, and shift + click toggles the items. This 
    is different then how forms did it. Normally the callback is done when the 
    user releases the mouse, but you can change this with when().
     
    See Fl_Browser for methods to add and remove lines from the browser.
     
     
    Method resolution order:
    Fl_Multi_Browser
    Fl_Browser
    Fl_Browser_
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Multi_Browser
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    full_height(self, *args)
    full_height(self) -> int
    full_width(self, *args)
    full_width(self) -> int
    incr_height(self, *args)
    incr_height(self) -> int
    item_draw(self, *args)
    item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
    item_first(self, *args)
    item_first(self) -> void
    item_height(self, *args)
    item_height(self, void arg0) -> int
    item_next(self, *args)
    item_next(self, void arg0) -> void
    item_prev(self, *args)
    item_prev(self, void arg0) -> void
    item_quick_height(self, *args)
    item_quick_height(self, void arg0) -> int
    item_select(self, *args)
    item_select(self, void arg0, int arg1)
    item_selected(self, *args)
    item_selected(self, void arg0) -> int
    item_width(self, *args)
    item_width(self, void arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Multi_Browser>
    delete_Fl_Multi_Browser(Fl_Multi_Browser self)

    Methods inherited from Fl_Browser:
    add(self, *args)
    add(self, char text, PyObject data = None)
    bottomline(self, *args)
    bottomline(self, int l)
    clear(self, *args)
    clear(self)
    column_char(self, *args)
    column_char(self) -> char
    column_char(self, char c)
    column_widths(self, *args)
    column_widths(self) -> int
    column_widths(self, PyObject widths)
    data(self, *args)
    data(self, int index, PyObject data = None) -> PyObject
    display(self, *args)
    display(self, int arg0, int arg1 = 1)
    displayed(self, *args)
    displayed(self, int n) -> int
    format_char(self, *args)
    format_char(self) -> char
    format_char(self, char c)
    get_data(self, *args)
    get_data(self, int index) -> PyObject
    hide(self, *args)
    hide(self, int n)
    hide(self)
    insert(self, *args)
    insert(self, int index, char text, PyObject data = None)
    lineposition(self, *args)
    lineposition(self, int arg0, Fl_Line_Position arg1)
    load(self, *args)
    load(self, char filename) -> int
    make_visible(self, *args)
    make_visible(self, int n)
    middleline(self, *args)
    middleline(self, int l)
    move(self, *args)
    move(self, int to, int _from)
    remove(self, *args)
    remove(self, int arg0)
    replace(self, *args)
    replace(self, int a, char b)
    select(self, *args)
    select(self, int arg0, int arg1 = 1) -> int
    selected(self, *args)
    selected(self, int arg0) -> int
    show(self, *args)
    show(self, int n)
    show(self)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    swap(self, *args)
    swap(self, int a, int b)
    text(self, *args)
    text(self, int arg0) -> char
    text(self, int arg0, char arg1)
    topline(self, *args)
    topline(self) -> int
    topline(self, int l)
    value(self, *args)
    value(self) -> int
    value(self, int v)
    visible(self, *args)
    visible(self, int n) -> int

    Data and other attributes inherited from Fl_Browser:
    BOTTOM = 1
    MIDDLE = 2
    TOP = 0

    Methods inherited from Fl_Browser_:
    deselect(self, *args)
    deselect(self, int docallbacks = 0) -> int
    getHScrollbar(self, *args)
    getHScrollbar(self) -> Fl_Scrollbar
    getScrollbar(self, *args)
    getScrollbar(self) -> Fl_Scrollbar
    handle(self, *args)
    handle(self, int arg0) -> int
    has_scrollbar(self, *args)
    has_scrollbar(self) -> uchar
    has_scrollbar(self, uchar i)
    hposition(self, *args)
    hposition(self) -> int
    hposition(self, int arg0)
    position(self, *args)
    position(self) -> int
    position(self, int arg0)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    scrollbar_left(self, *args)
    scrollbar_left(self)
    scrollbar_right(self, *args)
    scrollbar_right(self)
    select_only(self, *args)
    select_only(self, void arg0, int docallbacks = 0) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Static methods inherited from Fl_Browser_:
    scrollbar_width(*args)
    scrollbar_width(int b)
    scrollbar_width() -> int

    Data and other attributes inherited from Fl_Browser_:
    ALWAYS_ON = 4
    BOTH = 3
    BOTH_ALWAYS = 7
    HORIZONTAL = 1
    HORIZONTAL_ALWAYS = 5
    VERTICAL = 2
    VERTICAL_ALWAYS = 6

    Methods inherited from Fl_Group:
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Multi_Label(__builtin__.object)
        Proxy of C++ Fl_Multi_Label class
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self) -> Fl_Multi_Label
    __repr__ = _swig_repr(self)
    label(self, *args)
    label(self, Fl_Widget arg0)
    label(self, Fl_Menu_Item arg0)

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Multi_Label>
    delete_Fl_Multi_Label(Fl_Multi_Label self)

     
    class Fl_Multiline_Input(Fl_Input)
        This input field displays '
    ' characters as new lines rather than ^J, and 
    accepts the Return, Tab, and up and down arrow keys. This is for editing 
    multiline text.
     
    This is far from the nirvana of text editors, and is probably only good for 
    small bits of text, 10 lines at most. I think FLTK can be used to write a 
    powerful text editor, but it is not going to be a built-in feature. Powerful 
    text editors in a toolkit are a big source of bloat.
     
     
    Method resolution order:
    Fl_Multiline_Input
    Fl_Input
    Fl_Input_
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Multiline_Input
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Multiline_Input>
    delete_Fl_Multiline_Input(Fl_Multiline_Input self)

    Methods inherited from Fl_Input:
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Methods inherited from Fl_Input_:
    copy(self, *args)
    copy(self, int clipboard) -> int
    copy_cuts(self, *args)
    copy_cuts(self) -> int
    cursor_color(self, *args)
    cursor_color(self) -> Fl_Color
    cursor_color(self, unsigned int n)
    cut(self, *args)
    cut(self) -> int
    cut(self, int n) -> int
    cut(self, int a, int b) -> int
    index(self, *args)
    index(self, int i) -> char
    input_type(self, *args)
    input_type(self) -> int
    input_type(self, int t)
    insert(self, *args)
    insert(self, char t, int l = 0) -> int
    mark(self, *args)
    mark(self) -> int
    mark(self, int m) -> int
    maximum_size(self, *args)
    maximum_size(self) -> int
    maximum_size(self, int m)
    position(self, *args)
    position(self) -> int
    position(self, int p, int m) -> int
    position(self, int p) -> int
    readonly(self, *args)
    readonly(self) -> int
    readonly(self, int b)
    replace(self, *args)
    replace(self, int arg0, int arg1, char arg2, int arg3 = 0) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    static_value(self, *args)
    static_value(self, char arg0) -> int
    static_value(self, char arg0, int arg1) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)
    undo(self, *args)
    undo(self) -> int
    value(self, *args)
    value(self, char arg0) -> int
    value(self, char arg0, int arg1) -> int
    value(self) -> char
    wrap(self, *args)
    wrap(self) -> int
    wrap(self, int b)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Multiline_Output(Fl_Output)
        This widget is a subclass of Fl_Output that displays multiple lines of text. 
    It also displays tab characters as whitespace to the next column.
     
     
    Method resolution order:
    Fl_Multiline_Output
    Fl_Output
    Fl_Input
    Fl_Input_
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Multiline_Output
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Multiline_Output>
    delete_Fl_Multiline_Output(Fl_Multiline_Output self)

    Methods inherited from Fl_Input:
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Methods inherited from Fl_Input_:
    copy(self, *args)
    copy(self, int clipboard) -> int
    copy_cuts(self, *args)
    copy_cuts(self) -> int
    cursor_color(self, *args)
    cursor_color(self) -> Fl_Color
    cursor_color(self, unsigned int n)
    cut(self, *args)
    cut(self) -> int
    cut(self, int n) -> int
    cut(self, int a, int b) -> int
    index(self, *args)
    index(self, int i) -> char
    input_type(self, *args)
    input_type(self) -> int
    input_type(self, int t)
    insert(self, *args)
    insert(self, char t, int l = 0) -> int
    mark(self, *args)
    mark(self) -> int
    mark(self, int m) -> int
    maximum_size(self, *args)
    maximum_size(self) -> int
    maximum_size(self, int m)
    position(self, *args)
    position(self) -> int
    position(self, int p, int m) -> int
    position(self, int p) -> int
    readonly(self, *args)
    readonly(self) -> int
    readonly(self, int b)
    replace(self, *args)
    replace(self, int arg0, int arg1, char arg2, int arg3 = 0) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    static_value(self, *args)
    static_value(self, char arg0) -> int
    static_value(self, char arg0, int arg1) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)
    undo(self, *args)
    undo(self) -> int
    value(self, *args)
    value(self, char arg0) -> int
    value(self, char arg0, int arg1) -> int
    value(self) -> char
    wrap(self, *args)
    wrap(self) -> int
    wrap(self, int b)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Nice_Slider(Fl_Slider)
        The Fl_Nice_Slider widget contains a sliding knob inside a box. It is 
    often used as a scrollbar. Moving the box all the way to the top/left sets 
    it to the minimum(), and to the bottom/right to the maximum(). The minimum() 
    may be greater than the maximum() to reverse the slider direction.
     
     
    Method resolution order:
    Fl_Nice_Slider
    Fl_Slider
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Nice_Slider
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Nice_Slider>
    delete_Fl_Nice_Slider(Fl_Nice_Slider self)

    Methods inherited from Fl_Slider:
    bounds(self, *args)
    bounds(self, double a, double b)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    scrollvalue(self, *args)
    scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
    slider(self, *args)
    slider(self) -> Fl_Boxtype
    slider(self, Fl_Boxtype c)
    slider_size(self, *args)
    slider_size(self) -> float
    slider_size(self, double v)

    Methods inherited from Fl_Valuator:
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Output(Fl_Input)
        This widget displays a piece of text. When you set the value() , Fl_Output 
    does a strcpy() to it's own storage, which is useful for program-generated 
    values. The user may select portions of the text using the mouse and paste 
    the contents into other fields or programs.
     
    There is a single subclass, Fl_Multiline_Output, which allows you to 
    display multiple lines of text.
     
    The text may contain any characters except
     
     
    Method resolution order:
    Fl_Output
    Fl_Input
    Fl_Input_
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Output
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Output>
    delete_Fl_Output(Fl_Output self)

    Methods inherited from Fl_Input:
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Methods inherited from Fl_Input_:
    copy(self, *args)
    copy(self, int clipboard) -> int
    copy_cuts(self, *args)
    copy_cuts(self) -> int
    cursor_color(self, *args)
    cursor_color(self) -> Fl_Color
    cursor_color(self, unsigned int n)
    cut(self, *args)
    cut(self) -> int
    cut(self, int n) -> int
    cut(self, int a, int b) -> int
    index(self, *args)
    index(self, int i) -> char
    input_type(self, *args)
    input_type(self) -> int
    input_type(self, int t)
    insert(self, *args)
    insert(self, char t, int l = 0) -> int
    mark(self, *args)
    mark(self) -> int
    mark(self, int m) -> int
    maximum_size(self, *args)
    maximum_size(self) -> int
    maximum_size(self, int m)
    position(self, *args)
    position(self) -> int
    position(self, int p, int m) -> int
    position(self, int p) -> int
    readonly(self, *args)
    readonly(self) -> int
    readonly(self, int b)
    replace(self, *args)
    replace(self, int arg0, int arg1, char arg2, int arg3 = 0) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    static_value(self, *args)
    static_value(self, char arg0) -> int
    static_value(self, char arg0, int arg1) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)
    undo(self, *args)
    undo(self) -> int
    value(self, *args)
    value(self, char arg0) -> int
    value(self, char arg0, int arg1) -> int
    value(self) -> char
    wrap(self, *args)
    wrap(self) -> int
    wrap(self, int b)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Overlay_Window(Fl_Double_Window)
        This window provides double buffering and also the ability to draw the 
    'overlay' which is another picture placed on top of the main image. The 
    overlay is designed to be a rapidly-changing but simple graphic such as 
    a mouse selection box. Fl_Overlay_Window uses the overlay planes provided 
    by your graphics hardware if they are available.
     
    If no hardware support is found the overlay is simulated by drawing directly 
    into the on-screen copy of the double-buffered window, and 'erased' by 
    copying the backbuffer over it again. This means the overlay will blink if 
    you change the image in the window.
     
     
    Method resolution order:
    Fl_Overlay_Window
    Fl_Double_Window
    Fl_Window
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args, **kwargs)
    __repr__ = _swig_repr(self)
    can_do_overlay(self, *args)
    can_do_overlay(self) -> int
    draw(self, *args)
    draw(self)
    flush(self, *args)
    flush(self)
    hide(self, *args)
    hide(self)
    redraw_overlay(self, *args)
    redraw_overlay(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    show(self, *args)
    show(self, PyObject count = None, PyObject data = None)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Overlay_Window>
    delete_Fl_Overlay_Window(Fl_Overlay_Window self)

    Methods inherited from Fl_Window:
    border(self, *args)
    border(self, int b)
    border(self) -> int
    clear_border(self, *args)
    clear_border(self)
    copy_label(self, *args)
    copy_label(self, char a)
    cursor(self, *args)
    cursor(self, Fl_Cursor arg0, Fl_Color arg1 = FL_BLACK, Fl_Color arg2 = FL_WHITE)
    default_cursor(self, *args)
    default_cursor(self, Fl_Cursor arg0, Fl_Color arg1 = FL_BLACK, Fl_Color arg2 = FL_WHITE)
    free_position(self, *args)
    free_position(self)
    fullscreen(self, *args)
    fullscreen(self)
    fullscreen_off(self, *args)
    fullscreen_off(self, int arg0, int arg1, int arg2, int arg3)
    handle(self, *args)
    handle(self, int arg0) -> int
    hotspot(self, *args)
    hotspot(self, int x, int y, int offscreen = 0)
    hotspot(self, Fl_Widget arg0, int offscreen = 0)
    icon(self, *args)
    icon(self) -> void
    icon(self, void ic)
    iconize(self, *args)
    iconize(self)
    iconlabel(self, *args)
    iconlabel(self) -> char
    iconlabel(self, char arg0)
    label(self, *args)
    label(self) -> char
    label(self, char arg0)
    label(self, char label, char iconlabel)
    make_current(self, *args)
    make_current(self)
    modal(self, *args)
    modal(self) -> int
    non_modal(self, *args)
    non_modal(self) -> int
    override(self, *args)
    override(self) -> int
    set_modal(self, *args)
    set_modal(self)
    set_non_modal(self, *args)
    set_non_modal(self)
    set_override(self, *args)
    set_override(self)
    shown(self, *args)
    shown(self) -> int
    size_range(self, *args)
    size_range(self, int a, int b, int c = 0, int d = 0, int e = 0, int f = 0, 
        int g = 0)
    x_root(self, *args)
    x_root(self) -> int
    xclass(self, *args)
    xclass(self) -> char
    xclass(self, char c)
    y_root(self, *args)
    y_root(self) -> int

    Static methods inherited from Fl_Window:
    current(*args)
    current() -> Fl_Window
    default_callback(*args)
    default_callback(Fl_Window arg0, void v)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_PNG_Image(Fl_RGB_Image)
        The Fl_PNG_Image class supports loading, caching, and drawing of Portable 
    Network Graphics (PNG) image files. The class loads colormapped and 
    full-color images and handles color- and alpha-based transparency.
     
     
    Method resolution order:
    Fl_PNG_Image
    Fl_RGB_Image
    Fl_Image
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, char filename) -> Fl_PNG_Image
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_PNG_Image>
    delete_Fl_PNG_Image(Fl_PNG_Image self)

    Methods inherited from Fl_RGB_Image:
    color_average(self, *args)
    color_average(self, Fl_Color c, float i)
    copy(self, *args)
    copy(self, int W, int H) -> Fl_Image
    copy(self) -> Fl_Image
    desaturate(self, *args)
    desaturate(self)
    draw(self, *args)
    draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0)
    draw(self, int X, int Y)
    label(self, *args)
    label(self, Fl_Widget w)
    label(self, Fl_Menu_Item m)
    uncache(self, *args)
    uncache(self)

    Methods inherited from Fl_Image:
    count(self, *args)
    count(self) -> int
    d(self, *args)
    d(self) -> int
    data(self, *args)
    data(self) -> char
    h(self, *args)
    h(self) -> int
    inactive(self, *args)
    inactive(self)
    ld(self, *args)
    ld(self) -> int
    w(self, *args)
    w(self) -> int

    Data descriptors inherited from Fl_Image:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_PNM_Image(Fl_RGB_Image)
        The Fl_PNM_Image class supports loading, caching, and drawing of Portable 
    Anymap (PNM, PBM, PGM, PPM) image files. The class loads bitmap, grayscale, 
    and full-color images in both ASCII and binary formats.
     
     
    Method resolution order:
    Fl_PNM_Image
    Fl_RGB_Image
    Fl_Image
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, char filename) -> Fl_PNM_Image
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_PNM_Image>
    delete_Fl_PNM_Image(Fl_PNM_Image self)

    Methods inherited from Fl_RGB_Image:
    color_average(self, *args)
    color_average(self, Fl_Color c, float i)
    copy(self, *args)
    copy(self, int W, int H) -> Fl_Image
    copy(self) -> Fl_Image
    desaturate(self, *args)
    desaturate(self)
    draw(self, *args)
    draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0)
    draw(self, int X, int Y)
    label(self, *args)
    label(self, Fl_Widget w)
    label(self, Fl_Menu_Item m)
    uncache(self, *args)
    uncache(self)

    Methods inherited from Fl_Image:
    count(self, *args)
    count(self) -> int
    d(self, *args)
    d(self) -> int
    data(self, *args)
    data(self) -> char
    h(self, *args)
    h(self) -> int
    inactive(self, *args)
    inactive(self)
    ld(self, *args)
    ld(self) -> int
    w(self, *args)
    w(self) -> int

    Data descriptors inherited from Fl_Image:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Pack(Fl_Group)
        This widget was designed to add the functionality of compressing and 
    aligning widgets.
     
    If type() is FL_HORIZONTAL all the children are resized to the height of 
    the Fl_Pack, and are moved next to each other horizontally. If type() is 
    not FL_HORIZONTAL then the children are resized to the width and are stacked 
    below each other. Then the Fl_Pack resizes itself to surround the child 
    widgets.
     
    This widget is needed for the Fl_Tabs. In addition you may want to put the 
    Fl_Pack inside an Fl_Scroll.
     
     
    Method resolution order:
    Fl_Pack
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Pack
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    horizontal(self, *args)
    horizontal(self) -> uchar
    spacing(self, *args)
    spacing(self) -> int
    spacing(self, int i)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    HORIZONTAL = 1
    VERTICAL = 0
    __swig_destroy__ = <built-in function delete_Fl_Pack>
    delete_Fl_Pack(Fl_Pack self)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Pixmap(Fl_Image)
        The Fl_Pixmap class supports caching and drawing of colormap (pixmap) images, including transparency.
     
     
    Method resolution order:
    Fl_Pixmap
    Fl_Image
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, char D) -> Fl_Pixmap
    __repr__ = _swig_repr(self)
    color_average(self, *args)
    color_average(self, Fl_Color c, float i)
    copy(self, *args)
    copy(self, int W, int H) -> Fl_Image
    copy(self) -> Fl_Image
    desaturate(self, *args)
    desaturate(self)
    draw(self, *args)
    draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0)
    draw(self, int X, int Y)
    label(self, *args)
    label(self, Fl_Widget w)
    label(self, Fl_Menu_Item m)
    uncache(self, *args)
    uncache(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Pixmap>
    delete_Fl_Pixmap(Fl_Pixmap self)

    Methods inherited from Fl_Image:
    count(self, *args)
    count(self) -> int
    d(self, *args)
    d(self) -> int
    data(self, *args)
    data(self) -> char
    h(self, *args)
    h(self) -> int
    inactive(self, *args)
    inactive(self)
    ld(self, *args)
    ld(self) -> int
    w(self, *args)
    w(self) -> int

    Data descriptors inherited from Fl_Image:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Positioner(Fl_Widget)
        This class is provided for Forms compatibility. It provides 2D input. It 
    would be useful if this could be put atop another widget so that the 
    crosshairs are on top, but this is not implemented. The color of the 
    crosshairs is selection_color().
     
     
    Method resolution order:
    Fl_Positioner
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Positioner
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    value(self, *args)
    value(self, double arg0, double arg1) -> int
    xbounds(self, *args)
    xbounds(self, double arg0, double arg1)
    xmaximum(self, *args)
    xmaximum(self) -> double
    xmaximum(self, double a)
    xminimum(self, *args)
    xminimum(self) -> double
    xminimum(self, double a)
    xstep(self, *args)
    xstep(self, double a)
    xvalue(self, *args)
    xvalue(self) -> double
    xvalue(self, double arg0) -> int
    ybounds(self, *args)
    ybounds(self, double arg0, double arg1)
    ymaximum(self, *args)
    ymaximum(self) -> double
    ymaximum(self, double a)
    yminimum(self, *args)
    yminimum(self) -> double
    yminimum(self, double a)
    ystep(self, *args)
    ystep(self, double a)
    yvalue(self, *args)
    yvalue(self) -> double
    yvalue(self, double arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Positioner>
    delete_Fl_Positioner(Fl_Positioner self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Preferences(__builtin__.object)
        Fl_Preferences provides methods to store user setting between application 
    starts. It is similar to the Registry on WIN32 and Preferences on MacOS, 
    and provides a simple configuration mechanism for UNIX.
     
    Fl_Preferences uses a hierarchy to store data. It bundles similar data into 
    groups and manages entries into those groups as name/value pairs.
     
    Preferences are stored in text files that can be edited manually. The file 
    format is easy to read and relatively forgiving. Preferences files are the 
    same on all platforms. User comments in preference files are preserved. 
    Filenames are unique for each application by using a vendor/application 
    naming scheme. The user must provide default values for all entries to 
    ensure proper operation should preferences be corrupted or not yet exist.
     
    Entries can be of any length. However, the size of each preferences file 
    should be kept under 100k for performance reasons. One application can 
    have multiple preferences files. Extensive binary data however should be 
    stored in seperate files; see the getUserdataPath() method.
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self, Root root, char vendor, char application) -> Fl_Preferences
    __init__(self, char path, char vendor, char application) -> Fl_Preferences
    __init__(self, Fl_Preferences arg0, char group) -> Fl_Preferences
    __repr__ = _swig_repr(self)
    deleteEntry(self, *args)
    deleteEntry(self, char entry) -> char
    deleteGroup(self, *args)
    deleteGroup(self, char group) -> char
    entries(self, *args)
    entries(self) -> int
    entry(self, *args)
    entry(self, int arg0) -> char
    entryExists(self, *args)
    entryExists(self, char entry) -> char
    flush(self, *args)
    flush(self)
    get(self, *args)
    get(self, char entry, int defaultValue) -> char
    get(self, char entry, float defaultValue) -> char
    get(self, char entry, double defaultValue) -> char
    get(self, char entry, char defaultValue, int maxSize) -> char
    get(self, char entry, void value, void defaultValue, int defaultSize, 
        int maxSize) -> char
    getUserdataPath(self, *args)
    getUserdataPath(self, char path) -> char
    group(self, *args)
    group(self, int arg0) -> char
    groupExists(self, *args)
    groupExists(self, char group) -> char
    groups(self, *args)
    groups(self) -> int
    set(self, *args)
    set(self, char entry, int value) -> char
    set(self, char entry, float value, int precision) -> char
    set(self, char entry, double value) -> char
    set(self, char entry, double value, int precision) -> char
    set(self, char entry, char cvalue) -> char
    set(self, char entry, void cvalue, int size) -> char
    size(self, *args)
    size(self, char entry) -> int

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    SYSTEM = 0
    USER = 1
    __swig_destroy__ = <built-in function delete_Fl_Preferences>
    delete_Fl_Preferences(Fl_Preferences self)

     
    class Fl_Progress(Fl_Widget)
        The Fl_Progress widget displays a progress bar for the user.
     
     
    Method resolution order:
    Fl_Progress
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Progress
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    maximum(self, *args)
    maximum(self, float v)
    maximum(self) -> float
    minimum(self, *args)
    minimum(self, float v)
    minimum(self) -> float
    value(self, *args)
    value(self, float v)
    value(self) -> float

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Progress>
    delete_Fl_Progress(Fl_Progress self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    handle(self, *args)
    handle(self, int arg0) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_RGB_Image(Fl_Image)
        Proxy of C++ Fl_RGB_Image class
     
     
    Method resolution order:
    Fl_RGB_Image
    Fl_Image
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, uchar bits, int W, int H, int D = 3, int LD = 0) -> Fl_RGB_Image
    __repr__ = _swig_repr(self)
    color_average(self, *args)
    color_average(self, Fl_Color c, float i)
    copy(self, *args)
    copy(self, int W, int H) -> Fl_Image
    copy(self) -> Fl_Image
    desaturate(self, *args)
    desaturate(self)
    draw(self, *args)
    draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0)
    draw(self, int X, int Y)
    label(self, *args)
    label(self, Fl_Widget w)
    label(self, Fl_Menu_Item m)
    uncache(self, *args)
    uncache(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_RGB_Image>
    delete_Fl_RGB_Image(Fl_RGB_Image self)

    Methods inherited from Fl_Image:
    count(self, *args)
    count(self) -> int
    d(self, *args)
    d(self) -> int
    data(self, *args)
    data(self) -> char
    h(self, *args)
    h(self) -> int
    inactive(self, *args)
    inactive(self)
    ld(self, *args)
    ld(self) -> int
    w(self, *args)
    w(self) -> int

    Data descriptors inherited from Fl_Image:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Radio_Button(Fl_Button)
        Proxy of C++ Fl_Radio_Button class
     
     
    Method resolution order:
    Fl_Radio_Button
    Fl_Button
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Radio_Button
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Radio_Button>
    delete_Fl_Radio_Button(Fl_Radio_Button self)

    Methods inherited from Fl_Button:
    clear(self, *args)
    clear(self) -> int
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    handle(self, *args)
    handle(self, int arg0) -> int
    set(self, *args)
    set(self) -> int
    setonly(self, *args)
    setonly(self)
    shortcut(self, *args)
    shortcut(self) -> int
    shortcut(self, int s)
    shortcut(self, char s)
    value(self, *args)
    value(self, int arg0) -> int
    value(self) -> char

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Radio_Light_Button(Fl_Light_Button)
        Proxy of C++ Fl_Radio_Light_Button class
     
     
    Method resolution order:
    Fl_Radio_Light_Button
    Fl_Light_Button
    Fl_Button
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Radio_Light_Button
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Radio_Light_Button>
    delete_Fl_Radio_Light_Button(Fl_Radio_Light_Button self)

    Methods inherited from Fl_Light_Button:
    handle(self, *args)
    handle(self, int arg0) -> int

    Methods inherited from Fl_Button:
    clear(self, *args)
    clear(self) -> int
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    set(self, *args)
    set(self) -> int
    setonly(self, *args)
    setonly(self)
    shortcut(self, *args)
    shortcut(self) -> int
    shortcut(self, int s)
    shortcut(self, char s)
    value(self, *args)
    value(self, int arg0) -> int
    value(self) -> char

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Radio_Round_Button(Fl_Round_Button)
        Proxy of C++ Fl_Radio_Round_Button class
     
     
    Method resolution order:
    Fl_Radio_Round_Button
    Fl_Round_Button
    Fl_Light_Button
    Fl_Button
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Radio_Round_Button
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Radio_Round_Button>
    delete_Fl_Radio_Round_Button(Fl_Radio_Round_Button self)

    Methods inherited from Fl_Light_Button:
    handle(self, *args)
    handle(self, int arg0) -> int

    Methods inherited from Fl_Button:
    clear(self, *args)
    clear(self) -> int
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    set(self, *args)
    set(self) -> int
    setonly(self, *args)
    setonly(self)
    shortcut(self, *args)
    shortcut(self) -> int
    shortcut(self, int s)
    shortcut(self, char s)
    value(self, *args)
    value(self, int arg0) -> int
    value(self) -> char

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Repeat_Button(Fl_Button)
        The Fl_Repeat_Button is a subclass of Fl_Button that generates a callback 
    when it is pressed and then repeatedly generates callbacks as long as it 
    is held down. The speed of the repeat is fixed and depends on the 
    implementation.
     
     
    Method resolution order:
    Fl_Repeat_Button
    Fl_Button
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Repeat_Button
    __repr__ = _swig_repr(self)
    deactivate(self, *args)
    deactivate(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Repeat_Button>
    delete_Fl_Repeat_Button(Fl_Repeat_Button self)

    Methods inherited from Fl_Button:
    clear(self, *args)
    clear(self) -> int
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    set(self, *args)
    set(self) -> int
    setonly(self, *args)
    setonly(self)
    shortcut(self, *args)
    shortcut(self) -> int
    shortcut(self, int s)
    shortcut(self, char s)
    value(self, *args)
    value(self, int arg0) -> int
    value(self) -> char

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Return_Button(Fl_Button)
        The Fl_Return_Button is a subclass of Fl_Button that generates a callback 
    when it is pressed or when the user presses the Enter key. A carriage-return 
    symbol is drawn next to the button label.
     
     
    Method resolution order:
    Fl_Return_Button
    Fl_Button
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Return_Button
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Return_Button>
    delete_Fl_Return_Button(Fl_Return_Button self)

    Methods inherited from Fl_Button:
    clear(self, *args)
    clear(self) -> int
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    set(self, *args)
    set(self) -> int
    setonly(self, *args)
    setonly(self)
    shortcut(self, *args)
    shortcut(self) -> int
    shortcut(self, int s)
    shortcut(self, char s)
    value(self, *args)
    value(self, int arg0) -> int
    value(self) -> char

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Roller(Fl_Valuator)
        The Fl_Roller widget is a 'dolly' control commonly used to move 3D objects.
     
     
    Method resolution order:
    Fl_Roller
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Roller
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Roller>
    delete_Fl_Roller(Fl_Roller self)

    Methods inherited from Fl_Valuator:
    bounds(self, *args)
    bounds(self, double a, double b)
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Round_Button(Fl_Light_Button)
        Buttons generate callbacks when they are clicked by the user. You control 
    exactly when and how by changing the values for type() and when().
     
    The Fl_Round_Button subclass display the 'on' state by turning on a light, 
    rather than drawing pushed in. The shape of the 'light' is initially set 
    to FL_ROUND_DOWN_BOX. The color of the light when on is controlled with 
    selection_color(), which defaults to FL_RED.
     
     
    Method resolution order:
    Fl_Round_Button
    Fl_Light_Button
    Fl_Button
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Round_Button
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Round_Button>
    delete_Fl_Round_Button(Fl_Round_Button self)

    Methods inherited from Fl_Light_Button:
    handle(self, *args)
    handle(self, int arg0) -> int

    Methods inherited from Fl_Button:
    clear(self, *args)
    clear(self) -> int
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    set(self, *args)
    set(self) -> int
    setonly(self, *args)
    setonly(self)
    shortcut(self, *args)
    shortcut(self) -> int
    shortcut(self, int s)
    shortcut(self, char s)
    value(self, *args)
    value(self, int arg0) -> int
    value(self) -> char

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Round_Clock(Fl_Clock)
        This widget provides a round analog clock display and is provided for 
    Forms compatibility. It installs a 1-second timeout callback using 
    Fl::add_timeout().
     
     
    Method resolution order:
    Fl_Round_Clock
    Fl_Clock
    Fl_Clock_Output
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Round_Clock
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Round_Clock>
    delete_Fl_Round_Clock(Fl_Round_Clock self)

    Methods inherited from Fl_Clock:
    handle(self, *args)
    handle(self, int arg0) -> int

    Methods inherited from Fl_Clock_Output:
    hour(self, *args)
    hour(self) -> int
    minute(self, *args)
    minute(self) -> int
    second(self, *args)
    second(self) -> int
    value(self, *args)
    value(self, ulong v)
    value(self, int arg0, int arg1, int arg2)
    value(self) -> ulong

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Scroll(Fl_Group)
        This container widget lets you maneuver around a set of widgets much larger 
    than your window. If the child widgets are larger than the size of this 
    object then scrollbars will appear so that you can scroll over to them:
     
    If all of the child widgets are packed together into a solid rectangle then 
    you want to set box() to FL_NO_BOX or one of the _FRAME types. This will 
    result in the best output. However, if the child widgets are a sparse 
    arrangment you must set box() to a real _BOX type. This can result in some 
    blinking during redrawing, but that can be solved by using a Fl_Double_Window.
     
    This widget can also be used to pan around a single child widget 'canvas'. 
    This child widget should be of your own class, with a draw() method that 
    draws the contents. The scrolling is done by changing the x() and y() of 
    the widget, so this child must use the x() and y() to position it's drawing. 
    To speed up drawing it should test fl_push_clip() .
     
    Another very useful child is a single Fl_Pack, which is itself a group that 
    packs it's children together and changes size to surround them. Filling the 
    Fl_Pack with Fl_Tabs groups (and then putting normal widgets inside those) 
    gives you a very powerful scrolling list of individually-openable panels.
     
    Fluid lets you create these, but you can only lay out objects that fit 
    inside the Fl_Scroll without scrolling. Be sure to leave space for the 
    scrollbars, as Fluid won't show these either.
     
    You cannot use Fl_Window as a child of this since the clipping is not 
    conveyed to it when drawn, and it will draw over the scrollbars and 
    neighboring objects.
     
     
    Method resolution order:
    Fl_Scroll
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Scroll
    __repr__ = _swig_repr(self)
    clear(self, *args)
    clear(self)
    draw(self, *args)
    draw(self)
    getHScrollbar(self, *args)
    getHScrollbar(self) -> Fl_Scrollbar
    getScrollbar(self, *args)
    getScrollbar(self) -> Fl_Scrollbar
    handle(self, *args)
    handle(self, int arg0) -> int
    position(self, *args)
    position(self, int arg0, int arg1)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    xposition(self, *args)
    xposition(self) -> int
    yposition(self, *args)
    yposition(self) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    ALWAYS_ON = 4
    BOTH = 3
    BOTH_ALWAYS = 7
    HORIZONTAL = 1
    HORIZONTAL_ALWAYS = 5
    VERTICAL = 2
    VERTICAL_ALWAYS = 6
    __swig_destroy__ = <built-in function delete_Fl_Scroll>
    delete_Fl_Scroll(Fl_Scroll self)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Scrollbar(Fl_Slider)
        The Fl_Scrollbar widget displays a slider with arrow buttons at the ends 
    of the scrollbar. Clicking on the arrows move up/left and down/right by 
    linesize(). Scrollbars also accept FL_SHORTCUT events: the arrows move by 
    linesize(), and vertical scrollbars take Page Up/Down (they move by the 
    page size minus linesize()) and Home/End (they jump to the top or bottom).
     
    Scrollbars have step(1) preset (they always return integers). If desired 
    you can set the step() to non-integer values. You will then have to use 
    casts to get at the floating-point versions of value() from Fl_Slider.
     
     
    Method resolution order:
    Fl_Scrollbar
    Fl_Slider
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Scrollbar
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    linesize(self, *args)
    linesize(self) -> int
    linesize(self, int i)
    value(self, *args)
    value(self) -> int
    value(self, int p, int s, int top, int total) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Scrollbar>
    delete_Fl_Scrollbar(Fl_Scrollbar self)

    Methods inherited from Fl_Slider:
    bounds(self, *args)
    bounds(self, double a, double b)
    scrollvalue(self, *args)
    scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
    slider(self, *args)
    slider(self) -> Fl_Boxtype
    slider(self, Fl_Boxtype c)
    slider_size(self, *args)
    slider_size(self) -> float
    slider_size(self, double v)

    Methods inherited from Fl_Valuator:
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Secret_Input(Fl_Input)
        The Fl_Secret_Input class is a subclass of Fl_Input  that displays its input 
    as a string of asterisks. This subclass is usually used to receive passwords 
    and other 'secret' information.
     
     
    Method resolution order:
    Fl_Secret_Input
    Fl_Input
    Fl_Input_
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Secret_Input
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Secret_Input>
    delete_Fl_Secret_Input(Fl_Secret_Input self)

    Methods inherited from Fl_Input:
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Methods inherited from Fl_Input_:
    copy(self, *args)
    copy(self, int clipboard) -> int
    copy_cuts(self, *args)
    copy_cuts(self) -> int
    cursor_color(self, *args)
    cursor_color(self) -> Fl_Color
    cursor_color(self, unsigned int n)
    cut(self, *args)
    cut(self) -> int
    cut(self, int n) -> int
    cut(self, int a, int b) -> int
    index(self, *args)
    index(self, int i) -> char
    input_type(self, *args)
    input_type(self) -> int
    input_type(self, int t)
    insert(self, *args)
    insert(self, char t, int l = 0) -> int
    mark(self, *args)
    mark(self) -> int
    mark(self, int m) -> int
    maximum_size(self, *args)
    maximum_size(self) -> int
    maximum_size(self, int m)
    position(self, *args)
    position(self) -> int
    position(self, int p, int m) -> int
    position(self, int p) -> int
    readonly(self, *args)
    readonly(self) -> int
    readonly(self, int b)
    replace(self, *args)
    replace(self, int arg0, int arg1, char arg2, int arg3 = 0) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    static_value(self, *args)
    static_value(self, char arg0) -> int
    static_value(self, char arg0, int arg1) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)
    undo(self, *args)
    undo(self) -> int
    value(self, *args)
    value(self, char arg0) -> int
    value(self, char arg0, int arg1) -> int
    value(self) -> char
    wrap(self, *args)
    wrap(self) -> int
    wrap(self, int b)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Select_Browser(Fl_Browser)
        The Fl_Select_Browser class is a subclass of Fl_Browser  which lets the 
    user select a single item, or no items by clicking on the empty space. As 
    long as the mouse button is held down the item pointed to by it is 
    highlighted. Normally the callback is done when the user presses the mouse, 
    but you can change this with when().
     
    See Fl_Browser for methods to add and remove lines from the browser.
     
     
    Method resolution order:
    Fl_Select_Browser
    Fl_Browser
    Fl_Browser_
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Select_Browser
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    full_height(self, *args)
    full_height(self) -> int
    full_width(self, *args)
    full_width(self) -> int
    incr_height(self, *args)
    incr_height(self) -> int
    item_draw(self, *args)
    item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
    item_first(self, *args)
    item_first(self) -> void
    item_height(self, *args)
    item_height(self, void arg0) -> int
    item_next(self, *args)
    item_next(self, void arg0) -> void
    item_prev(self, *args)
    item_prev(self, void arg0) -> void
    item_quick_height(self, *args)
    item_quick_height(self, void arg0) -> int
    item_select(self, *args)
    item_select(self, void arg0, int arg1)
    item_selected(self, *args)
    item_selected(self, void arg0) -> int
    item_width(self, *args)
    item_width(self, void arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Select_Browser>
    delete_Fl_Select_Browser(Fl_Select_Browser self)

    Methods inherited from Fl_Browser:
    add(self, *args)
    add(self, char text, PyObject data = None)
    bottomline(self, *args)
    bottomline(self, int l)
    clear(self, *args)
    clear(self)
    column_char(self, *args)
    column_char(self) -> char
    column_char(self, char c)
    column_widths(self, *args)
    column_widths(self) -> int
    column_widths(self, PyObject widths)
    data(self, *args)
    data(self, int index, PyObject data = None) -> PyObject
    display(self, *args)
    display(self, int arg0, int arg1 = 1)
    displayed(self, *args)
    displayed(self, int n) -> int
    format_char(self, *args)
    format_char(self) -> char
    format_char(self, char c)
    get_data(self, *args)
    get_data(self, int index) -> PyObject
    hide(self, *args)
    hide(self, int n)
    hide(self)
    insert(self, *args)
    insert(self, int index, char text, PyObject data = None)
    lineposition(self, *args)
    lineposition(self, int arg0, Fl_Line_Position arg1)
    load(self, *args)
    load(self, char filename) -> int
    make_visible(self, *args)
    make_visible(self, int n)
    middleline(self, *args)
    middleline(self, int l)
    move(self, *args)
    move(self, int to, int _from)
    remove(self, *args)
    remove(self, int arg0)
    replace(self, *args)
    replace(self, int a, char b)
    select(self, *args)
    select(self, int arg0, int arg1 = 1) -> int
    selected(self, *args)
    selected(self, int arg0) -> int
    show(self, *args)
    show(self, int n)
    show(self)
    size(self, *args)
    size(self) -> int
    size(self, int W, int H)
    swap(self, *args)
    swap(self, int a, int b)
    text(self, *args)
    text(self, int arg0) -> char
    text(self, int arg0, char arg1)
    topline(self, *args)
    topline(self) -> int
    topline(self, int l)
    value(self, *args)
    value(self) -> int
    value(self, int v)
    visible(self, *args)
    visible(self, int n) -> int

    Data and other attributes inherited from Fl_Browser:
    BOTTOM = 1
    MIDDLE = 2
    TOP = 0

    Methods inherited from Fl_Browser_:
    deselect(self, *args)
    deselect(self, int docallbacks = 0) -> int
    getHScrollbar(self, *args)
    getHScrollbar(self) -> Fl_Scrollbar
    getScrollbar(self, *args)
    getScrollbar(self) -> Fl_Scrollbar
    handle(self, *args)
    handle(self, int arg0) -> int
    has_scrollbar(self, *args)
    has_scrollbar(self) -> uchar
    has_scrollbar(self, uchar i)
    hposition(self, *args)
    hposition(self) -> int
    hposition(self, int arg0)
    position(self, *args)
    position(self) -> int
    position(self, int arg0)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    scrollbar_left(self, *args)
    scrollbar_left(self)
    scrollbar_right(self, *args)
    scrollbar_right(self)
    select_only(self, *args)
    select_only(self, void arg0, int docallbacks = 0) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Static methods inherited from Fl_Browser_:
    scrollbar_width(*args)
    scrollbar_width(int b)
    scrollbar_width() -> int

    Data and other attributes inherited from Fl_Browser_:
    ALWAYS_ON = 4
    BOTH = 3
    BOTH_ALWAYS = 7
    HORIZONTAL = 1
    HORIZONTAL_ALWAYS = 5
    VERTICAL = 2
    VERTICAL_ALWAYS = 6

    Methods inherited from Fl_Group:
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Shared_Image(Fl_Image)
        The Fl_Shared_Image class supports caching, loading, and drawing of image 
    files. Most applications will also want to link against the fltk_images 
    library and call the fl_register_images() function to support standard image 
    formats such as BMP, GIF, JPEG, and PNG.
     
     
    Method resolution order:
    Fl_Shared_Image
    Fl_Image
    __builtin__.object

    Methods defined here:
    __disown__(self)
    __init__(self, *args)
    __init__(self) -> Fl_Shared_Image
    __init__(self, char n, Fl_Image img = None) -> Fl_Shared_Image
    __repr__ = _swig_repr(self)
    color_average(self, *args)
    color_average(self, Fl_Color c, float i)
    copy(self, *args)
    copy(self, int W, int H) -> Fl_Image
    copy(self) -> Fl_Image
    desaturate(self, *args)
    desaturate(self)
    draw(self, *args)
    draw(self, int X, int Y, int W, int H, int cx, int cy)
    draw(self, int X, int Y)
    name(self, *args)
    name(self) -> char
    refcount(self, *args)
    refcount(self) -> int
    release(self, *args)
    release(self)
    reload(self, *args)
    reload(self)
    uncache(self, *args)
    uncache(self)

    Static methods defined here:
    add_handler(*args)
    add_handler(Fl_Shared_Handler f)
    find(*args)
    find(char n, int W = 0, int H = 0) -> Fl_Shared_Image
    get(*args)
    get(char n, int W = 0, int H = 0) -> Fl_Shared_Image
    images(*args)
    images() -> Fl_Shared_Image
    num_images(*args)
    num_images() -> int
    remove_handler(*args)
    remove_handler(Fl_Shared_Handler f)

    Data descriptors defined here:
    thisown
    The membership flag

    Methods inherited from Fl_Image:
    __del__ lambda self
    count(self, *args)
    count(self) -> int
    d(self, *args)
    d(self) -> int
    data(self, *args)
    data(self) -> char
    h(self, *args)
    h(self) -> int
    inactive(self, *args)
    inactive(self)
    label(self, *args)
    label(self, Fl_Widget w)
    label(self, Fl_Menu_Item m)
    ld(self, *args)
    ld(self) -> int
    w(self, *args)
    w(self) -> int

    Data descriptors inherited from Fl_Image:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

    Data and other attributes inherited from Fl_Image:
    __swig_destroy__ = <built-in function delete_Fl_Image>
    delete_Fl_Image(Fl_Image self)

     
    class Fl_Simple_Counter(Fl_Counter)
        Proxy of C++ Fl_Simple_Counter class
     
     
    Method resolution order:
    Fl_Simple_Counter
    Fl_Counter
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Simple_Counter
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Simple_Counter>
    delete_Fl_Simple_Counter(Fl_Simple_Counter self)

    Methods inherited from Fl_Counter:
    handle(self, *args)
    handle(self, int arg0) -> int
    lstep(self, *args)
    lstep(self, double a)
    step(self, *args)
    step(self, double a, double b)
    step(self, double a)
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int s)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Methods inherited from Fl_Valuator:
    bounds(self, *args)
    bounds(self, double a, double b)
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Single_Window(Fl_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.
     
     
    Method resolution order:
    Fl_Single_Window
    Fl_Window
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int W, int H, char l = None) -> Fl_Single_Window
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Single_Window
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    flush(self, *args)
    flush(self)
    show(self, *args)
    show(self, PyObject count = None, PyObject data = None)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Single_Window>
    delete_Fl_Single_Window(Fl_Single_Window self)

    Methods inherited from Fl_Window:
    border(self, *args)
    border(self, int b)
    border(self) -> int
    clear_border(self, *args)
    clear_border(self)
    copy_label(self, *args)
    copy_label(self, char a)
    cursor(self, *args)
    cursor(self, Fl_Cursor arg0, Fl_Color arg1 = FL_BLACK, Fl_Color arg2 = FL_WHITE)
    default_cursor(self, *args)
    default_cursor(self, Fl_Cursor arg0, Fl_Color arg1 = FL_BLACK, Fl_Color arg2 = FL_WHITE)
    free_position(self, *args)
    free_position(self)
    fullscreen(self, *args)
    fullscreen(self)
    fullscreen_off(self, *args)
    fullscreen_off(self, int arg0, int arg1, int arg2, int arg3)
    handle(self, *args)
    handle(self, int arg0) -> int
    hide(self, *args)
    hide(self)
    hotspot(self, *args)
    hotspot(self, int x, int y, int offscreen = 0)
    hotspot(self, Fl_Widget arg0, int offscreen = 0)
    icon(self, *args)
    icon(self) -> void
    icon(self, void ic)
    iconize(self, *args)
    iconize(self)
    iconlabel(self, *args)
    iconlabel(self) -> char
    iconlabel(self, char arg0)
    label(self, *args)
    label(self) -> char
    label(self, char arg0)
    label(self, char label, char iconlabel)
    make_current(self, *args)
    make_current(self)
    modal(self, *args)
    modal(self) -> int
    non_modal(self, *args)
    non_modal(self) -> int
    override(self, *args)
    override(self) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    set_modal(self, *args)
    set_modal(self)
    set_non_modal(self, *args)
    set_non_modal(self)
    set_override(self, *args)
    set_override(self)
    shown(self, *args)
    shown(self) -> int
    size_range(self, *args)
    size_range(self, int a, int b, int c = 0, int d = 0, int e = 0, int f = 0, 
        int g = 0)
    x_root(self, *args)
    x_root(self) -> int
    xclass(self, *args)
    xclass(self) -> char
    xclass(self, char c)
    y_root(self, *args)
    y_root(self) -> int

    Static methods inherited from Fl_Window:
    current(*args)
    current() -> Fl_Window
    default_callback(*args)
    default_callback(Fl_Window arg0, void v)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Slider(Fl_Valuator)
        The Fl_Slider widget contains a sliding knob inside a box. It if often 
    used as a scrollbar. Moving the box all the way to the top/left sets it 
    to the minimum(), and to the bottom/right to the maximum(). The minimum() 
    may be greater than the maximum() to reverse the slider direction.
     
     
    Method resolution order:
    Fl_Slider
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Slider
    __init__(self, uchar t, int x, int y, int w, int h, char l) -> Fl_Slider
    __repr__ = _swig_repr(self)
    bounds(self, *args)
    bounds(self, double a, double b)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    scrollvalue(self, *args)
    scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
    slider(self, *args)
    slider(self) -> Fl_Boxtype
    slider(self, Fl_Boxtype c)
    slider_size(self, *args)
    slider_size(self) -> float
    slider_size(self, double v)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Slider>
    delete_Fl_Slider(Fl_Slider self)

    Methods inherited from Fl_Valuator:
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Spinner(Fl_Group)
        The Fl_Spinner widget is a combination of the input widget and repeat 
    buttons. The user can either type into the input area or use the buttons 
    to change the value.
     
     
    Method resolution order:
    Fl_Spinner
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char L = None) -> Fl_Spinner
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    format(self, *args)
    format(self) -> char
    format(self, char f)
    handle(self, *args)
    handle(self, int event) -> int
    maximum(self, *args)
    maximum(self, double m)
    maximum(self) -> double
    maxinum(self, *args)
    maxinum(self) -> double
    minimum(self, *args)
    minimum(self, double m)
    minimum(self) -> double
    mininum(self, *args)
    mininum(self) -> double
    range(self, *args)
    range(self, double a, double b)
    resize(self, *args)
    resize(self, int X, int Y, int W, int H)
    step(self, *args)
    step(self) -> double
    step(self, double s)
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, Fl_Color c)
    textfont(self, *args)
    textfont(self) -> uchar
    textfont(self, uchar f)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar v)
    value(self, *args)
    value(self) -> double
    value(self, double v)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Spinner>
    delete_Fl_Spinner(Fl_Spinner self)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Table(Fl_Group)
        This is the base class for table widgets. (eg. Fl_Table_Row). To be useful it must be subclassed and several virtual functions defined. Normally applications use widgets derived from this widget, and do not use this widget directly; this widget is usually too low level to be used directly by applications.
     
    This widget does not handle the data in the table. The draw_cell() method must be overridden by a subclass to manage drawing the contents of the cells.
     
    This widget can be used in several ways:
     
        * As a custom widget; see testtablerow.cxx. Very optimal for even extremely large tables.
     
        * As a table made up of a single FLTK widget instanced all over the table; see singleinput.cxx. Very optimal for even extremely large tables;
     
        * As a regular container of FLTK widgets, one widget per cell. See widgettable.cxx. Not recommended for large tables.
     
    When acting as part of a custom widget, events on the cells and/or headings generate callbacks when they are clicked by the user. You control when events are generated based on the setting for Fl_Table::when().
     
    When acting as a container for FLTK widgets, the FLTK widgets maintain themselves. Although the draw_cell() method must be overridden, its contents can be very simple. See the draw_cell() code in widgettable.cxx.
     
     
    Method resolution order:
    Fl_Table
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Table
    __repr__ = _swig_repr(self)
    add(self, *args)
    add(self, Fl_Widget w)
    begin(self, *args)
    begin(self)
    callback_col(self, *args)
    callback_col(self) -> int
    callback_context(self, *args)
    callback_context(self) -> TableContext
    callback_row(self, *args)
    callback_row(self) -> int
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    col_header(self, *args)
    col_header(self) -> int
    col_header(self, int flag)
    col_header_color(self, *args)
    col_header_color(self, Fl_Color val)
    col_header_color(self) -> Fl_Color
    col_header_height(self, *args)
    col_header_height(self, int height)
    col_header_height(self) -> int
    col_position(self, *args)
    col_position(self, int col)
    col_position(self) -> int
    col_resize(self, *args)
    col_resize(self) -> int
    col_resize(self, int flag)
    col_resize_min(self, *args)
    col_resize_min(self) -> int
    col_resize_min(self, int val)
    col_width(self, *args)
    col_width(self, int col, int width)
    col_width(self, int col) -> int
    col_width_all(self, *args)
    col_width_all(self, int width)
    cols(self, *args)
    cols(self, int val)
    cols(self) -> int
    do_callback(self, *args)
    do_callback(self, TableContext context, int row, int col)
    draw(self, *args)
    draw(self)
    draw_cell(self, *args)
    draw_cell(self, TableContext context, int R = 0, int C = 0, int X = 0, 
        int Y = 0, int W = 0, int H = 0)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget w) -> int
    get_selection(self, *args)
    get_selection(self)
    handle(self, *args)
    handle(self, int e) -> int
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget w, int n)
    insert_before(self, *args)
    insert_before(self, Fl_Widget w, Fl_Widget w2)
    is_interactive_resize(self, *args)
    is_interactive_resize(self) -> int
    is_selected(self, *args)
    is_selected(self, int r, int c) -> int
    move_cursor(self, *args)
    move_cursor(self, int R, int C) -> int
    resize(self, *args)
    resize(self, int X, int Y, int W, int H)
    row_header(self, *args)
    row_header(self) -> int
    row_header(self, int flag)
    row_header_color(self, *args)
    row_header_color(self, Fl_Color val)
    row_header_color(self) -> Fl_Color
    row_header_width(self, *args)
    row_header_width(self, int width)
    row_header_width(self) -> int
    row_height(self, *args)
    row_height(self, int row, int height)
    row_height(self, int row) -> int
    row_height_all(self, *args)
    row_height_all(self, int height)
    row_position(self, *args)
    row_position(self, int row)
    row_position(self) -> int
    row_resize(self, *args)
    row_resize(self) -> int
    row_resize(self, int flag)
    row_resize_min(self, *args)
    row_resize_min(self) -> int
    row_resize_min(self, int val)
    rows(self, *args)
    rows(self, int val)
    rows(self) -> int
    set_selection(self, *args)
    set_selection(self, int s_top, int s_left, int s_bottom, int s_right)
    table_box(self, *args)
    table_box(self, Fl_Boxtype val)
    table_box(self) -> Fl_Boxtype
    top_row(self, *args)
    top_row(self, int row)
    top_row(self) -> int
    visible_cells(self, *args)
    visible_cells(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    CONTEXT_CELL = 16
    CONTEXT_COL_HEADER = 8
    CONTEXT_ENDPAGE = 2
    CONTEXT_NONE = 0
    CONTEXT_RC_RESIZE = 64
    CONTEXT_ROW_HEADER = 4
    CONTEXT_STARTPAGE = 1
    CONTEXT_TABLE = 32
    __swig_destroy__ = <built-in function delete_Fl_Table>
    delete_Fl_Table(Fl_Table self)

    Methods inherited from Fl_Group:
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Table_Row(Fl_Table)
        This class implements a simple table of rows and columns that specializes in the selection of rows. This widget is similar in behavior to a 'mail subject browser', similar to that found in mozilla, netscape and outlook mail browsers.
     
    Most methods of importance will be found in the Fl_Table widget, such as rows() and cols().
     
    To be useful it must be subclassed and at minimum the draw_cell() method must be overridden to provide the content of the cells. This widget does not manage the cell's data content; it is up to the parent class's draw_cell() method override to provide this.
     
    Events on the cells and/or headings generate callbacks when they are clicked by the user. You control when events are generated based on the values you supply for when().
     
     
    Method resolution order:
    Fl_Table_Row
    Fl_Table
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Table_Row
    __repr__ = _swig_repr(self)
    clear(self, *args)
    clear(self)
    draw_cell(self, *args)
    draw_cell(self, TableContext context, int R = 0, int C = 0, int X = 0, 
        int Y = 0, int W = 0, int H = 0)
    find_cell(self, *args)
    find_cell(self, TableContext context, int R, int C, int X, int Y, int W, 
        int H) -> int
    handle(self, *args)
    handle(self, int event) -> int
    row_selected(self, *args)
    row_selected(self, int row) -> int
    rows(self, *args)
    rows(self, int val)
    rows(self) -> int
    select_all_rows(self, *args)
    select_all_rows(self, int flag = 1)
    select_row(self, *args)
    select_row(self, int row, int flag = 1) -> int
    type(self, *args)
    type(self, TableRowSelectMode val)
    type(self) -> TableRowSelectMode

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    SELECT_MULTI = 2
    SELECT_NONE = 0
    SELECT_SINGLE = 1
    __swig_destroy__ = <built-in function delete_Fl_Table_Row>
    delete_Fl_Table_Row(Fl_Table_Row self)

    Methods inherited from Fl_Table:
    add(self, *args)
    add(self, Fl_Widget w)
    begin(self, *args)
    begin(self)
    callback_col(self, *args)
    callback_col(self) -> int
    callback_context(self, *args)
    callback_context(self) -> TableContext
    callback_row(self, *args)
    callback_row(self) -> int
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    col_header(self, *args)
    col_header(self) -> int
    col_header(self, int flag)
    col_header_color(self, *args)
    col_header_color(self, Fl_Color val)
    col_header_color(self) -> Fl_Color
    col_header_height(self, *args)
    col_header_height(self, int height)
    col_header_height(self) -> int
    col_position(self, *args)
    col_position(self, int col)
    col_position(self) -> int
    col_resize(self, *args)
    col_resize(self) -> int
    col_resize(self, int flag)
    col_resize_min(self, *args)
    col_resize_min(self) -> int
    col_resize_min(self, int val)
    col_width(self, *args)
    col_width(self, int col, int width)
    col_width(self, int col) -> int
    col_width_all(self, *args)
    col_width_all(self, int width)
    cols(self, *args)
    cols(self, int val)
    cols(self) -> int
    do_callback(self, *args)
    do_callback(self, TableContext context, int row, int col)
    draw(self, *args)
    draw(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget w) -> int
    get_selection(self, *args)
    get_selection(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget w, int n)
    insert_before(self, *args)
    insert_before(self, Fl_Widget w, Fl_Widget w2)
    is_interactive_resize(self, *args)
    is_interactive_resize(self) -> int
    is_selected(self, *args)
    is_selected(self, int r, int c) -> int
    move_cursor(self, *args)
    move_cursor(self, int R, int C) -> int
    resize(self, *args)
    resize(self, int X, int Y, int W, int H)
    row_header(self, *args)
    row_header(self) -> int
    row_header(self, int flag)
    row_header_color(self, *args)
    row_header_color(self, Fl_Color val)
    row_header_color(self) -> Fl_Color
    row_header_width(self, *args)
    row_header_width(self, int width)
    row_header_width(self) -> int
    row_height(self, *args)
    row_height(self, int row, int height)
    row_height(self, int row) -> int
    row_height_all(self, *args)
    row_height_all(self, int height)
    row_position(self, *args)
    row_position(self, int row)
    row_position(self) -> int
    row_resize(self, *args)
    row_resize(self) -> int
    row_resize(self, int flag)
    row_resize_min(self, *args)
    row_resize_min(self) -> int
    row_resize_min(self, int val)
    set_selection(self, *args)
    set_selection(self, int s_top, int s_left, int s_bottom, int s_right)
    table_box(self, *args)
    table_box(self, Fl_Boxtype val)
    table_box(self) -> Fl_Boxtype
    top_row(self, *args)
    top_row(self, int row)
    top_row(self) -> int
    visible_cells(self, *args)
    visible_cells(self)

    Data and other attributes inherited from Fl_Table:
    CONTEXT_CELL = 16
    CONTEXT_COL_HEADER = 8
    CONTEXT_ENDPAGE = 2
    CONTEXT_NONE = 0
    CONTEXT_RC_RESIZE = 64
    CONTEXT_ROW_HEADER = 4
    CONTEXT_STARTPAGE = 1
    CONTEXT_TABLE = 32

    Methods inherited from Fl_Group:
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Tabs(Fl_Group)
        The Fl_Tabs widget is the 'file card tabs' interface that allows you to 
    put lots and lots of buttons and switches in a panel, as popularized by 
    many toolkits.
     
    Clicking the tab makes a child visible() by calling show() on it, and 
    all other children are made invisible by calling hide() on them. Usually 
    the children are Fl_Group widgets containing several widgets themselves.
     
    Each child makes a card, and it's label() is printed on the card tab, 
    including the label font and style. The selection color of that child 
    is used to color the tab, while the color of the child determines the 
    background color of the pane.
     
    The size of the tabs is controlled by the bounding box of the children 
    (there should be some space between the children and the edge of the Fl_Tabs), 
    and the tabs may be placed 'inverted' on the bottom, this is determined 
    by which gap is larger. It is easiest to lay this out in fluid, using the 
    fluid browser to select each child group and resize them until the tabs 
    look the way you want them to.
     
     
    Method resolution order:
    Fl_Tabs
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Tabs
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    push(self, *args)
    push(self) -> Fl_Widget
    push(self, Fl_Widget arg0) -> int
    value(self, *args)
    value(self) -> Fl_Widget
    value(self, Fl_Widget arg0) -> int
    which(self, *args)
    which(self, int event_x, int event_y) -> Fl_Widget

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Tabs>
    delete_Fl_Tabs(Fl_Tabs self)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Text_Buffer(__builtin__.object)
        The Fl_Text_Buffer class is used by the Fl_Text_Display and Fl_Text_Editor 
    to manage complex text data and is based upon the excellent NEdit text 
    editor engine - see http://www.nedit.org/.
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self, int requestedSize = 0) -> Fl_Text_Buffer
    __repr__ = _swig_repr(self)
    add_modify_callback = __Fl_Text_BufferAddModifyCallback(self, *args)
    add_predelete_callback(self, *args)
    add_predelete_callback(self, Fl_Text_Predelete_Cb bufPredelCB, void cbArg)
    append(self, *args)
    append(self, char t)
    appendfile(self, *args)
    appendfile(self, char file, int buflen = 128*1024) -> int
    call_modify_callbacks(self, *args)
    call_modify_callbacks(self)
    call_predelete_callbacks(self, *args)
    call_predelete_callbacks(self)
    canUndo(self, *args)
    canUndo(self, char flag = 1)
    character(self, *args)
    character(self, int pos) -> char
    clear_rectangular(self, *args)
    clear_rectangular(self, int start, int end, int rectStart, int rectEnd)
    copy(self, *args)
    copy(self, Fl_Text_Buffer fromBuf, int fromStart, int fromEnd, 
        int toPos)
    count_displayed_characters(self, *args)
    count_displayed_characters(self, int lineStartPos, int targetPos) -> int
    count_lines(self, *args)
    count_lines(self, int startPos, int endPos) -> int
    findchar_backward(self, *args)
    findchar_backward(self, int startPos, char searchChar) -> int
    findchar_forward(self, *args)
    findchar_forward(self, int startPos, char searchChar) -> int
    findchars_backward(self, *args)
    findchars_backward(self, int startPos, char searchChars) -> int
    findchars_forward(self, *args)
    findchars_forward(self, int startPos, char searchChars) -> int
    highlight(self, *args)
    highlight(self, int start, int end)
    highlight(self) -> int
    highlight_position(self, *args)
    highlight_position(self, int start, int end) -> int
    highlight_position(self, int start, int end, int isRect, int rectStart, int rectEnd) -> int
    highlight_rectangular(self, *args)
    highlight_rectangular(self, int start, int end, int rectStart, int rectEnd)
    highlight_selection(self, *args)
    highlight_selection(self) -> Fl_Text_Selection
    highlight_text(self, *args)
    highlight_text(self) -> char
    insert(self, *args)
    insert(self, int pos, char text)
    insert_column(self, *args)
    insert_column(self, int column, int startPos, char text, int charsInserted, 
        int charsDeleted)
    insertfile(self, *args)
    insertfile(self, char file, int pos, int buflen = 128*1024) -> int
    length(self, *args)
    length(self) -> int
    line_end(self, *args)
    line_end(self, int pos) -> int
    line_start(self, *args)
    line_start(self, int pos) -> int
    line_text(self, *args)
    line_text(self, int pos) -> char
    loadfile(self, *args)
    loadfile(self, char file, int buflen = 128*1024) -> int
    null_substitution_character(self, *args)
    null_substitution_character(self) -> char
    outputfile(self, *args)
    outputfile(self, char file, int start, int end, int buflen = 128*1024) -> int
    overlay_rectangular(self, *args)
    overlay_rectangular(self, int startPos, int rectStart, int rectEnd, char text, 
        int charsInserted, int charsDeleted)
    primary_selection(self, *args)
    primary_selection(self) -> Fl_Text_Selection
    remove(self, *args)
    remove(self, int start, int end)
    remove_modify_callback = __Fl_Text_BufferRemoveModifyCallback(self, *args)
    remove_predelete_callback(self, *args)
    remove_predelete_callback(self, Fl_Text_Predelete_Cb predelCB, void cbArg)
    remove_rectangular(self, *args)
    remove_rectangular(self, int start, int end, int rectStart, int rectEnd)
    remove_secondary_selection(self, *args)
    remove_secondary_selection(self)
    remove_selection(self, *args)
    remove_selection(self)
    replace(self, *args)
    replace(self, int start, int end, char text)
    replace_rectangular(self, *args)
    replace_rectangular(self, int start, int end, int rectStart, int rectEnd, char text)
    replace_secondary_selection(self, *args)
    replace_secondary_selection(self, char text)
    replace_selection(self, *args)
    replace_selection(self, char text)
    rewind_lines(self, *args)
    rewind_lines(self, int startPos, int nLines) -> int
    savefile(self, *args)
    savefile(self, char file, int buflen = 128*1024) -> int
    search_backward(self, *args)
    search_backward(self, int startPos, char searchString, int matchCase = 0) -> int
    search_forward(self, *args)
    search_forward(self, int startPos, char searchString, int matchCase = 0) -> int
    secondary_select(self, *args)
    secondary_select(self, int start, int end)
    secondary_select_rectangular(self, *args)
    secondary_select_rectangular(self, int start, int end, int rectStart, int rectEnd)
    secondary_selected(self, *args)
    secondary_selected(self) -> int
    secondary_selection(self, *args)
    secondary_selection(self) -> Fl_Text_Selection
    secondary_selection_position(self, *args)
    secondary_selection_position(self, int start, int end) -> int
    secondary_selection_position(self, int start, int end, int isRect, int rectStart, int rectEnd) -> int
    secondary_selection_text(self, *args)
    secondary_selection_text(self) -> char
    secondary_unselect(self, *args)
    secondary_unselect(self)
    select(self, *args)
    select(self, int start, int end)
    select_rectangular(self, *args)
    select_rectangular(self, int start, int end, int rectStart, int rectEnd)
    selected(self, *args)
    selected(self) -> int
    selection_position(self, *args)
    selection_position(self, int start, int end) -> int
    selection_position(self, int start, int end, int isRect, int rectStart, int rectEnd) -> int
    selection_text(self, *args)
    selection_text(self) -> char
    skip_displayed_characters(self, *args)
    skip_displayed_characters(self, int lineStartPos, int nChars) -> int
    skip_lines(self, *args)
    skip_lines(self, int startPos, int nLines) -> int
    substitute_null_characters(self, *args)
    substitute_null_characters(self, char string, int length) -> int
    tab_distance(self, *args)
    tab_distance(self) -> int
    tab_distance(self, int tabDist)
    text(self, *args)
    text(self) -> char
    text(self, char text)
    text_in_rectangle(self, *args)
    text_in_rectangle(self, int start, int end, int rectStart, int rectEnd) -> char
    text_range(self, *args)
    text_range(self, int start, int end) -> char
    undo(self, *args)
    undo(self, int cp = None) -> int
    unhighlight(self, *args)
    unhighlight(self)
    unselect(self, *args)
    unselect(self)
    unsubstitute_null_characters(self, *args)
    unsubstitute_null_characters(self, char string)
    word_end(self, *args)
    word_end(self, int pos) -> int
    word_start(self, *args)
    word_start(self, int pos) -> int

    Static methods defined here:
    character_width(*args)
    character_width(char c, int indent, int tabDist, char nullSubsChar) -> int
    expand_character(*args)
    expand_character(int pos, int indent, char outStr) -> int
    expand_character(char c, int indent, char outStr, int tabDist, char nullSubsChar) -> int

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Text_Buffer>
    delete_Fl_Text_Buffer(Fl_Text_Buffer self)

     
    class Fl_Text_Display(Fl_Group)
        This is the FLTK text display widget. It allows the user to view multiple 
    lines of text and supports highlighting and scrolling. The buffer that is 
    displayed in the widget is managed by the Fl_Text_Buffer class.
     
     
    Method resolution order:
    Fl_Text_Display
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Text_Display
    __repr__ = _swig_repr(self)
    buffer(self, *args)
    buffer(self, Fl_Text_Buffer buf)
    buffer(self) -> Fl_Text_Buffer
    count_lines(self, *args)
    count_lines(self, int start, int end, bool start_pos_is_line_start) -> int
    cursor_color(self, *args)
    cursor_color(self) -> Fl_Color
    cursor_color(self, Fl_Color n)
    cursor_style(self, *args)
    cursor_style(self, int style)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int e) -> int
    hide_cursor(self, *args)
    hide_cursor(self)
    highlight_data(self, *args)
    highlight_data(self, Fl_Text_Buffer styleBuffer, Fl_Text_Display::Style_Table_Entry styleTable, 
        int nStyles, char unfinishedStyle, 
        PyObject func, PyObject cbArg)
    in_selection(self, *args)
    in_selection(self, int x, int y) -> int
    insert(self, *args)
    insert(self, char text)
    insert_position(self, *args)
    insert_position(self, int newPos)
    insert_position(self) -> int
    line_end(self, *args)
    line_end(self, int pos, bool start_pos_is_line_start) -> int
    line_start(self, *args)
    line_start(self, int pos) -> int
    move_down(self, *args)
    move_down(self) -> int
    move_left(self, *args)
    move_left(self) -> int
    move_right(self, *args)
    move_right(self) -> int
    move_up(self, *args)
    move_up(self) -> int
    next_word(self, *args)
    next_word(self)
    overstrike(self, *args)
    overstrike(self, char text)
    position_style(self, *args)
    position_style(self, int lineStartPos, int lineLen, int lineIndex, int dispIndex) -> int
    previous_word(self, *args)
    previous_word(self)
    redisplay_range(self, *args)
    redisplay_range(self, int start, int end)
    resize(self, *args)
    resize(self, int X, int Y, int W, int H)
    rewind_lines(self, *args)
    rewind_lines(self, int startPos, int nLines) -> int
    scroll(self, *args)
    scroll(self, int topLineNum, int horizOffset)
    scrollbar_align(self, *args)
    scrollbar_align(self) -> Fl_Align
    scrollbar_align(self, Fl_Align a)
    scrollbar_width(self, *args)
    scrollbar_width(self) -> int
    scrollbar_width(self, int W)
    show_cursor(self, *args)
    show_cursor(self, int b = 1)
    show_insert_position(self, *args)
    show_insert_position(self)
    skip_lines(self, *args)
    skip_lines(self, int startPos, int nLines, bool startPosIsLineStart) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)
    word_end(self, *args)
    word_end(self, int pos) -> int
    word_start(self, *args)
    word_start(self, int pos) -> int
    wrap_mode(self, *args)
    wrap_mode(self, int wrap, int wrap_margin)
    wrapped_column(self, *args)
    wrapped_column(self, int row, int column) -> int
    wrapped_row(self, *args)
    wrapped_row(self, int row) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    ATTR_HIDDEN = 2
    ATTR_NONE = 0
    ATTR_UNDERLINE = 1
    BLOCK_CURSOR = 3
    CARET_CURSOR = 1
    CHARACTER_POS = 1
    CURSOR_POS = 0
    DIM_CURSOR = 2
    DRAG_CHAR = 0
    DRAG_LINE = 2
    DRAG_WORD = 1
    HEAVY_CURSOR = 4
    NORMAL_CURSOR = 0
    __swig_destroy__ = <built-in function delete_Fl_Text_Display>
    delete_Fl_Text_Display(Fl_Text_Display self)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Text_Editor(Fl_Text_Display)
        This is the FLTK text editor widget. It allows the user to edit multiple 
    lines of text and supports highlighting and scrolling. The buffer that is 
    displayed in the widget is managed by the Fl_Text_Buffer class.
     
     
    Method resolution order:
    Fl_Text_Editor
    Fl_Text_Display
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Text_Editor
    __repr__ = _swig_repr(self)
    add_key_binding(self, *args)
    add_key_binding(self, int key, int state, Key_Func f)
    bound_key_function(self, *args)
    bound_key_function(self, int key, int state) -> Key_Func
    default_key_function(self, *args)
    default_key_function(self, Key_Func f)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int e) -> int
    insert_mode(self, *args)
    insert_mode(self, int b)
    insert_mode(self) -> int
    remove_all_key_bindings(self, *args)
    remove_all_key_bindings(self)
    remove_key_binding(self, *args)
    remove_key_binding(self, int key, int state)

    Static methods defined here:
    kf_backspace(*args)
    kf_backspace(int c, Fl_Text_Editor e) -> int
    kf_c_s_move(*args)
    kf_c_s_move(int c, Fl_Text_Editor e) -> int
    kf_copy(*args)
    kf_copy(int c, Fl_Text_Editor e) -> int
    kf_ctrl_move(*args)
    kf_ctrl_move(int c, Fl_Text_Editor e) -> int
    kf_cut(*args)
    kf_cut(int c, Fl_Text_Editor e) -> int
    kf_default(*args)
    kf_default(int c, Fl_Text_Editor e) -> int
    kf_delete(*args)
    kf_delete(int c, Fl_Text_Editor e) -> int
    kf_down(*args)
    kf_down(int c, Fl_Text_Editor e) -> int
    kf_end(*args)
    kf_end(int c, Fl_Text_Editor e) -> int
    kf_enter(*args)
    kf_enter(int c, Fl_Text_Editor e) -> int
    kf_home(*args)
    kf_home(int arg0, Fl_Text_Editor e) -> int
    kf_ignore(*args)
    kf_ignore(int c, Fl_Text_Editor e) -> int
    kf_insert(*args)
    kf_insert(int c, Fl_Text_Editor e) -> int
    kf_left(*args)
    kf_left(int c, Fl_Text_Editor e) -> int
    kf_move(*args)
    kf_move(int c, Fl_Text_Editor e) -> int
    kf_page_down(*args)
    kf_page_down(int c, Fl_Text_Editor e) -> int
    kf_page_up(*args)
    kf_page_up(int c, Fl_Text_Editor e) -> int
    kf_paste(*args)
    kf_paste(int c, Fl_Text_Editor e) -> int
    kf_right(*args)
    kf_right(int c, Fl_Text_Editor e) -> int
    kf_select_all(*args)
    kf_select_all(int c, Fl_Text_Editor e) -> int
    kf_shift_move(*args)
    kf_shift_move(int c, Fl_Text_Editor e) -> int
    kf_undo(*args)
    kf_undo(int c, Fl_Text_Editor e) -> int
    kf_up(*args)
    kf_up(int c, Fl_Text_Editor e) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Text_Editor>
    delete_Fl_Text_Editor(Fl_Text_Editor self)

    Methods inherited from Fl_Text_Display:
    buffer(self, *args)
    buffer(self, Fl_Text_Buffer buf)
    buffer(self) -> Fl_Text_Buffer
    count_lines(self, *args)
    count_lines(self, int start, int end, bool start_pos_is_line_start) -> int
    cursor_color(self, *args)
    cursor_color(self) -> Fl_Color
    cursor_color(self, Fl_Color n)
    cursor_style(self, *args)
    cursor_style(self, int style)
    hide_cursor(self, *args)
    hide_cursor(self)
    highlight_data(self, *args)
    highlight_data(self, Fl_Text_Buffer styleBuffer, Fl_Text_Display::Style_Table_Entry styleTable, 
        int nStyles, char unfinishedStyle, 
        PyObject func, PyObject cbArg)
    in_selection(self, *args)
    in_selection(self, int x, int y) -> int
    insert(self, *args)
    insert(self, char text)
    insert_position(self, *args)
    insert_position(self, int newPos)
    insert_position(self) -> int
    line_end(self, *args)
    line_end(self, int pos, bool start_pos_is_line_start) -> int
    line_start(self, *args)
    line_start(self, int pos) -> int
    move_down(self, *args)
    move_down(self) -> int
    move_left(self, *args)
    move_left(self) -> int
    move_right(self, *args)
    move_right(self) -> int
    move_up(self, *args)
    move_up(self) -> int
    next_word(self, *args)
    next_word(self)
    overstrike(self, *args)
    overstrike(self, char text)
    position_style(self, *args)
    position_style(self, int lineStartPos, int lineLen, int lineIndex, int dispIndex) -> int
    previous_word(self, *args)
    previous_word(self)
    redisplay_range(self, *args)
    redisplay_range(self, int start, int end)
    resize(self, *args)
    resize(self, int X, int Y, int W, int H)
    rewind_lines(self, *args)
    rewind_lines(self, int startPos, int nLines) -> int
    scroll(self, *args)
    scroll(self, int topLineNum, int horizOffset)
    scrollbar_align(self, *args)
    scrollbar_align(self) -> Fl_Align
    scrollbar_align(self, Fl_Align a)
    scrollbar_width(self, *args)
    scrollbar_width(self) -> int
    scrollbar_width(self, int W)
    show_cursor(self, *args)
    show_cursor(self, int b = 1)
    show_insert_position(self, *args)
    show_insert_position(self)
    skip_lines(self, *args)
    skip_lines(self, int startPos, int nLines, bool startPosIsLineStart) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)
    word_end(self, *args)
    word_end(self, int pos) -> int
    word_start(self, *args)
    word_start(self, int pos) -> int
    wrap_mode(self, *args)
    wrap_mode(self, int wrap, int wrap_margin)
    wrapped_column(self, *args)
    wrapped_column(self, int row, int column) -> int
    wrapped_row(self, *args)
    wrapped_row(self, int row) -> int

    Data and other attributes inherited from Fl_Text_Display:
    ATTR_HIDDEN = 2
    ATTR_NONE = 0
    ATTR_UNDERLINE = 1
    BLOCK_CURSOR = 3
    CARET_CURSOR = 1
    CHARACTER_POS = 1
    CURSOR_POS = 0
    DIM_CURSOR = 2
    DRAG_CHAR = 0
    DRAG_LINE = 2
    DRAG_WORD = 1
    HEAVY_CURSOR = 4
    NORMAL_CURSOR = 0

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Text_Selection(__builtin__.object)
        Proxy of C++ Fl_Text_Selection class
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self) -> Fl_Text_Selection
    __repr__ = _swig_repr(self)
    end(self, *args)
    end(self) -> int
    includes(self, *args)
    includes(self, int pos, int lineStartPos, int dispIndex) -> int
    position(self, *args)
    position(self, int start, int end) -> int
    position(self, int start, int end, int isRect, int rectStart, int rectEnd) -> int
    rect_end(self, *args)
    rect_end(self) -> int
    rect_start(self, *args)
    rect_start(self) -> int
    rectangular(self, *args)
    rectangular(self) -> char
    selected(self, *args)
    selected(self) -> char
    selected(self, char b)
    set(self, *args)
    set(self, int start, int end)
    set_rectangular(self, *args)
    set_rectangular(self, int start, int end, int rectStart, int rectEnd)
    start(self, *args)
    start(self) -> int
    update(self, *args)
    update(self, int pos, int nDeleted, int nInserted)

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Text_Selection>
    delete_Fl_Text_Selection(Fl_Text_Selection self)

     
    class Fl_Tile(Fl_Group)
        The Fl_Tile class lets you resize the children by dragging the border between 
    them:
     
    Fl_Tile allows objects to be resized to zero dimensions. To prevent this you 
    can use the resizable() to limit where corners can be dragged to.
     
    Even though objects can be resized to zero sizes, they must initially have 
    non-zero sizes so the Fl_Tile can figure out their layout. If desired, call 
    position() after creating the children but before displaying the window to 
    set the borders where you want.
     
    The 'borders' are part of the children - Fl_Tile does not draw any graphics 
    of its own. In the example above, all of the children have FL_DOWN_BOX types, 
    and the 'ridges' you see are actually two adjacent FL_DOWN_BOX's drawn next 
    to each other. All neighboring widgets share the same edge - the widget's 
    thick borders make it appear as though the widgets aren't actually touching, 
    but they are. If the edges of adjacent widgets do not touch, then it will be 
    impossible to drag the corresponding edges.
     
     
    Method resolution order:
    Fl_Tile
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Tile
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    position(self, *args)
    position(self, int arg0, int arg1, int arg2, int arg3)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Tile>
    delete_Fl_Tile(Fl_Tile self)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Tiled_Image(Fl_Image)
        The Fl_Tiled_Image class supports tiling of images over a specified area. 
    The source (tile) image is not copied unless you call the color_average(), 
    desaturate(), or inactive() methods.
     
     
    Method resolution order:
    Fl_Tiled_Image
    Fl_Image
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, Fl_Image i, int W = 0, int H = 0) -> Fl_Tiled_Image
    __repr__ = _swig_repr(self)
    color_average(self, *args)
    color_average(self, Fl_Color c, float i)
    copy(self, *args)
    copy(self, int W, int H) -> Fl_Image
    copy(self) -> Fl_Image
    desaturate(self, *args)
    desaturate(self)
    draw(self, *args)
    draw(self, int X, int Y, int W, int H, int cx, int cy)
    draw(self, int X, int Y)
    image(self, *args)
    image(self) -> Fl_Image

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Tiled_Image>
    delete_Fl_Tiled_Image(Fl_Tiled_Image self)

    Methods inherited from Fl_Image:
    count(self, *args)
    count(self) -> int
    d(self, *args)
    d(self) -> int
    data(self, *args)
    data(self) -> char
    h(self, *args)
    h(self) -> int
    inactive(self, *args)
    inactive(self)
    label(self, *args)
    label(self, Fl_Widget w)
    label(self, Fl_Menu_Item m)
    ld(self, *args)
    ld(self) -> int
    uncache(self, *args)
    uncache(self)
    w(self, *args)
    w(self) -> int

    Data descriptors inherited from Fl_Image:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Timer(Fl_Widget)
        This is provided only to emulate the Forms Timer widget. It works by making 
    a timeout callback every 1/5 second. This is wasteful and inaccurate if you 
    just want something to happen a fixed time in the future. You should directly 
    call Fl::add_timeout() instead.
     
     
    Method resolution order:
    Fl_Timer
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, uchar t, int x, int y, int w, int h, char l) -> Fl_Timer
    __repr__ = _swig_repr(self)
    direction(self, *args)
    direction(self) -> char
    direction(self, char d)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    suspended(self, *args)
    suspended(self) -> char
    suspended(self, char d)
    value(self, *args)
    value(self, double arg0)
    value(self) -> double

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Timer>
    delete_Fl_Timer(Fl_Timer self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Toggle_Button(Fl_Button)
        Proxy of C++ Fl_Toggle_Button class
     
     
    Method resolution order:
    Fl_Toggle_Button
    Fl_Button
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H, char l = None) -> Fl_Toggle_Button
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Toggle_Button>
    delete_Fl_Toggle_Button(Fl_Toggle_Button self)

    Methods inherited from Fl_Button:
    clear(self, *args)
    clear(self) -> int
    down_box(self, *args)
    down_box(self) -> Fl_Boxtype
    down_box(self, Fl_Boxtype b)
    down_color(self, *args)
    down_color(self) -> Fl_Color
    down_color(self, unsigned int c)
    handle(self, *args)
    handle(self, int arg0) -> int
    set(self, *args)
    set(self) -> int
    setonly(self, *args)
    setonly(self)
    shortcut(self, *args)
    shortcut(self) -> int
    shortcut(self, int s)
    shortcut(self, char s)
    value(self, *args)
    value(self, int arg0) -> int
    value(self) -> char

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Tooltip(__builtin__.object)
        The Fl_Tooltip class provides tooltip support for all FLTK widgets.
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self) -> Fl_Tooltip
    __repr__ = _swig_repr(self)

    Static methods defined here:
    color(*args)
    color(unsigned int c)
    color() -> Fl_Color
    current(*args)
    current() -> Fl_Widget
    current(Fl_Widget arg0)
    delay(*args)
    delay() -> float
    delay(float f)
    disable(*args)
    disable()
    enable(*args)
    enable(int b = 1)
    enabled(*args)
    enabled() -> int
    enter_(*args)
    enter_(Fl_Widget w)
    enter_area(*args)
    enter_area(Fl_Widget w, int X, int Y, int W, int H, char tip)
    exit_(*args)
    exit_(Fl_Widget w)
    font(*args)
    font() -> int
    font(int i)
    hoverdelay(*args)
    hoverdelay() -> float
    hoverdelay(float f)
    size(*args)
    size() -> int
    size(int s)
    textcolor(*args)
    textcolor(unsigned int c)
    textcolor() -> Fl_Color

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Tooltip>
    delete_Fl_Tooltip(Fl_Tooltip self)

     
    class Fl_Valuator(Fl_Widget)
        The Fl_Valuator class controls a single floating-point value and provides 
    a consistent interface to set the value, range, and step, and insures that 
    callbacks are done the same for every object.
     
     
    Method resolution order:
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __init__(self, *args, **kwargs)
    __repr__ = _swig_repr(self)
    bounds(self, *args)
    bounds(self, double a, double b)
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Valuator>
    delete_Fl_Valuator(Fl_Valuator self)

    Methods inherited from Fl_Widget:
    __disown__(self)
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw(self, *args)
    draw(self)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    handle(self, *args)
    handle(self, int arg0) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Value_Input(Fl_Valuator)
        The Fl_Value_Input widget displays a numeric value. The user can click in 
    the text field and edit it - there is in fact a hidden Fl_Input widget with 
    type(FL_FLOAT_INPUT) or type(FL_INT_INPUT) in there - and when they hit 
    return or tab the value updates to what they typed and the callback is done.
     
    If step() is non-zero, the user can also drag the mouse across the object 
    and thus slide the value. The left button moves one step() per pixel, the 
    middle by 10 * step(), and the right button by 100 * step(). It is therefore 
    impossible to select text by dragging across it, although clicking can still 
    move the insertion cursor.
     
    If step() is non-zero and integral, then the range of numbers are limited 
    to integers instead of floating point values.
     
     
    Method resolution order:
    Fl_Value_Input
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Value_Input
    __repr__ = _swig_repr(self)
    cursor_color(self, *args)
    cursor_color(self) -> Fl_Color
    cursor_color(self, unsigned int n)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    soft(self, *args)
    soft(self, char s)
    soft(self) -> char
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Value_Input>
    delete_Fl_Value_Input(Fl_Value_Input self)

    Methods inherited from Fl_Valuator:
    bounds(self, *args)
    bounds(self, double a, double b)
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Value_Output(Fl_Valuator)
        The Fl_Value_Output widget displays a floating point value. If step() is 
    not zero, the user can adjust the value by dragging the mouse left and right. 
    The left button moves one step()  per pixel, the middle by 10 * step(), and 
    the right button by 100 * step().
     
    This is much lighter-weight than Fl_Value_Input because it contains no text 
    editing code or character buffer.
     
     
    Method resolution order:
    Fl_Value_Output
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Value_Output
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    soft(self, *args)
    soft(self, uchar s)
    soft(self) -> uchar
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int s)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Value_Output>
    delete_Fl_Value_Output(Fl_Value_Output self)

    Methods inherited from Fl_Valuator:
    bounds(self, *args)
    bounds(self, double a, double b)
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Value_Slider(Fl_Slider)
        The Fl_Value_Slider widget is a Fl_Slider widget with a box displaying 
    the current value.
     
     
    Method resolution order:
    Fl_Value_Slider
    Fl_Slider
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char l = None) -> Fl_Value_Slider
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int s)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Value_Slider>
    delete_Fl_Value_Slider(Fl_Value_Slider self)

    Methods inherited from Fl_Slider:
    bounds(self, *args)
    bounds(self, double a, double b)
    scrollvalue(self, *args)
    scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
    slider(self, *args)
    slider(self) -> Fl_Boxtype
    slider(self, Fl_Boxtype c)
    slider_size(self, *args)
    slider_size(self) -> float
    slider_size(self, double v)

    Methods inherited from Fl_Valuator:
    clamp(self, *args)
    clamp(self, double arg0) -> double
    format(self, *args)
    format(self, char format_string) -> int
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Widget(__builtin__.object)
        Fl_Widget is the base class for all widgets in FLTK. You can't create one of 
    these because the constructor is not public. However you can subclass it.
     
    All 'property' accessing methods, such as color(), parent(), or argument() 
    are implemented as trivial inline functions and thus are as fast and small 
    as accessing fields in a structure. Unless otherwise noted, the property 
    setting methods such as color(n) or label(s) are also trivial inline 
    functions, even if they change the widget's appearance. It is up to the user 
    code to call redraw() after these.
     
      Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Widget
    __repr__ = _swig_repr(self)
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw(self, *args)
    draw(self)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    handle(self, *args)
    handle(self, int arg0) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods defined here:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Widget>
    delete_Fl_Widget(Fl_Widget self)

     
    class Fl_Window(Fl_Group)
        This widget produces an actual window. This can either be a main window, 
    with a border and title and all the window management controls, or a 
    'subwindow' inside a window. This is controlled by whether or not the 
    window has a parent().
     
    Once you create a window, you usually add children Fl_Widget 's to it by 
    using window->add(child) for each new widget. See Fl_Group for more 
    information on how to add and remove children.
     
    There are several subclasses of Fl_Window that provide double-buffering, 
    overlay, menu, and OpenGL support.
     
    The window's callback is done if the user tries to close a window using 
    the window manager and Fl.modal() is zero or equal to the window. Fl_Window 
    has a default callback that calls Fl_Window.hide().
     
     
    Method resolution order:
    Fl_Window
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Window
    __init__(self, int arg0, int arg1, char arg2 = None) -> Fl_Window
    __repr__ = _swig_repr(self)
    border(self, *args)
    border(self, int b)
    border(self) -> int
    clear_border(self, *args)
    clear_border(self)
    copy_label(self, *args)
    copy_label(self, char a)
    cursor(self, *args)
    cursor(self, Fl_Cursor arg0, Fl_Color arg1 = FL_BLACK, Fl_Color arg2 = FL_WHITE)
    default_cursor(self, *args)
    default_cursor(self, Fl_Cursor arg0, Fl_Color arg1 = FL_BLACK, Fl_Color arg2 = FL_WHITE)
    draw(self, *args)
    draw(self)
    flush(self, *args)
    flush(self)
    free_position(self, *args)
    free_position(self)
    fullscreen(self, *args)
    fullscreen(self)
    fullscreen_off(self, *args)
    fullscreen_off(self, int arg0, int arg1, int arg2, int arg3)
    handle(self, *args)
    handle(self, int arg0) -> int
    hide(self, *args)
    hide(self)
    hotspot(self, *args)
    hotspot(self, int x, int y, int offscreen = 0)
    hotspot(self, Fl_Widget arg0, int offscreen = 0)
    icon(self, *args)
    icon(self) -> void
    icon(self, void ic)
    iconize(self, *args)
    iconize(self)
    iconlabel(self, *args)
    iconlabel(self) -> char
    iconlabel(self, char arg0)
    label(self, *args)
    label(self) -> char
    label(self, char arg0)
    label(self, char label, char iconlabel)
    make_current(self, *args)
    make_current(self)
    modal(self, *args)
    modal(self) -> int
    non_modal(self, *args)
    non_modal(self) -> int
    override(self, *args)
    override(self) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    set_modal(self, *args)
    set_modal(self)
    set_non_modal(self, *args)
    set_non_modal(self)
    set_override(self, *args)
    set_override(self)
    show(self, *args)
    show(self, PyObject count = None, PyObject data = None)
    shown(self, *args)
    shown(self) -> int
    size_range(self, *args)
    size_range(self, int a, int b, int c = 0, int d = 0, int e = 0, int f = 0, 
        int g = 0)
    x_root(self, *args)
    x_root(self) -> int
    xclass(self, *args)
    xclass(self) -> char
    xclass(self, char c)
    y_root(self, *args)
    y_root(self) -> int

    Static methods defined here:
    current(*args)
    current() -> Fl_Window
    default_callback(*args)
    default_callback(Fl_Window arg0, void v)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Window>
    delete_Fl_Window(Fl_Window self)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_Wizard(Fl_Group)
        The Fl_Wizard widget is based off the Fl_Tabs widget, but instead of 
    displaying tabs it only changes 'tabs' under program control. Its primary 
    purpose is to support 'wizards' that step a user through configuration or 
    troubleshooting tasks.
     
    As with Fl_Tabs, wizard panes are composed of child (usually Fl_Group
    widgets. Navigation buttons must be added separately.
     
     
    Method resolution order:
    Fl_Wizard
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int arg0, int arg1, int arg2, int arg3, char arg4 = None) -> Fl_Wizard
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    next(self, *args)
    next(self)
    prev(self, *args)
    prev(self)
    value(self, *args)
    value(self) -> Fl_Widget
    value(self, Fl_Widget arg0)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_Wizard>
    delete_Fl_Wizard(Fl_Wizard self)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_XBM_Image(Fl_Bitmap)
        The Fl_XBM_Image class supports loading, caching, and drawing of X Bitmap 
    (XBM) bitmap files.
     
     
    Method resolution order:
    Fl_XBM_Image
    Fl_Bitmap
    Fl_Image
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, char filename) -> Fl_XBM_Image
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_XBM_Image>
    delete_Fl_XBM_Image(Fl_XBM_Image self)

    Methods inherited from Fl_Bitmap:
    copy(self, *args)
    copy(self, int W, int H) -> Fl_Image
    copy(self) -> Fl_Image
    draw(self, *args)
    draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0)
    draw(self, int X, int Y)
    label(self, *args)
    label(self, Fl_Widget w)
    label(self, Fl_Menu_Item m)
    uncache(self, *args)
    uncache(self)

    Methods inherited from Fl_Image:
    color_average(self, *args)
    color_average(self, Fl_Color c, float i)
    count(self, *args)
    count(self) -> int
    d(self, *args)
    d(self) -> int
    data(self, *args)
    data(self) -> char
    desaturate(self, *args)
    desaturate(self)
    h(self, *args)
    h(self) -> int
    inactive(self, *args)
    inactive(self)
    ld(self, *args)
    ld(self) -> int
    w(self, *args)
    w(self) -> int

    Data descriptors inherited from Fl_Image:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Fl_XPM_Image(Fl_Pixmap)
        The Fl_XPM_Image class supports loading, caching, and drawing of X Pixmap (XPM) images, including transparency.
     
     
    Method resolution order:
    Fl_XPM_Image
    Fl_Pixmap
    Fl_Image
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, char filename) -> Fl_XPM_Image
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Fl_XPM_Image>
    delete_Fl_XPM_Image(Fl_XPM_Image self)

    Methods inherited from Fl_Pixmap:
    color_average(self, *args)
    color_average(self, Fl_Color c, float i)
    copy(self, *args)
    copy(self, int W, int H) -> Fl_Image
    copy(self) -> Fl_Image
    desaturate(self, *args)
    desaturate(self)
    draw(self, *args)
    draw(self, int X, int Y, int W, int H, int cx = 0, int cy = 0)
    draw(self, int X, int Y)
    label(self, *args)
    label(self, Fl_Widget w)
    label(self, Fl_Menu_Item m)
    uncache(self, *args)
    uncache(self)

    Methods inherited from Fl_Image:
    count(self, *args)
    count(self) -> int
    d(self, *args)
    d(self) -> int
    data(self, *args)
    data(self) -> char
    h(self, *args)
    h(self) -> int
    inactive(self, *args)
    inactive(self)
    ld(self, *args)
    ld(self) -> int
    w(self, *args)
    w(self) -> int

    Data descriptors inherited from Fl_Image:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Flcc_HueBox(Fl_Widget)
        Proxy of C++ Flcc_HueBox class
     
     
    Method resolution order:
    Flcc_HueBox
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H) -> Flcc_HueBox
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Flcc_HueBox>
    delete_Flcc_HueBox(Flcc_HueBox self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Flcc_ValueBox(Fl_Widget)
        Proxy of C++ Flcc_ValueBox class
     
     
    Method resolution order:
    Flcc_ValueBox
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H) -> Flcc_ValueBox
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Flcc_ValueBox>
    delete_Flcc_ValueBox(Flcc_ValueBox self)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Flcc_Value_Input(Fl_Value_Input)
        Proxy of C++ Flcc_Value_Input class
     
     
    Method resolution order:
    Flcc_Value_Input
    Fl_Value_Input
    Fl_Valuator
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int X, int Y, int W, int H) -> Flcc_Value_Input
    __repr__ = _swig_repr(self)
    format(self, *args)
    format(self, char arg0) -> int

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Flcc_Value_Input>
    delete_Flcc_Value_Input(Flcc_Value_Input self)

    Methods inherited from Fl_Value_Input:
    cursor_color(self, *args)
    cursor_color(self) -> Fl_Color
    cursor_color(self, unsigned int n)
    draw(self, *args)
    draw(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    resize(self, *args)
    resize(self, int arg0, int arg1, int arg2, int arg3)
    soft(self, *args)
    soft(self, char s)
    soft(self) -> char
    textcolor(self, *args)
    textcolor(self) -> Fl_Color
    textcolor(self, unsigned int n)
    textfont(self, *args)
    textfont(self) -> Fl_Font
    textfont(self, uchar s)
    textsize(self, *args)
    textsize(self) -> uchar
    textsize(self, uchar s)

    Methods inherited from Fl_Valuator:
    bounds(self, *args)
    bounds(self, double a, double b)
    clamp(self, *args)
    clamp(self, double arg0) -> double
    increment(self, *args)
    increment(self, double arg0, int arg1) -> double
    maximum(self, *args)
    maximum(self) -> double
    maximum(self, double a)
    minimum(self, *args)
    minimum(self) -> double
    minimum(self, double a)
    precision(self, *args)
    precision(self, int arg0)
    range(self, *args)
    range(self, double a, double b)
    round(self, *args)
    round(self, double arg0) -> double
    step(self, *args)
    step(self, int a)
    step(self, double a, int b)
    step(self, double s)
    step(self) -> double
    value(self, *args)
    value(self) -> double
    value(self, double arg0) -> int

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class ListSelect(Fl_Group)
        Proxy of C++ ListSelect class
     
     
    Method resolution order:
    ListSelect
    Fl_Group
    Fl_Widget
    __builtin__.object

    Methods defined here:
    __del__ lambda self
    __disown__(self)
    __init__(self, *args)
    __init__(self, int x, int y, int w, int h, char topLabel = None, char bottomLabel = None) -> ListSelect
    __repr__ = _swig_repr(self)
    draw(self, *args)
    draw(self)
    getBottomBrowser(self, *args)
    getBottomBrowser(self) -> Fl_Multi_Browser
    getTopBrowser(self, *args)
    getTopBrowser(self) -> Fl_Multi_Browser
    resize(self, *args)
    resize(self, int x, int y, int w, int h)

    Data descriptors defined here:
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_ListSelect>
    delete_ListSelect(ListSelect self)

    Methods inherited from Fl_Group:
    add(self, *args)
    add(self, Fl_Widget o)
    add_resizable(self, *args)
    add_resizable(self, Fl_Widget o)
    begin(self, *args)
    begin(self)
    child(self, *args)
    child(self, int n) -> Fl_Widget
    children(self, *args)
    children(self) -> int
    clear(self, *args)
    clear(self)
    end(self, *args)
    end(self)
    find(self, *args)
    find(self, Fl_Widget o) -> int
    focus(self, *args)
    focus(self, Fl_Widget o)
    forms_end(self, *args)
    forms_end(self)
    handle(self, *args)
    handle(self, int arg0) -> int
    init_sizes(self, *args)
    init_sizes(self)
    insert(self, *args)
    insert(self, Fl_Widget arg0, int i)
    insert_before(self, *args)
    insert_before(self, Fl_Widget o, Fl_Widget before)
    remove(self, *args)
    remove(self, Fl_Widget o)
    resizable(self, *args)
    resizable(self, Fl_Widget o)
    resizable(self) -> Fl_Widget

    Static methods inherited from Fl_Group:
    current(*args)
    current() -> Fl_Group
    current(Fl_Group g)

    Methods inherited from Fl_Widget:
    activate(self, *args)
    activate(self)
    active(self, *args)
    active(self) -> int
    active_r(self, *args)
    active_r(self) -> int
    align(self, *args)
    align(self) -> Fl_Align
    align(self, uchar a)
    argument(self, *args)
    argument(self) -> long
    argument(self, long v)
    box(self, *args)
    box(self) -> Fl_Boxtype
    box(self, Fl_Boxtype a)
    callback = __Fl_WidgetCallback(self, *args)
    changed(self, *args)
    changed(self) -> int
    clear_changed(self, *args)
    clear_changed(self)
    clear_damage(self, *args)
    clear_damage(self, uchar c = 0)
    clear_output(self, *args)
    clear_output(self)
    clear_visible(self, *args)
    clear_visible(self)
    clear_visible_focus(self, *args)
    clear_visible_focus(self)
    color(self, *args)
    color(self) -> Fl_Color
    color(self, unsigned int a)
    color(self, unsigned int a, unsigned int b)
    color2(self, *args)
    color2(self) -> Fl_Color
    color2(self, unsigned int a)
    contains(self, *args)
    contains(self, Fl_Widget arg0) -> int
    copy_label(self, *args)
    copy_label(self, char a)
    damage(self, *args)
    damage(self) -> uchar
    damage(self, uchar c)
    damage(self, uchar c, int arg1, int arg2, int arg3, int arg4)
    damage_resize(self, *args)
    damage_resize(self, int arg0, int arg1, int arg2, int arg3) -> int
    deactivate(self, *args)
    deactivate(self)
    deimage(self, *args)
    deimage(self) -> Fl_Image
    deimage(self, Fl_Image a)
    do_callback(self, *args)
    do_callback(self)
    do_callback(self, Fl_Widget o, void arg = None)
    do_callback(self, Fl_Widget o, long arg)
    draw_label(self, *args)
    draw_label(self, int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)
    h(self, *args)
    h(self) -> int
    hide(self, *args)
    hide(self)
    image(self, *args)
    image(self) -> Fl_Image
    image(self, Fl_Image a)
    inside(self, *args)
    inside(self, Fl_Widget o) -> int
    label(self, *args)
    label(self) -> char
    label(self, char a)
    label(self, Fl_Labeltype a, char b)
    labelcolor(self, *args)
    labelcolor(self) -> Fl_Color
    labelcolor(self, unsigned int a)
    labelfont(self, *args)
    labelfont(self) -> Fl_Font
    labelfont(self, uchar a)
    labelsize(self, *args)
    labelsize(self) -> uchar
    labelsize(self, uchar a)
    labeltype(self, *args)
    labeltype(self) -> Fl_Labeltype
    labeltype(self, Fl_Labeltype a)
    measure_label(self, *args)
    measure_label(self, int xx, int yy)
    output(self, *args)
    output(self) -> int
    parent(self, *args)
    parent(self) -> Fl_Group
    parent(self, Fl_Group p)
    position(self, *args)
    position(self, int X, int Y)
    redraw(self, *args)
    redraw(self)
    redraw_label(self, *args)
    redraw_label(self)
    selection_color(self, *args)
    selection_color(self) -> Fl_Color
    selection_color(self, unsigned int a)
    set_changed(self, *args)
    set_changed(self)
    set_output(self, *args)
    set_output(self)
    set_visible(self, *args)
    set_visible(self)
    set_visible_focus(self, *args)
    set_visible_focus(self)
    show(self, *args)
    show(self)
    size(self, *args)
    size(self, int W, int H)
    take_focus(self, *args)
    take_focus(self) -> int
    takesevents(self, *args)
    takesevents(self) -> int
    tooltip(self, *args)
    tooltip(self) -> char
    tooltip(self, char t)
    type(self, *args)
    type(self) -> uchar
    type(self, uchar t)
    user_data(self, *args)
    user_data(self)
    user_data(self, void v)
    user_data(self, PyObject PyData)
    user_data(self) -> PyObject
    visible(self, *args)
    visible(self) -> int
    visible_focus(self, *args)
    visible_focus(self, int v)
    visible_focus(self) -> int
    visible_r(self, *args)
    visible_r(self) -> int
    w(self, *args)
    w(self) -> int
    when(self, *args)
    when(self) -> Fl_When
    when(self, uchar i)
    window(self, *args)
    window(self) -> Fl_Window
    x(self, *args)
    x(self) -> int
    y(self, *args)
    y(self) -> int

    Static methods inherited from Fl_Widget:
    default_callback(*args)
    default_callback(Fl_Widget arg0, void arg1)
    label_shortcut(*args)
    label_shortcut(char t) -> char
    test_shortcut(*args)
    test_shortcut() -> int
    test_shortcut(char arg0) -> int

    Data descriptors inherited from Fl_Widget:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)

     
    class Style_Table_Entry(__builtin__.object)
        Proxy of C++ Style_Table_Entry class
     
      Methods defined here:
    __del__ lambda self
    __init__(self, *args)
    __init__(self) -> Style_Table_Entry
    __repr__ = _swig_repr(self)

    Data descriptors defined here:
    __dict__
    dictionary for instance variables (if defined)
    __weakref__
    list of weak references to the object (if defined)
    thisown
    The membership flag

    Data and other attributes defined here:
    __swig_destroy__ = <built-in function delete_Style_Table_Entry>
    delete_Style_Table_Entry(Style_Table_Entry self)

     
    Functions
           
    FL_CHART_ENTRY_swigregister(...)
    Fl_Adjuster_swigregister(...)
    Fl_BMP_Image_swigregister(...)
    Fl_Bitmap_swigregister(...)
    Fl_Box_swigregister(...)
    Fl_Browser__scrollbar_width(*args)
    scrollbar_width(int b)
    Fl_Browser__scrollbar_width() -> int
    Fl_Browser__swigregister(...)
    Fl_Browser_swigregister(...)
    Fl_Button_swigregister(...)
    Fl_Chart_swigregister(...)
    Fl_Check_Browser_swigregister(...)
    Fl_Check_Button_swigregister(...)
    Fl_Choice_swigregister(...)
    Fl_Clock_Output_swigregister(...)
    Fl_Clock_swigregister(...)
    Fl_Color_Chooser_hsv2rgb(*args)
    Fl_Color_Chooser_hsv2rgb(double arg0, double arg1, double arg2, double arg3, 
        double arg4, double arg5)
    Fl_Color_Chooser_rgb2hsv(*args)
    Fl_Color_Chooser_rgb2hsv(double arg0, double arg1, double arg2, double arg3, 
        double arg4, double arg5)
    Fl_Color_Chooser_swigregister(...)
    Fl_Counter_swigregister(...)
    Fl_Dial_swigregister(...)
    Fl_Double_Window_swigregister(...)
    Fl_End_swigregister(...)
    Fl_File_Browser_swigregister(...)
    Fl_File_Chooser_swigregister(...)
    Fl_File_Icon_find(*args)
    Fl_File_Icon_find(char filename, int filetype = ANY) -> Fl_File_Icon
    Fl_File_Icon_first(*args)
    Fl_File_Icon_first() -> Fl_File_Icon
    Fl_File_Icon_labeltype(*args)
    Fl_File_Icon_labeltype(Fl_Label o, int x, int y, int w, int h, Fl_Align a)
    Fl_File_Icon_load_system_icons(*args)
    Fl_File_Icon_load_system_icons()
    Fl_File_Icon_swigregister(...)
    Fl_File_Input_swigregister(...)
    Fl_Fill_Dial_swigregister(...)
    Fl_Fill_Slider_swigregister(...)
    Fl_Float_Input_swigregister(...)
    Fl_FormsBitmap_swigregister(...)
    Fl_FormsPixmap_swigregister(...)
    Fl_Free_swigregister(...)
    Fl_GIF_Image_swigregister(...)
    Fl_Gl_Window_swigregister(...)
    Fl_Group_current(*args)
    current() -> Fl_Group
    Fl_Group_current(Fl_Group g)
    Fl_Group_swigregister(...)
    Fl_Help_Block_swigregister(...)
    Fl_Help_Dialog_swigregister(...)
    Fl_Help_Link_swigregister(...)
    Fl_Help_Target_swigregister(...)
    Fl_Help_View_swigregister(...)
    Fl_Hold_Browser_swigregister(...)
    Fl_Hor_Fill_Slider_swigregister(...)
    Fl_Hor_Nice_Slider_swigregister(...)
    Fl_Hor_Slider_swigregister(...)
    Fl_Hor_Value_Slider_swigregister(...)
    Fl_Image_swigregister(...)
    Fl_Input_Choice_swigregister(...)
    Fl_Input__swigregister(...)
    Fl_Input_swigregister(...)
    Fl_Int_Input_swigregister(...)
    Fl_JPEG_Image_swigregister(...)
    Fl_Label_swigregister(...)
    Fl_Light_Button_swigregister(...)
    Fl_Line_Dial_swigregister(...)
    Fl_Menu_Bar_swigregister(...)
    Fl_Menu_Button_swigregister(...)
    Fl_Menu_Item_swigregister(...)
    Fl_Menu_Window_swigregister(...)
    Fl_Menu__swigregister(...)
    Fl_Multi_Browser_swigregister(...)
    Fl_Multi_Label_swigregister(...)
    Fl_Multiline_Input_swigregister(...)
    Fl_Multiline_Output_swigregister(...)
    Fl_Nice_Slider_swigregister(...)
    Fl_Output_swigregister(...)
    Fl_Overlay_Window_swigregister(...)
    Fl_PNG_Image_swigregister(...)
    Fl_PNM_Image_swigregister(...)
    Fl_Pack_swigregister(...)
    Fl_Pixmap_swigregister(...)
    Fl_Positioner_swigregister(...)
    Fl_Preferences_swigregister(...)
    Fl_Progress_swigregister(...)
    Fl_RGB_Image_swigregister(...)
    Fl_Radio_Button_swigregister(...)
    Fl_Radio_Light_Button_swigregister(...)
    Fl_Radio_Round_Button_swigregister(...)
    Fl_Repeat_Button_swigregister(...)
    Fl_Return_Button_swigregister(...)
    Fl_Roller_swigregister(...)
    Fl_Round_Button_swigregister(...)
    Fl_Round_Clock_swigregister(...)
    Fl_Scroll_swigregister(...)
    Fl_Scrollbar_swigregister(...)
    Fl_Secret_Input_swigregister(...)
    Fl_Select_Browser_swigregister(...)
    Fl_Shared_Image_add_handler(*args)
    Fl_Shared_Image_add_handler(Fl_Shared_Handler f)
    Fl_Shared_Image_find(*args)
    Fl_Shared_Image_find(char n, int W = 0, int H = 0) -> Fl_Shared_Image
    Fl_Shared_Image_get(*args)
    Fl_Shared_Image_get(char n, int W = 0, int H = 0) -> Fl_Shared_Image
    Fl_Shared_Image_images(*args)
    Fl_Shared_Image_images() -> Fl_Shared_Image
    Fl_Shared_Image_num_images(*args)
    Fl_Shared_Image_num_images() -> int
    Fl_Shared_Image_remove_handler(*args)
    Fl_Shared_Image_remove_handler(Fl_Shared_Handler f)
    Fl_Shared_Image_swigregister(...)
    Fl_Simple_Counter_swigregister(...)
    Fl_Single_Window_swigregister(...)
    Fl_Slider_swigregister(...)
    Fl_Spinner_swigregister(...)
    Fl_Table_Row_swigregister(...)
    Fl_Table_swigregister(...)
    Fl_Tabs_swigregister(...)
    Fl_Text_Buffer_character_width(*args)
    Fl_Text_Buffer_character_width(char c, int indent, int tabDist, char nullSubsChar) -> int
    Fl_Text_Buffer_expand_character(*args)
    expand_character(int pos, int indent, char outStr) -> int
    Fl_Text_Buffer_expand_character(char c, int indent, char outStr, int tabDist, char nullSubsChar) -> int
    Fl_Text_Buffer_swigregister(...)
    Fl_Text_Display_swigregister(...)
    Fl_Text_Editor_kf_backspace(*args)
    Fl_Text_Editor_kf_backspace(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_c_s_move(*args)
    Fl_Text_Editor_kf_c_s_move(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_copy(*args)
    Fl_Text_Editor_kf_copy(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_ctrl_move(*args)
    Fl_Text_Editor_kf_ctrl_move(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_cut(*args)
    Fl_Text_Editor_kf_cut(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_default(*args)
    Fl_Text_Editor_kf_default(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_delete(*args)
    Fl_Text_Editor_kf_delete(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_down(*args)
    Fl_Text_Editor_kf_down(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_end(*args)
    Fl_Text_Editor_kf_end(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_enter(*args)
    Fl_Text_Editor_kf_enter(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_home(*args)
    Fl_Text_Editor_kf_home(int arg0, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_ignore(*args)
    Fl_Text_Editor_kf_ignore(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_insert(*args)
    Fl_Text_Editor_kf_insert(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_left(*args)
    Fl_Text_Editor_kf_left(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_move(*args)
    Fl_Text_Editor_kf_move(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_page_down(*args)
    Fl_Text_Editor_kf_page_down(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_page_up(*args)
    Fl_Text_Editor_kf_page_up(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_paste(*args)
    Fl_Text_Editor_kf_paste(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_right(*args)
    Fl_Text_Editor_kf_right(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_select_all(*args)
    Fl_Text_Editor_kf_select_all(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_shift_move(*args)
    Fl_Text_Editor_kf_shift_move(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_undo(*args)
    Fl_Text_Editor_kf_undo(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_kf_up(*args)
    Fl_Text_Editor_kf_up(int c, Fl_Text_Editor e) -> int
    Fl_Text_Editor_swigregister(...)
    Fl_Text_Selection_swigregister(...)
    Fl_Tile_swigregister(...)
    Fl_Tiled_Image_swigregister(...)
    Fl_Timer_swigregister(...)
    Fl_Toggle_Button_swigregister(...)
    Fl_Tooltip_color(*args)
    color(unsigned int c)
    Fl_Tooltip_color() -> Fl_Color
    Fl_Tooltip_current(*args)
    current() -> Fl_Widget
    Fl_Tooltip_current(Fl_Widget arg0)
    Fl_Tooltip_delay(*args)
    delay() -> float
    Fl_Tooltip_delay(float f)
    Fl_Tooltip_disable(*args)
    Fl_Tooltip_disable()
    Fl_Tooltip_enable(*args)
    Fl_Tooltip_enable(int b = 1)
    Fl_Tooltip_enabled(*args)
    Fl_Tooltip_enabled() -> int
    Fl_Tooltip_enter_(*args)
    Fl_Tooltip_enter_(Fl_Widget w)
    Fl_Tooltip_enter_area(*args)
    Fl_Tooltip_enter_area(Fl_Widget w, int X, int Y, int W, int H, char tip)
    Fl_Tooltip_exit_(*args)
    Fl_Tooltip_exit_(Fl_Widget w)
    Fl_Tooltip_font(*args)
    font() -> int
    Fl_Tooltip_font(int i)
    Fl_Tooltip_hoverdelay(*args)
    hoverdelay() -> float
    Fl_Tooltip_hoverdelay(float f)
    Fl_Tooltip_size(*args)
    size() -> int
    Fl_Tooltip_size(int s)
    Fl_Tooltip_swigregister(...)
    Fl_Tooltip_textcolor(*args)
    textcolor(unsigned int c)
    Fl_Tooltip_textcolor() -> Fl_Color
    Fl_Valuator_swigregister(...)
    Fl_Value_Input_swigregister(...)
    Fl_Value_Output_swigregister(...)
    Fl_Value_Slider_swigregister(...)
    Fl_Widget_default_callback(*args)
    Fl_Widget_default_callback(Fl_Widget arg0, void arg1)
    Fl_Widget_label_shortcut(*args)
    Fl_Widget_label_shortcut(char t) -> char
    Fl_Widget_swigregister(...)
    Fl_Widget_test_shortcut(*args)
    test_shortcut() -> int
    Fl_Widget_test_shortcut(char arg0) -> int
    Fl_Window_current(*args)
    Fl_Window_current() -> Fl_Window
    Fl_Window_default_callback(*args)
    Fl_Window_default_callback(Fl_Window arg0, void v)
    Fl_Window_swigregister(...)
    Fl_Wizard_swigregister(...)
    Fl_XBM_Image_swigregister(...)
    Fl_XPM_Image_swigregister(...)
    Fl_add_awake_handler_(*args)
    Fl_add_awake_handler_(Fl_Awake_Handler arg0, void arg1) -> int
    Fl_add_check(...)
    Fl_add_fd(...)
    Fl_add_handler(...)
    Fl_add_idle(func, data=None)
    Fl_add_timeout(...)
    Fl_arg(*args)
    Fl_arg(int arg0, char arg1, int arg2) -> int
    Fl_args(*args)
    args(int arg0, char arg1, int arg2, int arg3 = None) -> int
    Fl_args(int arg0, char arg1)
    Fl_awake(*args)
    awake(Fl_Awake_Handler cb, void message = None) -> int
    Fl_awake(void message = None)
    Fl_background(*args)
    Fl_background(uchar arg0, uchar arg1, uchar arg2)
    Fl_background2(*args)
    Fl_background2(uchar arg0, uchar arg1, uchar arg2)
    Fl_belowmouse(*args)
    belowmouse() -> Fl_Widget
    Fl_belowmouse(Fl_Widget arg0)
    Fl_box_dh(*args)
    Fl_box_dh(Fl_Boxtype arg0) -> int
    Fl_box_dw(*args)
    Fl_box_dw(Fl_Boxtype arg0) -> int
    Fl_box_dx(*args)
    Fl_box_dx(Fl_Boxtype arg0) -> int
    Fl_box_dy(*args)
    Fl_box_dy(Fl_Boxtype arg0) -> int
    Fl_check(*args)
    Fl_check() -> int
    Fl_clear_widget_pointer(*args)
    Fl_clear_widget_pointer(Fl_Widget w)
    Fl_compose(*args)
    Fl_compose(int _del) -> int
    Fl_compose_reset(*args)
    Fl_compose_reset()
    Fl_copy(*args)
    Fl_copy(char stuff, int len, int clipboard = 0)
    Fl_damage(*args)
    damage(int d)
    Fl_damage() -> int
    Fl_default_atclose(*args)
    Fl_default_atclose(Fl_Window arg0, void arg1)
    Fl_delete_widget(*args)
    Fl_delete_widget(Fl_Widget w)
    Fl_display(*args)
    Fl_display(char arg0)
    Fl_dnd(*args)
    Fl_dnd() -> int
    Fl_dnd_text_ops(*args)
    dnd_text_ops(int v)
    Fl_dnd_text_ops() -> int
    Fl_do_widget_deletion(*args)
    Fl_do_widget_deletion()
    Fl_draw_box_active(*args)
    Fl_draw_box_active() -> int
    Fl_event(*args)
    Fl_event() -> int
    Fl_event_alt(*args)
    Fl_event_alt() -> int
    Fl_event_button(*args)
    Fl_event_button() -> int
    Fl_event_button1(*args)
    Fl_event_button1() -> int
    Fl_event_button2(*args)
    Fl_event_button2() -> int
    Fl_event_button3(*args)
    Fl_event_button3() -> int
    Fl_event_buttons(*args)
    Fl_event_buttons() -> int
    Fl_event_clicks(*args)
    event_clicks() -> int
    Fl_event_clicks(int i)
    Fl_event_ctrl(*args)
    Fl_event_ctrl() -> int
    Fl_event_dx(*args)
    Fl_event_dx() -> int
    Fl_event_dy(*args)
    Fl_event_dy() -> int
    Fl_event_inside(*args)
    event_inside(int arg0, int arg1, int arg2, int arg3) -> int
    Fl_event_inside(Fl_Widget arg0) -> int
    Fl_event_is_click(*args)
    event_is_click() -> int
    Fl_event_is_click(int i)
    Fl_event_key(*args)
    event_key() -> int
    Fl_event_key(int arg0) -> int
    Fl_event_length(*args)
    Fl_event_length() -> int
    Fl_event_original_key(*args)
    Fl_event_original_key() -> int
    Fl_event_shift(*args)
    Fl_event_shift() -> int
    Fl_event_state(*args)
    event_state() -> int
    Fl_event_state(int i) -> int
    Fl_event_text(*args)
    Fl_event_text() -> char
    Fl_event_x(*args)
    Fl_event_x() -> int
    Fl_event_x_root(*args)
    Fl_event_x_root() -> int
    Fl_event_y(*args)
    Fl_event_y() -> int
    Fl_event_y_root(*args)
    Fl_event_y_root() -> int
    Fl_first_window(*args)
    first_window() -> Fl_Window
    Fl_first_window(Fl_Window arg0)
    Fl_flush(*args)
    Fl_flush()
    Fl_focus(*args)
    focus() -> Fl_Widget
    Fl_focus(Fl_Widget arg0)
    Fl_foreground(*args)
    Fl_foreground(uchar arg0, uchar arg1, uchar arg2)
    Fl_free_color(*args)
    Fl_free_color(Fl_Color arg0, int overlay = 0)
    Fl_get_awake_handler_(*args)
    Fl_get_awake_handler_(Fl_Awake_Handler arg0, void arg1) -> int
    Fl_get_boxtype(*args)
    Fl_get_boxtype(Fl_Boxtype arg0) -> Fl_Box_Draw_F
    Fl_get_color(*args)
    Fl_get_color(Fl_Color arg0)
    Fl_get_font(*args)
    Fl_get_font(Fl_Font arg0) -> char
    Fl_get_font_name(*args)
    Fl_get_font_name(Fl_Font arg0, int attributes = None) -> char
    Fl_get_font_sizes(*args)
    Fl_get_font_sizes(Fl_Font arg0, int sizep) -> int
    Fl_get_key(*args)
    Fl_get_key(int arg0) -> int
    Fl_get_mouse(*args)
    Fl_get_mouse(int arg0, int arg1)
    Fl_get_system_colors(*args)
    Fl_get_system_colors()
    Fl_grab(*args)
    grab() -> Fl_Window
    Fl_grab(Fl_Window arg0)
    Fl_h(*args)
    Fl_h() -> int
    Fl_handle(*args)
    Fl_handle(int arg0, Fl_Window arg1) -> int
    Fl_has_idle(*args)
    Fl_has_idle(void cb, void arg1 = None) -> int
    Fl_has_timeout(*args)
    Fl_has_timeout(Fl_Timeout_Handler arg0, void arg1 = None) -> int
    Fl_lock(*args)
    Fl_lock()
    Fl_modal(*args)
    Fl_modal() -> Fl_Window
    Fl_mt_run(window)
    Fl_next_window(*args)
    Fl_next_window(Fl_Window arg0) -> Fl_Window
    Fl_own_colormap(*args)
    Fl_own_colormap()
    Fl_paste(*args)
    paste(Fl_Widget receiver, int clipboard)
    Fl_paste(Fl_Widget receiver)
    Fl_pushed(*args)
    pushed() -> Fl_Widget
    Fl_pushed(Fl_Widget arg0)
    Fl_readqueue(*args)
    Fl_readqueue() -> Fl_Widget
    Fl_ready(*args)
    Fl_ready() -> int
    Fl_redraw(*args)
    Fl_redraw()
    Fl_release(*args)
    Fl_release()
    Fl_release_widget_pointer(*args)
    Fl_release_widget_pointer(Fl_Widget w)
    Fl_reload_scheme(*args)
    Fl_reload_scheme() -> int
    Fl_remove_check(...)
    Fl_remove_fd(...)
    Fl_remove_handler(...)
    Fl_remove_idle(func, data=None)
    Fl_remove_timeout(...)
    Fl_repeat_timeout(...)
    Fl_run(*args)
    Fl_run() -> int
    Fl_scheme(*args)
    scheme(char arg0) -> int
    Fl_scheme() -> char
    Fl_screen_count(*args)
    Fl_screen_count() -> int
    Fl_screen_xywh(*args)
    screen_xywh(int X, int Y, int W, int H)
    screen_xywh(int X, int Y, int W, int H, int mx, int my)
    Fl_screen_xywh(int X, int Y, int W, int H, int n)
    Fl_scrollbar_size(*args)
    scrollbar_size() -> int
    Fl_scrollbar_size(int W)
    Fl_selection(*args)
    Fl_selection(Fl_Widget owner, char arg1, int len)
    Fl_selection_owner(*args)
    selection_owner() -> Fl_Widget
    Fl_selection_owner(Fl_Widget arg0)
    Fl_set_abort(*args)
    Fl_set_abort(void f)
    Fl_set_atclose(*args)
    Fl_set_atclose(void f)
    Fl_set_boxtype(*args)
    set_boxtype(Fl_Boxtype arg0, Fl_Box_Draw_F arg1, uchar arg2, uchar arg3, 
        uchar arg4, uchar arg5)
    Fl_set_boxtype(Fl_Boxtype arg0, Fl_Boxtype _from)
    Fl_set_color(*args)
    set_color(Fl_Color arg0, uchar arg1, uchar arg2, uchar arg3)
    Fl_set_color(Fl_Color arg0, unsigned int arg1)
    Fl_set_font(*args)
    set_font(Fl_Font arg0, char arg1)
    Fl_set_font(Fl_Font arg0, Fl_Font arg1)
    Fl_set_fonts(*args)
    Fl_set_fonts(char arg0 = None) -> Fl_Font
    Fl_set_labeltype(*args)
    Fl_set_labeltype(Fl_Labeltype arg0, Fl_Label_Draw_F arg1, Fl_Label_Measure_F arg2)
    Fl_swigregister(...)
    Fl_test_shortcut(*args)
    Fl_test_shortcut(int arg0) -> int
    Fl_thread_message(*args)
    Fl_thread_message()
    Fl_unlock(*args)
    Fl_unlock()
    Fl_version(*args)
    Fl_version() -> double
    Fl_visible_focus(*args)
    visible_focus(int v)
    Fl_visible_focus() -> int
    Fl_visual(*args)
    Fl_visual(int arg0) -> int
    Fl_w(*args)
    Fl_w() -> int
    Fl_wait(*args)
    wait() -> int
    Fl_wait(double time) -> double
    Fl_watch_widget_pointer(*args)
    Fl_watch_widget_pointer(Fl_Widget w)
    Fl_x(*args)
    Fl_x() -> int
    Fl_y(*args)
    Fl_y() -> int
    Flcc_HueBox_swigregister(...)
    Flcc_ValueBox_swigregister(...)
    Flcc_Value_Input_swigregister(...)
    ListSelect_swigregister(...)
    Style_Table_Entry_swigregister(...)
    downCB(*args)
    downCB(Fl_Widget v, void arg1)
    fl_add_symbol(*args)
    fl_add_symbol(char name, void drawit, int scalable) -> int
    fl_alert(*args)
    fl_alert(char arg0, v(...) *args)
    fl_arc(*args)
    fl_arc(int x, int y, int w, int h, double a1, double a2)
    fl_arc(double x, double y, double r, double start, double a)
    fl_ask(*args)
    fl_ask(char arg0, v(...) *args) -> int
    fl_beep(*args)
    fl_beep(int type = FL_BEEP_DEFAULT)
    fl_begin_complex_polygon(*args)
    fl_begin_complex_polygon()
    fl_begin_line(*args)
    fl_begin_line()
    fl_begin_loop(*args)
    fl_begin_loop()
    fl_begin_points(*args)
    fl_begin_points()
    fl_begin_polygon(*args)
    fl_begin_polygon()
    fl_box(*args)
    fl_box(Fl_Boxtype b) -> Fl_Boxtype
    fl_can_do_alpha_blending(*args)
    fl_can_do_alpha_blending() -> char
    fl_cancel_get(*args)
    fl_cancel_get() -> char
    fl_cancel_set(*args)
    fl_cancel_set(char value)
    fl_choice(*args)
    fl_choice(char q, char b0, char b1, char b2, v(...) *args) -> int
    fl_circle(*args)
    fl_circle(double x, double y, double r)
    fl_clip_box(*args)
    fl_clip_box(int arg0, int arg1, int arg2, int arg3) -> int
    fl_close_get(*args)
    fl_close_get() -> char
    fl_close_set(*args)
    fl_close_set(char value)
    fl_color(*args)
    fl_color(Fl_Color arg0)
    fl_color(uchar arg0, uchar arg1, uchar arg2)
    fl_color() -> Fl_Color
    fl_color_average(*args)
    fl_color_average(Fl_Color c1, Fl_Color c2, float weight) -> Fl_Color
    fl_color_chooser(*args)
    fl_color_chooser(char name, uchar r, uchar g, uchar b) -> int
    fl_color_cube(*args)
    fl_color_cube(int r, int g, int b) -> Fl_Color
    fl_contrast(*args)
    fl_contrast(Fl_Color fg, Fl_Color bg) -> Fl_Color
    fl_cursor(*args)
    fl_cursor(Fl_Cursor arg0, Fl_Color arg1 = FL_BLACK, Fl_Color arg2 = FL_WHITE)
    fl_curve(*args)
    fl_curve(double arg0, double arg1, double arg2, double arg3, 
        double arg4, double arg5, double arg6, double arg7)
    fl_darker(*args)
    fl_darker(Fl_Color c) -> Fl_Color
    fl_define_FL_DIAMOND_BOX(*args)
    fl_define_FL_DIAMOND_BOX() -> Fl_Boxtype
    fl_define_FL_EMBOSSED_LABEL(*args)
    fl_define_FL_EMBOSSED_LABEL() -> Fl_Labeltype
    fl_define_FL_ENGRAVED_LABEL(*args)
    fl_define_FL_ENGRAVED_LABEL() -> Fl_Labeltype
    fl_define_FL_GTK_UP_BOX(*args)
    fl_define_FL_GTK_UP_BOX() -> Fl_Boxtype
    fl_define_FL_OVAL_BOX(*args)
    fl_define_FL_OVAL_BOX() -> Fl_Boxtype
    fl_define_FL_PLASTIC_UP_BOX(*args)
    fl_define_FL_PLASTIC_UP_BOX() -> Fl_Boxtype
    fl_define_FL_RFLAT_BOX(*args)
    fl_define_FL_RFLAT_BOX() -> Fl_Boxtype
    fl_define_FL_ROUNDED_BOX(*args)
    fl_define_FL_ROUNDED_BOX() -> Fl_Boxtype
    fl_define_FL_ROUND_UP_BOX(*args)
    fl_define_FL_ROUND_UP_BOX() -> Fl_Boxtype
    fl_define_FL_RSHADOW_BOX(*args)
    fl_define_FL_RSHADOW_BOX() -> Fl_Boxtype
    fl_define_FL_SHADOW_BOX(*args)
    fl_define_FL_SHADOW_BOX() -> Fl_Boxtype
    fl_define_FL_SHADOW_LABEL(*args)
    fl_define_FL_SHADOW_LABEL() -> Fl_Labeltype
    fl_descent(*args)
    fl_descent() -> int
    fl_dir_chooser(*args)
    fl_dir_chooser(char message, char fname, int relative = 0) -> char
    fl_down(*args)
    fl_down(Fl_Boxtype b) -> Fl_Boxtype
    fl_draw(*args)
    fl_draw(char arg0, int x, int y)
    fl_draw(char arg0, int n, int x, int y)
    fl_draw(char arg0, int arg1, int arg2, int arg3, int arg4, 
        Fl_Align arg5, Fl_Image img = None, int draw_symbols = 1)
    fl_draw(char arg0, int arg1, int arg2, int arg3, int arg4, 
        Fl_Align arg5, void callthis, Fl_Image img = None, 
        int draw_symbols = 1)
    fl_draw_box(*args)
    fl_draw_box(Fl_Boxtype arg0, int x, int y, int w, int h, Fl_Color arg5)
    fl_draw_image(*args)
    fl_draw_image(uchar arg0, int arg1, int arg2, int arg3, int arg4, 
        int delta = 3, int ldelta = 0)
    fl_draw_image_mono(*args)
    fl_draw_image_mono(uchar arg0, int arg1, int arg2, int arg3, int arg4, 
        int delta = 1, int ld = 0)
    fl_draw_pixmap(*args)
    fl_draw_pixmap(char data, int x, int y, Fl_Color arg3 = FL_BACKGROUND_COLOR) -> int
    fl_draw_symbol(*args)
    fl_draw_symbol(char label, int x, int y, int w, int h, Fl_Color arg5) -> int
    fl_end_complex_polygon(*args)
    fl_end_complex_polygon()
    fl_end_line(*args)
    fl_end_line()
    fl_end_loop(*args)
    fl_end_loop()
    fl_end_points(*args)
    fl_end_points()
    fl_end_polygon(*args)
    fl_end_polygon()
    fl_file_chooser(*args)
    fl_file_chooser(char message, char pat, char fname, int relative = 0) -> char
    fl_file_chooser_callback(*args)
    fl_file_chooser_callback(void cb)
    fl_file_chooser_ok_label(*args)
    fl_file_chooser_ok_label(char l)
    fl_filename_absolute(*args)
    fl_filename_absolute(char to, int tolen, char _from) -> int
    fl_filename_absolute(char to, char _from) -> int
    fl_filename_expand(*args)
    fl_filename_expand(char to, int tolen, char _from) -> int
    fl_filename_expand(char to, char _from) -> int
    fl_filename_ext(*args)
    fl_filename_ext(char arg0) -> char
    fl_filename_isdir(*args)
    fl_filename_isdir(char name) -> int
    fl_filename_match(*args)
    fl_filename_match(char name, char pattern) -> int
    fl_filename_name(*args)
    fl_filename_name(char arg0) -> char
    fl_filename_relative(*args)
    fl_filename_relative(char to, int tolen, char _from) -> int
    fl_filename_relative(char to, char _from) -> int
    fl_filename_setext(*args)
    fl_filename_setext(char to, int tolen, char ext) -> char
    fl_filename_setext(char to, char ext) -> char
    fl_font(*args)
    fl_font(int face, int size)
    fl_font() -> int
    fl_frame(*args)
    fl_frame(Fl_Boxtype b) -> Fl_Boxtype
    fl_frame(char s, int x, int y, int w, int h)
    fl_frame2(*args)
    fl_frame2(char s, int x, int y, int w, int h)
    fl_gap(*args)
    fl_gap()
    fl_gray_ramp(*args)
    fl_gray_ramp(int i) -> Fl_Color
    fl_height(*args)
    fl_height() -> int
    fl_height(int arg0, int size) -> int
    fl_inactive(*args)
    fl_inactive(Fl_Color c) -> Fl_Color
    fl_input(*args)
    fl_input(char label, char deflt = None) -> char
    fl_latin1_to_local(*args)
    fl_latin1_to_local(char arg0, int n = -1) -> char
    fl_lighter(*args)
    fl_lighter(Fl_Color c) -> Fl_Color
    fl_line(*args)
    fl_line(int arg0, int arg1, int arg2, int arg3)
    fl_line(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
    fl_line_style(*args)
    fl_line_style(int style, int width = 0, char dashes = None)
    fl_local_to_latin1(*args)
    fl_local_to_latin1(char arg0, int n = -1) -> char
    fl_local_to_mac_roman(*args)
    fl_local_to_mac_roman(char arg0, int n = -1) -> char
    fl_loop(*args)
    fl_loop(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
    fl_loop(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, 
        int arg6, int arg7)
    fl_mac_roman_to_local(*args)
    fl_mac_roman_to_local(char arg0, int n = -1) -> char
    fl_measure(*args)
    fl_measure(char arg0, int draw_symbols = 1)
    fl_measure_pixmap(*args)
    fl_measure_pixmap(char data) -> int
    fl_message(*args)
    fl_message(char arg0, v(...) *args)
    fl_message_font(*args)
    fl_message_font(unsigned char f, unsigned char s)
    fl_message_icon(*args)
    fl_message_icon() -> Fl_Widget
    fl_mt_alert(*args)
    fl_mt_alert(char text)
    fl_mt_ask(*args)
    fl_mt_ask(char text) -> int
    fl_mt_choice(*args)
    fl_mt_choice(char q, char b0, char b1, char b2) -> int
    fl_mt_input(*args)
    fl_mt_input(char label, char deflt = None) -> char
    fl_mt_message(*args)
    fl_mt_message(char text)
    fl_mt_password(*args)
    fl_mt_password(char label, char deflt = None) -> char
    fl_mult_matrix(*args)
    fl_mult_matrix(double a, double b, double c, double d, double x, double y)
    fl_no_get(*args)
    fl_no_get() -> char
    fl_no_set(*args)
    fl_no_set(char value)
    fl_not_clipped(*args)
    fl_not_clipped(int x, int y, int w, int h) -> int
    fl_ok_get(*args)
    fl_ok_get() -> char
    fl_ok_set(*args)
    fl_ok_set(char value)
    fl_old_shortcut(*args)
    fl_old_shortcut(char arg0) -> int
    fl_open_uri(*args)
    fl_open_uri(char uri, char msg = (char *) 0, int msglen = 0) -> int
    fl_overlay_clear(*args)
    fl_overlay_clear()
    fl_overlay_rect(*args)
    fl_overlay_rect(int arg0, int arg1, int arg2, int arg3)
    fl_password(*args)
    fl_password(char label, char deflt = None) -> char
    fl_pie(*args)
    fl_pie(int x, int y, int w, int h, double a1, double a2)
    fl_point(*args)
    fl_point(int x, int y)
    fl_polygon(*args)
    fl_polygon(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
    fl_polygon(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, 
        int arg6, int arg7)
    fl_pop_clip(*args)
    fl_pop_clip()
    fl_pop_matrix(*args)
    fl_pop_matrix()
    fl_push_clip(*args)
    fl_push_clip(int x, int y, int w, int h)
    fl_push_matrix(*args)
    fl_push_matrix()
    fl_push_no_clip(*args)
    fl_push_no_clip()
    fl_rect(*args)
    fl_rect(int x, int y, int w, int h)
    fl_rect(int x, int y, int w, int h, Fl_Color c)
    fl_rectf(*args)
    fl_rectf(int x, int y, int w, int h)
    fl_rectf(int x, int y, int w, int h, Fl_Color c)
    fl_rectf(int x, int y, int w, int h, uchar r, uchar g, uchar b)
    fl_register_images(*args)
    fl_register_images()
    fl_rgb_color(*args)
    fl_rgb_color(uchar r, uchar g, uchar b) -> Fl_Color
    fl_rgb_color(uchar g) -> Fl_Color
    fl_rotate(*args)
    fl_rotate(double d)
    fl_scale(*args)
    fl_scale(double x, double y)
    fl_scale(double x)
    fl_scroll(*args)
    fl_scroll(int X, int Y, int W, int H, int dx, int dy, void draw_area, 
        void data)
    fl_shortcut_label(*args)
    fl_shortcut_label(int arg0) -> char
    fl_show_colormap(*args)
    fl_show_colormap(Fl_Color oldcol) -> Fl_Color
    fl_size(*args)
    fl_size() -> int
    fl_transform_dx(*args)
    fl_transform_dx(double x, double y) -> double
    fl_transform_dy(*args)
    fl_transform_dy(double x, double y) -> double
    fl_transform_x(*args)
    fl_transform_x(double x, double y) -> double
    fl_transform_y(*args)
    fl_transform_y(double x, double y) -> double
    fl_transformed_vertex(*args)
    fl_transformed_vertex(double x, double y)
    fl_translate(*args)
    fl_translate(double x, double y)
    fl_vertex(*args)
    fl_vertex(double x, double y)
    fl_width(*args)
    fl_width(char arg0) -> double
    fl_width(char arg0, int n) -> double
    fl_width(uchar arg0) -> double
    fl_xid(*args)
    fl_xid(Fl_Window w) -> int
    fl_xyline(*args)
    fl_xyline(int x, int y, int x1)
    fl_xyline(int x, int y, int x1, int y2)
    fl_xyline(int x, int y, int x1, int y2, int x3)
    fl_yes_get(*args)
    fl_yes_get() -> char
    fl_yes_set(*args)
    fl_yes_set(char value)
    fl_yxline(*args)
    fl_yxline(int x, int y, int y1)
    fl_yxline(int x, int y, int y1, int x2)
    fl_yxline(int x, int y, int y1, int x2, int y3)
    glBegin(*args)
    glBegin(int mode)
    glClear(*args)
    glClear(int mask)
    glColor3f(*args)
    glColor3f(float red, float green, float blue)
    glEnd(*args)
    glEnd()
    glLoadIdentity(*args)
    glLoadIdentity()
    glVertex3f(*args)
    glVertex3f(float x, float y, float z)
    glViewport(*args)
    glViewport(int x, int y, int width, int height)
    gl_color(*args)
    gl_color(Fl_Color arg0)
    gl_color(int c)
    gl_descent(*args)
    gl_descent() -> int
    gl_draw(*args)
    gl_draw(char arg0)
    gl_draw(char arg0, int n)
    gl_draw(char arg0, int x, int y)
    gl_draw(char arg0, float x, float y)
    gl_draw(char arg0, int n, int x, int y)
    gl_draw(char arg0, int n, float x, float y)
    gl_draw(char arg0, int x, int y, int w, int h, Fl_Align arg5)
    gl_draw_image(*args)
    gl_draw_image(uchar arg0, int x, int y, int w, int h, int d = 3, 
        int ld = 0)
    gl_finish(*args)
    gl_finish()
    gl_font(*args)
    gl_font(int fontid, int size)
    gl_height(*args)
    gl_height() -> int
    gl_measure(*args)
    gl_measure(char arg0)
    gl_rect(*args)
    gl_rect(int x, int y, int w, int h)
    gl_rectf(*args)
    gl_rectf(int x, int y, int w, int h)
    gl_start(*args)
    gl_start()
    gl_width(*args)
    gl_width(char arg0) -> double
    gl_width(char arg0, int n) -> double
    gl_width(uchar arg0) -> double
    pyFLTK_controlIdleCallbacks(*args)
    pyFLTK_controlIdleCallbacks(int enable)
    pyFLTK_doIdleCallbacks()
    pyFLTK_registerDoIdle(...)
    setMenu(...)
    toggleCB(*args)
    toggleCB(Fl_Widget v, void arg1)
    upCB(*args)
    upCB(Fl_Widget v, void arg1)
    weakref_proxy = proxy(...)
    proxy(object[, callback]) -- create a proxy object that weakly
    references 'object'.  'callback', if given, is called with a
    reference to the proxy when 'object' is about to be finalized.

     
    Data
            FL_ACCUM = 4
    FL_ACTIVATE = 14
    FL_ALIGN_BOTTOM = 2
    FL_ALIGN_BOTTOM_LEFT = 6
    FL_ALIGN_BOTTOM_RIGHT = 10
    FL_ALIGN_CENTER = 0
    FL_ALIGN_CLIP = 64
    FL_ALIGN_IMAGE_OVER_TEXT = 0
    FL_ALIGN_INSIDE = 16
    FL_ALIGN_LEFT = 4
    FL_ALIGN_LEFT_BOTTOM = 6
    FL_ALIGN_LEFT_TOP = 5
    FL_ALIGN_NOWRAP = 0
    FL_ALIGN_RIGHT = 8
    FL_ALIGN_RIGHT_BOTTOM = 10
    FL_ALIGN_RIGHT_TOP = 9
    FL_ALIGN_TEXT_OVER_IMAGE = 32
    FL_ALIGN_TOP = 1
    FL_ALIGN_TOP_LEFT = 5
    FL_ALIGN_TOP_RIGHT = 9
    FL_ALIGN_WRAP = 128
    FL_ALL_FREE = 5
    FL_ALPHA = 8
    FL_ALPHASORT = 0
    FL_ALT = 524288
    FL_ANALOG_CLOCK = 0
    FL_Alt_L = 65513
    FL_Alt_R = 65514
    FL_BACKGROUND2_COLOR = 7
    FL_BACKGROUND_COLOR = 49
    FL_BAR_CHART = 0
    FL_BEEP_DEFAULT = 0
    FL_BEEP_ERROR = 2
    FL_BEEP_MESSAGE = 1
    FL_BEEP_NOTIFICATION = 5
    FL_BEEP_PASSWORD = 4
    FL_BEEP_QUESTION = 3
    FL_BLACK = 56
    FL_BLUE = 216
    FL_BOLD = 1
    FL_BORDER_BOX = 14
    FL_BORDER_FRAME = 16
    FL_BUTTON1 = 16777216
    FL_BUTTON2 = 33554432
    FL_BUTTON3 = 67108864
    FL_BUTTONS = 2130706432
    FL_BackSpace = 65288
    FL_Button = 65256
    FL_CAPS_LOCK = 131072
    FL_CAP_FLAT = 256
    FL_CAP_ROUND = 512
    FL_CAP_SQUARE = 768
    FL_CASEALPHASORT = 1
    FL_CASENUMERICSORT = 2
    FL_CHART_LABEL_MAX = 18
    FL_CHART_MAX = 128
    FL_CLOSE = 10
    FL_COLOR_CUBE = 56
    FL_COMMAND = 262144
    FL_CONTINUOUS_FREE = 4
    FL_COURIER = 4
    FL_COURIER_BOLD = 5
    FL_COURIER_BOLD_ITALIC = 7
    FL_COURIER_ITALIC = 6
    FL_CTRL = 262144
    FL_CURSOR_ARROW = 35
    FL_CURSOR_CROSS = 66
    FL_CURSOR_DEFAULT = 0
    FL_CURSOR_E = 49
    FL_CURSOR_HAND = 31
    FL_CURSOR_HELP = 47
    FL_CURSOR_INSERT = 77
    FL_CURSOR_MOVE = 27
    FL_CURSOR_N = 70
    FL_CURSOR_NE = 69
    FL_CURSOR_NESW = 81
    FL_CURSOR_NONE = 255
    FL_CURSOR_NS = 78
    FL_CURSOR_NW = 68
    FL_CURSOR_NWSE = 80
    FL_CURSOR_S = 9
    FL_CURSOR_SE = 8
    FL_CURSOR_SW = 7
    FL_CURSOR_W = 36
    FL_CURSOR_WAIT = 76
    FL_CURSOR_WE = 79
    FL_CYAN = 223
    FL_Caps_Lock = 65509
    FL_Control_L = 65507
    FL_Control_R = 65508
    FL_DAMAGE_ALL = 128
    FL_DAMAGE_CHILD = 1
    FL_DAMAGE_EXPOSE = 2
    FL_DAMAGE_OVERLAY = 8
    FL_DAMAGE_SCROLL = 4
    FL_DAMAGE_USER1 = 16
    FL_DAMAGE_USER2 = 32
    FL_DARK1 = 47
    FL_DARK2 = 45
    FL_DARK3 = 39
    FL_DARK_BLUE = 136
    FL_DARK_CYAN = 140
    FL_DARK_GREEN = 60
    FL_DARK_MAGENTA = 152
    FL_DARK_RED = 72
    FL_DARK_YELLOW = 76
    FL_DASH = 1
    FL_DASHDOT = 3
    FL_DASHDOTDOT = 4
    FL_DEACTIVATE = 13
    FL_DEPTH = 16
    FL_DIAMOND_DOWN_BOX = 25
    FL_DIAMOND_UP_BOX = 24
    FL_DIGITAL_CLOCK = 0
    FL_DND_DRAG = 21
    FL_DND_ENTER = 20
    FL_DND_LEAVE = 22
    FL_DND_RELEASE = 23
    FL_DOT = 2
    FL_DOUBLE = 2
    FL_DOUBLE_WINDOW = 241
    FL_DOWN_BOX = 3
    FL_DOWN_FRAME = 5
    FL_DRAG = 5
    FL_DRAW = 100
    FL_Delete = 65535
    FL_Down = 65364
    FL_EMBOSSED_BOX = 11
    FL_EMBOSSED_FRAME = 13
    FL_EMBOSSED_LABEL = 4
    FL_ENGRAVED_BOX = 10
    FL_ENGRAVED_FRAME = 12
    FL_ENGRAVED_LABEL = 3
    FL_ENTER = 3
    FL_EXCEPT = 8
    FL_End = 65367
    FL_Enter = 65293
    FL_Escape = 65307
    FL_F = 65469
    FL_FAKE_SINGLE = 512
    FL_FILLED_CHART = 3
    FL_FILL_CHART = 3
    FL_FILL_DIAL = 2
    FL_FLAT_BOX = 1
    FL_FLOAT_INPUT = 1
    FL_FOCUS = 6
    FL_FOREGROUND_COLOR = 0
    FL_FREEMEM = 102
    FL_FREEZE = 103
    FL_FREE_BOXTYPE = 48
    FL_FREE_COLOR = 16
    FL_FREE_FONT = 16
    FL_FREE_LABELTYPE = 8
    FL_F_Last = 65504
    FL_GRAY = 49
    FL_GRAY0 = 32
    FL_GRAY_RAMP = 32
    FL_GREEN = 63
    FL_GTK_DOWN_BOX = 39
    FL_GTK_DOWN_FRAME = 41
    FL_GTK_ROUND_DOWN_BOX = 47
    FL_GTK_ROUND_UP_BOX = 46
    FL_GTK_THIN_DOWN_BOX = 43
    FL_GTK_THIN_DOWN_FRAME = 45
    FL_GTK_THIN_UP_BOX = 42
    FL_GTK_THIN_UP_FRAME = 44
    FL_GTK_UP_BOX = 38
    FL_GTK_UP_FRAME = 40
    FL_HELVETICA = 0
    FL_HELVETICA_BOLD = 1
    FL_HELVETICA_BOLD_ITALIC = 3
    FL_HELVETICA_ITALIC = 2
    FL_HIDDEN_BUTTON = 3
    FL_HIDDEN_INPUT = 3
    FL_HIDDEN_TIMER = 2
    FL_HIDE = 15
    FL_HOLD_BROWSER = 2
    FL_HORBAR_CHART = 1
    FL_HORIZONTAL = 1
    FL_HOR_FILL_SLIDER = 3
    FL_HOR_NICE_SLIDER = 5
    FL_HOR_SLIDER = 1
    FL_Help = 65384
    FL_Home = 65360
    FL_IMAGE_WITH_ALPHA = 1073741824
    FL_INACTIVE_COLOR = 8
    FL_INDEX = 1
    FL_INPUT_FREE = 3
    FL_INPUT_READONLY = 8
    FL_INPUT_TYPE = 7
    FL_INPUT_WRAP = 16
    FL_INT_INPUT = 2
    FL_ITALIC = 2
    FL_Insert = 65379
    FL_JOIN_BEVEL = 12288
    FL_JOIN_MITER = 4096
    FL_JOIN_ROUND = 8192
    FL_KEYBOARD = 8
    FL_KEYDOWN = 8
    FL_KEYUP = 9
    FL_KP = 65408
    FL_KP_Enter = 65421
    FL_KP_Last = 65469
    FL_LEAVE = 4
    FL_LEFT_MOUSE = 1
    FL_LIGHT1 = 50
    FL_LIGHT2 = 52
    FL_LIGHT3 = 54
    FL_LINE_CHART = 2
    FL_LINE_DIAL = 1
    FL_Left = 65361
    FL_MAGENTA = 248
    FL_MAJOR_VERSION = 1
    FL_MENU_BOX = 2
    FL_MENU_CHECK = 4
    FL_MENU_DIVIDER = 128
    FL_MENU_HORIZONTAL = 256
    FL_MENU_INACTIVE = 1
    FL_MENU_INVISIBLE = 16
    FL_MENU_RADIO = 8
    FL_MENU_TOGGLE = 2
    FL_MENU_VALUE = 4
    FL_META = 4194304
    FL_MIDDLE_MOUSE = 2
    FL_MINOR_VERSION = 1
    FL_MOUSEWHEEL = 19
    FL_MOVE = 11
    FL_MULTILINE_INPUT = 4
    FL_MULTILINE_INPUT_WRAP = 20
    FL_MULTILINE_OUTPUT = 12
    FL_MULTILINE_OUTPUT_WRAP = 28
    FL_MULTISAMPLE = 128
    FL_MULTI_BROWSER = 3
    FL_Menu = 65383
    FL_Meta_L = 65511
    FL_Meta_R = 65512
    FL_NORMAL_BROWSER = 0
    FL_NORMAL_BUTTON = 0
    FL_NORMAL_COUNTER = 0
    FL_NORMAL_DIAL = 0
    FL_NORMAL_FREE = 1
    FL_NORMAL_INPUT = 0
    FL_NORMAL_LABEL = 0
    FL_NORMAL_OUTPUT = 8
    FL_NORMAL_TIMER = 0
    FL_NO_BOX = 0
    FL_NO_EVENT = 0
    FL_NO_LABEL = 1
    FL_NUMERICSORT = 3
    FL_NUM_BLUE = 5
    FL_NUM_FREE_COLOR = 16
    FL_NUM_GRAY = 24
    FL_NUM_GREEN = 8
    FL_NUM_LOCK = 1048576
    FL_NUM_RED = 5
    FL_Num_Lock = 65407
    FL_OFLAT_BOX = 29
    FL_OSHADOW_BOX = 27
    FL_OVAL_BOX = 26
    FL_OVAL_FRAME = 28
    FL_PASTE = 17
    FL_PATCH_VERSION = 9
    FL_PATH_MAX = 256
    FL_PIE_CHART = 5
    FL_PLASTIC_DOWN_BOX = 31
    FL_PLASTIC_DOWN_FRAME = 33
    FL_PLASTIC_ROUND_DOWN_BOX = 37
    FL_PLASTIC_ROUND_UP_BOX = 36
    FL_PLASTIC_THIN_DOWN_BOX = 35
    FL_PLASTIC_THIN_UP_BOX = 34
    FL_PLASTIC_UP_BOX = 30
    FL_PLASTIC_UP_FRAME = 32
    FL_PUP_BOX = 2
    FL_PUP_CHECK = 4
    FL_PUP_GRAY = 1
    FL_PUP_GREY = 1
    FL_PUP_INVISIBLE = 16
    FL_PUP_NONE = 0
    FL_PUP_RADIO = 8
    FL_PUP_SUBMENU = 32
    FL_PUSH = 1
    FL_Page_Down = 65366
    FL_Page_Up = 65365
    FL_Pause = 65299
    FL_Print = 65377
    FL_RADIO_BUTTON = 102
    FL_READ = 1
    FL_RED = 88
    FL_RELEASE = 2
    FL_RESERVED_TYPE = 100
    FL_RFLAT_BOX = 21
    FL_RGB = 0
    FL_RGB8 = 64
    FL_RIGHT_MOUSE = 3
    FL_ROUNDED_BOX = 18
    FL_ROUNDED_FRAME = 20
    FL_ROUND_CLOCK = 1
    FL_ROUND_DOWN_BOX = 23
    FL_ROUND_UP_BOX = 22
    FL_RSHADOW_BOX = 19
    FL_Right = 65363
    FL_SCREEN = 13
    FL_SCREEN_BOLD = 14
    FL_SCROLL_LOCK = 8388608
    FL_SECRET_INPUT = 5
    FL_SELECTIONCLEAR = 18
    FL_SELECTION_COLOR = 15
    FL_SELECT_BROWSER = 1
    FL_SHADOW_BOX = 15
    FL_SHADOW_FRAME = 17
    FL_SHADOW_LABEL = 2
    FL_SHIFT = 65536
    FL_SHORTCUT = 12
    FL_SHOW = 16
    FL_SIMPLE_COUNTER = 1
    FL_SINGLE = 0
    FL_SLEEPING_FREE = 2
    FL_SOLID = 0
    FL_SPECIALPIE_CHART = 6
    FL_SPIKE_CHART = 4
    FL_SQUARE_CLOCK = 0
    FL_STENCIL = 32
    FL_STEP = 101
    FL_STEREO = 256
    FL_SUBMENU = 64
    FL_SUBMENU_POINTER = 32
    FL_SYMBOL = 12
    FL_SYMBOL_LABEL = 0
    FL_Scroll_Lock = 65300
    FL_Shift_L = 65505
    FL_Shift_R = 65506
    FL_TEXT_EDITOR_ANY_STATE = -1
    FL_TEXT_MAX_EXP_CHAR_LEN = 20
    FL_THAW = 104
    FL_THIN_DOWN_BOX = 7
    FL_THIN_DOWN_FRAME = 9
    FL_THIN_UP_BOX = 6
    FL_THIN_UP_FRAME = 8
    FL_TIMES = 8
    FL_TIMES_BOLD = 9
    FL_TIMES_BOLD_ITALIC = 11
    FL_TIMES_ITALIC = 10
    FL_TOGGLE_BUTTON = 1
    FL_Tab = 65289
    FL_UNFOCUS = 7
    FL_UP_BOX = 2
    FL_UP_FRAME = 4
    FL_Up = 65362
    FL_VALUE_TIMER = 1
    FL_VERTICAL = 0
    FL_VERT_FILL_SLIDER = 2
    FL_VERT_NICE_SLIDER = 4
    FL_VERT_SLIDER = 0
    FL_WHEN_CHANGED = 1
    FL_WHEN_ENTER_KEY = 8
    FL_WHEN_ENTER_KEY_ALWAYS = 10
    FL_WHEN_ENTER_KEY_CHANGED = 11
    FL_WHEN_NEVER = 0
    FL_WHEN_NOT_CHANGED = 2
    FL_WHEN_RELEASE = 4
    FL_WHEN_RELEASE_ALWAYS = 6
    FL_WHITE = 255
    FL_WINDOW = 240
    FL_WRITE = 4
    FL_YELLOW = 95
    FL_ZAPF_DINGBATS = 15
    M_1_PI = 0.31830988618379069
    M_2_PI = 0.63661977236758138
    M_PI = 3.1415926535897931
    M_PI_2 = 1.5707963267948966
    M_PI_4 = 0.78539816339744828
    M_SQRT1_2 = 0.70710678118654757
    M_SQRT2 = 1.4142135623730951
    pyFltk-1.3.0/fltk/docs/CH0_Preface.html0000644000175100017510000000730411651413735016167 0ustar heldheld pyFLTK 1.1.4 Programming Manual

    Preface

    This manual describes the Python wrappers for the Fast Light Tool Kit ("pyFLTK") version 1.1.2, a Python Graphical User Interface ("GUI") toolkit for UNIX, Microsoft Windows and MacOS. Each of the chapters in this manual is designed as a tutorial for using pyFLTK, while the appendices provide a convenient reference for all pyFLTK widgets, functions, and operating system interfaces.

    This manual may be printed, modified, and/or used under the terms of the FLTK/pyFLTK license provided in Appendix H.

    Organization

    This manual is organized into the following chapters and appendices:

    Yet to come:

    Conventions

    The following typeface conventions are used in this manual:

    • Function and constant names are shown in bold courier type
    • Code samples and commands are shown in regular courier type

    Abbreviations

    The following abbreviations are used in this manual:

    X11
    The X Window System version 11.
    Xlib
    The X Window System interface library.
    WIN32
    The Microsoft Windows 32-bit Application Programmer's Interface.
    MacOS
    The Apple Macintosh OS 8.6 and later, including OS X.

    Copyrights and Trademarks

    FLTK is Copyright 1998-2006 by Bill Spitzak and others. Use and distribution of FLTK is governed by the GNU Library General Public License, located in Appendix H.

    pyFLTK copyright 2003-2006 by Andreas Held and others. Use and distribution of pyFLTK is governed by the GNU Library General Public License, located in Appendix H.

    UNIX is a registered trademark of the X Open Group, Inc. Microsoft and Windows are registered trademarks of Microsoft Corporation. OpenGL is a registered trademark of Silicon Graphics, Inc. Apple, Macintosh, MacOS, and Mac OS X are registered trademarks of Apple Computer, Inc.

    pyFltk-1.3.0/fltk/docs/CH2_Basics.html0000644000175100017510000001704511651413735016033 0ustar heldheld

    2 pyFLTK Basics

    This chapter teaches you the basics of writing Python scripts that use pyFLTK.

    Writing Your First pyFLTK Script

    All scripts must import fltk: from fltk import *. Listing 1 shows a simple "Hello, World!" program that uses pyFLTK to display the window.

      Listing 1 - "hello.py"

      from fltk import *
      import sys
      
      window = Fl_Window(300,180)
      box = Fl_Box(20,40,260,100,"Hello, World!")
      box.box(FL_UP_BOX)
      box.labelsize(36)
      box.labelfont(FL_BOLD+FL_ITALIC)
      box.labeltype(FL_SHADOW_LABEL)
      window.end()
      window.show(sys.argv)
      Fl.run()
      

    After running python hello.py, the program first creates a window:

      window = Fl_Window(300,180)
      

    and a box with the "Hello, World!" string in it:

      box = Fl_Box(20,40,260,100,"Hello, World!")
      

    Next, we set the type of box and the size, font, and style of the label:

      box.box(FL_UP_BOX)
      box.labelsize(36)
      box.labelfont(FL_BOLD+FL_ITALIC)
      box.labeltype(FL_SHADOW_LABEL)
      

    Finally, we show the window and enter the FLTK event loop:

      window.end()
      window.show(sys.argv)
      Fl.run()
      

    The resulting program will display the window in Figure 2-1. You can quit the program by closing the window or pressing the ESCape key.

    Hello, World! Window
    Figure 2-1: The Hello, World! Window

    Creating the Widgets

    The widgets are created using a normal Python constructor. For most widgets the arguments to the constructor are:

      Fl_Widget(x, y, width, height, label)
      

    The x and y parameters determine where the widget or window is placed on the screen. In pyFLTK the top left corner of the window or screen is the origin (i.e. x = 0, y = 0) and the units are in pixels.

    The width and height parameters determine the size of the widget or window in pixels. The maximum widget size is typically governed by the underlying window system or hardware.

    label is a character string to label the widget with or None. If not specified the label defaults to None. The label string must keep an external reference, because pyFLTK does not increase its reference count.

    Get/Set Methods

    box.box(FL_UP_BOX) sets the type of box the Fl_Box draws, changing it from the default of FL_NO_BOX, which means that no box is drawn. In our "Hello, World!" example we use FL_UP_BOX, which means that a raised button border will be drawn around the widget. You can learn more about boxtypes in Chapter 3.

    You could examine the boxtype in by doing box.box(). pyFLTK uses method name overloading to make short names for get/set methods.

    Redrawing After Changing Attributes

    Almost all of the set/get pairs are very fast, short functions and thus very efficient. However, the "set" methods do not call redraw() - you have to call it yourself. This greatly reduces code size and execution time. The only common exceptions are value() which calls redraw() and label() which calls redraw_label() if necessary.

    Labels

    All widgets support labels. In the case of window widgets, the label is used for the label in the title bar. Our example program calls the labelfont, labelsize, and labeltype methods.

    The labelfont method sets the typeface and style that is used for the label, which for this example we are using FL_BOLD and FL_ITALIC. You can also specify typefaces directly.

    The labelsize method sets the height of the font in pixels.

    The labeltype method sets the type of label. FLTK supports normal, embossed, and shadowed labels internally, and more types can be added as desired.

    A complete list of all label options can be found in Chapter 3.

    Showing the Window

    The show() method shows the widget or window. For windows you can also provide the command-line arguments to allow users to customize the appearance, size, and position of your windows.

    The Main Event Loop

    All pyFLTK applications (and most GUI applications in general) are based on a simple event processing model. User actions such as mouse movement, button clicks, and keyboard activity generate events that are sent to an application. The application may then ignore the events or respond to the user, typically by redrawing a button in the "down" position, adding the text to an input field, and so forth.

    pyFLTK also supports idle, timer, and file pseudo-events that cause a function to be called when they occur. Idle functions are called when no user input is present and no timers or files need to be handled - in short, when the application is not doing anything. Idle callbacks are often used to update a 3D display or do other background processing.

    Timer functions are called after a specific amount of time has expired. They can be used to pop up a progress dialog after a certain amount of time or do other things that need to happen at more-or-less regular intervals. FLTK timers are not 100% accurate, so they should not be used to measure time intervals, for example.

    PYFLTK applications must periodically check (Fl.check()) or wait (Fl.wait()) for events or use the Fl.run() method to enter a standard event processing loop. Calling Fl.run() is equivalent to the following code:

      while Fl.wait() > 0:
          pass
      

    Fl.run() does not return until all of the windows under FLTK control are closed by the user or your program.

    Naming

    All public symbols in FLTK start with the characters 'F' and 'L':

    • Functions are either Fl.foo() or fl_foo().
    • Class and type names are capitalized: Fl_Foo.
    • Constants and enumerations are uppercase: FL_FOO.

    Import

    The proper way to import pyFLTK is:

      import fltk
      
    or
      from fltk import *
      

    Interactive usage

    (Courtesy of Michiel de Hoon)
    Interactive behavior is particularly useful for rapid development of GUIs, for beginning users of pyFltk, as well as for scientific visualization.
    As an example, the following will work:

            > python
            >>> from fltk import *
            >>> window = Fl_Window(300,300)
            >>> window.end()
            >>> window.show()
            # Window pops up here
            >>> window.label("My new title")
            # Window label changes immediately
            >>> window.color(FL_RED)
            >>> window.redraw()
            # Window color changes to red immediately
    
    ... and so on, all without calling Fl.run(). pyFltk-1.3.0/fltk/docs/Hello.jpg0000644000175100017510000002143111651413735015044 0ustar heldheldÿØÿàJFIF,,ÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÀÍ2"ÿÄ ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?è|cãGñ]¦‰¢Yérù¶ rMÚ*ã ìä»2¨PžO­aÿÂÀñŸüóðwþ -øýhø†î~5éLâ“E‘£)‚pA«ßð†øsþ€ÖŸ÷Åz¥…„µ‹m®†V”›³9K¯Š>1³¾·²m7CšâåUà[HÖàH™ÓŒ ܬ1œäUy~0x¢Þy ŸMÒ¢š6(ñ½›+#‚-Áµ3V²¶Óþ0øZÖÒ†k=± À¹ŸÔšèÿáð÷ˆ¼C%î£l–„øªëN˜Å;ªÜ¨¤]ÛØá™Ô/É·;È8Å/`×7.šþd>{Ù3×⿊ï|ß³i:tþLfi|«&mˆ:³a¸QžI⤺ø©â«—¶¼Ò´ëk„Æø¦²deÈÈÈ'#‚ iiš~ŸbšÓY蚦—3øjýg–¯rP©^I 6æ#îà šÙñ‡4íWÆ:…ËéŸÚ—rk6v—1o“ýխЙq¹9›+òôëE¨ó|: ß¶ç">.ø€ÿËž“ÿ€§ÿЧ¯Å­|ÿËž•ÿ€ÇÿЧh> €êšÌ¯§ÿii¢Îú] ùžÒÐJ¨§÷Lç vÎx­¼%áûíz=ÅýŸ¨ê]½ÊÒIö+‘óK–[?2 üí‘øTã‡Oáêw(Šúñÿ—=+ÿÿO5Óÿ.š_þõë“×dÓ%ׯFƒÈÓ„›mÓ{6Tq»-ÏÍØ=3ŽÕMkU‡¤ÕùHu'ÜïÅpÿ˦™ÿ€ßýzxø­ŸùuÓ?ðÿ¯\2Ô«GÕé({Y÷;ñ+Y?òë¦ÿà7ÿ^¤_ˆúÁÿ—]7ÿÿúõÄ­L´¾¯KùEígÜìÇÄM\ÿ˶ÿ€ÿýzxøƒ«ùvÓÿðÿ¯\rÔËGÕé({Y÷:ñãíTÿ˾Ÿÿ€ÿýzxñÞ¨åÞÃÿÇø×$µ2Òú½.ÁígÜêÇŽ53ÿ.ö?ø?ÆžçNÁígÜß_ÞŸùeiÿ~ÁígÜÒ]Jsüß•ÿ µ³Ë”½¢)b£t#'ôSê+%jÜ÷pXhR^]?—one–WÁ;UUI8žjƼ#]#ZS”¥fËÛäÿžö_÷àÿñR Q'[·ûM”qZÜw’Hv©`ªÇ/OœqÎ~µƒ¡xãþ%¾{=#QûMÂFedò$L( –P:°üéÚ_“ö]Kí_‘ý¿ûÏ3vÿ£ç9ã®5?$tòù›Ë©Û;„MOJfc€‚Iÿ¾i¶Z™Ô./bí±g'—$ [ N>\ÿ;­Réosh¶ãNóMÜ|˜ãþµz3Òªø[þ>Ùó]{JÔn5}Vm#MÔS@2í‹8ŸÉ}I‡ß6èW=0‚¾oA“ó¦!ñnž-bòmÆ”|¨ü£Åóa® c¥(K™Ù¤9++ÜñÝE™õ;·v,Í3’IÉ'q¢’ÿþB7?õÕÿ™¢¤£Óü{àÍs]ñE®©£êÙ˜¬c‡Ÿ$R†Î „6:ú×7ÿ óÇ_ô47þ çýjÿ×4ÿÐECV±I+'o!{5¹ã ŠŸ®U}¾àö< |1Ö‡ü½XßÇÿâ)ãᦲ?åæÃþþ?ÿ^©E?¯UaËÇÃ}`ËÍýöÿüM<|;ÕÇü¼ØÿßoÿÄצÑG×j‡°æÃáö¬?åâËþûþ&¤_ê£þ^,ÿï¶ÿâkÑh¥õÚ¢ö<ôxTòÞÏþûoþ&ž<©ùoiÿ}·ÿ]ý}v¨}^<©ùoiÿ}·ÿO ÔGü¶µÿ¾›ÿ‰®âŠ>¹T>¯‹Ôü¶¶ÿ¾›ÿ‰§ ßùkmÿ}7øWcE\ªWÉ Þùkoÿ}7øSdž¯üµƒþú?á]U¾¹T>¯™»òÒûèÿ…·T>¯t;‘üpþgü)ãF¸Çæ·(£ëuêð1Æ“8þ8ÿ3þñ¦L?Š?Ìÿ…jÑKëuêð3…„£ø“ó?áOrâ_ίQGÖªÕàU[gÖªßiw7¾X]RòÖ4Î#·ePIêNT“ÐwÇZÔ¢”±’³£îŒøG.è`Õ¿ïòñøj{ue‡]Õ#Ý)™ŠI%ÈPX™è«ù{šè(¨öžH¾O3ûRÿ¡£[ÿÀ•ÿâ)¶ú––W6ðj—¨×2ù²Î<Æ8^3³òƒÀÏy5·EÕ®ˆ^Íw0?á¹ÿ¡ƒVÿ¿ÉÿÄT¶:³Ô…ôš…ÝÔ¢3ûC«aIã ;¨­ª(ö­l{5ÜùÞÿþB7?õÕÿ™¢‹ÿùÜÿ×WþfŠ}sþµëšè"¡©®Ö¯ýsOýT5™AEP0¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(ç{ÿùÜÿ×WþfŠ/ÿä#sÿ]_ùš+B£®Ö¯ýsOýT55ÏúÕÿ®iÿ Š†³((¥U.áTd“€*o²MèŸ÷Úÿ ¢§û$Þ‰ÿ}¯øÑöI½þû_ñ (©þÉ7¢ßkþ4}’oDÿ¾×üh *²MèŸ÷Úÿd›Ñ?ïµÿ‚ŠŸì“z'ýö¿ãGÙ&ôOûíÆ€ ¢§û$Þ‰ÿ}¯øÑöI½þû_ñ (©þÉ7¢ßkþ4}’oDÿ¾×üh *²MèŸ÷Úÿd›Ñ?ïµÿ‚ŠŸì“z'ýö¿ãGÙ&ôOûíÆ€ ¢§û$Þ‰ÿ}¯øÑöI½þû_ñ (©þÉ7¢ßkþ4}’oDÿ¾×üh *²MèŸ÷Úÿd›Ñ?ïµÿ‚ŠŸì“z'ýö¿ãGÙ&ôOûíÆ€ ¢§û$Þ‰ÿ}¯øÑöI½þû_ñ (©þÉ7¢ßkþ4}’oDÿ¾×üh *²MèŸ÷Úÿd›Ñ?ïµÿ‚ŠŸì“z'ýö¿ãT¢º‚yî Š@òZËäÌð¾Õ|g¡ù]O¸ê MEPÎ÷ÿò¹ÿ®¯üÍ_ÿÈFçþº¿ó4V„G\ÿ­_úæŸú¨jkŸõ«ÿ\ÓÿA fQ-·ü}Cþúÿ:dŸëêiößñõûëüé’¬o© ÑE (¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š+Ãòñ7ý…öÞ ß¬ ÿÈKÄßöÿÛx(~Š( ïÿä#sÿ]_ùš(¿ÿÏýuæh­>޹ÿZ¿õÍ?ôPÔ×?ëWþ¹§þ‚*Ì¢[oøú‡ýõþtÉ?Ö7ÔÓí¿ãê÷×ùÓ$ÿXßS@ ¢Š(QEQEQEQEQEQEQEQEQEQEQEQEQEQEV†ÿä%âoû ÿí¼¿Xÿ—‰¿ì+ÿ¶ðPýQ@;ßÿÈFçþº¿ó4Qÿ!ŸúêÿÌÑZ}sþµëšè"¡©®Ö¯ýsOýT5™D¶ßñõûëüé’¬o©§ÛÇÔ?ï¯ó¦Iþ±¾¦€E‘âE´Ÿ ê×ñÜ%¼ÐZHÑHøÀ“iÙׂK`Ü(ä~ø—â}oÆ„<þfšZI~Á±3°ä" ¸YyïŠömcPþÉÑ/õ/+Íû%´“ù{¶ïØ¥±œgq_-øOÄ‘ø_TæÇíR›}³6Hèzà}1]¯ˆ¾4Ï­øzûK·Ñ¾Æ÷QùFµ 6©ûÃiAÕr:ñœö¦Ö¢¹­ðÏÇ~'×uù"Õ/>Ýk±còÄH…]˜aþTäWÈÏzöjð„‹™a¨k—ÈÖ9®_jäËiÑr@êÍϨÇÓóS×¾)k³y·oa)ŽÕºEÔ Æ÷99o¯A…¥Õôq€zP„Ïd¼×-tïI­Þ~îÞ;q;¨ažFBŒà$€:d‘^+áoŠž'¿ñ}²_ݤ¶R´ŒÖ‰ "±ˆ¶–À8êIã’hø©â 56Ñ<+eóyC$ËÓt΀"ò8¶r™Ï+\”P Çv¶ÖûXG$QÀüÛÑC¼gq>ÔÖÁÔú7Æ>#‹Â¾¼Õ¡™e¼mÞJxQŒŒŒòps´Ú¸o…þ*ñ>½s,º½ÓÝÀÿ$Kå¤J rÎvÇ“ÙG8ÎAìG-ñKÄâߨè:c–¶€)aœ†™ÆIm¤Œ"ñÓ*|ÁRxƒÄxA·Ñ4ˆÞÞööØ?ÚÈ¢ƒ%FÌC±V%½0G'*yïtWÍÖÿ üA­XͨG)¹¾b^T™ÉÉFn[×Üõç5×ü"ñõö¡u&ƒ¬\ItØ2[\ÊÛœsÊ3–äŒw䎘zìTWÌÿuV½ø§{5±ûh¶ž8b†T.›(hö«¼>GC“×5Óè^ Öå×á,Õo’{ˆÙ§’âuQ ‘¿sñµ@Ï 6àc5`yñIJüPŸL´»XtØ/ŒMjÉÜ‘?ϳpݱ¶ìgŒ×µÛÈÓ[E+Æcg@ÅU$tü+æŸÅ6¿ãy.ï <ó3;Ï·K#€N!Ÿ¯¥tŸ|eªø‡ÅøSE¸0YÂíÌŽÈgp¤Hðv/Ì6ò ç+†÷‡»W†xSâ_‰õ¿óùšii%ûÄÎÈ&âAeç¾+ãÃþ*ø{¦Çâ 'P¸KY,¬‘áy+:À¯$ÂÑS|ÓÅψZvVR®$ÁÇv_Oá_¦E.N‡â¼AaãÅÐô @Ú*$QH$‚6S+üÛ*Ç]Ô=}sM»ký>§„Âdì'8àôG?|÷"\ëõY&Û;Áy0 Pdª.0‘ò{ñžµôU¼+mmIX '®Å&’°<7ÿ!/ØWÿmà­úÀðßü„¼Mÿa_ý·‚›ôQE|ïÿ!ŸúêÿÌÑEÿü„në«ÿ3EhAôuÏúÕÿ®iÿ Š†¦¹ÿZ¿õÍ?ôPÖeÛÇÔ?ï¯ó¦Iþ±¾¦ŸmÿPÿ¾¿Î™'úÆúšmy÷ÆmCìeƒÊßöÛ˜ Ý»0L™éÏú¼c޹í^ƒ\GÄ]øÊÂÑ-µ€Z³9· ¹ffÚ9`Q»~ñéB’ø=¡Cw£É%ÊyÐ9iÉ] prxF5ÆËk +JÒ¬ílöIs;ÊeóXà"·=|ÀsÛo½wþðÔ¾Ñͬ˵¾UÆAÎ2KpORÇŽÕ‰ñ#áí÷‹ï­omµU‚!´( ‚KpK€ ùAãøGõô†´$Ó|9ý›sœkwÔ&í<Àúךøƒàx7ï>‡xÉjç"Þ@£$ž2£€3“õëBz9{ÿ Mªx‰tÝCÅÉwªªùan&Y|å|½ÆB7n'äÎîzUo¤×ž7´Ñ®"û4¶±Åh͸>w±“výuÆ3Û¯Î]M±¶Ô„7P8úDJ]îšF ­´Œ&ƒ’HÎO=_ë 4ÿ C …†À# òø3(Çv-“ÜûÒ×W„ümK«húªÆ¾WÙ”DÌr㑘‚ÏÓóú×»W ñ'À“xÒÚÅíï<™l¼Í±ùA¼Íå;–Æß|ЄÏ!øq£Í¬xŒÝHþm‚S¹ŽöêÞø]Ää÷ZÒø½o‰ñÊæÊGû$°f,‘™9?ÝGžµêðcxbÓmÄcÍA…'i,Çï1ÇNÀsœqYþÜø»U·Õ-ovI n`òà3¶íŇ÷€Æ(O[…´8…þ—WÕ[P¸ÆF*$l“Ž®ù óü ú’ Vø“ v§{¨<»2öÎGò4B4R@Ç+ò°ãЊö¿xhxwK`+8EBäŽ7†;r=«­ñç†.<[á¶ÓmïÞЉD¬w ‚ƒ„#pà±SÏB£Š/¨t<¿à¦žeÔ&»Àuó>e |»†÷åÇÓÈü:û#øÂÖ ·TâØõ Ì£ƒØãpüqÞ½«á߃n<) ©qÃrÜ~ð±à1ƨ÷¬/|VÕ§Õt‹¶†K—igÆð]ˆ$¡$c$’A?OJ/¸øÓâ›[oÂ=o,2ÝÝÈ¿h@ÁŒ(›\d•bvc#nöªŸmc³ÑçÔ®$mÕd™å…ò$“èŒséšÍ‚7riêÑܘn#Îàà;JNÞ˜`ª£æ=Iíé]Ž•à¨¼}áÿ¶>Ÿ%Ê$FdÎns€Ý,ÏBzŽ(ml?ðÓÆÞÉ>«gªÎ²¬÷·&d'©-Œî,XœõÚ} { yßï_øNi–åÛd„¹u*»ÎU`ä ±çóôJC Àðßü„¼Mÿa_ý·‚·ëÃòñ7ý…öÞ `oÑEó½ÿü„në«ÿ3Eÿò¹ÿ®¯üÍ¡Ñ×?ëWþ¹§þ‚*šçýjÿ×4ÿÐECY”KmÿPÿ¾¿Î™'úÆúš}·ü}Cþúÿ:dŸëêh´QE (¢€ (¢€ (¢€ (¢€ (¢€9ísÁÚV»©[êW¯Ûa ˜‚ÄF lNÐrs»·km¬VÐŒG…9÷8îzÔÔR¢Š)€QEQEQEQEQEQEQEV†ÿä%âoû ÿí¼¿Xÿ—‰¿ì+ÿ¶ðPýQ@;ßÿÈFçþº¿ó4Qÿ!ŸúêÿÌÑZ}sþµëšè"¡©®Ö¯ýsOýT5™D¶ßñõûëüé’¬o©§ÛÇÔ?ï¯ó¦Iþ±¾¦€EP0¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¬ ÿÈKÄßöÿÛx+~°<7ÿ!/ØWÿmà  ú(¢€>w¿ÿÏýuæh¢ÿþB7?õÕÿ™¢´ ú:çýjÿ×4ÿÐECS\ÿ­_úæŸú¨k2†Kš™Ô:•-”aŸFR>à‚+þÍ×RÿÁ­×ÿ­ú(ÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽQÿfë©àÖëÿŽVýÿfë©àÖëÿŽVŽ—£ÙhÐË’J«4žl†YÞVfÚ%œ“ÑTuíW¨ Š( ïÿä#sÿ]_ùš(¿ÿÏýuæh­>޹ÿZ¿õÍ?ôPÔ×?ëWþ¹§þ‚*Ì ¢Š(QEQEQEQEQEQEQEQEQEQEQEQEQEQEQEQEQEó½ÿü„në«ÿ3Eÿò¹ÿ®¯üÍ¡Ñ×?ëWþ¹§þ‚*ó ¾+ßK)a¦[ªà ± ÏáLÿ…§ÿ@ëoûéª9YW=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV=JŠòßøZwÿô¶ÿ¾šøZwÿô¶ÿ¾šŽV8›ÿùÜÿ×WþfŠŽy|û‰eÆÝî[Î2sEY'ÿÙpyFltk-1.3.0/PKG-INFO0000644000175100017510000000036211651415004012473 0ustar heldheldMetadata-Version: 1.0 Name: pyFltk Version: 1.3.0 Summary: This is a wrapper for the FLTK Home-page: http://pyfltk.sourceforge.net Author: Andreas Held Author-email: a.held@computer.org License: UNKNOWN Description: UNKNOWN Platform: UNKNOWN pyFltk-1.3.0/contrib/0000755000175100017510000000000011651415004013035 5ustar heldheldpyFltk-1.3.0/contrib/ListSelect.cpp0000644000175100017510000001731411441254527015632 0ustar heldheld #include "ListSelect.h" #include static unsigned char *image__upArrow[] = { (unsigned char *)"32 32 17 1", (unsigned char *)" \tc None", (unsigned char *)".\tc #000000", (unsigned char *)"+\tc #800000", (unsigned char *)"@\tc #008000", (unsigned char *)"#\tc #808000", (unsigned char *)"$\tc #000080", (unsigned char *)"%\tc #800080", (unsigned char *)"&\tc #008080", (unsigned char *)"*\tc #C0C0C0", (unsigned char *)"=\tc #808080", (unsigned char *)"-\tc #FF0000", (unsigned char *)";\tc #00FF00", (unsigned char *)">\tc #FFFF00", (unsigned char *)",\tc #0000FF", (unsigned char *)"\'\tc #FF00FF", (unsigned char *)")\tc #00FFFF", (unsigned char *)"!\tc #FFFFFF", (unsigned char *)" ", (unsigned char *)" ", (unsigned char *)" ", (unsigned char *)" .. ", (unsigned char *)" .==. ", (unsigned char *)" .====. ", (unsigned char *)" .==**==. ", (unsigned char *)" .==****==. ", (unsigned char *)" .==******==. ", (unsigned char *)" .==********==. ", (unsigned char *)" .==**********==. ", (unsigned char *)" .==************==. ", (unsigned char *)" .==**************==. ", (unsigned char *)" .==****************==. ", (unsigned char *)" .==******************==. ", (unsigned char *)" .==********************==. ", (unsigned char *)" .=!!!!!!=*********!!!!!!!!=. ", (unsigned char *)" ........=*********!......... ", (unsigned char *)" .=*********!. ", (unsigned char *)" .=*********!. ", (unsigned char *)" .=*********!. ", (unsigned char *)" .=*********!. ", (unsigned char *)" .=*********!. ", (unsigned char *)" .=*********!. ", (unsigned char *)" .=*********!. ", (unsigned char *)" .=*********!. ", (unsigned char *)" .=*********!. ", (unsigned char *)" .=*********!. ", (unsigned char *)" .=!!!!!!!!!!. ", (unsigned char *)" ........... ", (unsigned char *)" ", (unsigned char *)" " }; static Fl_Pixmap pixmap__upArrow(image__upArrow); static unsigned char *image__downArrow[] = { (unsigned char *)"32 32 17 1", (unsigned char *)" \tc None", (unsigned char *)".\tc #000000", (unsigned char *)"+\tc #800000", (unsigned char *)"@\tc #008000", (unsigned char *)"#\tc #808000", (unsigned char *)"$\tc #000080", (unsigned char *)"%\tc #800080", (unsigned char *)"&\tc #008080", (unsigned char *)"*\tc #C0C0C0", (unsigned char *)"=\tc #808080", (unsigned char *)"-\tc #FF0000", (unsigned char *)";\tc #00FF00", (unsigned char *)">\tc #FFFF00", (unsigned char *)",\tc #0000FF", (unsigned char *)"\'\tc #FF00FF", (unsigned char *)")\tc #00FFFF", (unsigned char *)"!\tc #FFFFFF", (unsigned char *)" ", (unsigned char *)" ", (unsigned char *)" ........... ", (unsigned char *)" .!!!!!!!!!!=. ", (unsigned char *)" .!*********=. ", (unsigned char *)" .!*********=. ", (unsigned char *)" .!*********=. ", (unsigned char *)" .!*********=. ", (unsigned char *)" .!*********=. ", (unsigned char *)" .!*********=. ", (unsigned char *)" .!*********=. ", (unsigned char *)" .!*********=. ", (unsigned char *)" .!*********=. ", (unsigned char *)" .!*********=. ", (unsigned char *)" .........!*********=........ ", (unsigned char *)" .=!!!!!!!!*********=!!!!!!=. ", (unsigned char *)" .==********************==. ", (unsigned char *)" .==******************==. ", (unsigned char *)" .==****************==. ", (unsigned char *)" .==**************==. ", (unsigned char *)" .==************==. ", (unsigned char *)" .==**********==. ", (unsigned char *)" .==********==. ", (unsigned char *)" .==******==. ", (unsigned char *)" .==****==. ", (unsigned char *)" .==**==. ", (unsigned char *)" .====. ", (unsigned char *)" .==. ", (unsigned char *)" .. ", (unsigned char *)" ", (unsigned char *)" ", (unsigned char *)" " }; static Fl_Pixmap pixmap__downArrow(image__downArrow); void upCB( Fl_Widget *v, void *t) { ((ListSelect *)(t))->upButtonCallback(); } void downCB( Fl_Widget *v, void *t) { ((ListSelect *)(t))->downButtonCallback(); } void toggleCB( Fl_Widget *v, void *t) { ((ListSelect *)(t))->toggleButtonCallback(); } #define BORDER 8 #define BROWSER_BUTTON_BORDER ((int)(BORDER*1.5)) #define BROWSER_W (w-BORDER-BORDER) #define BUTTON_H 38 #define BROWSER_H ((int)( \ (h-BORDER-BROWSER_BUTTON_BORDER-BUTTON_H-BROWSER_BUTTON_BORDER-BORDER) / 2 )) #define BUTTON_Y (BORDER+BROWSER_H+BROWSER_BUTTON_BORDER) #define BOTBROWSER_Y ( BUTTON_Y+BUTTON_H+BROWSER_BUTTON_BORDER ) ListSelect::ListSelect(int x, int y, int w, int h, char *topLabel, char *bottomLabel) : Fl_Group(x,y,w,h), topBrowser(BORDER, BORDER, BROWSER_W, BROWSER_H, topLabel), bottomBrowser(BORDER, BOTBROWSER_Y, BROWSER_W, BROWSER_H, bottomLabel), upButton(100, BUTTON_Y, 42, BUTTON_H), downButton(160, BUTTON_Y, 42, BUTTON_H), toggleButton(225, BUTTON_Y, 70, BUTTON_H, "Toggle") { topBrowser.align(FL_ALIGN_TOP | FL_ALIGN_LEFT); bottomBrowser.align(FL_ALIGN_TOP | FL_ALIGN_LEFT ); pixmap__upArrow.label(&upButton); pixmap__downArrow.label(&downButton); //upButton.labeltype(FL_SYMBOL_LABEL); //downButton.labeltype(FL_SYMBOL_LABEL); upButton.callback( (Fl_Callback *)upCB, (void *)this); downButton.callback( (Fl_Callback *)downCB, (void *)this); toggleButton.callback( (Fl_Callback *)toggleCB, (void *)this); end(); //resizable(this); resize(x, y, w, h); } void ListSelect::upButtonCallback(void) { moveSelected( bottomBrowser, topBrowser); } void ListSelect::downButtonCallback(void) { moveSelected( topBrowser, bottomBrowser); } void ListSelect::moveSelected(Fl_Multi_Browser &fromB, Fl_Multi_Browser &toB) { for (int i=1; i<=fromB.size(); i++) { if (fromB.selected(i)) { toB.add(fromB.text(i), fromB.data(i)); fromB.remove(i); --i; } } fromB.topline(1); } void ListSelect::toggleButtonCallback(void) { toggleMultiBrowser(topBrowser); toggleMultiBrowser(bottomBrowser); } void ListSelect::toggleMultiBrowser(Fl_Multi_Browser &mb) { for (int i=1; i<=mb.size(); i++) { mb.select( i, ( mb.selected(i) ? 0 : 1 ) ); } } void ListSelect::resize(int x, int y, int w, int h) { Fl_Group::resize(x, y, w, h); int b = 8; //border int buh = 38; // all buttons height int abw = 42; //arrow buttons width int tbw = 70; //toggle button width int abs = 12; // arrow button spacing int ls = topBrowser.labelsize(); //label size int bbb = (int)(b*1.5); // browser-button border int brw = w - b - b; // browser width int brh = (int)( (h-(b+ls+bbb+buh+bbb+ls+b))/2 ); //browser height int atbs = (int)(abs*1.5); // arrow-toggle button spacing int ubx = (int)((w-(abw*2+tbw+abs+atbs))/2); //up button x int by = b+ls+brh+bbb; //button y topBrowser.resize( b, b+ls, brw, brh ); upButton.resize( ubx, by, abw, buh); downButton.resize( ubx+abw+abs, by, abw, buh ); toggleButton.resize( ubx+abw+abs+abw+atbs, by, tbw, buh); bottomBrowser.resize( b, by+buh+bbb+ls, brw, brh); } pyFltk-1.3.0/contrib/ListSelect.h0000644000175100017510000000243511237640157015276 0ustar heldheld#ifndef MyListSelect_h #define MyListSelect_h #include #include #include #include #include #include extern void upCB( Fl_Widget *v, void *); extern void downCB( Fl_Widget *v, void *); extern void toggleCB( Fl_Widget *v, void *); class ListSelect : public Fl_Group { public: ListSelect(int x, int y, int w, int h, char *topLabel=0, char *bottomLabel=0); Fl_Multi_Browser* getTopBrowser() { return &topBrowser;}; Fl_Multi_Browser* getBottomBrowser() { return &bottomBrowser;}; protected: Fl_Multi_Browser topBrowser; Fl_Multi_Browser bottomBrowser; virtual void resize(int x, int y, int w, int h); //toggles selection state of every item in the browser void toggleMultiBrowser(Fl_Multi_Browser &mb); //moves selected items from one browser to another void moveSelected(Fl_Multi_Browser &fromB, Fl_Multi_Browser &toB); void upButtonCallback(void); void downButtonCallback(void); void toggleButtonCallback(void); friend void upCB( Fl_Widget *v, void *); friend void downCB( Fl_Widget *v, void *); friend void toggleCB( Fl_Widget *v, void *); Fl_Button upButton; Fl_Button downButton; Fl_Button toggleButton; }; #endif pyFltk-1.3.0/COPYING0000644000175100017510000006130311237640160012436 0ustar heldheld GNU LIBRARY GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the library GPL. It is numbered 2 because it goes with version 2 of the ordinary GPL.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Library General Public License, applies to some specially designated Free Software Foundation software, and to any other libraries whose authors decide to use it. You can use it for your libraries, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library, or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link a program with the library, you must provide complete object files to the recipients so that they can relink them with the library, after making changes to the library and recompiling it. And you must show them these terms so they know their rights. Our method of protecting your rights has two steps: (1) copyright the library, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the library. Also, for each distributor's protection, we want to make certain that everyone understands that there is no warranty for this free library. If the library is modified by someone else and passed on, we want its recipients to know that what they have is not the original version, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that companies distributing free software will individually obtain patent licenses, thus in effect transforming the program into proprietary software. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License, which was designed for utility programs. This license, the GNU Library General Public License, applies to certain designated libraries. This license is quite different from the ordinary one; be sure to read it in full, and don't assume that anything in it is the same as in the ordinary license. The reason we have a separate public license for some libraries is that they blur the distinction we usually make between modifying or adding to a program and simply using it. Linking a program with a library, without changing the library, is in some sense simply using the library, and is analogous to running a utility program or application program. However, in a textual and legal sense, the linked executable is a combined work, a derivative of the original library, and the ordinary General Public License treats it as such. Because of this blurred distinction, using the ordinary General Public License for libraries did not effectively promote software sharing, because most developers did not use the libraries. We concluded that weaker conditions might promote sharing better. However, unrestricted linking of non-free programs would deprive the users of those programs of all benefit from the free status of the libraries themselves. This Library General Public License is intended to permit developers of non-free programs to use free libraries, while preserving your freedom as a user of such programs to change the free libraries that are incorporated in them. (We have not seen how to achieve this as regards changes in header files, but we have achieved it as regards changes in the actual functions of the Library.) The hope is that this will lead to faster development of free libraries. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, while the latter only works together with the library. Note that it is possible for a library to be covered by the ordinary General Public License rather than by this special one. GNU LIBRARY GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Library General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also compile or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. c) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. d) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Library General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it! pyFltk-1.3.0/INSTALL0000644000175100017510000000545511237640160012442 0ustar heldheldInstalling: ---------- I. General Notes II. UNIX III. MS-Windows I. General Notes: ----------------- If your platform comes without OpenGL or Forms support, or you just get into troubles using the default setup script, it is possible to disable Forms and OpenGl support from the pyFltk build. The following command line switches are provided for this: --disable-gl : will disable OpenGL support --disable-forms : will disable Forms support In general, however, setup.py will take the proper settings from your Fltk installation, to be used for the compilation of pyFltk. II. UNIX: --------- We've only tested it under Linux so far. 1. Unpack the archive into a directory of your choice: gunzip pyfltkxxxx.tar.gz tar xf pyfltkxxxx.tar 2. To build the python wrappers: cd pyfltkxxx python setup.py build python setup.py install This will build the wrapper and install it to the Python directores. You should then be able to swith to fltk/test/ and run the demos by typing: python demos.py Note: This assumes that you properly built and installed fltk. III. MS-Windows: ---------------- MS-Visual C++ under Windows Console: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ As since Python2.4, Windows compilation has changed to MSVC7.0, I do not support this anymore! MinGW ~~~~~ * Important Note: * * Unfortunately, Python is linked against msvcr71, whereas MinGW links * against msvcrt. This will cause a number of memory problems, often * crashing the application upon termination. If you can live with this, * alas! If not, you have to force MinGW to link against msvcr71. This can * be done as follows: * a) Locate the file "specs", this should be in directory * MinGW\lib\gcc\mingw32\3.4.2 * b) Change all occurences of -lmsvcrt to -lmsvcr71 * * End Important Note 1. Unpack the archive into a directory of your choice: gunzip pyfltkxxxx.tar.gz tar xf pyfltkxxxx.tar 2. Build the proper libpython24a.lib. See http://pyfltk.sourceforge.net for directions. 3. Set the environment variable FLTK_HOME to the place where you installed FLTK. This is only necessary if you get problems with your default installation of fltk or if you want to override the default installation. 4. To build the python wrappers: Open a MSYS command window cd pyfltkxxx python setup.py build -cmingw32 install This will build the wrapper and install it to the Python directores. You should then be able to switch to test/ and run the demos by typing: python demos.py III. Other Platforms: --------------------- Proceed according to the above outline. I would be glad about any feedback if you succeeded with building pyFltk on any other platform. Andreas Held pyfltk.sourceforge.net a.held@computer.org pyFltk-1.3.0/setup.py0000755000175100017510000002574711651413625013140 0ustar heldheldfrom distutils.core import setup, Extension import os, sys, string, platform # these settings will read setup information from the environment. # instead of this, the relevant paths can be set directly here: # fltk_dir = "" opengl_dir = "" # this will be overrridden by environment variables: fltk_dir = os.environ.get('FLTK_HOME', '') opengl_dir = os.environ.get('OPENGL_HOME', '') # add your extensions here UserDefinedSources = [] # add additional include paths here UserIncludeDirs = [] # do not edit beyond this point ########################################################################### # command line configurations # --disable-gl # --disable-forms ########################################################################## doCheckForms = True doCheckGl = True isVerbose = True # debug flag doDebug = False new_args = [] for item in sys.argv: if item == '--disable-gl': doCheckGl = False if isVerbose: print "No OpenGL support!" elif item == '--disable-forms': doCheckForms = False if isVerbose: print "No Forms support" elif item == '--debug': doDebug = True if isVerbose: print "Detected DEBUG build!" else: new_args.append(item) sys.argv = new_args def is_msys_mingw(): if os.environ.has_key("MSYSTEM"): if os.environ["MSYSTEM"] == "MINGW32": return True return False ########################################################################### # # create proper paths fltk_lib_dir = os.path.join(fltk_dir, 'lib') fltk_includes = [] compile_arg_list = [] link_arg_list = [] # whatever is platform dependent if sys.platform == 'win32' and not is_msys_mingw(): print "Building for MS Windows, using Visual C++" opengl_lib_dir = os.path.join(opengl_dir, 'lib') def_list = [('WIN32', '1')] compile_arg_list=['/GR'] lib_dir_list = [fltk_lib_dir, opengl_lib_dir] lib_list = ["kernel32", "user32", "gdi32", "winspool", "comdlg32", "Comctl32", "advapi32", "shell32", "ole32", "oleaut32", "uuid", "odbc32", "odbccp32", "wsock32", "fltk", "fltkimages", "fltkforms", "fltkgl", "opengl32", "jpeg", "png", "z"] elif sys.platform == 'win32' and is_msys_mingw(): print "Building for MS Windows, using MinGW" if doDebug: def_list = [('WIN32', '1'),('_DEBUG', '1')] else: def_list = [('WIN32', '1')] lib_dir_list = [fltk_lib_dir] lib_list = ["fltk", "kernel32", "user32", "gdi32", "winspool", "comdlg32", "Comctl32", "advapi32", "shell32", "oleaut32", "odbc32", "odbccp32", "stdc++", "msvcr71"] #link_arg_list=["-Wl,--enable-runtime-pseudo-reloc", "-Wl,--enable-auto-import"] elif sys.platform == 'linux2': print "Building for Linux" # ugly hack to force distutils to use g++ instead of gcc for linking from distutils import sysconfig # changes the linker from gcc to g++ old_init_posix = sysconfig._init_posix def my_init_posix(): if isVerbose: print 'my_init_posix: changing gcc to g++' old_init_posix() g = sysconfig._config_vars g['LINKCC'] = 'g++ -pthread' g['LDSHARED'] = 'g++ -shared' sysconfig._init_posix = my_init_posix def_list = [('UNIX', '1')] #compile_arg_list.append('-pipe') lib_dir_list = [fltk_lib_dir, '/usr/lib'] lib_list = ["fltk"] elif sys.platform in ['freebsd4','freebsd5','freebsd6','freebsd7', 'sunos5']: print "Building for: ", sys.platform def_list = [('UNIX', '1')] lib_dir_list = [fltk_lib_dir,'/usr/X11R6/lib','/usr/lib'] lib_list = ["fltk"] elif sys.platform == 'darwin': print "Building for Mac OS X" def_list = [('UNIX', '1')] lib_dir_list = [fltk_lib_dir] lib_list = ["fltk"] cpu_type = platform.processor() if not string.find(cpu_type, "86"): print "x86 CPU variant detected" osx_arch = "i386" else: print "PowerPC system detected" osx_arch = "ppc" compile_arg_list=['-arch', osx_arch] link_arg_list=['-arch', osx_arch, '-framework','ApplicationServices','-framework','Carbon','-framework','OpenGL','-framework','AGL'] elif sys.platform == 'cygwin': print "Building for cygwin using cygwin utilities" def_list = [('WIN32', '1'),('NOMINMAX', '1')] #lib_dir_list = [fltk_lib_dir,'/usr/lib','/lib','/lib/w32api','/lib/mingw'] lib_dir_list = [fltk_lib_dir,'/usr/lib','/lib','/lib/w32api','/lib/mingw'] lib_list = ["fltk", "kernel32", "user32", "gdi32", "winspool", "comdlg32", "Comctl32","advapi32", "shell32", "oleaut32", "odbc32", "odbccp32", "stdc++", "supc++"] else: print "Platform not officially supported!" print "You can try to edit the platform specific settings in the file setup.py by creating an entry for the following platform: ", sys.platform sys.exit(0) ########################################################################### # test for fltk configuration (libraries) def fltk_config(dir): "return library paths and additional libraries that were used to link FLTK" needed_libraries = [] needed_directories = [] needed_includes = [] ver_cmd = None inc_cmd = None lib_cmd = None # always use images var_string = " --use-images" if doCheckGl: var_string = var_string + " --use-gl --use-glut" if doCheckForms: var_string = var_string + " --use-forms" try: if isVerbose: print "Checking fltk-config using FLTK_HOME" fltk_dir = os.environ['FLTK_HOME'] ver_cmd = "sh %s/fltk-config --version"%fltk_dir inc_cmd = "sh %s/fltk-config --cxxflags %s"%(fltk_dir, var_string) #lib_cmd = "sh %s/fltk-config --use-gl --use-glut --use-images --use-forms --ldflags"%fltk_dir lib_cmd = "sh %s/fltk-config --ldflags %s"%(fltk_dir, var_string) except: if isVerbose: print "Checking fltk-config using default installation" if is_msys_mingw(): ver_cmd = "sh fltk-config --version" inc_cmd = "sh fltk-config --cxxflags %s"%var_string lib_cmd = "sh fltk-config --ldflags %s"%var_string else: ver_cmd = "fltk-config --version" inc_cmd = "fltk-config --cxxflags %s"%var_string lib_cmd = "fltk-config --ldflags %s"%var_string # version result = os.popen(ver_cmd).readlines() if len(result) == 0: print "No version information for FLTK found!" else: print "Using FLTK: ", result # include flags result = os.popen(inc_cmd).readlines() if len(result) == 0: print "No compile flags found!" else: inc_list = map(lambda x: x.strip(), result[0].split(' ')) for inc in inc_list: if inc[:2] == '-I': needed_includes.append(inc[2:]) print "fltk-config includes: ", needed_includes # lib flags result = os.popen(lib_cmd).readlines() if len(result) == 0: print "No link flags found!" else: lib_list = map(lambda x: x.strip(), result[0].split(' ')) for lib in lib_list: if lib[:2] == '-l': needed_libraries.append(lib[2:]) if lib[:2] == '-L': needed_directories.append(lib[2:]) print "fltk-config link paths: ", needed_directories print "fltk-config link libraries: ", needed_libraries return (needed_libraries, needed_directories, needed_includes) ########################################################################### all_include_dirs = ['./src', './contrib','/usr/include'] if fltk_dir != "": all_include_dirs.insert(0, fltk_dir) print all_include_dirs ########################################################################### if not (sys.platform == 'win32' and not is_msys_mingw()): if is_msys_mingw(): # a separate method for finding dlls with mingw. # fix up the paths for msys compiling. import distutils_mod, distutils distutils.cygwinccompiler.Mingw32 = distutils_mod.mingcomp print "Checking FLTK configuration ... " additional_libs, additional_dirs, additional_includes = fltk_config(fltk_dir) for item in additional_includes: # already included? add = True for used_inc in all_include_dirs: if item == used_inc: add = False break if add: all_include_dirs.insert(0, item) # check also for multi-threading doMulti = False doOpenGL = False doForms = False pos = 0 for item in additional_libs: lowercase_item = item.lower() if string.find(lowercase_item, "pthread") >= 0: doMulti = True if string.find(lowercase_item, "fltk") < 0 and string.find(lowercase_item, "gl") >= 0: doOpenGL = True if string.find(lowercase_item, "fltk") >= 0 and string.find(lowercase_item, "forms") >= 0: doForms = True # simply add all the libraries to the front of the used libraries lib_list = additional_libs+lib_list if not doMulti and not is_msys_mingw(): # disable multi-threading support print "FLTK was configured without multi-threading support!" compile_arg_list.append("-DDO_NOT_USE_THREADS") else: print "FLTK was configured with multi-threading support!" # On Mac OSX, openGL is always used for FLTK if sys.platform == 'darwin': doOpenGL = True if not doOpenGL: # disable OpenGL support print "FLTK was configured without OpenGL support!" UserDefinedSources.append('./src/Fl_Gl_Stubs.cxx') compile_arg_list.append("-DDO_NOT_USE_OPENGL") else: print "FLTK was configured with OpenGL support!" if not doForms: # disable Forms support print "FLTK was configured without Forms support!" UserDefinedSources.append('./src/Fl_Forms_Stubs.cxx') else: print "FLTK was configured with Forms support!" # add all the library paths lib_dir_list = additional_dirs+lib_dir_list print "done" ########################################################################### # module declarations module1 = Extension(name='fltk._fltk', define_macros=def_list, include_dirs = all_include_dirs+UserIncludeDirs, #sources = ['./python/fltk_wrap.cpp', #'./contrib/ListSelect.cpp', #'./contrib/Fl_Table_Row.cxx', #'./contrib/Fl_Table.cxx']+UserDefinedSources, sources = ['./python/fltk_wrap.cpp', './contrib/ListSelect.cpp']+UserDefinedSources, extra_compile_args=compile_arg_list, extra_link_args=link_arg_list, library_dirs=lib_dir_list, libraries=lib_list) setup (name = 'pyFltk', version = '1.3.0', author = 'Andreas Held', author_email = 'a.held@computer.org', url = 'http://pyfltk.sourceforge.net', description = 'This is a wrapper for the FLTK', ext_modules = [module1], packages = ['fltk'], package_data={'fltk': ['test/*.*', 'docs/*.*']}, ) pyFltk-1.3.0/src/0000755000175100017510000000000011651415004012164 5ustar heldheldpyFltk-1.3.0/src/Fl_Forms_Stubs.cxx0000644000175100017510000000235511237640155015613 0ustar heldheld// This files implements stubs for missing Forms libraries. // #include #include Fl_FormsBitmap::Fl_FormsBitmap( Fl_Boxtype t, int X, int Y, int W, int H, const char* l) : Fl_Widget(X, Y, W, H, l) {} void Fl_FormsBitmap::set(int W, int H, const uchar *bits) {} void Fl_FormsBitmap::draw() {} #include Fl_FormsPixmap::Fl_FormsPixmap( Fl_Boxtype t, int X, int Y, int W, int H, const char* l) : Fl_Widget(X, Y, W, H, l) {} void Fl_FormsPixmap::set(char*const* bits) {} void Fl_FormsPixmap::draw() {} #include void Fl_Free::step(void *v) {} Fl_Free::Fl_Free(uchar t,int X, int Y, int W, int H,const char *l, FL_HANDLEPTR hdl) : Fl_Widget(X,Y,W,H,l) {} Fl_Free::~Fl_Free() {} void Fl_Free::draw() {} int Fl_Free::handle(int e) { return 0; } #include void Fl_Timer::draw() {} void Fl_Timer::stepcb(void* v) {} void Fl_Timer::step() {} int Fl_Timer::handle(int event) { return 0; } Fl_Timer::~Fl_Timer() {} Fl_Timer::Fl_Timer(uchar t, int X, int Y, int W, int H, const char* l) : Fl_Widget(X, Y, W, H, l) {} void Fl_Timer::value(double d) {} void Fl_Timer::suspended(char d) {} pyFltk-1.3.0/src/menu_item.h0000755000175100017510000000072411237640155014334 0ustar heldheld// This struct manages callbacks into Python. It is stored as the // user data portion of a widget, and the PythonCallback function is // set as the callback. PythonCallback unmarshalls the pointer to // the Python function and Python user data and calls back into // Python. // #ifndef MENU_ITEM_h #define MENU_ITEM_h #include #include extern Fl_Menu_Item *createFl_Menu_Item_Array(PyObject *self, PyObject *pyMenuList); #endif pyFltk-1.3.0/src/Fl_Gl_Stubs.cxx0000644000175100017510000000532611237640155015070 0ustar heldheld// This files implements stubs for missing OpenGl libraries. // #include Fl_Gl_Window::~Fl_Gl_Window() { } void Fl_Gl_Window::show() {} //void Fl_Gl_Window::show(int a, char **b) {} void Fl_Gl_Window::flush() {} void Fl_Gl_Window::hide() {} void Fl_Gl_Window::resize(int,int,int,int) {} //char Fl_Gl_Window::valid() const {return 0;} //void Fl_Gl_Window::valid(char v) {} void Fl_Gl_Window::invalidate() {} //static int Fl_Gl_Window::can_do(int m) {return 0;} //static int Fl_Gl_Window::can_do(const int *m) {return 0;} //int Fl_Gl_Window::can_do() {return 0;} int Fl_Gl_Window::can_do(int a, const int *b) {return 0;} //Fl_Mode Fl_Gl_Window::mode() const {return 0;} //int Fl_Gl_Window::mode(int a) {return 0;} //int Fl_Gl_Window::mode(const int *a) {return 0;} int Fl_Gl_Window::mode(int m, const int *a) {return 0;} //void* Fl_Gl_Window::context() const {return 0;} void Fl_Gl_Window::context(void*, int destroy_flag) {} void Fl_Gl_Window::make_current() {} void Fl_Gl_Window::swap_buffers() {} void Fl_Gl_Window::ortho() {} int Fl_Gl_Window::can_do_overlay() { return 0; } void Fl_Gl_Window::redraw_overlay() {} void Fl_Gl_Window::hide_overlay() {} void Fl_Gl_Window::make_overlay_current() {} void Fl_Gl_Window::draw_overlay() {} void Fl_Gl_Window::init() {} void Fl_Gl_Window::make_overlay() {} //static int Fl_Gl_Window::can_do(int, const int *) {{} //int Fl_Gl_Window::mode(int, const int *) {return 0;} // gl stubs void gl_start() {} void gl_finish() {} void gl_color(Fl_Color) {} void gl_color(int c) {} void gl_rect(int x,int y,int w,int h) {} void gl_rectf(int x,int y,int w,int h) {} //void gl_recti(int x,int y,int w,int h) {} void gl_font(int fontid, int size) {} int gl_height() {return 0;} int gl_descent() {return 0;} double gl_width(const char *) {return 0.0;} double gl_width(const char *, int n) {return 0.0;} double gl_width(uchar) {return 0.0;} void gl_draw(const char*) {} void gl_draw(const char*, int n) {} void gl_draw(const char*, int x, int y) {} void gl_draw(const char*, float x, float y) {} void gl_draw(const char*, int n, int x, int y) {} void gl_draw(const char*, int n, float x, float y) {} void gl_draw(const char*, int x, int y, int w, int h, Fl_Align) {} void gl_measure(const char*, int& x, int& y) {} void gl_draw_image(const uchar *, int x,int y,int w,int h, int d=3, int ld=0) {} void glLoadIdentity( ) {} void glRecti( int x1, int y1, int x2, int y2 ) {} void glViewport( int x, int y, int width, int height ) {} void glClear( int mask ) {} void glColor3f( float red, float green, float blue ) {} void glBegin( int mode ) {} void glEnd( void ) {} void glVertex3f( float x, float y, float z ) {} pyFltk-1.3.0/src/CallbackStruct.h0000644000175100017510000000144711237640155015253 0ustar heldheld// This struct manages callbacks into Python. It is stored as the // user data portion of a widget, and the PythonCallback function is // set as the callback. PythonCallback unmarshalls the pointer to // the Python function and Python user data and calls back into // Python. // #ifndef CallbackStruct_h #define CallbackStruct_h #include class CallbackStruct { public: PyObject *func; PyObject *data; PyObject *widget; void *type; PyObject *link; CallbackStruct( PyObject *theFunc, PyObject *theData, PyObject *theWidget, PyObject *theLink = 0): func(theFunc), data(theData), widget(theWidget) {} CallbackStruct( PyObject *theFunc, PyObject *theData, void *theType): func(theFunc), data(theData), widget(0), type(theType) {} }; #endif pyFltk-1.3.0/README0000644000175100017510000000311211651413317012257 0ustar heldheldpyFLTK: Python Wrapper for the FLTK library. -------------------------------------------- GOALS: o To wrap FLTK in Python o To develop a parser to read Fluid's FL files and generate Python code. o To port all programs in test/ to Python using pyFLTK If you'd like to help out, I'd suggest using the pyfltk mailing list (at the bottom) to coordinate who's working on what. 1) This wrapper requires: -SWIG 2.0.4 or later (only for rebuilding) -Python 2.7 or later -Fast Light Toolkit 1.3.0 or later 2) Restrictions At present, the Python wrapper has been ported and a first alpha release of flconvert is available. 3) To build the wrappers do the following: (see INSTALL for more details): python setup.py build python setup.py install You might have to edit setup.py to fit your platform. 4) 'cd fltk/test; python hello.py' to run a python test. o ./test contains demo programs from the FLTK distribution reimplemented in Python. For Python, you can run ./test/demos.py for a little menu of the demos On the web: ----------- pyFLTK home page: http://pyfltk.sourceforge.net Leads: ------ Python: Andreas Held a.held@computer.org Mailing List: ------------- http://lists.sourceforge.net/lists/listinfo/pyfltk-user Thanks: ------ Especial thanks to Kevin Dalhausen, the originator of pyFLTK. He did such a good job, the rest was easy. Many thanks to the creators of fltk (www.fltk.org), the best, fastest and lightest toolkit there is! Finally, not to forget the creators of SWIG (www.swig.org) a unique tool for doing what I've done here. pyFltk-1.3.0/TODO0000644000175100017510000000101511237640160012065 0ustar heldheldTODO/BUGS: Fl: o wrapping of Fl.add_fd is missing, is it really needed? General: o Fl_Window icon(const void *ic) needs mapping - tbv o test Fl_Browser::text(1,"") - tbv o fl_draw: remap function ptrs - tbv flconvert: o flconvert: fix recursion error when adding image to menuitem o flconvert: can't indent source code in 'extra code' for a widget o fix flconvert so that it handles value() - see dial test Python: o map Fl_Wrapper get_mouse params as output - tbv Perl: o not supported anymore pyFltk-1.3.0/distutils_mod.py0000644000175100017510000000347611237640160014647 0ustar heldheld#purpose: a few changes to distutils to build betterer. # - fixes up paths when using msys. # # import os import distutils.cygwinccompiler distutils.cygwinccompiler.oldMingw32CCompiler= distutils.cygwinccompiler.Mingw32CCompiler """ Should put the above imports at the top of your file. and after them put import distutils_mods distutils.cygwinccompiler.Mingw32 = distutils_mods.mingcomp """ from distutils.errors import DistutilsExecError class mingcomp(distutils.cygwinccompiler.oldMingw32CCompiler): def spawn(self, cmd): """ Because spawn uses a straight call to the systems underlying shell, bypassing the string handling goodness of mingw/msys something gets fubared. So this little hack method was put in its place. """ self.verbose = 1 if self.verbose: print "cmd :%s:" % cmd cmpl = " ".join(cmd) cmpl = cmpl.replace("\\", "/") cmpl = cmpl.replace("c:", "/c") cmpl = cmpl.replace("C:", "/c") #cmpl = cmpl.replace("gcc", "gcc -g ") if self.verbose: print "cmpl is :%s:" % cmpl if not self.dry_run: import tempfile tmpfn = tempfile.mktemp(suffix='run_compiler') tmpf = open(tmpfn, "w+b") tmpf.write(cmpl) tmpf.close() r = os.system("sh %s" % tmpfn) os.remove(tmpfn) if r != 0: raise DistutilsExecError, \ "command '%s' failed with exit status :%d: command was :%s:. " % (cmd[0], r, cmpl) if self.verbose: print "return value of the compile command is :%s:" % r distutils.cygwinccompiler.Mingw32CCompiler= mingcomp pyFltk-1.3.0/CHANGES0000644000175100017510000004152211577513234012407 0ustar heldheld29/08/11: ah Fixed bug 3311189 Fixed problem with refcounting in user_data() 26/01/11: ah Released V1.3.0rc1, supporting fltk-1.3.0rc3 25/01/11: ah Fixed compilation issues with MinGW. 22/01/11: ah Replaced contributed Fl_Table by version in fltk-1.3.0. 10/01/11: ah Added printing support. 07/01/11: ah Added support for Fl_Tree. 30/12/10: ah Added utf8 support. 16/04/10: ah Fixed bug 2980781 and similar problems in ListSelect.cpp and Fl_Text_Buffer.i 04/01/10: ah Released V1.1.5, supporting fltk-1.1.10 21/12/09: ah Fixed error output for director exceptions. 25/09/09: ah Fixed list initialisation for demoy.py 25/09/09: ah Fixed problem with missing gl headers. 19/08/09: ah Fixed bug 2826711 24/04/09: ah Fixed changed interfaces for swig 1.3.39, these changes are not compatible with older versions. 07/04/09: ah Fixes for OSX compilation, courtesy of Aaron R. 23/03/09: ah Fixed bug #2692286. 27/11/09: ah Fixed bug #2327070 27/10/08: ah Fixed callback in test/image.py. 21/10/08: ah Fixed bug #2180764, modify callback are now properly attributed to text buffers. 08/10/08: ah Fixed memory leak in Fl_Gl_Window::valid(). 15/09/08: ah Fixed problems with destructors in preferences.py Added new overloads for Fl_Preferences.set 03/09/08: ah Added new box types to Enumerations.i 07/02/08: ah Added wrappers for add_fd and remove_fd and test file. 26/11/08: Added new test program. 12/11/07: ah Bug 1783049: Added internal reference to label in order to cheat garbage collection. 11/09/07: ah Releaseed pyFltk-1.1.2! 05/09/07: ah Extended Fl_Gl_Window by method drawPixels, courtesy of David McNab. 05/09/07: ah Added test/glimage.py, courtesy of David McNab. 03/09/07: ah Added wrapper for gl_draw_image. 11/09/07: ah Released pyFltk-1.1.2! 27/08/07: ah Fixed memory problem in Fl_Widget.label. We now alwys use copy_label internally. 15/08/07: ah Implemented interactive usage. See docs/CH2_Basics.html for some comments on how to use the interactive mode (Patch ID 1767434). 04/07/07: ah Ignoring Fl_File_Chooser::recsan_keep_filename (Bug ID 1746335). 18/06/07: ah Finalized support for Python objects in callbacks. 29/05/07: ah Added support for Python classes in callbacks. 22/05/07: ah Fixed Unix build issue when FLTK_HOME is not set and fltk has been installed in default location (/usr). 18/05/07: ah Changed distribution to use proper package name "fltk". Documentation and test scripts are now installed inside of package "fltk". 15/05/07: ah Added docstrings to most FLTK classes -> improved reference manual. 02/05/07: ah Major documentation overhaul. Auto-generated reference manual has been included. 27/02/07: ah Fixed compilation issue with MinGW, it is now possible to use FLTK default installation. 22/02/07: ah Fixed bug in test/table.py. 26/01/07: ah Fixed call to fltk-config in MakeSwig.py. 21/12/06: ah Added docs/subclassing.html and docs/opengl.htnml. 04/12/06: ah Implemented wrapping for fl_yes_set, fl_no_set, fl_ok_set, fl_cancel_set, and fl_close_set, with respective getters as well. Added test/message_de.py. 01/12/06: ah Added docs/drawing.html and docs/events.html. Fixed wrapping of fl_clip_box() and fl_measure(). 29/11/06: ah Added test/unittests.py 17/11/06: ah Released pyFltk-1.1.1! 16/11/06: ah Fixed memory leak in Fl_Preferences result strings. 15/11/06: ah Added V3.12 of Fl_Table, courtesy by Gregg Ercolano. Note: the syntax of find_cell has changed, the parameters X, Y, W, H are now output only (used to be in/out). 12/11/06: ah Added some documentation, see docs/preface.html! 12/11/06: ah Added test/editor.py and test/simple_table.py. 12/11/06: ah Implemented Fl_Text_Display.highlight_data. 08/11/06: ah Fixed bug in Fl_Text_Buffer.remove_modify_callback() 08/11/06: ah Added possibility to register multiple modify callbacks with Fl_text_Buffer. 08/11/06: ah Fixed missing output parameter for Fl_Text_Buffer: findchar_forward, findchar_backward, search_forward, search_backward, etc 02/11/06: ah Released pyFltk-1.1.1RC3 02/11/06: ah Fixed compilation issue for MinGW (wrongly linked with msvcrt instead of mscvr71). 23/10/06: ah Fixed compilation issue for g++ 4.1.1 (ListSelect). 18/10/06: ah Released pyFltk-1.1.1RC2 14/08/06: ah Added typemap to convert Fl_Button.value() from char to int. 09/08/06: ah Added funtion mt_run. Added wrappings for Fl.repeat_timeout and Fl.remove_timeout. 24/07/06: ah Fixed bug in OpenGL part of compilation. 11/07/06: ah Fixed Cygwin compilation issue by adding -DNOMINMAX. 06/06/06: ah Redesigned memory management. Removed post-processing step and added all memory management to interface files. Ownership of objects should now be properly transferred between fltk and Python. 22/05/06: ah Added interface files to distribution. 18/05/06: ah Added auto configuration to setup.py. Missing OpenGL and Forms libraries should be recognized now. Added command line switches --disable-gl and --disable-forms to setup.py Added stubs for missing OpenGL and Forms libraries. Added compilation support for Sun Solaris. 22/02/06: ah Released pyFltk-1.1.0 Added wrapper for Fl_File_Browser::load() Ignored fl_filename_list and sorting functions. 20/02/06: ah Fixed problems with varargs in fl_ask.i Added multi-threading safe version of pop-ups (fl_ask, etc) 16/02/06: ah Changed to SWIG's support for threading. Added docstring to fltk.i Adjusted test files for swig-1.3.28/29 (simplified proxy classes). 15/02/06: ah Due to bug in swig-1.3.28 we need to switch to swig-1.3.29! Added compile switch DO_NOT_USE_THREADS to setup.py, recognizing whether FLTK was compiled with threads enabled (linux only). Added SWIG command line switch -O for swig-1.3.28 (full optimization). Conditionally wrapped Fl thread methods. Added support for UTL (swig-1.3.28). 27/01/06: ah Fixed missing keyboard events in handle_events.py. 26/01/06: ah Added sudoku.py, a port of Michael Sweet's sudoku game for FLTK. 25/01/06: ah Added threads.py, a multi-threading example script. 18/01/06: ah Added wrapping for Fl_Spinner and Fl_Input_Choice from fltk-1.1.7 Added test code to test/menubar.py Added DragAndDrop.py, a test script for drag'n'drop. 17/01/06: ah Added test program for drag and drop. 13/01/06: ah Released pyFltk-1.1RC2 09/01/06: ah Fixed memory problem with pixmaps. 22/11/05: ah Added support for user defined widgets. Cleaned up wrapping of Fl_Color. Added patch from David McNab to force using g++ on Linux. 18/11/05: ah Wrapped Fl.add_check and Fl.remove_check. Fixed overload of Fl_Browser.data. 8/11/05: ah Added overloaded Fl_Browser::data 7/11/05: ah Added wrapping for Fl::add_handler and Fl::remove_handler. 7/10/05: ah Added wrapping of Fl_Help_View.link 1/10/05: ah Added proper wrappings for Fl_Preferences. Returned ownership of Fl_Preferences to Python. 17/08/05: ah Checked in V3.10 of Fl_Table, courtesy of Gregg Ercolano. 24/06/05: ah Major changes to use Swig's director features. This will allow for subclassing all widgets from Python. 02/04/05: ah Created script MakeSwig.py instead of shell script. 12/11/04: ah Released pyfltk-1.1.b3 02/11/04: ah Tested successfully with fltk-1.1.5. 27/10/04: ah Fixed error in typemap for Fl_Image, Fl_Bitmap, and fl_draw. 08/09/04: ah Removed polymorphisms for Fl_Pack due to intermittent problems. Fixed bug in setup.py 08/08/04: ah Added Fl_Menu_Item::callback and Fl_Menu_Item::user_data. 08/08/04: ah Added Fl_Menu_::menu, returning a Python list of the complete menu structure. 08/05/04: ah Added overload of Fl_Pack::handle, Fl_Pack::draw, Fl_Pack::resize, Fl_Group::handle, Fl_Group::draw, Fl_Group::resize. 08/05/04: ah Added test/draw.py, courtesy of G. Lielens. Added some ignores to fl_draw.i to avoid type mismatches. 08/05/04: ah Added overload of Fl_Widget::resize 08/03/04: ah Added new constructor typemap for Fl_Image and Fl_Bitmap, allowing array data to be used for initialisation. Courtesy of G. Lielens 08/03/04: ah Added support for FL_MOVE event. Courtesy of G. Lielens. 07/08/04: ah Added polymorphisms for Fl_Scroll class. Added some fixes to setup.py 01/24/04: ah Added Fl_Text_Buffer::add_modify_callback. 11/26/03: ah Merged setup_mingw.py and setup.py into setup.py. 11/25/03: ah Added darwin setup from M. Parent to setup.py. 11/21/03: ah Added auto-configuration to setup.py. A call to fltk-config will find out about additional libraries used. 11/10/03: Released Version 1.1b2 11/10/03: ah Switched to more standard distutils scripts. 10/28/03: ah Fixed bug in test/delwin.py 10/28/03: ah Fixed bugs in Fl_Single_Window.handle and Fl_Double_Window.handle 10/21/03: ah Cleaned up and added missing polymorphisms in Fl_Single_Window and Fl_Double_Window. 10/20/03: ah Intergrated the table widgets Fl_Table and Fl_Table_Row which were contributed by Greg Ercolano. Added test file table.py. 10/13/03: ah Some minor adjsutments for Python23. 10/13/03: ah Added Fl_Menu_.menu as another name for Fl_Menu_.copy. Updated documentation. 9/30/03: ah Fixed bug in Fl_Browser.add. 9/30/03: ah New call for Fl_Window.show(sys.argv) is now possible. 9/30/03: ah Added cross-language polymorphism for Fl_Gl_Window.handle. Cleaned up Fl_Gl_Window.draw. 9/29/03: ah Added setup_mingw.py. 9/29/03: ah Setup.py now reverts to default paths when environment variables are not set. 9/29/03: ah Fixed bug in Fl_Browser.i, resolves bug in file_chooser.py. 9/22/03: ah Fixed test/cube.py. 9/12/03: ah Properly defined label types: FL_SYMBOL_LABEL, FL_SHADOW_LABEL, FL_EMBOSSED_LABEL, FL_ENGRAVED_LABEL. 9/11/03: ah setup.py for Win32 now links against opengl32, rather than opengl. 9/10/03: ah Fl_Widget.callback now returns proper widget type. Widget casts are now deprecated and no longer needed. 8/27/03: ah Added fl_xid to obtain handle of a window. 7/31/03: ah Added Fl_Menu_.copy and Fl_Menu_.add to set menus. setMenu is now deprecated. 7/25/03: ah Updated documentation. Added files for pyFLTK2. 7/16/03: ah Eliminated need for setting thisown=0 for every widget. This is now done in the contsructor of the proxy class. 7/14/03: ah Fixed nasty bug that led to stack overflow on handling polymorphisms in classes Fl_Box and Fl_Widget. 7/11/03: ah Added polymorphism for Fl_Overlay_Window::draw_overlay Added some type casts. Added method getScrollbar to Fl_Scroll. Added method getScrollbar to Fl_Browser_. 6/24/03: ah Added polymorphism for Fl_Widget::handle. Added test/handle_events.py for testing event handling using Fl_Widget. 6/20/03: ah Added polymorphism for Fl_Box::draw Created new cross-platform setup script setup.py 6/18/03: ah Added contrib/ListSelect.h/.cpp, and test/listSelect.py 6/18/03: ah Fixed test/doublebuffer.py 6/16/03: ah Applied patch 742665: Fl_Browser.column_widths(). Added test file test/browser_cols.py Thanks to Jerome Laheurte. 6/15/03: ah Fixed patch (bug) 745651: add_timeout without user data. 6/13/03: ah Fixed several problems with test files: delwin.py, dials.py, help.py 6/11/03: ah Cleaned up defines for boxtypes. See file test/boxtype.py for examples. 6/5/03: ah Overloaded method draw for FL_Single_Window and Fl_Double_Window. 5/20/03: ah Fixed bug in Fl_Adjuster (adjuster.py) that prevented the adjuster from being updated. 5/13/03: ah New version for fltk-1.1 and Python 2.2. Much has changed, especially in swig, so consider it a new package. 11/15/00: Gideon May : To the flconvert program: - all the binary object options are added to the optionValueFix - added down_box and shortcut objects - corrected the Radio and Toggle type object for buttons - added Multiline text input widget Adam Goldman : Changes from Adam: The overload.pl from pyFLTK_20000309_140830 seems to generate code that does the wrong thing when given an empty (but defined) string. Attached is a replacement. I don't really understand how the whole overloading thing is supposed to work but this seems to be an improvement. 3/9/00: KPD added Anders Eriksson's Visual C++ makefile 1/25/99: KPD fixed bug in Fl_Pixmap typemap added to toggle tree demo, still not ready for prime time 1/24/99: KPD minor changes in the way overloading works began implemenenting toggle tree support 1/21/00 KPD added ability include/exclude contributed widgets via configure added ability include/exclude Open-GL support via configure 1/11/00 KPD Automated Python wrapper installation 1/8/00 KPD fixed test/boxtype.py, test/PyAppWithGUI added to INSTALL file 1/7/00 KPD added flconvert support for declarations and classes added ifdef Python sentries to browser changes added demo runner test/demos.py fixed browser data bug 1/6/00 KPD added data support to browser, still needs some work to handle arbritary script object types 1/4/00 KPD updated README reorganized notes added test/PyAppWithGUI changed fluid parser to allow scoped indentifiers 12/29/99 KPD fixed Python Menu callback bug - menus weren't using the new CallBackStruct fixed MS-Windows build fixed function return values in src/Fl_Wrapper in swig/py_timeout.i: MS VCC couldn't handle pointer initializaition, had to change to assignment removed default paramter value from contrib/Check_Browser.cc removed test/arc.py because it can't work with the current system - no way to subclass a widget in Python yet 11/19/99 KPD fixed Python Fl_Widget callbacks to make them work with data 11/16/99 KPD fixed runtime Python problems 11/15/99 KPD moved static Fl:: functions to Fl. in Python, so Fl_add_idle is actually Fl.add_idle( added Fl_Pixmap, Fl_FormsPixmap 11/12/99 KPD added fl_show_colormap, Fl_Image, see test/color_chooser.py fixed bug in Python idle processing where it wouldn't work if fltk was loaded via 'import fltk', instead of 'from fltk import *' 11/9/99 KPD added Fl_FormsBitmap, see test/formsbitmap.py 11/8/99 KPD added Fl_Positioner, see test/positioner.py added Fl_Bitmap, see test/bitmap.py 11/5/99 KPD added idle callbacks for Python, see test/idle.py added timer callbacks for Python, see test/timeout.py 11/4/99 KPD added Check_Browser, test/check_browser.py 11/3/99 KPD fixed win 32 gnu-cygwin vcc build added fl_ask.h functions, test/message.py 11/2/99 KPD improved handling of object options in util/flconvert/Code_py.py 11/1/99 KPD added Fl_Adjuster and subclasses, .cvsignore files added Fl_Scrollbar, Fl_Value_Ouput, test/valuators.fl 10/29/99 KPD added Fl_chart, test/chart.p[yl] 10/28/99 KPD Added remaining python overloads for Fl.i 10/20/99 MCK added autoconf'ed makefile. makefile now supports compilation on IRIX, OSF1, SunOS in addition to Linux, but is untested on those platforms. set up remote cvs repository. 6/18/99 KPD added -fPIC to the compiler flags fixed the Python test scripts (# ctor parameters to Fl_Window changed) added .errorfile to 'make clean' (it comes from testing within vim) changed tarball structure to have a date/time stamped directory in front of the files 6/10/99 KPD added util/flconvert to distribution fixed overload.dta::hotspot 5/19/99 KPD fixed test/symbols.py added intial support of src/ListSelect added Fl_Multi/Hold_Browsers 5/13/99 KPD added Python support for Fl_Menu_.copy, used to set menus. added test/menubar.py 5/6/99 MCK created a typemap of Fl_Menu_Item for perl doesn't work right though (see notes) removed commented out functions that didn't work in Fl_Menu_.i 4/21/99 MCK added all menu related classes except Fl_Choice added pmAdd() to swig/Fl_Menu_.i added test/menu.pl made an html version of POD docs util/pmfltk.html 4/20/99 MCK typemapped int, short, and long for perl added overload/overload.pl and overload/overperl.dta all current overloaded functions are now supported in Perl, but not heavily stress tested editted Makefile to run Perl overloading updated POD docs 4/3/99 MCK finished of Fl_Button classes restored test/widgets.pl to working order fixed test/pack.pl to mimic pack.py added test/tabs.pl 4/2/99 MCK started POD documentation for perl. commented out browser->add() calls in test/widgets.pl to stop it from core dumping till fixed added test/multi.pl - shows all the new input widgets added remaining Input and Output classes Fl_Multiline_Input, Fl_Secret_Input, Fl_Int_Input, Fl_Float_Input, and Fl_Multiline_Output fixed perl callbacks - added pmCallback method in Fl_Widget.i typemapped char * & const char * for Perl, fixed label values added test/pack.pl rewrote test/hello.pl to mimic hello.py 4/2/99 KPD added Tab, Browser_, removed show(int,char**) from Double_Window 4/2/99 KPD overloaded of Fl_Group::resizable(). In Python must use x.resizable( window.this ), in Perl, $window->resizable1($window); cleaned up lots of warnings 4/1/99 KPD rm test/*.pyc in clean target added to Fl_Widget, Fl_Browser added test/widget.py pyFltk-1.3.0/python/0000755000175100017510000000000011651415004012716 5ustar heldheldpyFltk-1.3.0/python/readme0000644000175100017510000000177211237640155014114 0ustar heldheldHow to compile the project (for developers): Let us denote the root directory of the pyFltk distribution as $PYFLTK. This is the directory where you downloaded the CVs version to. 1) Run python MakeSwig.py in the directory $PYFLTK/python. This will run SWIG on the interface files and create the actual wrapper code. In general fltk will be searched for on the path. If you want to override the default installation of fltk, then you have to set the environment variable FLTK_HOME to do so. This is also advisable if you are using MinGW. 2) Change to the root directory of the pyfltk distribution $PYFLTK and run python setup.py build and/or python setup.py install. This will compile and install the python wrapper and the dll. For MinGW32 you have to run python setup.py build -cmingw32 install instead. That's all! This has been tested and designed for Linux and Windows with MinGW. With another OS your mileage might vary. Requirements: swig-1.3.30 or later (for Python 2.5) April 2, 2005, a. held pyFltk-1.3.0/python/fltk_wrap.cpp0000644000175100017510002271750111651413735015443 0ustar heldheld/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.4 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make * changes to this file unless you know what you are doing--modify the SWIG * interface file instead. * ----------------------------------------------------------------------------- */ #define SWIGPYTHON #define SWIG_DIRECTORS #define SWIG_PYTHON_DIRECTOR_NO_VTABLE #ifdef __cplusplus /* SwigValueWrapper is described in swig.swg */ template class SwigValueWrapper { struct SwigMovePointer { T *ptr; SwigMovePointer(T *p) : ptr(p) { } ~SwigMovePointer() { delete ptr; } SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } } pointer; SwigValueWrapper& operator=(const SwigValueWrapper& rhs); SwigValueWrapper(const SwigValueWrapper& rhs); public: SwigValueWrapper() : pointer(0) { } SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; } operator T&() const { return *pointer.ptr; } T *operator&() { return pointer.ptr; } }; template T SwigValueInit() { return T(); } #endif /* ----------------------------------------------------------------------------- * This section contains generic SWIG labels for method/variable * declarations/attributes, and other compiler dependent labels. * ----------------------------------------------------------------------------- */ /* template workaround for compilers that cannot correctly implement the C++ standard */ #ifndef SWIGTEMPLATEDISAMBIGUATOR # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) # define SWIGTEMPLATEDISAMBIGUATOR template # elif defined(__HP_aCC) /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ # define SWIGTEMPLATEDISAMBIGUATOR template # else # define SWIGTEMPLATEDISAMBIGUATOR # endif #endif /* inline attribute */ #ifndef SWIGINLINE # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) # define SWIGINLINE inline # else # define SWIGINLINE # endif #endif /* attribute recognised by some compilers to avoid 'unused' warnings */ #ifndef SWIGUNUSED # if defined(__GNUC__) # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) # define SWIGUNUSED __attribute__ ((__unused__)) # else # define SWIGUNUSED # endif # elif defined(__ICC) # define SWIGUNUSED __attribute__ ((__unused__)) # else # define SWIGUNUSED # endif #endif #ifndef SWIG_MSC_UNSUPPRESS_4505 # if defined(_MSC_VER) # pragma warning(disable : 4505) /* unreferenced local function has been removed */ # endif #endif #ifndef SWIGUNUSEDPARM # ifdef __cplusplus # define SWIGUNUSEDPARM(p) # else # define SWIGUNUSEDPARM(p) p SWIGUNUSED # endif #endif /* internal SWIG method */ #ifndef SWIGINTERN # define SWIGINTERN static SWIGUNUSED #endif /* internal inline SWIG method */ #ifndef SWIGINTERNINLINE # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE #endif /* exporting methods */ #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) # ifndef GCC_HASCLASSVISIBILITY # define GCC_HASCLASSVISIBILITY # endif #endif #ifndef SWIGEXPORT # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) # if defined(STATIC_LINKED) # define SWIGEXPORT # else # define SWIGEXPORT __declspec(dllexport) # endif # else # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) # define SWIGEXPORT __attribute__ ((visibility("default"))) # else # define SWIGEXPORT # endif # endif #endif /* calling conventions for Windows */ #ifndef SWIGSTDCALL # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) # define SWIGSTDCALL __stdcall # else # define SWIGSTDCALL # endif #endif /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) # define _CRT_SECURE_NO_DEPRECATE #endif /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) # define _SCL_SECURE_NO_DEPRECATE #endif /* Python.h has to appear first */ #include /* ----------------------------------------------------------------------------- * swigrun.swg * * This file contains generic C API SWIG runtime support for pointer * type checking. * ----------------------------------------------------------------------------- */ /* This should only be incremented when either the layout of swig_type_info changes, or for whatever reason, the runtime changes incompatibly */ #define SWIG_RUNTIME_VERSION "4" /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ #ifdef SWIG_TYPE_TABLE # define SWIG_QUOTE_STRING(x) #x # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) #else # define SWIG_TYPE_TABLE_NAME #endif /* You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for creating a static or dynamic library from the SWIG runtime code. In 99.9% of the cases, SWIG just needs to declare them as 'static'. But only do this if strictly necessary, ie, if you have problems with your compiler or suchlike. */ #ifndef SWIGRUNTIME # define SWIGRUNTIME SWIGINTERN #endif #ifndef SWIGRUNTIMEINLINE # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE #endif /* Generic buffer size */ #ifndef SWIG_BUFFER_SIZE # define SWIG_BUFFER_SIZE 1024 #endif /* Flags for pointer conversions */ #define SWIG_POINTER_DISOWN 0x1 #define SWIG_CAST_NEW_MEMORY 0x2 /* Flags for new pointer objects */ #define SWIG_POINTER_OWN 0x1 /* Flags/methods for returning states. The SWIG conversion methods, as ConvertPtr, return an integer that tells if the conversion was successful or not. And if not, an error code can be returned (see swigerrors.swg for the codes). Use the following macros/flags to set or process the returning states. In old versions of SWIG, code such as the following was usually written: if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { // success code } else { //fail code } Now you can be more explicit: int res = SWIG_ConvertPtr(obj,vptr,ty.flags); if (SWIG_IsOK(res)) { // success code } else { // fail code } which is the same really, but now you can also do Type *ptr; int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); if (SWIG_IsOK(res)) { // success code if (SWIG_IsNewObj(res) { ... delete *ptr; } else { ... } } else { // fail code } I.e., now SWIG_ConvertPtr can return new objects and you can identify the case and take care of the deallocation. Of course that also requires SWIG_ConvertPtr to return new result values, such as int SWIG_ConvertPtr(obj, ptr,...) { if () { if () { *ptr = ; return SWIG_NEWOBJ; } else { *ptr = ; return SWIG_OLDOBJ; } } else { return SWIG_BADOBJ; } } Of course, returning the plain '0(success)/-1(fail)' still works, but you can be more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the SWIG errors code. Finally, if the SWIG_CASTRANK_MODE is enabled, the result code allows to return the 'cast rank', for example, if you have this int food(double) int fooi(int); and you call food(1) // cast rank '1' (1 -> 1.0) fooi(1) // cast rank '0' just use the SWIG_AddCast()/SWIG_CheckState() */ #define SWIG_OK (0) #define SWIG_ERROR (-1) #define SWIG_IsOK(r) (r >= 0) #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) /* The CastRankLimit says how many bits are used for the cast rank */ #define SWIG_CASTRANKLIMIT (1 << 8) /* The NewMask denotes the object was created (using new/malloc) */ #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) /* The TmpMask is for in/out typemaps that use temporal objects */ #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) /* Simple returning values */ #define SWIG_BADOBJ (SWIG_ERROR) #define SWIG_OLDOBJ (SWIG_OK) #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) /* Check, add and del mask methods */ #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) /* Cast-Rank Mode */ #if defined(SWIG_CASTRANK_MODE) # ifndef SWIG_TypeRank # define SWIG_TypeRank unsigned long # endif # ifndef SWIG_MAXCASTRANK /* Default cast allowed */ # define SWIG_MAXCASTRANK (2) # endif # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) SWIGINTERNINLINE int SWIG_AddCast(int r) { return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; } SWIGINTERNINLINE int SWIG_CheckState(int r) { return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; } #else /* no cast-rank mode */ # define SWIG_AddCast # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) #endif #include #ifdef __cplusplus extern "C" { #endif typedef void *(*swig_converter_func)(void *, int *); typedef struct swig_type_info *(*swig_dycast_func)(void **); /* Structure to store information on one type */ typedef struct swig_type_info { const char *name; /* mangled name of this type */ const char *str; /* human readable name of this type */ swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ struct swig_cast_info *cast; /* linked list of types that can cast into this type */ void *clientdata; /* language specific type data */ int owndata; /* flag if the structure owns the clientdata */ } swig_type_info; /* Structure to store a type and conversion function used for casting */ typedef struct swig_cast_info { swig_type_info *type; /* pointer to type that is equivalent to this type */ swig_converter_func converter; /* function to cast the void pointers */ struct swig_cast_info *next; /* pointer to next cast in linked list */ struct swig_cast_info *prev; /* pointer to the previous cast */ } swig_cast_info; /* Structure used to store module information * Each module generates one structure like this, and the runtime collects * all of these structures and stores them in a circularly linked list.*/ typedef struct swig_module_info { swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ size_t size; /* Number of types in this module */ struct swig_module_info *next; /* Pointer to next element in circularly linked list */ swig_type_info **type_initial; /* Array of initially generated type structures */ swig_cast_info **cast_initial; /* Array of initially generated casting structures */ void *clientdata; /* Language specific module data */ } swig_module_info; /* Compare two type names skipping the space characters, therefore "char*" == "char *" and "Class" == "Class", etc. Return 0 when the two name types are equivalent, as in strncmp, but skipping ' '. */ SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2) { for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { while ((*f1 == ' ') && (f1 != l1)) ++f1; while ((*f2 == ' ') && (f2 != l2)) ++f2; if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; } return (int)((l1 - f1) - (l2 - f2)); } /* Check type equivalence in a name list like ||... Return 0 if not equal, 1 if equal */ SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb) { int equiv = 0; const char* te = tb + strlen(tb); const char* ne = nb; while (!equiv && *ne) { for (nb = ne; *ne; ++ne) { if (*ne == '|') break; } equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; if (*ne) ++ne; } return equiv; } /* Check type equivalence in a name list like ||... Return 0 if equal, -1 if nb < tb, 1 if nb > tb */ SWIGRUNTIME int SWIG_TypeCompare(const char *nb, const char *tb) { int equiv = 0; const char* te = tb + strlen(tb); const char* ne = nb; while (!equiv && *ne) { for (nb = ne; *ne; ++ne) { if (*ne == '|') break; } equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; if (*ne) ++ne; } return equiv; } /* Check the typename */ SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty) { if (ty) { swig_cast_info *iter = ty->cast; while (iter) { if (strcmp(iter->type->name, c) == 0) { if (iter == ty->cast) return iter; /* Move iter to the top of the linked list */ iter->prev->next = iter->next; if (iter->next) iter->next->prev = iter->prev; iter->next = ty->cast; iter->prev = 0; if (ty->cast) ty->cast->prev = iter; ty->cast = iter; return iter; } iter = iter->next; } } return 0; } /* Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison */ SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) { if (ty) { swig_cast_info *iter = ty->cast; while (iter) { if (iter->type == from) { if (iter == ty->cast) return iter; /* Move iter to the top of the linked list */ iter->prev->next = iter->next; if (iter->next) iter->next->prev = iter->prev; iter->next = ty->cast; iter->prev = 0; if (ty->cast) ty->cast->prev = iter; ty->cast = iter; return iter; } iter = iter->next; } } return 0; } /* Cast a pointer up an inheritance hierarchy */ SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) { return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory); } /* Dynamic pointer casting. Down an inheritance hierarchy */ SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { swig_type_info *lastty = ty; if (!ty || !ty->dcast) return ty; while (ty && (ty->dcast)) { ty = (*ty->dcast)(ptr); if (ty) lastty = ty; } return lastty; } /* Return the name associated with this type */ SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty) { return ty->name; } /* Return the pretty name associated with this type, that is an unmangled type name in a form presentable to the user. */ SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type) { /* The "str" field contains the equivalent pretty names of the type, separated by vertical-bar characters. We choose to print the last name, as it is often (?) the most specific. */ if (!type) return NULL; if (type->str != NULL) { const char *last_name = type->str; const char *s; for (s = type->str; *s; s++) if (*s == '|') last_name = s+1; return last_name; } else return type->name; } /* Set the clientdata field for a type */ SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { swig_cast_info *cast = ti->cast; /* if (ti->clientdata == clientdata) return; */ ti->clientdata = clientdata; while (cast) { if (!cast->converter) { swig_type_info *tc = cast->type; if (!tc->clientdata) { SWIG_TypeClientData(tc, clientdata); } } cast = cast->next; } } SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { SWIG_TypeClientData(ti, clientdata); ti->owndata = 1; } /* Search for a swig_type_info structure only by mangled name Search is a O(log #types) We start searching at module start, and finish searching when start == end. Note: if start == end at the beginning of the function, we go all the way around the circular list. */ SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name) { swig_module_info *iter = start; do { if (iter->size) { register size_t l = 0; register size_t r = iter->size - 1; do { /* since l+r >= 0, we can (>> 1) instead (/ 2) */ register size_t i = (l + r) >> 1; const char *iname = iter->types[i]->name; if (iname) { register int compare = strcmp(name, iname); if (compare == 0) { return iter->types[i]; } else if (compare < 0) { if (i) { r = i - 1; } else { break; } } else if (compare > 0) { l = i + 1; } } else { break; /* should never happen */ } } while (l <= r); } iter = iter->next; } while (iter != end); return 0; } /* Search for a swig_type_info structure for either a mangled name or a human readable name. It first searches the mangled names of the types, which is a O(log #types) If a type is not found it then searches the human readable names, which is O(#types). We start searching at module start, and finish searching when start == end. Note: if start == end at the beginning of the function, we go all the way around the circular list. */ SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name) { /* STEP 1: Search the name field using binary search */ swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); if (ret) { return ret; } else { /* STEP 2: If the type hasn't been found, do a complete search of the str field (the human readable name) */ swig_module_info *iter = start; do { register size_t i = 0; for (; i < iter->size; ++i) { if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) return iter->types[i]; } iter = iter->next; } while (iter != end); } /* neither found a match */ return 0; } /* Pack binary data into a string */ SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz) { static const char hex[17] = "0123456789abcdef"; register const unsigned char *u = (unsigned char *) ptr; register const unsigned char *eu = u + sz; for (; u != eu; ++u) { register unsigned char uu = *u; *(c++) = hex[(uu & 0xf0) >> 4]; *(c++) = hex[uu & 0xf]; } return c; } /* Unpack binary data from a string */ SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) { register unsigned char *u = (unsigned char *) ptr; register const unsigned char *eu = u + sz; for (; u != eu; ++u) { register char d = *(c++); register unsigned char uu; if ((d >= '0') && (d <= '9')) uu = ((d - '0') << 4); else if ((d >= 'a') && (d <= 'f')) uu = ((d - ('a'-10)) << 4); else return (char *) 0; d = *(c++); if ((d >= '0') && (d <= '9')) uu |= (d - '0'); else if ((d >= 'a') && (d <= 'f')) uu |= (d - ('a'-10)); else return (char *) 0; *u = uu; } return c; } /* Pack 'void *' into a string buffer. */ SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { char *r = buff; if ((2*sizeof(void *) + 2) > bsz) return 0; *(r++) = '_'; r = SWIG_PackData(r,&ptr,sizeof(void *)); if (strlen(name) + 1 > (bsz - (r - buff))) return 0; strcpy(r,name); return buff; } SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { if (*c != '_') { if (strcmp(c,"NULL") == 0) { *ptr = (void *) 0; return name; } else { return 0; } } return SWIG_UnpackData(++c,ptr,sizeof(void *)); } SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { char *r = buff; size_t lname = (name ? strlen(name) : 0); if ((2*sz + 2 + lname) > bsz) return 0; *(r++) = '_'; r = SWIG_PackData(r,ptr,sz); if (lname) { strncpy(r,name,lname+1); } else { *r = 0; } return buff; } SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { if (*c != '_') { if (strcmp(c,"NULL") == 0) { memset(ptr,0,sz); return name; } else { return 0; } } return SWIG_UnpackData(++c,ptr,sz); } #ifdef __cplusplus } #endif /* Errors in SWIG */ #define SWIG_UnknownError -1 #define SWIG_IOError -2 #define SWIG_RuntimeError -3 #define SWIG_IndexError -4 #define SWIG_TypeError -5 #define SWIG_DivisionByZero -6 #define SWIG_OverflowError -7 #define SWIG_SyntaxError -8 #define SWIG_ValueError -9 #define SWIG_SystemError -10 #define SWIG_AttributeError -11 #define SWIG_MemoryError -12 #define SWIG_NullReferenceError -13 /* Compatibility macros for Python 3 */ #if PY_VERSION_HEX >= 0x03000000 #define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type) #define PyInt_Check(x) PyLong_Check(x) #define PyInt_AsLong(x) PyLong_AsLong(x) #define PyInt_FromLong(x) PyLong_FromLong(x) #define PyString_Check(name) PyBytes_Check(name) #define PyString_FromString(x) PyUnicode_FromString(x) #define PyString_Format(fmt, args) PyUnicode_Format(fmt, args) #define PyString_AsString(str) PyBytes_AsString(str) #define PyString_Size(str) PyBytes_Size(str) #define PyString_InternFromString(key) PyUnicode_InternFromString(key) #define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE #define PyString_AS_STRING(x) PyUnicode_AS_STRING(x) #define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x) #endif #ifndef Py_TYPE # define Py_TYPE(op) ((op)->ob_type) #endif /* SWIG APIs for compatibility of both Python 2 & 3 */ #if PY_VERSION_HEX >= 0x03000000 # define SWIG_Python_str_FromFormat PyUnicode_FromFormat #else # define SWIG_Python_str_FromFormat PyString_FromFormat #endif /* Warning: This function will allocate a new string in Python 3, * so please call SWIG_Python_str_DelForPy3(x) to free the space. */ SWIGINTERN char* SWIG_Python_str_AsChar(PyObject *str) { #if PY_VERSION_HEX >= 0x03000000 char *cstr; char *newstr; Py_ssize_t len; str = PyUnicode_AsUTF8String(str); PyBytes_AsStringAndSize(str, &cstr, &len); newstr = (char *) malloc(len+1); memcpy(newstr, cstr, len+1); Py_XDECREF(str); return newstr; #else return PyString_AsString(str); #endif } #if PY_VERSION_HEX >= 0x03000000 # define SWIG_Python_str_DelForPy3(x) free( (void*) (x) ) #else # define SWIG_Python_str_DelForPy3(x) #endif SWIGINTERN PyObject* SWIG_Python_str_FromChar(const char *c) { #if PY_VERSION_HEX >= 0x03000000 return PyUnicode_FromString(c); #else return PyString_FromString(c); #endif } /* Add PyOS_snprintf for old Pythons */ #if PY_VERSION_HEX < 0x02020000 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) # define PyOS_snprintf _snprintf # else # define PyOS_snprintf snprintf # endif #endif /* A crude PyString_FromFormat implementation for old Pythons */ #if PY_VERSION_HEX < 0x02020000 #ifndef SWIG_PYBUFFER_SIZE # define SWIG_PYBUFFER_SIZE 1024 #endif static PyObject * PyString_FromFormat(const char *fmt, ...) { va_list ap; char buf[SWIG_PYBUFFER_SIZE * 2]; int res; va_start(ap, fmt); res = vsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap); return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf); } #endif /* Add PyObject_Del for old Pythons */ #if PY_VERSION_HEX < 0x01060000 # define PyObject_Del(op) PyMem_DEL((op)) #endif #ifndef PyObject_DEL # define PyObject_DEL PyObject_Del #endif /* A crude PyExc_StopIteration exception for old Pythons */ #if PY_VERSION_HEX < 0x02020000 # ifndef PyExc_StopIteration # define PyExc_StopIteration PyExc_RuntimeError # endif # ifndef PyObject_GenericGetAttr # define PyObject_GenericGetAttr 0 # endif #endif /* Py_NotImplemented is defined in 2.1 and up. */ #if PY_VERSION_HEX < 0x02010000 # ifndef Py_NotImplemented # define Py_NotImplemented PyExc_RuntimeError # endif #endif /* A crude PyString_AsStringAndSize implementation for old Pythons */ #if PY_VERSION_HEX < 0x02010000 # ifndef PyString_AsStringAndSize # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} # endif #endif /* PySequence_Size for old Pythons */ #if PY_VERSION_HEX < 0x02000000 # ifndef PySequence_Size # define PySequence_Size PySequence_Length # endif #endif /* PyBool_FromLong for old Pythons */ #if PY_VERSION_HEX < 0x02030000 static PyObject *PyBool_FromLong(long ok) { PyObject *result = ok ? Py_True : Py_False; Py_INCREF(result); return result; } #endif /* Py_ssize_t for old Pythons */ /* This code is as recommended by: */ /* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */ #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) typedef int Py_ssize_t; # define PY_SSIZE_T_MAX INT_MAX # define PY_SSIZE_T_MIN INT_MIN typedef inquiry lenfunc; typedef intargfunc ssizeargfunc; typedef intintargfunc ssizessizeargfunc; typedef intobjargproc ssizeobjargproc; typedef intintobjargproc ssizessizeobjargproc; typedef getreadbufferproc readbufferproc; typedef getwritebufferproc writebufferproc; typedef getsegcountproc segcountproc; typedef getcharbufferproc charbufferproc; static long PyNumber_AsSsize_t (PyObject *x, void *SWIGUNUSEDPARM(exc)) { long result = 0; PyObject *i = PyNumber_Int(x); if (i) { result = PyInt_AsLong(i); Py_DECREF(i); } return result; } #endif #if PY_VERSION_HEX < 0x02040000 #define Py_VISIT(op) \ do { \ if (op) { \ int vret = visit((op), arg); \ if (vret) \ return vret; \ } \ } while (0) #endif #if PY_VERSION_HEX < 0x02030000 typedef struct { PyTypeObject type; PyNumberMethods as_number; PyMappingMethods as_mapping; PySequenceMethods as_sequence; PyBufferProcs as_buffer; PyObject *name, *slots; } PyHeapTypeObject; #endif #if PY_VERSION_HEX < 0x02030000 typedef destructor freefunc; #endif #if ((PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION > 6) || \ (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION > 0) || \ (PY_MAJOR_VERSION > 3)) # define SWIGPY_USE_CAPSULE # define SWIGPY_CAPSULE_NAME ((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME) #endif #if PY_VERSION_HEX < 0x03020000 #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type) #define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name) #endif /* ----------------------------------------------------------------------------- * error manipulation * ----------------------------------------------------------------------------- */ SWIGRUNTIME PyObject* SWIG_Python_ErrorType(int code) { PyObject* type = 0; switch(code) { case SWIG_MemoryError: type = PyExc_MemoryError; break; case SWIG_IOError: type = PyExc_IOError; break; case SWIG_RuntimeError: type = PyExc_RuntimeError; break; case SWIG_IndexError: type = PyExc_IndexError; break; case SWIG_TypeError: type = PyExc_TypeError; break; case SWIG_DivisionByZero: type = PyExc_ZeroDivisionError; break; case SWIG_OverflowError: type = PyExc_OverflowError; break; case SWIG_SyntaxError: type = PyExc_SyntaxError; break; case SWIG_ValueError: type = PyExc_ValueError; break; case SWIG_SystemError: type = PyExc_SystemError; break; case SWIG_AttributeError: type = PyExc_AttributeError; break; default: type = PyExc_RuntimeError; } return type; } SWIGRUNTIME void SWIG_Python_AddErrorMsg(const char* mesg) { PyObject *type = 0; PyObject *value = 0; PyObject *traceback = 0; if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback); if (value) { char *tmp; PyObject *old_str = PyObject_Str(value); PyErr_Clear(); Py_XINCREF(type); PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg); SWIG_Python_str_DelForPy3(tmp); Py_DECREF(old_str); Py_DECREF(value); } else { PyErr_SetString(PyExc_RuntimeError, mesg); } } #if defined(SWIG_PYTHON_NO_THREADS) # if defined(SWIG_PYTHON_THREADS) # undef SWIG_PYTHON_THREADS # endif #endif #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ # define SWIG_PYTHON_USE_GIL # endif # endif # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ # ifndef SWIG_PYTHON_INITIALIZE_THREADS # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() # endif # ifdef __cplusplus /* C++ code */ class SWIG_Python_Thread_Block { bool status; PyGILState_STATE state; public: void end() { if (status) { PyGILState_Release(state); status = false;} } SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} ~SWIG_Python_Thread_Block() { end(); } }; class SWIG_Python_Thread_Allow { bool status; PyThreadState *save; public: void end() { if (status) { PyEval_RestoreThread(save); status = false; }} SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} ~SWIG_Python_Thread_Allow() { end(); } }; # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() # else /* C code */ # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) # endif # else /* Old thread way, not implemented, user must provide it */ # if !defined(SWIG_PYTHON_INITIALIZE_THREADS) # define SWIG_PYTHON_INITIALIZE_THREADS # endif # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) # define SWIG_PYTHON_THREAD_BEGIN_BLOCK # endif # if !defined(SWIG_PYTHON_THREAD_END_BLOCK) # define SWIG_PYTHON_THREAD_END_BLOCK # endif # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) # define SWIG_PYTHON_THREAD_BEGIN_ALLOW # endif # if !defined(SWIG_PYTHON_THREAD_END_ALLOW) # define SWIG_PYTHON_THREAD_END_ALLOW # endif # endif #else /* No thread support */ # define SWIG_PYTHON_INITIALIZE_THREADS # define SWIG_PYTHON_THREAD_BEGIN_BLOCK # define SWIG_PYTHON_THREAD_END_BLOCK # define SWIG_PYTHON_THREAD_BEGIN_ALLOW # define SWIG_PYTHON_THREAD_END_ALLOW #endif /* ----------------------------------------------------------------------------- * Python API portion that goes into the runtime * ----------------------------------------------------------------------------- */ #ifdef __cplusplus extern "C" { #endif /* ----------------------------------------------------------------------------- * Constant declarations * ----------------------------------------------------------------------------- */ /* Constant Types */ #define SWIG_PY_POINTER 4 #define SWIG_PY_BINARY 5 /* Constant information structure */ typedef struct swig_const_info { int type; char *name; long lvalue; double dvalue; void *pvalue; swig_type_info **ptype; } swig_const_info; /* ----------------------------------------------------------------------------- * Wrapper of PyInstanceMethod_New() used in Python 3 * It is exported to the generated module, used for -fastproxy * ----------------------------------------------------------------------------- */ #if PY_VERSION_HEX >= 0x03000000 SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func) { return PyInstanceMethod_New(func); } #else SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *SWIGUNUSEDPARM(func)) { return NULL; } #endif #ifdef __cplusplus } #endif /* ----------------------------------------------------------------------------- * pyrun.swg * * This file contains the runtime support for Python modules * and includes code for managing global variables and pointer * type checking. * * ----------------------------------------------------------------------------- */ /* Common SWIG API */ /* for raw pointers */ #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) #ifdef SWIGPYTHON_BUILTIN #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags) #else #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) #endif #define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) #define swig_owntype int /* for raw packed data */ #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) /* for class or struct pointers */ #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) /* for C or C++ function pointers */ #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0) /* for C++ member pointers, ie, member methods */ #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) /* Runtime API */ #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) #define SWIG_NewClientData(obj) SwigPyClientData_New(obj) #define SWIG_SetErrorObj SWIG_Python_SetErrorObj #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) #define SWIG_fail goto fail /* Runtime API implementation */ /* Error manipulation */ SWIGINTERN void SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { SWIG_PYTHON_THREAD_BEGIN_BLOCK; PyErr_SetObject(errtype, obj); Py_DECREF(obj); SWIG_PYTHON_THREAD_END_BLOCK; } SWIGINTERN void SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) { SWIG_PYTHON_THREAD_BEGIN_BLOCK; PyErr_SetString(errtype, (char *) msg); SWIG_PYTHON_THREAD_END_BLOCK; } #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) /* Set a constant value */ #if defined(SWIGPYTHON_BUILTIN) SWIGINTERN void SwigPyBuiltin_AddPublicSymbol(PyObject *seq, const char *key) { PyObject *s = PyString_InternFromString(key); PyList_Append(seq, s); Py_DECREF(s); } SWIGINTERN void SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) { PyDict_SetItemString(d, (char *)name, obj); Py_DECREF(obj); if (public_interface) SwigPyBuiltin_AddPublicSymbol(public_interface, name); } #else SWIGINTERN void SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { PyDict_SetItemString(d, (char *)name, obj); Py_DECREF(obj); } #endif /* Append a value to the result obj */ SWIGINTERN PyObject* SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) if (!result) { result = obj; } else if (result == Py_None) { Py_DECREF(result); result = obj; } else { if (!PyList_Check(result)) { PyObject *o2 = result; result = PyList_New(1); PyList_SetItem(result, 0, o2); } PyList_Append(result,obj); Py_DECREF(obj); } return result; #else PyObject* o2; PyObject* o3; if (!result) { result = obj; } else if (result == Py_None) { Py_DECREF(result); result = obj; } else { if (!PyTuple_Check(result)) { o2 = result; result = PyTuple_New(1); PyTuple_SET_ITEM(result, 0, o2); } o3 = PyTuple_New(1); PyTuple_SET_ITEM(o3, 0, obj); o2 = result; result = PySequence_Concat(o2, o3); Py_DECREF(o2); Py_DECREF(o3); } return result; #endif } /* Unpack the argument tuple */ SWIGINTERN int SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs) { if (!args) { if (!min && !max) { return 1; } else { PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", name, (min == max ? "" : "at least "), (int)min); return 0; } } if (!PyTuple_Check(args)) { if (min <= 1 && max >= 1) { register int i; objs[0] = args; for (i = 1; i < max; ++i) { objs[i] = 0; } return 2; } PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple"); return 0; } else { register Py_ssize_t l = PyTuple_GET_SIZE(args); if (l < min) { PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", name, (min == max ? "" : "at least "), (int)min, (int)l); return 0; } else if (l > max) { PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", name, (min == max ? "" : "at most "), (int)max, (int)l); return 0; } else { register int i; for (i = 0; i < l; ++i) { objs[i] = PyTuple_GET_ITEM(args, i); } for (; l < max; ++l) { objs[l] = 0; } return i + 1; } } } /* A functor is a function object with one single object argument */ #if PY_VERSION_HEX >= 0x02020000 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); #else #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); #endif /* Helper for static pointer initialization for both C and C++ code, for example static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); */ #ifdef __cplusplus #define SWIG_STATIC_POINTER(var) var #else #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var #endif /* ----------------------------------------------------------------------------- * Pointer declarations * ----------------------------------------------------------------------------- */ /* Flags for new pointer objects */ #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) #define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2) #define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN) #ifdef __cplusplus extern "C" { #endif /* How to access Py_None */ #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) # ifndef SWIG_PYTHON_NO_BUILD_NONE # ifndef SWIG_PYTHON_BUILD_NONE # define SWIG_PYTHON_BUILD_NONE # endif # endif #endif #ifdef SWIG_PYTHON_BUILD_NONE # ifdef Py_None # undef Py_None # define Py_None SWIG_Py_None() # endif SWIGRUNTIMEINLINE PyObject * _SWIG_Py_None(void) { PyObject *none = Py_BuildValue((char*)""); Py_DECREF(none); return none; } SWIGRUNTIME PyObject * SWIG_Py_None(void) { static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None(); return none; } #endif /* The python void return value */ SWIGRUNTIMEINLINE PyObject * SWIG_Py_Void(void) { PyObject *none = Py_None; Py_INCREF(none); return none; } /* SwigPyClientData */ typedef struct { PyObject *klass; PyObject *newraw; PyObject *newargs; PyObject *destroy; int delargs; int implicitconv; PyTypeObject *pytype; } SwigPyClientData; SWIGRUNTIMEINLINE int SWIG_Python_CheckImplicit(swig_type_info *ty) { SwigPyClientData *data = (SwigPyClientData *)ty->clientdata; return data ? data->implicitconv : 0; } SWIGRUNTIMEINLINE PyObject * SWIG_Python_ExceptionType(swig_type_info *desc) { SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0; PyObject *klass = data ? data->klass : 0; return (klass ? klass : PyExc_RuntimeError); } SWIGRUNTIME SwigPyClientData * SwigPyClientData_New(PyObject* obj) { if (!obj) { return 0; } else { SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData)); /* the klass element */ data->klass = obj; Py_INCREF(data->klass); /* the newraw method and newargs arguments used to create a new raw instance */ if (PyClass_Check(obj)) { data->newraw = 0; data->newargs = obj; Py_INCREF(obj); } else { #if (PY_VERSION_HEX < 0x02020000) data->newraw = 0; #else data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); #endif if (data->newraw) { Py_INCREF(data->newraw); data->newargs = PyTuple_New(1); PyTuple_SetItem(data->newargs, 0, obj); } else { data->newargs = obj; } Py_INCREF(data->newargs); } /* the destroy method, aka as the C++ delete method */ data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); if (PyErr_Occurred()) { PyErr_Clear(); data->destroy = 0; } if (data->destroy) { int flags; Py_INCREF(data->destroy); flags = PyCFunction_GET_FLAGS(data->destroy); #ifdef METH_O data->delargs = !(flags & (METH_O)); #else data->delargs = 0; #endif } else { data->delargs = 0; } data->implicitconv = 0; data->pytype = 0; return data; } } SWIGRUNTIME void SwigPyClientData_Del(SwigPyClientData *data) { Py_XDECREF(data->newraw); Py_XDECREF(data->newargs); Py_XDECREF(data->destroy); } /* =============== SwigPyObject =====================*/ typedef struct { PyObject_HEAD void *ptr; swig_type_info *ty; int own; PyObject *next; #ifdef SWIGPYTHON_BUILTIN PyObject *dict; #endif } SwigPyObject; SWIGRUNTIME PyObject * SwigPyObject_long(SwigPyObject *v) { return PyLong_FromVoidPtr(v->ptr); } SWIGRUNTIME PyObject * SwigPyObject_format(const char* fmt, SwigPyObject *v) { PyObject *res = NULL; PyObject *args = PyTuple_New(1); if (args) { if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) { PyObject *ofmt = SWIG_Python_str_FromChar(fmt); if (ofmt) { #if PY_VERSION_HEX >= 0x03000000 res = PyUnicode_Format(ofmt,args); #else res = PyString_Format(ofmt,args); #endif Py_DECREF(ofmt); } Py_DECREF(args); } } return res; } SWIGRUNTIME PyObject * SwigPyObject_oct(SwigPyObject *v) { return SwigPyObject_format("%o",v); } SWIGRUNTIME PyObject * SwigPyObject_hex(SwigPyObject *v) { return SwigPyObject_format("%x",v); } SWIGRUNTIME PyObject * #ifdef METH_NOARGS SwigPyObject_repr(SwigPyObject *v) #else SwigPyObject_repr(SwigPyObject *v, PyObject *args) #endif { const char *name = SWIG_TypePrettyName(v->ty); PyObject *repr = SWIG_Python_str_FromFormat("", name, (void *)v); if (v->next) { # ifdef METH_NOARGS PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next); # else PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next, args); # endif # if PY_VERSION_HEX >= 0x03000000 PyObject *joined = PyUnicode_Concat(repr, nrep); Py_DecRef(repr); Py_DecRef(nrep); repr = joined; # else PyString_ConcatAndDel(&repr,nrep); # endif } return repr; } SWIGRUNTIME int SwigPyObject_print(SwigPyObject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { char *str; #ifdef METH_NOARGS PyObject *repr = SwigPyObject_repr(v); #else PyObject *repr = SwigPyObject_repr(v, NULL); #endif if (repr) { str = SWIG_Python_str_AsChar(repr); fputs(str, fp); SWIG_Python_str_DelForPy3(str); Py_DECREF(repr); return 0; } else { return 1; } } SWIGRUNTIME PyObject * SwigPyObject_str(SwigPyObject *v) { char result[SWIG_BUFFER_SIZE]; return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ? SWIG_Python_str_FromChar(result) : 0; } SWIGRUNTIME int SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w) { void *i = v->ptr; void *j = w->ptr; return (i < j) ? -1 : ((i > j) ? 1 : 0); } /* Added for Python 3.x, would it also be useful for Python 2.x? */ SWIGRUNTIME PyObject* SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op) { PyObject* res; if( op != Py_EQ && op != Py_NE ) { Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) ? 1 : 0); return res; } SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(void); #ifdef SWIGPYTHON_BUILTIN static swig_type_info *SwigPyObject_stype = 0; SWIGRUNTIME PyTypeObject* SwigPyObject_type(void) { SwigPyClientData *cd; assert(SwigPyObject_stype); cd = (SwigPyClientData*) SwigPyObject_stype->clientdata; assert(cd); assert(cd->pytype); return cd->pytype; } #else SWIGRUNTIME PyTypeObject* SwigPyObject_type(void) { static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyObject_TypeOnce(); return type; } #endif SWIGRUNTIMEINLINE int SwigPyObject_Check(PyObject *op) { #ifdef SWIGPYTHON_BUILTIN PyTypeObject *target_tp = SwigPyObject_type(); if (PyType_IsSubtype(op->ob_type, target_tp)) return 1; return (strcmp(op->ob_type->tp_name, "SwigPyObject") == 0); #else return (Py_TYPE(op) == SwigPyObject_type()) || (strcmp(Py_TYPE(op)->tp_name,"SwigPyObject") == 0); #endif } SWIGRUNTIME PyObject * SwigPyObject_New(void *ptr, swig_type_info *ty, int own); SWIGRUNTIME void SwigPyObject_dealloc(PyObject *v) { SwigPyObject *sobj = (SwigPyObject *) v; PyObject *next = sobj->next; if (sobj->own == SWIG_POINTER_OWN) { swig_type_info *ty = sobj->ty; SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0; PyObject *destroy = data ? data->destroy : 0; if (destroy) { /* destroy is always a VARARGS method */ PyObject *res; if (data->delargs) { /* we need to create a temporary object to carry the destroy operation */ PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0); res = SWIG_Python_CallFunctor(destroy, tmp); Py_DECREF(tmp); } else { PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); PyObject *mself = PyCFunction_GET_SELF(destroy); res = ((*meth)(mself, v)); } Py_XDECREF(res); } #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) else { const char *name = SWIG_TypePrettyName(ty); printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown")); } #endif } Py_XDECREF(next); PyObject_DEL(v); } SWIGRUNTIME PyObject* SwigPyObject_append(PyObject* v, PyObject* next) { SwigPyObject *sobj = (SwigPyObject *) v; #ifndef METH_O PyObject *tmp = 0; if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL; next = tmp; #endif if (!SwigPyObject_Check(next)) { return NULL; } sobj->next = next; Py_INCREF(next); return SWIG_Py_Void(); } SWIGRUNTIME PyObject* #ifdef METH_NOARGS SwigPyObject_next(PyObject* v) #else SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) #endif { SwigPyObject *sobj = (SwigPyObject *) v; if (sobj->next) { Py_INCREF(sobj->next); return sobj->next; } else { return SWIG_Py_Void(); } } SWIGINTERN PyObject* #ifdef METH_NOARGS SwigPyObject_disown(PyObject *v) #else SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) #endif { SwigPyObject *sobj = (SwigPyObject *)v; sobj->own = 0; return SWIG_Py_Void(); } SWIGINTERN PyObject* #ifdef METH_NOARGS SwigPyObject_acquire(PyObject *v) #else SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) #endif { SwigPyObject *sobj = (SwigPyObject *)v; sobj->own = SWIG_POINTER_OWN; return SWIG_Py_Void(); } SWIGINTERN PyObject* SwigPyObject_own(PyObject *v, PyObject *args) { PyObject *val = 0; #if (PY_VERSION_HEX < 0x02020000) if (!PyArg_ParseTuple(args,(char *)"|O:own",&val)) #else if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) #endif { return NULL; } else { SwigPyObject *sobj = (SwigPyObject *)v; PyObject *obj = PyBool_FromLong(sobj->own); if (val) { #ifdef METH_NOARGS if (PyObject_IsTrue(val)) { SwigPyObject_acquire(v); } else { SwigPyObject_disown(v); } #else if (PyObject_IsTrue(val)) { SwigPyObject_acquire(v,args); } else { SwigPyObject_disown(v,args); } #endif } return obj; } } #ifdef METH_O static PyMethodDef swigobject_methods[] = { {(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"}, {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"}, {(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, {(char *)"append", (PyCFunction)SwigPyObject_append, METH_O, (char *)"appends another 'this' object"}, {(char *)"next", (PyCFunction)SwigPyObject_next, METH_NOARGS, (char *)"returns the next 'this' object"}, {(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_NOARGS, (char *)"returns object representation"}, {0, 0, 0, 0} }; #else static PyMethodDef swigobject_methods[] = { {(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"}, {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"}, {(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, {(char *)"append", (PyCFunction)SwigPyObject_append, METH_VARARGS, (char *)"appends another 'this' object"}, {(char *)"next", (PyCFunction)SwigPyObject_next, METH_VARARGS, (char *)"returns the next 'this' object"}, {(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_VARARGS, (char *)"returns object representation"}, {0, 0, 0, 0} }; #endif #if PY_VERSION_HEX < 0x02020000 SWIGINTERN PyObject * SwigPyObject_getattr(SwigPyObject *sobj,char *name) { return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name); } #endif SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(void) { static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; static PyNumberMethods SwigPyObject_as_number = { (binaryfunc)0, /*nb_add*/ (binaryfunc)0, /*nb_subtract*/ (binaryfunc)0, /*nb_multiply*/ /* nb_divide removed in Python 3 */ #if PY_VERSION_HEX < 0x03000000 (binaryfunc)0, /*nb_divide*/ #endif (binaryfunc)0, /*nb_remainder*/ (binaryfunc)0, /*nb_divmod*/ (ternaryfunc)0,/*nb_power*/ (unaryfunc)0, /*nb_negative*/ (unaryfunc)0, /*nb_positive*/ (unaryfunc)0, /*nb_absolute*/ (inquiry)0, /*nb_nonzero*/ 0, /*nb_invert*/ 0, /*nb_lshift*/ 0, /*nb_rshift*/ 0, /*nb_and*/ 0, /*nb_xor*/ 0, /*nb_or*/ #if PY_VERSION_HEX < 0x03000000 0, /*nb_coerce*/ #endif (unaryfunc)SwigPyObject_long, /*nb_int*/ #if PY_VERSION_HEX < 0x03000000 (unaryfunc)SwigPyObject_long, /*nb_long*/ #else 0, /*nb_reserved*/ #endif (unaryfunc)0, /*nb_float*/ #if PY_VERSION_HEX < 0x03000000 (unaryfunc)SwigPyObject_oct, /*nb_oct*/ (unaryfunc)SwigPyObject_hex, /*nb_hex*/ #endif #if PY_VERSION_HEX >= 0x03000000 /* 3.0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */ #elif PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */ #elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ #elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */ 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ #endif }; static PyTypeObject swigpyobject_type; static int type_init = 0; if (!type_init) { const PyTypeObject tmp = { /* PyObject header changed in Python 3 */ #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) #else PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif (char *)"SwigPyObject", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyObject_dealloc, /* tp_dealloc */ (printfunc)SwigPyObject_print, /* tp_print */ #if PY_VERSION_HEX < 0x02020000 (getattrfunc)SwigPyObject_getattr, /* tp_getattr */ #else (getattrfunc)0, /* tp_getattr */ #endif (setattrfunc)0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */ #else (cmpfunc)SwigPyObject_compare, /* tp_compare */ #endif (reprfunc)SwigPyObject_repr, /* tp_repr */ &SwigPyObject_as_number, /* tp_as_number */ 0, /* tp_as_sequence */ 0, /* tp_as_mapping */ (hashfunc)0, /* tp_hash */ (ternaryfunc)0, /* tp_call */ (reprfunc)SwigPyObject_str, /* tp_str */ PyObject_GenericGetAttr, /* tp_getattro */ 0, /* tp_setattro */ 0, /* tp_as_buffer */ Py_TPFLAGS_DEFAULT, /* tp_flags */ swigobject_doc, /* tp_doc */ 0, /* tp_traverse */ 0, /* tp_clear */ (richcmpfunc)SwigPyObject_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ #if PY_VERSION_HEX >= 0x02020000 0, /* tp_iter */ 0, /* tp_iternext */ swigobject_methods, /* tp_methods */ 0, /* tp_members */ 0, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ 0, /* tp_descr_get */ 0, /* tp_descr_set */ 0, /* tp_dictoffset */ 0, /* tp_init */ 0, /* tp_alloc */ 0, /* tp_new */ 0, /* tp_free */ 0, /* tp_is_gc */ 0, /* tp_bases */ 0, /* tp_mro */ 0, /* tp_cache */ 0, /* tp_subclasses */ 0, /* tp_weaklist */ #endif #if PY_VERSION_HEX >= 0x02030000 0, /* tp_del */ #endif #if PY_VERSION_HEX >= 0x02060000 0, /* tp_version */ #endif #ifdef COUNT_ALLOCS 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; swigpyobject_type = tmp; type_init = 1; #if PY_VERSION_HEX < 0x02020000 swigpyobject_type.ob_type = &PyType_Type; #else if (PyType_Ready(&swigpyobject_type) < 0) return NULL; #endif } return &swigpyobject_type; } SWIGRUNTIME PyObject * SwigPyObject_New(void *ptr, swig_type_info *ty, int own) { SwigPyObject *sobj = PyObject_NEW(SwigPyObject, SwigPyObject_type()); if (sobj) { sobj->ptr = ptr; sobj->ty = ty; sobj->own = own; sobj->next = 0; } return (PyObject *)sobj; } /* ----------------------------------------------------------------------------- * Implements a simple Swig Packed type, and use it instead of string * ----------------------------------------------------------------------------- */ typedef struct { PyObject_HEAD void *pack; swig_type_info *ty; size_t size; } SwigPyPacked; SWIGRUNTIME int SwigPyPacked_print(SwigPyPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { char result[SWIG_BUFFER_SIZE]; fputs("pack, v->size, 0, sizeof(result))) { fputs("at ", fp); fputs(result, fp); } fputs(v->ty->name,fp); fputs(">", fp); return 0; } SWIGRUNTIME PyObject * SwigPyPacked_repr(SwigPyPacked *v) { char result[SWIG_BUFFER_SIZE]; if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { return SWIG_Python_str_FromFormat("", result, v->ty->name); } else { return SWIG_Python_str_FromFormat("", v->ty->name); } } SWIGRUNTIME PyObject * SwigPyPacked_str(SwigPyPacked *v) { char result[SWIG_BUFFER_SIZE]; if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ return SWIG_Python_str_FromFormat("%s%s", result, v->ty->name); } else { return SWIG_Python_str_FromChar(v->ty->name); } } SWIGRUNTIME int SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w) { size_t i = v->size; size_t j = w->size; int s = (i < j) ? -1 : ((i > j) ? 1 : 0); return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); } SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(void); SWIGRUNTIME PyTypeObject* SwigPyPacked_type(void) { static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyPacked_TypeOnce(); return type; } SWIGRUNTIMEINLINE int SwigPyPacked_Check(PyObject *op) { return ((op)->ob_type == SwigPyPacked_TypeOnce()) || (strcmp((op)->ob_type->tp_name,"SwigPyPacked") == 0); } SWIGRUNTIME void SwigPyPacked_dealloc(PyObject *v) { if (SwigPyPacked_Check(v)) { SwigPyPacked *sobj = (SwigPyPacked *) v; free(sobj->pack); } PyObject_DEL(v); } SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(void) { static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; static PyTypeObject swigpypacked_type; static int type_init = 0; if (!type_init) { const PyTypeObject tmp = { /* PyObject header changed in Python 3 */ #if PY_VERSION_HEX>=0x03000000 PyVarObject_HEAD_INIT(NULL, 0) #else PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif (char *)"SwigPyPacked", /* tp_name */ sizeof(SwigPyPacked), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyPacked_dealloc, /* tp_dealloc */ (printfunc)SwigPyPacked_print, /* tp_print */ (getattrfunc)0, /* tp_getattr */ (setattrfunc)0, /* tp_setattr */ #if PY_VERSION_HEX>=0x03000000 0, /* tp_reserved in 3.0.1 */ #else (cmpfunc)SwigPyPacked_compare, /* tp_compare */ #endif (reprfunc)SwigPyPacked_repr, /* tp_repr */ 0, /* tp_as_number */ 0, /* tp_as_sequence */ 0, /* tp_as_mapping */ (hashfunc)0, /* tp_hash */ (ternaryfunc)0, /* tp_call */ (reprfunc)SwigPyPacked_str, /* tp_str */ PyObject_GenericGetAttr, /* tp_getattro */ 0, /* tp_setattro */ 0, /* tp_as_buffer */ Py_TPFLAGS_DEFAULT, /* tp_flags */ swigpacked_doc, /* tp_doc */ 0, /* tp_traverse */ 0, /* tp_clear */ 0, /* tp_richcompare */ 0, /* tp_weaklistoffset */ #if PY_VERSION_HEX >= 0x02020000 0, /* tp_iter */ 0, /* tp_iternext */ 0, /* tp_methods */ 0, /* tp_members */ 0, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ 0, /* tp_descr_get */ 0, /* tp_descr_set */ 0, /* tp_dictoffset */ 0, /* tp_init */ 0, /* tp_alloc */ 0, /* tp_new */ 0, /* tp_free */ 0, /* tp_is_gc */ 0, /* tp_bases */ 0, /* tp_mro */ 0, /* tp_cache */ 0, /* tp_subclasses */ 0, /* tp_weaklist */ #endif #if PY_VERSION_HEX >= 0x02030000 0, /* tp_del */ #endif #if PY_VERSION_HEX >= 0x02060000 0, /* tp_version */ #endif #ifdef COUNT_ALLOCS 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; swigpypacked_type = tmp; type_init = 1; #if PY_VERSION_HEX < 0x02020000 swigpypacked_type.ob_type = &PyType_Type; #else if (PyType_Ready(&swigpypacked_type) < 0) return NULL; #endif } return &swigpypacked_type; } SWIGRUNTIME PyObject * SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty) { SwigPyPacked *sobj = PyObject_NEW(SwigPyPacked, SwigPyPacked_type()); if (sobj) { void *pack = malloc(size); if (pack) { memcpy(pack, ptr, size); sobj->pack = pack; sobj->ty = ty; sobj->size = size; } else { PyObject_DEL((PyObject *) sobj); sobj = 0; } } return (PyObject *) sobj; } SWIGRUNTIME swig_type_info * SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size) { if (SwigPyPacked_Check(obj)) { SwigPyPacked *sobj = (SwigPyPacked *)obj; if (sobj->size != size) return 0; memcpy(ptr, sobj->pack, size); return sobj->ty; } else { return 0; } } /* ----------------------------------------------------------------------------- * pointers/data manipulation * ----------------------------------------------------------------------------- */ SWIGRUNTIMEINLINE PyObject * _SWIG_This(void) { return SWIG_Python_str_FromChar("this"); } static PyObject *swig_this = NULL; SWIGRUNTIME PyObject * SWIG_This(void) { if (swig_this == NULL) swig_this = _SWIG_This(); return swig_this; } /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ /* TODO: I don't know how to implement the fast getset in Python 3 right now */ #if PY_VERSION_HEX>=0x03000000 #define SWIG_PYTHON_SLOW_GETSET_THIS #endif SWIGRUNTIME SwigPyObject * SWIG_Python_GetSwigThis(PyObject *pyobj) { PyObject *obj; if (SwigPyObject_Check(pyobj)) return (SwigPyObject *) pyobj; #ifdef SWIGPYTHON_BUILTIN (void)obj; # ifdef PyWeakref_CheckProxy if (PyWeakref_CheckProxy(pyobj)) { pyobj = PyWeakref_GET_OBJECT(pyobj); if (pyobj && SwigPyObject_Check(pyobj)) return (SwigPyObject*) pyobj; } # endif return NULL; #else obj = 0; #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) if (PyInstance_Check(pyobj)) { obj = _PyInstance_Lookup(pyobj, SWIG_This()); } else { PyObject **dictptr = _PyObject_GetDictPtr(pyobj); if (dictptr != NULL) { PyObject *dict = *dictptr; obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0; } else { #ifdef PyWeakref_CheckProxy if (PyWeakref_CheckProxy(pyobj)) { PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); return wobj ? SWIG_Python_GetSwigThis(wobj) : 0; } #endif obj = PyObject_GetAttr(pyobj,SWIG_This()); if (obj) { Py_DECREF(obj); } else { if (PyErr_Occurred()) PyErr_Clear(); return 0; } } } #else obj = PyObject_GetAttr(pyobj,SWIG_This()); if (obj) { Py_DECREF(obj); } else { if (PyErr_Occurred()) PyErr_Clear(); return 0; } #endif if (obj && !SwigPyObject_Check(obj)) { /* a PyObject is called 'this', try to get the 'real this' SwigPyObject from it */ return SWIG_Python_GetSwigThis(obj); } return (SwigPyObject *)obj; #endif } /* Acquire a pointer value */ SWIGRUNTIME int SWIG_Python_AcquirePtr(PyObject *obj, int own) { if (own == SWIG_POINTER_OWN) { SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj); if (sobj) { int oldown = sobj->own; sobj->own = own; return oldown; } } return 0; } /* Convert a pointer value */ SWIGRUNTIME int SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) { int res; SwigPyObject *sobj; if (!obj) return SWIG_ERROR; if (obj == Py_None) { if (ptr) *ptr = 0; return SWIG_OK; } res = SWIG_ERROR; sobj = SWIG_Python_GetSwigThis(obj); if (own) *own = 0; while (sobj) { void *vptr = sobj->ptr; if (ty) { swig_type_info *to = sobj->ty; if (to == ty) { /* no type cast needed */ if (ptr) *ptr = vptr; break; } else { swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); if (!tc) { sobj = (SwigPyObject *)sobj->next; } else { if (ptr) { int newmemory = 0; *ptr = SWIG_TypeCast(tc,vptr,&newmemory); if (newmemory == SWIG_CAST_NEW_MEMORY) { assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */ if (own) *own = *own | SWIG_CAST_NEW_MEMORY; } } break; } } } else { if (ptr) *ptr = vptr; break; } } if (sobj) { if (own) *own = *own | sobj->own; if (flags & SWIG_POINTER_DISOWN) { sobj->own = 0; } res = SWIG_OK; } else { if (flags & SWIG_POINTER_IMPLICIT_CONV) { SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0; if (data && !data->implicitconv) { PyObject *klass = data->klass; if (klass) { PyObject *impconv; data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/ impconv = SWIG_Python_CallFunctor(klass, obj); data->implicitconv = 0; if (PyErr_Occurred()) { PyErr_Clear(); impconv = 0; } if (impconv) { SwigPyObject *iobj = SWIG_Python_GetSwigThis(impconv); if (iobj) { void *vptr; res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0); if (SWIG_IsOK(res)) { if (ptr) { *ptr = vptr; /* transfer the ownership to 'ptr' */ iobj->own = 0; res = SWIG_AddCast(res); res = SWIG_AddNewMask(res); } else { res = SWIG_AddCast(res); } } } Py_DECREF(impconv); } } } } } return res; } /* Convert a function ptr value */ SWIGRUNTIME int SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { if (!PyCFunction_Check(obj)) { return SWIG_ConvertPtr(obj, ptr, ty, 0); } else { void *vptr = 0; /* here we get the method pointer for callbacks */ const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; if (desc) desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; if (!desc) return SWIG_ERROR; if (ty) { swig_cast_info *tc = SWIG_TypeCheck(desc,ty); if (tc) { int newmemory = 0; *ptr = SWIG_TypeCast(tc,vptr,&newmemory); assert(!newmemory); /* newmemory handling not yet implemented */ } else { return SWIG_ERROR; } } else { *ptr = vptr; } return SWIG_OK; } } /* Convert a packed value value */ SWIGRUNTIME int SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) { swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz); if (!to) return SWIG_ERROR; if (ty) { if (to != ty) { /* check type cast? */ swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); if (!tc) return SWIG_ERROR; } } return SWIG_OK; } /* ----------------------------------------------------------------------------- * Create a new pointer object * ----------------------------------------------------------------------------- */ /* Create a new instance object, without calling __init__, and set the 'this' attribute. */ SWIGRUNTIME PyObject* SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) { #if (PY_VERSION_HEX >= 0x02020000) PyObject *inst = 0; PyObject *newraw = data->newraw; if (newraw) { inst = PyObject_Call(newraw, data->newargs, NULL); if (inst) { #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) PyObject **dictptr = _PyObject_GetDictPtr(inst); if (dictptr != NULL) { PyObject *dict = *dictptr; if (dict == NULL) { dict = PyDict_New(); *dictptr = dict; PyDict_SetItem(dict, SWIG_This(), swig_this); } } #else PyObject *key = SWIG_This(); PyObject_SetAttr(inst, key, swig_this); #endif } } else { #if PY_VERSION_HEX >= 0x03000000 inst = PyBaseObject_Type.tp_new((PyTypeObject*) data->newargs, Py_None, Py_None); PyObject_SetAttr(inst, SWIG_This(), swig_this); Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG; #else PyObject *dict = PyDict_New(); PyDict_SetItem(dict, SWIG_This(), swig_this); inst = PyInstance_NewRaw(data->newargs, dict); Py_DECREF(dict); #endif } return inst; #else #if (PY_VERSION_HEX >= 0x02010000) PyObject *inst; PyObject *dict = PyDict_New(); PyDict_SetItem(dict, SWIG_This(), swig_this); inst = PyInstance_NewRaw(data->newargs, dict); Py_DECREF(dict); return (PyObject *) inst; #else PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type); if (inst == NULL) { return NULL; } inst->in_class = (PyClassObject *)data->newargs; Py_INCREF(inst->in_class); inst->in_dict = PyDict_New(); if (inst->in_dict == NULL) { Py_DECREF(inst); return NULL; } #ifdef Py_TPFLAGS_HAVE_WEAKREFS inst->in_weakreflist = NULL; #endif #ifdef Py_TPFLAGS_GC PyObject_GC_Init(inst); #endif PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); return (PyObject *) inst; #endif #endif } SWIGRUNTIME void SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) { PyObject *dict; #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) PyObject **dictptr = _PyObject_GetDictPtr(inst); if (dictptr != NULL) { dict = *dictptr; if (dict == NULL) { dict = PyDict_New(); *dictptr = dict; } PyDict_SetItem(dict, SWIG_This(), swig_this); return; } #endif dict = PyObject_GetAttrString(inst, (char*)"__dict__"); PyDict_SetItem(dict, SWIG_This(), swig_this); Py_DECREF(dict); } SWIGINTERN PyObject * SWIG_Python_InitShadowInstance(PyObject *args) { PyObject *obj[2]; if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) { return NULL; } else { SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]); if (sthis) { SwigPyObject_append((PyObject*) sthis, obj[1]); } else { SWIG_Python_SetSwigThis(obj[0], obj[1]); } return SWIG_Py_Void(); } } /* Create a new pointer object */ SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags) { SwigPyClientData *clientdata; PyObject * robj; int own; if (!ptr) return SWIG_Py_Void(); clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0; own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0; if (clientdata && clientdata->pytype) { SwigPyObject *newobj; if (flags & SWIG_BUILTIN_TP_INIT) { newobj = (SwigPyObject*) self; if (newobj->ptr) { PyObject *next_self = clientdata->pytype->tp_alloc(clientdata->pytype, 0); while (newobj->next) newobj = (SwigPyObject *) newobj->next; newobj->next = next_self; newobj = (SwigPyObject *)next_self; } } else { newobj = PyObject_New(SwigPyObject, clientdata->pytype); } if (newobj) { newobj->ptr = ptr; newobj->ty = type; newobj->own = own; newobj->next = 0; #ifdef SWIGPYTHON_BUILTIN newobj->dict = 0; #endif return (PyObject*) newobj; } return SWIG_Py_Void(); } assert(!(flags & SWIG_BUILTIN_TP_INIT)); robj = SwigPyObject_New(ptr, type, own); if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); if (inst) { Py_DECREF(robj); robj = inst; } } return robj; } /* Create a new packed object */ SWIGRUNTIMEINLINE PyObject * SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { return ptr ? SwigPyPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); } /* -----------------------------------------------------------------------------* * Get type list * -----------------------------------------------------------------------------*/ #ifdef SWIG_LINK_RUNTIME void *SWIG_ReturnGlobalTypeList(void *); #endif SWIGRUNTIME swig_module_info * SWIG_Python_GetModule(void) { static void *type_pointer = (void *)0; /* first check if module already created */ if (!type_pointer) { #ifdef SWIG_LINK_RUNTIME type_pointer = SWIG_ReturnGlobalTypeList((void *)0); #else # ifdef SWIGPY_USE_CAPSULE type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0); # else type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); # endif if (PyErr_Occurred()) { PyErr_Clear(); type_pointer = (void *)0; } #endif } return (swig_module_info *) type_pointer; } #if PY_MAJOR_VERSION < 2 /* PyModule_AddObject function was introduced in Python 2.0. The following function is copied out of Python/modsupport.c in python version 2.3.4 */ SWIGINTERN int PyModule_AddObject(PyObject *m, char *name, PyObject *o) { PyObject *dict; if (!PyModule_Check(m)) { PyErr_SetString(PyExc_TypeError, "PyModule_AddObject() needs module as first arg"); return SWIG_ERROR; } if (!o) { PyErr_SetString(PyExc_TypeError, "PyModule_AddObject() needs non-NULL value"); return SWIG_ERROR; } dict = PyModule_GetDict(m); if (dict == NULL) { /* Internal error -- modules must have a dict! */ PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", PyModule_GetName(m)); return SWIG_ERROR; } if (PyDict_SetItemString(dict, name, o)) return SWIG_ERROR; Py_DECREF(o); return SWIG_OK; } #endif SWIGRUNTIME void #ifdef SWIGPY_USE_CAPSULE SWIG_Python_DestroyModule(PyObject *obj) #else SWIG_Python_DestroyModule(void *vptr) #endif { #ifdef SWIGPY_USE_CAPSULE swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME); #else swig_module_info *swig_module = (swig_module_info *) vptr; #endif swig_type_info **types = swig_module->types; size_t i; for (i =0; i < swig_module->size; ++i) { swig_type_info *ty = types[i]; if (ty->owndata) { SwigPyClientData *data = (SwigPyClientData *) ty->clientdata; if (data) SwigPyClientData_Del(data); } } Py_DECREF(SWIG_This()); swig_this = NULL; } SWIGRUNTIME void SWIG_Python_SetModule(swig_module_info *swig_module) { #if PY_VERSION_HEX >= 0x03000000 /* Add a dummy module object into sys.modules */ PyObject *module = PyImport_AddModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION); #else static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} }; /* Sentinel */ PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table); #endif #ifdef SWIGPY_USE_CAPSULE PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule); if (pointer && module) { PyModule_AddObject(module, (char*)"type_pointer_capsule" SWIG_TYPE_TABLE_NAME, pointer); } else { Py_XDECREF(pointer); } #else PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); if (pointer && module) { PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); } else { Py_XDECREF(pointer); } #endif } /* The python cached type query */ SWIGRUNTIME PyObject * SWIG_Python_TypeCache(void) { static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); return cache; } SWIGRUNTIME swig_type_info * SWIG_Python_TypeQuery(const char *type) { PyObject *cache = SWIG_Python_TypeCache(); PyObject *key = SWIG_Python_str_FromChar(type); PyObject *obj = PyDict_GetItem(cache, key); swig_type_info *descriptor; if (obj) { #ifdef SWIGPY_USE_CAPSULE descriptor = (swig_type_info *) PyCapsule_GetPointer(obj, NULL); #else descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj); #endif } else { swig_module_info *swig_module = SWIG_Python_GetModule(); descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); if (descriptor) { #ifdef SWIGPY_USE_CAPSULE obj = PyCapsule_New((void*) descriptor, NULL, NULL); #else obj = PyCObject_FromVoidPtr(descriptor, NULL); #endif PyDict_SetItem(cache, key, obj); Py_DECREF(obj); } } Py_DECREF(key); return descriptor; } /* For backward compatibility only */ #define SWIG_POINTER_EXCEPTION 0 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) SWIGRUNTIME int SWIG_Python_AddErrMesg(const char* mesg, int infront) { if (PyErr_Occurred()) { PyObject *type = 0; PyObject *value = 0; PyObject *traceback = 0; PyErr_Fetch(&type, &value, &traceback); if (value) { char *tmp; PyObject *old_str = PyObject_Str(value); Py_XINCREF(type); PyErr_Clear(); if (infront) { PyErr_Format(type, "%s %s", mesg, tmp = SWIG_Python_str_AsChar(old_str)); } else { PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg); } SWIG_Python_str_DelForPy3(tmp); Py_DECREF(old_str); } return 1; } else { return 0; } } SWIGRUNTIME int SWIG_Python_ArgFail(int argnum) { if (PyErr_Occurred()) { /* add information about failing argument */ char mesg[256]; PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); return SWIG_Python_AddErrMesg(mesg, 1); } else { return 0; } } SWIGRUNTIMEINLINE const char * SwigPyObject_GetDesc(PyObject *self) { SwigPyObject *v = (SwigPyObject *)self; swig_type_info *ty = v ? v->ty : 0; return ty ? ty->str : (char*)""; } SWIGRUNTIME void SWIG_Python_TypeError(const char *type, PyObject *obj) { if (type) { #if defined(SWIG_COBJECT_TYPES) if (obj && SwigPyObject_Check(obj)) { const char *otype = (const char *) SwigPyObject_GetDesc(obj); if (otype) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'SwigPyObject(%s)' is received", type, otype); return; } } else #endif { const char *otype = (obj ? obj->ob_type->tp_name : 0); if (otype) { PyObject *str = PyObject_Str(obj); const char *cstr = str ? SWIG_Python_str_AsChar(str) : 0; if (cstr) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", type, otype, cstr); SWIG_Python_str_DelForPy3(cstr); } else { PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", type, otype); } Py_XDECREF(str); return; } } PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); } else { PyErr_Format(PyExc_TypeError, "unexpected type is received"); } } /* Convert a pointer value, signal an exception on a type mismatch */ SWIGRUNTIME void * SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags) { void *result; if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { PyErr_Clear(); #if SWIG_POINTER_EXCEPTION if (flags) { SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); SWIG_Python_ArgFail(argnum); } #endif } return result; } SWIGRUNTIME int SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { PyTypeObject *tp = obj->ob_type; PyObject *descr; PyObject *encoded_name; descrsetfunc f; int res; #ifdef Py_USING_UNICODE if (PyString_Check(name)) { name = PyUnicode_Decode(PyString_AsString(name), PyString_Size(name), NULL, NULL); if (!name) return -1; } else if (!PyUnicode_Check(name)) #else if (!PyString_Check(name)) #endif { PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%.200s'", name->ob_type->tp_name); return -1; } else { Py_INCREF(name); } if (!tp->tp_dict) { if (PyType_Ready(tp) < 0) goto done; } res = -1; descr = _PyType_Lookup(tp, name); f = NULL; if (descr != NULL) f = descr->ob_type->tp_descr_set; if (!f) { if (PyString_Check(name)) { encoded_name = name; Py_INCREF(name); } else { encoded_name = PyUnicode_AsUTF8String(name); } PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name)); Py_DECREF(encoded_name); } else { res = f(descr, obj, value); } done: Py_DECREF(name); return res; } #ifdef __cplusplus } #endif #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else /* ----------------------------------------------------------------------------- * director.swg * * This file contains support for director classes that proxy * method calls from C++ to Python extensions. * ----------------------------------------------------------------------------- */ #ifndef SWIG_DIRECTOR_PYTHON_HEADER_ #define SWIG_DIRECTOR_PYTHON_HEADER_ #ifdef __cplusplus #include #include #include #include #include /* Use -DSWIG_PYTHON_DIRECTOR_NO_VTABLE if you don't want to generate a 'virtual table', and avoid multiple GetAttr calls to retrieve the python methods. */ #ifndef SWIG_PYTHON_DIRECTOR_NO_VTABLE #ifndef SWIG_PYTHON_DIRECTOR_VTABLE #define SWIG_PYTHON_DIRECTOR_VTABLE #endif #endif /* Use -DSWIG_DIRECTOR_NO_UEH if you prefer to avoid the use of the Undefined Exception Handler provided by swift */ #ifndef SWIG_DIRECTOR_NO_UEH #ifndef SWIG_DIRECTOR_UEH #define SWIG_DIRECTOR_UEH #endif #endif /* Use -DSWIG_DIRECTOR_STATIC if you prefer to avoid the use of the 'Swig' namespace. This could be useful for multi-modules projects. */ #ifdef SWIG_DIRECTOR_STATIC /* Force anonymous (static) namespace */ #define Swig #endif /* Use -DSWIG_DIRECTOR_NORTTI if you prefer to avoid the use of the native C++ RTTI and dynamic_cast<>. But be aware that directors could stop working when using this option. */ #ifdef SWIG_DIRECTOR_NORTTI /* When we don't use the native C++ RTTI, we implement a minimal one only for Directors. */ # ifndef SWIG_DIRECTOR_RTDIR # define SWIG_DIRECTOR_RTDIR #include namespace Swig { class Director; SWIGINTERN std::map& get_rtdir_map() { static std::map rtdir_map; return rtdir_map; } SWIGINTERNINLINE void set_rtdir(void *vptr, Director *rtdir) { get_rtdir_map()[vptr] = rtdir; } SWIGINTERNINLINE Director *get_rtdir(void *vptr) { std::map::const_iterator pos = get_rtdir_map().find(vptr); Director *rtdir = (pos != get_rtdir_map().end()) ? pos->second : 0; return rtdir; } } # endif /* SWIG_DIRECTOR_RTDIR */ # define SWIG_DIRECTOR_CAST(ARG) Swig::get_rtdir(static_cast(ARG)) # define SWIG_DIRECTOR_RGTR(ARG1, ARG2) Swig::set_rtdir(static_cast(ARG1), ARG2) #else # define SWIG_DIRECTOR_CAST(ARG) dynamic_cast(ARG) # define SWIG_DIRECTOR_RGTR(ARG1, ARG2) #endif /* SWIG_DIRECTOR_NORTTI */ extern "C" { struct swig_type_info; } namespace Swig { /* memory handler */ struct GCItem { virtual ~GCItem() {} virtual int get_own() const { return 0; } }; struct GCItem_var { GCItem_var(GCItem *item = 0) : _item(item) { } GCItem_var& operator=(GCItem *item) { GCItem *tmp = _item; _item = item; delete tmp; return *this; } ~GCItem_var() { delete _item; } GCItem * operator->() const { return _item; } private: GCItem *_item; }; struct GCItem_Object : GCItem { GCItem_Object(int own) : _own(own) { } virtual ~GCItem_Object() { } int get_own() const { return _own; } private: int _own; }; template struct GCItem_T : GCItem { GCItem_T(Type *ptr) : _ptr(ptr) { } virtual ~GCItem_T() { delete _ptr; } private: Type *_ptr; }; template struct GCArray_T : GCItem { GCArray_T(Type *ptr) : _ptr(ptr) { } virtual ~GCArray_T() { delete[] _ptr; } private: Type *_ptr; }; /* base class for director exceptions */ class DirectorException { protected: std::string swig_msg; public: DirectorException(PyObject *error, const char* hdr ="", const char* msg ="") : swig_msg(hdr) { SWIG_PYTHON_THREAD_BEGIN_BLOCK; if (strlen(msg)) { swig_msg += " "; swig_msg += msg; } if (!PyErr_Occurred()) { PyErr_SetString(error, getMessage()); } SWIG_PYTHON_THREAD_END_BLOCK; } const char *getMessage() const { return swig_msg.c_str(); } static void raise(PyObject *error, const char *msg) { throw DirectorException(error, msg); } static void raise(const char *msg) { raise(PyExc_RuntimeError, msg); } }; /* unknown exception handler */ class UnknownExceptionHandler { #ifdef SWIG_DIRECTOR_UEH static void handler() { try { throw; } catch (DirectorException& e) { std::cerr << "SWIG Director exception caught:" << std::endl << e.getMessage() << std::endl; } catch (std::exception& e) { std::cerr << "std::exception caught: "<< e.what() << std::endl; } catch (...) { std::cerr << "Unknown exception caught." << std::endl; } std::cerr << std::endl << "Python interpreter traceback:" << std::endl; PyErr_Print(); std::cerr << std::endl; std::cerr << "This exception was caught by the SWIG unexpected exception handler." << std::endl << "Try using %feature(\"director:except\") to avoid reaching this point." << std::endl << std::endl << "Exception is being re-thrown, program will like abort/terminate." << std::endl; throw; } public: std::unexpected_handler old; UnknownExceptionHandler(std::unexpected_handler nh = handler) { old = std::set_unexpected(nh); } ~UnknownExceptionHandler() { std::set_unexpected(old); } #endif }; /* type mismatch in the return value from a python method call */ class DirectorTypeMismatchException : public Swig::DirectorException { public: DirectorTypeMismatchException(PyObject *error, const char* msg="") : Swig::DirectorException(error, "SWIG director type mismatch", msg) { } DirectorTypeMismatchException(const char* msg="") : Swig::DirectorException(PyExc_TypeError, "SWIG director type mismatch", msg) { } static void raise(PyObject *error, const char *msg) { throw DirectorTypeMismatchException(error, msg); } static void raise(const char *msg) { throw DirectorTypeMismatchException(msg); } }; /* any python exception that occurs during a director method call */ class DirectorMethodException : public Swig::DirectorException { public: DirectorMethodException(const char* msg = "") : DirectorException(PyExc_RuntimeError, "SWIG director method error.", msg) { } static void raise(const char *msg) { throw DirectorMethodException(msg); } }; /* attempt to call a pure virtual method via a director method */ class DirectorPureVirtualException : public Swig::DirectorException { public: DirectorPureVirtualException(const char* msg = "") : DirectorException(PyExc_RuntimeError, "SWIG director pure virtual method called", msg) { } static void raise(const char *msg) { throw DirectorPureVirtualException(msg); } }; #if defined(SWIG_PYTHON_THREADS) /* __THREAD__ is the old macro to activate some thread support */ # if !defined(__THREAD__) # define __THREAD__ 1 # endif #endif #ifdef __THREAD__ # include "pythread.h" class Guard { PyThread_type_lock & mutex_; public: Guard(PyThread_type_lock & mutex) : mutex_(mutex) { PyThread_acquire_lock(mutex_, WAIT_LOCK); } ~Guard() { PyThread_release_lock(mutex_); } }; # define SWIG_GUARD(mutex) Guard _guard(mutex) #else # define SWIG_GUARD(mutex) #endif /* director base class */ class Director { private: /* pointer to the wrapped python object */ PyObject* swig_self; /* flag indicating whether the object is owned by python or c++ */ mutable bool swig_disown_flag; /* decrement the reference count of the wrapped python object */ void swig_decref() const { if (swig_disown_flag) { SWIG_PYTHON_THREAD_BEGIN_BLOCK; Py_DECREF(swig_self); SWIG_PYTHON_THREAD_END_BLOCK; } } public: /* wrap a python object, optionally taking ownership */ Director(PyObject* self) : swig_self(self), swig_disown_flag(false) { swig_incref(); } /* discard our reference at destruction */ virtual ~Director() { swig_decref(); } /* return a pointer to the wrapped python object */ PyObject *swig_get_self() const { return swig_self; } /* acquire ownership of the wrapped python object (the sense of "disown" * is from python) */ void swig_disown() const { if (!swig_disown_flag) { swig_disown_flag=true; swig_incref(); } } /* increase the reference count of the wrapped python object */ void swig_incref() const { if (swig_disown_flag) { Py_INCREF(swig_self); } } /* methods to implement pseudo protected director members */ virtual bool swig_get_inner(const char* /* swig_protected_method_name */) const { return true; } virtual void swig_set_inner(const char* /* swig_protected_method_name */, bool /* swig_val */) const { } /* ownership management */ private: typedef std::map swig_ownership_map; mutable swig_ownership_map swig_owner; #ifdef __THREAD__ static PyThread_type_lock swig_mutex_own; #endif public: template void swig_acquire_ownership_array(Type *vptr) const { if (vptr) { SWIG_GUARD(swig_mutex_own); swig_owner[vptr] = new GCArray_T(vptr); } } template void swig_acquire_ownership(Type *vptr) const { if (vptr) { SWIG_GUARD(swig_mutex_own); swig_owner[vptr] = new GCItem_T(vptr); } } void swig_acquire_ownership_obj(void *vptr, int own) const { if (vptr && own) { SWIG_GUARD(swig_mutex_own); swig_owner[vptr] = new GCItem_Object(own); } } int swig_release_ownership(void *vptr) const { int own = 0; if (vptr) { SWIG_GUARD(swig_mutex_own); swig_ownership_map::iterator iter = swig_owner.find(vptr); if (iter != swig_owner.end()) { own = iter->second->get_own(); swig_owner.erase(iter); } } return own; } template static PyObject* swig_pyobj_disown(PyObject *pyobj, PyObject *SWIGUNUSEDPARM(args)) { SwigPyObject *sobj = (SwigPyObject *)pyobj; sobj->own = 0; Director *d = SWIG_DIRECTOR_CAST(reinterpret_cast(sobj->ptr)); if (d) d->swig_disown(); return PyWeakref_NewProxy(pyobj, NULL); } }; #ifdef __THREAD__ PyThread_type_lock Director::swig_mutex_own = PyThread_allocate_lock(); #endif } #endif /* __cplusplus */ #endif /* -------- TYPES TABLE (BEGIN) -------- */ #define SWIGTYPE_p_FILE swig_types[0] #define SWIGTYPE_p_FL_CHART_ENTRY swig_types[1] #define SWIGTYPE_p_Fl swig_types[2] #define SWIGTYPE_p_Fl_Adjuster swig_types[3] #define SWIGTYPE_p_Fl_BMP_Image swig_types[4] #define SWIGTYPE_p_Fl_Bitmap swig_types[5] #define SWIGTYPE_p_Fl_Box swig_types[6] #define SWIGTYPE_p_Fl_Browser swig_types[7] #define SWIGTYPE_p_Fl_Browser_ swig_types[8] #define SWIGTYPE_p_Fl_Button swig_types[9] #define SWIGTYPE_p_Fl_Chart swig_types[10] #define SWIGTYPE_p_Fl_Check_Browser swig_types[11] #define SWIGTYPE_p_Fl_Check_Button swig_types[12] #define SWIGTYPE_p_Fl_Choice swig_types[13] #define SWIGTYPE_p_Fl_Clock swig_types[14] #define SWIGTYPE_p_Fl_Clock_Output swig_types[15] #define SWIGTYPE_p_Fl_Color_Chooser swig_types[16] #define SWIGTYPE_p_Fl_Counter swig_types[17] #define SWIGTYPE_p_Fl_Dial swig_types[18] #define SWIGTYPE_p_Fl_Double_Window swig_types[19] #define SWIGTYPE_p_Fl_End swig_types[20] #define SWIGTYPE_p_Fl_File_Browser swig_types[21] #define SWIGTYPE_p_Fl_File_Chooser swig_types[22] #define SWIGTYPE_p_Fl_File_Icon swig_types[23] #define SWIGTYPE_p_Fl_File_Input swig_types[24] #define SWIGTYPE_p_Fl_Fill_Dial swig_types[25] #define SWIGTYPE_p_Fl_Fill_Slider swig_types[26] #define SWIGTYPE_p_Fl_Float_Input swig_types[27] #define SWIGTYPE_p_Fl_FormsBitmap swig_types[28] #define SWIGTYPE_p_Fl_FormsPixmap swig_types[29] #define SWIGTYPE_p_Fl_Free swig_types[30] #define SWIGTYPE_p_Fl_GIF_Image swig_types[31] #define SWIGTYPE_p_Fl_Gl_Window swig_types[32] #define SWIGTYPE_p_Fl_Graphics_Driver swig_types[33] #define SWIGTYPE_p_Fl_Group swig_types[34] #define SWIGTYPE_p_Fl_Help_Block swig_types[35] #define SWIGTYPE_p_Fl_Help_Dialog swig_types[36] #define SWIGTYPE_p_Fl_Help_Font_Stack swig_types[37] #define SWIGTYPE_p_Fl_Help_Font_Style swig_types[38] #define SWIGTYPE_p_Fl_Help_Link swig_types[39] #define SWIGTYPE_p_Fl_Help_Target swig_types[40] #define SWIGTYPE_p_Fl_Help_View swig_types[41] #define SWIGTYPE_p_Fl_Hold_Browser swig_types[42] #define SWIGTYPE_p_Fl_Hor_Fill_Slider swig_types[43] #define SWIGTYPE_p_Fl_Hor_Nice_Slider swig_types[44] #define SWIGTYPE_p_Fl_Hor_Slider swig_types[45] #define SWIGTYPE_p_Fl_Hor_Value_Slider swig_types[46] #define SWIGTYPE_p_Fl_Image swig_types[47] #define SWIGTYPE_p_Fl_Input swig_types[48] #define SWIGTYPE_p_Fl_Input_ swig_types[49] #define SWIGTYPE_p_Fl_Input_Choice swig_types[50] #define SWIGTYPE_p_Fl_Int_Input swig_types[51] #define SWIGTYPE_p_Fl_JPEG_Image swig_types[52] #define SWIGTYPE_p_Fl_Label swig_types[53] #define SWIGTYPE_p_Fl_Light_Button swig_types[54] #define SWIGTYPE_p_Fl_Line_Dial swig_types[55] #define SWIGTYPE_p_Fl_Menu_ swig_types[56] #define SWIGTYPE_p_Fl_Menu_Bar swig_types[57] #define SWIGTYPE_p_Fl_Menu_Button swig_types[58] #define SWIGTYPE_p_Fl_Menu_Item swig_types[59] #define SWIGTYPE_p_Fl_Menu_Window swig_types[60] #define SWIGTYPE_p_Fl_Multi_Browser swig_types[61] #define SWIGTYPE_p_Fl_Multi_Label swig_types[62] #define SWIGTYPE_p_Fl_Multiline_Input swig_types[63] #define SWIGTYPE_p_Fl_Multiline_Output swig_types[64] #define SWIGTYPE_p_Fl_Nice_Slider swig_types[65] #define SWIGTYPE_p_Fl_Option swig_types[66] #define SWIGTYPE_p_Fl_Output swig_types[67] #define SWIGTYPE_p_Fl_Overlay_Window swig_types[68] #define SWIGTYPE_p_Fl_PNG_Image swig_types[69] #define SWIGTYPE_p_Fl_PNM_Image swig_types[70] #define SWIGTYPE_p_Fl_Pack swig_types[71] #define SWIGTYPE_p_Fl_Paged_Device swig_types[72] #define SWIGTYPE_p_Fl_Pixmap swig_types[73] #define SWIGTYPE_p_Fl_Positioner swig_types[74] #define SWIGTYPE_p_Fl_Preferences swig_types[75] #define SWIGTYPE_p_Fl_Printer swig_types[76] #define SWIGTYPE_p_Fl_Progress swig_types[77] #define SWIGTYPE_p_Fl_RGB_Image swig_types[78] #define SWIGTYPE_p_Fl_Radio_Button swig_types[79] #define SWIGTYPE_p_Fl_Radio_Light_Button swig_types[80] #define SWIGTYPE_p_Fl_Radio_Round_Button swig_types[81] #define SWIGTYPE_p_Fl_Region swig_types[82] #define SWIGTYPE_p_Fl_Repeat_Button swig_types[83] #define SWIGTYPE_p_Fl_Return_Button swig_types[84] #define SWIGTYPE_p_Fl_Roller swig_types[85] #define SWIGTYPE_p_Fl_Round_Button swig_types[86] #define SWIGTYPE_p_Fl_Round_Clock swig_types[87] #define SWIGTYPE_p_Fl_Scroll swig_types[88] #define SWIGTYPE_p_Fl_Scrollbar swig_types[89] #define SWIGTYPE_p_Fl_Secret_Input swig_types[90] #define SWIGTYPE_p_Fl_Select_Browser swig_types[91] #define SWIGTYPE_p_Fl_Shared_Image swig_types[92] #define SWIGTYPE_p_Fl_Simple_Counter swig_types[93] #define SWIGTYPE_p_Fl_Single_Window swig_types[94] #define SWIGTYPE_p_Fl_Slider swig_types[95] #define SWIGTYPE_p_Fl_Spinner swig_types[96] #define SWIGTYPE_p_Fl_Table swig_types[97] #define SWIGTYPE_p_Fl_Table_Row swig_types[98] #define SWIGTYPE_p_Fl_Tabs swig_types[99] #define SWIGTYPE_p_Fl_Text_Buffer swig_types[100] #define SWIGTYPE_p_Fl_Text_Display swig_types[101] #define SWIGTYPE_p_Fl_Text_Display__Style_Table_Entry swig_types[102] #define SWIGTYPE_p_Fl_Text_Editor swig_types[103] #define SWIGTYPE_p_Fl_Text_Selection swig_types[104] #define SWIGTYPE_p_Fl_Tile swig_types[105] #define SWIGTYPE_p_Fl_Tiled_Image swig_types[106] #define SWIGTYPE_p_Fl_Timer swig_types[107] #define SWIGTYPE_p_Fl_Toggle_Button swig_types[108] #define SWIGTYPE_p_Fl_Tooltip swig_types[109] #define SWIGTYPE_p_Fl_Tree swig_types[110] #define SWIGTYPE_p_Fl_Tree_Item swig_types[111] #define SWIGTYPE_p_Fl_Tree_Item_Array swig_types[112] #define SWIGTYPE_p_Fl_Tree_Prefs swig_types[113] #define SWIGTYPE_p_Fl_Valuator swig_types[114] #define SWIGTYPE_p_Fl_Value_Input swig_types[115] #define SWIGTYPE_p_Fl_Value_Output swig_types[116] #define SWIGTYPE_p_Fl_Value_Slider swig_types[117] #define SWIGTYPE_p_Fl_Widget swig_types[118] #define SWIGTYPE_p_Fl_Widget_Tracker swig_types[119] #define SWIGTYPE_p_Fl_Window swig_types[120] #define SWIGTYPE_p_Fl_Wizard swig_types[121] #define SWIGTYPE_p_Fl_XBM_Image swig_types[122] #define SWIGTYPE_p_Fl_XPM_Image swig_types[123] #define SWIGTYPE_p_Flcc_HueBox swig_types[124] #define SWIGTYPE_p_Flcc_ValueBox swig_types[125] #define SWIGTYPE_p_Flcc_Value_Input swig_types[126] #define SWIGTYPE_p_ListSelect swig_types[127] #define SWIGTYPE_p_Style_Table_Entry swig_types[128] #define SWIGTYPE_p_char swig_types[129] #define SWIGTYPE_p_double swig_types[130] #define SWIGTYPE_p_f___void swig_types[131] #define SWIGTYPE_p_f_int_int_int_int_p_q_const__char_p_void__void swig_types[132] #define SWIGTYPE_p_f_int_int_int_int_unsigned_int__void swig_types[133] #define SWIGTYPE_p_f_int_int_p_void__void swig_types[134] #define SWIGTYPE_p_f_int_p_Fl_Text_Editor__int swig_types[135] #define SWIGTYPE_p_f_int_p_Fl_Window__int swig_types[136] #define SWIGTYPE_p_f_int_p_p_char_r_int__int swig_types[137] #define SWIGTYPE_p_f_p_Fl_File_Chooser_p_void__void swig_types[138] #define SWIGTYPE_p_f_p_Fl_Widget__void swig_types[139] #define SWIGTYPE_p_f_p_Fl_Widget_int_float_float_char__int swig_types[140] #define SWIGTYPE_p_f_p_Fl_Widget_long__void swig_types[141] #define SWIGTYPE_p_f_p_Fl_Widget_p_q_const__char__p_char swig_types[142] #define SWIGTYPE_p_f_p_Fl_Widget_p_void__void swig_types[143] #define SWIGTYPE_p_f_p_Fl_Window_p_void__void swig_types[144] #define SWIGTYPE_p_f_p_q_const__Fl_Label_int_int_int_int_unsigned_int__void swig_types[145] #define SWIGTYPE_p_f_p_q_const__Fl_Label_r_int_r_int__void swig_types[146] #define SWIGTYPE_p_f_p_q_const__char__void swig_types[147] #define SWIGTYPE_p_f_p_q_const__char_int_int_int__void swig_types[148] #define SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_BMP_Image swig_types[149] #define SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_Bitmap swig_types[150] #define SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_GIF_Image swig_types[151] #define SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_Image swig_types[152] #define SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_JPEG_Image swig_types[153] #define SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_PNG_Image swig_types[154] #define SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_PNM_Image swig_types[155] #define SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_Pixmap swig_types[156] #define SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_RGB_Image swig_types[157] #define SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_Shared_Image swig_types[158] #define SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_Tiled_Image swig_types[159] #define SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_XBM_Image swig_types[160] #define SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_XPM_Image swig_types[161] #define SWIGTYPE_p_f_p_q_const__char_v_______void swig_types[162] #define SWIGTYPE_p_f_p_void__void swig_types[163] #define SWIGTYPE_p_f_p_void_int_int_int_int__void swig_types[164] #define SWIGTYPE_p_f_unsigned_int__void swig_types[165] #define SWIGTYPE_p_float swig_types[166] #define SWIGTYPE_p_int swig_types[167] #define SWIGTYPE_p_long swig_types[168] #define SWIGTYPE_p_p_Fl_Adjuster swig_types[169] #define SWIGTYPE_p_p_Fl_Box swig_types[170] #define SWIGTYPE_p_p_Fl_Browser swig_types[171] #define SWIGTYPE_p_p_Fl_Browser_ swig_types[172] #define SWIGTYPE_p_p_Fl_Button swig_types[173] #define SWIGTYPE_p_p_Fl_Chart swig_types[174] #define SWIGTYPE_p_p_Fl_Check_Browser swig_types[175] #define SWIGTYPE_p_p_Fl_Check_Button swig_types[176] #define SWIGTYPE_p_p_Fl_Choice swig_types[177] #define SWIGTYPE_p_p_Fl_Clock swig_types[178] #define SWIGTYPE_p_p_Fl_Clock_Output swig_types[179] #define SWIGTYPE_p_p_Fl_Color_Chooser swig_types[180] #define SWIGTYPE_p_p_Fl_Counter swig_types[181] #define SWIGTYPE_p_p_Fl_Dial swig_types[182] #define SWIGTYPE_p_p_Fl_Double_Window swig_types[183] #define SWIGTYPE_p_p_Fl_File_Browser swig_types[184] #define SWIGTYPE_p_p_Fl_File_Input swig_types[185] #define SWIGTYPE_p_p_Fl_Fill_Dial swig_types[186] #define SWIGTYPE_p_p_Fl_Fill_Slider swig_types[187] #define SWIGTYPE_p_p_Fl_Float_Input swig_types[188] #define SWIGTYPE_p_p_Fl_FormsBitmap swig_types[189] #define SWIGTYPE_p_p_Fl_FormsPixmap swig_types[190] #define SWIGTYPE_p_p_Fl_Free swig_types[191] #define SWIGTYPE_p_p_Fl_Gl_Window swig_types[192] #define SWIGTYPE_p_p_Fl_Group swig_types[193] #define SWIGTYPE_p_p_Fl_Help_View swig_types[194] #define SWIGTYPE_p_p_Fl_Hold_Browser swig_types[195] #define SWIGTYPE_p_p_Fl_Hor_Fill_Slider swig_types[196] #define SWIGTYPE_p_p_Fl_Hor_Nice_Slider swig_types[197] #define SWIGTYPE_p_p_Fl_Hor_Slider swig_types[198] #define SWIGTYPE_p_p_Fl_Hor_Value_Slider swig_types[199] #define SWIGTYPE_p_p_Fl_Input swig_types[200] #define SWIGTYPE_p_p_Fl_Input_ swig_types[201] #define SWIGTYPE_p_p_Fl_Input_Choice swig_types[202] #define SWIGTYPE_p_p_Fl_Int_Input swig_types[203] #define SWIGTYPE_p_p_Fl_Light_Button swig_types[204] #define SWIGTYPE_p_p_Fl_Line_Dial swig_types[205] #define SWIGTYPE_p_p_Fl_Menu_ swig_types[206] #define SWIGTYPE_p_p_Fl_Menu_Bar swig_types[207] #define SWIGTYPE_p_p_Fl_Menu_Button swig_types[208] #define SWIGTYPE_p_p_Fl_Menu_Window swig_types[209] #define SWIGTYPE_p_p_Fl_Multi_Browser swig_types[210] #define SWIGTYPE_p_p_Fl_Multiline_Input swig_types[211] #define SWIGTYPE_p_p_Fl_Multiline_Output swig_types[212] #define SWIGTYPE_p_p_Fl_Nice_Slider swig_types[213] #define SWIGTYPE_p_p_Fl_Output swig_types[214] #define SWIGTYPE_p_p_Fl_Overlay_Window swig_types[215] #define SWIGTYPE_p_p_Fl_Pack swig_types[216] #define SWIGTYPE_p_p_Fl_Positioner swig_types[217] #define SWIGTYPE_p_p_Fl_Progress swig_types[218] #define SWIGTYPE_p_p_Fl_Radio_Button swig_types[219] #define SWIGTYPE_p_p_Fl_Radio_Light_Button swig_types[220] #define SWIGTYPE_p_p_Fl_Radio_Round_Button swig_types[221] #define SWIGTYPE_p_p_Fl_Repeat_Button swig_types[222] #define SWIGTYPE_p_p_Fl_Return_Button swig_types[223] #define SWIGTYPE_p_p_Fl_Roller swig_types[224] #define SWIGTYPE_p_p_Fl_Round_Button swig_types[225] #define SWIGTYPE_p_p_Fl_Round_Clock swig_types[226] #define SWIGTYPE_p_p_Fl_Scroll swig_types[227] #define SWIGTYPE_p_p_Fl_Scrollbar swig_types[228] #define SWIGTYPE_p_p_Fl_Secret_Input swig_types[229] #define SWIGTYPE_p_p_Fl_Select_Browser swig_types[230] #define SWIGTYPE_p_p_Fl_Shared_Image swig_types[231] #define SWIGTYPE_p_p_Fl_Simple_Counter swig_types[232] #define SWIGTYPE_p_p_Fl_Single_Window swig_types[233] #define SWIGTYPE_p_p_Fl_Slider swig_types[234] #define SWIGTYPE_p_p_Fl_Spinner swig_types[235] #define SWIGTYPE_p_p_Fl_Table swig_types[236] #define SWIGTYPE_p_p_Fl_Table_Row swig_types[237] #define SWIGTYPE_p_p_Fl_Tabs swig_types[238] #define SWIGTYPE_p_p_Fl_Text_Display swig_types[239] #define SWIGTYPE_p_p_Fl_Text_Editor swig_types[240] #define SWIGTYPE_p_p_Fl_Tile swig_types[241] #define SWIGTYPE_p_p_Fl_Timer swig_types[242] #define SWIGTYPE_p_p_Fl_Toggle_Button swig_types[243] #define SWIGTYPE_p_p_Fl_Tree swig_types[244] #define SWIGTYPE_p_p_Fl_Valuator swig_types[245] #define SWIGTYPE_p_p_Fl_Value_Input swig_types[246] #define SWIGTYPE_p_p_Fl_Value_Output swig_types[247] #define SWIGTYPE_p_p_Fl_Value_Slider swig_types[248] #define SWIGTYPE_p_p_Fl_Widget swig_types[249] #define SWIGTYPE_p_p_Fl_Window swig_types[250] #define SWIGTYPE_p_p_Fl_Wizard swig_types[251] #define SWIGTYPE_p_p_Flcc_HueBox swig_types[252] #define SWIGTYPE_p_p_Flcc_ValueBox swig_types[253] #define SWIGTYPE_p_p_Flcc_Value_Input swig_types[254] #define SWIGTYPE_p_p_ListSelect swig_types[255] #define SWIGTYPE_p_p_char swig_types[256] #define SWIGTYPE_p_p_p_dirent swig_types[257] #define SWIGTYPE_p_short swig_types[258] #define SWIGTYPE_p_unsigned_char swig_types[259] #define SWIGTYPE_p_unsigned_int swig_types[260] #define SWIGTYPE_p_unsigned_long swig_types[261] #define SWIGTYPE_p_unsigned_short swig_types[262] #define SWIGTYPE_p_void swig_types[263] #define SWIGTYPE_p_wchar_t swig_types[264] static swig_type_info *swig_types[266]; static swig_module_info swig_module = {swig_types, 265, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) /* -------- TYPES TABLE (END) -------- */ #if (PY_VERSION_HEX <= 0x02000000) # if !defined(SWIG_PYTHON_CLASSIC) # error "This python version requires swig to be run with the '-classic' option" # endif #endif #if (PY_VERSION_HEX <= 0x02020000) # error "This python version requires swig to be run with the '-nomodern' option" #endif #if (PY_VERSION_HEX <= 0x02020000) # error "This python version requires swig to be run with the '-nomodernargs' option" #endif /*----------------------------------------------- @(target):= _fltk.so ------------------------------------------------*/ #if PY_VERSION_HEX >= 0x03000000 # define SWIG_init PyInit__fltk #else # define SWIG_init init_fltk #endif #define SWIG_name "_fltk" #define SWIGVERSION 0x020004 #define SWIG_VERSION SWIGVERSION #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) #include namespace swig { class SwigPtr_PyObject { protected: PyObject *_obj; public: SwigPtr_PyObject() :_obj(0) { } SwigPtr_PyObject(const SwigPtr_PyObject& item) : _obj(item._obj) { Py_XINCREF(_obj); } SwigPtr_PyObject(PyObject *obj, bool initial_ref = true) :_obj(obj) { if (initial_ref) { Py_XINCREF(_obj); } } SwigPtr_PyObject & operator=(const SwigPtr_PyObject& item) { Py_XINCREF(item._obj); Py_XDECREF(_obj); _obj = item._obj; return *this; } ~SwigPtr_PyObject() { Py_XDECREF(_obj); } operator PyObject *() const { return _obj; } PyObject *operator->() const { return _obj; } }; } namespace swig { struct SwigVar_PyObject : SwigPtr_PyObject { SwigVar_PyObject(PyObject* obj = 0) : SwigPtr_PyObject(obj, false) { } SwigVar_PyObject & operator = (PyObject* obj) { Py_XDECREF(_obj); _obj = obj; return *this; } }; } // Ugly and potentially dangerous hack to enable compiling // extensions with Python2.4 and later using MinGW. Library // msvcr71 does not declare the below symbol anymore, and // msvcrt should not be linked with! #ifdef __MINGW32_VERSION short ** _imp___ctype = 0; #endif #include "FL/fl_types.h" #include "FL/Enumerations.H" #define SWIG_From_long PyInt_FromLong SWIGINTERNINLINE PyObject * SWIG_From_int (int value) { return SWIG_From_long (value); } #include #if !defined(SWIG_NO_LLONG_MAX) # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__) # define LLONG_MAX __LONG_LONG_MAX__ # define LLONG_MIN (-LLONG_MAX - 1LL) # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) # endif #endif SWIGINTERN int SWIG_AsVal_double (PyObject *obj, double *val) { int res = SWIG_TypeError; if (PyFloat_Check(obj)) { if (val) *val = PyFloat_AsDouble(obj); return SWIG_OK; } else if (PyInt_Check(obj)) { if (val) *val = PyInt_AsLong(obj); return SWIG_OK; } else if (PyLong_Check(obj)) { double v = PyLong_AsDouble(obj); if (!PyErr_Occurred()) { if (val) *val = v; return SWIG_OK; } else { PyErr_Clear(); } } #ifdef SWIG_PYTHON_CAST_MODE { int dispatch = 0; double d = PyFloat_AsDouble(obj); if (!PyErr_Occurred()) { if (val) *val = d; return SWIG_AddCast(SWIG_OK); } else { PyErr_Clear(); } if (!dispatch) { long v = PyLong_AsLong(obj); if (!PyErr_Occurred()) { if (val) *val = v; return SWIG_AddCast(SWIG_AddCast(SWIG_OK)); } else { PyErr_Clear(); } } } #endif return res; } #include #include SWIGINTERNINLINE int SWIG_CanCastAsInteger(double *d, double min, double max) { double x = *d; if ((min <= x && x <= max)) { double fx = floor(x); double cx = ceil(x); double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */ if ((errno == EDOM) || (errno == ERANGE)) { errno = 0; } else { double summ, reps, diff; if (rd < x) { diff = x - rd; } else if (rd > x) { diff = rd - x; } else { return 1; } summ = rd + x; reps = diff/summ; if (reps < 8*DBL_EPSILON) { *d = rd; return 1; } } } return 0; } SWIGINTERN int SWIG_AsVal_long (PyObject *obj, long* val) { if (PyInt_Check(obj)) { if (val) *val = PyInt_AsLong(obj); return SWIG_OK; } else if (PyLong_Check(obj)) { long v = PyLong_AsLong(obj); if (!PyErr_Occurred()) { if (val) *val = v; return SWIG_OK; } else { PyErr_Clear(); } } #ifdef SWIG_PYTHON_CAST_MODE { int dispatch = 0; long v = PyInt_AsLong(obj); if (!PyErr_Occurred()) { if (val) *val = v; return SWIG_AddCast(SWIG_OK); } else { PyErr_Clear(); } if (!dispatch) { double d; int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) { if (val) *val = (long)(d); return res; } } } #endif return SWIG_TypeError; } SWIGINTERN int SWIG_AsVal_int (PyObject * obj, int *val) { long v; int res = SWIG_AsVal_long (obj, &v); if (SWIG_IsOK(res)) { if ((v < INT_MIN || v > INT_MAX)) { return SWIG_OverflowError; } else { if (val) *val = static_cast< int >(v); } } return res; } SWIGINTERN int SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val) { if (PyInt_Check(obj)) { long v = PyInt_AsLong(obj); if (v >= 0) { if (val) *val = v; return SWIG_OK; } else { return SWIG_OverflowError; } } else if (PyLong_Check(obj)) { unsigned long v = PyLong_AsUnsignedLong(obj); if (!PyErr_Occurred()) { if (val) *val = v; return SWIG_OK; } else { PyErr_Clear(); } } #ifdef SWIG_PYTHON_CAST_MODE { int dispatch = 0; unsigned long v = PyLong_AsUnsignedLong(obj); if (!PyErr_Occurred()) { if (val) *val = v; return SWIG_AddCast(SWIG_OK); } else { PyErr_Clear(); } if (!dispatch) { double d; int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) { if (val) *val = (unsigned long)(d); return res; } } } #endif return SWIG_TypeError; } SWIGINTERN int SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) { unsigned long v; int res = SWIG_AsVal_unsigned_SS_long (obj, &v); if (SWIG_IsOK(res)) { if ((v > UINT_MAX)) { return SWIG_OverflowError; } else { if (val) *val = static_cast< unsigned int >(v); } } return res; } SWIGINTERNINLINE PyObject* SWIG_From_unsigned_SS_long (unsigned long value) { return (value > LONG_MAX) ? PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); } SWIGINTERNINLINE PyObject * SWIG_From_unsigned_SS_int (unsigned int value) { return SWIG_From_unsigned_SS_long (value); } SWIGINTERN int SWIG_AsVal_float (PyObject * obj, float *val) { double v; int res = SWIG_AsVal_double (obj, &v); if (SWIG_IsOK(res)) { if ((v < -FLT_MAX || v > FLT_MAX)) { return SWIG_OverflowError; } else { if (val) *val = static_cast< float >(v); } } return res; } SWIGINTERN int SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val) { unsigned long v; int res = SWIG_AsVal_unsigned_SS_long (obj, &v); if (SWIG_IsOK(res)) { if ((v > UCHAR_MAX)) { return SWIG_OverflowError; } else { if (val) *val = static_cast< unsigned char >(v); } } return res; } #include #include "FL/Fl_Widget.H" #include "CallbackStruct.h" #include //static PyObject *my_pycallback = NULL; static void PythonCallBack(Fl_Widget *widget, void *clientdata) { PyObject *func, *arglist; PyObject *result; PyObject *obj = 0; CallbackStruct* cb = (CallbackStruct*)clientdata; // This is the function .... func = cb->func; if (cb->widget != 0) { // the parent widget obj = (PyObject *)( ((CallbackStruct *)clientdata)->widget); } else if (cb->type != 0) { // this is the type of widget swig_type_info *descr = (swig_type_info *)cb->type; if (descr != 0) { //printf("success\n"); obj = SWIG_NewPointerObj(widget, (swig_type_info *)descr, 0); } } if (obj == 0) { // generic fallback obj = SWIG_NewPointerObj(widget, SWIGTYPE_p_Fl_Widget, 0); } if (((CallbackStruct *)clientdata)->data) { arglist = Py_BuildValue("(OO)", obj, (PyObject *)(((CallbackStruct *)clientdata)->data) ); } else { arglist = Py_BuildValue("(O)", obj ); } result = PyEval_CallObject(func, arglist); //Py_XDECREF(arglist); // Trash arglist Py_XDECREF(result); if (PyErr_Occurred()) { PyErr_Print(); } return /*void*/; } SWIGINTERN swig_type_info* SWIG_pchar_descriptor(void) { static int init = 0; static swig_type_info* info = 0; if (!init) { info = SWIG_TypeQuery("_p_char"); init = 1; } return info; } SWIGINTERN int SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc) { #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(obj)) #else if (PyString_Check(obj)) #endif { char *cstr; Py_ssize_t len; #if PY_VERSION_HEX>=0x03000000 if (!alloc && cptr) { /* We can't allow converting without allocation, since the internal representation of string in Python 3 is UCS-2/UCS-4 but we require a UTF-8 representation. TODO(bhy) More detailed explanation */ return SWIG_RuntimeError; } obj = PyUnicode_AsUTF8String(obj); PyBytes_AsStringAndSize(obj, &cstr, &len); if(alloc) *alloc = SWIG_NEWOBJ; #else PyString_AsStringAndSize(obj, &cstr, &len); #endif if (cptr) { if (alloc) { /* In python the user should not be able to modify the inner string representation. To warranty that, if you define SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string buffer is always returned. The default behavior is just to return the pointer value, so, be careful. */ #if defined(SWIG_PYTHON_SAFE_CSTRINGS) if (*alloc != SWIG_OLDOBJ) #else if (*alloc == SWIG_NEWOBJ) #endif { *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1))); *alloc = SWIG_NEWOBJ; } else { *cptr = cstr; *alloc = SWIG_OLDOBJ; } } else { #if PY_VERSION_HEX>=0x03000000 assert(0); /* Should never reach here in Python 3 */ #endif *cptr = SWIG_Python_str_AsChar(obj); } } if (psize) *psize = len + 1; #if PY_VERSION_HEX>=0x03000000 Py_XDECREF(obj); #endif return SWIG_OK; } else { swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); if (pchar_descriptor) { void* vptr = 0; if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) { if (cptr) *cptr = (char *) vptr; if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0; if (alloc) *alloc = SWIG_OLDOBJ; return SWIG_OK; } } } return SWIG_TypeError; } SWIGINTERNINLINE PyObject * SWIG_From_unsigned_SS_char (unsigned char value) { return SWIG_From_unsigned_SS_long (value); } SWIGINTERNINLINE PyObject * SWIG_FromCharPtrAndSize(const char* carray, size_t size) { if (carray) { if (size > INT_MAX) { swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); return pchar_descriptor ? SWIG_InternalNewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void(); } else { #if PY_VERSION_HEX >= 0x03000000 return PyUnicode_FromStringAndSize(carray, static_cast< int >(size)); #else return PyString_FromStringAndSize(carray, static_cast< int >(size)); #endif } } else { return SWIG_Py_Void(); } } SWIGINTERNINLINE PyObject * SWIG_FromCharPtr(const char *cptr) { return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); } SWIGINTERN int SWIG_AsVal_bool (PyObject *obj, bool *val) { int r = PyObject_IsTrue(obj); if (r == -1) return SWIG_ERROR; if (val) *val = r ? true : false; return SWIG_OK; } SWIGINTERN void Fl_Widget_draw_label__SWIG_3(Fl_Widget *self){ int X = self->x()+Fl::box_dx(self->box()); int W = self->w()-Fl::box_dw(self->box()); if (W > 11 && self->align()&(FL_ALIGN_LEFT|FL_ALIGN_RIGHT)) {X += 3; W -= 6;} self->draw_label(X, self->y()+Fl::box_dy(self->box()), W, self->h()-Fl::box_dh(self->box()),self->align()); } SWIGINTERN void Fl_Widget_callback__SWIG_5(Fl_Widget *self,PyObject *PyFunc,PyObject *PyWidget,PyObject *PyData=0){ //CallbackStruct *cb = 0; CallbackStruct *cb = (CallbackStruct*)self->user_data(); if (cb) { cb->func = PyFunc; cb->widget = PyWidget; if (PyData) { cb->data = PyData; } cb->widget = PyWidget; } else cb = new CallbackStruct( PyFunc, PyData, PyWidget ); // Add a reference to new callback Py_INCREF(PyFunc); Py_XINCREF(PyData); Py_XINCREF(PyWidget); self->callback(PythonCallBack, (void *)cb); } SWIGINTERN void Fl_Widget_user_data__SWIG_2(Fl_Widget *self,PyObject *PyData){ // Add a reference to new callback Py_XINCREF(PyData); CallbackStruct *cb = (CallbackStruct*)self->user_data(); if (cb == NULL) { cb = new CallbackStruct(0, PyData, (PyObject*)0); self->user_data((void *)cb); } else { cb->data = PyData; } } SWIGINTERN PyObject *Fl_Widget_user_data__SWIG_3(Fl_Widget *self){ PyObject *obj = 0; CallbackStruct *cb = (CallbackStruct*)self->user_data(); if (cb) { if (cb->data) { obj = (PyObject*)cb->data; } } //Py_XDECREF(obj); Py_XINCREF(obj); return obj; } #include "FL/Fl_Group.H" #include "FL/Fl_Browser_.H" SWIGINTERN Fl_Scrollbar *Fl_Browser__getScrollbar(Fl_Browser_ *self){ return &(self->scrollbar); } SWIGINTERN Fl_Scrollbar *Fl_Browser__getHScrollbar(Fl_Browser_ *self){ return &(self->hscrollbar); } #include "FL/Fl_Browser.H" SWIGINTERNINLINE PyObject * SWIG_From_char (char c) { return SWIG_FromCharPtrAndSize(&c,1); } SWIGINTERN int SWIG_AsCharArray(PyObject * obj, char *val, size_t size) { char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ; int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc); if (SWIG_IsOK(res)) { if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize; if (csize <= size) { if (val) { if (csize) memcpy(val, cptr, csize*sizeof(char)); if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char)); } if (alloc == SWIG_NEWOBJ) { delete[] cptr; res = SWIG_DelNewMask(res); } return res; } if (alloc == SWIG_NEWOBJ) delete[] cptr; } return SWIG_TypeError; } SWIGINTERN int SWIG_AsVal_char (PyObject * obj, char *val) { int res = SWIG_AsCharArray(obj, val, 1); if (!SWIG_IsOK(res)) { long v; res = SWIG_AddCast(SWIG_AsVal_long (obj, &v)); if (SWIG_IsOK(res)) { if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) { if (val) *val = static_cast< char >(v); } else { res = SWIG_OverflowError; } } } return res; } SWIGINTERN void Fl_Browser_add(Fl_Browser *self,char const *text,PyObject *data=0){ Py_XINCREF(data); if (data) { void *tmp = (void *) 0 ; if ((SWIG_ConvertPtr(data,(void **) &tmp, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) { PyErr_Clear(); // not a C object, just add it as is self->add( text, data ); } else { // found C object, add it instead of data self->add( text, tmp ); } } else self->add( text ); } SWIGINTERN void Fl_Browser_insert(Fl_Browser *self,int index,char const *text,PyObject *data=0){ Py_XINCREF(data); //self->insert( index, text, data); if (data) { void *tmp = (void *) 0 ; if ((SWIG_ConvertPtr(data,(void **) &tmp, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) { PyErr_Clear(); // not a C object, just add it as is self->insert( index, text, data ); } else { // found C object, add it instead of data self->insert( index, text, tmp ); } } else self->insert( index, text, 0 ); } SWIGINTERN PyObject *Fl_Browser_get_data(Fl_Browser *self,int index){ PyObject *data = (PyObject *)(self->data(index)); Py_XINCREF(data); return (PyObject *)data; } SWIGINTERN PyObject *Fl_Browser_data(Fl_Browser *self,int index,PyObject *data=0){ //Py_XDECREF((PyObject *)(self->data(index))); Py_XINCREF(data); if (data) { void *tmp = (void *) 0 ; if ((SWIG_ConvertPtr(data,(void **) &tmp, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) { PyErr_Clear(); // not a C object, just add it as is self->data( index, data ); } else { // found C object, add it instead of data self->data( index, tmp ); } } else { PyObject *data = (PyObject *)(self->data(index)); Py_XINCREF(data); return (PyObject *)data; } Py_XINCREF(Py_None); return Py_None; } SWIGINTERN void Fl_Browser_column_widths__SWIG_1(Fl_Browser *self,PyObject *widths){ //static const int no_cols[] = { 0 }; if (PyTuple_Check(widths)) { // the following lines should not be necessary? // commented out by ah, June 15, 2003 //if (self->column_widths()) //{ // // FLTK has its own no_cols... // if (*self->column_widths()) // { // //delete [] self->column_widths(); // self->column_widths(no_cols); // } //} int sz = PyTuple_Size(widths); if (sz) { int* cw = new int[sz+1]; cw[sz] = 0; for (int k = 0; kcolumn_widths(cw); } else { // nothing to do } } else { PyErr_SetString(PyExc_TypeError, "Not a tuple"); return; } } #ifdef ANY #undef ANY #endif #include "FL/Fl_File_Browser.H" enum DIR_SEARCH { FL_ALPHASORT, FL_CASEALPHASORT, FL_CASENUMERICSORT, FL_NUMERICSORT }; SWIGINTERN int Fl_File_Browser_load_new(Fl_File_Browser *self,PyObject *dObj,PyObject *sObj){ //char *directory=PyString_AsString(dObj); char *directory=SWIG_Python_str_AsChar(dObj); int sort=PyInt_AsLong(sObj); int result = -1; switch (sort) { case FL_ALPHASORT: result = self->load(directory, fl_alphasort); break; case FL_CASEALPHASORT: result = self->load(directory, fl_casealphasort); break; case FL_CASENUMERICSORT: result = self->load(directory, fl_casenumericsort); break; case FL_NUMERICSORT: result = self->load(directory, fl_numericsort); break; default: break; } return result; } #include "FL/Fl_File_Icon.H" SWIGINTERN int SWIG_AsVal_short (PyObject * obj, short *val) { long v; int res = SWIG_AsVal_long (obj, &v); if (SWIG_IsOK(res)) { if ((v < SHRT_MIN || v > SHRT_MAX)) { return SWIG_OverflowError; } else { if (val) *val = static_cast< short >(v); } } return res; } #include "FL/Fl_File_Chooser.H" #include "CallbackStruct.h" static void PythonCallBack(Fl_File_Chooser *widget, void *clientdata) { PyObject *func, *arglist; PyObject *result; PyObject *obj; func = (PyObject *)( ((CallbackStruct *)clientdata)->func); // the parent widget obj = (PyObject *)( ((CallbackStruct *)clientdata)->widget); //obj = SWIG_NewPointerObj(widget, SWIGTYPE_p_Fl_File_Chooser, 0); if (((CallbackStruct *)clientdata)->data) { arglist = Py_BuildValue("(OO)", obj, (PyObject *)(((CallbackStruct *)clientdata)->data) ); } else { arglist = Py_BuildValue("(O)", obj ); } result = PyEval_CallObject(func, arglist); Py_DECREF(arglist); // Trash arglist Py_XDECREF(result); if (PyErr_Occurred()) { PyErr_Print(); } return /*void*/; } SWIGINTERN void Fl_File_Chooser_callback__SWIG_1(Fl_File_Chooser *self,PyObject *PyFunc,PyObject *PyWidget,PyObject *PyData=0){ CallbackStruct *cb = 0; cb = new CallbackStruct( PyFunc, PyData, PyWidget ); Py_INCREF(PyFunc); /* Add a reference to new callback */ Py_XINCREF(PyData); Py_XINCREF(PyWidget); self->callback(PythonCallBack, (void *)cb); } #include "FL/Fl.H" SWIGINTERNINLINE PyObject* SWIG_From_bool (bool value) { return PyBool_FromLong(value ? 1 : 0); } #define SWIG_From_double PyFloat_FromDouble SWIGINTERN void Fl_cond_lock(){ #ifdef DO_NOT_USE_THREADS fprintf(stderr, "Warning: Fl::lock() not supported!\n"); #else Fl::lock(); #endif } SWIGINTERN void Fl_cond_unlock(){ #ifdef DO_NOT_USE_THREADS fprintf(stderr, "Warning: Fl::unlock() not supported!\n"); #else Fl::unlock(); #endif } SWIGINTERN void Fl_cond_awake__SWIG_1(void *message=0){ #ifdef DO_NOT_USE_THREADS fprintf(stderr, "Warning: Fl::awake() not supported!\n"); #else Fl::awake(message); #endif } SWIGINTERN void Fl_cond_thread_message(){ #ifdef DO_NOT_USE_THREADS fprintf(stderr, "Warning: Fl::thread_message() not supported!\n"); #else Fl::thread_message(); #endif } // called by FLTK when idle PyObject *registeredDoIDle = 0; void pyFLTK_idleCallback(void *data) { PyObject *arglist; PyObject *result; arglist = Py_BuildValue("()"); // Build argument list result = PyEval_CallObject(registeredDoIDle, arglist); // Call Python Py_DECREF(arglist); // Trash arglist //result = PyObject_CallObject(func,(PyObject *)0); // Call Python Py_XDECREF(result); if (PyErr_Occurred()) { PyErr_Print(); } } // turn on/off idle callback into the Python interpreter void pyFLTK_controlIdleCallbacks(int enable) { if (enable) { Fl::add_idle(pyFLTK_idleCallback, 0); } else { Fl::remove_idle(pyFLTK_idleCallback); } } // called by the initialization code in the module - // not meant for user consumption PyObject *registerDoIdle(PyObject *self, PyObject *args) { PyArg_ParseTuple( args, "O", ®isteredDoIDle); if (!PyCallable_Check(registeredDoIDle)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { Py_INCREF(registeredDoIDle); } Py_INCREF(Py_None); return Py_None; } #include "CallbackStruct.h" struct timeout_link { CallbackStruct *handle; timeout_link *next; }; static timeout_link *py_timeout_funcs = NULL; void pyFLTK_timeoutCallback(void *data) { CallbackStruct *cb = (CallbackStruct *)data; PyObject *result; if (py_timeout_funcs != NULL) { timeout_link *l, *p; for (l = py_timeout_funcs, p = 0; l && l->handle != cb; p = l, l = l->next); if (l) { // Found it, so remove it from the list... if (p) p->next = l->next; else py_timeout_funcs = l->next; // And free the record... delete l; } } // check for NULL arguments PyObject *args = NULL; if (cb->data) { args = Py_BuildValue("(O)", cb->data); if (PyErr_Occurred()) { PyErr_Print(); } } result = PyEval_CallObject(cb->func, args); // Call Python if (PyErr_Occurred()) { PyErr_Print(); } Py_DECREF(cb->func); Py_XDECREF(cb->data); Py_XDECREF(args); Py_XDECREF(result); delete cb; if (PyErr_Occurred()) { PyErr_Print(); } } PyObject *Fl_add_timeout(PyObject *self, PyObject *args) { float numSeconds; PyObject *func = 0; PyObject *data = 0; PyArg_ParseTuple( args, "fO|O", &numSeconds, &func, &data); if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { CallbackStruct *cb = new CallbackStruct( func, data, (PyObject*)0 ); // add reference to list timeout_link *t = new timeout_link; t->handle = cb; t->next = py_timeout_funcs; py_timeout_funcs = t; // function call Py_INCREF(func); Py_XINCREF(data); Fl::add_timeout( numSeconds, pyFLTK_timeoutCallback, cb); } Py_INCREF(Py_None); return Py_None; } PyObject *Fl_repeat_timeout(PyObject *self, PyObject *args) { float numSeconds; PyObject *func = 0; PyObject *data = 0; PyArg_ParseTuple( args, "fO|O", &numSeconds, &func, &data); if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { CallbackStruct *cb = new CallbackStruct( func, data, (PyObject*)0 ); // add reference to list timeout_link *t = new timeout_link; t->handle = cb; t->next = py_timeout_funcs; py_timeout_funcs = t; // function call Py_INCREF(func); Py_XINCREF(data); Fl::repeat_timeout( numSeconds, pyFLTK_timeoutCallback, cb); } Py_INCREF(Py_None); return Py_None; } PyObject *Fl_remove_timeout(PyObject *self, PyObject *args) { PyObject *func = 0; PyObject *data = 0; PyArg_ParseTuple( args, "O|O", &func, &data); if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { CallbackStruct *cb = new CallbackStruct( func, data, (PyObject*)0 ); Fl::remove_timeout( pyFLTK_timeoutCallback, cb); Py_DECREF(cb->func); Py_XDECREF(cb->data); if (py_timeout_funcs != NULL) { timeout_link *l, *p; for (l = py_timeout_funcs, p = 0; l && l->handle->func != func; p = l, l = l->next); if (l) { // Found it, so remove it from the list... if (p) p->next = l->next; else py_timeout_funcs = l->next; Fl::remove_timeout( pyFLTK_timeoutCallback, l->handle); // And free the record... delete l; } } } Py_INCREF(Py_None); return Py_None; } struct fd_link { int fd; PyObject *func; PyObject *data; fd_link *next; }; static fd_link *py_fd_funcs = NULL; void pyFLTK_fdCallback(int fd, void* data) { // check for NULL arguments PyObject *args = NULL; // loop through Python handler for (const fd_link *hl = py_fd_funcs; hl; hl = hl->next) { if (hl->fd == fd) { if (hl->data == NULL) args = Py_BuildValue("(i)", fd); else args = Py_BuildValue("(iO)", fd, hl->data); PyEval_CallObject(hl->func, args); // Call Python if (PyErr_Occurred()) { PyErr_Print(); } break; } } Py_XDECREF(args); } PyObject *Fl_add_fd(PyObject *self, PyObject *args) { int fd; PyObject *func = 0; PyObject *data = 0; PyArg_ParseTuple( args, "iO|O", &fd, &func, &data); if (PyErr_Occurred()) { PyErr_Print(); } if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { fd_link *cb = py_fd_funcs; while (cb != NULL) { if (cb->fd == fd) { Py_INCREF(cb->func); Py_XINCREF(cb->data); cb->func = func; cb->data = data; break; } cb = cb->next; } if (cb == NULL) { // only add one callback, actual callback list is kept in Python Fl::add_fd(fd, pyFLTK_fdCallback); // add the python callback fd_link *cb = new fd_link; cb->next = py_fd_funcs; cb->fd = fd; cb->func = func; cb->data = data; py_fd_funcs = cb; Py_INCREF(func); Py_XINCREF(data); } } Py_INCREF(Py_None); return Py_None; } PyObject * Fl_remove_fd(PyObject *self, PyObject *args) { int fd; PyArg_ParseTuple( args, "i", &fd); if (PyErr_Occurred()) { PyErr_Print(); } if (py_fd_funcs != NULL) { fd_link *l, *p; // Search for the handler in the list... for (l = py_fd_funcs, p = 0; l && l->fd != fd; p = l, l = l->next); if (l) { // Found it, so remove it from the list... if (p) p->next = l->next; else py_fd_funcs = l->next; // reference count Py_DECREF(l->func); Py_XDECREF(l->data); // And free the record... delete l; // remove the fltk handler to avoid memory leaks Fl::remove_fd(fd); } } Py_INCREF(Py_None); return Py_None; } struct handler_link { //int (*handle)(int); PyObject *handle; handler_link *next; }; static handler_link *py_handler_funcs = NULL; int pyFLTK_handlerCallback(int data) { PyObject *result = NULL; // check for NULL arguments PyObject *args = NULL; args = Py_BuildValue("(i)", data); if (PyErr_Occurred()) { PyErr_Print(); } // loop through Python handler int c_result = 0; for (const handler_link *hl = py_handler_funcs; hl; hl = hl->next) { result = PyEval_CallObject(hl->handle, args); // Call Python if (PyErr_Occurred()) { PyErr_Print(); } if (result){ SWIG_AsVal_int(result, &c_result); } if (c_result) break; } Py_XDECREF(args); Py_XDECREF(result); return c_result; } PyObject *Fl_add_handler(PyObject *self, PyObject *args) { PyObject *func = 0; PyArg_ParseTuple( args, "O", &func); if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { if (py_handler_funcs == NULL) { // only add one callback, actual callback list is kept in Python Fl::add_handler(pyFLTK_handlerCallback); } // add the python callback handler_link *cb = new handler_link; cb->next = py_handler_funcs; cb->handle = func; py_handler_funcs = cb; Py_INCREF(func); } Py_INCREF(Py_None); return Py_None; } PyObject * Fl_remove_handler(PyObject *self, PyObject *args) { PyObject *func = 0; PyArg_ParseTuple( args, "O", &func); if (py_handler_funcs != NULL) { handler_link *l, *p; // Search for the handler in the list... for (l = py_handler_funcs, p = 0; l && l->handle != func; p = l, l = l->next); if (l) { // Found it, so remove it from the list... if (p) p->next = l->next; else py_handler_funcs = l->next; // reference count Py_DECREF(l->handle); // And free the record... delete l; } // was this the last one? if (py_handler_funcs == NULL) { // remove the fltk handler to avoid memory leaks Fl::remove_handler(pyFLTK_handlerCallback); } } Py_INCREF(Py_None); return Py_None; } struct check_link { //int (*handle)(int); PyObject *handle; PyObject *args; check_link *next; }; static check_link *py_check_funcs = NULL; void pyFLTK_checkCallback(void *data) { PyObject *result = NULL; // loop through Python handler for (const check_link *hl = py_check_funcs; hl; hl = hl->next) { // check for NULL arguments PyObject *args = NULL; if (hl->args) { args = Py_BuildValue("(O)", hl->args); } else { args = Py_BuildValue("()"); } if (PyErr_Occurred()) { PyErr_Print(); } result = PyEval_CallObject(hl->handle, args); // Call Python if (PyErr_Occurred()) { PyErr_Print(); } Py_XDECREF(args); Py_XDECREF(result); } } PyObject *Fl_add_check(PyObject *self, PyObject *args) { PyObject *func = 0; PyObject *data = 0; PyArg_ParseTuple( args, "O|O", &func, &data); if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Fl.add_check: need a callable object!"); } else { if (py_check_funcs == NULL) { // only add one callback, actual callback list is kept in Python Fl::add_check(pyFLTK_checkCallback); } // add tye python callback check_link *cb = new check_link; cb->next = py_check_funcs; cb->handle = func; cb->args = data; py_check_funcs = cb; Py_INCREF(func); Py_XINCREF(data); } Py_INCREF(Py_None); return Py_None; } PyObject * Fl_remove_check(PyObject *self, PyObject *args) { PyObject *func = 0; PyObject *data = 0; PyArg_ParseTuple( args, "O|0", &func, &data); if (py_check_funcs != NULL) { check_link *l, *p; // Search for the handler in the list... for (l = py_check_funcs, p = 0; l && l->handle != func; p = l, l = l->next); if (l) { // Found it, so remove it from the list... if (p) p->next = l->next; else py_check_funcs = l->next; // reference count Py_DECREF(l->handle); Py_XDECREF(l->args); // And free the record... delete l; } // was this the last one? if (py_check_funcs == NULL) { // remove the fltk handler to avoid memory leaks Fl::remove_check(pyFLTK_checkCallback); } } Py_INCREF(Py_None); return Py_None; } PyObject *Fl_get_font_sizes_tmp(PyObject *self, PyObject *args) { int fontName; PyArg_ParseTuple( args, "i", &fontName); int *fontSizes = NULL; int size = Fl::get_font_sizes(fontName, fontSizes); PyObject *result = PyList_New(size); for (int i = 0; i < size; i++) { PyObject *o = PyLong_FromLong(fontSizes[i]); PyList_SetItem(result,i,o); } Py_INCREF(result); return result; } #include "FL/dirent.h" #include "FL/filename.H" #include "FL/Fl_Valuator.H" #include "FL/Fl_Adjuster.H" #include "FL/fl_ask.H" const char *fl_vararg_input(const char *label, const char *deflt = 0) { const char* result = 0; result = fl_input(label, deflt); return result; }; const char *fl_vararg_password(const char *label, const char *deflt = 0) { const char* result = 0; result = fl_password(label, deflt); return result; }; const char* fl_no_get() { return fl_yes; }; const char* fl_yes_get() { return fl_yes; }; const char* fl_ok_get() { return fl_yes; }; const char* fl_cancel_get() { return fl_yes; }; const char* fl_close_get() { return fl_yes; }; void fl_no_set(const char* value) { fl_no = value; }; void fl_yes_set(const char* value) { fl_yes = value; }; void fl_ok_set(const char* value) { fl_ok = value; }; void fl_cancel_set(const char* value) { fl_cancel = value; }; void fl_close_set(const char* value) { fl_close = value; }; void fl_mt_message(const char* text) { Py_BEGIN_ALLOW_THREADS; fl_message(text); Py_END_ALLOW_THREADS; }; void fl_mt_alert(const char* text) { Py_BEGIN_ALLOW_THREADS; fl_alert(text); Py_END_ALLOW_THREADS; }; int fl_mt_ask(const char* text) { int status = 0; Py_BEGIN_ALLOW_THREADS; status = fl_ask(text); Py_END_ALLOW_THREADS; return status; }; int fl_mt_choice(const char *q,const char *b0,const char *b1,const char *b2) { int status = 0; Py_BEGIN_ALLOW_THREADS; status = fl_choice(q, b0, b1, b2); Py_END_ALLOW_THREADS; return status; }; const char *fl_mt_input(const char *label, const char *deflt = 0) { const char* result = 0; Py_BEGIN_ALLOW_THREADS; result = fl_input(label, deflt); Py_END_ALLOW_THREADS; return result; }; const char *fl_mt_password(const char *label, const char *deflt = 0) { const char* result = 0; Py_BEGIN_ALLOW_THREADS; result = fl_password(label, deflt); Py_END_ALLOW_THREADS; return result; }; #include "FL/Fl_Image.H" SWIGINTERNINLINE PyObject * SWIG_From_float (float value) { return SWIG_From_double (value); } #include "FL/Fl_Bitmap.H" #include "FL/Fl_BMP_Image.H" #include "FL/Fl_Box.H" #include "FL/Fl_Button.H" #include "FL/Fl_Chart.H" #include "FL/Fl_Check_Browser.H" #include "FL/Fl_Light_Button.H" #include "FL/Fl_Check_Button.H" #include "FL/Fl_Menu_.H" #include SWIGINTERN void Fl_Menu__copy__SWIG_1(Fl_Menu_ *self,PyObject *args,PyObject *user_data=0){ PyObject *menuList; if (!PyTuple_Check(args)) { printf("Fl_Menu_.menu: not a tuple\n"); return; } menuList = args; Fl_Menu_Item *theMenuItems = createFl_Menu_Item_Array( NULL, menuList); // call the C++ object to add the menu self->copy(theMenuItems, user_data); delete [] theMenuItems; } SWIGINTERN void Fl_Menu__menu__SWIG_1(Fl_Menu_ *self,PyObject *args){ PyObject *menuList; if (!PyTuple_Check(args)) { printf("Fl_Menu_.menu: not a tuple\n"); return; } menuList = args; Fl_Menu_Item *theMenuItems = createFl_Menu_Item_Array( NULL, menuList); // call the C++ object to add the menu self->copy(theMenuItems); delete [] theMenuItems; } SWIGINTERN int Fl_Menu__add__SWIG_2(Fl_Menu_ *self,PyObject *lObj,PyObject *sObj,PyObject *cObj,PyObject *uObj=0,PyObject *fObj=0){ //char *pyLabel=PyString_AsString(lObj); char* pyLabel = SWIG_Python_str_AsChar(lObj); int shortcut=PyInt_AsLong(sObj); PyObject *callback=cObj; PyObject *userData=uObj; int flags=0; if (fObj) flags=PyInt_AsLong(fObj); Fl_Callback *callback_=(Fl_Callback*)0; void *user_data_=0; // got all the values if (callback && PyCallable_Check(callback)) { CallbackStruct *cb = new CallbackStruct( callback, userData, SWIGTYPE_p_Fl_Menu_Item ); Py_INCREF(callback); //self->callback(PythonCallBack, (void *)cb); callback_ = (Fl_Callback *)PythonCallBack; user_data_ = (void *)cb; } return self->add(pyLabel, shortcut, callback_, user_data_, flags); } SWIGINTERN PyObject *Fl_Menu__menu__SWIG_2(Fl_Menu_ *self){ // returns the Fl_Menu_Item structure of the menu // as a Python list const Fl_Menu_Item* items = self->menu(); int length = self->size(); PyObject *result = PyList_New(length); for (int i = 0; i < length; i++) { PyObject *o = Py_None; if (items[i].text != NULL) { if (items[i].callback_) { // registered callback, // caution, callback information is in user_data CallbackStruct *cb = (CallbackStruct*)items[i].user_data_; o = Py_BuildValue("zlOOl", items[i].text, items[i].shortcut_, cb->func, cb->data, items[i].flags); } else { // no callback, return Py_None o = Py_BuildValue("zlOOl", items[i].text, items[i].shortcut_, Py_None, Py_None, items[i].flags); } } else { // empty item o = Py_BuildValue("OOOOO", Py_None, Py_None, Py_None, Py_None, Py_None); } PyList_SetItem(result, i, o); } return result; } #include "FL/Fl_Choice.H" #include "FL/Fl_Clock.H" #include "FL/Fl_Value_Input.H" #include "FL/Fl_Color_Chooser.H" #include "FL/Fl_Counter.H" #include "FL/Fl_Dial.H" SWIGINTERNINLINE PyObject * SWIG_From_short (short value) { return SWIG_From_long (value); } #include "FL/Fl_Window.H" SWIGINTERN void Fl_Window_show(Fl_Window *self,PyObject *count=0,PyObject *data=0){ Py_XINCREF(count); Py_XINCREF(data); if (!count) self->show(); else if (!data) { if (PyList_Check(count)) { int size = PyList_Size(count); int i = 0; char** tmp = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(count,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif tmp[i] = SWIG_Python_str_AsChar(PyList_GetItem(count,i)); //tmp[i] = PyString_AsString(PyList_GetItem(count,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(tmp); return; } } tmp[i] = 0; self->show(size, tmp); free(tmp); } } else { if (PyList_Check(data)) { int size = PyInt_AsLong(count); int i = 0; char** tmp = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(data,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif tmp[i] = SWIG_Python_str_AsChar(PyList_GetItem(data,i)); //tmp[i] = PyString_AsString(PyList_GetItem(data,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(tmp); return; } } tmp[i] = 0; self->show(size, tmp); free(tmp); } else { PyErr_SetString(PyExc_TypeError,"not a list"); self->show(); } } } #include "FL/Fl_Double_Window.H" SWIGINTERN void Fl_Double_Window_show(Fl_Double_Window *self,PyObject *count=0,PyObject *data=0){ Py_XINCREF(count); Py_XINCREF(data); if (!count) self->show(); else if (!data) { if (PyList_Check(count)) { int size = PyList_Size(count); int i = 0; char** tmp = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(count,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif tmp[i] = SWIG_Python_str_AsChar(PyList_GetItem(count,i)); //tmp[i] = PyString_AsString(PyList_GetItem(count,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(tmp); return; } } tmp[i] = 0; self->show(size, tmp); free(tmp); } } else { if (PyList_Check(data)) { int size = PyInt_AsLong(count); int i = 0; char** tmp = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(data,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif tmp[i] = SWIG_Python_str_AsChar(PyList_GetItem(data,i)); //tmp[i] = PyString_AsString(PyList_GetItem(data,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(tmp); return; } } tmp[i] = 0; self->show(size, tmp); free(tmp); } else { PyErr_SetString(PyExc_TypeError,"not a list"); self->show(); } } } #include "FL/fl_draw.H" #include "FL/Fl_Export.H" #include "FL/Fl_Input_.H" #include "FL/Fl_Input.H" #include "FL/Fl_File_Input.H" #include "FL/Fl_Fill_Dial.H" #include "FL/Fl_Slider.H" #include "FL/Fl_Fill_Slider.H" #include "FL/Fl_Float_Input.H" #include "FL/Fl_FormsBitmap.H" #include "FL/Fl_FormsPixmap.H" #include "FL/Fl_Free.H" #include "FL/Fl_Pixmap.H" #include "FL/Fl_GIF_Image.H" #include "FL/Fl_Gl_Window.H" #include "FL/gl.h" #include "string.h" SWIGINTERN void Fl_Gl_Window_show(Fl_Gl_Window *self,PyObject *count=0,PyObject *data=0){ Py_XINCREF(count); Py_XINCREF(data); if (!count) self->show(); else if (!data) { if (PyList_Check(count)) { int size = PyList_Size(count); int i = 0; char** tmp = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(count,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif tmp[i] = SWIG_Python_str_AsChar(PyList_GetItem(count,i)); //tmp[i] = PyString_AsString(PyList_GetItem(count,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(tmp); return; } } tmp[i] = 0; self->show(size, tmp); free(tmp); } } else { if (PyList_Check(data)) { int size = PyInt_AsLong(count); int i = 0; char** tmp = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(data,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif tmp[i] = SWIG_Python_str_AsChar(PyList_GetItem(data,i)); //tmp[i] = PyString_AsString(PyList_GetItem(data,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(tmp); return; } } tmp[i] = 0; self->show(size, tmp); free(tmp); } else { PyErr_SetString(PyExc_TypeError,"not a list"); self->show(); } } } SWIGINTERN void Fl_Gl_Window_drawPixels(Fl_Gl_Window *self,PyObject *rgb_py){ char *rgb; size_t len; int i, height=self->h(), halfheight=self->h()/2, rowsize=self->w()*3; char *row0, *row1; char tmp[rowsize]; SWIG_AsCharPtrAndSize(rgb_py, &rgb, &len, 0); //PyString_AsStringAndSize(rgb_py, &rgb, &len); row0 = rgb; row1 = rgb + (height-1) * rowsize; for (i=0; iw(), self->h(), GL_RGB, GL_UNSIGNED_BYTE, rgb); } #include "FL/Fl_Help_Dialog.H" #include "FL/Fl_Help_View.H" #include "CallbackStruct.h" #include //static PyObject *my_pycallback = NULL; static const char* PythonLink(Fl_Widget *widget, const char *uri) { PyObject *func, *arglist; PyObject *result; PyObject *obj; CallbackStruct *cb = (CallbackStruct *)(widget->user_data()); if (cb == NULL) return NULL; // This is the function .... func = (PyObject *)( cb->link); if (func == NULL) { PyErr_SetString(PyExc_NotImplementedError, "Callable link not found!"); return NULL; } // always of the same type: Fl_Help_View //obj = SWIG_NewPointerObj(widget, SWIGTYPE_p_Fl_Help_View, 0); // the parent widget obj = (PyObject *)( cb->widget); // build arument list arglist = Py_BuildValue("(Os)", obj, uri ); // call the callback result = PyEval_CallObject(func, arglist); Py_DECREF(arglist); // Trash arglist Py_XDECREF(result); if (PyErr_Occurred()) { PyErr_Print(); } #ifndef PYTHON3 if (result == Py_None) return NULL; else return PyString_AsString(result); /*void*/; #else return NULL; #endif } SWIGINTERNINLINE PyObject * SWIG_From_size_t (size_t value) { return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); } SWIGINTERN void Fl_Help_View_link__SWIG_1(Fl_Help_View *self,PyObject *PyFunc,PyObject *PyWidget){ // get existing callback structure CallbackStruct *cb = (CallbackStruct*)self->user_data(); // use the link member to hold the callback if (cb) { cb->link = PyFunc; } else { cb = new CallbackStruct( 0, 0, PyWidget, PyFunc ); self->user_data((void*)cb); } // Add a reference to new callback Py_INCREF(PyFunc); Py_XINCREF(PyWidget); self->link(&PythonLink); } #include "FL/Fl_Hold_Browser.H" #include "FL/Fl_Hor_Fill_Slider.H" #include "FL/Fl_Hor_Nice_Slider.H" #include "FL/Fl_Hor_Slider.H" #include "FL/Fl_Value_Slider.H" #include "FL/Fl_Hor_Value_Slider.H" #include "FL/Fl_Int_Input.H" #include "FL/Fl_Input_Choice.H" #include "FL/Fl_JPEG_Image.H" #include "FL/Fl_Line_Dial.H" #include "FL/Fl_Menu_Bar.H" #include "FL/Fl_Menu_Button.H" #include "FL/Fl_Menu_Item.H" #include SWIGINTERN PyObject *Fl_Menu_Item_callback__SWIG_4(Fl_Menu_Item *self){ CallbackStruct *cb = (CallbackStruct*)self->user_data_; PyObject *o = Py_BuildValue("O", cb->func); return o; } SWIGINTERN PyObject *Fl_Menu_Item_user_data__SWIG_2(Fl_Menu_Item *self){ CallbackStruct *cb = (CallbackStruct*)self->user_data_; PyObject *o = Py_BuildValue("O", cb->data); return o; } #include "FL/Fl_Single_Window.H" SWIGINTERN void Fl_Single_Window_show(Fl_Single_Window *self,PyObject *count=0,PyObject *data=0){ Py_XINCREF(count); Py_XINCREF(data); if (!count) self->show(); else if (!data) { if (PyList_Check(count)) { int size = PyList_Size(count); int i = 0; char** tmp = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(count,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif tmp[i] = SWIG_Python_str_AsChar(PyList_GetItem(count,i)); //tmp[i] = PyString_AsString(PyList_GetItem(count,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(tmp); return; } } tmp[i] = 0; self->show(size, tmp); free(tmp); } } else { if (PyList_Check(data)) { int size = PyInt_AsLong(count); int i = 0; char** tmp = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(data,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif tmp[i] = SWIG_Python_str_AsChar(PyList_GetItem(data,i)); //tmp[i] = PyString_AsString(PyList_GetItem(data,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(tmp); return; } } tmp[i] = 0; self->show(size, tmp); free(tmp); } else { PyErr_SetString(PyExc_TypeError,"not a list"); self->show(); } } } #include "FL/Fl_Menu_Window.H" #include "FL/fl_message.H" #include "FL/Fl_Multiline_Input.H" #include "FL/Fl_Output.H" #include "FL/Fl_Multiline_Output.H" #include "FL/Fl_Multi_Browser.H" #include "FL/Fl_Multi_Label.H" #include "FL/Fl_Nice_Slider.H" #include "FL/Fl_Overlay_Window.H" SWIGINTERN void Fl_Overlay_Window_show(Fl_Overlay_Window *self,PyObject *count=0,PyObject *data=0){ Py_XINCREF(count); Py_XINCREF(data); if (!count) self->show(); else if (!data) { if (PyList_Check(count)) { int size = PyList_Size(count); int i = 0; char** tmp = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(count,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif tmp[i] = SWIG_Python_str_AsChar(PyList_GetItem(count,i)); //tmp[i] = PyString_AsString(PyList_GetItem(count,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(tmp); return; } } tmp[i] = 0; self->show(size, tmp); free(tmp); } } else { if (PyList_Check(data)) { int size = PyInt_AsLong(count); int i = 0; char** tmp = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(data,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif tmp[i] = SWIG_Python_str_AsChar(PyList_GetItem(data,i)); //tmp[i] = PyString_AsString(PyList_GetItem(data,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(tmp); return; } } tmp[i] = 0; self->show(size, tmp); free(tmp); } else { PyErr_SetString(PyExc_TypeError,"not a list"); self->show(); } } } #include "FL/Fl_Pack.H" #include "FL/Fl_PNG_Image.H" #include "FL/Fl_PNM_Image.H" #include "FL/Fl_Positioner.H" #include "FL/Fl_Preferences.H" SWIGINTERNINLINE int SWIG_AsVal_size_t (PyObject * obj, size_t *val) { unsigned long v; int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); return res; } #include "FL/Fl_Progress.H" #include "FL/Fl_Radio_Button.H" #include "FL/Fl_Radio_Light_Button.H" #include "FL/Fl_Round_Button.H" #include "FL/Fl_Radio_Round_Button.H" #include "FL/Fl_Repeat_Button.H" #include "FL/Fl_Return_Button.H" #include "FL/Fl_Roller.H" #include "FL/Fl_Round_Clock.H" #include "FL/Fl_Scroll.H" SWIGINTERN Fl_Scrollbar *Fl_Scroll_getScrollbar(Fl_Scroll *self){ return &(self->scrollbar); } SWIGINTERN Fl_Scrollbar *Fl_Scroll_getHScrollbar(Fl_Scroll *self){ return &(self->hscrollbar); } #include "FL/Fl_Scrollbar.H" #include "FL/Fl_Secret_Input.H" #include "FL/Fl_Select_Browser.H" #include "FL/Fl_Shared_Image.H" #include "FL/Fl_Spinner.H" SWIGINTERN void Fl_Spinner_min__SWIG_0(Fl_Spinner *self,double m){ self->minimum(m); } SWIGINTERN double Fl_Spinner_min__SWIG_1(Fl_Spinner *self){ return self->mininum(); } SWIGINTERN void Fl_Spinner_max__SWIG_0(Fl_Spinner *self,double m){ self->maximum(m); } SWIGINTERN double Fl_Spinner_max__SWIG_1(Fl_Spinner *self){ return self->maxinum(); } #include "FL/fl_show_colormap.H" #include "FL/fl_show_input.H" #include "FL/Fl_Simple_Counter.H" #include "FL/Fl_Tabs.H" #include "FL/Fl_Text_Buffer.H" #include "CallbackStruct.h" struct modify_link { CallbackStruct *handle; modify_link *next; Fl_Text_Buffer* widget; }; static modify_link *py_modify_funcs = NULL; static void PythonModifyCallBack(int pos, int nInserted, int nDeleted, int nRestyled, const char* deletedText, void* cbArg) { PyObject *func, *arglist; PyObject *result; PyObject *obj; CallbackStruct *cb = (CallbackStruct*)cbArg; if (cb != NULL) { func = cb->func; // the user data obj = cb->data; if (obj == NULL) { arglist = Py_BuildValue("(iiiis)", pos, nInserted, nDeleted, nRestyled, deletedText ); } else { arglist = Py_BuildValue("(iiiisO)", pos, nInserted, nDeleted, nRestyled, deletedText, obj ); } result = PyEval_CallObject(func, arglist); Py_XDECREF(arglist); // Trash arglist Py_XDECREF(result); if (PyErr_Occurred()) { PyErr_Print(); } } else PyErr_SetString(PyExc_TypeError, "PythonModifyCallBack: need a valid callback!"); return; } SWIGINTERN void Fl_Text_Buffer_add_modify_callback__SWIG_1(Fl_Text_Buffer *self,PyObject *PyFunc,PyObject *PyTarget=0){ if (!PyCallable_Check(PyFunc)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { CallbackStruct *cb = new CallbackStruct( PyFunc, PyTarget, 0, 0 ); self->add_modify_callback(PythonModifyCallBack, (void *)cb); Py_INCREF(PyFunc); /* Add a reference to new callback */ Py_XINCREF(PyTarget); // add it to global list and also add the widget! modify_link *cb_link = new modify_link; cb_link->next = py_modify_funcs; cb_link->handle = cb; cb_link->widget = self; py_modify_funcs = cb_link; } } SWIGINTERN void Fl_Text_Buffer_remove_modify_callback__SWIG_1(Fl_Text_Buffer *self,PyObject *PyFunc,PyObject *PyWidget,PyObject *PyTarget){ // Search for the handler in the list... modify_link *l, *p; for (l = py_modify_funcs, p = 0; l && !(l->handle->func == PyFunc && (0==PyObject_RichCompareBool(l->handle->data,PyTarget, Py_EQ)) && l->widget == self); p = l, l = l->next); if (l) { // Found it, so remove it from the list... if (p) p->next = l->next; else py_modify_funcs = l->next; // remove the callback self->remove_modify_callback(PythonModifyCallBack, (void*)l->handle); // reference count Py_DECREF(l->handle->func); Py_XDECREF(l->handle->data); // And free the record... delete l->handle; delete l; } } #include "FL/Fl_Text_Display.H" static void UnfinishedStyleCB(int arg1, void *clientdata) { PyObject *func, *arglist; PyObject *result; // This is the function .... func = (PyObject *)( ((CallbackStruct *)clientdata)->func); if (((CallbackStruct *)clientdata)->data) { arglist = Py_BuildValue("(iO)", arg1, (PyObject *)(((CallbackStruct *)clientdata)->data) ); } else { arglist = Py_BuildValue("(iO)", arg1 ); } result = PyEval_CallObject(func, arglist); Py_DECREF(arglist); // Trash arglist Py_XDECREF(result); if (PyErr_Occurred()) { PyErr_Print(); } return /*void*/; } SWIGINTERN void Fl_Text_Display_highlight_data_new(Fl_Text_Display *self,Fl_Text_Buffer *styleBuffer,Fl_Text_Display::Style_Table_Entry const *styleTable,int nStyles,char unfinishedStyle,PyObject *func,PyObject *cbArg){ if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); } else { CallbackStruct *cb = new CallbackStruct( func , cbArg, (PyObject*)0 ); // add reference Py_INCREF(func); Py_XINCREF(cbArg); self->highlight_data(styleBuffer, styleTable, nStyles, unfinishedStyle, UnfinishedStyleCB, (void*)cb); } } // SWIG thinks that Style_Table_Entry is a global class, so we need to trick the C++ // compiler into understanding this so called global type. typedef Fl_Text_Display::Style_Table_Entry Style_Table_Entry; #include "FL/Fl_Text_Editor.H" #include "FL/Fl_Tile.H" #include "FL/Fl_Tiled_Image.H" #include "FL/Fl_Timer.H" #include "FL/Fl_Toggle_Button.H" #include "FL/Fl_Tooltip.H" #include "FL/Fl_Value_Output.H" #include "FL/Fl_Wizard.H" #include "FL/Fl_XBM_Image.H" #include "FL/Fl_XPM_Image.H" #include "FL/x.H" #include "FL/Fl_Tree_Prefs.H" #include "FL/Fl_Tree_Item_Array.H" #include "FL/Fl_Tree_Item.H" #include "FL/Fl_Tree.H" #include "FL/Fl_Paged_Device.H" #include "FL/Fl_Printer.H" #if PY_VERSION_HEX >= 0x03020000 # define SWIGPY_UNICODE_ARG(obj) ((PyObject*) (obj)) #else # define SWIGPY_UNICODE_ARG(obj) ((PyUnicodeObject*) (obj)) #endif #include #include #include "FL/fl_utf8.h" SWIGINTERNINLINE PyObject * SWIG_From_unsigned_SS_short (unsigned short value) { return SWIG_From_unsigned_SS_long (value); } #include "ListSelect.h" #include "FL/Fl_Table.H" #include "FL/Fl_Table_Row.H" #ifndef FL_gl_H #define FL_gl_H void gl_start(); void gl_finish(); void gl_color(Fl_Color); void gl_color(int c); void gl_rect(int x,int y,int w,int h); void gl_rectf(int x,int y,int w,int h); void gl_font(int fontid, int size); int gl_height(); int gl_descent(); double gl_width(const char *); double gl_width(const char *, int n); double gl_width(uchar); void gl_draw(const char*); void gl_draw(const char*, int n); void gl_draw(const char*, int x, int y); void gl_draw(const char*, float x, float y); void gl_draw(const char*, int n, int x, int y); void gl_draw(const char*, int n, float x, float y); void gl_draw(const char*, int x, int y, int w, int h, Fl_Align); void gl_measure(const char*, int& x, int& y); void gl_draw_image(const uchar *, int x,int y,int w,int h, int d=3, int ld=0); //from opengl for testing void glLoadIdentity( void ); void glViewport( int x, int y, int width, int height ); void glClear( int mask ); void glColor3f( float red, float green, float blue ); void glBegin( int mode ); void glEnd( void ); void glVertex3f( float x, float y, float z ); #endif #include "FL/math.h" Fl_Menu_Item *createFl_Menu_Item_Array(PyObject *self, PyObject *pyMenuList) { int numItems = PyTuple_Size(pyMenuList); //if a list (mutable) and not a tuple (immutable) is passed, // 'numItems' == -1, so if so, assume a list and covert it to a tuple if (PyList_Check(pyMenuList)) { //try a list pyMenuList = PyList_AsTuple(pyMenuList); numItems = PyTuple_Size(pyMenuList); } Fl_Menu_Item *arrayOfFMI = 0; arrayOfFMI = new Fl_Menu_Item[numItems+1]; int index=0; for (; indextext = 0; } else { p->text = strdup(pyText); } p->shortcut_ = shortcut; if (callback && PyCallable_Check(callback)) { CallbackStruct *cb = new CallbackStruct( callback, userData, SWIGTYPE_p_Fl_Menu_Item ); Py_INCREF(callback); Py_XINCREF(userData); //self->callback(PythonCallBack, (void *)cb); p->callback_ = (Fl_Callback *)PythonCallBack; p->user_data_ = (void *)cb; } else { p->callback_ = (Fl_Callback *)0; } p->flags = flags; p-> labeltype_ = labelType; p-> labelfont_ = labelFont; p-> labelsize_ = labelSize; p-> labelcolor_ = labelColor; } else { fprintf(stderr, "Could not convert menu item %d\n", index); PyObject_Print(nextItem, stderr, 0); fprintf(stderr, "\n"); p->text = 0; delete [] arrayOfFMI; return NULL; } } arrayOfFMI[index].text = 0; return arrayOfFMI; } // this is deprecated PyObject *setMenu(PyObject *self, PyObject *args) { PyObject *targetObject, *menuList; printf("Warning: setMenu is deprecated, use Fl_Menu_.copy() instead!\n"); if (!PyTuple_Check(args)) { printf("setMenuError: not a tup\n"); return NULL; } if (!PyArg_ParseTuple( args, "OO", &targetObject, &menuList)) { printf("no conv args\n"); return NULL; } PyObject *thisPtrString = PyObject_GetAttrString( targetObject, "this"); #if PY_VERSION_HEX>=0x03000000 if (!PyUnicode_Check(thisPtrString)) #else if (!PyString_Check(thisPtrString)) #endif { printf( "no get this str\n"); return NULL; } Fl_Menu_ *theMenu; //char *thisPtrAsCString = PyString_AsString(thisPtrString); //SWIG_GetPtr( thisPtrAsCString, (void **)&theMenu, "_Fl_Menu_p"); SWIG_ConvertPtr(thisPtrString, (void **)&theMenu, SWIGTYPE_p_Fl_Menu_, 0); Fl_Menu_Item *theMenuItems = createFl_Menu_Item_Array( NULL, menuList); // call the C++ object to add the menu theMenu->copy( theMenuItems, NULL ); delete [] theMenuItems; Py_INCREF(Py_None); return Py_None; } /* --------------------------------------------------- * C++ director class methods * --------------------------------------------------- */ #include "fltk_wrap.h" SwigDirector_Fl_Widget::SwigDirector_Fl_Widget(PyObject *self, int x, int y, int w, int h, char const *label): Fl_Widget(x, y, w, h, label), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Widget *)this, this); } SwigDirector_Fl_Widget::~SwigDirector_Fl_Widget() { } void SwigDirector_Fl_Widget::draw() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Widget.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Widget::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Widget.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Widget::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Widget.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Widget::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Widget.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Widget::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Widget.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Widget::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Widget.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Widget::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Widget.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Widget::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Widget.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Group::SwigDirector_Fl_Group(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4): Fl_Group(arg0, arg1, arg2, arg3, arg4), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Group *)this, this); } SwigDirector_Fl_Group::~SwigDirector_Fl_Group() { } void SwigDirector_Fl_Group::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Group.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Group::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Group.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Group::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Group.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Group::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Group.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Group::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Group.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Group::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Group.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Group::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Group.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Group::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Group.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Browser_::SwigDirector_Fl_Browser_(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Browser_(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Browser_ *)this, this); } SwigDirector_Fl_Browser_::~SwigDirector_Fl_Browser_() { } void SwigDirector_Fl_Browser_::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Browser_::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Browser_::resize(int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Browser_::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Browser_::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Browser_::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Browser_::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Browser_::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void *SwigDirector_Fl_Browser_::item_first() const { void *argp ; int res ; void *c_result; swig_set_inner("item_first", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "item_first"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_first"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_first", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Browser_::item_next(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_next", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 9; const char * const swig_method_name = "item_next"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_next"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_next", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Browser_::item_prev(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_prev", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 10; const char * const swig_method_name = "item_prev"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_prev"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_prev", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Browser_::item_last() const { void *argp ; int res ; void *c_result; swig_set_inner("item_last", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 11; const char * const swig_method_name = "item_last"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_last"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_last", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_Browser_::item_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 12; const char * const swig_method_name = "item_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Browser_::item_width(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 13; const char * const swig_method_name = "item_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Browser_::item_quick_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_quick_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 14; const char * const swig_method_name = "item_quick_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_quick_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_quick_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Browser_::item_draw(void *item, int X, int Y, int W, int H) const { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(H)); swig_set_inner("item_draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 15; const char * const swig_method_name = "item_draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #endif swig_set_inner("item_draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } char const *SwigDirector_Fl_Browser_::item_text(void *item) const { int res ; char *buf = 0 ; int alloc = SWIG_NEWOBJ ; char *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_text", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 16; const char * const swig_method_name = "item_text"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_text"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_text", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_AsCharPtrAndSize(result, &buf, NULL, &alloc); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""char const *""'"); } if (alloc == SWIG_NEWOBJ) { swig_acquire_ownership_array(buf); } c_result = reinterpret_cast< char * >(buf); return (char const *) c_result; } void SwigDirector_Fl_Browser_::item_swap(void *a, void *b) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(a), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(b), SWIGTYPE_p_void, 0 ); swig_set_inner("item_swap", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 17; const char * const swig_method_name = "item_swap"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_swap"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_swap", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void *SwigDirector_Fl_Browser_::item_at(int index) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(index)); swig_set_inner("item_at", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 18; const char * const swig_method_name = "item_at"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_at"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_at", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_Browser_::full_width() const { int c_result; swig_set_inner("full_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 19; const char * const swig_method_name = "full_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Browser_::full_height() const { int c_result; swig_set_inner("full_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 20; const char * const swig_method_name = "full_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Browser_::incr_height() const { int c_result; swig_set_inner("incr_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 21; const char * const swig_method_name = "incr_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"incr_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("incr_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Browser_::item_select(void *item, int val) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(val)); swig_set_inner("item_select", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 22; const char * const swig_method_name = "item_select"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_select"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_select", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Browser_::item_selected(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_selected", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 23; const char * const swig_method_name = "item_selected"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_selected"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_selected", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Browser::SwigDirector_Fl_Browser(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Browser(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Browser *)this, this); } SwigDirector_Fl_Browser::~SwigDirector_Fl_Browser() { } void SwigDirector_Fl_Browser::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Browser::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Browser::resize(int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Browser::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Browser::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Browser::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Browser::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Browser::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void *SwigDirector_Fl_Browser::item_first() const { void *argp ; int res ; void *c_result; swig_set_inner("item_first", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "item_first"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_first"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_first", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Browser::item_next(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_next", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 9; const char * const swig_method_name = "item_next"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_next"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_next", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Browser::item_prev(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_prev", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 10; const char * const swig_method_name = "item_prev"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_prev"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_prev", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Browser::item_last() const { void *argp ; int res ; void *c_result; swig_set_inner("item_last", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 11; const char * const swig_method_name = "item_last"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_last"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_last", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_Browser::item_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 12; const char * const swig_method_name = "item_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Browser::item_width(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 13; const char * const swig_method_name = "item_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Browser::item_quick_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_quick_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 14; const char * const swig_method_name = "item_quick_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_quick_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_quick_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Browser::item_draw(void *item, int X, int Y, int W, int H) const { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(H)); swig_set_inner("item_draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 15; const char * const swig_method_name = "item_draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #endif swig_set_inner("item_draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } char const *SwigDirector_Fl_Browser::item_text(void *item) const { int res ; char *buf = 0 ; int alloc = SWIG_NEWOBJ ; char *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_text", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 16; const char * const swig_method_name = "item_text"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_text"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_text", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_AsCharPtrAndSize(result, &buf, NULL, &alloc); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""char const *""'"); } if (alloc == SWIG_NEWOBJ) { swig_acquire_ownership_array(buf); } c_result = reinterpret_cast< char * >(buf); return (char const *) c_result; } void SwigDirector_Fl_Browser::item_swap(void *a, void *b) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(a), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(b), SWIGTYPE_p_void, 0 ); swig_set_inner("item_swap", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 17; const char * const swig_method_name = "item_swap"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_swap"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_swap", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void *SwigDirector_Fl_Browser::item_at(int line) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(line)); swig_set_inner("item_at", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 18; const char * const swig_method_name = "item_at"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_at"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_at", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_Browser::full_width() const { int c_result; swig_set_inner("full_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 19; const char * const swig_method_name = "full_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Browser::full_height() const { int c_result; swig_set_inner("full_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 20; const char * const swig_method_name = "full_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Browser::incr_height() const { int c_result; swig_set_inner("incr_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 21; const char * const swig_method_name = "incr_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"incr_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("incr_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Browser::item_select(void *item, int val) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(val)); swig_set_inner("item_select", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 22; const char * const swig_method_name = "item_select"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_select"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_select", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Browser::item_selected(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_selected", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 23; const char * const swig_method_name = "item_selected"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_selected"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_selected", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_File_Browser::SwigDirector_Fl_File_Browser(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4): Fl_File_Browser(arg0, arg1, arg2, arg3, arg4), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_File_Browser *)this, this); } SwigDirector_Fl_File_Browser::~SwigDirector_Fl_File_Browser() { } void SwigDirector_Fl_File_Browser::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_File_Browser::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_File_Browser::resize(int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_File_Browser::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_File_Browser::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_File_Browser::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_File_Browser::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_File_Browser::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void *SwigDirector_Fl_File_Browser::item_first() const { void *argp ; int res ; void *c_result; swig_set_inner("item_first", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "item_first"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_first"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_first", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_File_Browser::item_next(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_next", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 9; const char * const swig_method_name = "item_next"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_next"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_next", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_File_Browser::item_prev(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_prev", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 10; const char * const swig_method_name = "item_prev"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_prev"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_prev", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_File_Browser::item_last() const { void *argp ; int res ; void *c_result; swig_set_inner("item_last", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 11; const char * const swig_method_name = "item_last"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_last"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_last", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_File_Browser::item_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 12; const char * const swig_method_name = "item_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_File_Browser::item_width(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 13; const char * const swig_method_name = "item_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_File_Browser::item_quick_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_quick_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 14; const char * const swig_method_name = "item_quick_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_quick_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_quick_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_File_Browser::item_draw(void *item, int X, int Y, int W, int H) const { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(H)); swig_set_inner("item_draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 15; const char * const swig_method_name = "item_draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #endif swig_set_inner("item_draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } char const *SwigDirector_Fl_File_Browser::item_text(void *item) const { int res ; char *buf = 0 ; int alloc = SWIG_NEWOBJ ; char *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_text", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 16; const char * const swig_method_name = "item_text"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_text"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_text", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_AsCharPtrAndSize(result, &buf, NULL, &alloc); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""char const *""'"); } if (alloc == SWIG_NEWOBJ) { swig_acquire_ownership_array(buf); } c_result = reinterpret_cast< char * >(buf); return (char const *) c_result; } void SwigDirector_Fl_File_Browser::item_swap(void *a, void *b) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(a), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(b), SWIGTYPE_p_void, 0 ); swig_set_inner("item_swap", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 17; const char * const swig_method_name = "item_swap"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_swap"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_swap", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void *SwigDirector_Fl_File_Browser::item_at(int line) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(line)); swig_set_inner("item_at", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 18; const char * const swig_method_name = "item_at"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_at"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_at", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_File_Browser::full_width() const { int c_result; swig_set_inner("full_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 19; const char * const swig_method_name = "full_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_File_Browser::full_height() const { int c_result; swig_set_inner("full_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 20; const char * const swig_method_name = "full_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_File_Browser::incr_height() const { int c_result; swig_set_inner("incr_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 21; const char * const swig_method_name = "incr_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"incr_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("incr_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_File_Browser::item_select(void *item, int val) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(val)); swig_set_inner("item_select", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 22; const char * const swig_method_name = "item_select"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_select"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_select", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_File_Browser::item_selected(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_selected", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 23; const char * const swig_method_name = "item_selected"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_selected"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_selected", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Adjuster::SwigDirector_Fl_Adjuster(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Adjuster(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Adjuster *)this, this); } SwigDirector_Fl_Adjuster::~SwigDirector_Fl_Adjuster() { } void SwigDirector_Fl_Adjuster::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Adjuster.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Adjuster::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig_set_inner("handle", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Adjuster.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("handle", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Adjuster::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Adjuster.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Adjuster::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Adjuster.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Adjuster::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Adjuster.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Adjuster::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Adjuster.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Adjuster::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Adjuster.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Adjuster::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Adjuster.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Adjuster::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Adjuster.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Image::SwigDirector_Fl_Image(PyObject *self, int W, int H, int D): Fl_Image(W, H, D), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Image *)this, this); } SwigDirector_Fl_Image::~SwigDirector_Fl_Image() { } Fl_Image *SwigDirector_Fl_Image::copy(int W, int H) { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Image *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "copy"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"copy"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Image, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Image *""'"); } c_result = reinterpret_cast< Fl_Image * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Image *) c_result; } void SwigDirector_Fl_Image::color_average(Fl_Color c, float i) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(c)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(i)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "color_average"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"color_average"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Image::desaturate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "desaturate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"desaturate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Image::label(Fl_Widget *w) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_Fl_Widget, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Image::label(Fl_Menu_Item *m) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(m), SWIGTYPE_p_Fl_Menu_Item, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Image::draw(int X, int Y, int W, int H, int cx, int cy) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(cx)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(cy)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Image::uncache() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "uncache"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"uncache"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_RGB_Image::SwigDirector_Fl_RGB_Image(PyObject *self, uchar const *bits, int W, int H, int D, int LD): Fl_RGB_Image(bits, W, H, D, LD), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_RGB_Image *)this, this); } SwigDirector_Fl_RGB_Image::~SwigDirector_Fl_RGB_Image() { } Fl_Image *SwigDirector_Fl_RGB_Image::copy(int W, int H) { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Image *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_RGB_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "copy"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"copy"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Image, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Image *""'"); } c_result = reinterpret_cast< Fl_Image * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Image *) c_result; } void SwigDirector_Fl_RGB_Image::color_average(Fl_Color c, float i) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(c)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(i)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_RGB_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "color_average"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"color_average"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_RGB_Image::desaturate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_RGB_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "desaturate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"desaturate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_RGB_Image::label(Fl_Widget *w) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_Fl_Widget, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_RGB_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_RGB_Image::label(Fl_Menu_Item *m) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(m), SWIGTYPE_p_Fl_Menu_Item, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_RGB_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_RGB_Image::draw(int X, int Y, int W, int H, int cx, int cy) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(cx)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(cy)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_RGB_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_RGB_Image::uncache() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_RGB_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "uncache"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"uncache"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Bitmap::SwigDirector_Fl_Bitmap(PyObject *self, uchar const *bits, int W, int H): Fl_Bitmap(bits, W, H), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Bitmap *)this, this); } SwigDirector_Fl_Bitmap::SwigDirector_Fl_Bitmap(PyObject *self, char const *bits, int W, int H): Fl_Bitmap(bits, W, H), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Bitmap *)this, this); } SwigDirector_Fl_Bitmap::~SwigDirector_Fl_Bitmap() { } Fl_Image *SwigDirector_Fl_Bitmap::copy(int W, int H) { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Image *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Bitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "copy"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"copy"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Image, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Image *""'"); } c_result = reinterpret_cast< Fl_Image * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Image *) c_result; } void SwigDirector_Fl_Bitmap::color_average(Fl_Color c, float i) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(c)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(i)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Bitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "color_average"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"color_average"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Bitmap::desaturate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Bitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "desaturate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"desaturate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Bitmap::label(Fl_Widget *w) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_Fl_Widget, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Bitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Bitmap::label(Fl_Menu_Item *m) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(m), SWIGTYPE_p_Fl_Menu_Item, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Bitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Bitmap::draw(int X, int Y, int W, int H, int cx, int cy) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(cx)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(cy)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Bitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Bitmap::uncache() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Bitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "uncache"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"uncache"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_BMP_Image::SwigDirector_Fl_BMP_Image(PyObject *self, char const *filename): Fl_BMP_Image(filename), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_BMP_Image *)this, this); } SwigDirector_Fl_BMP_Image::~SwigDirector_Fl_BMP_Image() { } Fl_Image *SwigDirector_Fl_BMP_Image::copy(int W, int H) { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Image *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_BMP_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "copy"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"copy"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Image, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Image *""'"); } c_result = reinterpret_cast< Fl_Image * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Image *) c_result; } void SwigDirector_Fl_BMP_Image::color_average(Fl_Color c, float i) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(c)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(i)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_BMP_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "color_average"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"color_average"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_BMP_Image::desaturate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_BMP_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "desaturate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"desaturate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_BMP_Image::label(Fl_Widget *w) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_Fl_Widget, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_BMP_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_BMP_Image::label(Fl_Menu_Item *m) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(m), SWIGTYPE_p_Fl_Menu_Item, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_BMP_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_BMP_Image::draw(int X, int Y, int W, int H, int cx, int cy) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(cx)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(cy)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_BMP_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_BMP_Image::uncache() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_BMP_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "uncache"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"uncache"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Box::SwigDirector_Fl_Box(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Box(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Box *)this, this); } SwigDirector_Fl_Box::SwigDirector_Fl_Box(PyObject *self, Fl_Boxtype b, int X, int Y, int W, int H, char const *l): Fl_Box(b, X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Box *)this, this); } SwigDirector_Fl_Box::~SwigDirector_Fl_Box() { } void SwigDirector_Fl_Box::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Box.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Box::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Box.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Box::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Box.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Box::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Box.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Box::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Box.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Box::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Box.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Box::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Box.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Box::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Box.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Button::SwigDirector_Fl_Button(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Button(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Button *)this, this); } SwigDirector_Fl_Button::~SwigDirector_Fl_Button() { } void SwigDirector_Fl_Button::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Button::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Button::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Button::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Button::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Button::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Button::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Button::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Chart::SwigDirector_Fl_Chart(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Chart(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Chart *)this, this); } SwigDirector_Fl_Chart::~SwigDirector_Fl_Chart() { } void SwigDirector_Fl_Chart::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Chart.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Chart::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Chart.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Chart::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Chart.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Chart::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Chart.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Chart::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Chart.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Chart::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Chart.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Chart::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Chart.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Chart::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Chart.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Check_Browser::SwigDirector_Fl_Check_Browser(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Check_Browser(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Check_Browser *)this, this); } SwigDirector_Fl_Check_Browser::~SwigDirector_Fl_Check_Browser() { } void SwigDirector_Fl_Check_Browser::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Check_Browser::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig_set_inner("handle", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("handle", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Check_Browser::resize(int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Check_Browser::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Check_Browser::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Check_Browser::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Check_Browser::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Check_Browser::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void *SwigDirector_Fl_Check_Browser::item_first() const { void *argp ; int res ; void *c_result; swig_set_inner("item_first", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "item_first"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_first"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_first", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Check_Browser::item_next(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_next", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 9; const char * const swig_method_name = "item_next"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_next"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_next", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Check_Browser::item_prev(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_prev", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 10; const char * const swig_method_name = "item_prev"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_prev"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_prev", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Check_Browser::item_last() const { void *argp ; int res ; void *c_result; swig_set_inner("item_last", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 11; const char * const swig_method_name = "item_last"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_last"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_last", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_Check_Browser::item_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 12; const char * const swig_method_name = "item_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Check_Browser::item_width(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 13; const char * const swig_method_name = "item_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Check_Browser::item_quick_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_quick_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 14; const char * const swig_method_name = "item_quick_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_quick_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_quick_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Check_Browser::item_draw(void *item, int X, int Y, int W, int H) const { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(H)); swig_set_inner("item_draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 15; const char * const swig_method_name = "item_draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #endif swig_set_inner("item_draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } char const *SwigDirector_Fl_Check_Browser::item_text(void *item) const { int res ; char *buf = 0 ; int alloc = SWIG_NEWOBJ ; char *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_text", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 16; const char * const swig_method_name = "item_text"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_text"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_text", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_AsCharPtrAndSize(result, &buf, NULL, &alloc); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""char const *""'"); } if (alloc == SWIG_NEWOBJ) { swig_acquire_ownership_array(buf); } c_result = reinterpret_cast< char * >(buf); return (char const *) c_result; } void SwigDirector_Fl_Check_Browser::item_swap(void *a, void *b) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(a), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(b), SWIGTYPE_p_void, 0 ); swig_set_inner("item_swap", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 17; const char * const swig_method_name = "item_swap"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_swap"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_swap", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void *SwigDirector_Fl_Check_Browser::item_at(int index) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(index)); swig_set_inner("item_at", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 18; const char * const swig_method_name = "item_at"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_at"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_at", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_Check_Browser::full_width() const { int c_result; swig_set_inner("full_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 19; const char * const swig_method_name = "full_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Check_Browser::full_height() const { int c_result; swig_set_inner("full_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 20; const char * const swig_method_name = "full_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Check_Browser::incr_height() const { int c_result; swig_set_inner("incr_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 21; const char * const swig_method_name = "incr_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"incr_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("incr_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Check_Browser::item_select(void *item, int val) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(val)); swig_set_inner("item_select", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 22; const char * const swig_method_name = "item_select"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_select"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_select", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Check_Browser::item_selected(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_selected", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 23; const char * const swig_method_name = "item_selected"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_selected"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_selected", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Light_Button::SwigDirector_Fl_Light_Button(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Light_Button(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Light_Button *)this, this); } SwigDirector_Fl_Light_Button::~SwigDirector_Fl_Light_Button() { } void SwigDirector_Fl_Light_Button::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Light_Button::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Light_Button::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Light_Button::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Light_Button::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Light_Button::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Light_Button::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Light_Button::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Check_Button::SwigDirector_Fl_Check_Button(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Check_Button(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Check_Button *)this, this); } SwigDirector_Fl_Check_Button::~SwigDirector_Fl_Check_Button() { } void SwigDirector_Fl_Check_Button::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Check_Button::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Check_Button::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Check_Button::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Check_Button::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Check_Button::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Check_Button::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Check_Button::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Check_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Menu_::SwigDirector_Fl_Menu_(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4): Fl_Menu_(arg0, arg1, arg2, arg3, arg4), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Menu_ *)this, this); } SwigDirector_Fl_Menu_::~SwigDirector_Fl_Menu_() { } void SwigDirector_Fl_Menu_::draw() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Menu_::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Menu_::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Menu_::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Menu_::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Menu_::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Menu_::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Menu_::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Choice::SwigDirector_Fl_Choice(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Choice(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Choice *)this, this); } SwigDirector_Fl_Choice::~SwigDirector_Fl_Choice() { } void SwigDirector_Fl_Choice::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Choice::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Choice::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Choice::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Choice::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Choice::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Choice::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Choice::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Clock_Output::SwigDirector_Fl_Clock_Output(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Clock_Output(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Clock_Output *)this, this); } SwigDirector_Fl_Clock_Output::~SwigDirector_Fl_Clock_Output() { } void SwigDirector_Fl_Clock_Output::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Clock_Output::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Clock_Output::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Clock_Output::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Clock_Output::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Clock_Output::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Clock_Output::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Clock_Output::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Clock::SwigDirector_Fl_Clock(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Clock(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Clock *)this, this); } SwigDirector_Fl_Clock::SwigDirector_Fl_Clock(PyObject *self, uchar t, int X, int Y, int W, int H, char const *L): Fl_Clock(t, X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Clock *)this, this); } SwigDirector_Fl_Clock::~SwigDirector_Fl_Clock() { } void SwigDirector_Fl_Clock::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Clock::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Clock::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Clock::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Clock::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Clock::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Clock::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Clock::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Value_Input::SwigDirector_Fl_Value_Input(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Value_Input(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Value_Input *)this, this); } SwigDirector_Fl_Value_Input::~SwigDirector_Fl_Value_Input() { } void SwigDirector_Fl_Value_Input::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Value_Input::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Value_Input::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Value_Input::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Value_Input::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Value_Input::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Value_Input::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Value_Input::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Value_Input::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Flcc_HueBox::SwigDirector_Flcc_HueBox(PyObject *self, int X, int Y, int W, int H): Flcc_HueBox(X, Y, W, H), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Flcc_HueBox *)this, this); } SwigDirector_Flcc_HueBox::~SwigDirector_Flcc_HueBox() { } void SwigDirector_Flcc_HueBox::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_HueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Flcc_HueBox::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_HueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Flcc_HueBox::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_HueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Flcc_HueBox::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_HueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Flcc_HueBox::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_HueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Flcc_HueBox::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_HueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Flcc_HueBox::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_HueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Flcc_HueBox::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_HueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Flcc_ValueBox::SwigDirector_Flcc_ValueBox(PyObject *self, int X, int Y, int W, int H): Flcc_ValueBox(X, Y, W, H), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Flcc_ValueBox *)this, this); } SwigDirector_Flcc_ValueBox::~SwigDirector_Flcc_ValueBox() { } void SwigDirector_Flcc_ValueBox::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_ValueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Flcc_ValueBox::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_ValueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Flcc_ValueBox::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_ValueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Flcc_ValueBox::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_ValueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Flcc_ValueBox::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_ValueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Flcc_ValueBox::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_ValueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Flcc_ValueBox::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_ValueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Flcc_ValueBox::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_ValueBox.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Flcc_Value_Input::SwigDirector_Flcc_Value_Input(PyObject *self, int X, int Y, int W, int H): Flcc_Value_Input(X, Y, W, H), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Flcc_Value_Input *)this, this); } SwigDirector_Flcc_Value_Input::~SwigDirector_Flcc_Value_Input() { } void SwigDirector_Flcc_Value_Input::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Flcc_Value_Input::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Flcc_Value_Input::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Flcc_Value_Input::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Flcc_Value_Input::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Flcc_Value_Input::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Flcc_Value_Input::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Flcc_Value_Input::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Flcc_Value_Input::format(char *arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)arg0); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Flcc_Value_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Color_Chooser::SwigDirector_Fl_Color_Chooser(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Color_Chooser(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Color_Chooser *)this, this); } SwigDirector_Fl_Color_Chooser::~SwigDirector_Fl_Color_Chooser() { } void SwigDirector_Fl_Color_Chooser::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Color_Chooser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Color_Chooser::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Color_Chooser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Color_Chooser::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Color_Chooser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Color_Chooser::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Color_Chooser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Color_Chooser::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Color_Chooser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Color_Chooser::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Color_Chooser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Color_Chooser::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Color_Chooser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Color_Chooser::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Color_Chooser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Counter::SwigDirector_Fl_Counter(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Counter(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Counter *)this, this); } SwigDirector_Fl_Counter::~SwigDirector_Fl_Counter() { } void SwigDirector_Fl_Counter::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Counter::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Counter::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Counter::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Counter::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Counter::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Counter::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Counter::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Counter::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Dial::SwigDirector_Fl_Dial(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Dial(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Dial *)this, this); } SwigDirector_Fl_Dial::~SwigDirector_Fl_Dial() { } void SwigDirector_Fl_Dial::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Dial::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Dial::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Dial::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Dial::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Dial::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Dial::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Dial::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Dial::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Window::SwigDirector_Fl_Window(PyObject *self, int w, int h, char const *title): Fl_Window(w, h, title), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Window *)this, this); } SwigDirector_Fl_Window::SwigDirector_Fl_Window(PyObject *self, int x, int y, int w, int h, char const *title): Fl_Window(x, y, w, h, title), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Window *)this, this); } SwigDirector_Fl_Window::~SwigDirector_Fl_Window() { } void SwigDirector_Fl_Window::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Window::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Window::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Window::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Window::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Window::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Window::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void SwigDirector_Fl_Window::flush() { swig_set_inner("flush", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "flush"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"flush"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("flush", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Double_Window::SwigDirector_Fl_Double_Window(PyObject *self, int W, int H, char const *l): Fl_Double_Window(W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Double_Window *)this, this); } SwigDirector_Fl_Double_Window::SwigDirector_Fl_Double_Window(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Double_Window(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Double_Window *)this, this); } SwigDirector_Fl_Double_Window::~SwigDirector_Fl_Double_Window() { } void SwigDirector_Fl_Double_Window::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Double_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Double_Window::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Double_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Double_Window::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Double_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Double_Window::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Double_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Double_Window::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Double_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Double_Window::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Double_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Double_Window::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Double_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void SwigDirector_Fl_Double_Window::flush() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Double_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "flush"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"flush"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Input_::SwigDirector_Fl_Input_(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4): Fl_Input_(arg0, arg1, arg2, arg3, arg4), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Input_ *)this, this); } SwigDirector_Fl_Input_::~SwigDirector_Fl_Input_() { } void SwigDirector_Fl_Input_::draw() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Input_::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Input_::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Input_::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Input_::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Input_::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Input_::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Input_::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Input::SwigDirector_Fl_Input(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4): Fl_Input(arg0, arg1, arg2, arg3, arg4), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Input *)this, this); } SwigDirector_Fl_Input::~SwigDirector_Fl_Input() { } void SwigDirector_Fl_Input::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Input::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Input::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Input::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Input::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Input::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Input::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Input::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_File_Input::SwigDirector_Fl_File_Input(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_File_Input(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_File_Input *)this, this); } SwigDirector_Fl_File_Input::~SwigDirector_Fl_File_Input() { } void SwigDirector_Fl_File_Input::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_File_Input::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_File_Input::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_File_Input::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_File_Input::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_File_Input::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_File_Input::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_File_Input::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_File_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Fill_Dial::SwigDirector_Fl_Fill_Dial(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Fill_Dial(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Fill_Dial *)this, this); } SwigDirector_Fl_Fill_Dial::~SwigDirector_Fl_Fill_Dial() { } void SwigDirector_Fl_Fill_Dial::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Fill_Dial::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Fill_Dial::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Fill_Dial::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Fill_Dial::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Fill_Dial::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Fill_Dial::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Fill_Dial::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Fill_Dial::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Slider::SwigDirector_Fl_Slider(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Slider(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Slider *)this, this); } SwigDirector_Fl_Slider::SwigDirector_Fl_Slider(PyObject *self, uchar t, int X, int Y, int W, int H, char const *L): Fl_Slider(t, X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Slider *)this, this); } SwigDirector_Fl_Slider::~SwigDirector_Fl_Slider() { } void SwigDirector_Fl_Slider::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Slider::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Slider::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Slider::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Slider::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Slider::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Slider::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Slider::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Slider::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Fill_Slider::SwigDirector_Fl_Fill_Slider(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Fill_Slider(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Fill_Slider *)this, this); } SwigDirector_Fl_Fill_Slider::~SwigDirector_Fl_Fill_Slider() { } void SwigDirector_Fl_Fill_Slider::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Fill_Slider::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Fill_Slider::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Fill_Slider::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Fill_Slider::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Fill_Slider::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Fill_Slider::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Fill_Slider::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Fill_Slider::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Float_Input::SwigDirector_Fl_Float_Input(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Float_Input(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Float_Input *)this, this); } SwigDirector_Fl_Float_Input::~SwigDirector_Fl_Float_Input() { } void SwigDirector_Fl_Float_Input::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Float_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Float_Input::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Float_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Float_Input::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Float_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Float_Input::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Float_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Float_Input::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Float_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Float_Input::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Float_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Float_Input::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Float_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Float_Input::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Float_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_FormsBitmap::SwigDirector_Fl_FormsBitmap(PyObject *self, Fl_Boxtype arg0, int arg1, int arg2, int arg3, int arg4, char const *arg5): Fl_FormsBitmap(arg0, arg1, arg2, arg3, arg4, arg5), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_FormsBitmap *)this, this); } SwigDirector_Fl_FormsBitmap::~SwigDirector_Fl_FormsBitmap() { } void SwigDirector_Fl_FormsBitmap::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsBitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_FormsBitmap::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsBitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_FormsBitmap::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsBitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_FormsBitmap::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsBitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_FormsBitmap::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsBitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_FormsBitmap::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsBitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_FormsBitmap::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsBitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_FormsBitmap::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsBitmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_FormsPixmap::SwigDirector_Fl_FormsPixmap(PyObject *self, Fl_Boxtype t, int X, int Y, int W, int H, char const *L): Fl_FormsPixmap(t, X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_FormsPixmap *)this, this); } SwigDirector_Fl_FormsPixmap::~SwigDirector_Fl_FormsPixmap() { } void SwigDirector_Fl_FormsPixmap::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsPixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_FormsPixmap::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsPixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_FormsPixmap::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsPixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_FormsPixmap::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsPixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_FormsPixmap::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsPixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_FormsPixmap::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsPixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_FormsPixmap::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsPixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_FormsPixmap::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_FormsPixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Free::SwigDirector_Fl_Free(PyObject *self, uchar t, int X, int Y, int W, int H, char const *L, FL_HANDLEPTR hdl): Fl_Free(t, X, Y, W, H, L, hdl), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Free *)this, this); } SwigDirector_Fl_Free::~SwigDirector_Fl_Free() { } void SwigDirector_Fl_Free::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Free.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Free::handle(int e) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(e)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Free.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Free::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Free.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Free::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Free.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Free::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Free.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Free::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Free.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Free::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Free.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Free::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Free.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Pixmap::SwigDirector_Fl_Pixmap(PyObject *self, char *const *D): Fl_Pixmap(D), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Pixmap *)this, this); } SwigDirector_Fl_Pixmap::SwigDirector_Fl_Pixmap(PyObject *self, uchar *const *D): Fl_Pixmap(D), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Pixmap *)this, this); } SwigDirector_Fl_Pixmap::SwigDirector_Fl_Pixmap(PyObject *self, char const *const *D): Fl_Pixmap(D), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Pixmap *)this, this); } SwigDirector_Fl_Pixmap::SwigDirector_Fl_Pixmap(PyObject *self, uchar const *const *D): Fl_Pixmap(D), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Pixmap *)this, this); } SwigDirector_Fl_Pixmap::~SwigDirector_Fl_Pixmap() { } Fl_Image *SwigDirector_Fl_Pixmap::copy(int W, int H) { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Image *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "copy"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"copy"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Image, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Image *""'"); } c_result = reinterpret_cast< Fl_Image * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Image *) c_result; } void SwigDirector_Fl_Pixmap::color_average(Fl_Color c, float i) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(c)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(i)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "color_average"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"color_average"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Pixmap::desaturate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "desaturate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"desaturate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Pixmap::label(Fl_Widget *w) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_Fl_Widget, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Pixmap::label(Fl_Menu_Item *m) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(m), SWIGTYPE_p_Fl_Menu_Item, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Pixmap::draw(int X, int Y, int W, int H, int cx, int cy) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(cx)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(cy)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Pixmap::uncache() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pixmap.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "uncache"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"uncache"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_GIF_Image::SwigDirector_Fl_GIF_Image(PyObject *self, char const *filename): Fl_GIF_Image(filename), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_GIF_Image *)this, this); } SwigDirector_Fl_GIF_Image::~SwigDirector_Fl_GIF_Image() { } Fl_Image *SwigDirector_Fl_GIF_Image::copy(int W, int H) { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Image *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_GIF_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "copy"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"copy"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Image, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Image *""'"); } c_result = reinterpret_cast< Fl_Image * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Image *) c_result; } void SwigDirector_Fl_GIF_Image::color_average(Fl_Color c, float i) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(c)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(i)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_GIF_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "color_average"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"color_average"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_GIF_Image::desaturate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_GIF_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "desaturate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"desaturate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_GIF_Image::label(Fl_Widget *w) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_Fl_Widget, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_GIF_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_GIF_Image::label(Fl_Menu_Item *m) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(m), SWIGTYPE_p_Fl_Menu_Item, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_GIF_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_GIF_Image::draw(int X, int Y, int W, int H, int cx, int cy) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(cx)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(cy)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_GIF_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_GIF_Image::uncache() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_GIF_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "uncache"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"uncache"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Gl_Window::SwigDirector_Fl_Gl_Window(PyObject *self, int W, int H, char const *l): Fl_Gl_Window(W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Gl_Window *)this, this); } SwigDirector_Fl_Gl_Window::SwigDirector_Fl_Gl_Window(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Gl_Window(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Gl_Window *)this, this); } SwigDirector_Fl_Gl_Window::~SwigDirector_Fl_Gl_Window() { } void SwigDirector_Fl_Gl_Window::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Gl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Gl_Window::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Gl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Gl_Window::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Gl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Gl_Window::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Gl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Gl_Window::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Gl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Gl_Window::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Gl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Gl_Window::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Gl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void SwigDirector_Fl_Gl_Window::flush() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Gl_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "flush"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"flush"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Help_View::SwigDirector_Fl_Help_View(PyObject *self, int xx, int yy, int ww, int hh, char const *l): Fl_Help_View(xx, yy, ww, hh, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Help_View *)this, this); } SwigDirector_Fl_Help_View::~SwigDirector_Fl_Help_View() { } void SwigDirector_Fl_Help_View::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Help_View.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Help_View::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Help_View.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Help_View::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Help_View.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Help_View::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Help_View.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Help_View::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Help_View.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Help_View::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Help_View.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Help_View::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Help_View.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Help_View::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Help_View.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Hold_Browser::SwigDirector_Fl_Hold_Browser(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Hold_Browser(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Hold_Browser *)this, this); } SwigDirector_Fl_Hold_Browser::~SwigDirector_Fl_Hold_Browser() { } void SwigDirector_Fl_Hold_Browser::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Hold_Browser::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Hold_Browser::resize(int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Hold_Browser::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Hold_Browser::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Hold_Browser::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Hold_Browser::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Hold_Browser::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void *SwigDirector_Fl_Hold_Browser::item_first() const { void *argp ; int res ; void *c_result; swig_set_inner("item_first", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "item_first"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_first"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_first", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Hold_Browser::item_next(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_next", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 9; const char * const swig_method_name = "item_next"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_next"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_next", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Hold_Browser::item_prev(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_prev", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 10; const char * const swig_method_name = "item_prev"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_prev"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_prev", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Hold_Browser::item_last() const { void *argp ; int res ; void *c_result; swig_set_inner("item_last", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 11; const char * const swig_method_name = "item_last"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_last"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_last", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_Hold_Browser::item_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 12; const char * const swig_method_name = "item_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Hold_Browser::item_width(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 13; const char * const swig_method_name = "item_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Hold_Browser::item_quick_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_quick_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 14; const char * const swig_method_name = "item_quick_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_quick_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_quick_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Hold_Browser::item_draw(void *item, int X, int Y, int W, int H) const { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(H)); swig_set_inner("item_draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 15; const char * const swig_method_name = "item_draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #endif swig_set_inner("item_draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } char const *SwigDirector_Fl_Hold_Browser::item_text(void *item) const { int res ; char *buf = 0 ; int alloc = SWIG_NEWOBJ ; char *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_text", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 16; const char * const swig_method_name = "item_text"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_text"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_text", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_AsCharPtrAndSize(result, &buf, NULL, &alloc); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""char const *""'"); } if (alloc == SWIG_NEWOBJ) { swig_acquire_ownership_array(buf); } c_result = reinterpret_cast< char * >(buf); return (char const *) c_result; } void SwigDirector_Fl_Hold_Browser::item_swap(void *a, void *b) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(a), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(b), SWIGTYPE_p_void, 0 ); swig_set_inner("item_swap", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 17; const char * const swig_method_name = "item_swap"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_swap"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_swap", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void *SwigDirector_Fl_Hold_Browser::item_at(int line) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(line)); swig_set_inner("item_at", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 18; const char * const swig_method_name = "item_at"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_at"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_at", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_Hold_Browser::full_width() const { int c_result; swig_set_inner("full_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 19; const char * const swig_method_name = "full_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Hold_Browser::full_height() const { int c_result; swig_set_inner("full_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 20; const char * const swig_method_name = "full_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Hold_Browser::incr_height() const { int c_result; swig_set_inner("incr_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 21; const char * const swig_method_name = "incr_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"incr_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("incr_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Hold_Browser::item_select(void *item, int val) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(val)); swig_set_inner("item_select", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 22; const char * const swig_method_name = "item_select"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_select"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_select", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Hold_Browser::item_selected(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_selected", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hold_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 23; const char * const swig_method_name = "item_selected"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_selected"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_selected", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Hor_Fill_Slider::SwigDirector_Fl_Hor_Fill_Slider(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Hor_Fill_Slider(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Hor_Fill_Slider *)this, this); } SwigDirector_Fl_Hor_Fill_Slider::~SwigDirector_Fl_Hor_Fill_Slider() { } void SwigDirector_Fl_Hor_Fill_Slider::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Hor_Fill_Slider::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Hor_Fill_Slider::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Hor_Fill_Slider::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Hor_Fill_Slider::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Hor_Fill_Slider::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Hor_Fill_Slider::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Hor_Fill_Slider::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Hor_Fill_Slider::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Fill_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Hor_Nice_Slider::SwigDirector_Fl_Hor_Nice_Slider(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Hor_Nice_Slider(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Hor_Nice_Slider *)this, this); } SwigDirector_Fl_Hor_Nice_Slider::~SwigDirector_Fl_Hor_Nice_Slider() { } void SwigDirector_Fl_Hor_Nice_Slider::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Hor_Nice_Slider::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Hor_Nice_Slider::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Hor_Nice_Slider::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Hor_Nice_Slider::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Hor_Nice_Slider::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Hor_Nice_Slider::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Hor_Nice_Slider::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Hor_Nice_Slider::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Hor_Slider::SwigDirector_Fl_Hor_Slider(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Hor_Slider(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Hor_Slider *)this, this); } SwigDirector_Fl_Hor_Slider::~SwigDirector_Fl_Hor_Slider() { } void SwigDirector_Fl_Hor_Slider::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Hor_Slider::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Hor_Slider::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Hor_Slider::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Hor_Slider::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Hor_Slider::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Hor_Slider::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Hor_Slider::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Hor_Slider::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Value_Slider::SwigDirector_Fl_Value_Slider(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Value_Slider(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Value_Slider *)this, this); } SwigDirector_Fl_Value_Slider::~SwigDirector_Fl_Value_Slider() { } void SwigDirector_Fl_Value_Slider::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Value_Slider::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Value_Slider::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Value_Slider::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Value_Slider::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Value_Slider::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Value_Slider::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Value_Slider::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Value_Slider::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Hor_Value_Slider::SwigDirector_Fl_Hor_Value_Slider(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Hor_Value_Slider(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Hor_Value_Slider *)this, this); } SwigDirector_Fl_Hor_Value_Slider::~SwigDirector_Fl_Hor_Value_Slider() { } void SwigDirector_Fl_Hor_Value_Slider::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Hor_Value_Slider::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Hor_Value_Slider::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Hor_Value_Slider::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Hor_Value_Slider::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Hor_Value_Slider::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Hor_Value_Slider::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Hor_Value_Slider::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Hor_Value_Slider::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Hor_Value_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Int_Input::SwigDirector_Fl_Int_Input(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Int_Input(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Int_Input *)this, this); } SwigDirector_Fl_Int_Input::~SwigDirector_Fl_Int_Input() { } void SwigDirector_Fl_Int_Input::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Int_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Int_Input::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Int_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Int_Input::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Int_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Int_Input::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Int_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Int_Input::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Int_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Int_Input::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Int_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Int_Input::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Int_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Int_Input::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Int_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Input_Choice::SwigDirector_Fl_Input_Choice(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Input_Choice(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Input_Choice *)this, this); } SwigDirector_Fl_Input_Choice::~SwigDirector_Fl_Input_Choice() { } void SwigDirector_Fl_Input_Choice::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Input_Choice::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Input_Choice::resize(int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Input_Choice::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Input_Choice::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Input_Choice::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Input_Choice::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Input_Choice::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Input_Choice.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_JPEG_Image::SwigDirector_Fl_JPEG_Image(PyObject *self, char const *filename): Fl_JPEG_Image(filename), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_JPEG_Image *)this, this); } SwigDirector_Fl_JPEG_Image::SwigDirector_Fl_JPEG_Image(PyObject *self, char const *name, unsigned char const *data): Fl_JPEG_Image(name, data), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_JPEG_Image *)this, this); } SwigDirector_Fl_JPEG_Image::~SwigDirector_Fl_JPEG_Image() { } Fl_Image *SwigDirector_Fl_JPEG_Image::copy(int W, int H) { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Image *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_JPEG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "copy"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"copy"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Image, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Image *""'"); } c_result = reinterpret_cast< Fl_Image * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Image *) c_result; } void SwigDirector_Fl_JPEG_Image::color_average(Fl_Color c, float i) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(c)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(i)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_JPEG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "color_average"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"color_average"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_JPEG_Image::desaturate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_JPEG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "desaturate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"desaturate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_JPEG_Image::label(Fl_Widget *w) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_Fl_Widget, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_JPEG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_JPEG_Image::label(Fl_Menu_Item *m) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(m), SWIGTYPE_p_Fl_Menu_Item, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_JPEG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_JPEG_Image::draw(int X, int Y, int W, int H, int cx, int cy) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(cx)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(cy)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_JPEG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_JPEG_Image::uncache() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_JPEG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "uncache"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"uncache"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Line_Dial::SwigDirector_Fl_Line_Dial(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Line_Dial(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Line_Dial *)this, this); } SwigDirector_Fl_Line_Dial::~SwigDirector_Fl_Line_Dial() { } void SwigDirector_Fl_Line_Dial::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Line_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Line_Dial::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Line_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Line_Dial::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Line_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Line_Dial::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Line_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Line_Dial::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Line_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Line_Dial::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Line_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Line_Dial::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Line_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Line_Dial::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Line_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Line_Dial::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Line_Dial.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Menu_Bar::SwigDirector_Fl_Menu_Bar(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Menu_Bar(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Menu_Bar *)this, this); } SwigDirector_Fl_Menu_Bar::~SwigDirector_Fl_Menu_Bar() { } void SwigDirector_Fl_Menu_Bar::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Bar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Menu_Bar::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Bar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Menu_Bar::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Bar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Menu_Bar::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Bar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Menu_Bar::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Bar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Menu_Bar::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Bar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Menu_Bar::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Bar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Menu_Bar::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Bar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Menu_Button::SwigDirector_Fl_Menu_Button(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4): Fl_Menu_Button(arg0, arg1, arg2, arg3, arg4), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Menu_Button *)this, this); } SwigDirector_Fl_Menu_Button::~SwigDirector_Fl_Menu_Button() { } void SwigDirector_Fl_Menu_Button::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Menu_Button::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Menu_Button::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Menu_Button::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Menu_Button::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Menu_Button::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Menu_Button::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Menu_Button::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Single_Window::SwigDirector_Fl_Single_Window(PyObject *self, int W, int H, char const *l): Fl_Single_Window(W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Single_Window *)this, this); } SwigDirector_Fl_Single_Window::SwigDirector_Fl_Single_Window(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Single_Window(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Single_Window *)this, this); } SwigDirector_Fl_Single_Window::~SwigDirector_Fl_Single_Window() { } void SwigDirector_Fl_Single_Window::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Single_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Single_Window::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Single_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Single_Window::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Single_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Single_Window::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Single_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Single_Window::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Single_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Single_Window::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Single_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Single_Window::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Single_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void SwigDirector_Fl_Single_Window::flush() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Single_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "flush"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"flush"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Menu_Window::SwigDirector_Fl_Menu_Window(PyObject *self, int W, int H, char const *l): Fl_Menu_Window(W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Menu_Window *)this, this); } SwigDirector_Fl_Menu_Window::SwigDirector_Fl_Menu_Window(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Menu_Window(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Menu_Window *)this, this); } SwigDirector_Fl_Menu_Window::~SwigDirector_Fl_Menu_Window() { } void SwigDirector_Fl_Menu_Window::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Menu_Window::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Menu_Window::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Menu_Window::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Menu_Window::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Menu_Window::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Menu_Window::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void SwigDirector_Fl_Menu_Window::flush() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Menu_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "flush"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"flush"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Multiline_Input::SwigDirector_Fl_Multiline_Input(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Multiline_Input(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Multiline_Input *)this, this); } SwigDirector_Fl_Multiline_Input::~SwigDirector_Fl_Multiline_Input() { } void SwigDirector_Fl_Multiline_Input::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Multiline_Input::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Multiline_Input::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Multiline_Input::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Multiline_Input::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Multiline_Input::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Multiline_Input::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Multiline_Input::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Output::SwigDirector_Fl_Output(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Output(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Output *)this, this); } SwigDirector_Fl_Output::~SwigDirector_Fl_Output() { } void SwigDirector_Fl_Output::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Output::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Output::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Output::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Output::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Output::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Output::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Output::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Multiline_Output::SwigDirector_Fl_Multiline_Output(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Multiline_Output(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Multiline_Output *)this, this); } SwigDirector_Fl_Multiline_Output::~SwigDirector_Fl_Multiline_Output() { } void SwigDirector_Fl_Multiline_Output::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Multiline_Output::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Multiline_Output::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Multiline_Output::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Multiline_Output::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Multiline_Output::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Multiline_Output::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Multiline_Output::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multiline_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Multi_Browser::SwigDirector_Fl_Multi_Browser(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Multi_Browser(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Multi_Browser *)this, this); } SwigDirector_Fl_Multi_Browser::~SwigDirector_Fl_Multi_Browser() { } void SwigDirector_Fl_Multi_Browser::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Multi_Browser::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Multi_Browser::resize(int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Multi_Browser::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Multi_Browser::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Multi_Browser::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Multi_Browser::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Multi_Browser::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void *SwigDirector_Fl_Multi_Browser::item_first() const { void *argp ; int res ; void *c_result; swig_set_inner("item_first", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "item_first"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_first"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_first", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Multi_Browser::item_next(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_next", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 9; const char * const swig_method_name = "item_next"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_next"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_next", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Multi_Browser::item_prev(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_prev", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 10; const char * const swig_method_name = "item_prev"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_prev"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_prev", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Multi_Browser::item_last() const { void *argp ; int res ; void *c_result; swig_set_inner("item_last", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 11; const char * const swig_method_name = "item_last"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_last"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_last", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_Multi_Browser::item_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 12; const char * const swig_method_name = "item_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Multi_Browser::item_width(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 13; const char * const swig_method_name = "item_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Multi_Browser::item_quick_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_quick_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 14; const char * const swig_method_name = "item_quick_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_quick_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_quick_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Multi_Browser::item_draw(void *item, int X, int Y, int W, int H) const { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(H)); swig_set_inner("item_draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 15; const char * const swig_method_name = "item_draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #endif swig_set_inner("item_draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } char const *SwigDirector_Fl_Multi_Browser::item_text(void *item) const { int res ; char *buf = 0 ; int alloc = SWIG_NEWOBJ ; char *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_text", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 16; const char * const swig_method_name = "item_text"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_text"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_text", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_AsCharPtrAndSize(result, &buf, NULL, &alloc); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""char const *""'"); } if (alloc == SWIG_NEWOBJ) { swig_acquire_ownership_array(buf); } c_result = reinterpret_cast< char * >(buf); return (char const *) c_result; } void SwigDirector_Fl_Multi_Browser::item_swap(void *a, void *b) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(a), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(b), SWIGTYPE_p_void, 0 ); swig_set_inner("item_swap", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 17; const char * const swig_method_name = "item_swap"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_swap"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_swap", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void *SwigDirector_Fl_Multi_Browser::item_at(int line) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(line)); swig_set_inner("item_at", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 18; const char * const swig_method_name = "item_at"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_at"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_at", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_Multi_Browser::full_width() const { int c_result; swig_set_inner("full_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 19; const char * const swig_method_name = "full_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Multi_Browser::full_height() const { int c_result; swig_set_inner("full_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 20; const char * const swig_method_name = "full_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Multi_Browser::incr_height() const { int c_result; swig_set_inner("incr_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 21; const char * const swig_method_name = "incr_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"incr_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("incr_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Multi_Browser::item_select(void *item, int val) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(val)); swig_set_inner("item_select", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 22; const char * const swig_method_name = "item_select"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_select"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_select", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Multi_Browser::item_selected(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_selected", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Multi_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 23; const char * const swig_method_name = "item_selected"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_selected"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_selected", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Nice_Slider::SwigDirector_Fl_Nice_Slider(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Nice_Slider(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Nice_Slider *)this, this); } SwigDirector_Fl_Nice_Slider::~SwigDirector_Fl_Nice_Slider() { } void SwigDirector_Fl_Nice_Slider::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Nice_Slider::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Nice_Slider::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Nice_Slider::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Nice_Slider::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Nice_Slider::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Nice_Slider::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Nice_Slider::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Nice_Slider::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Nice_Slider.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Overlay_Window::SwigDirector_Fl_Overlay_Window(PyObject *self, int W, int H, char const *l): Fl_Overlay_Window(W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Overlay_Window *)this, this); } SwigDirector_Fl_Overlay_Window::SwigDirector_Fl_Overlay_Window(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Overlay_Window(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Overlay_Window *)this, this); } SwigDirector_Fl_Overlay_Window::~SwigDirector_Fl_Overlay_Window() { } void SwigDirector_Fl_Overlay_Window::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Overlay_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Overlay_Window::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Overlay_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Overlay_Window::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Overlay_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Overlay_Window::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Overlay_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Overlay_Window::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Overlay_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Overlay_Window::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Overlay_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Overlay_Window::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Overlay_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void SwigDirector_Fl_Overlay_Window::flush() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Overlay_Window.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "flush"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"flush"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Pack::SwigDirector_Fl_Pack(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Pack(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Pack *)this, this); } SwigDirector_Fl_Pack::~SwigDirector_Fl_Pack() { } void SwigDirector_Fl_Pack::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pack.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Pack::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pack.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Pack::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pack.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Pack::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pack.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Pack::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pack.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Pack::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pack.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Pack::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pack.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Pack::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Pack.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_PNG_Image::SwigDirector_Fl_PNG_Image(PyObject *self, char const *filename): Fl_PNG_Image(filename), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_PNG_Image *)this, this); } SwigDirector_Fl_PNG_Image::SwigDirector_Fl_PNG_Image(PyObject *self, char const *name_png, unsigned char const *buffer, int datasize): Fl_PNG_Image(name_png, buffer, datasize), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_PNG_Image *)this, this); } SwigDirector_Fl_PNG_Image::~SwigDirector_Fl_PNG_Image() { } Fl_Image *SwigDirector_Fl_PNG_Image::copy(int W, int H) { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Image *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "copy"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"copy"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Image, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Image *""'"); } c_result = reinterpret_cast< Fl_Image * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Image *) c_result; } void SwigDirector_Fl_PNG_Image::color_average(Fl_Color c, float i) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(c)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(i)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "color_average"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"color_average"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_PNG_Image::desaturate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "desaturate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"desaturate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_PNG_Image::label(Fl_Widget *w) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_Fl_Widget, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_PNG_Image::label(Fl_Menu_Item *m) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(m), SWIGTYPE_p_Fl_Menu_Item, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_PNG_Image::draw(int X, int Y, int W, int H, int cx, int cy) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(cx)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(cy)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_PNG_Image::uncache() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNG_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "uncache"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"uncache"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_PNM_Image::SwigDirector_Fl_PNM_Image(PyObject *self, char const *filename): Fl_PNM_Image(filename), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_PNM_Image *)this, this); } SwigDirector_Fl_PNM_Image::~SwigDirector_Fl_PNM_Image() { } Fl_Image *SwigDirector_Fl_PNM_Image::copy(int W, int H) { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Image *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "copy"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"copy"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Image, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Image *""'"); } c_result = reinterpret_cast< Fl_Image * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Image *) c_result; } void SwigDirector_Fl_PNM_Image::color_average(Fl_Color c, float i) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(c)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(i)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "color_average"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"color_average"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_PNM_Image::desaturate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "desaturate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"desaturate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_PNM_Image::label(Fl_Widget *w) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_Fl_Widget, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_PNM_Image::label(Fl_Menu_Item *m) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(m), SWIGTYPE_p_Fl_Menu_Item, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_PNM_Image::draw(int X, int Y, int W, int H, int cx, int cy) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(cx)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(cy)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_PNM_Image::uncache() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_PNM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "uncache"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"uncache"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Positioner::SwigDirector_Fl_Positioner(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Positioner(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Positioner *)this, this); } SwigDirector_Fl_Positioner::~SwigDirector_Fl_Positioner() { } void SwigDirector_Fl_Positioner::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Positioner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Positioner::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Positioner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Positioner::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Positioner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Positioner::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Positioner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Positioner::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Positioner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Positioner::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Positioner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Positioner::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Positioner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Positioner::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Positioner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Progress::SwigDirector_Fl_Progress(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Progress(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Progress *)this, this); } SwigDirector_Fl_Progress::~SwigDirector_Fl_Progress() { } void SwigDirector_Fl_Progress::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Progress.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Progress::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Progress.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Progress::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Progress.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Progress::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Progress.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Progress::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Progress.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Progress::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Progress.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Progress::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Progress.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Progress::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Progress.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Radio_Button::SwigDirector_Fl_Radio_Button(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Radio_Button(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Radio_Button *)this, this); } SwigDirector_Fl_Radio_Button::~SwigDirector_Fl_Radio_Button() { } void SwigDirector_Fl_Radio_Button::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Radio_Button::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Radio_Button::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Radio_Button::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Radio_Button::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Radio_Button::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Radio_Button::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Radio_Button::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Radio_Light_Button::SwigDirector_Fl_Radio_Light_Button(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Radio_Light_Button(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Radio_Light_Button *)this, this); } SwigDirector_Fl_Radio_Light_Button::~SwigDirector_Fl_Radio_Light_Button() { } void SwigDirector_Fl_Radio_Light_Button::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Radio_Light_Button::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Radio_Light_Button::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Radio_Light_Button::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Radio_Light_Button::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Radio_Light_Button::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Radio_Light_Button::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Radio_Light_Button::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Light_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Round_Button::SwigDirector_Fl_Round_Button(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Round_Button(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Round_Button *)this, this); } SwigDirector_Fl_Round_Button::~SwigDirector_Fl_Round_Button() { } void SwigDirector_Fl_Round_Button::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Round_Button::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Round_Button::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Round_Button::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Round_Button::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Round_Button::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Round_Button::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Round_Button::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Radio_Round_Button::SwigDirector_Fl_Radio_Round_Button(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Radio_Round_Button(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Radio_Round_Button *)this, this); } SwigDirector_Fl_Radio_Round_Button::~SwigDirector_Fl_Radio_Round_Button() { } void SwigDirector_Fl_Radio_Round_Button::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Radio_Round_Button::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Radio_Round_Button::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Radio_Round_Button::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Radio_Round_Button::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Radio_Round_Button::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Radio_Round_Button::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Radio_Round_Button::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Radio_Round_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Repeat_Button::SwigDirector_Fl_Repeat_Button(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Repeat_Button(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Repeat_Button *)this, this); } SwigDirector_Fl_Repeat_Button::~SwigDirector_Fl_Repeat_Button() { } void SwigDirector_Fl_Repeat_Button::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Repeat_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Repeat_Button::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Repeat_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Repeat_Button::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Repeat_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Repeat_Button::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Repeat_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Repeat_Button::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Repeat_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Repeat_Button::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Repeat_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Repeat_Button::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Repeat_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Repeat_Button::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Repeat_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Return_Button::SwigDirector_Fl_Return_Button(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Return_Button(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Return_Button *)this, this); } SwigDirector_Fl_Return_Button::~SwigDirector_Fl_Return_Button() { } void SwigDirector_Fl_Return_Button::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Return_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Return_Button::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Return_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Return_Button::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Return_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Return_Button::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Return_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Return_Button::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Return_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Return_Button::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Return_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Return_Button::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Return_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Return_Button::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Return_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Roller::SwigDirector_Fl_Roller(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Roller(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Roller *)this, this); } SwigDirector_Fl_Roller::~SwigDirector_Fl_Roller() { } void SwigDirector_Fl_Roller::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Roller.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Roller::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Roller.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Roller::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Roller.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Roller::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Roller.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Roller::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Roller.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Roller::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Roller.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Roller::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Roller.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Roller::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Roller.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Roller::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Roller.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Round_Clock::SwigDirector_Fl_Round_Clock(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Round_Clock(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Round_Clock *)this, this); } SwigDirector_Fl_Round_Clock::~SwigDirector_Fl_Round_Clock() { } void SwigDirector_Fl_Round_Clock::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Round_Clock::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Round_Clock::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Round_Clock::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Round_Clock::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Round_Clock::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Round_Clock::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Round_Clock::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Round_Clock.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Scroll::SwigDirector_Fl_Scroll(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Scroll(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Scroll *)this, this); } SwigDirector_Fl_Scroll::~SwigDirector_Fl_Scroll() { } void SwigDirector_Fl_Scroll::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scroll.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Scroll::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scroll.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Scroll::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scroll.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Scroll::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scroll.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Scroll::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scroll.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Scroll::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scroll.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Scroll::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scroll.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Scroll::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scroll.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Scrollbar::SwigDirector_Fl_Scrollbar(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Scrollbar(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Scrollbar *)this, this); } SwigDirector_Fl_Scrollbar::~SwigDirector_Fl_Scrollbar() { } void SwigDirector_Fl_Scrollbar::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scrollbar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Scrollbar::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scrollbar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Scrollbar::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scrollbar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Scrollbar::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scrollbar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Scrollbar::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scrollbar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Scrollbar::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scrollbar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Scrollbar::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scrollbar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Scrollbar::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scrollbar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Scrollbar::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Scrollbar.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Secret_Input::SwigDirector_Fl_Secret_Input(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Secret_Input(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Secret_Input *)this, this); } SwigDirector_Fl_Secret_Input::~SwigDirector_Fl_Secret_Input() { } void SwigDirector_Fl_Secret_Input::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Secret_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Secret_Input::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Secret_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Secret_Input::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Secret_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Secret_Input::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Secret_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Secret_Input::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Secret_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Secret_Input::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Secret_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Secret_Input::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Secret_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Secret_Input::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Secret_Input.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Select_Browser::SwigDirector_Fl_Select_Browser(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Select_Browser(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Select_Browser *)this, this); } SwigDirector_Fl_Select_Browser::~SwigDirector_Fl_Select_Browser() { } void SwigDirector_Fl_Select_Browser::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Select_Browser::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Select_Browser::resize(int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Select_Browser::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Select_Browser::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Select_Browser::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Select_Browser::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Select_Browser::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void *SwigDirector_Fl_Select_Browser::item_first() const { void *argp ; int res ; void *c_result; swig_set_inner("item_first", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "item_first"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_first"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_first", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Select_Browser::item_next(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_next", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 9; const char * const swig_method_name = "item_next"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_next"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_next", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Select_Browser::item_prev(void *item) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_prev", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 10; const char * const swig_method_name = "item_prev"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_prev"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_prev", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } void *SwigDirector_Fl_Select_Browser::item_last() const { void *argp ; int res ; void *c_result; swig_set_inner("item_last", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 11; const char * const swig_method_name = "item_last"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_last"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("item_last", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_Select_Browser::item_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 12; const char * const swig_method_name = "item_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Select_Browser::item_width(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 13; const char * const swig_method_name = "item_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Select_Browser::item_quick_height(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_quick_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 14; const char * const swig_method_name = "item_quick_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_quick_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_quick_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Select_Browser::item_draw(void *item, int X, int Y, int W, int H) const { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(H)); swig_set_inner("item_draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 15; const char * const swig_method_name = "item_draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4, NULL); #endif swig_set_inner("item_draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } char const *SwigDirector_Fl_Select_Browser::item_text(void *item) const { int res ; char *buf = 0 ; int alloc = SWIG_NEWOBJ ; char *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_text", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 16; const char * const swig_method_name = "item_text"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_text"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_text", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_AsCharPtrAndSize(result, &buf, NULL, &alloc); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""char const *""'"); } if (alloc == SWIG_NEWOBJ) { swig_acquire_ownership_array(buf); } c_result = reinterpret_cast< char * >(buf); return (char const *) c_result; } void SwigDirector_Fl_Select_Browser::item_swap(void *a, void *b) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(a), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(b), SWIGTYPE_p_void, 0 ); swig_set_inner("item_swap", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 17; const char * const swig_method_name = "item_swap"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_swap"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_swap", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void *SwigDirector_Fl_Select_Browser::item_at(int line) const { void *argp ; int res ; void *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(line)); swig_set_inner("item_at", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 18; const char * const swig_method_name = "item_at"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_at"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_at", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } res = SWIG_ConvertPtr(result, &argp, 0, 0); if (!SWIG_IsOK(res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(res)), "in output value of type '""void *""'"); } c_result = reinterpret_cast< void * >(argp); return (void *) c_result; } int SwigDirector_Fl_Select_Browser::full_width() const { int c_result; swig_set_inner("full_width", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 19; const char * const swig_method_name = "full_width"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_width"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_width", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Select_Browser::full_height() const { int c_result; swig_set_inner("full_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 20; const char * const swig_method_name = "full_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"full_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("full_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Select_Browser::incr_height() const { int c_result; swig_set_inner("incr_height", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 21; const char * const swig_method_name = "incr_height"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"incr_height"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("incr_height", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Select_Browser::item_select(void *item, int val) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(val)); swig_set_inner("item_select", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 22; const char * const swig_method_name = "item_select"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_select"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif swig_set_inner("item_select", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Select_Browser::item_selected(void *item) const { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(item), SWIGTYPE_p_void, 0 ); swig_set_inner("item_selected", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Select_Browser.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 23; const char * const swig_method_name = "item_selected"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"item_selected"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("item_selected", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Shared_Image::SwigDirector_Fl_Shared_Image(PyObject *self): Fl_Shared_Image(), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Shared_Image *)this, this); } SwigDirector_Fl_Shared_Image::SwigDirector_Fl_Shared_Image(PyObject *self, char const *n, Fl_Image *img): Fl_Shared_Image(n, img), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Shared_Image *)this, this); } SwigDirector_Fl_Shared_Image::~SwigDirector_Fl_Shared_Image() { } Fl_Image *SwigDirector_Fl_Shared_Image::copy(int W, int H) { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Image *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Shared_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "copy"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"copy"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Image, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Image *""'"); } c_result = reinterpret_cast< Fl_Image * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Image *) c_result; } void SwigDirector_Fl_Shared_Image::color_average(Fl_Color c, float i) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(c)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(i)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Shared_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "color_average"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"color_average"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Shared_Image::desaturate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Shared_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "desaturate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"desaturate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Shared_Image::label(Fl_Widget *w) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_Fl_Widget, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Shared_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Shared_Image::label(Fl_Menu_Item *m) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(m), SWIGTYPE_p_Fl_Menu_Item, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Shared_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Shared_Image::draw(int X, int Y, int W, int H, int cx, int cy) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(cx)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(cy)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Shared_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Shared_Image::uncache() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Shared_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "uncache"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"uncache"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Spinner::SwigDirector_Fl_Spinner(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Spinner(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Spinner *)this, this); } SwigDirector_Fl_Spinner::~SwigDirector_Fl_Spinner() { } void SwigDirector_Fl_Spinner::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Spinner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Spinner::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Spinner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Spinner::resize(int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Spinner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Spinner::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Spinner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Spinner::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Spinner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Spinner::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Spinner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Spinner::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Spinner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Spinner::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Spinner.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Simple_Counter::SwigDirector_Fl_Simple_Counter(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Simple_Counter(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Simple_Counter *)this, this); } SwigDirector_Fl_Simple_Counter::~SwigDirector_Fl_Simple_Counter() { } void SwigDirector_Fl_Simple_Counter::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Simple_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Simple_Counter::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Simple_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Simple_Counter::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Simple_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Simple_Counter::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Simple_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Simple_Counter::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Simple_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Simple_Counter::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Simple_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Simple_Counter::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Simple_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Simple_Counter::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Simple_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Simple_Counter::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Simple_Counter.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Tabs::SwigDirector_Fl_Tabs(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4): Fl_Tabs(arg0, arg1, arg2, arg3, arg4), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Tabs *)this, this); } SwigDirector_Fl_Tabs::~SwigDirector_Fl_Tabs() { } void SwigDirector_Fl_Tabs::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tabs.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Tabs::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tabs.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Tabs::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tabs.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Tabs::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tabs.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Tabs::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tabs.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Tabs::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tabs.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Tabs::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tabs.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Tabs::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tabs.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Text_Display::SwigDirector_Fl_Text_Display(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Text_Display(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Text_Display *)this, this); } SwigDirector_Fl_Text_Display::~SwigDirector_Fl_Text_Display() { } void SwigDirector_Fl_Text_Display::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Display.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Text_Display::handle(int e) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(e)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Display.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Text_Display::resize(int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Display.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Text_Display::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Display.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Text_Display::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Display.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Text_Display::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Display.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Text_Display::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Display.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Text_Display::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Display.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Text_Editor::SwigDirector_Fl_Text_Editor(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Text_Editor(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Text_Editor *)this, this); } SwigDirector_Fl_Text_Editor::~SwigDirector_Fl_Text_Editor() { } void SwigDirector_Fl_Text_Editor::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Editor.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Text_Editor::handle(int e) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(e)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Editor.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Text_Editor::resize(int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Editor.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Text_Editor::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Editor.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Text_Editor::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Editor.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Text_Editor::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Editor.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Text_Editor::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Editor.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Text_Editor::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Text_Editor.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Tile::SwigDirector_Fl_Tile(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Tile(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Tile *)this, this); } SwigDirector_Fl_Tile::~SwigDirector_Fl_Tile() { } void SwigDirector_Fl_Tile::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tile.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Tile::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tile.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Tile::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tile.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Tile::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tile.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Tile::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tile.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Tile::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tile.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Tile::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tile.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Tile::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tile.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Tiled_Image::SwigDirector_Fl_Tiled_Image(PyObject *self, Fl_Image *i, int W, int H): Fl_Tiled_Image(i, W, H), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Tiled_Image *)this, this); } SwigDirector_Fl_Tiled_Image::~SwigDirector_Fl_Tiled_Image() { } Fl_Image *SwigDirector_Fl_Tiled_Image::copy(int W, int H) { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Image *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tiled_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "copy"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"copy"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Image, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Image *""'"); } c_result = reinterpret_cast< Fl_Image * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Image *) c_result; } void SwigDirector_Fl_Tiled_Image::color_average(Fl_Color c, float i) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(c)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(i)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tiled_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "color_average"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"color_average"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Tiled_Image::desaturate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tiled_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "desaturate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"desaturate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Tiled_Image::label(Fl_Widget *w) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_Fl_Widget, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tiled_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Tiled_Image::label(Fl_Menu_Item *m) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(m), SWIGTYPE_p_Fl_Menu_Item, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tiled_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Tiled_Image::draw(int X, int Y, int W, int H, int cx, int cy) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(cx)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(cy)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tiled_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Tiled_Image::uncache() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tiled_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "uncache"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"uncache"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Timer::SwigDirector_Fl_Timer(PyObject *self, uchar t, int x, int y, int w, int h, char const *l): Fl_Timer(t, x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Timer *)this, this); } SwigDirector_Fl_Timer::~SwigDirector_Fl_Timer() { } void SwigDirector_Fl_Timer::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Timer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Timer::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Timer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Timer::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Timer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Timer::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Timer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Timer::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Timer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Timer::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Timer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Timer::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Timer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Timer::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Timer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Toggle_Button::SwigDirector_Fl_Toggle_Button(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Toggle_Button(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Toggle_Button *)this, this); } SwigDirector_Fl_Toggle_Button::~SwigDirector_Fl_Toggle_Button() { } void SwigDirector_Fl_Toggle_Button::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Toggle_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Toggle_Button::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Toggle_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Toggle_Button::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Toggle_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Toggle_Button::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Toggle_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Toggle_Button::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Toggle_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Toggle_Button::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Toggle_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Toggle_Button::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Toggle_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Toggle_Button::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Toggle_Button.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Value_Output::SwigDirector_Fl_Value_Output(PyObject *self, int x, int y, int w, int h, char const *l): Fl_Value_Output(x, y, w, h, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Value_Output *)this, this); } SwigDirector_Fl_Value_Output::~SwigDirector_Fl_Value_Output() { } void SwigDirector_Fl_Value_Output::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Value_Output::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Value_Output::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Value_Output::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Value_Output::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Value_Output::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Value_Output::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Value_Output::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } int SwigDirector_Fl_Value_Output::format(char *format_string) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_FromCharPtr((const char *)format_string); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Value_Output.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "format"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"format"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } SwigDirector_Fl_Wizard::SwigDirector_Fl_Wizard(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4): Fl_Wizard(arg0, arg1, arg2, arg3, arg4), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Wizard *)this, this); } SwigDirector_Fl_Wizard::~SwigDirector_Fl_Wizard() { } void SwigDirector_Fl_Wizard::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Wizard.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Wizard::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Wizard.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Wizard::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Wizard.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Wizard::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Wizard.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Wizard::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Wizard.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Wizard::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Wizard.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Wizard::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Wizard.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Wizard::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Wizard.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_XBM_Image::SwigDirector_Fl_XBM_Image(PyObject *self, char const *filename): Fl_XBM_Image(filename), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_XBM_Image *)this, this); } SwigDirector_Fl_XBM_Image::~SwigDirector_Fl_XBM_Image() { } Fl_Image *SwigDirector_Fl_XBM_Image::copy(int W, int H) { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Image *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XBM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "copy"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"copy"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Image, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Image *""'"); } c_result = reinterpret_cast< Fl_Image * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Image *) c_result; } void SwigDirector_Fl_XBM_Image::color_average(Fl_Color c, float i) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(c)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(i)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XBM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "color_average"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"color_average"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_XBM_Image::desaturate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XBM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "desaturate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"desaturate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_XBM_Image::label(Fl_Widget *w) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_Fl_Widget, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XBM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_XBM_Image::label(Fl_Menu_Item *m) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(m), SWIGTYPE_p_Fl_Menu_Item, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XBM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_XBM_Image::draw(int X, int Y, int W, int H, int cx, int cy) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(cx)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(cy)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XBM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_XBM_Image::uncache() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XBM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "uncache"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"uncache"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_XPM_Image::SwigDirector_Fl_XPM_Image(PyObject *self, char const *filename): Fl_XPM_Image(filename), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_XPM_Image *)this, this); } SwigDirector_Fl_XPM_Image::~SwigDirector_Fl_XPM_Image() { } Fl_Image *SwigDirector_Fl_XPM_Image::copy(int W, int H) { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Image *c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XPM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "copy"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"copy"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Image, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Image *""'"); } c_result = reinterpret_cast< Fl_Image * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Image *) c_result; } void SwigDirector_Fl_XPM_Image::color_average(Fl_Color c, float i) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(c)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(i)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XPM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "color_average"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"color_average"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_XPM_Image::desaturate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XPM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "desaturate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"desaturate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_XPM_Image::label(Fl_Widget *w) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_Fl_Widget, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XPM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_XPM_Image::label(Fl_Menu_Item *m) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(m), SWIGTYPE_p_Fl_Menu_Item, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XPM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "label"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"label"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_XPM_Image::draw(int X, int Y, int W, int H, int cx, int cy) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(cx)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(cy)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XPM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_XPM_Image::uncache() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_XPM_Image.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "uncache"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"uncache"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Tree::SwigDirector_Fl_Tree(PyObject *self, int X, int Y, int W, int H, char const *L): Fl_Tree(X, Y, W, H, L), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Tree *)this, this); } SwigDirector_Fl_Tree::~SwigDirector_Fl_Tree() { } void SwigDirector_Fl_Tree::draw() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tree.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Tree::handle(int e) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(e)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tree.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Tree::resize(int arg0, int arg1, int arg2, int arg3) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(arg1)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(arg2)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(arg3)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tree.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Tree::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tree.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Tree::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tree.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Tree::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tree.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Tree::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tree.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Tree::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Tree.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Paged_Device::SwigDirector_Fl_Paged_Device(PyObject *self): Fl_Paged_Device(), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Paged_Device *)this, this); } SwigDirector_Fl_Paged_Device::~SwigDirector_Fl_Paged_Device() { } int SwigDirector_Fl_Paged_Device::start_job(int pagecount, int *frompage, int *topage) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(pagecount)); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(frompage), SWIGTYPE_p_int, 0 ); swig::SwigVar_PyObject obj2; obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(topage), SWIGTYPE_p_int, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "start_job"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"start_job"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Paged_Device::start_page() { int c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "start_page"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"start_page"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Paged_Device::printable_rect(int *w, int *h) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_int, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(h), SWIGTYPE_p_int, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "printable_rect"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"printable_rect"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Paged_Device::margins(int *left, int *top, int *right, int *bottom) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(left), SWIGTYPE_p_int, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(top), SWIGTYPE_p_int, 0 ); swig::SwigVar_PyObject obj2; obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(right), SWIGTYPE_p_int, 0 ); swig::SwigVar_PyObject obj3; obj3 = SWIG_NewPointerObj(SWIG_as_voidptr(bottom), SWIGTYPE_p_int, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "margins"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"margins"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Paged_Device::origin(int x, int y) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "origin"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"origin"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Paged_Device::origin(int *x, int *y) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(x), SWIGTYPE_p_int, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(y), SWIGTYPE_p_int, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "origin"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"origin"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Paged_Device::scale(float scale_x, float scale_y) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_float(static_cast< float >(scale_x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(scale_y)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "scale"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"scale"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Paged_Device::rotate(float angle) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_float(static_cast< float >(angle)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "rotate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"rotate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Paged_Device::translate(int x, int y) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "translate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"translate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Paged_Device::untranslate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 9; const char * const swig_method_name = "untranslate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"untranslate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Paged_Device::print_widget(Fl_Widget *widget, int delta_x, int delta_y) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(widget), SWIGTYPE_p_Fl_Widget, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(delta_x)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(delta_y)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 10; const char * const swig_method_name = "print_widget"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"print_widget"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Paged_Device::print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x, int delta_y) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(win), SWIGTYPE_p_Fl_Window, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(h)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(delta_x)); swig::SwigVar_PyObject obj6; obj6 = SWIG_From_int(static_cast< int >(delta_y)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 11; const char * const swig_method_name = "print_window_part"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"print_window_part"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Paged_Device::end_page() { int c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 12; const char * const swig_method_name = "end_page"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"end_page"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Paged_Device::end_job() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Paged_Device.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 13; const char * const swig_method_name = "end_job"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"end_job"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Printer::SwigDirector_Fl_Printer(PyObject *self): Fl_Printer(), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Printer *)this, this); } SwigDirector_Fl_Printer::~SwigDirector_Fl_Printer() { } int SwigDirector_Fl_Printer::start_job(int pagecount, int *frompage, int *topage) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(pagecount)); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(frompage), SWIGTYPE_p_int, 0 ); swig::SwigVar_PyObject obj2; obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(topage), SWIGTYPE_p_int, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "start_job"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"start_job"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Printer::start_page() { int c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "start_page"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"start_page"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } int SwigDirector_Fl_Printer::printable_rect(int *w, int *h) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(w), SWIGTYPE_p_int, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(h), SWIGTYPE_p_int, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "printable_rect"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"printable_rect"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Printer::margins(int *left, int *top, int *right, int *bottom) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(left), SWIGTYPE_p_int, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(top), SWIGTYPE_p_int, 0 ); swig::SwigVar_PyObject obj2; obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(right), SWIGTYPE_p_int, 0 ); swig::SwigVar_PyObject obj3; obj3 = SWIG_NewPointerObj(SWIG_as_voidptr(bottom), SWIGTYPE_p_int, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "margins"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"margins"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Printer::origin(int x, int y) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "origin"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"origin"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Printer::origin(int *x, int *y) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(x), SWIGTYPE_p_int, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(y), SWIGTYPE_p_int, 0 ); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "origin"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"origin"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Printer::scale(float scale_x, float scale_y) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_float(static_cast< float >(scale_x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_float(static_cast< float >(scale_y)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "scale"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"scale"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Printer::rotate(float angle) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_float(static_cast< float >(angle)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "rotate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"rotate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Printer::translate(int x, int y) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "translate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"translate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Printer::untranslate() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 9; const char * const swig_method_name = "untranslate"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"untranslate"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Printer::print_widget(Fl_Widget *widget, int delta_x, int delta_y) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(widget), SWIGTYPE_p_Fl_Widget, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(delta_x)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(delta_y)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 10; const char * const swig_method_name = "print_widget"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"print_widget"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Printer::print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x, int delta_y) { swig::SwigVar_PyObject obj0; obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(win), SWIGTYPE_p_Fl_Window, 0 ); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(h)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(delta_x)); swig::SwigVar_PyObject obj6; obj6 = SWIG_From_int(static_cast< int >(delta_y)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 11; const char * const swig_method_name = "print_window_part"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"print_window_part"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Printer::end_page() { int c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 12; const char * const swig_method_name = "end_page"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"end_page"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Printer::end_job() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Printer.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 13; const char * const swig_method_name = "end_job"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"end_job"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_ListSelect::SwigDirector_ListSelect(PyObject *self, int x, int y, int w, int h, char *topLabel, char *bottomLabel): ListSelect(x, y, w, h, topLabel, bottomLabel), Swig::Director(self) { SWIG_DIRECTOR_RGTR((ListSelect *)this, this); } SwigDirector_ListSelect::~SwigDirector_ListSelect() { } void SwigDirector_ListSelect::draw() { swig_set_inner("draw", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ListSelect.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif swig_set_inner("draw", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_ListSelect::handle(int arg0) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(arg0)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ListSelect.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_ListSelect::resize(int x, int y, int w, int h) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(x)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(w)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(h)); swig_set_inner("resize", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ListSelect.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif swig_set_inner("resize", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_ListSelect::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ListSelect.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_ListSelect::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ListSelect.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_ListSelect::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ListSelect.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_ListSelect::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ListSelect.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_ListSelect::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ListSelect.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } SwigDirector_Fl_Table::SwigDirector_Fl_Table(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Table(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Table *)this, this); } SwigDirector_Fl_Table::~SwigDirector_Fl_Table() { } void SwigDirector_Fl_Table::draw() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Table::handle(int e) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(e)); swig_set_inner("handle", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("handle", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Table::resize(int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Table::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Table::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Table::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Table::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Table::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void SwigDirector_Fl_Table::draw_cell(Fl_Table::TableContext context, int R, int C, int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(context)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(R)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(C)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj6; obj6 = SWIG_From_int(static_cast< int >(H)); swig_set_inner("draw_cell", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "draw_cell"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw_cell"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6, NULL); #endif swig_set_inner("draw_cell", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Table::clear() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 9; const char * const swig_method_name = "clear"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"clear"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Table::rows(int val) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(val)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 10; const char * const swig_method_name = "rows"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"rows"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Table::cols(int val) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(val)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 11; const char * const swig_method_name = "cols"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"cols"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } SwigDirector_Fl_Table_Row::SwigDirector_Fl_Table_Row(PyObject *self, int X, int Y, int W, int H, char const *l): Fl_Table_Row(X, Y, W, H, l), Swig::Director(self) { SWIG_DIRECTOR_RGTR((Fl_Table_Row *)this, this); } SwigDirector_Fl_Table_Row::~SwigDirector_Fl_Table_Row() { } void SwigDirector_Fl_Table_Row::draw() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table_Row.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 0; const char * const swig_method_name = "draw"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } int SwigDirector_Fl_Table_Row::handle(int event) { int c_result; swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(event)); swig_set_inner("handle", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table_Row.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 1; const char * const swig_method_name = "handle"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"handle"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif swig_set_inner("handle", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } int swig_val; int swig_res = SWIG_AsVal_int(result, &swig_val); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'"); } c_result = static_cast< int >(swig_val); return (int) c_result; } void SwigDirector_Fl_Table_Row::resize(int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(H)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table_Row.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 2; const char * const swig_method_name = "resize"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"resize"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Table_Row::show() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table_Row.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 3; const char * const swig_method_name = "show"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"show"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Table_Row::hide() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table_Row.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 4; const char * const swig_method_name = "hide"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"hide"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } Fl_Group *SwigDirector_Fl_Table_Row::as_group() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Group *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table_Row.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 5; const char * const swig_method_name = "as_group"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_group"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Group, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Group *""'"); } c_result = reinterpret_cast< Fl_Group * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Group *) c_result; } Fl_Window *SwigDirector_Fl_Table_Row::as_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table_Row.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 6; const char * const swig_method_name = "as_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Window *""'"); } c_result = reinterpret_cast< Fl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Window *) c_result; } Fl_Gl_Window *SwigDirector_Fl_Table_Row::as_gl_window() { void *swig_argp ; int swig_res ; swig_owntype own ; Fl_Gl_Window *c_result; if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table_Row.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 7; const char * const swig_method_name = "as_gl_window"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"as_gl_window"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_Fl_Gl_Window, 0 | SWIG_POINTER_DISOWN, &own); if (!SWIG_IsOK(swig_res)) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""Fl_Gl_Window *""'"); } c_result = reinterpret_cast< Fl_Gl_Window * >(swig_argp); swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own /* & TODO: SWIG_POINTER_OWN */); return (Fl_Gl_Window *) c_result; } void SwigDirector_Fl_Table_Row::draw_cell(Fl_Table::TableContext context, int R, int C, int X, int Y, int W, int H) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(context)); swig::SwigVar_PyObject obj1; obj1 = SWIG_From_int(static_cast< int >(R)); swig::SwigVar_PyObject obj2; obj2 = SWIG_From_int(static_cast< int >(C)); swig::SwigVar_PyObject obj3; obj3 = SWIG_From_int(static_cast< int >(X)); swig::SwigVar_PyObject obj4; obj4 = SWIG_From_int(static_cast< int >(Y)); swig::SwigVar_PyObject obj5; obj5 = SWIG_From_int(static_cast< int >(W)); swig::SwigVar_PyObject obj6; obj6 = SWIG_From_int(static_cast< int >(H)); swig_set_inner("draw_cell", true); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table_Row.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 8; const char * const swig_method_name = "draw_cell"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"draw_cell"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6, NULL); #endif swig_set_inner("draw_cell", false); if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Table_Row::clear() { if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table_Row.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 9; const char * const swig_method_name = "clear"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject args = PyTuple_New(0); swig::SwigVar_PyObject result = PyObject_Call(method, (PyObject*) args, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"clear"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Table_Row::rows(int val) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(val)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table_Row.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 10; const char * const swig_method_name = "rows"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"rows"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } void SwigDirector_Fl_Table_Row::cols(int val) { swig::SwigVar_PyObject obj0; obj0 = SWIG_From_int(static_cast< int >(val)); if (!swig_get_self()) { Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call Fl_Table_Row.__init__."); } #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) const size_t swig_method_index = 11; const char * const swig_method_name = "cols"; PyObject* method = swig_get_method(swig_method_index, swig_method_name); swig::SwigVar_PyObject result = PyObject_CallFunctionObjArgs(method ,(PyObject *)obj0, NULL); #else swig::SwigVar_PyObject swig_method_name = SWIG_Python_str_FromChar((char *)"cols"); swig::SwigVar_PyObject result = PyObject_CallMethodObjArgs(swig_get_self(), (PyObject *) swig_method_name ,(PyObject *)obj0, NULL); #endif if (!result) { PyObject *error = PyErr_Occurred(); { if (error != NULL) { PyErr_Print(); } } } } #ifdef __cplusplus extern "C" { #endif // Patch 1767434, interactive pyFltk #if (defined(_WIN32) || defined(__WIN32__)) && !defined(__CYGWIN__) #include #else static void _exit_wait_loop(int fd, void* data) { int* stdin_ready = (int*)data; *stdin_ready = 1; } #endif static int _run_loop_interactive(void) { PyGILState_STATE gstate; #if (defined(_WIN32) || defined(__WIN32__)) && !defined(__CYGWIN__) gstate = PyGILState_Ensure(); while (! _kbhit()) Fl::wait(0.1); PyGILState_Release(gstate); #else int result; int stdin_ready = 0; const int fd = fileno(stdin); Fl::add_fd(fd, _exit_wait_loop, &stdin_ready); gstate = PyGILState_Ensure(); while (!stdin_ready) { result = Fl::wait(); if (!result) break; } PyGILState_Release(gstate); Fl::remove_fd(fd); #endif return 0; } // End of patch 1767434, interactive pyFltk SWIGINTERN PyObject *_wrap_fl_define_FL_ROUND_UP_BOX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype result; result = (Fl_Boxtype)fl_define_FL_ROUND_UP_BOX(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_define_FL_SHADOW_BOX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype result; result = (Fl_Boxtype)fl_define_FL_SHADOW_BOX(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_define_FL_ROUNDED_BOX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype result; result = (Fl_Boxtype)fl_define_FL_ROUNDED_BOX(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_define_FL_RFLAT_BOX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype result; result = (Fl_Boxtype)fl_define_FL_RFLAT_BOX(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_define_FL_RSHADOW_BOX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype result; result = (Fl_Boxtype)fl_define_FL_RSHADOW_BOX(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_define_FL_DIAMOND_BOX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype result; result = (Fl_Boxtype)fl_define_FL_DIAMOND_BOX(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_define_FL_OVAL_BOX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype result; result = (Fl_Boxtype)fl_define_FL_OVAL_BOX(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_define_FL_PLASTIC_UP_BOX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype result; result = (Fl_Boxtype)fl_define_FL_PLASTIC_UP_BOX(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_define_FL_GTK_UP_BOX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype result; result = (Fl_Boxtype)fl_define_FL_GTK_UP_BOX(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_box(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; Fl_Boxtype result; if(!PyArg_UnpackTuple(args,(char *)"fl_box",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_box" "', argument " "1"" of type '" "Fl_Boxtype""'"); } arg1 = static_cast< Fl_Boxtype >(val1); result = (Fl_Boxtype)fl_box(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_down(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; Fl_Boxtype result; if(!PyArg_UnpackTuple(args,(char *)"fl_down",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_down" "', argument " "1"" of type '" "Fl_Boxtype""'"); } arg1 = static_cast< Fl_Boxtype >(val1); result = (Fl_Boxtype)fl_down(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_frame__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; Fl_Boxtype result; if(!PyArg_UnpackTuple(args,(char *)"fl_frame",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_frame" "', argument " "1"" of type '" "Fl_Boxtype""'"); } arg1 = static_cast< Fl_Boxtype >(val1); result = (Fl_Boxtype)fl_frame(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_define_FL_SHADOW_LABEL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Labeltype result; result = (Fl_Labeltype)fl_define_FL_SHADOW_LABEL(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_define_FL_ENGRAVED_LABEL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Labeltype result; result = (Fl_Labeltype)fl_define_FL_ENGRAVED_LABEL(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_define_FL_EMBOSSED_LABEL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Labeltype result; result = (Fl_Labeltype)fl_define_FL_EMBOSSED_LABEL(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_inactive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"fl_inactive",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_inactive" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); result = (Fl_Color)fl_inactive(arg1); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_contrast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; Fl_Color arg2 ; unsigned int val1 ; int ecode1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"fl_contrast",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_contrast" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_contrast" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); result = (Fl_Color)fl_contrast(arg1,arg2); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_color_average(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; Fl_Color arg2 ; float arg3 ; unsigned int val1 ; int ecode1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; float val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"fl_color_average",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_color_average" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_color_average" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_color_average" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); result = (Fl_Color)fl_color_average(arg1,arg2,arg3); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_lighter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"fl_lighter",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_lighter" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); result = (Fl_Color)fl_lighter(arg1); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_darker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"fl_darker",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_darker" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); result = (Fl_Color)fl_darker(arg1); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_rgb_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; uchar arg1 ; uchar arg2 ; uchar arg3 ; unsigned char val1 ; int ecode1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; unsigned char val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"fl_rgb_color",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_rgb_color" "', argument " "1"" of type '" "uchar""'"); } arg1 = static_cast< uchar >(val1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_rgb_color" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_rgb_color" "', argument " "3"" of type '" "uchar""'"); } arg3 = static_cast< uchar >(val3); result = (Fl_Color)fl_rgb_color(arg1,arg2,arg3); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_rgb_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; uchar arg1 ; unsigned char val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"fl_rgb_color",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_rgb_color" "', argument " "1"" of type '" "uchar""'"); } arg1 = static_cast< uchar >(val1); result = (Fl_Color)fl_rgb_color(arg1); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_rgb_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_fl_rgb_color__SWIG_1(self, args); } if (argc == 3) { return _wrap_fl_rgb_color__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_rgb_color'.\n" " Possible C/C++ prototypes are:\n" " fl_rgb_color(uchar,uchar,uchar)\n" " fl_rgb_color(uchar)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_gray_ramp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"fl_gray_ramp",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_gray_ramp" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); result = (Fl_Color)fl_gray_ramp(arg1); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_color_cube(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"fl_color_cube",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_color_cube" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_color_cube" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_color_cube" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (Fl_Color)fl_color_cube(arg1,arg2,arg3); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Label_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Label *arg1 = (Fl_Label *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; Fl_Align arg6 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; unsigned int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Label_draw",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Label, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Label_draw" "', argument " "1"" of type '" "Fl_Label const *""'"); } arg1 = reinterpret_cast< Fl_Label * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Label_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Label_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Label_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Label_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Label_draw" "', argument " "6"" of type '" "Fl_Align""'"); } arg6 = static_cast< Fl_Align >(val6); ((Fl_Label const *)arg1)->draw(arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Label_measure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Label *arg1 = (Fl_Label *) 0 ; int *arg2 = 0 ; int *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Label_measure",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Label, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Label_measure" "', argument " "1"" of type '" "Fl_Label const *""'"); } arg1 = reinterpret_cast< Fl_Label * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Label_measure" "', argument " "2"" of type '" "int &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Label_measure" "', argument " "2"" of type '" "int &""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Label_measure" "', argument " "3"" of type '" "int &""'"); } if (!argp3) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Label_measure" "', argument " "3"" of type '" "int &""'"); } arg3 = reinterpret_cast< int * >(argp3); ((Fl_Label const *)arg1)->measure(*arg2,*arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Label(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Label *result = 0 ; result = (Fl_Label *)new Fl_Label(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Label, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Label(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Label *arg1 = (Fl_Label *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Label",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Label, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Label" "', argument " "1"" of type '" "Fl_Label *""'"); } arg1 = reinterpret_cast< Fl_Label * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Label_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Label, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Widget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0L ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Widget *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Widget",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Widget" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Widget" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Widget" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Widget" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Widget" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Widget *)new SwigDirector_Fl_Widget(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing abstract class or protected constructor"); SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Widget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Widget",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Widget" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_draw" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { Swig::DirectorPureVirtualException::raise("Fl_Widget::draw"); } else { (arg1)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_handle" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Widget::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_parent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Group *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_parent",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_parent" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Group *)((Fl_Widget const *)arg1)->parent(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Group, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_parent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Group *arg2 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_parent",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_parent" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_parent" "', argument " "2"" of type '" "Fl_Group *""'"); } arg2 = reinterpret_cast< Fl_Group * >(argp2); (arg1)->parent(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_parent(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_parent__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_parent__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_parent'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::parent() const\n" " Fl_Widget::parent(Fl_Group *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_type__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; uchar result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_type",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_type" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (uchar)((Fl_Widget const *)arg1)->type(); resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_type__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; uchar arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_type",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_type" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_type" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); (arg1)->type(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_type(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_type__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_type__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_type'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::type() const\n" " Fl_Widget::type(uchar)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_x",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_x" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (int)((Fl_Widget const *)arg1)->x(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_y(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_y",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_y" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (int)((Fl_Widget const *)arg1)->y(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_w(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_w",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_w" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (int)((Fl_Widget const *)arg1)->w(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_h(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_h",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_h" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (int)((Fl_Widget const *)arg1)->h(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_resize" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Widget_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Widget_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Widget_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Widget::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_damage_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_damage_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_damage_resize" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_damage_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Widget_damage_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Widget_damage_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Widget_damage_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); result = (int)(arg1)->damage_resize(arg2,arg3,arg4,arg5); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_position",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_position" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_position" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Widget_position" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->position(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_size",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_size" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_size" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Widget_size" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->size(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_align__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Align result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_align",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_align" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Align)((Fl_Widget const *)arg1)->align(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_align__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Align arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_align",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_align" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_align" "', argument " "2"" of type '" "Fl_Align""'"); } arg2 = static_cast< Fl_Align >(val2); (arg1)->align(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_align(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_align__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_align__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_align'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::align() const\n" " Fl_Widget::align(Fl_Align)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_box__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Boxtype result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_box",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_box" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Boxtype)((Fl_Widget const *)arg1)->box(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_box__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Boxtype arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_box",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_box" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_box" "', argument " "2"" of type '" "Fl_Boxtype""'"); } arg2 = static_cast< Fl_Boxtype >(val2); (arg1)->box(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_box(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_box__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_box__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_box'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::box() const\n" " Fl_Widget::box(Fl_Boxtype)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_color",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_color" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Color)((Fl_Widget const *)arg1)->color(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_color",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_color" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_color" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->color(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_selection_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_selection_color",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_selection_color" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Color)((Fl_Widget const *)arg1)->selection_color(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_selection_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_selection_color",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_selection_color" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_selection_color" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->selection_color(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_selection_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_selection_color__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_selection_color__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_selection_color'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::selection_color() const\n" " Fl_Widget::selection_color(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_color__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Color arg2 ; Fl_Color arg3 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_color",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_color" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_color" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Widget_color" "', argument " "3"" of type '" "Fl_Color""'"); } arg3 = static_cast< Fl_Color >(val3); (arg1)->color(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_color__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_color__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Widget_color__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_color'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::color() const\n" " Fl_Widget::color(Fl_Color)\n" " Fl_Widget::color(Fl_Color,Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_label__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_label",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_label" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (char *)((Fl_Widget const *)arg1)->label(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_label__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_label" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_label" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->label((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_copy_label(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_copy_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_copy_label" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_copy_label" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->copy_label((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_label__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Labeltype arg2 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_label",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_label" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_label" "', argument " "2"" of type '" "Fl_Labeltype""'"); } arg2 = static_cast< Fl_Labeltype >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Widget_label" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); (arg1)->label(arg2,(char const *)arg3); resultobj = SWIG_Py_Void(); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_label(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_label__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_label__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Widget_label__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_label'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::label() const\n" " Fl_Widget::label(char const *)\n" " Fl_Widget::label(Fl_Labeltype,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_labeltype__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Labeltype result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_labeltype",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_labeltype" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Labeltype)((Fl_Widget const *)arg1)->labeltype(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_labeltype__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Labeltype arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_labeltype",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_labeltype" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_labeltype" "', argument " "2"" of type '" "Fl_Labeltype""'"); } arg2 = static_cast< Fl_Labeltype >(val2); (arg1)->labeltype(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_labeltype(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_labeltype__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_labeltype__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_labeltype'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::labeltype() const\n" " Fl_Widget::labeltype(Fl_Labeltype)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_labelcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_labelcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_labelcolor" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Color)((Fl_Widget const *)arg1)->labelcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_labelcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_labelcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_labelcolor" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_labelcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->labelcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_labelcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_labelcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_labelcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_labelcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::labelcolor() const\n" " Fl_Widget::labelcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_labelfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_labelfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_labelfont" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Font)((Fl_Widget const *)arg1)->labelfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_labelfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_labelfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_labelfont" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_labelfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->labelfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_labelfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_labelfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_labelfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_labelfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::labelfont() const\n" " Fl_Widget::labelfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_labelsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_labelsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_labelsize" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Fontsize)((Fl_Widget const *)arg1)->labelsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_labelsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_labelsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_labelsize" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_labelsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->labelsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_labelsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_labelsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_labelsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_labelsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::labelsize() const\n" " Fl_Widget::labelsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_image__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_image" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Image *)(arg1)->image(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_image__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_image" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Image *)((Fl_Widget const *)arg1)->image(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_image__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Image *arg2 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_image",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_image" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_image" "', argument " "2"" of type '" "Fl_Image *""'"); } arg2 = reinterpret_cast< Fl_Image * >(argp2); (arg1)->image(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_image(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_image__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_Widget_image__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Widget_image__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_image'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::image()\n" " Fl_Widget::image() const\n" " Fl_Widget::image(Fl_Image *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_deimage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_deimage",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_deimage" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Image *)(arg1)->deimage(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_deimage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_deimage",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_deimage" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Image *)((Fl_Widget const *)arg1)->deimage(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_deimage__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Image *arg2 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_deimage",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_deimage" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_deimage" "', argument " "2"" of type '" "Fl_Image *""'"); } arg2 = reinterpret_cast< Fl_Image * >(argp2); (arg1)->deimage(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_deimage(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_deimage__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_Widget_deimage__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Widget_deimage__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_deimage'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::deimage()\n" " Fl_Widget::deimage() const\n" " Fl_Widget::deimage(Fl_Image *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_tooltip__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_tooltip",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_tooltip" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (char *)((Fl_Widget const *)arg1)->tooltip(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_tooltip__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_tooltip",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_tooltip" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_tooltip" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->tooltip((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_tooltip(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_tooltip__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_tooltip__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_tooltip'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::tooltip() const\n" " Fl_Widget::tooltip(char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_copy_tooltip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_copy_tooltip",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_copy_tooltip" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_copy_tooltip" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->copy_tooltip((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_callback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Callback_p result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_callback",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_callback" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Callback_p)((Fl_Widget const *)arg1)->callback(); resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_Fl_Widget_p_void__void); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_callback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Callback *arg2 = (Fl_Callback *) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_callback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_callback" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_Fl_Widget_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Widget_callback" "', argument " "2"" of type '" "Fl_Callback *""'"); } } res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Widget_callback" "', argument " "3"" of type '" "void *""'"); } (arg1)->callback(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_callback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Callback *arg2 = (Fl_Callback *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_callback",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_callback" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_Fl_Widget_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Widget_callback" "', argument " "2"" of type '" "Fl_Callback *""'"); } } (arg1)->callback(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_callback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Callback0 *arg2 = (Fl_Callback0 *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_callback",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_callback" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_Fl_Widget__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Widget_callback" "', argument " "2"" of type '" "Fl_Callback0 *""'"); } } (arg1)->callback(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_callback__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Callback1 *arg2 = (Fl_Callback1 *) 0 ; long arg3 = (long) 0 ; void *argp1 = 0 ; int res1 = 0 ; long val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_callback",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_callback" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_Fl_Widget_long__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Widget_callback" "', argument " "2"" of type '" "Fl_Callback1 *""'"); } } if (obj2) { ecode3 = SWIG_AsVal_long(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Widget_callback" "', argument " "3"" of type '" "long""'"); } arg3 = static_cast< long >(val3); } (arg1)->callback(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_user_data__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_user_data",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_user_data" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (void *)((Fl_Widget const *)arg1)->user_data(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_user_data__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_user_data",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_user_data" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_user_data" "', argument " "2"" of type '" "void *""'"); } (arg1)->user_data(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_argument__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; long result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_argument",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_argument" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (long)((Fl_Widget const *)arg1)->argument(); resultobj = SWIG_From_long(static_cast< long >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_argument__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; long arg2 ; void *argp1 = 0 ; int res1 = 0 ; long val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_argument",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_argument" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_long(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_argument" "', argument " "2"" of type '" "long""'"); } arg2 = static_cast< long >(val2); (arg1)->argument(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_argument(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_argument__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_argument__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_argument'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::argument() const\n" " Fl_Widget::argument(long)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_when__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_When result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_when",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_when" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_When)((Fl_Widget const *)arg1)->when(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_when__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; uchar arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_when",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_when" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_when" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); (arg1)->when(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_when(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_when__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_when__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_when'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::when() const\n" " Fl_Widget::when(uchar)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_visible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_visible",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_visible" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (unsigned int)((Fl_Widget const *)arg1)->visible(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_visible_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_visible_r",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_visible_r" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (int)((Fl_Widget const *)arg1)->visible_r(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_show",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_show" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Widget::show(); } else { (arg1)->show(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_hide",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_hide" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Widget::hide(); } else { (arg1)->hide(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_set_visible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_set_visible",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_set_visible" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); (arg1)->set_visible(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_clear_visible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_clear_visible",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_clear_visible" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); (arg1)->clear_visible(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_active(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_active",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_active" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (unsigned int)((Fl_Widget const *)arg1)->active(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_active_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_active_r",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_active_r" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (int)((Fl_Widget const *)arg1)->active_r(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_activate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_activate" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); (arg1)->activate(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_deactivate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_deactivate" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); (arg1)->deactivate(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_output",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_output" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (unsigned int)((Fl_Widget const *)arg1)->output(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_set_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_set_output",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_set_output" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); (arg1)->set_output(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_clear_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_clear_output",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_clear_output" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); (arg1)->clear_output(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_takesevents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_takesevents",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_takesevents" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (unsigned int)((Fl_Widget const *)arg1)->takesevents(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_changed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_changed",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_changed" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (unsigned int)((Fl_Widget const *)arg1)->changed(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_set_changed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_set_changed",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_set_changed" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); (arg1)->set_changed(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_clear_changed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_clear_changed",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_clear_changed" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); (arg1)->clear_changed(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_take_focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_take_focus",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_take_focus" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (int)(arg1)->take_focus(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_set_visible_focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_set_visible_focus",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_set_visible_focus" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); (arg1)->set_visible_focus(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_clear_visible_focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_clear_visible_focus",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_clear_visible_focus" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); (arg1)->clear_visible_focus(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_visible_focus__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_visible_focus",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_visible_focus" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_visible_focus" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->visible_focus(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_visible_focus__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_visible_focus",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_visible_focus" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (unsigned int)(arg1)->visible_focus(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_visible_focus(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_visible_focus__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Widget_visible_focus__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_visible_focus'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::visible_focus(int)\n" " Fl_Widget::visible_focus()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_default_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_default_callback",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_default_callback" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_default_callback" "', argument " "2"" of type '" "void *""'"); } Fl_Widget::default_callback(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_do_callback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_do_callback",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_do_callback" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); (arg1)->do_callback(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_do_callback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; long arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_do_callback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_do_callback" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_do_callback" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); ecode3 = SWIG_AsVal_long(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Widget_do_callback" "', argument " "3"" of type '" "long""'"); } arg3 = static_cast< long >(val3); (arg1)->do_callback(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_do_callback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_do_callback",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_do_callback" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_do_callback" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); if (obj2) { res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Widget_do_callback" "', argument " "3"" of type '" "void *""'"); } } (arg1)->do_callback(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_do_callback(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_do_callback__SWIG_0(self, args); } if ((argc >= 2) && (argc <= 3)) { int _v = 0; if (argc > 2) { { void *ptr = 0; int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_2; } return _wrap_Fl_Widget_do_callback__SWIG_2(self, args); } check_2: if (argc == 3) { return _wrap_Fl_Widget_do_callback__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_do_callback'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::do_callback()\n" " Fl_Widget::do_callback(Fl_Widget *,long)\n" " Fl_Widget::do_callback(Fl_Widget *,void *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_test_shortcut__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_test_shortcut",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_test_shortcut" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (int)(arg1)->test_shortcut(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_label_shortcut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_label_shortcut",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_label_shortcut" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (unsigned int)Fl_Widget::label_shortcut((char const *)arg1); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_test_shortcut__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; bool arg2 = (bool) (bool)false ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_test_shortcut",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_test_shortcut" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_test_shortcut" "', argument " "2"" of type '" "bool""'"); } arg2 = static_cast< bool >(val2); } result = (int)Fl_Widget::test_shortcut((char const *)arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_test_shortcut(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Fl_Widget, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Widget_test_shortcut__SWIG_0(self, args); } check_1: if ((argc >= 1) && (argc <= 2)) { return _wrap_Fl_Widget_test_shortcut__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_test_shortcut'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::test_shortcut()\n" " Fl_Widget::test_shortcut(char const *,bool const)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_contains",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_contains" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_contains" "', argument " "2"" of type '" "Fl_Widget const *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); result = (int)((Fl_Widget const *)arg1)->contains((Fl_Widget const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_inside(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_inside",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_inside" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_inside" "', argument " "2"" of type '" "Fl_Widget const *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); result = (int)((Fl_Widget const *)arg1)->inside((Fl_Widget const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_redraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_redraw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_redraw" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); (arg1)->redraw(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_redraw_label(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_redraw_label",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_redraw_label" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); (arg1)->redraw_label(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_damage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; uchar result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_damage",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_damage" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (uchar)((Fl_Widget const *)arg1)->damage(); resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_clear_damage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; uchar arg2 = (uchar) 0 ; void *argp1 = 0 ; int res1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_clear_damage",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_clear_damage" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); if (obj1) { ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_clear_damage" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); } (arg1)->clear_damage(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_damage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; uchar arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_damage",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_damage" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_damage" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); (arg1)->damage(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_damage__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; uchar arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; void *argp1 = 0 ; int res1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_damage",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_damage" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_damage" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Widget_damage" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Widget_damage" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Widget_damage" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Widget_damage" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); (arg1)->damage(arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_damage(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_damage__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_damage__SWIG_1(self, args); } if (argc == 6) { return _wrap_Fl_Widget_damage__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_damage'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::damage() const\n" " Fl_Widget::damage(uchar)\n" " Fl_Widget::damage(uchar,int,int,int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_draw_label__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; Fl_Align arg6 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; unsigned int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_draw_label",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_draw_label" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_draw_label" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Widget_draw_label" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Widget_draw_label" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Widget_draw_label" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Widget_draw_label" "', argument " "6"" of type '" "Fl_Align""'"); } arg6 = static_cast< Fl_Align >(val6); ((Fl_Widget const *)arg1)->draw_label(arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_measure_label(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; int *arg2 = 0 ; int *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_measure_label",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_measure_label" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Widget_measure_label" "', argument " "2"" of type '" "int &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Widget_measure_label" "', argument " "2"" of type '" "int &""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Widget_measure_label" "', argument " "3"" of type '" "int &""'"); } if (!argp3) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Widget_measure_label" "', argument " "3"" of type '" "int &""'"); } arg3 = reinterpret_cast< int * >(argp3); ((Fl_Widget const *)arg1)->measure_label(*arg2,*arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_window" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Window *)((Fl_Widget const *)arg1)->window(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Window, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_as_group(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; Fl_Group *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_as_group",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_as_group" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (Fl_Group *)(arg1)->Fl_Widget::as_group(); } else { result = (Fl_Group *)(arg1)->as_group(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Group, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_as_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; Fl_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_as_window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_as_window" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (Fl_Window *)(arg1)->Fl_Widget::as_window(); } else { result = (Fl_Window *)(arg1)->as_window(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Window, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_as_gl_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; Fl_Gl_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_as_gl_window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_as_gl_window" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (Fl_Gl_Window *)(arg1)->Fl_Widget::as_gl_window(); } else { result = (Fl_Gl_Window *)(arg1)->as_gl_window(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_color2__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_color2",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_color2" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Color)((Fl_Widget const *)arg1)->color2(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_color2__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_color2",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_color2" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Widget_color2" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); (arg1)->color2(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_color2(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_color2__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Widget_color2__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_color2'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::color2() const\n" " Fl_Widget::color2(unsigned int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_draw_label__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_draw_label",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_draw_label" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); Fl_Widget_draw_label__SWIG_3(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_draw_label(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_draw_label__SWIG_3(self, args); } if (argc == 6) { return _wrap_Fl_Widget_draw_label__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_draw_label'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::draw_label(int,int,int,int,Fl_Align) const\n" " Fl_Widget::draw_label()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_callback__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; PyObject *arg4 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_callback",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_callback" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); arg2 = obj1; arg3 = obj2; if (obj3) { arg4 = obj3; } Fl_Widget_callback__SWIG_5(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_callback(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_callback__SWIG_0(self, args); } if (argc == 2) { int _v = 0; { void *ptr = 0; int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_Fl_Widget_p_void__void); _v = SWIG_CheckState(res); } if (!_v) goto check_2; return _wrap_Fl_Widget_callback__SWIG_2(self, args); } check_2: if (argc == 2) { int _v = 0; { void *ptr = 0; int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_Fl_Widget__void); _v = SWIG_CheckState(res); } if (!_v) goto check_3; return _wrap_Fl_Widget_callback__SWIG_3(self, args); } check_3: if ((argc >= 2) && (argc <= 3)) { int _v = 0; { void *ptr = 0; int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_Fl_Widget_long__void); _v = SWIG_CheckState(res); } if (!_v) goto check_4; if (argc > 2) { { { int res = SWIG_AsVal_long(argv[2], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_4; } return _wrap_Fl_Widget_callback__SWIG_4(self, args); } check_4: if (argc == 3) { int _v = 0; { void *ptr = 0; int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_Fl_Widget_p_void__void); _v = SWIG_CheckState(res); } if (!_v) goto check_5; { void *ptr = 0; int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_5; return _wrap_Fl_Widget_callback__SWIG_1(self, args); } check_5: if ((argc >= 3) && (argc <= 4)) { return _wrap_Fl_Widget_callback__SWIG_5(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_callback'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::callback() const\n" " Fl_Widget::callback(Fl_Callback *,void *)\n" " Fl_Widget::callback(Fl_Callback *)\n" " Fl_Widget::callback(Fl_Callback0 *)\n" " Fl_Widget::callback(Fl_Callback1 *,long)\n" " Fl_Widget::callback(PyObject *,PyObject *,PyObject *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Widget_user_data__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_user_data",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_user_data" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); arg2 = obj1; Fl_Widget_user_data__SWIG_2(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_user_data__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_user_data",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_user_data" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (PyObject *)Fl_Widget_user_data__SWIG_3(arg1); resultobj = result; return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_user_data(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Widget_user_data__SWIG_3(self, args); } if (argc == 1) { return _wrap_Fl_Widget_user_data__SWIG_0(self, args); } if (argc == 2) { int _v = 0; { void *ptr = 0; int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_3; return _wrap_Fl_Widget_user_data__SWIG_1(self, args); } check_3: if (argc == 2) { return _wrap_Fl_Widget_user_data__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Widget_user_data'.\n" " Possible C/C++ prototypes are:\n" " Fl_Widget::user_data() const\n" " Fl_Widget::user_data(void *)\n" " Fl_Widget::user_data(PyObject *)\n" " Fl_Widget::user_data()\n"); return 0; } SWIGINTERN PyObject *_wrap_disown_Fl_Widget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Widget",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Widget" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Widget_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Widget, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Group_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Group *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_draw" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_handle" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Group_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Group::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_begin",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_begin" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); (arg1)->begin(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_end",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_end" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); (arg1)->end(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_current__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Swig::Director *director = 0; Fl_Group *result = 0 ; result = (Fl_Group *)Fl_Group::current(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Group, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_current__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_current",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_current" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); Fl_Group::current(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_current(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_Group_current__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_Group_current__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Group_current'.\n" " Possible C/C++ prototypes are:\n" " Fl_Group::current()\n" " Fl_Group::current(Fl_Group *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Group_children(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_children",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_children" "', argument " "1"" of type '" "Fl_Group const *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); result = (int)((Fl_Group const *)arg1)->children(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_child(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; Fl_Widget *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_child",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_child" "', argument " "1"" of type '" "Fl_Group const *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Group_child" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (Fl_Widget *)((Fl_Group const *)arg1)->child(arg2); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; Fl_Widget *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_find",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_find" "', argument " "1"" of type '" "Fl_Group const *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Widget, 0 | 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Group_find" "', argument " "2"" of type '" "Fl_Widget const &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Group_find" "', argument " "2"" of type '" "Fl_Widget const &""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); result = (int)((Fl_Group const *)arg1)->find((Fl_Widget const &)*arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_resize" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Group_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Group_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Group_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Group_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Group::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Group(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Group *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Group",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Group" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Group" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Group" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Group" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Group" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Group *)new SwigDirector_Fl_Group(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Group *)new Fl_Group(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Group, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Group(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Group",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Group" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_add",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_add" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Group_add" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); (arg1)->add(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; Fl_Widget *arg2 = 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_insert" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Widget, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Group_insert" "', argument " "2"" of type '" "Fl_Widget &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Group_insert" "', argument " "2"" of type '" "Fl_Widget &""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Group_insert" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->insert(*arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_insert_before(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; Fl_Widget *arg2 = 0 ; Fl_Widget *arg3 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_insert_before",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_insert_before" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Widget, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Group_insert_before" "', argument " "2"" of type '" "Fl_Widget &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Group_insert_before" "', argument " "2"" of type '" "Fl_Widget &""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Group_insert_before" "', argument " "3"" of type '" "Fl_Widget *""'"); } arg3 = reinterpret_cast< Fl_Widget * >(argp3); (arg1)->insert(*arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_remove",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_remove" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Group_remove" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->remove(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_remove",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_remove" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Group_remove" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); (arg1)->remove(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_remove(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Widget, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Group_remove__SWIG_1(self, args); } check_1: if (argc == 2) { return _wrap_Fl_Group_remove__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Group_remove'.\n" " Possible C/C++ prototypes are:\n" " Fl_Group::remove(int)\n" " Fl_Group::remove(Fl_Widget *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Group_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_clear" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_resizable__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_resizable",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_resizable" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Group_resizable" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); (arg1)->resizable(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_resizable__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Widget *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_resizable",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_resizable" "', argument " "1"" of type '" "Fl_Group const *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); result = (Fl_Widget *)((Fl_Group const *)arg1)->resizable(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_resizable(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Group_resizable__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Group_resizable__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Group_resizable'.\n" " Possible C/C++ prototypes are:\n" " Fl_Group::resizable(Fl_Widget *)\n" " Fl_Group::resizable() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Group_add_resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; Fl_Widget *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_add_resizable",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_add_resizable" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Widget, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Group_add_resizable" "', argument " "2"" of type '" "Fl_Widget &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Group_add_resizable" "', argument " "2"" of type '" "Fl_Widget &""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); (arg1)->add_resizable(*arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_init_sizes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_init_sizes",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_init_sizes" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); (arg1)->init_sizes(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_clip_children__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_clip_children",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_clip_children" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Group_clip_children" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->clip_children(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_clip_children__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_clip_children",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_clip_children" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); result = (unsigned int)(arg1)->clip_children(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_clip_children(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Group_clip_children__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Group_clip_children__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Group_clip_children'.\n" " Possible C/C++ prototypes are:\n" " Fl_Group::clip_children(int)\n" " Fl_Group::clip_children()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Group_as_group(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; Fl_Group *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_as_group",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_as_group" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (Fl_Group *)(arg1)->Fl_Group::as_group(); } else { result = (Fl_Group *)(arg1)->as_group(); } } catch (Swig::DirectorException&) { SWIG_fail; } director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Group, 0 | 0 ); } if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_focus",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_focus" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Group_focus" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); (arg1)->focus(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group__ddfdesign_kludge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Widget **result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group__ddfdesign_kludge",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group__ddfdesign_kludge" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); result = (Fl_Widget **) &(arg1)->_ddfdesign_kludge(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_Fl_Widget, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Group_forms_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Group_forms_end",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Group_forms_end" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); (arg1)->forms_end(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Group(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Group *arg1 = (Fl_Group *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Group",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Group, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Group" "', argument " "1"" of type '" "Fl_Group *""'"); } arg1 = reinterpret_cast< Fl_Group * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Group_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Group, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_End(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_End *result = 0 ; result = (Fl_End *)new Fl_End(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_End, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_End(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_End *arg1 = (Fl_End *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_End",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_End, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_End" "', argument " "1"" of type '" "Fl_End *""'"); } arg1 = reinterpret_cast< Fl_End * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_End_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_End, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Browser__item_first(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__item_first",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__item_first" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_first"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_first"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { Swig::DirectorPureVirtualException::raise("Fl_Browser_::item_first"); } else { result = (void *)((SwigDirector_Fl_Browser_ const *)darg)->item_first(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__item_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__item_next",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__item_next" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser__item_next" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_next"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_next"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { Swig::DirectorPureVirtualException::raise("Fl_Browser_::item_next"); } else { result = (void *)((SwigDirector_Fl_Browser_ const *)darg)->item_next(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__item_prev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__item_prev",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__item_prev" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser__item_prev" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_prev"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_prev"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { Swig::DirectorPureVirtualException::raise("Fl_Browser_::item_prev"); } else { result = (void *)((SwigDirector_Fl_Browser_ const *)darg)->item_prev(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__item_last(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__item_last",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__item_last" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_last"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_last"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Browser_ const *)darg)->item_lastSwigPublic(); } else { result = (void *)((SwigDirector_Fl_Browser_ const *)darg)->item_last(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__item_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__item_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__item_height" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser__item_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { Swig::DirectorPureVirtualException::raise("Fl_Browser_::item_height"); } else { result = (int)((SwigDirector_Fl_Browser_ const *)darg)->item_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__item_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__item_width",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__item_width" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser__item_width" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { Swig::DirectorPureVirtualException::raise("Fl_Browser_::item_width"); } else { result = (int)((SwigDirector_Fl_Browser_ const *)darg)->item_width(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__item_quick_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__item_quick_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__item_quick_height" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser__item_quick_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_quick_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_quick_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Browser_ const *)darg)->item_quick_heightSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Browser_ const *)darg)->item_quick_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__item_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *arg2 = (void *) 0 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__item_draw",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__item_draw" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser__item_draw" "', argument " "2"" of type '" "void *""'"); } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Browser__item_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Browser__item_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Browser__item_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Browser__item_draw" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { Swig::DirectorPureVirtualException::raise("Fl_Browser_::item_draw"); } else { ((SwigDirector_Fl_Browser_ const *)darg)->item_draw(arg2,arg3,arg4,arg5,arg6); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__item_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__item_text",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__item_text" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser__item_text" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_text"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_text"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (char *)((SwigDirector_Fl_Browser_ const *)darg)->item_textSwigPublic(arg2); } else { result = (char *)((SwigDirector_Fl_Browser_ const *)darg)->item_text(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_FromCharPtr((const char *)result); if (director) { director->swig_release_ownership(SWIG_as_voidptr(result)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__item_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *arg2 = (void *) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__item_swap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__item_swap" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser__item_swap" "', argument " "2"" of type '" "void *""'"); } res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Browser__item_swap" "', argument " "3"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_swap"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_swap"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_swapSwigPublic(arg2,arg3); } else { (darg)->item_swap(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__item_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__item_at",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__item_at" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser__item_at" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_at"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_at"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Browser_ const *)darg)->item_atSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Browser_ const *)darg)->item_at(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__full_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__full_width",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__full_width" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Browser_ const *)darg)->full_widthSwigPublic(); } else { result = (int)((SwigDirector_Fl_Browser_ const *)darg)->full_width(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__full_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__full_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__full_height" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Browser_ const *)darg)->full_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_Browser_ const *)darg)->full_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__incr_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__incr_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__incr_height" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("incr_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member incr_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Browser_ const *)darg)->incr_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_Browser_ const *)darg)->incr_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__item_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *arg2 = (void *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__item_select",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__item_select" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser__item_select" "', argument " "2"" of type '" "void *""'"); } if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Browser__item_select" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_select"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_select"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_selectSwigPublic(arg2,arg3); } else { (darg)->item_select(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__item_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__item_selected",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__item_selected" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser__item_selected" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_selected"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_selected"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Browser_ const *)darg)->item_selectedSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Browser_ const *)darg)->item_selected(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser_ *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__draw" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Browser_(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Browser_ *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Browser_",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Browser_" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Browser_" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Browser_" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Browser_" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Browser_" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Browser_ *)new SwigDirector_Fl_Browser_(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing abstract class or protected constructor"); SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Browser_, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__handle" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser__handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Browser_::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__resize" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser__resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Browser__resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Browser__resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Browser__resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Browser_::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *arg2 = (void *) 0 ; int arg3 = (int) 1 ; int arg4 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__select",2,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__select" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser__select" "', argument " "2"" of type '" "void *""'"); } if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Browser__select" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } if (obj3) { ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Browser__select" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); } result = (int)(arg1)->select(arg2,arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__select_only(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *arg2 = (void *) 0 ; int arg3 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__select_only",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__select_only" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser__select_only" "', argument " "2"" of type '" "void *""'"); } if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Browser__select_only" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->select_only(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; int arg2 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__deselect",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__deselect" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser__deselect" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } result = (int)(arg1)->deselect(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__position__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__position",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__position" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); result = (int)((Fl_Browser_ const *)arg1)->position(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__position__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__position",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__position" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser__position" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->position(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__position(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser__position__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Browser__position__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser__position'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser_::position() const\n" " Fl_Browser_::position(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser__hposition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__hposition",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__hposition" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); result = (int)((Fl_Browser_ const *)arg1)->hposition(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__hposition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__hposition",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__hposition" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser__hposition" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->hposition(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__hposition(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser__hposition__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Browser__hposition__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser__hposition'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser_::hposition() const\n" " Fl_Browser_::hposition(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser__display(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__display",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__display" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser__display" "', argument " "2"" of type '" "void *""'"); } (arg1)->display(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__has_scrollbar__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; uchar result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__has_scrollbar",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__has_scrollbar" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); result = (uchar)((Fl_Browser_ const *)arg1)->has_scrollbar(); resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__has_scrollbar__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; uchar arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__has_scrollbar",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__has_scrollbar" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser__has_scrollbar" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); (arg1)->has_scrollbar(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__has_scrollbar(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser__has_scrollbar__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Browser__has_scrollbar__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser__has_scrollbar'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser_::has_scrollbar() const\n" " Fl_Browser_::has_scrollbar(uchar)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser__textfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__textfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__textfont" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); result = (Fl_Font)((Fl_Browser_ const *)arg1)->textfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__textfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__textfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__textfont" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser__textfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->textfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__textfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser__textfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Browser__textfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser__textfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser_::textfont() const\n" " Fl_Browser_::textfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser__textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__textsize" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); result = (Fl_Fontsize)((Fl_Browser_ const *)arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__textsize" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser__textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser__textsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Browser__textsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser__textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser_::textsize() const\n" " Fl_Browser_::textsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser__textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__textcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__textcolor" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); result = (Fl_Color)((Fl_Browser_ const *)arg1)->textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__textcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__textcolor" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser__textcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->textcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser__textcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Browser__textcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser__textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser_::textcolor() const\n" " Fl_Browser_::textcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser__scrollbar_size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__scrollbar_size",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__scrollbar_size" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); result = (int)((Fl_Browser_ const *)arg1)->scrollbar_size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__scrollbar_size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__scrollbar_size",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__scrollbar_size" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser__scrollbar_size" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->scrollbar_size(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__scrollbar_size(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser__scrollbar_size__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Browser__scrollbar_size__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser__scrollbar_size'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser_::scrollbar_size() const\n" " Fl_Browser_::scrollbar_size(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser__scrollbar_width__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__scrollbar_width",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__scrollbar_width" "', argument " "1"" of type '" "Fl_Browser_ const *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); result = (int)((Fl_Browser_ const *)arg1)->scrollbar_width(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__scrollbar_width__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__scrollbar_width",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__scrollbar_width" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser__scrollbar_width" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->scrollbar_width(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__scrollbar_width(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser__scrollbar_width__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Browser__scrollbar_width__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser__scrollbar_width'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser_::scrollbar_width() const\n" " Fl_Browser_::scrollbar_width(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser__scrollbar_right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__scrollbar_right",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__scrollbar_right" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); (arg1)->scrollbar_right(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__scrollbar_left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__scrollbar_left",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__scrollbar_left" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); (arg1)->scrollbar_left(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__sort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; int arg2 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__sort",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__sort" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser__sort" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } (arg1)->sort(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__getScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Scrollbar *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__getScrollbar",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__getScrollbar" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); result = (Fl_Scrollbar *)Fl_Browser__getScrollbar(arg1); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Scrollbar, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser__getHScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Scrollbar *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser__getHScrollbar",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser__getHScrollbar" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); result = (Fl_Scrollbar *)Fl_Browser__getHScrollbar(arg1); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Scrollbar, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Browser_(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Browser_",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Browser_" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Browser_(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser_ *arg1 = (Fl_Browser_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Browser_",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Browser_" "', argument " "1"" of type '" "Fl_Browser_ *""'"); } arg1 = reinterpret_cast< Fl_Browser_ * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Browser__swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Browser_, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Browser_item_first(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_item_first",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_item_first" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_first"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_first"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Browser const *)darg)->item_firstSwigPublic(); } else { result = (void *)((SwigDirector_Fl_Browser const *)darg)->item_first(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_item_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_item_next",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_item_next" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser_item_next" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_next"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_next"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Browser const *)darg)->item_nextSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Browser const *)darg)->item_next(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_item_prev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_item_prev",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_item_prev" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser_item_prev" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_prev"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_prev"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Browser const *)darg)->item_prevSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Browser const *)darg)->item_prev(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_item_last(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_item_last",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_item_last" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_last"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_last"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Browser const *)darg)->item_lastSwigPublic(); } else { result = (void *)((SwigDirector_Fl_Browser const *)darg)->item_last(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_item_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_item_selected",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_item_selected" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser_item_selected" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_selected"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_selected"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Browser const *)darg)->item_selectedSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Browser const *)darg)->item_selected(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_item_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *arg2 = (void *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_item_select",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_item_select" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser_item_select" "', argument " "2"" of type '" "void *""'"); } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Browser_item_select" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_select"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_select"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_selectSwigPublic(arg2,arg3); } else { (darg)->item_select(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_item_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_item_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_item_height" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser_item_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Browser const *)darg)->item_heightSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Browser const *)darg)->item_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_item_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_item_width",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_item_width" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser_item_width" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Browser const *)darg)->item_widthSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Browser const *)darg)->item_width(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_item_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *arg2 = (void *) 0 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_item_draw",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_item_draw" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser_item_draw" "', argument " "2"" of type '" "void *""'"); } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Browser_item_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Browser_item_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Browser_item_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Browser_item_draw" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { ((SwigDirector_Fl_Browser const *)darg)->item_drawSwigPublic(arg2,arg3,arg4,arg5,arg6); } else { ((SwigDirector_Fl_Browser const *)darg)->item_draw(arg2,arg3,arg4,arg5,arg6); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_full_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_full_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_full_height" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Browser const *)darg)->full_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_Browser const *)darg)->full_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_incr_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_incr_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_incr_height" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("incr_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member incr_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Browser const *)darg)->incr_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_Browser const *)darg)->incr_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_item_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_item_text",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_item_text" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser_item_text" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_text"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_text"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (char *)((SwigDirector_Fl_Browser const *)darg)->item_textSwigPublic(arg2); } else { result = (char *)((SwigDirector_Fl_Browser const *)darg)->item_text(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_FromCharPtr((const char *)result); if (director) { director->swig_release_ownership(SWIG_as_voidptr(result)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_item_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *arg2 = (void *) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_item_swap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_item_swap" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser_item_swap" "', argument " "2"" of type '" "void *""'"); } res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Browser_item_swap" "', argument " "3"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_swap"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_swap"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_swapSwigPublic(arg2,arg3); } else { (darg)->item_swap(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_item_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_item_at",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_item_at" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_item_at" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_at"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_at"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Browser const *)darg)->item_atSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Browser const *)darg)->item_at(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_remove",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_remove" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_remove" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->remove(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_move(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_move",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_move" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_move" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Browser_move" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->move(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_load",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_load" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser_load" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->load((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_swap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_swap" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_swap" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Browser_swap" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->swap(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_clear" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_size",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_size" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); result = (int)((Fl_Browser const *)arg1)->size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_size",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_size" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_size" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Browser_size" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->size(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_size(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser_size__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_Browser_size__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser_size'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser::size() const\n" " Fl_Browser::size(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser_topline__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_topline",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_topline" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); result = (int)((Fl_Browser const *)arg1)->topline(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_lineposition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; Fl_Browser::Fl_Line_Position arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_lineposition",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_lineposition" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_lineposition" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Browser_lineposition" "', argument " "3"" of type '" "Fl_Browser::Fl_Line_Position""'"); } arg3 = static_cast< Fl_Browser::Fl_Line_Position >(val3); (arg1)->lineposition(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_topline__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_topline",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_topline" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_topline" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->topline(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_topline(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser_topline__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Browser_topline__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser_topline'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser::topline() const\n" " Fl_Browser::topline(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser_bottomline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_bottomline",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_bottomline" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_bottomline" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->bottomline(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_middleline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_middleline",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_middleline" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_middleline" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->middleline(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_select",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_select" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_select" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Browser_select" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->select(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_selected",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_selected" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_selected" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Browser const *)arg1)->selected(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_show__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_show",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_show" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_show" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->show(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_show__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_show",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_show" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Browser::show(); } else { (arg1)->show(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_show(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser_show__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Browser_show__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser_show'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser::show(int)\n" " Fl_Browser::show()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser_hide__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_hide",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_hide" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_hide" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->hide(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_hide__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_hide",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_hide" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Browser::hide(); } else { (arg1)->hide(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_hide(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser_hide__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Browser_hide__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser_hide'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser::hide(int)\n" " Fl_Browser::hide()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser_visible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_visible",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_visible" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_visible" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Browser const *)arg1)->visible(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_value" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); result = (int)((Fl_Browser const *)arg1)->value(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_value" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_value" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->value(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser_value__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Browser_value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser::value() const\n" " Fl_Browser::value(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser_text__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_text",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_text" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_text" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (char *)((Fl_Browser const *)arg1)->text(arg2); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_text__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_text",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_text" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_text" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Browser_text" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); (arg1)->text(arg2,(char const *)arg3); resultobj = SWIG_Py_Void(); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_text(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Browser_text__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_Browser_text__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser_text'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser::text(int) const\n" " Fl_Browser::text(int,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_new_Fl_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Browser *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Browser",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Browser" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Browser" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Browser" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Browser" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Browser" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Browser *)new SwigDirector_Fl_Browser(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Browser *)new Fl_Browser(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Browser, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Browser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Browser" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_format_char__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_format_char",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_format_char" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); result = (char)((Fl_Browser const *)arg1)->format_char(); resultobj = SWIG_From_char(static_cast< char >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_format_char__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_format_char",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_format_char" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_format_char" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); (arg1)->format_char(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_format_char(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser_format_char__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Browser_format_char__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser_format_char'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser::format_char() const\n" " Fl_Browser::format_char(char)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser_column_char__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_column_char",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_column_char" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); result = (char)((Fl_Browser const *)arg1)->column_char(); resultobj = SWIG_From_char(static_cast< char >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_column_char__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_column_char",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_column_char" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_column_char" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); (arg1)->column_char(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_column_char(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser_column_char__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Browser_column_char__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser_column_char'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser::column_char() const\n" " Fl_Browser::column_char(char)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser_column_widths__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_column_widths",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_column_widths" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); result = (int *)((Fl_Browser const *)arg1)->column_widths(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_displayed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_displayed",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_displayed" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_displayed" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Browser const *)arg1)->displayed(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_make_visible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_make_visible",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_make_visible" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_make_visible" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->make_visible(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_icon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; Fl_Image *arg3 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_icon",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_icon" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_icon" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Browser_icon" "', argument " "3"" of type '" "Fl_Image *""'"); } arg3 = reinterpret_cast< Fl_Image * >(argp3); (arg1)->icon(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_icon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_icon",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_icon" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_icon" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (Fl_Image *)((Fl_Browser const *)arg1)->icon(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_icon(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Browser_icon__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Browser_icon__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser_icon'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser::icon(int,Fl_Image *)\n" " Fl_Browser::icon(int) const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Browser_remove_icon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_remove_icon",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_remove_icon" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_remove_icon" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->remove_icon(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_replace",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_replace" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_replace" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Browser_replace" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); (arg1)->replace(arg2,(char const *)arg3); resultobj = SWIG_Py_Void(); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_display(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_display",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_display" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_display" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Browser_display" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } (arg1)->display(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; char *arg2 = (char *) 0 ; PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_add",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_add" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser_add" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if (obj2) { arg3 = obj2; } Fl_Browser_add(arg1,(char const *)arg2,arg3); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; PyObject *arg4 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_insert",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_insert" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_insert" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Browser_insert" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); if (obj3) { arg4 = obj3; } Fl_Browser_insert(arg1,arg2,(char const *)arg3,arg4); resultobj = SWIG_Py_Void(); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_get_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_get_data",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_get_data" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_get_data" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (PyObject *)Fl_Browser_get_data(arg1,arg2); resultobj = result; return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; int arg2 ; PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_data",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_data" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Browser_data" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); if (obj2) { arg3 = obj2; } result = (PyObject *)Fl_Browser_data(arg1,arg2,arg3); resultobj = result; return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_column_widths__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_column_widths",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_column_widths" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); arg2 = obj1; Fl_Browser_column_widths__SWIG_1(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_column_widths(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Browser_column_widths__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Browser_column_widths__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Browser_column_widths'.\n" " Possible C/C++ prototypes are:\n" " Fl_Browser::column_widths() const\n" " Fl_Browser::column_widths(PyObject *)\n"); return 0; } SWIGINTERN PyObject *_wrap_disown_Fl_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Browser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Browser" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_draw" "', argument " "1"" of type '" "Fl_Browser *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_item_quick_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_item_quick_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_item_quick_height" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Browser_item_quick_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_quick_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_quick_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Browser const *)darg)->item_quick_heightSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Browser const *)darg)->item_quick_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Browser_full_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Browser *arg1 = (Fl_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Browser_full_width",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Browser_full_width" "', argument " "1"" of type '" "Fl_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Browser const *)darg)->full_widthSwigPublic(); } else { result = (int)((SwigDirector_Fl_Browser const *)darg)->full_width(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Browser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Browser, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_File_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_File_Browser *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_File_Browser",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_File_Browser" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_File_Browser" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_File_Browser" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_File_Browser" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_File_Browser" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_File_Browser *)new SwigDirector_Fl_File_Browser(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_File_Browser *)new Fl_File_Browser(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_File_Browser, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_iconsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; uchar result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_iconsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_iconsize" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); result = (uchar)((Fl_File_Browser const *)arg1)->iconsize(); resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_iconsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; uchar arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_iconsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_iconsize" "', argument " "1"" of type '" "Fl_File_Browser *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Browser_iconsize" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); (arg1)->iconsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_iconsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Browser_iconsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_File_Browser_iconsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Browser_iconsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Browser::iconsize() const\n" " Fl_File_Browser::iconsize(uchar)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_filter__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_filter",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_filter" "', argument " "1"" of type '" "Fl_File_Browser *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Browser_filter" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->filter((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_filter__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_filter",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_filter" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); result = (char *)((Fl_File_Browser const *)arg1)->filter(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_filter(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Browser_filter__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_File_Browser_filter__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Browser_filter'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Browser::filter(char const *)\n" " Fl_File_Browser::filter() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_textsize" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); result = (Fl_Fontsize)((Fl_File_Browser const *)arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_textsize" "', argument " "1"" of type '" "Fl_File_Browser *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Browser_textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Browser_textsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_File_Browser_textsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Browser_textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Browser::textsize() const\n" " Fl_File_Browser::textsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_filetype__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_filetype",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_filetype" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); result = (int)((Fl_File_Browser const *)arg1)->filetype(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_filetype__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_filetype",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_filetype" "', argument " "1"" of type '" "Fl_File_Browser *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Browser_filetype" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->filetype(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_filetype(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Browser_filetype__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_File_Browser_filetype__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Browser_filetype'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Browser::filetype() const\n" " Fl_File_Browser::filetype(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_load",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_load" "', argument " "1"" of type '" "Fl_File_Browser *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); arg2 = obj1; arg3 = obj2; result = (int)Fl_File_Browser_load_new(arg1,arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_File_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_File_Browser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_File_Browser" "', argument " "1"" of type '" "Fl_File_Browser *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_File_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_File_Browser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_File_Browser" "', argument " "1"" of type '" "Fl_File_Browser *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_draw" "', argument " "1"" of type '" "Fl_File_Browser *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_item_first(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_item_first",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_item_first" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_first"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_first"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_File_Browser const *)darg)->item_firstSwigPublic(); } else { result = (void *)((SwigDirector_Fl_File_Browser const *)darg)->item_first(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_item_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_item_next",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_item_next" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Browser_item_next" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_next"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_next"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_File_Browser const *)darg)->item_nextSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_File_Browser const *)darg)->item_next(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_item_prev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_item_prev",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_item_prev" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Browser_item_prev" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_prev"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_prev"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_File_Browser const *)darg)->item_prevSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_File_Browser const *)darg)->item_prev(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_item_last(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_item_last",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_item_last" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_last"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_last"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_File_Browser const *)darg)->item_lastSwigPublic(); } else { result = (void *)((SwigDirector_Fl_File_Browser const *)darg)->item_last(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_item_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_item_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_item_height" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Browser_item_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->item_heightSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->item_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_item_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_item_width",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_item_width" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Browser_item_width" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->item_widthSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->item_width(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_item_quick_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_item_quick_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_item_quick_height" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Browser_item_quick_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_quick_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_quick_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->item_quick_heightSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->item_quick_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_item_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *arg2 = (void *) 0 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_item_draw",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_item_draw" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Browser_item_draw" "', argument " "2"" of type '" "void *""'"); } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_File_Browser_item_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_File_Browser_item_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_File_Browser_item_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_File_Browser_item_draw" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { ((SwigDirector_Fl_File_Browser const *)darg)->item_drawSwigPublic(arg2,arg3,arg4,arg5,arg6); } else { ((SwigDirector_Fl_File_Browser const *)darg)->item_draw(arg2,arg3,arg4,arg5,arg6); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_item_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_item_text",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_item_text" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Browser_item_text" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_text"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_text"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (char *)((SwigDirector_Fl_File_Browser const *)darg)->item_textSwigPublic(arg2); } else { result = (char *)((SwigDirector_Fl_File_Browser const *)darg)->item_text(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_FromCharPtr((const char *)result); if (director) { director->swig_release_ownership(SWIG_as_voidptr(result)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_item_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *arg2 = (void *) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_item_swap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_item_swap" "', argument " "1"" of type '" "Fl_File_Browser *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Browser_item_swap" "', argument " "2"" of type '" "void *""'"); } res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_File_Browser_item_swap" "', argument " "3"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_swap"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_swap"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_swapSwigPublic(arg2,arg3); } else { (darg)->item_swap(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_item_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_item_at",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_item_at" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Browser_item_at" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_at"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_at"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_File_Browser const *)darg)->item_atSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_File_Browser const *)darg)->item_at(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_full_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_full_width",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_full_width" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->full_widthSwigPublic(); } else { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->full_width(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_full_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_full_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_full_height" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->full_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->full_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_incr_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_incr_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_incr_height" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("incr_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member incr_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->incr_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->incr_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_item_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *arg2 = (void *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_item_select",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_item_select" "', argument " "1"" of type '" "Fl_File_Browser *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Browser_item_select" "', argument " "2"" of type '" "void *""'"); } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_File_Browser_item_select" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_select"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_select"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_selectSwigPublic(arg2,arg3); } else { (darg)->item_select(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Browser_item_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Browser *arg1 = (Fl_File_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Browser_item_selected",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Browser_item_selected" "', argument " "1"" of type '" "Fl_File_Browser const *""'"); } arg1 = reinterpret_cast< Fl_File_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Browser_item_selected" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_selected"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_selected"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->item_selectedSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_File_Browser const *)darg)->item_selected(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_File_Browser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_File_Browser, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_File_Icon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int arg3 = (int) 0 ; short *arg4 = (short *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Fl_File_Icon *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_File_Icon",2,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Fl_File_Icon" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_File_Icon" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_File_Icon" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } if (obj3) { res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_short, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Fl_File_Icon" "', argument " "4"" of type '" "short *""'"); } arg4 = reinterpret_cast< short * >(argp4); } result = (Fl_File_Icon *)new Fl_File_Icon((char const *)arg1,arg2,arg3,arg4); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_File_Icon, SWIG_POINTER_NEW | 0 ); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_File_Icon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_File_Icon",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_File_Icon" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; short arg2 ; void *argp1 = 0 ; int res1 = 0 ; short val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; short *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_add",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_add" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); ecode2 = SWIG_AsVal_short(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Icon_add" "', argument " "2"" of type '" "short""'"); } arg2 = static_cast< short >(val2); result = (short *)(arg1)->add(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_add_color(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; short *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_add_color",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_add_color" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Icon_add_color" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); result = (short *)(arg1)->add_color(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_add_vertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; short *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_add_vertex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_add_vertex" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Icon_add_vertex" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_File_Icon_add_vertex" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (short *)(arg1)->add_vertex(arg2,arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_add_vertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; float arg2 ; float arg3 ; void *argp1 = 0 ; int res1 = 0 ; float val2 ; int ecode2 = 0 ; float val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; short *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_add_vertex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_add_vertex" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); ecode2 = SWIG_AsVal_float(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Icon_add_vertex" "', argument " "2"" of type '" "float""'"); } arg2 = static_cast< float >(val2); ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_File_Icon_add_vertex" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); result = (short *)(arg1)->add_vertex(arg2,arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_add_vertex(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v = 0; { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_1; { { int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_1; return _wrap_Fl_File_Icon_add_vertex__SWIG_0(self, args); } check_1: if (argc == 3) { return _wrap_Fl_File_Icon_add_vertex__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Icon_add_vertex'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Icon::add_vertex(int,int)\n" " Fl_File_Icon::add_vertex(float,float)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_clear" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; Fl_Color arg6 ; int arg7 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; unsigned int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_draw",6,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_draw" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Icon_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_File_Icon_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_File_Icon_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_File_Icon_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_File_Icon_draw" "', argument " "6"" of type '" "Fl_Color""'"); } arg6 = static_cast< Fl_Color >(val6); if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_File_Icon_draw" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } (arg1)->draw(arg2,arg3,arg4,arg5,arg6,arg7); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_label(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_label" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Icon_label" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); (arg1)->label(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_labeltype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Label *arg1 = (Fl_Label *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; Fl_Align arg6 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; unsigned int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_labeltype",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Label, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_labeltype" "', argument " "1"" of type '" "Fl_Label const *""'"); } arg1 = reinterpret_cast< Fl_Label * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Icon_labeltype" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_File_Icon_labeltype" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_File_Icon_labeltype" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_File_Icon_labeltype" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_File_Icon_labeltype" "', argument " "6"" of type '" "Fl_Align""'"); } arg6 = static_cast< Fl_Align >(val6); Fl_File_Icon::labeltype((Fl_Label const *)arg1,arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_load",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_load" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Icon_load" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->load((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_load_fti(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_load_fti",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_load_fti" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Icon_load_fti" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->load_fti((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_load_image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_load_image",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_load_image" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Icon_load_image" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->load_image((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_File_Icon *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_next",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_next" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); result = (Fl_File_Icon *)(arg1)->next(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_pattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_pattern",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_pattern" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); result = (char *)(arg1)->pattern(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_size",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_size" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); result = (int)(arg1)->size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_type",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_type" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); result = (int)(arg1)->type(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *arg1 = (Fl_File_Icon *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; short *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_value" "', argument " "1"" of type '" "Fl_File_Icon *""'"); } arg1 = reinterpret_cast< Fl_File_Icon * >(argp1); result = (short *)(arg1)->value(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 = (int) Fl_File_Icon::ANY ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_File_Icon *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Icon_find",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Icon_find" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Icon_find" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } result = (Fl_File_Icon *)Fl_File_Icon::find((char const *)arg1,arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_first(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon *result = 0 ; result = (Fl_File_Icon *)Fl_File_Icon::first(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_File_Icon, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Icon_load_system_icons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Icon::load_system_icons(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_File_Icon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_File_Icon, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_File_Chooser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; char *arg4 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Fl_File_Chooser *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_File_Chooser",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Fl_File_Chooser" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_File_Chooser" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_File_Chooser" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Fl_File_Chooser" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); result = (Fl_File_Chooser *)new Fl_File_Chooser((char const *)arg1,(char const *)arg2,arg3,(char const *)arg4); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_File_Chooser, SWIG_POINTER_NEW | 0 ); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_File_Chooser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_File_Chooser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_File_Chooser" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_callback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void (*arg2)(Fl_File_Chooser *,void *) = (void (*)(Fl_File_Chooser *,void *)) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_callback",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_callback" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_Fl_File_Chooser_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_File_Chooser_callback" "', argument " "2"" of type '" "void (*)(Fl_File_Chooser *,void *)""'"); } } if (obj2) { res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_File_Chooser_callback" "', argument " "3"" of type '" "void *""'"); } } (arg1)->callback(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_color",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_color" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Chooser_color" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->color(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_color",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_color" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (Fl_Color)(arg1)->color(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Chooser_color__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_File_Chooser_color__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_color'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::color(Fl_Color)\n" " Fl_File_Chooser::color()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_count",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_count" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (int)(arg1)->count(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_directory__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_directory",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_directory" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Chooser_directory" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->directory((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_directory__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_directory",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_directory" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (char *)(arg1)->directory(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_directory(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Chooser_directory__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_File_Chooser_directory__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_directory'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::directory(char const *)\n" " Fl_File_Chooser::directory()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_filter__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_filter",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_filter" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Chooser_filter" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->filter((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_filter__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_filter",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_filter" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (char *)(arg1)->filter(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_filter(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Chooser_filter__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_File_Chooser_filter__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_filter'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::filter(char const *)\n" " Fl_File_Chooser::filter()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_filter_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_filter_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_filter_value" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (int)(arg1)->filter_value(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_filter_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_filter_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_filter_value" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Chooser_filter_value" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->filter_value(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_filter_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Chooser_filter_value__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_File_Chooser_filter_value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_filter_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::filter_value()\n" " Fl_File_Chooser::filter_value(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_hide",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_hide" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); (arg1)->hide(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_iconsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; uchar arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_iconsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_iconsize" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Chooser_iconsize" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); (arg1)->iconsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_iconsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; uchar result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_iconsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_iconsize" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (uchar)(arg1)->iconsize(); resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_iconsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Chooser_iconsize__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_File_Chooser_iconsize__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_iconsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::iconsize(uchar)\n" " Fl_File_Chooser::iconsize()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_label__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_label" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Chooser_label" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->label((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_label__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_label",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_label" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (char *)(arg1)->label(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_label(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Chooser_label__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_File_Chooser_label__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_label'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::label(char const *)\n" " Fl_File_Chooser::label()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_ok_label__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_ok_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_ok_label" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Chooser_ok_label" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->ok_label((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_ok_label__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_ok_label",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_ok_label" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (char *)(arg1)->ok_label(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_ok_label(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Chooser_ok_label__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_File_Chooser_ok_label__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_ok_label'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::ok_label(char const *)\n" " Fl_File_Chooser::ok_label()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_preview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_preview",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_preview" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Chooser_preview" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->preview(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_preview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_preview",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_preview" "', argument " "1"" of type '" "Fl_File_Chooser const *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (int)((Fl_File_Chooser const *)arg1)->preview(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_preview(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Chooser_preview__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_File_Chooser_preview__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_preview'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::preview(int)\n" " Fl_File_Chooser::preview() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_rescan(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_rescan",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_rescan" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); (arg1)->rescan(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_show",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_show" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); (arg1)->show(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_shown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_shown",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_shown" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (int)(arg1)->shown(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_textcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_textcolor" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Chooser_textcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->textcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_textcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_textcolor" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (Fl_Color)(arg1)->textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Chooser_textcolor__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_File_Chooser_textcolor__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::textcolor(Fl_Color)\n" " Fl_File_Chooser::textcolor()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_textfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_textfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_textfont" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Chooser_textfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->textfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_textfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_textfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_textfont" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (Fl_Font)(arg1)->textfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_textfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Chooser_textfont__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_File_Chooser_textfont__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_textfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::textfont(Fl_Font)\n" " Fl_File_Chooser::textfont()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_textsize" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Chooser_textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_textsize" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (Fl_Fontsize)(arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Chooser_textsize__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_File_Chooser_textsize__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::textsize(Fl_Fontsize)\n" " Fl_File_Chooser::textsize()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_type__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_type",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_type" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Chooser_type" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->type(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_type__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_type",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_type" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (int)(arg1)->type(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_type(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Chooser_type__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_File_Chooser_type__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_type'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::type(int)\n" " Fl_File_Chooser::type()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_user_data__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_user_data",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_user_data" "', argument " "1"" of type '" "Fl_File_Chooser const *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (void *)((Fl_File_Chooser const *)arg1)->user_data(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_user_data__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_user_data",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_user_data" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Chooser_user_data" "', argument " "2"" of type '" "void *""'"); } (arg1)->user_data(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_user_data(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Chooser_user_data__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_File_Chooser_user_data__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_user_data'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::user_data() const\n" " Fl_File_Chooser::user_data(void *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; int arg2 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_value",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_value" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Chooser_value" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } result = (char *)(arg1)->value(arg2); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_value" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Chooser_value" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->value((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 1) && (argc <= 2)) { int _v = 0; if (argc > 1) { { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_1; } return _wrap_Fl_File_Chooser_value__SWIG_0(self, args); } check_1: if (argc == 2) { return _wrap_Fl_File_Chooser_value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::value(int)\n" " Fl_File_Chooser::value(char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_visible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_visible",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_visible" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); result = (int)(arg1)->visible(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_add_extra(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; Fl_Widget *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_add_extra",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_add_extra" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Chooser_add_extra" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); result = (Fl_Widget *)(arg1)->add_extra(arg2); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_callback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Chooser *arg1 = (Fl_File_Chooser *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; PyObject *arg4 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Chooser_callback",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Chooser_callback" "', argument " "1"" of type '" "Fl_File_Chooser *""'"); } arg1 = reinterpret_cast< Fl_File_Chooser * >(argp1); { if (!PyCallable_Check(obj1)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); return NULL; } arg2 = obj1; } arg3 = obj2; if (obj3) { arg4 = obj3; } Fl_File_Chooser_callback__SWIG_1(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Chooser_callback(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 2) && (argc <= 3)) { int _v = 0; { void *ptr = 0; int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_Fl_File_Chooser_p_void__void); _v = SWIG_CheckState(res); } if (!_v) goto check_1; if (argc > 2) { { void *ptr = 0; int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; } return _wrap_Fl_File_Chooser_callback__SWIG_0(self, args); } check_1: if ((argc >= 3) && (argc <= 4)) { return _wrap_Fl_File_Chooser_callback__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Chooser_callback'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Chooser::callback(void (*)(Fl_File_Chooser *,void *),void *)\n" " Fl_File_Chooser::callback(PyObject *,PyObject *,PyObject *)\n"); return 0; } SWIGINTERN PyObject *Fl_File_Chooser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_File_Chooser, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_fl_dir_chooser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int arg3 = (int) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_dir_chooser",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_dir_chooser" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_dir_chooser" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_dir_chooser" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (char *)fl_dir_chooser((char const *)arg1,(char const *)arg2,arg3); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_file_chooser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; int arg4 = (int) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_file_chooser",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_file_chooser" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_file_chooser" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_file_chooser" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); if (obj3) { ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_file_chooser" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); } result = (char *)fl_file_chooser((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_fl_file_chooser_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; void (*arg1)(char const *) = (void (*)(char const *)) 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_file_chooser_callback",1,1,&obj0)) SWIG_fail; { int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "fl_file_chooser_callback" "', argument " "1"" of type '" "void (*)(char const *)""'"); } } fl_file_chooser_callback(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_file_chooser_ok_label(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_file_chooser_ok_label",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_file_chooser_ok_label" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_file_chooser_ok_label((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_damage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_damage",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_damage" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); Fl::damage(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_option__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl::Fl_Option arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; bool result; if(!PyArg_UnpackTuple(args,(char *)"Fl_option",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_option" "', argument " "1"" of type '" "Fl::Fl_Option""'"); } arg1 = static_cast< Fl::Fl_Option >(val1); result = (bool)Fl::option(arg1); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_option__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl::Fl_Option arg1 ; bool arg2 ; int val1 ; int ecode1 = 0 ; bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_option",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_option" "', argument " "1"" of type '" "Fl::Fl_Option""'"); } arg1 = static_cast< Fl::Fl_Option >(val1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_option" "', argument " "2"" of type '" "bool""'"); } arg2 = static_cast< bool >(val2); Fl::option(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_option(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_option__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_option__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_option'.\n" " Possible C/C++ prototypes are:\n" " Fl::option(Fl::Fl_Option)\n" " Fl::option(Fl::Fl_Option,bool)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_add_awake_handler_(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Awake_Handler arg1 = (Fl_Awake_Handler) 0 ; void *arg2 = (void *) 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_add_awake_handler_",2,2,&obj0,&obj1)) SWIG_fail; { int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_add_awake_handler_" "', argument " "1"" of type '" "Fl_Awake_Handler""'"); } } res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_add_awake_handler_" "', argument " "2"" of type '" "void *""'"); } result = (int)Fl::add_awake_handler_(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double result; result = (double)Fl::version(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_arg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; char **arg2 = (char **) 0 ; int *arg3 = 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_arg",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_arg" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_arg" "', argument " "2"" of type '" "char **""'"); } arg2 = reinterpret_cast< char ** >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_arg" "', argument " "3"" of type '" "int &""'"); } if (!argp3) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_arg" "', argument " "3"" of type '" "int &""'"); } arg3 = reinterpret_cast< int * >(argp3); result = (int)Fl::arg(arg1,arg2,*arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_args__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; char **arg2 = (char **) 0 ; int *arg3 = 0 ; Fl_Args_Handler arg4 = (Fl_Args_Handler) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_args",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_args" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_args" "', argument " "2"" of type '" "char **""'"); } arg2 = reinterpret_cast< char ** >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_args" "', argument " "3"" of type '" "int &""'"); } if (!argp3) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_args" "', argument " "3"" of type '" "int &""'"); } arg3 = reinterpret_cast< int * >(argp3); if (obj3) { { int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_int_p_p_char_r_int__int); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_args" "', argument " "4"" of type '" "Fl_Args_Handler""'"); } } } result = (int)Fl::args(arg1,arg2,*arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_args__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; char **arg2 = (char **) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_args",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_args" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_args" "', argument " "2"" of type '" "char **""'"); } arg2 = reinterpret_cast< char ** >(argp2); Fl::args(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_args(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_args__SWIG_1(self, args); } if ((argc >= 3) && (argc <= 4)) { return _wrap_Fl_args__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_args'.\n" " Possible C/C++ prototypes are:\n" " Fl::args(int,char **,int &,Fl_Args_Handler)\n" " Fl::args(int,char **)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_display(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_display",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_display" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); Fl::display((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_visual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_visual",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_visual" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); result = (int)Fl::visual(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_own_colormap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl::own_colormap(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_get_system_colors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl::get_system_colors(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_foreground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; uchar arg1 ; uchar arg2 ; uchar arg3 ; unsigned char val1 ; int ecode1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; unsigned char val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_foreground",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_foreground" "', argument " "1"" of type '" "uchar""'"); } arg1 = static_cast< uchar >(val1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_foreground" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_foreground" "', argument " "3"" of type '" "uchar""'"); } arg3 = static_cast< uchar >(val3); Fl::foreground(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_background(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; uchar arg1 ; uchar arg2 ; uchar arg3 ; unsigned char val1 ; int ecode1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; unsigned char val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_background",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_background" "', argument " "1"" of type '" "uchar""'"); } arg1 = static_cast< uchar >(val1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_background" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_background" "', argument " "3"" of type '" "uchar""'"); } arg3 = static_cast< uchar >(val3); Fl::background(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_background2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; uchar arg1 ; uchar arg2 ; uchar arg3 ; unsigned char val1 ; int ecode1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; unsigned char val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_background2",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_background2" "', argument " "1"" of type '" "uchar""'"); } arg1 = static_cast< uchar >(val1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_background2" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_background2" "', argument " "3"" of type '" "uchar""'"); } arg3 = static_cast< uchar >(val3); Fl::background2(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_scheme__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_scheme",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_scheme" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (int)Fl::scheme((char const *)arg1); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_scheme__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *result = 0 ; result = (char *)Fl::scheme(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_scheme(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_scheme__SWIG_1(self, args); } if (argc == 1) { return _wrap_Fl_scheme__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_scheme'.\n" " Possible C/C++ prototypes are:\n" " Fl::scheme(char const *)\n" " Fl::scheme()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_reload_scheme(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::reload_scheme(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_scrollbar_size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::scrollbar_size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_scrollbar_size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_scrollbar_size",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_scrollbar_size" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); Fl::scrollbar_size(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_scrollbar_size(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_scrollbar_size__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_scrollbar_size__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_scrollbar_size'.\n" " Possible C/C++ prototypes are:\n" " Fl::scrollbar_size()\n" " Fl::scrollbar_size(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_wait__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::wait(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_wait__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_wait",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_wait" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); result = (double)Fl::wait(arg1); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_wait(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_wait__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_wait__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_wait'.\n" " Possible C/C++ prototypes are:\n" " Fl::wait()\n" " Fl::wait(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_check(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::check(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_ready(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::ready(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_run(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::run(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_readqueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Swig::Director *director = 0; Fl_Widget *result = 0 ; result = (Fl_Widget *)Fl::readqueue(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_has_timeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Timeout_Handler arg1 = (Fl_Timeout_Handler) 0 ; void *arg2 = (void *) 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_has_timeout",1,2,&obj0,&obj1)) SWIG_fail; { int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_has_timeout" "', argument " "1"" of type '" "Fl_Timeout_Handler""'"); } } if (obj1) { res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_has_timeout" "', argument " "2"" of type '" "void *""'"); } } result = (int)Fl::has_timeout(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_add_idle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Idle_Handler arg1 = (Fl_Idle_Handler) 0 ; void *arg2 = (void *) 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_add_idle",1,2,&obj0,&obj1)) SWIG_fail; { int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_add_idle" "', argument " "1"" of type '" "Fl_Idle_Handler""'"); } } if (obj1) { res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_add_idle" "', argument " "2"" of type '" "void *""'"); } } Fl::add_idle(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_has_idle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Idle_Handler arg1 = (Fl_Idle_Handler) 0 ; void *arg2 = (void *) 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_has_idle",1,2,&obj0,&obj1)) SWIG_fail; { int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_has_idle" "', argument " "1"" of type '" "Fl_Idle_Handler""'"); } } if (obj1) { res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_has_idle" "', argument " "2"" of type '" "void *""'"); } } result = (int)Fl::has_idle(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_remove_idle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Idle_Handler arg1 = (Fl_Idle_Handler) 0 ; void *arg2 = (void *) 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_remove_idle",1,2,&obj0,&obj1)) SWIG_fail; { int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_remove_idle" "', argument " "1"" of type '" "Fl_Idle_Handler""'"); } } if (obj1) { res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_remove_idle" "', argument " "2"" of type '" "void *""'"); } } Fl::remove_idle(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_damage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::damage(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_damage(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_damage__SWIG_1(self, args); } if (argc == 1) { return _wrap_Fl_damage__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_damage'.\n" " Possible C/C++ prototypes are:\n" " Fl::damage(int)\n" " Fl::damage()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_redraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl::redraw(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_flush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl::flush(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_first_window__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *result = 0 ; result = (Fl_Window *)Fl::first_window(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Window, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_first_window__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_first_window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_first_window" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); Fl::first_window(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_first_window(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_first_window__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_first_window__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_first_window'.\n" " Possible C/C++ prototypes are:\n" " Fl::first_window()\n" " Fl::first_window(Fl_Window *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_next_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_next_window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_next_window" "', argument " "1"" of type '" "Fl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (Fl_Window *)Fl::next_window((Fl_Window const *)arg1); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Window, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_modal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *result = 0 ; result = (Fl_Window *)Fl::modal(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Window, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_grab__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *result = 0 ; result = (Fl_Window *)Fl::grab(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Window, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_grab__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_grab",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_grab" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); Fl::grab(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_grab(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_grab__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_grab__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_grab'.\n" " Possible C/C++ prototypes are:\n" " Fl::grab()\n" " Fl::grab(Fl_Window *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_event(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_x(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_y(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_y(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_x_root(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_x_root(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_y_root(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_y_root(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_dx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_dx(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_dy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_dy(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_get_mouse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int *arg1 = 0 ; int *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_get_mouse",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_get_mouse" "', argument " "1"" of type '" "int &""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_get_mouse" "', argument " "1"" of type '" "int &""'"); } arg1 = reinterpret_cast< int * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_get_mouse" "', argument " "2"" of type '" "int &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_get_mouse" "', argument " "2"" of type '" "int &""'"); } arg2 = reinterpret_cast< int * >(argp2); Fl::get_mouse(*arg1,*arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_clicks__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_clicks(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_clicks__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_event_clicks",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_event_clicks" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); Fl::event_clicks(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_clicks(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_event_clicks__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_event_clicks__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_event_clicks'.\n" " Possible C/C++ prototypes are:\n" " Fl::event_clicks()\n" " Fl::event_clicks(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_event_is_click__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_is_click(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_is_click__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_event_is_click",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_event_is_click" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); Fl::event_is_click(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_is_click(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_event_is_click__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_event_is_click__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_event_is_click'.\n" " Possible C/C++ prototypes are:\n" " Fl::event_is_click()\n" " Fl::event_is_click(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_event_button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_button(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_state__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_state(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_state__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_event_state",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_event_state" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); result = (int)Fl::event_state(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_state(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_event_state__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_event_state__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_event_state'.\n" " Possible C/C++ prototypes are:\n" " Fl::event_state()\n" " Fl::event_state(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_event_key__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_key(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_original_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_original_key(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_key__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_event_key",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_event_key" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); result = (int)Fl::event_key(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_key(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_event_key__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_event_key__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_event_key'.\n" " Possible C/C++ prototypes are:\n" " Fl::event_key()\n" " Fl::event_key(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_get_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_get_key",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_get_key" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); result = (int)Fl::get_key(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *result = 0 ; result = (char *)Fl::event_text(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_length(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_compose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_compose",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_compose" "', argument " "1"" of type '" "int &""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_compose" "', argument " "1"" of type '" "int &""'"); } arg1 = reinterpret_cast< int * >(argp1); result = (int)Fl::compose(*arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_compose_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl::compose_reset(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_inside__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_event_inside",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_event_inside" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_event_inside" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_event_inside" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_event_inside" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); result = (int)Fl::event_inside(arg1,arg2,arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_inside__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_event_inside",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_event_inside" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (int)Fl::event_inside((Fl_Widget const *)arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_inside(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_event_inside__SWIG_1(self, args); } if (argc == 4) { return _wrap_Fl_event_inside__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_event_inside'.\n" " Possible C/C++ prototypes are:\n" " Fl::event_inside(int,int,int,int)\n" " Fl::event_inside(Fl_Widget const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_test_shortcut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shortcut arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_test_shortcut",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_test_shortcut" "', argument " "1"" of type '" "Fl_Shortcut""'"); } arg1 = static_cast< Fl_Shortcut >(val1); result = (int)Fl::test_shortcut(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Window *arg2 = (Fl_Window *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_handle",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_handle" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_handle" "', argument " "2"" of type '" "Fl_Window *""'"); } arg2 = reinterpret_cast< Fl_Window * >(argp2); result = (int)Fl::handle(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_handle_(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Window *arg2 = (Fl_Window *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_handle_",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_handle_" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_handle_" "', argument " "2"" of type '" "Fl_Window *""'"); } arg2 = reinterpret_cast< Fl_Window * >(argp2); result = (int)Fl::handle_(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_belowmouse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Swig::Director *director = 0; Fl_Widget *result = 0 ; result = (Fl_Widget *)Fl::belowmouse(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_belowmouse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_belowmouse",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_belowmouse" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); Fl::belowmouse(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_belowmouse(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_belowmouse__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_belowmouse__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_belowmouse'.\n" " Possible C/C++ prototypes are:\n" " Fl::belowmouse()\n" " Fl::belowmouse(Fl_Widget *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_pushed__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Swig::Director *director = 0; Fl_Widget *result = 0 ; result = (Fl_Widget *)Fl::pushed(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_pushed__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_pushed",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_pushed" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); Fl::pushed(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_pushed(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_pushed__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_pushed__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_pushed'.\n" " Possible C/C++ prototypes are:\n" " Fl::pushed()\n" " Fl::pushed(Fl_Widget *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_focus__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Swig::Director *director = 0; Fl_Widget *result = 0 ; result = (Fl_Widget *)Fl::focus(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_focus__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_focus",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_focus" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); Fl::focus(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_focus(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_focus__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_focus__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_focus'.\n" " Possible C/C++ prototypes are:\n" " Fl::focus()\n" " Fl::focus(Fl_Widget *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_event_dispatch__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Event_Dispatch arg1 = (Fl_Event_Dispatch) 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_event_dispatch",1,1,&obj0)) SWIG_fail; { int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_int_p_Fl_Window__int); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_event_dispatch" "', argument " "1"" of type '" "Fl_Event_Dispatch""'"); } } Fl::event_dispatch(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_dispatch__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Event_Dispatch result; result = (Fl_Event_Dispatch)Fl::event_dispatch(); resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_p_Fl_Window__int); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_dispatch(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_event_dispatch__SWIG_1(self, args); } if (argc == 1) { return _wrap_Fl_event_dispatch__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_event_dispatch'.\n" " Possible C/C++ prototypes are:\n" " Fl::event_dispatch(Fl_Event_Dispatch)\n" " Fl::event_dispatch()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int arg3 = (int) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_copy",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_copy" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_copy" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_copy" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } Fl::copy((char const *)arg1,arg2,arg3); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_paste__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_paste",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Fl_Widget, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_paste" "', argument " "1"" of type '" "Fl_Widget &""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_paste" "', argument " "1"" of type '" "Fl_Widget &""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_paste" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); Fl::paste(*arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_dnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::dnd(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_selection_owner__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Swig::Director *director = 0; Fl_Widget *result = 0 ; result = (Fl_Widget *)Fl::selection_owner(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_selection_owner__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_selection_owner",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_selection_owner" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); Fl::selection_owner(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_selection_owner(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_selection_owner__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_selection_owner__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_selection_owner'.\n" " Possible C/C++ prototypes are:\n" " Fl::selection_owner()\n" " Fl::selection_owner(Fl_Widget *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = 0 ; char *arg2 = (char *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_selection",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Fl_Widget, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_selection" "', argument " "1"" of type '" "Fl_Widget &""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_selection" "', argument " "1"" of type '" "Fl_Widget &""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_selection" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_selection" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); Fl::selection(*arg1,(char const *)arg2,arg3); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_paste__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_paste",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Fl_Widget, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_paste" "', argument " "1"" of type '" "Fl_Widget &""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_paste" "', argument " "1"" of type '" "Fl_Widget &""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); Fl::paste(*arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_paste(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_paste__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_paste__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_paste'.\n" " Possible C/C++ prototypes are:\n" " Fl::paste(Fl_Widget &,int)\n" " Fl::paste(Fl_Widget &)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::x(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_y(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::y(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_w(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::w(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_h(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::h(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_screen_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::screen_count(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_screen_xywh__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int *arg1 = 0 ; int *arg2 = 0 ; int *arg3 = 0 ; int *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_screen_xywh",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_screen_xywh" "', argument " "1"" of type '" "int &""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "1"" of type '" "int &""'"); } arg1 = reinterpret_cast< int * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_screen_xywh" "', argument " "2"" of type '" "int &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "2"" of type '" "int &""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_screen_xywh" "', argument " "3"" of type '" "int &""'"); } if (!argp3) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "3"" of type '" "int &""'"); } arg3 = reinterpret_cast< int * >(argp3); res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_screen_xywh" "', argument " "4"" of type '" "int &""'"); } if (!argp4) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "4"" of type '" "int &""'"); } arg4 = reinterpret_cast< int * >(argp4); Fl::screen_xywh(*arg1,*arg2,*arg3,*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_screen_xywh__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int *arg1 = 0 ; int *arg2 = 0 ; int *arg3 = 0 ; int *arg4 = 0 ; int arg5 ; int arg6 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_screen_xywh",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_screen_xywh" "', argument " "1"" of type '" "int &""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "1"" of type '" "int &""'"); } arg1 = reinterpret_cast< int * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_screen_xywh" "', argument " "2"" of type '" "int &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "2"" of type '" "int &""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_screen_xywh" "', argument " "3"" of type '" "int &""'"); } if (!argp3) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "3"" of type '" "int &""'"); } arg3 = reinterpret_cast< int * >(argp3); res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_screen_xywh" "', argument " "4"" of type '" "int &""'"); } if (!argp4) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "4"" of type '" "int &""'"); } arg4 = reinterpret_cast< int * >(argp4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_screen_xywh" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_screen_xywh" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); Fl::screen_xywh(*arg1,*arg2,*arg3,*arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_screen_xywh__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int *arg1 = 0 ; int *arg2 = 0 ; int *arg3 = 0 ; int *arg4 = 0 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_screen_xywh",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_screen_xywh" "', argument " "1"" of type '" "int &""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "1"" of type '" "int &""'"); } arg1 = reinterpret_cast< int * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_screen_xywh" "', argument " "2"" of type '" "int &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "2"" of type '" "int &""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_screen_xywh" "', argument " "3"" of type '" "int &""'"); } if (!argp3) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "3"" of type '" "int &""'"); } arg3 = reinterpret_cast< int * >(argp3); res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_screen_xywh" "', argument " "4"" of type '" "int &""'"); } if (!argp4) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "4"" of type '" "int &""'"); } arg4 = reinterpret_cast< int * >(argp4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_screen_xywh" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); Fl::screen_xywh(*arg1,*arg2,*arg3,*arg4,arg5); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_screen_xywh__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int *arg1 = 0 ; int *arg2 = 0 ; int *arg3 = 0 ; int *arg4 = 0 ; int arg5 ; int arg6 ; int arg7 ; int arg8 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; int val8 ; int ecode8 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_screen_xywh",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_screen_xywh" "', argument " "1"" of type '" "int &""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "1"" of type '" "int &""'"); } arg1 = reinterpret_cast< int * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_screen_xywh" "', argument " "2"" of type '" "int &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "2"" of type '" "int &""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_screen_xywh" "', argument " "3"" of type '" "int &""'"); } if (!argp3) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "3"" of type '" "int &""'"); } arg3 = reinterpret_cast< int * >(argp3); res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_screen_xywh" "', argument " "4"" of type '" "int &""'"); } if (!argp4) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_xywh" "', argument " "4"" of type '" "int &""'"); } arg4 = reinterpret_cast< int * >(argp4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_screen_xywh" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_screen_xywh" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_screen_xywh" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); ecode8 = SWIG_AsVal_int(obj7, &val8); if (!SWIG_IsOK(ecode8)) { SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Fl_screen_xywh" "', argument " "8"" of type '" "int""'"); } arg8 = static_cast< int >(val8); Fl::screen_xywh(*arg1,*arg2,*arg3,*arg4,arg5,arg6,arg7,arg8); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_screen_xywh(PyObject *self, PyObject *args) { int argc; PyObject *argv[9]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 8) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 4) { return _wrap_Fl_screen_xywh__SWIG_0(self, args); } if (argc == 5) { return _wrap_Fl_screen_xywh__SWIG_2(self, args); } if (argc == 6) { return _wrap_Fl_screen_xywh__SWIG_1(self, args); } if (argc == 8) { return _wrap_Fl_screen_xywh__SWIG_3(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_screen_xywh'.\n" " Possible C/C++ prototypes are:\n" " Fl::screen_xywh(int &,int &,int &,int &)\n" " Fl::screen_xywh(int &,int &,int &,int &,int,int)\n" " Fl::screen_xywh(int &,int &,int &,int &,int)\n" " Fl::screen_xywh(int &,int &,int &,int &,int,int,int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_screen_dpi(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; float *arg1 = 0 ; float *arg2 = 0 ; int arg3 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_screen_dpi",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_float, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_screen_dpi" "', argument " "1"" of type '" "float &""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_dpi" "', argument " "1"" of type '" "float &""'"); } arg1 = reinterpret_cast< float * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_screen_dpi" "', argument " "2"" of type '" "float &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_screen_dpi" "', argument " "2"" of type '" "float &""'"); } arg2 = reinterpret_cast< float * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_screen_dpi" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } Fl::screen_dpi(*arg1,*arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_set_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; uchar arg2 ; uchar arg3 ; uchar arg4 ; unsigned int val1 ; int ecode1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; unsigned char val3 ; int ecode3 = 0 ; unsigned char val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_set_color",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_set_color" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_set_color" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_set_color" "', argument " "3"" of type '" "uchar""'"); } arg3 = static_cast< uchar >(val3); ecode4 = SWIG_AsVal_unsigned_SS_char(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_set_color" "', argument " "4"" of type '" "uchar""'"); } arg4 = static_cast< uchar >(val4); Fl::set_color(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_set_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; unsigned int arg2 ; unsigned int val1 ; int ecode1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_set_color",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_set_color" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_set_color" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); Fl::set_color(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_set_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_set_color__SWIG_1(self, args); } if (argc == 4) { return _wrap_Fl_set_color__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_set_color'.\n" " Possible C/C++ prototypes are:\n" " Fl::set_color(Fl_Color,uchar,uchar,uchar)\n" " Fl::set_color(Fl_Color,unsigned int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_get_color(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; uchar *arg2 = 0 ; uchar *arg3 = 0 ; uchar *arg4 = 0 ; unsigned int val1 ; int ecode1 = 0 ; uchar temp2 ; int res2 = SWIG_TMPOBJ ; uchar temp3 ; int res3 = SWIG_TMPOBJ ; uchar temp4 ; int res4 = SWIG_TMPOBJ ; PyObject * obj0 = 0 ; arg2 = &temp2; arg3 = &temp3; arg4 = &temp4; if(!PyArg_UnpackTuple(args,(char *)"Fl_get_color",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_get_color" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); Fl::get_color(arg1,*arg2,*arg3,*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, new_flags)); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, new_flags)); } if (SWIG_IsTmpObj(res4)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg4))); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_free_color(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; int arg2 = (int) 0 ; unsigned int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_free_color",1,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_free_color" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_free_color" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } Fl::free_color(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_get_font(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Font arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_get_font",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_get_font" "', argument " "1"" of type '" "Fl_Font""'"); } arg1 = static_cast< Fl_Font >(val1); result = (char *)Fl::get_font(arg1); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_get_font_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Font arg1 ; int *arg2 = (int *) 0 ; int val1 ; int ecode1 = 0 ; int temp2 ; int res2 = SWIG_TMPOBJ ; PyObject * obj0 = 0 ; char *result = 0 ; arg2 = &temp2; if(!PyArg_UnpackTuple(args,(char *)"Fl_get_font_name",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_get_font_name" "', argument " "1"" of type '" "Fl_Font""'"); } arg1 = static_cast< Fl_Font >(val1); result = (char *)Fl::get_font_name(arg1,arg2); resultobj = SWIG_FromCharPtr((const char *)result); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_set_font__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Font arg1 ; char *arg2 = (char *) 0 ; int val1 ; int ecode1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_set_font",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_set_font" "', argument " "1"" of type '" "Fl_Font""'"); } arg1 = static_cast< Fl_Font >(val1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_set_font" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); Fl::set_font(arg1,(char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_set_font__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Font arg1 ; Fl_Font arg2 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_set_font",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_set_font" "', argument " "1"" of type '" "Fl_Font""'"); } arg1 = static_cast< Fl_Font >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_set_font" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); Fl::set_font(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_set_font(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_1; return _wrap_Fl_set_font__SWIG_1(self, args); } check_1: if (argc == 2) { return _wrap_Fl_set_font__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_set_font'.\n" " Possible C/C++ prototypes are:\n" " Fl::set_font(Fl_Font,char const *)\n" " Fl::set_font(Fl_Font,Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_set_fonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_set_fonts",0,1,&obj0)) SWIG_fail; if (obj0) { res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_set_fonts" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); } result = (Fl_Font)Fl::set_fonts((char const *)arg1); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_set_labeltype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Labeltype arg1 ; Fl_Label_Draw_F *arg2 = (Fl_Label_Draw_F *) 0 ; Fl_Label_Measure_F *arg3 = (Fl_Label_Measure_F *) 0 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_set_labeltype",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_set_labeltype" "', argument " "1"" of type '" "Fl_Labeltype""'"); } arg1 = static_cast< Fl_Labeltype >(val1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_q_const__Fl_Label_int_int_int_int_unsigned_int__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_set_labeltype" "', argument " "2"" of type '" "Fl_Label_Draw_F *""'"); } } { int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_q_const__Fl_Label_r_int_r_int__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_set_labeltype" "', argument " "3"" of type '" "Fl_Label_Measure_F *""'"); } } Fl::set_labeltype(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_get_boxtype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; Fl_Box_Draw_F *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_get_boxtype",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_get_boxtype" "', argument " "1"" of type '" "Fl_Boxtype""'"); } arg1 = static_cast< Fl_Boxtype >(val1); result = (Fl_Box_Draw_F *)Fl::get_boxtype(arg1); resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_int_int_int_unsigned_int__void); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_set_boxtype__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype arg1 ; Fl_Box_Draw_F *arg2 = (Fl_Box_Draw_F *) 0 ; uchar arg3 ; uchar arg4 ; uchar arg5 ; uchar arg6 ; int val1 ; int ecode1 = 0 ; unsigned char val3 ; int ecode3 = 0 ; unsigned char val4 ; int ecode4 = 0 ; unsigned char val5 ; int ecode5 = 0 ; unsigned char val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_set_boxtype",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_set_boxtype" "', argument " "1"" of type '" "Fl_Boxtype""'"); } arg1 = static_cast< Fl_Boxtype >(val1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_int_int_int_unsigned_int__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_set_boxtype" "', argument " "2"" of type '" "Fl_Box_Draw_F *""'"); } } ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_set_boxtype" "', argument " "3"" of type '" "uchar""'"); } arg3 = static_cast< uchar >(val3); ecode4 = SWIG_AsVal_unsigned_SS_char(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_set_boxtype" "', argument " "4"" of type '" "uchar""'"); } arg4 = static_cast< uchar >(val4); ecode5 = SWIG_AsVal_unsigned_SS_char(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_set_boxtype" "', argument " "5"" of type '" "uchar""'"); } arg5 = static_cast< uchar >(val5); ecode6 = SWIG_AsVal_unsigned_SS_char(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_set_boxtype" "', argument " "6"" of type '" "uchar""'"); } arg6 = static_cast< uchar >(val6); Fl::set_boxtype(arg1,arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_set_boxtype__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype arg1 ; Fl_Boxtype arg2 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_set_boxtype",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_set_boxtype" "', argument " "1"" of type '" "Fl_Boxtype""'"); } arg1 = static_cast< Fl_Boxtype >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_set_boxtype" "', argument " "2"" of type '" "Fl_Boxtype""'"); } arg2 = static_cast< Fl_Boxtype >(val2); Fl::set_boxtype(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_set_boxtype(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_set_boxtype__SWIG_1(self, args); } if (argc == 6) { return _wrap_Fl_set_boxtype__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_set_boxtype'.\n" " Possible C/C++ prototypes are:\n" " Fl::set_boxtype(Fl_Boxtype,Fl_Box_Draw_F *,uchar,uchar,uchar,uchar)\n" " Fl::set_boxtype(Fl_Boxtype,Fl_Boxtype)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_box_dx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_box_dx",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_box_dx" "', argument " "1"" of type '" "Fl_Boxtype""'"); } arg1 = static_cast< Fl_Boxtype >(val1); result = (int)Fl::box_dx(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_box_dy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_box_dy",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_box_dy" "', argument " "1"" of type '" "Fl_Boxtype""'"); } arg1 = static_cast< Fl_Boxtype >(val1); result = (int)Fl::box_dy(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_box_dw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_box_dw",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_box_dw" "', argument " "1"" of type '" "Fl_Boxtype""'"); } arg1 = static_cast< Fl_Boxtype >(val1); result = (int)Fl::box_dw(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_box_dh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_box_dh",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_box_dh" "', argument " "1"" of type '" "Fl_Boxtype""'"); } arg1 = static_cast< Fl_Boxtype >(val1); result = (int)Fl::box_dh(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_draw_box_active(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::draw_box_active(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_set_abort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Abort_Handler arg1 = (Fl_Abort_Handler) 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_set_abort",1,1,&obj0)) SWIG_fail; { int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char_v_______void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_set_abort" "', argument " "1"" of type '" "Fl_Abort_Handler""'"); } } Fl::set_abort(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_default_atclose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_default_atclose",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_default_atclose" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_default_atclose" "', argument " "2"" of type '" "void *""'"); } Fl::default_atclose(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_set_atclose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Atclose_Handler arg1 = (Fl_Atclose_Handler) 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_set_atclose",1,1,&obj0)) SWIG_fail; { int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_Fl_Window_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_set_atclose" "', argument " "1"" of type '" "Fl_Atclose_Handler""'"); } } Fl::set_atclose(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_shift(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_shift(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_ctrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_ctrl(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_command(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_command(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_alt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_alt(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_buttons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_buttons(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_button1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_button1(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_button2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_button2(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_event_button3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::event_button3(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_set_idle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Old_Idle_Handler arg1 = (Fl_Old_Idle_Handler) 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_set_idle",1,1,&obj0)) SWIG_fail; { int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f___void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_set_idle" "', argument " "1"" of type '" "Fl_Old_Idle_Handler""'"); } } Fl::set_idle(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl::release(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_visible_focus__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_visible_focus",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_visible_focus" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); Fl::visible_focus(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_visible_focus__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::visible_focus(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_visible_focus(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_visible_focus__SWIG_1(self, args); } if (argc == 1) { return _wrap_Fl_visible_focus__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_visible_focus'.\n" " Possible C/C++ prototypes are:\n" " Fl::visible_focus(int)\n" " Fl::visible_focus()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_dnd_text_ops__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_dnd_text_ops",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_dnd_text_ops" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); Fl::dnd_text_ops(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_dnd_text_ops__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl::dnd_text_ops(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_dnd_text_ops(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_dnd_text_ops__SWIG_1(self, args); } if (argc == 1) { return _wrap_Fl_dnd_text_ops__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_dnd_text_ops'.\n" " Possible C/C++ prototypes are:\n" " Fl::dnd_text_ops(int)\n" " Fl::dnd_text_ops()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_awake__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Awake_Handler arg1 = (Fl_Awake_Handler) 0 ; void *arg2 = (void *) 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_awake",1,2,&obj0,&obj1)) SWIG_fail; { int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_awake" "', argument " "1"" of type '" "Fl_Awake_Handler""'"); } } if (obj1) { res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_awake" "', argument " "2"" of type '" "void *""'"); } } result = (int)Fl::awake(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_delete_widget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_delete_widget",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_delete_widget" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); Fl::delete_widget(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_do_widget_deletion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl::do_widget_deletion(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_watch_widget_pointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget **arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_watch_widget_pointer",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_p_Fl_Widget, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_watch_widget_pointer" "', argument " "1"" of type '" "Fl_Widget *&""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_watch_widget_pointer" "', argument " "1"" of type '" "Fl_Widget *&""'"); } arg1 = reinterpret_cast< Fl_Widget ** >(argp1); Fl::watch_widget_pointer(*arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_release_widget_pointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget **arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_release_widget_pointer",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_p_Fl_Widget, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_release_widget_pointer" "', argument " "1"" of type '" "Fl_Widget *&""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_release_widget_pointer" "', argument " "1"" of type '" "Fl_Widget *&""'"); } arg1 = reinterpret_cast< Fl_Widget ** >(argp1); Fl::release_widget_pointer(*arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_clear_widget_pointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_clear_widget_pointer",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_clear_widget_pointer" "', argument " "1"" of type '" "Fl_Widget const *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); Fl::clear_widget_pointer((Fl_Widget const *)arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_lock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_cond_lock(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_unlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_cond_unlock(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_awake__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; void *arg1 = (void *) 0 ; int res1 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_awake",0,1,&obj0)) SWIG_fail; if (obj0) { res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_awake" "', argument " "1"" of type '" "void *""'"); } } Fl_cond_awake__SWIG_1(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_awake(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 0) && (argc <= 1)) { int _v = 0; if (argc > 0) { { void *ptr = 0; int res = SWIG_ConvertPtr(argv[0], &ptr, 0, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; } return _wrap_Fl_awake__SWIG_1(self, args); } check_1: if ((argc >= 1) && (argc <= 2)) { return _wrap_Fl_awake__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_awake'.\n" " Possible C/C++ prototypes are:\n" " Fl::awake(Fl_Awake_Handler,void *)\n" " Fl::Fl_cond_awake__SWIG_1(void *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_thread_message(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_cond_thread_message(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl *arg1 = (Fl *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl" "', argument " "1"" of type '" "Fl *""'"); } arg1 = reinterpret_cast< Fl * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Widget_Tracker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Widget_Tracker *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Widget_Tracker",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Fl_Widget_Tracker" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); result = (Fl_Widget_Tracker *)new Fl_Widget_Tracker(arg1); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget_Tracker, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Widget_Tracker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget_Tracker *arg1 = (Fl_Widget_Tracker *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Widget_Tracker",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget_Tracker, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Widget_Tracker" "', argument " "1"" of type '" "Fl_Widget_Tracker *""'"); } arg1 = reinterpret_cast< Fl_Widget_Tracker * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_Tracker_widget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget_Tracker *arg1 = (Fl_Widget_Tracker *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Widget *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_Tracker_widget",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget_Tracker, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_Tracker_widget" "', argument " "1"" of type '" "Fl_Widget_Tracker *""'"); } arg1 = reinterpret_cast< Fl_Widget_Tracker * >(argp1); result = (Fl_Widget *)(arg1)->widget(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_Tracker_deleted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget_Tracker *arg1 = (Fl_Widget_Tracker *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_Tracker_deleted",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget_Tracker, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_Tracker_deleted" "', argument " "1"" of type '" "Fl_Widget_Tracker *""'"); } arg1 = reinterpret_cast< Fl_Widget_Tracker * >(argp1); result = (int)(arg1)->deleted(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Widget_Tracker_exists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget_Tracker *arg1 = (Fl_Widget_Tracker *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Widget_Tracker_exists",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget_Tracker, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Widget_Tracker_exists" "', argument " "1"" of type '" "Fl_Widget_Tracker *""'"); } arg1 = reinterpret_cast< Fl_Widget_Tracker * >(argp1); result = (int)(arg1)->exists(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Widget_Tracker_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Widget_Tracker, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_pyFLTK_controlIdleCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"pyFLTK_controlIdleCallbacks",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pyFLTK_controlIdleCallbacks" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); pyFLTK_controlIdleCallbacks(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_name",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_name" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (char *)fl_filename_name((char const *)arg1); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_ext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_ext",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_ext" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (char *)fl_filename_ext((char const *)arg1); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_setext__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; int res1 ; char temp1[1024+1] ; char *t1 = 0 ; size_t n1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_setext",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &t1, &n1, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_setext" "', argument " "1"" of type '" "char *to""'"); } if ( n1 > (size_t) 1024 ) n1 = (size_t) 1024; memcpy(temp1, t1, sizeof(char)*n1); if (alloc1 == SWIG_NEWOBJ) delete[] t1; temp1[n1 - 1] = 0; arg1 = (char *) temp1; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_filename_setext" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_filename_setext" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (char *)fl_filename_setext(arg1,arg2,(char const *)arg3); resultobj = SWIG_FromCharPtr((const char *)result); arg1[1024] = 0; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg1)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_expand__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; int res1 ; char temp1[1024+1] ; char *t1 = 0 ; size_t n1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_expand",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &t1, &n1, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_expand" "', argument " "1"" of type '" "char *to""'"); } if ( n1 > (size_t) 1024 ) n1 = (size_t) 1024; memcpy(temp1, t1, sizeof(char)*n1); if (alloc1 == SWIG_NEWOBJ) delete[] t1; temp1[n1 - 1] = 0; arg1 = (char *) temp1; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_filename_expand" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_filename_expand" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (int)fl_filename_expand(arg1,arg2,(char const *)arg3); resultobj = SWIG_From_int(static_cast< int >(result)); arg1[1024] = 0; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg1)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_absolute__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; int res1 ; char temp1[1024+1] ; char *t1 = 0 ; size_t n1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_absolute",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &t1, &n1, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_absolute" "', argument " "1"" of type '" "char *to""'"); } if ( n1 > (size_t) 1024 ) n1 = (size_t) 1024; memcpy(temp1, t1, sizeof(char)*n1); if (alloc1 == SWIG_NEWOBJ) delete[] t1; temp1[n1 - 1] = 0; arg1 = (char *) temp1; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_filename_absolute" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_filename_absolute" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (int)fl_filename_absolute(arg1,arg2,(char const *)arg3); resultobj = SWIG_From_int(static_cast< int >(result)); arg1[1024] = 0; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg1)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_relative__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; int res1 ; char temp1[1024+1] ; char *t1 = 0 ; size_t n1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_relative",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &t1, &n1, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_relative" "', argument " "1"" of type '" "char *to""'"); } if ( n1 > (size_t) 1024 ) n1 = (size_t) 1024; memcpy(temp1, t1, sizeof(char)*n1); if (alloc1 == SWIG_NEWOBJ) delete[] t1; temp1[n1 - 1] = 0; arg1 = (char *) temp1; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_filename_relative" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_filename_relative" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (int)fl_filename_relative(arg1,arg2,(char const *)arg3); resultobj = SWIG_From_int(static_cast< int >(result)); arg1[1024] = 0; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg1)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_match(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_match",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_match" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_filename_match" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)fl_filename_match((char const *)arg1,(char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_isdir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_isdir",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_isdir" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (int)fl_filename_isdir((char const *)arg1); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_setext__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char temp1[1024+1] ; char *t1 = 0 ; size_t n1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_setext",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &t1, &n1, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_setext" "', argument " "1"" of type '" "char *to""'"); } if ( n1 > (size_t) 1024 ) n1 = (size_t) 1024; memcpy(temp1, t1, sizeof(char)*n1); if (alloc1 == SWIG_NEWOBJ) delete[] t1; temp1[n1 - 1] = 0; arg1 = (char *) temp1; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_filename_setext" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (char *)fl_filename_setext(arg1,(char const *)arg2); resultobj = SWIG_FromCharPtr((const char *)result); arg1[1024] = 0; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg1)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_setext(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_fl_filename_setext__SWIG_1(self, args); } if (argc == 3) { return _wrap_fl_filename_setext__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_filename_setext'.\n" " Possible C/C++ prototypes are:\n" " fl_filename_setext(char *,int,char const *)\n" " fl_filename_setext(char *,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_filename_expand__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char temp1[1024+1] ; char *t1 = 0 ; size_t n1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_expand",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &t1, &n1, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_expand" "', argument " "1"" of type '" "char *to""'"); } if ( n1 > (size_t) 1024 ) n1 = (size_t) 1024; memcpy(temp1, t1, sizeof(char)*n1); if (alloc1 == SWIG_NEWOBJ) delete[] t1; temp1[n1 - 1] = 0; arg1 = (char *) temp1; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_filename_expand" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)fl_filename_expand(arg1,(char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); arg1[1024] = 0; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg1)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_expand(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_fl_filename_expand__SWIG_1(self, args); } if (argc == 3) { return _wrap_fl_filename_expand__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_filename_expand'.\n" " Possible C/C++ prototypes are:\n" " fl_filename_expand(char *,int,char const *)\n" " fl_filename_expand(char *,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_filename_absolute__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char temp1[1024+1] ; char *t1 = 0 ; size_t n1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_absolute",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &t1, &n1, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_absolute" "', argument " "1"" of type '" "char *to""'"); } if ( n1 > (size_t) 1024 ) n1 = (size_t) 1024; memcpy(temp1, t1, sizeof(char)*n1); if (alloc1 == SWIG_NEWOBJ) delete[] t1; temp1[n1 - 1] = 0; arg1 = (char *) temp1; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_filename_absolute" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)fl_filename_absolute(arg1,(char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); arg1[1024] = 0; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg1)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_absolute(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_fl_filename_absolute__SWIG_1(self, args); } if (argc == 3) { return _wrap_fl_filename_absolute__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_filename_absolute'.\n" " Possible C/C++ prototypes are:\n" " fl_filename_absolute(char *,int,char const *)\n" " fl_filename_absolute(char *,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_filename_relative__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; int res1 ; char temp1[1024+1] ; char *t1 = 0 ; size_t n1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_relative",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &t1, &n1, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_relative" "', argument " "1"" of type '" "char *to""'"); } if ( n1 > (size_t) 1024 ) n1 = (size_t) 1024; memcpy(temp1, t1, sizeof(char)*n1); if (alloc1 == SWIG_NEWOBJ) delete[] t1; temp1[n1 - 1] = 0; arg1 = (char *) temp1; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_filename_relative" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_filename_relative" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "fl_filename_relative" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); result = (int)fl_filename_relative(arg1,arg2,(char const *)arg3,(char const *)arg4); resultobj = SWIG_From_int(static_cast< int >(result)); arg1[1024] = 0; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg1)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_relative__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char temp1[1024+1] ; char *t1 = 0 ; size_t n1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_relative",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &t1, &n1, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_relative" "', argument " "1"" of type '" "char *to""'"); } if ( n1 > (size_t) 1024 ) n1 = (size_t) 1024; memcpy(temp1, t1, sizeof(char)*n1); if (alloc1 == SWIG_NEWOBJ) delete[] t1; temp1[n1 - 1] = 0; arg1 = (char *) temp1; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_filename_relative" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)fl_filename_relative(arg1,(char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); arg1[1024] = 0; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg1)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_filename_relative(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_fl_filename_relative__SWIG_2(self, args); } if (argc == 3) { return _wrap_fl_filename_relative__SWIG_0(self, args); } if (argc == 4) { return _wrap_fl_filename_relative__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_filename_relative'.\n" " Possible C/C++ prototypes are:\n" " fl_filename_relative(char *,int,char const *)\n" " fl_filename_relative(char *,int,char const *,char const *)\n" " fl_filename_relative(char *,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_filename_free_list(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; dirent ***arg1 = (dirent ***) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_filename_free_list",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_p_p_dirent, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_filename_free_list" "', argument " "1"" of type '" "dirent ***""'"); } arg1 = reinterpret_cast< dirent *** >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_filename_free_list" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); fl_filename_free_list(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_open_uri(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) (char *) 0 ; int arg3 = (int) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_open_uri",1,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_open_uri" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_open_uri" "', argument " "2"" of type '" "char *""'"); } arg2 = reinterpret_cast< char * >(buf2); } if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_open_uri" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)fl_open_uri((char const *)arg1,arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap__fl_filename_isdir_quick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"_fl_filename_isdir_quick",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_fl_filename_isdir_quick" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (int)_fl_filename_isdir_quick((char const *)arg1); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_bounds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; double arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_bounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_bounds" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Valuator_bounds" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Valuator_bounds" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); (arg1)->bounds(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_minimum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_minimum",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_minimum" "', argument " "1"" of type '" "Fl_Valuator const *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); result = (double)((Fl_Valuator const *)arg1)->minimum(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_minimum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_minimum",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_minimum" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Valuator_minimum" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->minimum(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_minimum(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Valuator_minimum__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Valuator_minimum__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Valuator_minimum'.\n" " Possible C/C++ prototypes are:\n" " Fl_Valuator::minimum() const\n" " Fl_Valuator::minimum(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Valuator_maximum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_maximum",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_maximum" "', argument " "1"" of type '" "Fl_Valuator const *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); result = (double)((Fl_Valuator const *)arg1)->maximum(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_maximum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_maximum",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_maximum" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Valuator_maximum" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->maximum(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_maximum(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Valuator_maximum__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Valuator_maximum__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Valuator_maximum'.\n" " Possible C/C++ prototypes are:\n" " Fl_Valuator::maximum() const\n" " Fl_Valuator::maximum(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Valuator_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; double arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_range",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_range" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Valuator_range" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Valuator_range" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); (arg1)->range(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_step__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_step",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_step" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Valuator_step" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->step(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_step__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; double arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_step",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_step" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Valuator_step" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Valuator_step" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->step(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_step__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_step",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_step" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Valuator_step" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->step(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_step__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_step",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_step" "', argument " "1"" of type '" "Fl_Valuator const *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); result = (double)((Fl_Valuator const *)arg1)->step(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_step(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Valuator_step__SWIG_3(self, args); } if (argc == 2) { int _v = 0; { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_2; return _wrap_Fl_Valuator_step__SWIG_0(self, args); } check_2: if (argc == 2) { return _wrap_Fl_Valuator_step__SWIG_2(self, args); } if (argc == 3) { return _wrap_Fl_Valuator_step__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Valuator_step'.\n" " Possible C/C++ prototypes are:\n" " Fl_Valuator::step(int)\n" " Fl_Valuator::step(double,int)\n" " Fl_Valuator::step(double)\n" " Fl_Valuator::step() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Valuator_precision(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_precision",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_precision" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Valuator_precision" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->precision(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_value" "', argument " "1"" of type '" "Fl_Valuator const *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); result = (double)((Fl_Valuator const *)arg1)->value(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_value" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Valuator_value" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); result = (int)(arg1)->value(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Valuator_value__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Valuator_value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Valuator_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Valuator::value() const\n" " Fl_Valuator::value(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Valuator_format(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char temp2[1024+1] ; char *t2 = 0 ; size_t n2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_format",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_format" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &t2, &n2, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Valuator_format" "', argument " "2"" of type '" "char* format_string""'"); } if ( n2 > (size_t) 1024 ) n2 = (size_t) 1024; memcpy(temp2, t2, sizeof(char)*n2); if (alloc2 == SWIG_NEWOBJ) delete[] t2; temp2[n2 - 1] = 0; arg2 = (char *) temp2; result = (int)(arg1)->format(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); arg2[1024] = 0; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg2)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_round(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_round",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_round" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Valuator_round" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); result = (double)(arg1)->round(arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_clamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_clamp",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_clamp" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Valuator_clamp" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); result = (double)(arg1)->clamp(arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Valuator_increment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; double arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Valuator_increment",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Valuator_increment" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Valuator_increment" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Valuator_increment" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (double)(arg1)->increment(arg2,arg3); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Valuator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Valuator *arg1 = (Fl_Valuator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Valuator",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Valuator, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Valuator" "', argument " "1"" of type '" "Fl_Valuator *""'"); } arg1 = reinterpret_cast< Fl_Valuator * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Valuator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Valuator, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Adjuster_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Adjuster *arg1 = (Fl_Adjuster *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Adjuster *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Adjuster_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Adjuster, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Adjuster_draw" "', argument " "1"" of type '" "Fl_Adjuster *""'"); } arg1 = reinterpret_cast< Fl_Adjuster * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Adjuster_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Adjuster *arg1 = (Fl_Adjuster *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Adjuster *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Adjuster_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Adjuster, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Adjuster_handle" "', argument " "1"" of type '" "Fl_Adjuster *""'"); } arg1 = reinterpret_cast< Fl_Adjuster * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Adjuster_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("handle"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member handle"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)(darg)->handleSwigPublic(arg2); } else { result = (int)(darg)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Adjuster(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Adjuster *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Adjuster",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Adjuster" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Adjuster" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Adjuster" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Adjuster" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Adjuster" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Adjuster *)new SwigDirector_Fl_Adjuster(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Adjuster *)new Fl_Adjuster(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Adjuster, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Adjuster_soft__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Adjuster *arg1 = (Fl_Adjuster *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Adjuster_soft",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Adjuster, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Adjuster_soft" "', argument " "1"" of type '" "Fl_Adjuster *""'"); } arg1 = reinterpret_cast< Fl_Adjuster * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Adjuster_soft" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->soft(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Adjuster_soft__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Adjuster *arg1 = (Fl_Adjuster *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Adjuster_soft",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Adjuster, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Adjuster_soft" "', argument " "1"" of type '" "Fl_Adjuster const *""'"); } arg1 = reinterpret_cast< Fl_Adjuster * >(argp1); result = (int)((Fl_Adjuster const *)arg1)->soft(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Adjuster_soft(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Adjuster_soft__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Adjuster_soft__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Adjuster_soft'.\n" " Possible C/C++ prototypes are:\n" " Fl_Adjuster::soft(int)\n" " Fl_Adjuster::soft() const\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Adjuster(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Adjuster *arg1 = (Fl_Adjuster *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Adjuster",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Adjuster, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Adjuster" "', argument " "1"" of type '" "Fl_Adjuster *""'"); } arg1 = reinterpret_cast< Fl_Adjuster * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Adjuster(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Adjuster *arg1 = (Fl_Adjuster *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Adjuster",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Adjuster, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Adjuster" "', argument " "1"" of type '" "Fl_Adjuster *""'"); } arg1 = reinterpret_cast< Fl_Adjuster * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Adjuster_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Adjuster, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_fl_beep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 = (int) FL_BEEP_DEFAULT ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_beep",0,1,&obj0)) SWIG_fail; if (obj0) { ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_beep" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); } fl_beep(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_message__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; void *arg2 = 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_message",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_message" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_message((char const *)arg1,arg2); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_message(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj; PyObject *varargs; PyObject *newargs; newargs = PyTuple_GetSlice(args,0,1); varargs = PyTuple_GetSlice(args,1,PyTuple_Size(args)+1); resultobj = _wrap_fl_message__varargs__(NULL,newargs,varargs); Py_XDECREF(newargs); Py_XDECREF(varargs); return resultobj; } SWIGINTERN PyObject *_wrap_fl_alert__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; void *arg2 = 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_alert",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_alert" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_alert((char const *)arg1,arg2); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_alert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj; PyObject *varargs; PyObject *newargs; newargs = PyTuple_GetSlice(args,0,1); varargs = PyTuple_GetSlice(args,1,PyTuple_Size(args)+1); resultobj = _wrap_fl_alert__varargs__(NULL,newargs,varargs); Py_XDECREF(newargs); Py_XDECREF(varargs); return resultobj; } SWIGINTERN PyObject *_wrap_fl_ask__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; void *arg2 = 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_ask",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_ask" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (int)fl_ask((char const *)arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_ask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj; PyObject *varargs; PyObject *newargs; newargs = PyTuple_GetSlice(args,0,1); varargs = PyTuple_GetSlice(args,1,PyTuple_Size(args)+1); resultobj = _wrap_fl_ask__varargs__(NULL,newargs,varargs); Py_XDECREF(newargs); Py_XDECREF(varargs); return resultobj; } SWIGINTERN PyObject *_wrap_fl_choice__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; void *arg5 = 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_choice",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_choice" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_choice" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_choice" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "fl_choice" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); result = (int)fl_choice((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_fl_choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj; PyObject *varargs; PyObject *newargs; newargs = PyTuple_GetSlice(args,0,4); varargs = PyTuple_GetSlice(args,4,PyTuple_Size(args)+1); resultobj = _wrap_fl_choice__varargs__(NULL,newargs,varargs); Py_XDECREF(newargs); Py_XDECREF(varargs); return resultobj; } SWIGINTERN PyObject *_wrap_fl_message_icon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *result = 0 ; result = (Fl_Widget *)fl_message_icon(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_message_font(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Font arg1 ; Fl_Fontsize arg2 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_message_font",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_message_font" "', argument " "1"" of type '" "Fl_Font""'"); } arg1 = static_cast< Fl_Font >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_message_font" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); fl_message_font(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_message_hotspot__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_message_hotspot",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_message_hotspot" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); fl_message_hotspot(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_message_hotspot__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)fl_message_hotspot(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_message_hotspot(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_fl_message_hotspot__SWIG_1(self, args); } if (argc == 1) { return _wrap_fl_message_hotspot__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_message_hotspot'.\n" " Possible C/C++ prototypes are:\n" " fl_message_hotspot(int)\n" " fl_message_hotspot()\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_message_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_message_title",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_message_title" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_message_title((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_message_title_default(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_message_title_default",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_message_title_default" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_message_title_default((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_input",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_input" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_input" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); } result = (char *)fl_vararg_input((char const *)arg1,(char const *)arg2); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_password(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_password",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_password" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_password" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); } result = (char *)fl_vararg_password((char const *)arg1,(char const *)arg2); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_no_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *result = 0 ; result = (char *)fl_no_get(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_yes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *result = 0 ; result = (char *)fl_yes_get(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_ok_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *result = 0 ; result = (char *)fl_ok_get(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_cancel_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *result = 0 ; result = (char *)fl_cancel_get(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_close_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *result = 0 ; result = (char *)fl_close_get(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_no_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_no_set",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_no_set" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_no_set((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_yes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_yes_set",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_yes_set" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_yes_set((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_ok_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_ok_set",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_ok_set" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_ok_set((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_cancel_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_cancel_set",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_cancel_set" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_cancel_set((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_close_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_close_set",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_close_set" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_close_set((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_mt_message(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_mt_message",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_mt_message" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_mt_message((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_mt_alert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_mt_alert",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_mt_alert" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_mt_alert((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_mt_ask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_mt_ask",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_mt_ask" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (int)fl_mt_ask((char const *)arg1); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_mt_choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_mt_choice",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_mt_choice" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_mt_choice" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_mt_choice" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "fl_mt_choice" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); result = (int)fl_mt_choice((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_fl_mt_input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_mt_input",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_mt_input" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_mt_input" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); } result = (char *)fl_mt_input((char const *)arg1,(char const *)arg2); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_mt_password(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_mt_password",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_mt_password" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_mt_password" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); } result = (char *)fl_mt_password((char const *)arg1,(char const *)arg2); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_w(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_w",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_w" "', argument " "1"" of type '" "Fl_Image const *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); result = (int)((Fl_Image const *)arg1)->w(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_h(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_h",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_h" "', argument " "1"" of type '" "Fl_Image const *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); result = (int)((Fl_Image const *)arg1)->h(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_d",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_d" "', argument " "1"" of type '" "Fl_Image const *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); result = (int)((Fl_Image const *)arg1)->d(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_ld(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_ld",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_ld" "', argument " "1"" of type '" "Fl_Image const *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); result = (int)((Fl_Image const *)arg1)->ld(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_count",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_count" "', argument " "1"" of type '" "Fl_Image const *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); result = (int)((Fl_Image const *)arg1)->count(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char **result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_data",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_data" "', argument " "1"" of type '" "Fl_Image const *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); result = (char **)((Fl_Image const *)arg1)->data(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_char, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Image",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Image" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Image" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Image" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Image *)new SwigDirector_Fl_Image(arg1,arg2,arg3,arg4); } else { result = (Fl_Image *)new Fl_Image(arg2,arg3,arg4); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Image" "', argument " "1"" of type '" "Fl_Image *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_copy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_copy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_copy" "', argument " "1"" of type '" "Fl_Image *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Image_copy" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Image_copy" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (Fl_Image *)(arg1)->Fl_Image::copy(arg2,arg3); } else { result = (Fl_Image *)(arg1)->copy(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, SWIG_POINTER_OWN | 0 ); } if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_copy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_copy",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_copy" "', argument " "1"" of type '" "Fl_Image *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); result = (Fl_Image *)(arg1)->copy(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, SWIG_POINTER_OWN | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_copy(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Image_copy__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Image_copy__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Image_copy'.\n" " Possible C/C++ prototypes are:\n" " Fl_Image::copy(int,int)\n" " Fl_Image::copy()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Image_color_average(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; Fl_Color arg2 ; float arg3 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; float val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_color_average",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_color_average" "', argument " "1"" of type '" "Fl_Image *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Image_color_average" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Image_color_average" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Image::color_average(arg2,arg3); } else { (arg1)->color_average(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_inactive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_inactive",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_inactive" "', argument " "1"" of type '" "Fl_Image *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); (arg1)->inactive(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_desaturate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_desaturate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_desaturate" "', argument " "1"" of type '" "Fl_Image *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Image::desaturate(); } else { (arg1)->desaturate(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_label__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_label" "', argument " "1"" of type '" "Fl_Image *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Image_label" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Image::label(arg2); } else { (arg1)->label(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_label__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; Fl_Menu_Item *arg2 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_label" "', argument " "1"" of type '" "Fl_Image *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Image_label" "', argument " "2"" of type '" "Fl_Menu_Item *""'"); } arg2 = reinterpret_cast< Fl_Menu_Item * >(argp2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Image::label(arg2); } else { (arg1)->label(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_label(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Widget, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Image_label__SWIG_0(self, args); } check_1: if (argc == 2) { return _wrap_Fl_Image_label__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Image_label'.\n" " Possible C/C++ prototypes are:\n" " Fl_Image::label(Fl_Widget *)\n" " Fl_Image::label(Fl_Menu_Item *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Image_draw__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 = (int) 0 ; int arg7 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_draw",5,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_draw" "', argument " "1"" of type '" "Fl_Image *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Image_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Image_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Image_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Image_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Image_draw" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Image_draw" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Image::draw(arg2,arg3,arg4,arg5,arg6,arg7); } else { (arg1)->draw(arg2,arg3,arg4,arg5,arg6,arg7); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_draw__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_draw",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_draw" "', argument " "1"" of type '" "Fl_Image *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Image_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Image_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->draw(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Image_draw(PyObject *self, PyObject *args) { int argc; PyObject *argv[8]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { return _wrap_Fl_Image_draw__SWIG_1(self, args); } if ((argc >= 5) && (argc <= 7)) { return _wrap_Fl_Image_draw__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Image_draw'.\n" " Possible C/C++ prototypes are:\n" " Fl_Image::draw(int,int,int,int,int,int)\n" " Fl_Image::draw(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Image_uncache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Image_uncache",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Image_uncache" "', argument " "1"" of type '" "Fl_Image *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Image::uncache(); } else { (arg1)->uncache(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Image *arg1 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Image" "', argument " "1"" of type '" "Fl_Image *""'"); } arg1 = reinterpret_cast< Fl_Image * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Image_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Image, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_RGB_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; uchar *arg2 = (uchar *) 0 ; int arg3 ; int arg4 ; int arg5 = (int) 3 ; int arg6 = (int) 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_RGB_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_RGB_Image",4,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; { /* Check if the input support the buffer protocol */ Py_ssize_t size_buffer; const void * buffer; int failure = PyObject_AsReadBuffer(obj1,&buffer,&size_buffer); if (!failure) { // work with array object arg2 = (uchar *) buffer; } else { // work with list object // clear the error from PyObject_AsReadBuffer PyErr_Clear(); size_buffer=0; buffer=0; /* Check if is a list */ if (PyList_Check(obj1)) { int size = PyList_Size(obj1); int i = 0; arg2 = (uchar *) malloc((size+1)*sizeof(char)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj1,i); if (PyInt_Check(o)) arg2[i] = (uchar)PyInt_AsLong(o); else { PyErr_SetString(PyExc_TypeError,"list must contain ints"); free(arg2); return NULL; } } arg2[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list or does not support single-segment readable buffer interface"); return NULL; } } } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_RGB_Image" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_RGB_Image" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); if (obj4) { ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_RGB_Image" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); } if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Fl_RGB_Image" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_RGB_Image *)new SwigDirector_Fl_RGB_Image(arg1,(uchar const *)arg2,arg3,arg4,arg5,arg6); } else { result = (Fl_RGB_Image *)new Fl_RGB_Image((uchar const *)arg2,arg3,arg4,arg5,arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_RGB_Image, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_RGB_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_RGB_Image *arg1 = (Fl_RGB_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_RGB_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_RGB_Image, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_RGB_Image" "', argument " "1"" of type '" "Fl_RGB_Image *""'"); } arg1 = reinterpret_cast< Fl_RGB_Image * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_RGB_Image_copy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_RGB_Image *arg1 = (Fl_RGB_Image *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_RGB_Image_copy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_RGB_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_RGB_Image_copy" "', argument " "1"" of type '" "Fl_RGB_Image *""'"); } arg1 = reinterpret_cast< Fl_RGB_Image * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_RGB_Image_copy" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_RGB_Image_copy" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (Fl_Image *)(arg1)->Fl_RGB_Image::copy(arg2,arg3); } else { result = (Fl_Image *)(arg1)->copy(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, SWIG_POINTER_OWN | 0 ); } if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_RGB_Image_copy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_RGB_Image *arg1 = (Fl_RGB_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_RGB_Image_copy",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_RGB_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_RGB_Image_copy" "', argument " "1"" of type '" "Fl_RGB_Image *""'"); } arg1 = reinterpret_cast< Fl_RGB_Image * >(argp1); result = (Fl_Image *)(arg1)->copy(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, SWIG_POINTER_OWN | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_RGB_Image_copy(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_RGB_Image_copy__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_RGB_Image_copy__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_RGB_Image_copy'.\n" " Possible C/C++ prototypes are:\n" " Fl_RGB_Image::copy(int,int)\n" " Fl_RGB_Image::copy()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_RGB_Image_color_average(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_RGB_Image *arg1 = (Fl_RGB_Image *) 0 ; Fl_Color arg2 ; float arg3 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; float val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_RGB_Image_color_average",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_RGB_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_RGB_Image_color_average" "', argument " "1"" of type '" "Fl_RGB_Image *""'"); } arg1 = reinterpret_cast< Fl_RGB_Image * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_RGB_Image_color_average" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_RGB_Image_color_average" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_RGB_Image::color_average(arg2,arg3); } else { (arg1)->color_average(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_RGB_Image_desaturate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_RGB_Image *arg1 = (Fl_RGB_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_RGB_Image_desaturate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_RGB_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_RGB_Image_desaturate" "', argument " "1"" of type '" "Fl_RGB_Image *""'"); } arg1 = reinterpret_cast< Fl_RGB_Image * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_RGB_Image::desaturate(); } else { (arg1)->desaturate(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_RGB_Image_draw__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_RGB_Image *arg1 = (Fl_RGB_Image *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 = (int) 0 ; int arg7 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_RGB_Image_draw",5,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_RGB_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_RGB_Image_draw" "', argument " "1"" of type '" "Fl_RGB_Image *""'"); } arg1 = reinterpret_cast< Fl_RGB_Image * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_RGB_Image_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_RGB_Image_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_RGB_Image_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_RGB_Image_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_RGB_Image_draw" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_RGB_Image_draw" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_RGB_Image::draw(arg2,arg3,arg4,arg5,arg6,arg7); } else { (arg1)->draw(arg2,arg3,arg4,arg5,arg6,arg7); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_RGB_Image_draw__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_RGB_Image *arg1 = (Fl_RGB_Image *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_RGB_Image_draw",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_RGB_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_RGB_Image_draw" "', argument " "1"" of type '" "Fl_RGB_Image *""'"); } arg1 = reinterpret_cast< Fl_RGB_Image * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_RGB_Image_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_RGB_Image_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->draw(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_RGB_Image_draw(PyObject *self, PyObject *args) { int argc; PyObject *argv[8]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { return _wrap_Fl_RGB_Image_draw__SWIG_1(self, args); } if ((argc >= 5) && (argc <= 7)) { return _wrap_Fl_RGB_Image_draw__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_RGB_Image_draw'.\n" " Possible C/C++ prototypes are:\n" " Fl_RGB_Image::draw(int,int,int,int,int,int)\n" " Fl_RGB_Image::draw(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_RGB_Image_label__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_RGB_Image *arg1 = (Fl_RGB_Image *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_RGB_Image_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_RGB_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_RGB_Image_label" "', argument " "1"" of type '" "Fl_RGB_Image *""'"); } arg1 = reinterpret_cast< Fl_RGB_Image * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_RGB_Image_label" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_RGB_Image::label(arg2); } else { (arg1)->label(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_RGB_Image_label__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_RGB_Image *arg1 = (Fl_RGB_Image *) 0 ; Fl_Menu_Item *arg2 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_RGB_Image_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_RGB_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_RGB_Image_label" "', argument " "1"" of type '" "Fl_RGB_Image *""'"); } arg1 = reinterpret_cast< Fl_RGB_Image * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_RGB_Image_label" "', argument " "2"" of type '" "Fl_Menu_Item *""'"); } arg2 = reinterpret_cast< Fl_Menu_Item * >(argp2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_RGB_Image::label(arg2); } else { (arg1)->label(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_RGB_Image_label(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Widget, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_RGB_Image_label__SWIG_0(self, args); } check_1: if (argc == 2) { return _wrap_Fl_RGB_Image_label__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_RGB_Image_label'.\n" " Possible C/C++ prototypes are:\n" " Fl_RGB_Image::label(Fl_Widget *)\n" " Fl_RGB_Image::label(Fl_Menu_Item *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_RGB_Image_uncache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_RGB_Image *arg1 = (Fl_RGB_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_RGB_Image_uncache",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_RGB_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_RGB_Image_uncache" "', argument " "1"" of type '" "Fl_RGB_Image *""'"); } arg1 = reinterpret_cast< Fl_RGB_Image * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_RGB_Image::uncache(); } else { (arg1)->uncache(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_RGB_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_RGB_Image *arg1 = (Fl_RGB_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_RGB_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_RGB_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_RGB_Image" "', argument " "1"" of type '" "Fl_RGB_Image *""'"); } arg1 = reinterpret_cast< Fl_RGB_Image * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_RGB_Image_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_RGB_Image, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Bitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; uchar *arg2 = (uchar *) 0 ; int arg3 ; int arg4 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Fl_Bitmap *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Bitmap",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; arg1 = obj0; { /* Check if the input support the buffer protocol */ Py_ssize_t size_buffer; const void * buffer; int failure = PyObject_AsReadBuffer(obj1,&buffer,&size_buffer); if (!failure) { // work with array object arg2 = (uchar *) buffer; } else { // work with list object // clear the error from PyObject_AsReadBuffer PyErr_Clear(); size_buffer=0; buffer=0; /* Check if is a list */ if (PyList_Check(obj1)) { int size = PyList_Size(obj1); int i = 0; arg2 = (uchar *) malloc((size+1)*sizeof(char)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj1,i); if (PyInt_Check(o)) arg2[i] = (char)PyInt_AsLong(o); else { PyErr_SetString(PyExc_TypeError,"list must contain ints"); free(arg2); return NULL; } } arg2[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list or does not support single-segment readable buffer interface"); return NULL; } } } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Bitmap" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Bitmap" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Bitmap *)new SwigDirector_Fl_Bitmap(arg1,(uchar const *)arg2,arg3,arg4); } else { result = (Fl_Bitmap *)new Fl_Bitmap((uchar const *)arg2,arg3,arg4); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Bitmap, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Bitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Bitmap *arg1 = (Fl_Bitmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Bitmap",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Bitmap, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Bitmap" "', argument " "1"" of type '" "Fl_Bitmap *""'"); } arg1 = reinterpret_cast< Fl_Bitmap * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Bitmap_copy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Bitmap *arg1 = (Fl_Bitmap *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Bitmap_copy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Bitmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Bitmap_copy" "', argument " "1"" of type '" "Fl_Bitmap *""'"); } arg1 = reinterpret_cast< Fl_Bitmap * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Bitmap_copy" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Bitmap_copy" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (Fl_Image *)(arg1)->Fl_Bitmap::copy(arg2,arg3); } else { result = (Fl_Image *)(arg1)->copy(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, SWIG_POINTER_OWN | 0 ); } if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Bitmap_copy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Bitmap *arg1 = (Fl_Bitmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Bitmap_copy",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Bitmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Bitmap_copy" "', argument " "1"" of type '" "Fl_Bitmap *""'"); } arg1 = reinterpret_cast< Fl_Bitmap * >(argp1); result = (Fl_Image *)(arg1)->copy(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, SWIG_POINTER_OWN | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Bitmap_copy(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Bitmap_copy__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Bitmap_copy__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Bitmap_copy'.\n" " Possible C/C++ prototypes are:\n" " Fl_Bitmap::copy(int,int)\n" " Fl_Bitmap::copy()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Bitmap_draw__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Bitmap *arg1 = (Fl_Bitmap *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 = (int) 0 ; int arg7 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Bitmap_draw",5,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Bitmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Bitmap_draw" "', argument " "1"" of type '" "Fl_Bitmap *""'"); } arg1 = reinterpret_cast< Fl_Bitmap * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Bitmap_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Bitmap_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Bitmap_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Bitmap_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Bitmap_draw" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Bitmap_draw" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Bitmap::draw(arg2,arg3,arg4,arg5,arg6,arg7); } else { (arg1)->draw(arg2,arg3,arg4,arg5,arg6,arg7); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Bitmap_draw__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Bitmap *arg1 = (Fl_Bitmap *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Bitmap_draw",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Bitmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Bitmap_draw" "', argument " "1"" of type '" "Fl_Bitmap *""'"); } arg1 = reinterpret_cast< Fl_Bitmap * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Bitmap_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Bitmap_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->draw(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Bitmap_draw(PyObject *self, PyObject *args) { int argc; PyObject *argv[8]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { return _wrap_Fl_Bitmap_draw__SWIG_1(self, args); } if ((argc >= 5) && (argc <= 7)) { return _wrap_Fl_Bitmap_draw__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Bitmap_draw'.\n" " Possible C/C++ prototypes are:\n" " Fl_Bitmap::draw(int,int,int,int,int,int)\n" " Fl_Bitmap::draw(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Bitmap_label__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Bitmap *arg1 = (Fl_Bitmap *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Bitmap_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Bitmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Bitmap_label" "', argument " "1"" of type '" "Fl_Bitmap *""'"); } arg1 = reinterpret_cast< Fl_Bitmap * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Bitmap_label" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Bitmap::label(arg2); } else { (arg1)->label(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Bitmap_label__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Bitmap *arg1 = (Fl_Bitmap *) 0 ; Fl_Menu_Item *arg2 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Bitmap_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Bitmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Bitmap_label" "', argument " "1"" of type '" "Fl_Bitmap *""'"); } arg1 = reinterpret_cast< Fl_Bitmap * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Bitmap_label" "', argument " "2"" of type '" "Fl_Menu_Item *""'"); } arg2 = reinterpret_cast< Fl_Menu_Item * >(argp2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Bitmap::label(arg2); } else { (arg1)->label(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Bitmap_label(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Widget, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Bitmap_label__SWIG_0(self, args); } check_1: if (argc == 2) { return _wrap_Fl_Bitmap_label__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Bitmap_label'.\n" " Possible C/C++ prototypes are:\n" " Fl_Bitmap::label(Fl_Widget *)\n" " Fl_Bitmap::label(Fl_Menu_Item *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Bitmap_uncache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Bitmap *arg1 = (Fl_Bitmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Bitmap_uncache",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Bitmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Bitmap_uncache" "', argument " "1"" of type '" "Fl_Bitmap *""'"); } arg1 = reinterpret_cast< Fl_Bitmap * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Bitmap::uncache(); } else { (arg1)->uncache(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Bitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Bitmap *arg1 = (Fl_Bitmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Bitmap",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Bitmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Bitmap" "', argument " "1"" of type '" "Fl_Bitmap *""'"); } arg1 = reinterpret_cast< Fl_Bitmap * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Bitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Bitmap, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_BMP_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; char *arg2 = (char *) 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_BMP_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_BMP_Image",2,2,&obj0,&obj1)) SWIG_fail; arg1 = obj0; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_BMP_Image" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_BMP_Image *)new SwigDirector_Fl_BMP_Image(arg1,(char const *)arg2); } else { result = (Fl_BMP_Image *)new Fl_BMP_Image((char const *)arg2); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_BMP_Image, SWIG_POINTER_NEW | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_BMP_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_BMP_Image *arg1 = (Fl_BMP_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_BMP_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_BMP_Image, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_BMP_Image" "', argument " "1"" of type '" "Fl_BMP_Image *""'"); } arg1 = reinterpret_cast< Fl_BMP_Image * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_BMP_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_BMP_Image *arg1 = (Fl_BMP_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_BMP_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_BMP_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_BMP_Image" "', argument " "1"" of type '" "Fl_BMP_Image *""'"); } arg1 = reinterpret_cast< Fl_BMP_Image * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_BMP_Image_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_BMP_Image, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Box_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Box *arg1 = (Fl_Box *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Box *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Box_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Box, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Box_draw" "', argument " "1"" of type '" "Fl_Box *""'"); } arg1 = reinterpret_cast< Fl_Box * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Box__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Box *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Box",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Box" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Box" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Box" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Box" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Box" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Box *)new SwigDirector_Fl_Box(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Box *)new Fl_Box(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Box, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Box__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; Fl_Boxtype arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; char *arg7 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int res7 ; char *buf7 = 0 ; int alloc7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; Fl_Box *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Box",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Box" "', argument " "2"" of type '" "Fl_Boxtype""'"); } arg2 = static_cast< Fl_Boxtype >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Box" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Box" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Box" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Fl_Box" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); res7 = SWIG_AsCharPtrAndSize(obj6, &buf7, NULL, &alloc7); if (!SWIG_IsOK(res7)) { SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Fl_Box" "', argument " "7"" of type '" "char const *""'"); } arg7 = reinterpret_cast< char * >(buf7); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Box *)new SwigDirector_Fl_Box(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7); } else { result = (Fl_Box *)new Fl_Box(arg2,arg3,arg4,arg5,arg6,(char const *)arg7); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Box, SWIG_POINTER_NEW | 0 ); if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return resultobj; fail: if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Box(PyObject *self, PyObject *args) { int argc; PyObject *argv[8]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 5) && (argc <= 6)) { return _wrap_new_Fl_Box__SWIG_0(self, args); } if (argc == 7) { return _wrap_new_Fl_Box__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_Box'.\n" " Possible C/C++ prototypes are:\n" " Fl_Box::Fl_Box(int,int,int,int,char const *)\n" " Fl_Box::Fl_Box(PyObject *,Fl_Boxtype,int,int,int,int,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Box_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Box *arg1 = (Fl_Box *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Box_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Box, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Box_handle" "', argument " "1"" of type '" "Fl_Box *""'"); } arg1 = reinterpret_cast< Fl_Box * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Box_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Box::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Box(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Box *arg1 = (Fl_Box *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Box",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Box, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Box" "', argument " "1"" of type '" "Fl_Box *""'"); } arg1 = reinterpret_cast< Fl_Box * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Box(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Box *arg1 = (Fl_Box *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Box",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Box, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Box" "', argument " "1"" of type '" "Fl_Box *""'"); } arg1 = reinterpret_cast< Fl_Box * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Box_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Box, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_fl_old_shortcut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; Fl_Shortcut result; if(!PyArg_UnpackTuple(args,(char *)"fl_old_shortcut",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_old_shortcut" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (Fl_Shortcut)fl_old_shortcut((char const *)arg1); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Button *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_draw" "', argument " "1"" of type '" "Fl_Button *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_handle" "', argument " "1"" of type '" "Fl_Button *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Button_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Button::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Button *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Button",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Button" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Button" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Button" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Button" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Button" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Button *)new SwigDirector_Fl_Button(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Button *)new Fl_Button(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Button, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_value" "', argument " "1"" of type '" "Fl_Button *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Button_value" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->value(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_value" "', argument " "1"" of type '" "Fl_Button const *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); result = (char)((Fl_Button const *)arg1)->value(); { resultobj = PyInt_FromLong( (long)result); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Button_value__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Button_value__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Button_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Button::value(int)\n" " Fl_Button::value() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_set",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_set" "', argument " "1"" of type '" "Fl_Button *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); result = (int)(arg1)->set(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_clear" "', argument " "1"" of type '" "Fl_Button *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); result = (int)(arg1)->clear(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_setonly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_setonly",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_setonly" "', argument " "1"" of type '" "Fl_Button *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); (arg1)->setonly(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_shortcut__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_shortcut",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_shortcut" "', argument " "1"" of type '" "Fl_Button const *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); result = (int)((Fl_Button const *)arg1)->shortcut(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_shortcut__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_shortcut",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_shortcut" "', argument " "1"" of type '" "Fl_Button *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Button_shortcut" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->shortcut(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_down_box__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Boxtype result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_down_box",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_down_box" "', argument " "1"" of type '" "Fl_Button const *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); result = (Fl_Boxtype)((Fl_Button const *)arg1)->down_box(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_down_box__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; Fl_Boxtype arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_down_box",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_down_box" "', argument " "1"" of type '" "Fl_Button *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Button_down_box" "', argument " "2"" of type '" "Fl_Boxtype""'"); } arg2 = static_cast< Fl_Boxtype >(val2); (arg1)->down_box(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_down_box(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Button_down_box__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Button_down_box__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Button_down_box'.\n" " Possible C/C++ prototypes are:\n" " Fl_Button::down_box() const\n" " Fl_Button::down_box(Fl_Boxtype)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Button_shortcut__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_shortcut",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_shortcut" "', argument " "1"" of type '" "Fl_Button *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Button_shortcut" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->shortcut((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_shortcut(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Button_shortcut__SWIG_0(self, args); } if (argc == 2) { int _v = 0; { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_2; return _wrap_Fl_Button_shortcut__SWIG_1(self, args); } check_2: if (argc == 2) { return _wrap_Fl_Button_shortcut__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Button_shortcut'.\n" " Possible C/C++ prototypes are:\n" " Fl_Button::shortcut() const\n" " Fl_Button::shortcut(int)\n" " Fl_Button::shortcut(char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Button_down_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_down_color",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_down_color" "', argument " "1"" of type '" "Fl_Button const *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); result = (Fl_Color)((Fl_Button const *)arg1)->down_color(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_down_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Button_down_color",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Button_down_color" "', argument " "1"" of type '" "Fl_Button *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Button_down_color" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); (arg1)->down_color(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Button_down_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Button_down_color__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Button_down_color__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Button_down_color'.\n" " Possible C/C++ prototypes are:\n" " Fl_Button::down_color() const\n" " Fl_Button::down_color(unsigned int)\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Button" "', argument " "1"" of type '" "Fl_Button *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Button *arg1 = (Fl_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Button" "', argument " "1"" of type '" "Fl_Button *""'"); } arg1 = reinterpret_cast< Fl_Button * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Button, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_FL_CHART_ENTRY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; FL_CHART_ENTRY *result = 0 ; result = (FL_CHART_ENTRY *)new FL_CHART_ENTRY(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FL_CHART_ENTRY, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_FL_CHART_ENTRY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; FL_CHART_ENTRY *arg1 = (FL_CHART_ENTRY *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_FL_CHART_ENTRY",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FL_CHART_ENTRY, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FL_CHART_ENTRY" "', argument " "1"" of type '" "FL_CHART_ENTRY *""'"); } arg1 = reinterpret_cast< FL_CHART_ENTRY * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *FL_CHART_ENTRY_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_FL_CHART_ENTRY, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Chart_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Chart *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_draw" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Chart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Chart *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Chart",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Chart" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Chart" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Chart" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Chart" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Chart" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Chart *)new SwigDirector_Fl_Chart(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Chart *)new Fl_Chart(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Chart, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Chart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Chart",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Chart" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_clear" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; double arg2 ; char *arg3 = (char *) 0 ; unsigned int arg4 = (unsigned int) 0 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; unsigned int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_add",2,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_add" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Chart_add" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); if (obj2) { res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Chart_add" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); } if (obj3) { ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Chart_add" "', argument " "4"" of type '" "unsigned int""'"); } arg4 = static_cast< unsigned int >(val4); } (arg1)->add(arg2,(char const *)arg3,arg4); resultobj = SWIG_Py_Void(); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; int arg2 ; double arg3 ; char *arg4 = (char *) 0 ; unsigned int arg5 = (unsigned int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; unsigned int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_insert",3,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_insert" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Chart_insert" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Chart_insert" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); if (obj3) { res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Chart_insert" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); } if (obj4) { ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Chart_insert" "', argument " "5"" of type '" "unsigned int""'"); } arg5 = static_cast< unsigned int >(val5); } (arg1)->insert(arg2,arg3,(char const *)arg4,arg5); resultobj = SWIG_Py_Void(); if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; int arg2 ; double arg3 ; char *arg4 = (char *) 0 ; unsigned int arg5 = (unsigned int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; unsigned int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_replace",3,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_replace" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Chart_replace" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Chart_replace" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); if (obj3) { res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Chart_replace" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); } if (obj4) { ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Chart_replace" "', argument " "5"" of type '" "unsigned int""'"); } arg5 = static_cast< unsigned int >(val5); } (arg1)->replace(arg2,arg3,(char const *)arg4,arg5); resultobj = SWIG_Py_Void(); if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_bounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; double *arg2 = (double *) 0 ; double *arg3 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_bounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_bounds" "', argument " "1"" of type '" "Fl_Chart const *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Chart_bounds" "', argument " "2"" of type '" "double *""'"); } arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Chart_bounds" "', argument " "3"" of type '" "double *""'"); } arg3 = reinterpret_cast< double * >(argp3); ((Fl_Chart const *)arg1)->bounds(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_bounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; double arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_bounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_bounds" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Chart_bounds" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Chart_bounds" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); (arg1)->bounds(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_bounds(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Chart_bounds__SWIG_0(self, args); } check_1: if (argc == 3) { return _wrap_Fl_Chart_bounds__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Chart_bounds'.\n" " Possible C/C++ prototypes are:\n" " Fl_Chart::bounds(double *,double *) const\n" " Fl_Chart::bounds(double,double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Chart_size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_size",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_size" "', argument " "1"" of type '" "Fl_Chart const *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); result = (int)((Fl_Chart const *)arg1)->size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_size",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_size" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Chart_size" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Chart_size" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->size(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_size(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Chart_size__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_Chart_size__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Chart_size'.\n" " Possible C/C++ prototypes are:\n" " Fl_Chart::size() const\n" " Fl_Chart::size(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Chart_maxsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_maxsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_maxsize" "', argument " "1"" of type '" "Fl_Chart const *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); result = (int)((Fl_Chart const *)arg1)->maxsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_maxsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_maxsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_maxsize" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Chart_maxsize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->maxsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_maxsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Chart_maxsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Chart_maxsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Chart_maxsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Chart::maxsize() const\n" " Fl_Chart::maxsize(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Chart_textfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_textfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_textfont" "', argument " "1"" of type '" "Fl_Chart const *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); result = (Fl_Font)((Fl_Chart const *)arg1)->textfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_textfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_textfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_textfont" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Chart_textfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->textfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_textfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Chart_textfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Chart_textfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Chart_textfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Chart::textfont() const\n" " Fl_Chart::textfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Chart_textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_textsize" "', argument " "1"" of type '" "Fl_Chart const *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); result = (Fl_Fontsize)((Fl_Chart const *)arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_textsize" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Chart_textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Chart_textsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Chart_textsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Chart_textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Chart::textsize() const\n" " Fl_Chart::textsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Chart_textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_textcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_textcolor" "', argument " "1"" of type '" "Fl_Chart const *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); result = (Fl_Color)((Fl_Chart const *)arg1)->textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_textcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_textcolor" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Chart_textcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->textcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Chart_textcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Chart_textcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Chart_textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Chart::textcolor() const\n" " Fl_Chart::textcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Chart_autosize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; uchar result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_autosize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_autosize" "', argument " "1"" of type '" "Fl_Chart const *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); result = (uchar)((Fl_Chart const *)arg1)->autosize(); resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_autosize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; uchar arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Chart_autosize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Chart_autosize" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Chart_autosize" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); (arg1)->autosize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Chart_autosize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Chart_autosize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Chart_autosize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Chart_autosize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Chart::autosize() const\n" " Fl_Chart::autosize(uchar)\n"); return 0; } SWIGINTERN PyObject *_wrap_disown_Fl_Chart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Chart *arg1 = (Fl_Chart *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Chart",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Chart, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Chart" "', argument " "1"" of type '" "Fl_Chart *""'"); } arg1 = reinterpret_cast< Fl_Chart * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Chart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Chart, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Check_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Check_Browser *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Check_Browser",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Check_Browser" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Check_Browser" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Check_Browser" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Check_Browser" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Check_Browser" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Check_Browser *)new SwigDirector_Fl_Check_Browser(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Check_Browser *)new Fl_Check_Browser(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Check_Browser, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Check_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Check_Browser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Check_Browser" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_remove",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_remove" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Check_Browser_remove" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->remove(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_add__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_add",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_add" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Check_Browser_add" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->add((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_add__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_add",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_add" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Check_Browser_add" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Check_Browser_add" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)(arg1)->add((char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_add(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Check_Browser_add__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_Check_Browser_add__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Check_Browser_add'.\n" " Possible C/C++ prototypes are:\n" " Fl_Check_Browser::add(char const *)\n" " Fl_Check_Browser::add(char const *,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_clear" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_nitems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_nitems",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_nitems" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); result = (int)((Fl_Check_Browser const *)arg1)->nitems(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_nchecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_nchecked",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_nchecked" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); result = (int)((Fl_Check_Browser const *)arg1)->nchecked(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_checked__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_checked",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_checked" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Check_Browser_checked" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Check_Browser const *)arg1)->checked(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_checked__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_checked",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_checked" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Check_Browser_checked" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Check_Browser_checked" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->checked(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_checked(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Check_Browser_checked__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_Check_Browser_checked__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Check_Browser_checked'.\n" " Possible C/C++ prototypes are:\n" " Fl_Check_Browser::checked(int) const\n" " Fl_Check_Browser::checked(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_set_checked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_set_checked",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_set_checked" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Check_Browser_set_checked" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->set_checked(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_check_all(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_check_all",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_check_all" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); (arg1)->check_all(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_check_none(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_check_none",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_check_none" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); (arg1)->check_none(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_value" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); result = (int)((Fl_Check_Browser const *)arg1)->value(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_text",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_text" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Check_Browser_text" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (char *)((Fl_Check_Browser const *)arg1)->text(arg2); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_handle" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Check_Browser_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("handle"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member handle"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)(darg)->handleSwigPublic(arg2); } else { result = (int)(darg)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Check_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Check_Browser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Check_Browser" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_draw" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_item_first(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_item_first",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_item_first" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_first"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_first"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { Swig::DirectorPureVirtualException::raise("Fl_Check_Browser::item_first"); } else { result = (void *)((SwigDirector_Fl_Check_Browser const *)darg)->item_first(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_item_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_item_next",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_item_next" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Check_Browser_item_next" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_next"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_next"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { Swig::DirectorPureVirtualException::raise("Fl_Check_Browser::item_next"); } else { result = (void *)((SwigDirector_Fl_Check_Browser const *)darg)->item_next(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_item_prev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_item_prev",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_item_prev" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Check_Browser_item_prev" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_prev"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_prev"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { Swig::DirectorPureVirtualException::raise("Fl_Check_Browser::item_prev"); } else { result = (void *)((SwigDirector_Fl_Check_Browser const *)darg)->item_prev(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_item_last(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_item_last",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_item_last" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_last"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_last"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Check_Browser const *)darg)->item_lastSwigPublic(); } else { result = (void *)((SwigDirector_Fl_Check_Browser const *)darg)->item_last(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_item_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_item_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_item_height" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Check_Browser_item_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { Swig::DirectorPureVirtualException::raise("Fl_Check_Browser::item_height"); } else { result = (int)((SwigDirector_Fl_Check_Browser const *)darg)->item_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_item_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_item_width",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_item_width" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Check_Browser_item_width" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { Swig::DirectorPureVirtualException::raise("Fl_Check_Browser::item_width"); } else { result = (int)((SwigDirector_Fl_Check_Browser const *)darg)->item_width(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_item_quick_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_item_quick_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_item_quick_height" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Check_Browser_item_quick_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_quick_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_quick_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Check_Browser const *)darg)->item_quick_heightSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Check_Browser const *)darg)->item_quick_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_item_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *arg2 = (void *) 0 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_item_draw",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_item_draw" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Check_Browser_item_draw" "', argument " "2"" of type '" "void *""'"); } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Check_Browser_item_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Check_Browser_item_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Check_Browser_item_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Check_Browser_item_draw" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { Swig::DirectorPureVirtualException::raise("Fl_Check_Browser::item_draw"); } else { ((SwigDirector_Fl_Check_Browser const *)darg)->item_draw(arg2,arg3,arg4,arg5,arg6); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_item_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_item_text",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_item_text" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Check_Browser_item_text" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_text"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_text"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (char *)((SwigDirector_Fl_Check_Browser const *)darg)->item_textSwigPublic(arg2); } else { result = (char *)((SwigDirector_Fl_Check_Browser const *)darg)->item_text(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_FromCharPtr((const char *)result); if (director) { director->swig_release_ownership(SWIG_as_voidptr(result)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_item_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *arg2 = (void *) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_item_swap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_item_swap" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Check_Browser_item_swap" "', argument " "2"" of type '" "void *""'"); } res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Check_Browser_item_swap" "', argument " "3"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_swap"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_swap"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_swapSwigPublic(arg2,arg3); } else { (darg)->item_swap(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_item_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_item_at",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_item_at" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Check_Browser_item_at" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_at"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_at"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Check_Browser const *)darg)->item_atSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Check_Browser const *)darg)->item_at(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_full_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_full_width",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_full_width" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Check_Browser const *)darg)->full_widthSwigPublic(); } else { result = (int)((SwigDirector_Fl_Check_Browser const *)darg)->full_width(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_full_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_full_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_full_height" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Check_Browser const *)darg)->full_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_Check_Browser const *)darg)->full_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_incr_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_incr_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_incr_height" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("incr_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member incr_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Check_Browser const *)darg)->incr_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_Check_Browser const *)darg)->incr_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_item_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *arg2 = (void *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_item_select",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_item_select" "', argument " "1"" of type '" "Fl_Check_Browser *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Check_Browser_item_select" "', argument " "2"" of type '" "void *""'"); } if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Check_Browser_item_select" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_select"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_select"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_selectSwigPublic(arg2,arg3); } else { (darg)->item_select(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Browser_item_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Browser *arg1 = (Fl_Check_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Browser_item_selected",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Browser_item_selected" "', argument " "1"" of type '" "Fl_Check_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Check_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Check_Browser_item_selected" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_selected"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_selected"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Check_Browser const *)darg)->item_selectedSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Check_Browser const *)darg)->item_selected(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Check_Browser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Check_Browser, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Light_Button_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Light_Button *arg1 = (Fl_Light_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Light_Button *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Light_Button_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Light_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Light_Button_draw" "', argument " "1"" of type '" "Fl_Light_Button *""'"); } arg1 = reinterpret_cast< Fl_Light_Button * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Light_Button_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Light_Button *arg1 = (Fl_Light_Button *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Light_Button_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Light_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Light_Button_handle" "', argument " "1"" of type '" "Fl_Light_Button *""'"); } arg1 = reinterpret_cast< Fl_Light_Button * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Light_Button_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Light_Button::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Light_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Light_Button *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Light_Button",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Light_Button" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Light_Button" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Light_Button" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Light_Button" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Light_Button" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Light_Button *)new SwigDirector_Fl_Light_Button(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Light_Button *)new Fl_Light_Button(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Light_Button, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Light_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Light_Button *arg1 = (Fl_Light_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Light_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Light_Button, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Light_Button" "', argument " "1"" of type '" "Fl_Light_Button *""'"); } arg1 = reinterpret_cast< Fl_Light_Button * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Light_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Light_Button *arg1 = (Fl_Light_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Light_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Light_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Light_Button" "', argument " "1"" of type '" "Fl_Light_Button *""'"); } arg1 = reinterpret_cast< Fl_Light_Button * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Light_Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Light_Button, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Check_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Check_Button *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Check_Button",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Check_Button" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Check_Button" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Check_Button" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Check_Button" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Check_Button" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Check_Button *)new SwigDirector_Fl_Check_Button(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Check_Button *)new Fl_Check_Button(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Check_Button, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Check_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Button *arg1 = (Fl_Check_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Check_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Button, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Check_Button" "', argument " "1"" of type '" "Fl_Check_Button *""'"); } arg1 = reinterpret_cast< Fl_Check_Button * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Check_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Button *arg1 = (Fl_Check_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Check_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Check_Button" "', argument " "1"" of type '" "Fl_Check_Button *""'"); } arg1 = reinterpret_cast< Fl_Check_Button * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Check_Button_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Check_Button *arg1 = (Fl_Check_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Check_Button *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Check_Button_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Check_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Check_Button_draw" "', argument " "1"" of type '" "Fl_Check_Button *""'"); } arg1 = reinterpret_cast< Fl_Check_Button * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Check_Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Check_Button, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Menu_(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Menu_ *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Menu_",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Menu_" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Menu_" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Menu_" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Menu_" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Menu_" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Menu_ *)new SwigDirector_Fl_Menu_(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing abstract class or protected constructor"); SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Menu_(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Menu_",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Menu_" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__item_pathname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; Fl_Menu_Item *arg4 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__item_pathname",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__item_pathname" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu__item_pathname" "', argument " "2"" of type '" "char *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Menu__item_pathname" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); if (obj3) { res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Menu__item_pathname" "', argument " "4"" of type '" "Fl_Menu_Item const *""'"); } arg4 = reinterpret_cast< Fl_Menu_Item * >(argp4); } result = (int)((Fl_Menu_ const *)arg1)->item_pathname(arg2,arg3,(Fl_Menu_Item const *)arg4); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__picked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; Fl_Menu_Item *arg2 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__picked",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__picked" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu__picked" "', argument " "2"" of type '" "Fl_Menu_Item const *""'"); } arg2 = reinterpret_cast< Fl_Menu_Item * >(argp2); result = (Fl_Menu_Item *)(arg1)->picked((Fl_Menu_Item const *)arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__find_item__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__find_item",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__find_item" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu__find_item" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (Fl_Menu_Item *)(arg1)->find_item((char const *)arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__find_item__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; Fl_Callback *arg2 = (Fl_Callback *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__find_item",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__find_item" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_Fl_Widget_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Menu__find_item" "', argument " "2"" of type '" "Fl_Callback *""'"); } } result = (Fl_Menu_Item *)(arg1)->find_item(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__find_item(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *ptr = 0; int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_Fl_Widget_p_void__void); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Menu__find_item__SWIG_1(self, args); } check_1: if (argc == 2) { return _wrap_Fl_Menu__find_item__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__find_item'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::find_item(char const *)\n" " Fl_Menu_::find_item(Fl_Callback *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__find_index__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__find_index",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__find_index" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu__find_index" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)((Fl_Menu_ const *)arg1)->find_index((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__find_index__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; Fl_Menu_Item *arg2 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__find_index",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__find_index" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu__find_index" "', argument " "2"" of type '" "Fl_Menu_Item const *""'"); } arg2 = reinterpret_cast< Fl_Menu_Item * >(argp2); result = (int)((Fl_Menu_ const *)arg1)->find_index((Fl_Menu_Item const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__find_index__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; Fl_Callback *arg2 = (Fl_Callback *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__find_index",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__find_index" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_Fl_Widget_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Menu__find_index" "', argument " "2"" of type '" "Fl_Callback *""'"); } } result = (int)((Fl_Menu_ const *)arg1)->find_index(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__find_index(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Menu_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Menu__find_index__SWIG_1(self, args); } check_1: if (argc == 2) { int _v = 0; { void *ptr = 0; int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_Fl_Widget_p_void__void); _v = SWIG_CheckState(res); } if (!_v) goto check_2; return _wrap_Fl_Menu__find_index__SWIG_2(self, args); } check_2: if (argc == 2) { return _wrap_Fl_Menu__find_index__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__find_index'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::find_index(char const *) const\n" " Fl_Menu_::find_index(Fl_Menu_Item const *) const\n" " Fl_Menu_::find_index(Fl_Callback *) const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__test_shortcut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__test_shortcut",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__test_shortcut" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); result = (Fl_Menu_Item *)(arg1)->test_shortcut(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__menu__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__menu",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__menu" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); result = (Fl_Menu_Item *)((Fl_Menu_ const *)arg1)->menu(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__copy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; Fl_Menu_Item *arg2 = (Fl_Menu_Item *) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__copy",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__copy" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu__copy" "', argument " "2"" of type '" "Fl_Menu_Item const *""'"); } arg2 = reinterpret_cast< Fl_Menu_Item * >(argp2); if (obj2) { res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Menu__copy" "', argument " "3"" of type '" "void *""'"); } } (arg1)->copy((Fl_Menu_Item const *)arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; int arg4 ; Fl_Callback *arg5 = (Fl_Callback *) 0 ; void *arg6 = (void *) 0 ; int arg7 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int val4 ; int ecode4 = 0 ; int res6 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__insert",5,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__insert" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__insert" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Menu__insert" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Menu__insert" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); { int res = SWIG_ConvertFunctionPtr(obj4, (void**)(&arg5), SWIGTYPE_p_f_p_Fl_Widget_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Menu__insert" "', argument " "5"" of type '" "Fl_Callback *""'"); } } if (obj5) { res6 = SWIG_ConvertPtr(obj5,SWIG_as_voidptrptr(&arg6), 0, 0); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Fl_Menu__insert" "', argument " "6"" of type '" "void *""'"); } } if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Menu__insert" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } result = (int)(arg1)->insert(arg2,(char const *)arg3,arg4,arg5,arg6,arg7); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__add__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; Fl_Callback *arg4 = (Fl_Callback *) 0 ; void *arg5 = (void *) 0 ; int arg6 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; int res5 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__add",4,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__add" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu__add" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Menu__add" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); { int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_Fl_Widget_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Menu__add" "', argument " "4"" of type '" "Fl_Callback *""'"); } } if (obj4) { res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Fl_Menu__add" "', argument " "5"" of type '" "void *""'"); } } if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Menu__add" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } result = (int)(arg1)->add((char const *)arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; Fl_Callback *arg5 = (Fl_Callback *) 0 ; void *arg6 = (void *) 0 ; int arg7 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; int res6 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__insert",5,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__insert" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__insert" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Menu__insert" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Menu__insert" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); { int res = SWIG_ConvertFunctionPtr(obj4, (void**)(&arg5), SWIGTYPE_p_f_p_Fl_Widget_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Menu__insert" "', argument " "5"" of type '" "Fl_Callback *""'"); } } if (obj5) { res6 = SWIG_ConvertPtr(obj5,SWIG_as_voidptrptr(&arg6), 0, 0); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Fl_Menu__insert" "', argument " "6"" of type '" "void *""'"); } } if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Menu__insert" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } result = (int)(arg1)->insert(arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__insert(PyObject *self, PyObject *args) { int argc; PyObject *argv[8]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 5) && (argc <= 7)) { int _v = 0; { { int res = SWIG_AsVal_int(argv[3], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_1; return _wrap_Fl_Menu__insert__SWIG_0(self, args); } check_1: if ((argc >= 5) && (argc <= 7)) { return _wrap_Fl_Menu__insert__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__insert'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::insert(int,char const *,int,Fl_Callback *,void *,int)\n" " Fl_Menu_::insert(int,char const *,char const *,Fl_Callback *,void *,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__add__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__add",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__add" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu__add" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->add((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__size",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__size" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); result = (int)((Fl_Menu_ const *)arg1)->size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__size",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__size" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__size" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Menu__size" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->size(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__size(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu__size__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_Menu__size__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__size'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::size() const\n" " Fl_Menu_::size(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__clear" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__clear_submenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__clear_submenu",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__clear_submenu" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__clear_submenu" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->clear_submenu(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__replace",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__replace" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__replace" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Menu__replace" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); (arg1)->replace(arg2,(char const *)arg3); resultobj = SWIG_Py_Void(); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__remove",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__remove" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__remove" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->remove(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__shortcut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__shortcut",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__shortcut" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__shortcut" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Menu__shortcut" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->shortcut(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__mode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__mode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__mode" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__mode" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Menu__mode" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->mode(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__mode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__mode",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__mode" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__mode" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Menu_ const *)arg1)->mode(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__mode(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Menu__mode__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Menu__mode__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__mode'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::mode(int,int)\n" " Fl_Menu_::mode(int) const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__mvalue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__mvalue",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__mvalue" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); result = (Fl_Menu_Item *)((Fl_Menu_ const *)arg1)->mvalue(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__value" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); result = (int)((Fl_Menu_ const *)arg1)->value(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__value" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__value" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->value(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu__value__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu__value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::value() const\n" " Fl_Menu_::value(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__text__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__text",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__text" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); result = (char *)((Fl_Menu_ const *)arg1)->text(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__text__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__text",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__text" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__text" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (char *)((Fl_Menu_ const *)arg1)->text(arg2); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__text(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu__text__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu__text__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__text'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::text() const\n" " Fl_Menu_::text(int) const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__textfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__textfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__textfont" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); result = (Fl_Font)((Fl_Menu_ const *)arg1)->textfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__textfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__textfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__textfont" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__textfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->textfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__textfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu__textfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu__textfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__textfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::textfont() const\n" " Fl_Menu_::textfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__textsize" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); result = (Fl_Fontsize)((Fl_Menu_ const *)arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__textsize" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu__textsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu__textsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::textsize() const\n" " Fl_Menu_::textsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__textcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__textcolor" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); result = (Fl_Color)((Fl_Menu_ const *)arg1)->textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__textcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__textcolor" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__textcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->textcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu__textcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu__textcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::textcolor() const\n" " Fl_Menu_::textcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__down_box__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Boxtype result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__down_box",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__down_box" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); result = (Fl_Boxtype)((Fl_Menu_ const *)arg1)->down_box(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__down_box__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; Fl_Boxtype arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__down_box",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__down_box" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__down_box" "', argument " "2"" of type '" "Fl_Boxtype""'"); } arg2 = static_cast< Fl_Boxtype >(val2); (arg1)->down_box(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__down_box(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu__down_box__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu__down_box__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__down_box'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::down_box() const\n" " Fl_Menu_::down_box(Fl_Boxtype)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__down_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__down_color",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__down_color" "', argument " "1"" of type '" "Fl_Menu_ const *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); result = (Fl_Color)((Fl_Menu_ const *)arg1)->down_color(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__down_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__down_color",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__down_color" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu__down_color" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); (arg1)->down_color(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__down_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu__down_color__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu__down_color__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__down_color'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::down_color() const\n" " Fl_Menu_::down_color(unsigned int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__copy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__copy",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__copy" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); arg2 = obj1; if (obj2) { arg3 = obj2; } Fl_Menu__copy__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__copy(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 2) && (argc <= 3)) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Menu_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; if (argc > 2) { { void *ptr = 0; int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; } return _wrap_Fl_Menu__copy__SWIG_0(self, args); } check_1: if ((argc >= 2) && (argc <= 3)) { return _wrap_Fl_Menu__copy__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__copy'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::copy(Fl_Menu_Item const *,void *)\n" " Fl_Menu_::copy(PyObject *,PyObject *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__menu__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__menu",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__menu" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); arg2 = obj1; Fl_Menu__menu__SWIG_1(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__add__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; PyObject *arg4 = (PyObject *) 0 ; PyObject *arg5 = (PyObject *) 0 ; PyObject *arg6 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__add",4,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__add" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); arg2 = obj1; arg3 = obj2; arg4 = obj3; if (obj4) { arg5 = obj4; } if (obj5) { arg6 = obj5; } result = (int)Fl_Menu__add__SWIG_2(arg1,arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__add(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Menu__add__SWIG_1(self, args); } if ((argc >= 4) && (argc <= 6)) { int _v = 0; { int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_2; { { int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_2; { void *ptr = 0; int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_Fl_Widget_p_void__void); _v = SWIG_CheckState(res); } if (!_v) goto check_2; if (argc > 4) { { void *ptr = 0; int res = SWIG_ConvertPtr(argv[4], &ptr, 0, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_2; if (argc > 5) { { { int res = SWIG_AsVal_int(argv[5], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_2; } } return _wrap_Fl_Menu__add__SWIG_0(self, args); } check_2: if ((argc >= 4) && (argc <= 6)) { return _wrap_Fl_Menu__add__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__add'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::add(char const *,int,Fl_Callback *,void *,int)\n" " Fl_Menu_::add(char const *)\n" " Fl_Menu_::add(PyObject *,PyObject *,PyObject *,PyObject *,PyObject *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu__menu__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu__menu",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu__menu" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); result = (PyObject *)Fl_Menu__menu__SWIG_2(arg1); resultobj = result; return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu__menu(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu__menu__SWIG_2(self, args); } if (argc == 1) { return _wrap_Fl_Menu__menu__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu__menu__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu__menu'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_::menu() const\n" " Fl_Menu_::menu(PyObject *)\n" " Fl_Menu_::menu()\n"); return 0; } SWIGINTERN PyObject *_wrap_disown_Fl_Menu_(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_ *arg1 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Menu_",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Menu_" "', argument " "1"" of type '" "Fl_Menu_ *""'"); } arg1 = reinterpret_cast< Fl_Menu_ * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Menu__swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Menu_, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Choice_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Choice *arg1 = (Fl_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Choice *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Choice_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Choice_draw" "', argument " "1"" of type '" "Fl_Choice *""'"); } arg1 = reinterpret_cast< Fl_Choice * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Choice_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Choice *arg1 = (Fl_Choice *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Choice_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Choice_handle" "', argument " "1"" of type '" "Fl_Choice *""'"); } arg1 = reinterpret_cast< Fl_Choice * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Choice_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Choice::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Choice *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Choice",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Choice" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Choice" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Choice" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Choice" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Choice" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Choice *)new SwigDirector_Fl_Choice(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Choice *)new Fl_Choice(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Choice, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Choice_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Choice *arg1 = (Fl_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Choice_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Choice_value" "', argument " "1"" of type '" "Fl_Choice const *""'"); } arg1 = reinterpret_cast< Fl_Choice * >(argp1); result = (int)((Fl_Choice const *)arg1)->value(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Choice_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Choice *arg1 = (Fl_Choice *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Choice_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Choice_value" "', argument " "1"" of type '" "Fl_Choice *""'"); } arg1 = reinterpret_cast< Fl_Choice * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Choice_value" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->value(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Choice_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Choice_value__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Choice_value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Choice_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Choice::value() const\n" " Fl_Choice::value(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Choice *arg1 = (Fl_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Choice",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Choice, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Choice" "', argument " "1"" of type '" "Fl_Choice *""'"); } arg1 = reinterpret_cast< Fl_Choice * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Choice *arg1 = (Fl_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Choice",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Choice" "', argument " "1"" of type '" "Fl_Choice *""'"); } arg1 = reinterpret_cast< Fl_Choice * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Choice, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Clock_Output_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Clock_Output *arg1 = (Fl_Clock_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Clock_Output *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Clock_Output_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Clock_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Clock_Output_draw" "', argument " "1"" of type '" "Fl_Clock_Output *""'"); } arg1 = reinterpret_cast< Fl_Clock_Output * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Clock_Output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Clock_Output *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Clock_Output",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Clock_Output" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Clock_Output" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Clock_Output" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Clock_Output" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Clock_Output" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Clock_Output *)new SwigDirector_Fl_Clock_Output(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Clock_Output *)new Fl_Clock_Output(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Clock_Output, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Clock_Output_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Clock_Output *arg1 = (Fl_Clock_Output *) 0 ; ulong arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Clock_Output_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Clock_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Clock_Output_value" "', argument " "1"" of type '" "Fl_Clock_Output *""'"); } arg1 = reinterpret_cast< Fl_Clock_Output * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Clock_Output_value" "', argument " "2"" of type '" "ulong""'"); } arg2 = static_cast< ulong >(val2); (arg1)->value(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Clock_Output_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Clock_Output *arg1 = (Fl_Clock_Output *) 0 ; int arg2 ; int arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Clock_Output_value",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Clock_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Clock_Output_value" "', argument " "1"" of type '" "Fl_Clock_Output *""'"); } arg1 = reinterpret_cast< Fl_Clock_Output * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Clock_Output_value" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Clock_Output_value" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Clock_Output_value" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); (arg1)->value(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Clock_Output_value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Clock_Output *arg1 = (Fl_Clock_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; ulong result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Clock_Output_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Clock_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Clock_Output_value" "', argument " "1"" of type '" "Fl_Clock_Output const *""'"); } arg1 = reinterpret_cast< Fl_Clock_Output * >(argp1); result = (ulong)((Fl_Clock_Output const *)arg1)->value(); resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Clock_Output_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Clock_Output_value__SWIG_2(self, args); } if (argc == 2) { return _wrap_Fl_Clock_Output_value__SWIG_0(self, args); } if (argc == 4) { return _wrap_Fl_Clock_Output_value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Clock_Output_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Clock_Output::value(ulong)\n" " Fl_Clock_Output::value(int,int,int)\n" " Fl_Clock_Output::value() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Clock_Output_hour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Clock_Output *arg1 = (Fl_Clock_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Clock_Output_hour",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Clock_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Clock_Output_hour" "', argument " "1"" of type '" "Fl_Clock_Output const *""'"); } arg1 = reinterpret_cast< Fl_Clock_Output * >(argp1); result = (int)((Fl_Clock_Output const *)arg1)->hour(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Clock_Output_minute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Clock_Output *arg1 = (Fl_Clock_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Clock_Output_minute",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Clock_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Clock_Output_minute" "', argument " "1"" of type '" "Fl_Clock_Output const *""'"); } arg1 = reinterpret_cast< Fl_Clock_Output * >(argp1); result = (int)((Fl_Clock_Output const *)arg1)->minute(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Clock_Output_second(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Clock_Output *arg1 = (Fl_Clock_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Clock_Output_second",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Clock_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Clock_Output_second" "', argument " "1"" of type '" "Fl_Clock_Output const *""'"); } arg1 = reinterpret_cast< Fl_Clock_Output * >(argp1); result = (int)((Fl_Clock_Output const *)arg1)->second(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Clock_Output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Clock_Output *arg1 = (Fl_Clock_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Clock_Output",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Clock_Output, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Clock_Output" "', argument " "1"" of type '" "Fl_Clock_Output *""'"); } arg1 = reinterpret_cast< Fl_Clock_Output * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Clock_Output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Clock_Output *arg1 = (Fl_Clock_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Clock_Output",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Clock_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Clock_Output" "', argument " "1"" of type '" "Fl_Clock_Output *""'"); } arg1 = reinterpret_cast< Fl_Clock_Output * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Clock_Output_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Clock_Output, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Clock_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Clock *arg1 = (Fl_Clock *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Clock_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Clock, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Clock_handle" "', argument " "1"" of type '" "Fl_Clock *""'"); } arg1 = reinterpret_cast< Fl_Clock * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Clock_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Clock::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Clock__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Clock *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Clock",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Clock" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Clock" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Clock" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Clock" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Clock" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Clock *)new SwigDirector_Fl_Clock(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Clock *)new Fl_Clock(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Clock, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Clock__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; uchar arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; char *arg7 = (char *) 0 ; unsigned char val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int res7 ; char *buf7 = 0 ; int alloc7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; Fl_Clock *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Clock",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Clock" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Clock" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Clock" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Clock" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Fl_Clock" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); res7 = SWIG_AsCharPtrAndSize(obj6, &buf7, NULL, &alloc7); if (!SWIG_IsOK(res7)) { SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Fl_Clock" "', argument " "7"" of type '" "char const *""'"); } arg7 = reinterpret_cast< char * >(buf7); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Clock *)new SwigDirector_Fl_Clock(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7); } else { result = (Fl_Clock *)new Fl_Clock(arg2,arg3,arg4,arg5,arg6,(char const *)arg7); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Clock, SWIG_POINTER_NEW | 0 ); if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return resultobj; fail: if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Clock(PyObject *self, PyObject *args) { int argc; PyObject *argv[8]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 5) && (argc <= 6)) { return _wrap_new_Fl_Clock__SWIG_0(self, args); } if (argc == 7) { return _wrap_new_Fl_Clock__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_Clock'.\n" " Possible C/C++ prototypes are:\n" " Fl_Clock::Fl_Clock(int,int,int,int,char const *)\n" " Fl_Clock::Fl_Clock(PyObject *,uchar,int,int,int,int,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Clock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Clock *arg1 = (Fl_Clock *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Clock",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Clock, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Clock" "', argument " "1"" of type '" "Fl_Clock *""'"); } arg1 = reinterpret_cast< Fl_Clock * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Clock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Clock *arg1 = (Fl_Clock *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Clock",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Clock, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Clock" "', argument " "1"" of type '" "Fl_Clock *""'"); } arg1 = reinterpret_cast< Fl_Clock * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Clock_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Clock *arg1 = (Fl_Clock *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Clock *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Clock_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Clock, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Clock_draw" "', argument " "1"" of type '" "Fl_Clock *""'"); } arg1 = reinterpret_cast< Fl_Clock * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Clock_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Clock, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Value_Input_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_handle" "', argument " "1"" of type '" "Fl_Value_Input *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Input_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Value_Input::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Value_Input *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_draw" "', argument " "1"" of type '" "Fl_Value_Input *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_resize" "', argument " "1"" of type '" "Fl_Value_Input *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Input_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Value_Input_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Value_Input_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Value_Input_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Value_Input::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Value_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Value_Input *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Value_Input",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Value_Input" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Value_Input" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Value_Input" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Value_Input" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Value_Input" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Value_Input *)new SwigDirector_Fl_Value_Input(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Value_Input *)new Fl_Value_Input(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Value_Input, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Value_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Value_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Value_Input" "', argument " "1"" of type '" "Fl_Value_Input *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_soft__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_soft",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_soft" "', argument " "1"" of type '" "Fl_Value_Input *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); ecode2 = SWIG_AsVal_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Input_soft" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); (arg1)->soft(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_soft__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_soft",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_soft" "', argument " "1"" of type '" "Fl_Value_Input const *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); result = (char)((Fl_Value_Input const *)arg1)->soft(); resultobj = SWIG_NewPointerObj((new char(static_cast< const char& >(result))), SWIGTYPE_p_char, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_soft(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Value_Input_soft__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Value_Input_soft__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Value_Input_soft'.\n" " Possible C/C++ prototypes are:\n" " Fl_Value_Input::soft(char)\n" " Fl_Value_Input::soft() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_shortcut__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_shortcut",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_shortcut" "', argument " "1"" of type '" "Fl_Value_Input const *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); result = (int)((Fl_Value_Input const *)arg1)->shortcut(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_shortcut__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_shortcut",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_shortcut" "', argument " "1"" of type '" "Fl_Value_Input *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Input_shortcut" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->shortcut(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_shortcut(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Value_Input_shortcut__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Value_Input_shortcut__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Value_Input_shortcut'.\n" " Possible C/C++ prototypes are:\n" " Fl_Value_Input::shortcut() const\n" " Fl_Value_Input::shortcut(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_textfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_textfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_textfont" "', argument " "1"" of type '" "Fl_Value_Input const *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); result = (Fl_Font)((Fl_Value_Input const *)arg1)->textfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_textfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_textfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_textfont" "', argument " "1"" of type '" "Fl_Value_Input *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Input_textfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->textfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_textfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Value_Input_textfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Value_Input_textfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Value_Input_textfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Value_Input::textfont() const\n" " Fl_Value_Input::textfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_textsize" "', argument " "1"" of type '" "Fl_Value_Input const *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); result = (Fl_Fontsize)((Fl_Value_Input const *)arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_textsize" "', argument " "1"" of type '" "Fl_Value_Input *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Input_textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Value_Input_textsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Value_Input_textsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Value_Input_textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Value_Input::textsize() const\n" " Fl_Value_Input::textsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_textcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_textcolor" "', argument " "1"" of type '" "Fl_Value_Input const *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); result = (Fl_Color)((Fl_Value_Input const *)arg1)->textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_textcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_textcolor" "', argument " "1"" of type '" "Fl_Value_Input *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Input_textcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->textcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Value_Input_textcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Value_Input_textcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Value_Input_textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Value_Input::textcolor() const\n" " Fl_Value_Input::textcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_cursor_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_cursor_color",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_cursor_color" "', argument " "1"" of type '" "Fl_Value_Input const *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); result = (Fl_Color)((Fl_Value_Input const *)arg1)->cursor_color(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_cursor_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Input_cursor_color",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Input_cursor_color" "', argument " "1"" of type '" "Fl_Value_Input *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Input_cursor_color" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->cursor_color(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Input_cursor_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Value_Input_cursor_color__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Value_Input_cursor_color__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Value_Input_cursor_color'.\n" " Possible C/C++ prototypes are:\n" " Fl_Value_Input::cursor_color() const\n" " Fl_Value_Input::cursor_color(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_disown_Fl_Value_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Input *arg1 = (Fl_Value_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Value_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Value_Input" "', argument " "1"" of type '" "Fl_Value_Input *""'"); } arg1 = reinterpret_cast< Fl_Value_Input * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Value_Input_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Value_Input, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Flcc_HueBox_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Flcc_HueBox *arg1 = (Flcc_HueBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Flcc_HueBox *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Flcc_HueBox_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Flcc_HueBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Flcc_HueBox_draw" "', argument " "1"" of type '" "Flcc_HueBox *""'"); } arg1 = reinterpret_cast< Flcc_HueBox * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Flcc_HueBox_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Flcc_HueBox *arg1 = (Flcc_HueBox *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Flcc_HueBox_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Flcc_HueBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Flcc_HueBox_handle" "', argument " "1"" of type '" "Flcc_HueBox *""'"); } arg1 = reinterpret_cast< Flcc_HueBox * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Flcc_HueBox_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Flcc_HueBox::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Flcc_HueBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Flcc_HueBox *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Flcc_HueBox",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Flcc_HueBox" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Flcc_HueBox" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Flcc_HueBox" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Flcc_HueBox" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if ( arg1 != Py_None ) { /* subclassed */ result = (Flcc_HueBox *)new SwigDirector_Flcc_HueBox(arg1,arg2,arg3,arg4,arg5); } else { result = (Flcc_HueBox *)new Flcc_HueBox(arg2,arg3,arg4,arg5); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Flcc_HueBox, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Flcc_HueBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Flcc_HueBox *arg1 = (Flcc_HueBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Flcc_HueBox",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Flcc_HueBox, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Flcc_HueBox" "', argument " "1"" of type '" "Flcc_HueBox *""'"); } arg1 = reinterpret_cast< Flcc_HueBox * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Flcc_HueBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Flcc_HueBox *arg1 = (Flcc_HueBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Flcc_HueBox",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Flcc_HueBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Flcc_HueBox" "', argument " "1"" of type '" "Flcc_HueBox *""'"); } arg1 = reinterpret_cast< Flcc_HueBox * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Flcc_HueBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Flcc_HueBox, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Flcc_ValueBox_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Flcc_ValueBox *arg1 = (Flcc_ValueBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Flcc_ValueBox *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Flcc_ValueBox_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Flcc_ValueBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Flcc_ValueBox_draw" "', argument " "1"" of type '" "Flcc_ValueBox *""'"); } arg1 = reinterpret_cast< Flcc_ValueBox * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Flcc_ValueBox_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Flcc_ValueBox *arg1 = (Flcc_ValueBox *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Flcc_ValueBox_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Flcc_ValueBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Flcc_ValueBox_handle" "', argument " "1"" of type '" "Flcc_ValueBox *""'"); } arg1 = reinterpret_cast< Flcc_ValueBox * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Flcc_ValueBox_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Flcc_ValueBox::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Flcc_ValueBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Flcc_ValueBox *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Flcc_ValueBox",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Flcc_ValueBox" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Flcc_ValueBox" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Flcc_ValueBox" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Flcc_ValueBox" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if ( arg1 != Py_None ) { /* subclassed */ result = (Flcc_ValueBox *)new SwigDirector_Flcc_ValueBox(arg1,arg2,arg3,arg4,arg5); } else { result = (Flcc_ValueBox *)new Flcc_ValueBox(arg2,arg3,arg4,arg5); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Flcc_ValueBox, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Flcc_ValueBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Flcc_ValueBox *arg1 = (Flcc_ValueBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Flcc_ValueBox",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Flcc_ValueBox, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Flcc_ValueBox" "', argument " "1"" of type '" "Flcc_ValueBox *""'"); } arg1 = reinterpret_cast< Flcc_ValueBox * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Flcc_ValueBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Flcc_ValueBox *arg1 = (Flcc_ValueBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Flcc_ValueBox",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Flcc_ValueBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Flcc_ValueBox" "', argument " "1"" of type '" "Flcc_ValueBox *""'"); } arg1 = reinterpret_cast< Flcc_ValueBox * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Flcc_ValueBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Flcc_ValueBox, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Flcc_Value_Input_format(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Flcc_Value_Input *arg1 = (Flcc_Value_Input *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Flcc_Value_Input_format",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Flcc_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Flcc_Value_Input_format" "', argument " "1"" of type '" "Flcc_Value_Input *""'"); } arg1 = reinterpret_cast< Flcc_Value_Input * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Flcc_Value_Input_format" "', argument " "2"" of type '" "char *""'"); } arg2 = reinterpret_cast< char * >(buf2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Flcc_Value_Input::format(arg2); } else { result = (int)(arg1)->format(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_new_Flcc_Value_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Flcc_Value_Input *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Flcc_Value_Input",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Flcc_Value_Input" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Flcc_Value_Input" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Flcc_Value_Input" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Flcc_Value_Input" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if ( arg1 != Py_None ) { /* subclassed */ result = (Flcc_Value_Input *)new SwigDirector_Flcc_Value_Input(arg1,arg2,arg3,arg4,arg5); } else { result = (Flcc_Value_Input *)new Flcc_Value_Input(arg2,arg3,arg4,arg5); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Flcc_Value_Input, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Flcc_Value_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Flcc_Value_Input *arg1 = (Flcc_Value_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Flcc_Value_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Flcc_Value_Input, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Flcc_Value_Input" "', argument " "1"" of type '" "Flcc_Value_Input *""'"); } arg1 = reinterpret_cast< Flcc_Value_Input * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Flcc_Value_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Flcc_Value_Input *arg1 = (Flcc_Value_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Flcc_Value_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Flcc_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Flcc_Value_Input" "', argument " "1"" of type '" "Flcc_Value_Input *""'"); } arg1 = reinterpret_cast< Flcc_Value_Input * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Flcc_Value_Input_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Flcc_Value_Input *arg1 = (Flcc_Value_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Flcc_Value_Input *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Flcc_Value_Input_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Flcc_Value_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Flcc_Value_Input_draw" "', argument " "1"" of type '" "Flcc_Value_Input *""'"); } arg1 = reinterpret_cast< Flcc_Value_Input * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Flcc_Value_Input_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Flcc_Value_Input, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_mode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color_Chooser *arg1 = (Fl_Color_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Color_Chooser_mode",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Color_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Color_Chooser_mode" "', argument " "1"" of type '" "Fl_Color_Chooser *""'"); } arg1 = reinterpret_cast< Fl_Color_Chooser * >(argp1); result = (int)(arg1)->mode(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_mode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color_Chooser *arg1 = (Fl_Color_Chooser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Color_Chooser_mode",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Color_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Color_Chooser_mode" "', argument " "1"" of type '" "Fl_Color_Chooser *""'"); } arg1 = reinterpret_cast< Fl_Color_Chooser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Color_Chooser_mode" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->mode(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_mode(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Color_Chooser_mode__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Color_Chooser_mode__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Color_Chooser_mode'.\n" " Possible C/C++ prototypes are:\n" " Fl_Color_Chooser::mode()\n" " Fl_Color_Chooser::mode(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_hue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color_Chooser *arg1 = (Fl_Color_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Color_Chooser_hue",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Color_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Color_Chooser_hue" "', argument " "1"" of type '" "Fl_Color_Chooser const *""'"); } arg1 = reinterpret_cast< Fl_Color_Chooser * >(argp1); result = (double)((Fl_Color_Chooser const *)arg1)->hue(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_saturation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color_Chooser *arg1 = (Fl_Color_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Color_Chooser_saturation",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Color_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Color_Chooser_saturation" "', argument " "1"" of type '" "Fl_Color_Chooser const *""'"); } arg1 = reinterpret_cast< Fl_Color_Chooser * >(argp1); result = (double)((Fl_Color_Chooser const *)arg1)->saturation(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color_Chooser *arg1 = (Fl_Color_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Color_Chooser_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Color_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Color_Chooser_value" "', argument " "1"" of type '" "Fl_Color_Chooser const *""'"); } arg1 = reinterpret_cast< Fl_Color_Chooser * >(argp1); result = (double)((Fl_Color_Chooser const *)arg1)->value(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color_Chooser *arg1 = (Fl_Color_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Color_Chooser_r",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Color_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Color_Chooser_r" "', argument " "1"" of type '" "Fl_Color_Chooser const *""'"); } arg1 = reinterpret_cast< Fl_Color_Chooser * >(argp1); result = (double)((Fl_Color_Chooser const *)arg1)->r(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_g(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color_Chooser *arg1 = (Fl_Color_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Color_Chooser_g",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Color_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Color_Chooser_g" "', argument " "1"" of type '" "Fl_Color_Chooser const *""'"); } arg1 = reinterpret_cast< Fl_Color_Chooser * >(argp1); result = (double)((Fl_Color_Chooser const *)arg1)->g(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color_Chooser *arg1 = (Fl_Color_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Color_Chooser_b",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Color_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Color_Chooser_b" "', argument " "1"" of type '" "Fl_Color_Chooser const *""'"); } arg1 = reinterpret_cast< Fl_Color_Chooser * >(argp1); result = (double)((Fl_Color_Chooser const *)arg1)->b(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_hsv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color_Chooser *arg1 = (Fl_Color_Chooser *) 0 ; double arg2 ; double arg3 ; double arg4 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Color_Chooser_hsv",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Color_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Color_Chooser_hsv" "', argument " "1"" of type '" "Fl_Color_Chooser *""'"); } arg1 = reinterpret_cast< Fl_Color_Chooser * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Color_Chooser_hsv" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Color_Chooser_hsv" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Color_Chooser_hsv" "', argument " "4"" of type '" "double""'"); } arg4 = static_cast< double >(val4); result = (int)(arg1)->hsv(arg2,arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_rgb(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color_Chooser *arg1 = (Fl_Color_Chooser *) 0 ; double arg2 ; double arg3 ; double arg4 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Color_Chooser_rgb",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Color_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Color_Chooser_rgb" "', argument " "1"" of type '" "Fl_Color_Chooser *""'"); } arg1 = reinterpret_cast< Fl_Color_Chooser * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Color_Chooser_rgb" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Color_Chooser_rgb" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Color_Chooser_rgb" "', argument " "4"" of type '" "double""'"); } arg4 = static_cast< double >(val4); result = (int)(arg1)->rgb(arg2,arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_hsv2rgb(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double arg3 ; double *arg4 = 0 ; double *arg5 = 0 ; double *arg6 = 0 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; void *argp6 = 0 ; int res6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Color_Chooser_hsv2rgb",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Color_Chooser_hsv2rgb" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Color_Chooser_hsv2rgb" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Color_Chooser_hsv2rgb" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_double, 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Color_Chooser_hsv2rgb" "', argument " "4"" of type '" "double &""'"); } if (!argp4) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Color_Chooser_hsv2rgb" "', argument " "4"" of type '" "double &""'"); } arg4 = reinterpret_cast< double * >(argp4); res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_double, 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Fl_Color_Chooser_hsv2rgb" "', argument " "5"" of type '" "double &""'"); } if (!argp5) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Color_Chooser_hsv2rgb" "', argument " "5"" of type '" "double &""'"); } arg5 = reinterpret_cast< double * >(argp5); res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_double, 0 ); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Fl_Color_Chooser_hsv2rgb" "', argument " "6"" of type '" "double &""'"); } if (!argp6) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Color_Chooser_hsv2rgb" "', argument " "6"" of type '" "double &""'"); } arg6 = reinterpret_cast< double * >(argp6); Fl_Color_Chooser::hsv2rgb(arg1,arg2,arg3,*arg4,*arg5,*arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_rgb2hsv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double arg3 ; double *arg4 = 0 ; double *arg5 = 0 ; double *arg6 = 0 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; void *argp6 = 0 ; int res6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Color_Chooser_rgb2hsv",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Color_Chooser_rgb2hsv" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Color_Chooser_rgb2hsv" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Color_Chooser_rgb2hsv" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_double, 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Color_Chooser_rgb2hsv" "', argument " "4"" of type '" "double &""'"); } if (!argp4) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Color_Chooser_rgb2hsv" "', argument " "4"" of type '" "double &""'"); } arg4 = reinterpret_cast< double * >(argp4); res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_double, 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Fl_Color_Chooser_rgb2hsv" "', argument " "5"" of type '" "double &""'"); } if (!argp5) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Color_Chooser_rgb2hsv" "', argument " "5"" of type '" "double &""'"); } arg5 = reinterpret_cast< double * >(argp5); res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_double, 0 ); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Fl_Color_Chooser_rgb2hsv" "', argument " "6"" of type '" "double &""'"); } if (!argp6) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Color_Chooser_rgb2hsv" "', argument " "6"" of type '" "double &""'"); } arg6 = reinterpret_cast< double * >(argp6); Fl_Color_Chooser::rgb2hsv(arg1,arg2,arg3,*arg4,*arg5,*arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Color_Chooser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Color_Chooser *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Color_Chooser",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Color_Chooser" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Color_Chooser" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Color_Chooser" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Color_Chooser" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Color_Chooser" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Color_Chooser *)new SwigDirector_Fl_Color_Chooser(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Color_Chooser *)new Fl_Color_Chooser(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Color_Chooser, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Color_Chooser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color_Chooser *arg1 = (Fl_Color_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Color_Chooser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Color_Chooser, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Color_Chooser" "', argument " "1"" of type '" "Fl_Color_Chooser *""'"); } arg1 = reinterpret_cast< Fl_Color_Chooser * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Color_Chooser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color_Chooser *arg1 = (Fl_Color_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Color_Chooser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Color_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Color_Chooser" "', argument " "1"" of type '" "Fl_Color_Chooser *""'"); } arg1 = reinterpret_cast< Fl_Color_Chooser * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Color_Chooser_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color_Chooser *arg1 = (Fl_Color_Chooser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Color_Chooser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Color_Chooser_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Color_Chooser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Color_Chooser_draw" "', argument " "1"" of type '" "Fl_Color_Chooser *""'"); } arg1 = reinterpret_cast< Fl_Color_Chooser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Color_Chooser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Color_Chooser, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_fl_color_chooser__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; double *arg2 = 0 ; double *arg3 = 0 ; double *arg4 = 0 ; int arg5 = (int) -1 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_color_chooser",4,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_color_chooser" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_double, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_color_chooser" "', argument " "2"" of type '" "double &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fl_color_chooser" "', argument " "2"" of type '" "double &""'"); } arg2 = reinterpret_cast< double * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double, 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_color_chooser" "', argument " "3"" of type '" "double &""'"); } if (!argp3) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fl_color_chooser" "', argument " "3"" of type '" "double &""'"); } arg3 = reinterpret_cast< double * >(argp3); res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_double, 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "fl_color_chooser" "', argument " "4"" of type '" "double &""'"); } if (!argp4) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fl_color_chooser" "', argument " "4"" of type '" "double &""'"); } arg4 = reinterpret_cast< double * >(argp4); if (obj4) { ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_color_chooser" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); } result = (int)fl_color_chooser((char const *)arg1,*arg2,*arg3,*arg4,arg5); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_color_chooser__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; uchar *arg2 = 0 ; uchar *arg3 = 0 ; uchar *arg4 = 0 ; int arg5 = (int) -1 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; uchar temp2 ; int res2 = 0 ; uchar temp3 ; int res3 = 0 ; uchar temp4 ; int res4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_color_chooser",4,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_color_chooser" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (!(SWIG_IsOK((res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2),SWIGTYPE_p_unsigned_char,0))))) { unsigned char val; int ecode = SWIG_AsVal_unsigned_SS_char(obj1, &val); if (!SWIG_IsOK(ecode)) { SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "fl_color_chooser" "', argument " "2"" of type '" "uchar""'"); } temp2 = static_cast< uchar >(val); arg2 = &temp2; res2 = SWIG_AddTmpMask(ecode); } if (!(SWIG_IsOK((res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3),SWIGTYPE_p_unsigned_char,0))))) { unsigned char val; int ecode = SWIG_AsVal_unsigned_SS_char(obj2, &val); if (!SWIG_IsOK(ecode)) { SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "fl_color_chooser" "', argument " "3"" of type '" "uchar""'"); } temp3 = static_cast< uchar >(val); arg3 = &temp3; res3 = SWIG_AddTmpMask(ecode); } if (!(SWIG_IsOK((res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4),SWIGTYPE_p_unsigned_char,0))))) { unsigned char val; int ecode = SWIG_AsVal_unsigned_SS_char(obj3, &val); if (!SWIG_IsOK(ecode)) { SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "fl_color_chooser" "', argument " "4"" of type '" "uchar""'"); } temp4 = static_cast< uchar >(val); arg4 = &temp4; res4 = SWIG_AddTmpMask(ecode); } if (obj4) { ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_color_chooser" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); } result = (int)fl_color_chooser((char const *)arg1,*arg2,*arg3,*arg4,arg5); resultobj = SWIG_From_int(static_cast< int >(result)); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, new_flags)); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, new_flags)); } if (SWIG_IsTmpObj(res4)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_char((*arg4))); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, new_flags)); } if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_color_chooser(PyObject *self, PyObject *args) { int argc; PyObject *argv[6]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 4) && (argc <= 5)) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_double, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_fl_color_chooser__SWIG_0(self, args); } check_1: if ((argc >= 4) && (argc <= 5)) { return _wrap_fl_color_chooser__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_color_chooser'.\n" " Possible C/C++ prototypes are:\n" " fl_color_chooser(char const *,double &,double &,double &,int)\n" " fl_color_chooser(char const *,uchar &,uchar &,uchar &,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Counter_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Counter *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Counter_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Counter_draw" "', argument " "1"" of type '" "Fl_Counter *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Counter_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Counter_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Counter_handle" "', argument " "1"" of type '" "Fl_Counter *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Counter_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Counter::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Counter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Counter *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Counter",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Counter" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Counter" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Counter" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Counter" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Counter" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Counter *)new SwigDirector_Fl_Counter(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Counter *)new Fl_Counter(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Counter, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Counter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Counter",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Counter" "', argument " "1"" of type '" "Fl_Counter *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Counter_lstep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Counter_lstep",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Counter_lstep" "', argument " "1"" of type '" "Fl_Counter *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Counter_lstep" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->lstep(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Counter_step__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; double arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Counter_step",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Counter_step" "', argument " "1"" of type '" "Fl_Counter *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Counter_step" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Counter_step" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); (arg1)->step(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Counter_step__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Counter_step",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Counter_step" "', argument " "1"" of type '" "Fl_Counter *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Counter_step" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->step(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Counter_step__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Counter_step",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Counter_step" "', argument " "1"" of type '" "Fl_Counter const *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); result = (double)((Fl_Counter const *)arg1)->step(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Counter_step(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Counter_step__SWIG_2(self, args); } if (argc == 2) { return _wrap_Fl_Counter_step__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Counter_step__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Counter_step'.\n" " Possible C/C++ prototypes are:\n" " Fl_Counter::step(double,double)\n" " Fl_Counter::step(double)\n" " Fl_Counter::step() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Counter_textfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Counter_textfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Counter_textfont" "', argument " "1"" of type '" "Fl_Counter const *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); result = (Fl_Font)((Fl_Counter const *)arg1)->textfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Counter_textfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Counter_textfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Counter_textfont" "', argument " "1"" of type '" "Fl_Counter *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Counter_textfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->textfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Counter_textfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Counter_textfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Counter_textfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Counter_textfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Counter::textfont() const\n" " Fl_Counter::textfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Counter_textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Counter_textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Counter_textsize" "', argument " "1"" of type '" "Fl_Counter const *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); result = (Fl_Fontsize)((Fl_Counter const *)arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Counter_textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Counter_textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Counter_textsize" "', argument " "1"" of type '" "Fl_Counter *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Counter_textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Counter_textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Counter_textsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Counter_textsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Counter_textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Counter::textsize() const\n" " Fl_Counter::textsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Counter_textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Counter_textcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Counter_textcolor" "', argument " "1"" of type '" "Fl_Counter const *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); result = (Fl_Color)((Fl_Counter const *)arg1)->textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Counter_textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Counter_textcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Counter_textcolor" "', argument " "1"" of type '" "Fl_Counter *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Counter_textcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->textcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Counter_textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Counter_textcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Counter_textcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Counter_textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Counter::textcolor() const\n" " Fl_Counter::textcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_disown_Fl_Counter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Counter *arg1 = (Fl_Counter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Counter",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Counter" "', argument " "1"" of type '" "Fl_Counter *""'"); } arg1 = reinterpret_cast< Fl_Counter * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Counter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Counter, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Dial_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Dial *arg1 = (Fl_Dial *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Dial *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Dial_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Dial, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Dial_draw" "', argument " "1"" of type '" "Fl_Dial *""'"); } arg1 = reinterpret_cast< Fl_Dial * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Dial_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Dial *arg1 = (Fl_Dial *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Dial_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Dial, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Dial_handle" "', argument " "1"" of type '" "Fl_Dial *""'"); } arg1 = reinterpret_cast< Fl_Dial * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Dial_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Dial::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Dial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Dial *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Dial",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Dial" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Dial" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Dial" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Dial" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Dial" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Dial *)new SwigDirector_Fl_Dial(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Dial *)new Fl_Dial(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Dial, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Dial_angle1__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Dial *arg1 = (Fl_Dial *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; short result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Dial_angle1",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Dial, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Dial_angle1" "', argument " "1"" of type '" "Fl_Dial const *""'"); } arg1 = reinterpret_cast< Fl_Dial * >(argp1); result = (short)((Fl_Dial const *)arg1)->angle1(); resultobj = SWIG_From_short(static_cast< short >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Dial_angle1__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Dial *arg1 = (Fl_Dial *) 0 ; short arg2 ; void *argp1 = 0 ; int res1 = 0 ; short val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Dial_angle1",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Dial, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Dial_angle1" "', argument " "1"" of type '" "Fl_Dial *""'"); } arg1 = reinterpret_cast< Fl_Dial * >(argp1); ecode2 = SWIG_AsVal_short(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Dial_angle1" "', argument " "2"" of type '" "short""'"); } arg2 = static_cast< short >(val2); (arg1)->angle1(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Dial_angle1(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Dial_angle1__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Dial_angle1__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Dial_angle1'.\n" " Possible C/C++ prototypes are:\n" " Fl_Dial::angle1() const\n" " Fl_Dial::angle1(short)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Dial_angle2__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Dial *arg1 = (Fl_Dial *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; short result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Dial_angle2",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Dial, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Dial_angle2" "', argument " "1"" of type '" "Fl_Dial const *""'"); } arg1 = reinterpret_cast< Fl_Dial * >(argp1); result = (short)((Fl_Dial const *)arg1)->angle2(); resultobj = SWIG_From_short(static_cast< short >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Dial_angle2__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Dial *arg1 = (Fl_Dial *) 0 ; short arg2 ; void *argp1 = 0 ; int res1 = 0 ; short val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Dial_angle2",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Dial, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Dial_angle2" "', argument " "1"" of type '" "Fl_Dial *""'"); } arg1 = reinterpret_cast< Fl_Dial * >(argp1); ecode2 = SWIG_AsVal_short(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Dial_angle2" "', argument " "2"" of type '" "short""'"); } arg2 = static_cast< short >(val2); (arg1)->angle2(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Dial_angle2(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Dial_angle2__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Dial_angle2__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Dial_angle2'.\n" " Possible C/C++ prototypes are:\n" " Fl_Dial::angle2() const\n" " Fl_Dial::angle2(short)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Dial_angles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Dial *arg1 = (Fl_Dial *) 0 ; short arg2 ; short arg3 ; void *argp1 = 0 ; int res1 = 0 ; short val2 ; int ecode2 = 0 ; short val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Dial_angles",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Dial, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Dial_angles" "', argument " "1"" of type '" "Fl_Dial *""'"); } arg1 = reinterpret_cast< Fl_Dial * >(argp1); ecode2 = SWIG_AsVal_short(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Dial_angles" "', argument " "2"" of type '" "short""'"); } arg2 = static_cast< short >(val2); ecode3 = SWIG_AsVal_short(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Dial_angles" "', argument " "3"" of type '" "short""'"); } arg3 = static_cast< short >(val3); (arg1)->angles(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Dial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Dial *arg1 = (Fl_Dial *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Dial",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Dial, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Dial" "', argument " "1"" of type '" "Fl_Dial *""'"); } arg1 = reinterpret_cast< Fl_Dial * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Dial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Dial *arg1 = (Fl_Dial *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Dial",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Dial, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Dial" "', argument " "1"" of type '" "Fl_Dial *""'"); } arg1 = reinterpret_cast< Fl_Dial * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Dial_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Dial, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Window_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Window *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_draw" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_flush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Window *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_flush",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_flush" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("flush"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member flush"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->flushSwigPublic(); } else { (darg)->flush(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Window__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; char *arg4 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Fl_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Window",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Window" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Window" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); if (obj3) { res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Fl_Window" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Window *)new SwigDirector_Fl_Window(arg1,arg2,arg3,(char const *)arg4); } else { result = (Fl_Window *)new Fl_Window(arg2,arg3,(char const *)arg4); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Window, SWIG_POINTER_NEW | 0 ); if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Window__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Window",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Window" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Window" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Window" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Window" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Window" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Window *)new SwigDirector_Fl_Window(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Window *)new Fl_Window(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Window, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Window(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 3) && (argc <= 4)) { return _wrap_new_Fl_Window__SWIG_0(self, args); } if ((argc >= 5) && (argc <= 6)) { return _wrap_new_Fl_Window__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_Window'.\n" " Possible C/C++ prototypes are:\n" " Fl_Window::Fl_Window(int,int,char const *)\n" " Fl_Window::Fl_Window(PyObject *,int,int,int,int,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Window" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_handle" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Window_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Window::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_resize" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Window_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Window_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Window_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Window_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Window::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_border__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_border",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_border" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Window_border" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->border(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_clear_border(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_clear_border",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_clear_border" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); (arg1)->clear_border(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_border__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_border",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_border" "', argument " "1"" of type '" "Fl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (unsigned int)((Fl_Window const *)arg1)->border(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_border(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Window_border__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Window_border__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Window_border'.\n" " Possible C/C++ prototypes are:\n" " Fl_Window::border(int)\n" " Fl_Window::border() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Window_set_override(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_set_override",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_set_override" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); (arg1)->set_override(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_override(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_override",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_override" "', argument " "1"" of type '" "Fl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (unsigned int)((Fl_Window const *)arg1)->override(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_set_modal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_set_modal",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_set_modal" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); (arg1)->set_modal(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_modal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_modal",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_modal" "', argument " "1"" of type '" "Fl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (unsigned int)((Fl_Window const *)arg1)->modal(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_set_non_modal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_set_non_modal",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_set_non_modal" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); (arg1)->set_non_modal(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_non_modal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_non_modal",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_non_modal" "', argument " "1"" of type '" "Fl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (unsigned int)((Fl_Window const *)arg1)->non_modal(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_set_menu_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_set_menu_window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_set_menu_window" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); (arg1)->set_menu_window(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_menu_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_menu_window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_menu_window" "', argument " "1"" of type '" "Fl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (unsigned int)((Fl_Window const *)arg1)->menu_window(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_set_tooltip_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_set_tooltip_window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_set_tooltip_window" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); (arg1)->set_tooltip_window(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_tooltip_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_tooltip_window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_tooltip_window" "', argument " "1"" of type '" "Fl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (unsigned int)((Fl_Window const *)arg1)->tooltip_window(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_hotspot__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; int arg2 ; int arg3 ; int arg4 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_hotspot",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_hotspot" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Window_hotspot" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Window_hotspot" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); if (obj3) { ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Window_hotspot" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); } (arg1)->hotspot(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_hotspot__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; int arg3 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_hotspot",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_hotspot" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Window_hotspot" "', argument " "2"" of type '" "Fl_Widget const *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Window_hotspot" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } (arg1)->hotspot((Fl_Widget const *)arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_hotspot(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 2) && (argc <= 3)) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Widget, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Window_hotspot__SWIG_1(self, args); } check_1: if ((argc >= 3) && (argc <= 4)) { return _wrap_Fl_Window_hotspot__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Window_hotspot'.\n" " Possible C/C++ prototypes are:\n" " Fl_Window::hotspot(int,int,int)\n" " Fl_Window::hotspot(Fl_Widget const *,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Window_free_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_free_position",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_free_position" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); (arg1)->free_position(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_size_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; int arg2 ; int arg3 ; int arg4 = (int) 0 ; int arg5 = (int) 0 ; int arg6 = (int) 0 ; int arg7 = (int) 0 ; int arg8 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; int val8 ; int ecode8 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_size_range",3,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_size_range" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Window_size_range" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Window_size_range" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); if (obj3) { ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Window_size_range" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); } if (obj4) { ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Window_size_range" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); } if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Window_size_range" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Window_size_range" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } if (obj7) { ecode8 = SWIG_AsVal_int(obj7, &val8); if (!SWIG_IsOK(ecode8)) { SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Fl_Window_size_range" "', argument " "8"" of type '" "int""'"); } arg8 = static_cast< int >(val8); } (arg1)->size_range(arg2,arg3,arg4,arg5,arg6,arg7,arg8); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_label__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_label",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_label" "', argument " "1"" of type '" "Fl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (char *)((Fl_Window const *)arg1)->label(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_iconlabel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_iconlabel",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_iconlabel" "', argument " "1"" of type '" "Fl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (char *)((Fl_Window const *)arg1)->iconlabel(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_label__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_label" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Window_label" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->label((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_iconlabel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_iconlabel",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_iconlabel" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Window_iconlabel" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->iconlabel((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_iconlabel(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Window_iconlabel__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Window_iconlabel__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Window_iconlabel'.\n" " Possible C/C++ prototypes are:\n" " Fl_Window::iconlabel() const\n" " Fl_Window::iconlabel(char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Window_label__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_label",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_label" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Window_label" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Window_label" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); (arg1)->label((char const *)arg2,(char const *)arg3); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_label(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Window_label__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Window_label__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Window_label__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Window_label'.\n" " Possible C/C++ prototypes are:\n" " Fl_Window::label() const\n" " Fl_Window::label(char const *)\n" " Fl_Window::label(char const *,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Window_copy_label(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_copy_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_copy_label" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Window_copy_label" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->copy_label((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_default_xclass__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_default_xclass",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_default_xclass" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); Fl_Window::default_xclass((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_default_xclass__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *result = 0 ; result = (char *)Fl_Window::default_xclass(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_default_xclass(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_Window_default_xclass__SWIG_1(self, args); } if (argc == 1) { return _wrap_Fl_Window_default_xclass__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Window_default_xclass'.\n" " Possible C/C++ prototypes are:\n" " Fl_Window::default_xclass(char const *)\n" " Fl_Window::default_xclass()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Window_xclass__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_xclass",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_xclass" "', argument " "1"" of type '" "Fl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (char *)((Fl_Window const *)arg1)->xclass(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_xclass__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_xclass",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_xclass" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Window_xclass" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->xclass((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_xclass(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Window_xclass__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Window_xclass__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Window_xclass'.\n" " Possible C/C++ prototypes are:\n" " Fl_Window::xclass() const\n" " Fl_Window::xclass(char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Window_icon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_icon",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_icon" "', argument " "1"" of type '" "Fl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (void *)((Fl_Window const *)arg1)->icon(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_icon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_icon",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_icon" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Window_icon" "', argument " "2"" of type '" "void const *""'"); } (arg1)->icon((void const *)arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_icon(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Window_icon__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Window_icon__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Window_icon'.\n" " Possible C/C++ prototypes are:\n" " Fl_Window::icon() const\n" " Fl_Window::icon(void const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Window_shown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_shown",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_shown" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (int)(arg1)->shown(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_hide",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_hide" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Window::hide(); } else { (arg1)->hide(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_fullscreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_fullscreen",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_fullscreen" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); (arg1)->fullscreen(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_fullscreen_off(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_fullscreen_off",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_fullscreen_off" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Window_fullscreen_off" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Window_fullscreen_off" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Window_fullscreen_off" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Window_fullscreen_off" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); (arg1)->fullscreen_off(arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_iconize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_iconize" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); (arg1)->iconize(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_x_root(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_x_root",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_x_root" "', argument " "1"" of type '" "Fl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (int)((Fl_Window const *)arg1)->x_root(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_y_root(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_y_root",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_y_root" "', argument " "1"" of type '" "Fl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (int)((Fl_Window const *)arg1)->y_root(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_current(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Swig::Director *director = 0; Fl_Window *result = 0 ; result = (Fl_Window *)Fl_Window::current(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Window, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_make_current(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_make_current",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_make_current" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); (arg1)->make_current(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_as_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; Fl_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_as_window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_as_window" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (Fl_Window *)(arg1)->Fl_Window::as_window(); } else { result = (Fl_Window *)(arg1)->as_window(); } } catch (Swig::DirectorException&) { SWIG_fail; } director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Window, 0 | 0 ); } if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_cursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; Fl_Cursor arg2 ; Fl_Color arg3 = (Fl_Color) FL_BLACK ; Fl_Color arg4 = (Fl_Color) FL_WHITE ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; unsigned int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_cursor",2,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_cursor" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Window_cursor" "', argument " "2"" of type '" "Fl_Cursor""'"); } arg2 = static_cast< Fl_Cursor >(val2); if (obj2) { ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Window_cursor" "', argument " "3"" of type '" "Fl_Color""'"); } arg3 = static_cast< Fl_Color >(val3); } if (obj3) { ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Window_cursor" "', argument " "4"" of type '" "Fl_Color""'"); } arg4 = static_cast< Fl_Color >(val4); } (arg1)->cursor(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_default_cursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; Fl_Cursor arg2 ; Fl_Color arg3 = (Fl_Color) FL_BLACK ; Fl_Color arg4 = (Fl_Color) FL_WHITE ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; unsigned int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_default_cursor",2,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_default_cursor" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Window_default_cursor" "', argument " "2"" of type '" "Fl_Cursor""'"); } arg2 = static_cast< Fl_Cursor >(val2); if (obj2) { ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Window_default_cursor" "', argument " "3"" of type '" "Fl_Color""'"); } arg3 = static_cast< Fl_Color >(val3); } if (obj3) { ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Window_default_cursor" "', argument " "4"" of type '" "Fl_Color""'"); } arg4 = static_cast< Fl_Color >(val4); } (arg1)->default_cursor(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_default_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_default_callback",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_default_callback" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Window_default_callback" "', argument " "2"" of type '" "void *""'"); } Fl_Window::default_callback(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_decorated_w(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_decorated_w",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_decorated_w" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (int)(arg1)->decorated_w(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_decorated_h(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_decorated_h",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_decorated_h" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); result = (int)(arg1)->decorated_h(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Window_show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Window_show",1,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Window_show" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); if (obj1) { arg2 = obj1; } if (obj2) { arg3 = obj2; } Fl_Window_show(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Window *arg1 = (Fl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Window" "', argument " "1"" of type '" "Fl_Window *""'"); } arg1 = reinterpret_cast< Fl_Window * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Window_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Window, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Double_Window_flush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Double_Window *arg1 = (Fl_Double_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Double_Window_flush",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Double_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Double_Window_flush" "', argument " "1"" of type '" "Fl_Double_Window *""'"); } arg1 = reinterpret_cast< Fl_Double_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Double_Window::flush(); } else { (arg1)->flush(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Double_Window_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Double_Window *arg1 = (Fl_Double_Window *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Double_Window_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Double_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Double_Window_resize" "', argument " "1"" of type '" "Fl_Double_Window *""'"); } arg1 = reinterpret_cast< Fl_Double_Window * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Double_Window_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Double_Window_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Double_Window_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Double_Window_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Double_Window::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Double_Window_hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Double_Window *arg1 = (Fl_Double_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Double_Window_hide",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Double_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Double_Window_hide" "', argument " "1"" of type '" "Fl_Double_Window *""'"); } arg1 = reinterpret_cast< Fl_Double_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Double_Window::hide(); } else { (arg1)->hide(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Double_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Double_Window *arg1 = (Fl_Double_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Double_Window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Double_Window, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Double_Window" "', argument " "1"" of type '" "Fl_Double_Window *""'"); } arg1 = reinterpret_cast< Fl_Double_Window * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Double_Window__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; char *arg4 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Fl_Double_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Double_Window",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Double_Window" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Double_Window" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); if (obj3) { res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Fl_Double_Window" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Double_Window *)new SwigDirector_Fl_Double_Window(arg1,arg2,arg3,(char const *)arg4); } else { result = (Fl_Double_Window *)new Fl_Double_Window(arg2,arg3,(char const *)arg4); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Double_Window, SWIG_POINTER_NEW | 0 ); if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Double_Window__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Double_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Double_Window",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Double_Window" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Double_Window" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Double_Window" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Double_Window" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Double_Window" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Double_Window *)new SwigDirector_Fl_Double_Window(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Double_Window *)new Fl_Double_Window(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Double_Window, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Double_Window(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 3) && (argc <= 4)) { return _wrap_new_Fl_Double_Window__SWIG_0(self, args); } if ((argc >= 5) && (argc <= 6)) { return _wrap_new_Fl_Double_Window__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_Double_Window'.\n" " Possible C/C++ prototypes are:\n" " Fl_Double_Window::Fl_Double_Window(int,int,char const *)\n" " Fl_Double_Window::Fl_Double_Window(PyObject *,int,int,int,int,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Double_Window_show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Double_Window *arg1 = (Fl_Double_Window *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Double_Window_show",1,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Double_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Double_Window_show" "', argument " "1"" of type '" "Fl_Double_Window *""'"); } arg1 = reinterpret_cast< Fl_Double_Window * >(argp1); if (obj1) { arg2 = obj1; } if (obj2) { arg3 = obj2; } Fl_Double_Window_show(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Double_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Double_Window *arg1 = (Fl_Double_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Double_Window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Double_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Double_Window" "', argument " "1"" of type '" "Fl_Double_Window *""'"); } arg1 = reinterpret_cast< Fl_Double_Window * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Double_Window_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Double_Window *arg1 = (Fl_Double_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Double_Window *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Double_Window_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Double_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Double_Window_draw" "', argument " "1"" of type '" "Fl_Double_Window *""'"); } arg1 = reinterpret_cast< Fl_Double_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Double_Window_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Double_Window, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_fl_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_color",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_color" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); fl_color(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; uchar arg1 ; uchar arg2 ; uchar arg3 ; unsigned char val1 ; int ecode1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; unsigned char val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_color",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_color" "', argument " "1"" of type '" "uchar""'"); } arg1 = static_cast< uchar >(val1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_color" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_color" "', argument " "3"" of type '" "uchar""'"); } arg3 = static_cast< uchar >(val3); fl_color(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_color__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color result; result = (Fl_Color)fl_color(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_fl_color__SWIG_2(self, args); } if (argc == 1) { return _wrap_fl_color__SWIG_0(self, args); } if (argc == 3) { return _wrap_fl_color__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_color'.\n" " Possible C/C++ prototypes are:\n" " fl_color(Fl_Color)\n" " fl_color(uchar,uchar,uchar)\n" " fl_color()\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_push_clip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_push_clip",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_push_clip" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_push_clip" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_push_clip" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_push_clip" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); fl_push_clip(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_push_no_clip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_push_no_clip(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_pop_clip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_pop_clip(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_not_clipped(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_not_clipped",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_not_clipped" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_not_clipped" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_not_clipped" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_not_clipped" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); result = (int)fl_not_clipped(arg1,arg2,arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_clip_box(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int *arg5 = 0 ; int *arg6 = 0 ; int *arg7 = 0 ; int *arg8 = 0 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int temp5 ; int res5 = SWIG_TMPOBJ ; int temp6 ; int res6 = SWIG_TMPOBJ ; int temp7 ; int res7 = SWIG_TMPOBJ ; int temp8 ; int res8 = SWIG_TMPOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; arg5 = &temp5; arg6 = &temp6; arg7 = &temp7; arg8 = &temp8; if(!PyArg_UnpackTuple(args,(char *)"fl_clip_box",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_clip_box" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_clip_box" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_clip_box" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_clip_box" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); result = (int)fl_clip_box(arg1,arg2,arg3,arg4,*arg5,*arg6,*arg7,*arg8); resultobj = SWIG_From_int(static_cast< int >(result)); if (SWIG_IsTmpObj(res5)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5))); } else { int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res6)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg6))); } else { int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res7)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg7))); } else { int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res8)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg8))); } else { int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_int, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_restore_clip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_restore_clip(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_clip_region__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Region arg1 ; void *argp1 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_clip_region",1,1,&obj0)) SWIG_fail; { res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Fl_Region, 0 | 0); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_clip_region" "', argument " "1"" of type '" "Fl_Region""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fl_clip_region" "', argument " "1"" of type '" "Fl_Region""'"); } else { Fl_Region * temp = reinterpret_cast< Fl_Region * >(argp1); arg1 = *temp; if (SWIG_IsNewObj(res1)) delete temp; } } fl_clip_region(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_clip_region__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Region result; result = fl_clip_region(); resultobj = SWIG_NewPointerObj((new Fl_Region(static_cast< const Fl_Region& >(result))), SWIGTYPE_p_Fl_Region, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_clip_region(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_fl_clip_region__SWIG_1(self, args); } if (argc == 1) { return _wrap_fl_clip_region__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_clip_region'.\n" " Possible C/C++ prototypes are:\n" " fl_clip_region(Fl_Region)\n" " fl_clip_region()\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_point(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_point",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_point" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_point" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); fl_point(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_line_style(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 = (int) 0 ; char *arg3 = (char *) 0 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_line_style",1,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_line_style" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_line_style" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } if (obj2) { res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_line_style" "', argument " "3"" of type '" "char *""'"); } arg3 = reinterpret_cast< char * >(buf3); } fl_line_style(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_fl_rect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_rect",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_rect" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_rect" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_rect" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_rect" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); fl_rect(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_rect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; Fl_Color arg5 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; unsigned int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_rect",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_rect" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_rect" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_rect" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_rect" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_rect" "', argument " "5"" of type '" "Fl_Color""'"); } arg5 = static_cast< Fl_Color >(val5); fl_rect(arg1,arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_rect(PyObject *self, PyObject *args) { int argc; PyObject *argv[6]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 4) { return _wrap_fl_rect__SWIG_0(self, args); } if (argc == 5) { return _wrap_fl_rect__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_rect'.\n" " Possible C/C++ prototypes are:\n" " fl_rect(int,int,int,int)\n" " fl_rect(int,int,int,int,Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_rectf__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_rectf",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_rectf" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_rectf" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_rectf" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_rectf" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); fl_rectf(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_rectf__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; Fl_Color arg5 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; unsigned int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_rectf",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_rectf" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_rectf" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_rectf" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_rectf" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_rectf" "', argument " "5"" of type '" "Fl_Color""'"); } arg5 = static_cast< Fl_Color >(val5); fl_rectf(arg1,arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_rectf__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; uchar arg5 ; uchar arg6 ; uchar arg7 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; unsigned char val5 ; int ecode5 = 0 ; unsigned char val6 ; int ecode6 = 0 ; unsigned char val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_rectf",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_rectf" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_rectf" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_rectf" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_rectf" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_unsigned_SS_char(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_rectf" "', argument " "5"" of type '" "uchar""'"); } arg5 = static_cast< uchar >(val5); ecode6 = SWIG_AsVal_unsigned_SS_char(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_rectf" "', argument " "6"" of type '" "uchar""'"); } arg6 = static_cast< uchar >(val6); ecode7 = SWIG_AsVal_unsigned_SS_char(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "fl_rectf" "', argument " "7"" of type '" "uchar""'"); } arg7 = static_cast< uchar >(val7); fl_rectf(arg1,arg2,arg3,arg4,arg5,arg6,arg7); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_rectf(PyObject *self, PyObject *args) { int argc; PyObject *argv[8]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 4) { return _wrap_fl_rectf__SWIG_0(self, args); } if (argc == 5) { return _wrap_fl_rectf__SWIG_1(self, args); } if (argc == 7) { return _wrap_fl_rectf__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_rectf'.\n" " Possible C/C++ prototypes are:\n" " fl_rectf(int,int,int,int)\n" " fl_rectf(int,int,int,int,Fl_Color)\n" " fl_rectf(int,int,int,int,uchar,uchar,uchar)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_line__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_line",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_line" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_line" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_line" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_line" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); fl_line(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_line__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_line",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_line" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_line" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_line" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_line" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_line" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_line" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); fl_line(arg1,arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_line(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 4) { return _wrap_fl_line__SWIG_0(self, args); } if (argc == 6) { return _wrap_fl_line__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_line'.\n" " Possible C/C++ prototypes are:\n" " fl_line(int,int,int,int)\n" " fl_line(int,int,int,int,int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_loop__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_loop",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_loop" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_loop" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_loop" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_loop" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_loop" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_loop" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); fl_loop(arg1,arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_loop__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; int arg7 ; int arg8 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; int val8 ; int ecode8 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_loop",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_loop" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_loop" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_loop" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_loop" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_loop" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_loop" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "fl_loop" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); ecode8 = SWIG_AsVal_int(obj7, &val8); if (!SWIG_IsOK(ecode8)) { SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "fl_loop" "', argument " "8"" of type '" "int""'"); } arg8 = static_cast< int >(val8); fl_loop(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_loop(PyObject *self, PyObject *args) { int argc; PyObject *argv[9]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 8) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 6) { return _wrap_fl_loop__SWIG_0(self, args); } if (argc == 8) { return _wrap_fl_loop__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_loop'.\n" " Possible C/C++ prototypes are:\n" " fl_loop(int,int,int,int,int,int)\n" " fl_loop(int,int,int,int,int,int,int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_polygon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_polygon",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_polygon" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_polygon" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_polygon" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_polygon" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_polygon" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_polygon" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); fl_polygon(arg1,arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_polygon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; int arg7 ; int arg8 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; int val8 ; int ecode8 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_polygon",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_polygon" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_polygon" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_polygon" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_polygon" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_polygon" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_polygon" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "fl_polygon" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); ecode8 = SWIG_AsVal_int(obj7, &val8); if (!SWIG_IsOK(ecode8)) { SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "fl_polygon" "', argument " "8"" of type '" "int""'"); } arg8 = static_cast< int >(val8); fl_polygon(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_polygon(PyObject *self, PyObject *args) { int argc; PyObject *argv[9]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 8) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 6) { return _wrap_fl_polygon__SWIG_0(self, args); } if (argc == 8) { return _wrap_fl_polygon__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_polygon'.\n" " Possible C/C++ prototypes are:\n" " fl_polygon(int,int,int,int,int,int)\n" " fl_polygon(int,int,int,int,int,int,int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_xyline__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_xyline",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_xyline" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_xyline" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_xyline" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); fl_xyline(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_xyline__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_xyline",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_xyline" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_xyline" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_xyline" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_xyline" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); fl_xyline(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_xyline__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_xyline",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_xyline" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_xyline" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_xyline" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_xyline" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_xyline" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); fl_xyline(arg1,arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_xyline(PyObject *self, PyObject *args) { int argc; PyObject *argv[6]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { return _wrap_fl_xyline__SWIG_0(self, args); } if (argc == 4) { return _wrap_fl_xyline__SWIG_1(self, args); } if (argc == 5) { return _wrap_fl_xyline__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_xyline'.\n" " Possible C/C++ prototypes are:\n" " fl_xyline(int,int,int)\n" " fl_xyline(int,int,int,int)\n" " fl_xyline(int,int,int,int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_yxline__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_yxline",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_yxline" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_yxline" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_yxline" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); fl_yxline(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_yxline__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_yxline",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_yxline" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_yxline" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_yxline" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_yxline" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); fl_yxline(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_yxline__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_yxline",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_yxline" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_yxline" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_yxline" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_yxline" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_yxline" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); fl_yxline(arg1,arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_yxline(PyObject *self, PyObject *args) { int argc; PyObject *argv[6]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { return _wrap_fl_yxline__SWIG_0(self, args); } if (argc == 4) { return _wrap_fl_yxline__SWIG_1(self, args); } if (argc == 5) { return _wrap_fl_yxline__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_yxline'.\n" " Possible C/C++ prototypes are:\n" " fl_yxline(int,int,int)\n" " fl_yxline(int,int,int,int)\n" " fl_yxline(int,int,int,int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_arc__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; double arg5 ; double arg6 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; double val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_arc",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_arc" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_arc" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_arc" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_arc" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_double(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_arc" "', argument " "5"" of type '" "double""'"); } arg5 = static_cast< double >(val5); ecode6 = SWIG_AsVal_double(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_arc" "', argument " "6"" of type '" "double""'"); } arg6 = static_cast< double >(val6); fl_arc(arg1,arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_pie(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; double arg5 ; double arg6 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; double val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_pie",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_pie" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_pie" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_pie" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_pie" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_double(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_pie" "', argument " "5"" of type '" "double""'"); } arg5 = static_cast< double >(val5); ecode6 = SWIG_AsVal_double(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_pie" "', argument " "6"" of type '" "double""'"); } arg6 = static_cast< double >(val6); fl_pie(arg1,arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_push_matrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_push_matrix(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_pop_matrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_pop_matrix(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_scale__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_scale",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_scale" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_scale" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); fl_scale(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_scale__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_scale",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_scale" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); fl_scale(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_scale(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_fl_scale__SWIG_1(self, args); } if (argc == 2) { return _wrap_fl_scale__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_scale'.\n" " Possible C/C++ prototypes are:\n" " fl_scale(double,double)\n" " fl_scale(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_translate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_translate",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_translate" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_translate" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); fl_translate(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_rotate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_rotate",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_rotate" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); fl_rotate(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_mult_matrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double arg3 ; double arg4 ; double arg5 ; double arg6 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; double val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_mult_matrix",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_mult_matrix" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_mult_matrix" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_mult_matrix" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_mult_matrix" "', argument " "4"" of type '" "double""'"); } arg4 = static_cast< double >(val4); ecode5 = SWIG_AsVal_double(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_mult_matrix" "', argument " "5"" of type '" "double""'"); } arg5 = static_cast< double >(val5); ecode6 = SWIG_AsVal_double(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_mult_matrix" "', argument " "6"" of type '" "double""'"); } arg6 = static_cast< double >(val6); fl_mult_matrix(arg1,arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_begin_points(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_begin_points(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_begin_line(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_begin_line(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_begin_loop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_begin_loop(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_begin_polygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_begin_polygon(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_vertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_vertex",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_vertex" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_vertex" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); fl_vertex(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_curve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double arg3 ; double arg4 ; double arg5 ; double arg6 ; double arg7 ; double arg8 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; double val6 ; int ecode6 = 0 ; double val7 ; int ecode7 = 0 ; double val8 ; int ecode8 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_curve",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_curve" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_curve" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_curve" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_curve" "', argument " "4"" of type '" "double""'"); } arg4 = static_cast< double >(val4); ecode5 = SWIG_AsVal_double(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_curve" "', argument " "5"" of type '" "double""'"); } arg5 = static_cast< double >(val5); ecode6 = SWIG_AsVal_double(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_curve" "', argument " "6"" of type '" "double""'"); } arg6 = static_cast< double >(val6); ecode7 = SWIG_AsVal_double(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "fl_curve" "', argument " "7"" of type '" "double""'"); } arg7 = static_cast< double >(val7); ecode8 = SWIG_AsVal_double(obj7, &val8); if (!SWIG_IsOK(ecode8)) { SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "fl_curve" "', argument " "8"" of type '" "double""'"); } arg8 = static_cast< double >(val8); fl_curve(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_arc__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double arg3 ; double arg4 ; double arg5 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; double val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_arc",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_arc" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_arc" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_arc" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_arc" "', argument " "4"" of type '" "double""'"); } arg4 = static_cast< double >(val4); ecode5 = SWIG_AsVal_double(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_arc" "', argument " "5"" of type '" "double""'"); } arg5 = static_cast< double >(val5); fl_arc(arg1,arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_arc(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 5) { return _wrap_fl_arc__SWIG_1(self, args); } if (argc == 6) { return _wrap_fl_arc__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_arc'.\n" " Possible C/C++ prototypes are:\n" " fl_arc(int,int,int,int,double,double)\n" " fl_arc(double,double,double,double,double)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_circle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double arg3 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_circle",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_circle" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_circle" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_circle" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); fl_circle(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_end_points(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_end_points(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_end_line(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_end_line(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_end_loop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_end_loop(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_end_polygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_end_polygon(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_begin_complex_polygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_begin_complex_polygon(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_gap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_gap(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_end_complex_polygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_end_complex_polygon(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_transform_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"fl_transform_x",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_transform_x" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_transform_x" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); result = (double)fl_transform_x(arg1,arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_transform_y(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"fl_transform_y",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_transform_y" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_transform_y" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); result = (double)fl_transform_y(arg1,arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_transform_dx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"fl_transform_dx",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_transform_dx" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_transform_dx" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); result = (double)fl_transform_dx(arg1,arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_transform_dy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"fl_transform_dy",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_transform_dy" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_transform_dy" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); result = (double)fl_transform_dy(arg1,arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_transformed_vertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; double arg1 ; double arg2 ; double val1 ; int ecode1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_transformed_vertex",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_double(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_transformed_vertex" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_transformed_vertex" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); fl_transformed_vertex(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_font__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Font arg1 ; Fl_Fontsize arg2 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_font",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_font" "', argument " "1"" of type '" "Fl_Font""'"); } arg1 = static_cast< Fl_Font >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_font" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); fl_font(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_font__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Font result; result = (Fl_Font)fl_font(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_font(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_fl_font__SWIG_1(self, args); } if (argc == 2) { return _wrap_fl_font__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_font'.\n" " Possible C/C++ prototypes are:\n" " fl_font(Fl_Font,Fl_Fontsize)\n" " fl_font()\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Fontsize result; result = (Fl_Fontsize)fl_size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_height__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)fl_height(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_height__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_height",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_height" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_height" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)fl_height(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_height(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_fl_height__SWIG_0(self, args); } if (argc == 2) { return _wrap_fl_height__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_height'.\n" " Possible C/C++ prototypes are:\n" " fl_height()\n" " fl_height(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_descent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)fl_descent(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_width__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"fl_width",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_width" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (double)fl_width((char const *)arg1); resultobj = SWIG_From_double(static_cast< double >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_width__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"fl_width",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_width" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_width" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (double)fl_width((char const *)arg1,arg2); resultobj = SWIG_From_double(static_cast< double >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_width__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"fl_width",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_width" "', argument " "1"" of type '" "unsigned int""'"); } arg1 = static_cast< unsigned int >(val1); result = (double)fl_width(arg1); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_width(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_1; return _wrap_fl_width__SWIG_2(self, args); } check_1: if (argc == 1) { return _wrap_fl_width__SWIG_0(self, args); } if (argc == 2) { return _wrap_fl_width__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_width'.\n" " Possible C/C++ prototypes are:\n" " fl_width(char const *)\n" " fl_width(char const *,int)\n" " fl_width(unsigned int)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_text_extents__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int *arg2 = 0 ; int *arg3 = 0 ; int *arg4 = 0 ; int *arg5 = 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int temp2 ; int res2 = SWIG_TMPOBJ ; int temp3 ; int res3 = SWIG_TMPOBJ ; int temp4 ; int res4 = SWIG_TMPOBJ ; int temp5 ; int res5 = SWIG_TMPOBJ ; PyObject * obj0 = 0 ; arg2 = &temp2; arg3 = &temp3; arg4 = &temp4; arg5 = &temp5; if(!PyArg_UnpackTuple(args,(char *)"fl_text_extents",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_text_extents" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_text_extents((char const *)arg1,*arg2,*arg3,*arg4,*arg5); resultobj = SWIG_Py_Void(); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res4)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4))); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res5)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5))); } else { int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags)); } if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_text_extents__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int *arg3 = 0 ; int *arg4 = 0 ; int *arg5 = 0 ; int *arg6 = 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int temp3 ; int res3 = SWIG_TMPOBJ ; int temp4 ; int res4 = SWIG_TMPOBJ ; int temp5 ; int res5 = SWIG_TMPOBJ ; int temp6 ; int res6 = SWIG_TMPOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; arg3 = &temp3; arg4 = &temp4; arg5 = &temp5; arg6 = &temp6; if(!PyArg_UnpackTuple(args,(char *)"fl_text_extents",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_text_extents" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_text_extents" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); fl_text_extents((char const *)arg1,arg2,*arg3,*arg4,*arg5,*arg6); resultobj = SWIG_Py_Void(); if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res4)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4))); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res5)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5))); } else { int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res6)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg6))); } else { int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags)); } if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_text_extents(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_fl_text_extents__SWIG_0(self, args); } if (argc == 2) { return _wrap_fl_text_extents__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_text_extents'.\n" " Possible C/C++ prototypes are:\n" " fl_text_extents(char const *,int &,int &,int &,int &)\n" " fl_text_extents(char const *,int,int &,int &,int &,int &)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_latin1_to_local(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 = (int) -1 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_latin1_to_local",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_latin1_to_local" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_latin1_to_local" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } result = (char *)fl_latin1_to_local((char const *)arg1,arg2); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_local_to_latin1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 = (int) -1 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_local_to_latin1",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_local_to_latin1" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_local_to_latin1" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } result = (char *)fl_local_to_latin1((char const *)arg1,arg2); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_mac_roman_to_local(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 = (int) -1 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_mac_roman_to_local",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_mac_roman_to_local" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_mac_roman_to_local" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } result = (char *)fl_mac_roman_to_local((char const *)arg1,arg2); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_local_to_mac_roman(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 = (int) -1 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_local_to_mac_roman",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_local_to_mac_roman" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_local_to_mac_roman" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } result = (char *)fl_local_to_mac_roman((char const *)arg1,arg2); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_draw__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int arg3 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_draw",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_draw" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); fl_draw((char const *)arg1,arg2,arg3); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_draw__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; char *arg2 = (char *) 0 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_draw",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_draw" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_draw" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); fl_draw(arg1,(char const *)arg2,arg3,arg4); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_draw__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int arg3 ; int arg4 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_draw",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_draw" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); fl_draw((char const *)arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_draw__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; char *arg2 = (char *) 0 ; int arg3 ; int arg4 ; int arg5 ; int val1 ; int ecode1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_draw",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_draw" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_draw" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); fl_draw(arg1,(char const *)arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_rtl_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int arg3 ; int arg4 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_rtl_draw",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_rtl_draw" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_rtl_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_rtl_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_rtl_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); fl_rtl_draw((char const *)arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_measure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int *arg2 = 0 ; int *arg3 = 0 ; int arg4 = (int) 1 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int temp2 ; int res2 = SWIG_TMPOBJ ; int temp3 ; int res3 = SWIG_TMPOBJ ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; arg2 = &temp2; arg3 = &temp3; if(!PyArg_UnpackTuple(args,(char *)"fl_measure",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_measure" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { ecode4 = SWIG_AsVal_int(obj1, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_measure" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); } fl_measure((char const *)arg1,*arg2,*arg3,arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); } if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_draw__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; Fl_Align arg6 ; Fl_Image *arg7 = (Fl_Image *) 0 ; int arg8 = (int) 1 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; unsigned int val6 ; int ecode6 = 0 ; void *argp7 = 0 ; int res7 = 0 ; int val8 ; int ecode8 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_draw",6,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_draw" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_draw" "', argument " "6"" of type '" "Fl_Align""'"); } arg6 = static_cast< Fl_Align >(val6); if (obj6) { res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res7)) { SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "fl_draw" "', argument " "7"" of type '" "Fl_Image *""'"); } arg7 = reinterpret_cast< Fl_Image * >(argp7); } if (obj7) { ecode8 = SWIG_AsVal_int(obj7, &val8); if (!SWIG_IsOK(ecode8)) { SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "fl_draw" "', argument " "8"" of type '" "int""'"); } arg8 = static_cast< int >(val8); } fl_draw((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_draw__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; Fl_Align arg6 ; void (*arg7)(char const *,int,int,int) = (void (*)(char const *,int,int,int)) 0 ; Fl_Image *arg8 = (Fl_Image *) 0 ; int arg9 = (int) 1 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; unsigned int val6 ; int ecode6 = 0 ; void *argp8 = 0 ; int res8 = 0 ; int val9 ; int ecode9 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; PyObject * obj8 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_draw",7,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_draw" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_draw" "', argument " "6"" of type '" "Fl_Align""'"); } arg6 = static_cast< Fl_Align >(val6); { int res = SWIG_ConvertFunctionPtr(obj6, (void**)(&arg7), SWIGTYPE_p_f_p_q_const__char_int_int_int__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "fl_draw" "', argument " "7"" of type '" "void (*)(char const *,int,int,int)""'"); } } if (obj7) { res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res8)) { SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "fl_draw" "', argument " "8"" of type '" "Fl_Image *""'"); } arg8 = reinterpret_cast< Fl_Image * >(argp8); } if (obj8) { ecode9 = SWIG_AsVal_int(obj8, &val9); if (!SWIG_IsOK(ecode9)) { SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "fl_draw" "', argument " "9"" of type '" "int""'"); } arg9 = static_cast< int >(val9); } fl_draw((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_draw(PyObject *self, PyObject *args) { int argc; PyObject *argv[10]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 9) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { return _wrap_fl_draw__SWIG_0(self, args); } if (argc == 4) { int _v = 0; { { int res = SWIG_AsVal_int(argv[0], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_2; { int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_2; return _wrap_fl_draw__SWIG_1(self, args); } check_2: if (argc == 4) { return _wrap_fl_draw__SWIG_2(self, args); } if (argc == 5) { return _wrap_fl_draw__SWIG_3(self, args); } if ((argc >= 6) && (argc <= 8)) { int _v = 0; if (argc > 6) { { void *vptr = 0; int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_Fl_Image, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_5; if (argc > 7) { { { int res = SWIG_AsVal_int(argv[7], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_5; } } return _wrap_fl_draw__SWIG_4(self, args); } check_5: if ((argc >= 7) && (argc <= 9)) { return _wrap_fl_draw__SWIG_5(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_draw'.\n" " Possible C/C++ prototypes are:\n" " fl_draw(char const *,int,int)\n" " fl_draw(int,char const *,int,int)\n" " fl_draw(char const *,int,int,int)\n" " fl_draw(int,char const *,int,int,int)\n" " fl_draw(char const *,int,int,int,int,Fl_Align,Fl_Image *,int)\n" " fl_draw(char const *,int,int,int,int,Fl_Align,void (*)(char const *,int,int,int),Fl_Image *,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_frame__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_frame",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_frame" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_frame" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_frame" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_frame" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_frame" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); fl_frame((char const *)arg1,arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_frame(PyObject *self, PyObject *args) { int argc; PyObject *argv[6]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_fl_frame__SWIG_0(self, args); } if (argc == 5) { return _wrap_fl_frame__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_frame'.\n" " Possible C/C++ prototypes are:\n" " fl_frame(Fl_Boxtype)\n" " fl_frame(char const *,int,int,int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_frame2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_frame2",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_frame2" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_frame2" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_frame2" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_frame2" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_frame2" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); fl_frame2((char const *)arg1,arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_draw_box(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Boxtype arg1 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; Fl_Color arg6 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; unsigned int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_draw_box",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_draw_box" "', argument " "1"" of type '" "Fl_Boxtype""'"); } arg1 = static_cast< Fl_Boxtype >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_draw_box" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_draw_box" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_draw_box" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_draw_box" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_draw_box" "', argument " "6"" of type '" "Fl_Color""'"); } arg6 = static_cast< Fl_Color >(val6); fl_draw_box(arg1,arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_draw_image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; uchar *arg1 = (uchar *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 = (int) 3 ; int arg7 = (int) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_draw_image",5,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; { /* Check if the input support the buffer protocol */ Py_ssize_t size_buffer; const void * buffer; int failure = PyObject_AsReadBuffer(obj0,&buffer,&size_buffer); if (!failure) { // work with array object arg1 = (uchar *) buffer; } else { // work with list object // clear the error from PyObject_AsReadBuffer PyErr_Clear(); size_buffer=0; buffer=0; /* Check if is a list */ if (PyList_Check(obj0)) { int size = PyList_Size(obj0); int i = 0; arg1 = (uchar *) malloc((size+1)*sizeof(char)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj0,i); if (PyInt_Check(o)) arg1[i] = (char)PyInt_AsLong(o); else { PyErr_SetString(PyExc_TypeError,"list must contain ints"); free(arg1); return NULL; } } arg1[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list or does not support single-segment readable buffer interface"); return NULL; } } } ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_draw_image" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_draw_image" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_draw_image" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_draw_image" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_draw_image" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "fl_draw_image" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } fl_draw_image((unsigned char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_draw_image_mono(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; uchar *arg1 = (uchar *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 = (int) 1 ; int arg7 = (int) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_draw_image_mono",5,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; { /* Check if the input support the buffer protocol */ Py_ssize_t size_buffer; const void * buffer; int failure = PyObject_AsReadBuffer(obj0,&buffer,&size_buffer); if (!failure) { // work with array object arg1 = (uchar *) buffer; } else { // work with list object // clear the error from PyObject_AsReadBuffer PyErr_Clear(); size_buffer=0; buffer=0; /* Check if is a list */ if (PyList_Check(obj0)) { int size = PyList_Size(obj0); int i = 0; arg1 = (uchar *) malloc((size+1)*sizeof(char)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj0,i); if (PyInt_Check(o)) arg1[i] = (char)PyInt_AsLong(o); else { PyErr_SetString(PyExc_TypeError,"list must contain ints"); free(arg1); return NULL; } } arg1[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list or does not support single-segment readable buffer interface"); return NULL; } } } ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_draw_image_mono" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_draw_image_mono" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_draw_image_mono" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_draw_image_mono" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_draw_image_mono" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "fl_draw_image_mono" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } fl_draw_image_mono((unsigned char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_can_do_alpha_blending(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char result; result = (char)fl_can_do_alpha_blending(); resultobj = SWIG_NewPointerObj((new char(static_cast< const char& >(result))), SWIGTYPE_p_char, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_draw_pixmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char **arg1 = (char **) 0 ; int arg2 ; int arg3 ; Fl_Color arg4 = (Fl_Color) FL_BACKGROUND_COLOR ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; unsigned int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_draw_pixmap",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; { // Check if is a list if (PyList_Check(obj0)) { int size = PyList_Size(obj0); int i = 0; arg1 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj0,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif //arg1[i] = PyString_AsString(PyList_GetItem(obj0,i)); arg1[i] = SWIG_Python_str_AsChar(PyList_GetItem(obj0,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(arg1); return NULL; } } arg1[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_draw_pixmap" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_draw_pixmap" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); if (obj3) { ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_draw_pixmap" "', argument " "4"" of type '" "Fl_Color""'"); } arg4 = static_cast< Fl_Color >(val4); } result = (int)fl_draw_pixmap((char *const *)arg1,arg2,arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); { free((char *) arg1); } return resultobj; fail: { free((char *) arg1); } return NULL; } SWIGINTERN PyObject *_wrap_fl_measure_pixmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char **arg1 = (char **) 0 ; int *arg2 = 0 ; int *arg3 = 0 ; int temp2 ; int res2 = SWIG_TMPOBJ ; int temp3 ; int res3 = SWIG_TMPOBJ ; PyObject * obj0 = 0 ; int result; arg2 = &temp2; arg3 = &temp3; if(!PyArg_UnpackTuple(args,(char *)"fl_measure_pixmap",1,1,&obj0)) SWIG_fail; { // Check if is a list if (PyList_Check(obj0)) { int size = PyList_Size(obj0); int i = 0; arg1 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj0,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif //arg1[i] = PyString_AsString(PyList_GetItem(obj0,i)); arg1[i] = SWIG_Python_str_AsChar(PyList_GetItem(obj0,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(arg1); return NULL; } } arg1[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } result = (int)fl_measure_pixmap((char *const *)arg1,*arg2,*arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); } { free((char *) arg1); } return resultobj; fail: { free((char *) arg1); } return NULL; } SWIGINTERN PyObject *_wrap_fl_scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; void (*arg7)(void *,int,int,int,int) = (void (*)(void *,int,int,int,int)) 0 ; void *arg8 = (void *) 0 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int res8 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_scroll",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_scroll" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_scroll" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_scroll" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_scroll" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_scroll" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_scroll" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); { int res = SWIG_ConvertFunctionPtr(obj6, (void**)(&arg7), SWIGTYPE_p_f_p_void_int_int_int_int__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "fl_scroll" "', argument " "7"" of type '" "void (*)(void *,int,int,int,int)""'"); } } res8 = SWIG_ConvertPtr(obj7,SWIG_as_voidptrptr(&arg8), 0, 0); if (!SWIG_IsOK(res8)) { SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "fl_scroll" "', argument " "8"" of type '" "void *""'"); } fl_scroll(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_shortcut_label__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_shortcut_label",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_shortcut_label" "', argument " "1"" of type '" "unsigned int""'"); } arg1 = static_cast< unsigned int >(val1); result = (char *)fl_shortcut_label(arg1); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_shortcut_label__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; unsigned int arg1 ; char **arg2 = (char **) 0 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_shortcut_label",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_shortcut_label" "', argument " "1"" of type '" "unsigned int""'"); } arg1 = static_cast< unsigned int >(val1); { // Check if is a list if (PyList_Check(obj1)) { int size = PyList_Size(obj1); int i = 0; arg2 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj1,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif //arg2[i] = PyString_AsString(PyList_GetItem(obj1,i)); arg2[i] = SWIG_Python_str_AsChar(PyList_GetItem(obj1,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(arg2); return NULL; } } arg2[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } result = (char *)fl_shortcut_label(arg1,(char const **)arg2); resultobj = SWIG_FromCharPtr((const char *)result); { free((char *) arg2); } return resultobj; fail: { free((char *) arg2); } return NULL; } SWIGINTERN PyObject *_wrap_fl_shortcut_label(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_fl_shortcut_label__SWIG_0(self, args); } if (argc == 2) { return _wrap_fl_shortcut_label__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'fl_shortcut_label'.\n" " Possible C/C++ prototypes are:\n" " fl_shortcut_label(unsigned int)\n" " fl_shortcut_label(unsigned int,char const **)\n"); return 0; } SWIGINTERN PyObject *_wrap_fl_overlay_rect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_overlay_rect",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_overlay_rect" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_overlay_rect" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_overlay_rect" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_overlay_rect" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); fl_overlay_rect(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_overlay_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_overlay_clear(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_cursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Cursor arg1 ; Fl_Color arg2 = (Fl_Color) FL_BLACK ; Fl_Color arg3 = (Fl_Color) FL_WHITE ; int val1 ; int ecode1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_cursor",1,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_cursor" "', argument " "1"" of type '" "Fl_Cursor""'"); } arg1 = static_cast< Fl_Cursor >(val1); if (obj1) { ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_cursor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); } if (obj2) { ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_cursor" "', argument " "3"" of type '" "Fl_Color""'"); } arg3 = static_cast< Fl_Color >(val3); } fl_cursor(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_expand_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; double arg4 ; int *arg5 = 0 ; double *arg6 = 0 ; int arg7 ; int arg8 = (int) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; int temp5 ; int res5 = SWIG_TMPOBJ ; void *argp6 = 0 ; int res6 = 0 ; int val7 ; int ecode7 = 0 ; int val8 ; int ecode8 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; char *result = 0 ; arg5 = &temp5; if(!PyArg_UnpackTuple(args,(char *)"fl_expand_text",6,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_expand_text" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_expand_text" "', argument " "2"" of type '" "char *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_expand_text" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_double(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_expand_text" "', argument " "4"" of type '" "double""'"); } arg4 = static_cast< double >(val4); res6 = SWIG_ConvertPtr(obj4, &argp6, SWIGTYPE_p_double, 0 ); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "fl_expand_text" "', argument " "6"" of type '" "double &""'"); } if (!argp6) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fl_expand_text" "', argument " "6"" of type '" "double &""'"); } arg6 = reinterpret_cast< double * >(argp6); ecode7 = SWIG_AsVal_int(obj5, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "fl_expand_text" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); if (obj6) { ecode8 = SWIG_AsVal_int(obj6, &val8); if (!SWIG_IsOK(ecode8)) { SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "fl_expand_text" "', argument " "8"" of type '" "int""'"); } arg8 = static_cast< int >(val8); } result = (char *)fl_expand_text((char const *)arg1,arg2,arg3,arg4,*arg5,*arg6,arg7,arg8); resultobj = SWIG_FromCharPtr((const char *)result); if (SWIG_IsTmpObj(res5)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5))); } else { int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags)); } if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_set_status(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_set_status",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_set_status" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_set_status" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_set_status" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_set_status" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); fl_set_status(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_set_spot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; Fl_Window *arg7 = (Fl_Window *) 0 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; void *argp7 = 0 ; int res7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_set_spot",6,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_set_spot" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_set_spot" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_set_spot" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_set_spot" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_set_spot" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_set_spot" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); if (obj6) { res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res7)) { SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "fl_set_spot" "', argument " "7"" of type '" "Fl_Window *""'"); } arg7 = reinterpret_cast< Fl_Window * >(argp7); } fl_set_spot(arg1,arg2,arg3,arg4,arg5,arg6,arg7); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_reset_spot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_reset_spot(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_draw_symbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; Fl_Color arg6 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; unsigned int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_draw_symbol",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_draw_symbol" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_draw_symbol" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_draw_symbol" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_draw_symbol" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "fl_draw_symbol" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "fl_draw_symbol" "', argument " "6"" of type '" "Fl_Color""'"); } arg6 = static_cast< Fl_Color >(val6); result = (int)fl_draw_symbol((char const *)arg1,arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_add_symbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; void (*arg2)(Fl_Color) = (void (*)(Fl_Color)) 0 ; int arg3 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_add_symbol",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_add_symbol" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_unsigned_int__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "fl_add_symbol" "', argument " "2"" of type '" "void (*)(Fl_Color)""'"); } } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_add_symbol" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)fl_add_symbol((char const *)arg1,arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__resize" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Input__resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Input__resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Input__resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Input_::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Input_(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Input_ *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Input_",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Input_" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Input_" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Input_" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Input_" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Input_" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Input_ *)new SwigDirector_Fl_Input_(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing abstract class or protected constructor"); SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Input_, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Input_(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Input_",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Input_" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__value" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Input__value" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->value((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__value" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Input__value" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Input__value" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)(arg1)->value((char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__static_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__static_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__static_value" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Input__static_value" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->static_value((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__static_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__static_value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__static_value" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Input__static_value" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Input__static_value" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)(arg1)->static_value((char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__static_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Input__static_value__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_Input__static_value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__static_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::static_value(char const *)\n" " Fl_Input_::static_value(char const *,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__value" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (char *)((Fl_Input_ const *)arg1)->value(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__value(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__value__SWIG_2(self, args); } if (argc == 2) { return _wrap_Fl_Input__value__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_Input__value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::value(char const *)\n" " Fl_Input_::value(char const *,int)\n" " Fl_Input_::value() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__index(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__index",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__index" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__index" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (Fl_Char)((Fl_Input_ const *)arg1)->index(arg2); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__size",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__size" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (int)((Fl_Input_ const *)arg1)->size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__size",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__size" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__size" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Input__size" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->size(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__size(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__size__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_Input__size__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__size'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::size() const\n" " Fl_Input_::size(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__maximum_size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__maximum_size",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__maximum_size" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (int)((Fl_Input_ const *)arg1)->maximum_size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__maximum_size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__maximum_size",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__maximum_size" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__maximum_size" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->maximum_size(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__maximum_size(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__maximum_size__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input__maximum_size__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__maximum_size'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::maximum_size() const\n" " Fl_Input_::maximum_size(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__position__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__position",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__position" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (int)((Fl_Input_ const *)arg1)->position(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__mark__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__mark",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__mark" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (int)((Fl_Input_ const *)arg1)->mark(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__position__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__position",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__position" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__position" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Input__position" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)(arg1)->position(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__position__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__position",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__position" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__position" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->position(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__position(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__position__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input__position__SWIG_2(self, args); } if (argc == 3) { return _wrap_Fl_Input__position__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__position'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::position() const\n" " Fl_Input_::position(int,int)\n" " Fl_Input_::position(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__mark__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__mark",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__mark" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__mark" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->mark(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__mark(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__mark__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input__mark__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__mark'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::mark() const\n" " Fl_Input_::mark(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; int arg3 ; char *arg4 = (char *) 0 ; int arg5 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__replace",4,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__replace" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__replace" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Input__replace" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Input__replace" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); if (obj4) { ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Input__replace" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); } result = (int)(arg1)->replace(arg2,arg3,(char const *)arg4,arg5); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__cut__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__cut",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__cut" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (int)(arg1)->cut(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__cut__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__cut",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__cut" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__cut" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->cut(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__cut__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__cut",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__cut" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__cut" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Input__cut" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)(arg1)->cut(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__cut(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__cut__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input__cut__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Input__cut__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__cut'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::cut()\n" " Fl_Input_::cut(int)\n" " Fl_Input_::cut(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; char *arg2 = (char *) 0 ; int arg3 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__insert",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__insert" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Input__insert" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Input__insert" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->insert((char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__copy",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__copy" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__copy" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->copy(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__undo",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__undo" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (int)(arg1)->undo(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__copy_cuts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__copy_cuts",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__copy_cuts" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (int)(arg1)->copy_cuts(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__shortcut__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__shortcut",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__shortcut" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (int)((Fl_Input_ const *)arg1)->shortcut(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__shortcut__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__shortcut",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__shortcut" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__shortcut" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->shortcut(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__shortcut(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__shortcut__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input__shortcut__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__shortcut'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::shortcut() const\n" " Fl_Input_::shortcut(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__textfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__textfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__textfont" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (Fl_Font)((Fl_Input_ const *)arg1)->textfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__textfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__textfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__textfont" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__textfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->textfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__textfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__textfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input__textfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__textfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::textfont() const\n" " Fl_Input_::textfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__textsize" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (Fl_Fontsize)((Fl_Input_ const *)arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__textsize" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__textsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input__textsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::textsize() const\n" " Fl_Input_::textsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__textcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__textcolor" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (Fl_Color)((Fl_Input_ const *)arg1)->textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__textcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__textcolor" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__textcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->textcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__textcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input__textcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::textcolor() const\n" " Fl_Input_::textcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__cursor_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__cursor_color",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__cursor_color" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (Fl_Color)((Fl_Input_ const *)arg1)->cursor_color(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__cursor_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__cursor_color",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__cursor_color" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__cursor_color" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->cursor_color(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__cursor_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__cursor_color__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input__cursor_color__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__cursor_color'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::cursor_color() const\n" " Fl_Input_::cursor_color(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__input_type__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__input_type",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__input_type" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (int)((Fl_Input_ const *)arg1)->input_type(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__input_type__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__input_type",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__input_type" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__input_type" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->input_type(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__input_type(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__input_type__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input__input_type__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__input_type'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::input_type() const\n" " Fl_Input_::input_type(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__readonly__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__readonly",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__readonly" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (int)((Fl_Input_ const *)arg1)->readonly(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__readonly__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__readonly",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__readonly" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__readonly" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->readonly(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__readonly(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__readonly__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input__readonly__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__readonly'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::readonly() const\n" " Fl_Input_::readonly(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__wrap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__wrap",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__wrap" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (int)((Fl_Input_ const *)arg1)->wrap(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__wrap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__wrap",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__wrap" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__wrap" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->wrap(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__wrap(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__wrap__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input__wrap__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__wrap'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::wrap() const\n" " Fl_Input_::wrap(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input__tab_nav__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__tab_nav",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__tab_nav" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input__tab_nav" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->tab_nav(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__tab_nav__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input__tab_nav",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input__tab_nav" "', argument " "1"" of type '" "Fl_Input_ const *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); result = (int)((Fl_Input_ const *)arg1)->tab_nav(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input__tab_nav(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input__tab_nav__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Input__tab_nav__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input__tab_nav'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_::tab_nav(int)\n" " Fl_Input_::tab_nav() const\n"); return 0; } SWIGINTERN PyObject *_wrap_disown_Fl_Input_(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_ *arg1 = (Fl_Input_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Input_",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Input_" "', argument " "1"" of type '" "Fl_Input_ *""'"); } arg1 = reinterpret_cast< Fl_Input_ * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Input__swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Input_, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Input_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input *arg1 = (Fl_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Input *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_draw" "', argument " "1"" of type '" "Fl_Input *""'"); } arg1 = reinterpret_cast< Fl_Input * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input *arg1 = (Fl_Input *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_handle" "', argument " "1"" of type '" "Fl_Input *""'"); } arg1 = reinterpret_cast< Fl_Input * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Input::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Input *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Input",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Input" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Input" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Input" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Input" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Input" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Input *)new SwigDirector_Fl_Input(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Input *)new Fl_Input(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Input, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input *arg1 = (Fl_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Input" "', argument " "1"" of type '" "Fl_Input *""'"); } arg1 = reinterpret_cast< Fl_Input * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input *arg1 = (Fl_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Input" "', argument " "1"" of type '" "Fl_Input *""'"); } arg1 = reinterpret_cast< Fl_Input * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Input_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Input, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_File_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_File_Input *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_File_Input",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_File_Input" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_File_Input" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_File_Input" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_File_Input" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_File_Input" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_File_Input *)new SwigDirector_Fl_File_Input(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_File_Input *)new Fl_File_Input(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_File_Input, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Input_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Input *arg1 = (Fl_File_Input *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Input_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Input_handle" "', argument " "1"" of type '" "Fl_File_Input *""'"); } arg1 = reinterpret_cast< Fl_File_Input * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Input_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_File_Input::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Input_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Input *arg1 = (Fl_File_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_File_Input *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Input_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Input_draw" "', argument " "1"" of type '" "Fl_File_Input *""'"); } arg1 = reinterpret_cast< Fl_File_Input * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Input_down_box__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Input *arg1 = (Fl_File_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Boxtype result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Input_down_box",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Input_down_box" "', argument " "1"" of type '" "Fl_File_Input const *""'"); } arg1 = reinterpret_cast< Fl_File_Input * >(argp1); result = (Fl_Boxtype)((Fl_File_Input const *)arg1)->down_box(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Input_down_box__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Input *arg1 = (Fl_File_Input *) 0 ; Fl_Boxtype arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Input_down_box",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Input_down_box" "', argument " "1"" of type '" "Fl_File_Input *""'"); } arg1 = reinterpret_cast< Fl_File_Input * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Input_down_box" "', argument " "2"" of type '" "Fl_Boxtype""'"); } arg2 = static_cast< Fl_Boxtype >(val2); (arg1)->down_box(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Input_down_box(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Input_down_box__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_File_Input_down_box__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Input_down_box'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Input::down_box() const\n" " Fl_File_Input::down_box(Fl_Boxtype)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Input_errorcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Input *arg1 = (Fl_File_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Input_errorcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Input_errorcolor" "', argument " "1"" of type '" "Fl_File_Input const *""'"); } arg1 = reinterpret_cast< Fl_File_Input * >(argp1); result = (Fl_Color)((Fl_File_Input const *)arg1)->errorcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Input_errorcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Input *arg1 = (Fl_File_Input *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Input_errorcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Input_errorcolor" "', argument " "1"" of type '" "Fl_File_Input *""'"); } arg1 = reinterpret_cast< Fl_File_Input * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_File_Input_errorcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->errorcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Input_errorcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Input_errorcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_File_Input_errorcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Input_errorcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Input::errorcolor() const\n" " Fl_File_Input::errorcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_File_Input_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Input *arg1 = (Fl_File_Input *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Input_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Input_value" "', argument " "1"" of type '" "Fl_File_Input *""'"); } arg1 = reinterpret_cast< Fl_File_Input * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Input_value" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->value((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Input_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Input *arg1 = (Fl_File_Input *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Input_value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Input_value" "', argument " "1"" of type '" "Fl_File_Input *""'"); } arg1 = reinterpret_cast< Fl_File_Input * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_File_Input_value" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_File_Input_value" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)(arg1)->value((char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Input_value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Input *arg1 = (Fl_File_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_File_Input_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_File_Input_value" "', argument " "1"" of type '" "Fl_File_Input *""'"); } arg1 = reinterpret_cast< Fl_File_Input * >(argp1); result = (char *)(arg1)->value(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_File_Input_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_File_Input_value__SWIG_2(self, args); } if (argc == 2) { return _wrap_Fl_File_Input_value__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_File_Input_value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_File_Input_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_File_Input::value(char const *)\n" " Fl_File_Input::value(char const *,int)\n" " Fl_File_Input::value()\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_File_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Input *arg1 = (Fl_File_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_File_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Input, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_File_Input" "', argument " "1"" of type '" "Fl_File_Input *""'"); } arg1 = reinterpret_cast< Fl_File_Input * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_File_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_File_Input *arg1 = (Fl_File_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_File_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_File_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_File_Input" "', argument " "1"" of type '" "Fl_File_Input *""'"); } arg1 = reinterpret_cast< Fl_File_Input * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_File_Input_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_File_Input, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Fill_Dial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Fill_Dial *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Fill_Dial",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Fill_Dial" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Fill_Dial" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Fill_Dial" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Fill_Dial" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Fill_Dial" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Fill_Dial *)new SwigDirector_Fl_Fill_Dial(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Fill_Dial *)new Fl_Fill_Dial(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Fill_Dial, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Fill_Dial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Fill_Dial *arg1 = (Fl_Fill_Dial *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Fill_Dial",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Fill_Dial, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Fill_Dial" "', argument " "1"" of type '" "Fl_Fill_Dial *""'"); } arg1 = reinterpret_cast< Fl_Fill_Dial * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Fill_Dial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Fill_Dial *arg1 = (Fl_Fill_Dial *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Fill_Dial",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Fill_Dial, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Fill_Dial" "', argument " "1"" of type '" "Fl_Fill_Dial *""'"); } arg1 = reinterpret_cast< Fl_Fill_Dial * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Fill_Dial_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Fill_Dial *arg1 = (Fl_Fill_Dial *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Fill_Dial *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Fill_Dial_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Fill_Dial, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Fill_Dial_draw" "', argument " "1"" of type '" "Fl_Fill_Dial *""'"); } arg1 = reinterpret_cast< Fl_Fill_Dial * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Fill_Dial_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Fill_Dial, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Slider_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Slider *arg1 = (Fl_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Slider *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Slider_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Slider_draw" "', argument " "1"" of type '" "Fl_Slider *""'"); } arg1 = reinterpret_cast< Fl_Slider * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Slider_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Slider *arg1 = (Fl_Slider *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Slider_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Slider_handle" "', argument " "1"" of type '" "Fl_Slider *""'"); } arg1 = reinterpret_cast< Fl_Slider * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Slider_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Slider::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Slider__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Slider *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Slider",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Slider" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Slider" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Slider" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Slider" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Slider" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Slider *)new SwigDirector_Fl_Slider(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Slider *)new Fl_Slider(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Slider, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Slider__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; uchar arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; char *arg7 = (char *) 0 ; unsigned char val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int res7 ; char *buf7 = 0 ; int alloc7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; Fl_Slider *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Slider",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Slider" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Slider" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Slider" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Slider" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Fl_Slider" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); res7 = SWIG_AsCharPtrAndSize(obj6, &buf7, NULL, &alloc7); if (!SWIG_IsOK(res7)) { SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Fl_Slider" "', argument " "7"" of type '" "char const *""'"); } arg7 = reinterpret_cast< char * >(buf7); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Slider *)new SwigDirector_Fl_Slider(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7); } else { result = (Fl_Slider *)new Fl_Slider(arg2,arg3,arg4,arg5,arg6,(char const *)arg7); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Slider, SWIG_POINTER_NEW | 0 ); if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return resultobj; fail: if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Slider(PyObject *self, PyObject *args) { int argc; PyObject *argv[8]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 5) && (argc <= 6)) { return _wrap_new_Fl_Slider__SWIG_0(self, args); } if (argc == 7) { return _wrap_new_Fl_Slider__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_Slider'.\n" " Possible C/C++ prototypes are:\n" " Fl_Slider::Fl_Slider(int,int,int,int,char const *)\n" " Fl_Slider::Fl_Slider(PyObject *,uchar,int,int,int,int,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Slider_scrollvalue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Slider *arg1 = (Fl_Slider *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Slider_scrollvalue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Slider_scrollvalue" "', argument " "1"" of type '" "Fl_Slider *""'"); } arg1 = reinterpret_cast< Fl_Slider * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Slider_scrollvalue" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Slider_scrollvalue" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Slider_scrollvalue" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Slider_scrollvalue" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); result = (int)(arg1)->scrollvalue(arg2,arg3,arg4,arg5); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Slider_bounds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Slider *arg1 = (Fl_Slider *) 0 ; double arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Slider_bounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Slider_bounds" "', argument " "1"" of type '" "Fl_Slider *""'"); } arg1 = reinterpret_cast< Fl_Slider * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Slider_bounds" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Slider_bounds" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); (arg1)->bounds(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Slider_slider_size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Slider *arg1 = (Fl_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; float result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Slider_slider_size",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Slider_slider_size" "', argument " "1"" of type '" "Fl_Slider const *""'"); } arg1 = reinterpret_cast< Fl_Slider * >(argp1); result = (float)((Fl_Slider const *)arg1)->slider_size(); resultobj = SWIG_From_float(static_cast< float >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Slider_slider_size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Slider *arg1 = (Fl_Slider *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Slider_slider_size",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Slider_slider_size" "', argument " "1"" of type '" "Fl_Slider *""'"); } arg1 = reinterpret_cast< Fl_Slider * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Slider_slider_size" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->slider_size(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Slider_slider_size(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Slider_slider_size__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Slider_slider_size__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Slider_slider_size'.\n" " Possible C/C++ prototypes are:\n" " Fl_Slider::slider_size() const\n" " Fl_Slider::slider_size(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Slider_slider__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Slider *arg1 = (Fl_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Boxtype result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Slider_slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Slider_slider" "', argument " "1"" of type '" "Fl_Slider const *""'"); } arg1 = reinterpret_cast< Fl_Slider * >(argp1); result = (Fl_Boxtype)((Fl_Slider const *)arg1)->slider(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Slider_slider__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Slider *arg1 = (Fl_Slider *) 0 ; Fl_Boxtype arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Slider_slider",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Slider_slider" "', argument " "1"" of type '" "Fl_Slider *""'"); } arg1 = reinterpret_cast< Fl_Slider * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Slider_slider" "', argument " "2"" of type '" "Fl_Boxtype""'"); } arg2 = static_cast< Fl_Boxtype >(val2); (arg1)->slider(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Slider_slider(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Slider_slider__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Slider_slider__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Slider_slider'.\n" " Possible C/C++ prototypes are:\n" " Fl_Slider::slider() const\n" " Fl_Slider::slider(Fl_Boxtype)\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Slider *arg1 = (Fl_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Slider, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Slider" "', argument " "1"" of type '" "Fl_Slider *""'"); } arg1 = reinterpret_cast< Fl_Slider * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Slider *arg1 = (Fl_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Slider" "', argument " "1"" of type '" "Fl_Slider *""'"); } arg1 = reinterpret_cast< Fl_Slider * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Slider, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Fill_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Fill_Slider *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Fill_Slider",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Fill_Slider" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Fill_Slider" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Fill_Slider" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Fill_Slider" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Fill_Slider" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Fill_Slider *)new SwigDirector_Fl_Fill_Slider(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Fill_Slider *)new Fl_Fill_Slider(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Fill_Slider, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Fill_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Fill_Slider *arg1 = (Fl_Fill_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Fill_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Fill_Slider, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Fill_Slider" "', argument " "1"" of type '" "Fl_Fill_Slider *""'"); } arg1 = reinterpret_cast< Fl_Fill_Slider * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Fill_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Fill_Slider *arg1 = (Fl_Fill_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Fill_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Fill_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Fill_Slider" "', argument " "1"" of type '" "Fl_Fill_Slider *""'"); } arg1 = reinterpret_cast< Fl_Fill_Slider * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Fill_Slider_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Fill_Slider *arg1 = (Fl_Fill_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Fill_Slider *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Fill_Slider_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Fill_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Fill_Slider_draw" "', argument " "1"" of type '" "Fl_Fill_Slider *""'"); } arg1 = reinterpret_cast< Fl_Fill_Slider * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Fill_Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Fill_Slider, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Float_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Float_Input *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Float_Input",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Float_Input" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Float_Input" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Float_Input" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Float_Input" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Float_Input" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Float_Input *)new SwigDirector_Fl_Float_Input(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Float_Input *)new Fl_Float_Input(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Float_Input, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Float_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Float_Input *arg1 = (Fl_Float_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Float_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Float_Input, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Float_Input" "', argument " "1"" of type '" "Fl_Float_Input *""'"); } arg1 = reinterpret_cast< Fl_Float_Input * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Float_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Float_Input *arg1 = (Fl_Float_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Float_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Float_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Float_Input" "', argument " "1"" of type '" "Fl_Float_Input *""'"); } arg1 = reinterpret_cast< Fl_Float_Input * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Float_Input_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Float_Input *arg1 = (Fl_Float_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Float_Input *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Float_Input_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Float_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Float_Input_draw" "', argument " "1"" of type '" "Fl_Float_Input *""'"); } arg1 = reinterpret_cast< Fl_Float_Input * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Float_Input_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Float_Input, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_FormsBitmap_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_FormsBitmap *arg1 = (Fl_FormsBitmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_FormsBitmap *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_FormsBitmap_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_FormsBitmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_FormsBitmap_draw" "', argument " "1"" of type '" "Fl_FormsBitmap *""'"); } arg1 = reinterpret_cast< Fl_FormsBitmap * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_FormsBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; Fl_Boxtype arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; char *arg7 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int res7 ; char *buf7 = 0 ; int alloc7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; Fl_FormsBitmap *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_FormsBitmap",6,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_FormsBitmap" "', argument " "2"" of type '" "Fl_Boxtype""'"); } arg2 = static_cast< Fl_Boxtype >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_FormsBitmap" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_FormsBitmap" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_FormsBitmap" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Fl_FormsBitmap" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); if (obj6) { res7 = SWIG_AsCharPtrAndSize(obj6, &buf7, NULL, &alloc7); if (!SWIG_IsOK(res7)) { SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Fl_FormsBitmap" "', argument " "7"" of type '" "char const *""'"); } arg7 = reinterpret_cast< char * >(buf7); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_FormsBitmap *)new SwigDirector_Fl_FormsBitmap(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7); } else { result = (Fl_FormsBitmap *)new Fl_FormsBitmap(arg2,arg3,arg4,arg5,arg6,(char const *)arg7); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_FormsBitmap, SWIG_POINTER_NEW | 0 ); if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return resultobj; fail: if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return NULL; } SWIGINTERN PyObject *_wrap_Fl_FormsBitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_FormsBitmap *arg1 = (Fl_FormsBitmap *) 0 ; int arg2 ; int arg3 ; uchar *arg4 = (uchar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_FormsBitmap_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_FormsBitmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_FormsBitmap_set" "', argument " "1"" of type '" "Fl_FormsBitmap *""'"); } arg1 = reinterpret_cast< Fl_FormsBitmap * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_FormsBitmap_set" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_FormsBitmap_set" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); { /* Check if the input support the buffer protocol */ Py_ssize_t size_buffer; const void * buffer; int failure = PyObject_AsReadBuffer(obj3,&buffer,&size_buffer); if (!failure) { // work with array object arg4 = (uchar *) buffer; } else { // work with list object // clear the error from PyObject_AsReadBuffer PyErr_Clear(); size_buffer=0; buffer=0; /* Check if is a list */ if (PyList_Check(obj3)) { int size = PyList_Size(obj3); int i = 0; arg4 = (uchar *) malloc((size+1)*sizeof(char)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj3,i); if (PyInt_Check(o)) arg4[i] = (char)PyInt_AsLong(o); else { PyErr_SetString(PyExc_TypeError,"list must contain ints"); free(arg4); return NULL; } } arg4[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list or does not support single-segment readable buffer interface"); return NULL; } } } (arg1)->set(arg2,arg3,(uchar const *)arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_FormsBitmap_bitmap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_FormsBitmap *arg1 = (Fl_FormsBitmap *) 0 ; Fl_Bitmap *arg2 = (Fl_Bitmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_FormsBitmap_bitmap",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_FormsBitmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_FormsBitmap_bitmap" "', argument " "1"" of type '" "Fl_FormsBitmap *""'"); } arg1 = reinterpret_cast< Fl_FormsBitmap * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Bitmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_FormsBitmap_bitmap" "', argument " "2"" of type '" "Fl_Bitmap *""'"); } arg2 = reinterpret_cast< Fl_Bitmap * >(argp2); (arg1)->bitmap(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_FormsBitmap_bitmap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_FormsBitmap *arg1 = (Fl_FormsBitmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Bitmap *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_FormsBitmap_bitmap",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_FormsBitmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_FormsBitmap_bitmap" "', argument " "1"" of type '" "Fl_FormsBitmap const *""'"); } arg1 = reinterpret_cast< Fl_FormsBitmap * >(argp1); result = (Fl_Bitmap *)((Fl_FormsBitmap const *)arg1)->bitmap(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Bitmap, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_FormsBitmap_bitmap(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_FormsBitmap_bitmap__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_FormsBitmap_bitmap__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_FormsBitmap_bitmap'.\n" " Possible C/C++ prototypes are:\n" " Fl_FormsBitmap::bitmap(Fl_Bitmap *)\n" " Fl_FormsBitmap::bitmap() const\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_FormsBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_FormsBitmap *arg1 = (Fl_FormsBitmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_FormsBitmap",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_FormsBitmap, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_FormsBitmap" "', argument " "1"" of type '" "Fl_FormsBitmap *""'"); } arg1 = reinterpret_cast< Fl_FormsBitmap * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_FormsBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_FormsBitmap *arg1 = (Fl_FormsBitmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_FormsBitmap",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_FormsBitmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_FormsBitmap" "', argument " "1"" of type '" "Fl_FormsBitmap *""'"); } arg1 = reinterpret_cast< Fl_FormsBitmap * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_FormsBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_FormsBitmap, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_FormsPixmap_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_FormsPixmap *arg1 = (Fl_FormsPixmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_FormsPixmap *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_FormsPixmap_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_FormsPixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_FormsPixmap_draw" "', argument " "1"" of type '" "Fl_FormsPixmap *""'"); } arg1 = reinterpret_cast< Fl_FormsPixmap * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_FormsPixmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; Fl_Boxtype arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; char *arg7 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int res7 ; char *buf7 = 0 ; int alloc7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; Fl_FormsPixmap *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_FormsPixmap",6,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_FormsPixmap" "', argument " "2"" of type '" "Fl_Boxtype""'"); } arg2 = static_cast< Fl_Boxtype >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_FormsPixmap" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_FormsPixmap" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_FormsPixmap" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Fl_FormsPixmap" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); if (obj6) { res7 = SWIG_AsCharPtrAndSize(obj6, &buf7, NULL, &alloc7); if (!SWIG_IsOK(res7)) { SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Fl_FormsPixmap" "', argument " "7"" of type '" "char const *""'"); } arg7 = reinterpret_cast< char * >(buf7); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_FormsPixmap *)new SwigDirector_Fl_FormsPixmap(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7); } else { result = (Fl_FormsPixmap *)new Fl_FormsPixmap(arg2,arg3,arg4,arg5,arg6,(char const *)arg7); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_FormsPixmap, SWIG_POINTER_NEW | 0 ); if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return resultobj; fail: if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return NULL; } SWIGINTERN PyObject *_wrap_Fl_FormsPixmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_FormsPixmap *arg1 = (Fl_FormsPixmap *) 0 ; char **arg2 = (char **) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_FormsPixmap_set",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_FormsPixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_FormsPixmap_set" "', argument " "1"" of type '" "Fl_FormsPixmap *""'"); } arg1 = reinterpret_cast< Fl_FormsPixmap * >(argp1); { // Check if is a list if (PyList_Check(obj1)) { int size = PyList_Size(obj1); int i = 0; arg2 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj1,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif //arg2[i] = PyString_AsString(PyList_GetItem(obj1,i)); arg2[i] = SWIG_Python_str_AsChar(PyList_GetItem(obj1,i)); else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(arg2); return NULL; } } arg2[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } (arg1)->set((char *const *)arg2); resultobj = SWIG_Py_Void(); { free((char *) arg2); } return resultobj; fail: { free((char *) arg2); } return NULL; } SWIGINTERN PyObject *_wrap_Fl_FormsPixmap_Pixmap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_FormsPixmap *arg1 = (Fl_FormsPixmap *) 0 ; Fl_Pixmap *arg2 = (Fl_Pixmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_FormsPixmap_Pixmap",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_FormsPixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_FormsPixmap_Pixmap" "', argument " "1"" of type '" "Fl_FormsPixmap *""'"); } arg1 = reinterpret_cast< Fl_FormsPixmap * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Pixmap, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_FormsPixmap_Pixmap" "', argument " "2"" of type '" "Fl_Pixmap *""'"); } arg2 = reinterpret_cast< Fl_Pixmap * >(argp2); (arg1)->Pixmap(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_FormsPixmap_Pixmap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_FormsPixmap *arg1 = (Fl_FormsPixmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Pixmap *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_FormsPixmap_Pixmap",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_FormsPixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_FormsPixmap_Pixmap" "', argument " "1"" of type '" "Fl_FormsPixmap const *""'"); } arg1 = reinterpret_cast< Fl_FormsPixmap * >(argp1); result = (Fl_Pixmap *)((Fl_FormsPixmap const *)arg1)->Pixmap(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Pixmap, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_FormsPixmap_Pixmap(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_FormsPixmap_Pixmap__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_FormsPixmap_Pixmap__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_FormsPixmap_Pixmap'.\n" " Possible C/C++ prototypes are:\n" " Fl_FormsPixmap::Pixmap(Fl_Pixmap *)\n" " Fl_FormsPixmap::Pixmap() const\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_FormsPixmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_FormsPixmap *arg1 = (Fl_FormsPixmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_FormsPixmap",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_FormsPixmap, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_FormsPixmap" "', argument " "1"" of type '" "Fl_FormsPixmap *""'"); } arg1 = reinterpret_cast< Fl_FormsPixmap * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_FormsPixmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_FormsPixmap *arg1 = (Fl_FormsPixmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_FormsPixmap",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_FormsPixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_FormsPixmap" "', argument " "1"" of type '" "Fl_FormsPixmap *""'"); } arg1 = reinterpret_cast< Fl_FormsPixmap * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_FormsPixmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_FormsPixmap, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Free_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Free *arg1 = (Fl_Free *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Free *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Free_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Free, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Free_draw" "', argument " "1"" of type '" "Fl_Free *""'"); } arg1 = reinterpret_cast< Fl_Free * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Free_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Free *arg1 = (Fl_Free *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Free_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Free, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Free_handle" "', argument " "1"" of type '" "Fl_Free *""'"); } arg1 = reinterpret_cast< Fl_Free * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Free_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Free::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; uchar arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; char *arg7 = (char *) 0 ; FL_HANDLEPTR arg8 = (FL_HANDLEPTR) 0 ; unsigned char val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int res7 ; char *buf7 = 0 ; int alloc7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; Fl_Free *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Free",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Free" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Free" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Free" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Free" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Fl_Free" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); res7 = SWIG_AsCharPtrAndSize(obj6, &buf7, NULL, &alloc7); if (!SWIG_IsOK(res7)) { SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Fl_Free" "', argument " "7"" of type '" "char const *""'"); } arg7 = reinterpret_cast< char * >(buf7); { int res = SWIG_ConvertFunctionPtr(obj7, (void**)(&arg8), SWIGTYPE_p_f_p_Fl_Widget_int_float_float_char__int); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_Fl_Free" "', argument " "8"" of type '" "FL_HANDLEPTR""'"); } } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Free *)new SwigDirector_Fl_Free(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7,arg8); } else { result = (Fl_Free *)new Fl_Free(arg2,arg3,arg4,arg5,arg6,(char const *)arg7,arg8); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Free, SWIG_POINTER_NEW | 0 ); if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return resultobj; fail: if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Free *arg1 = (Fl_Free *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Free",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Free, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Free" "', argument " "1"" of type '" "Fl_Free *""'"); } arg1 = reinterpret_cast< Fl_Free * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Free *arg1 = (Fl_Free *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Free",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Free, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Free" "', argument " "1"" of type '" "Fl_Free *""'"); } arg1 = reinterpret_cast< Fl_Free * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Free_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Free, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Pixmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; char **arg2 = (char **) 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Pixmap *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Pixmap",2,2,&obj0,&obj1)) SWIG_fail; arg1 = obj0; { /* Check if it is a list */ if (PyList_Check(obj1)) { int size = PyList_Size(obj1); int i = 0; arg2 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj1,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif { //arg2[i] = PyString_AsString(PyList_GetItem(obj1,i)); arg2[i] = SWIG_Python_str_AsChar(PyList_GetItem(obj1,i)); } else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(arg2); return NULL; } } arg2[i] = NULL; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Pixmap *)new SwigDirector_Fl_Pixmap(arg1,(char const *const *)arg2); } else { result = (Fl_Pixmap *)new Fl_Pixmap((char const *const *)arg2); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Pixmap, SWIG_POINTER_NEW | 0 ); { // this is a memory leak, but what the heck! // free((char*)arg2); } return resultobj; fail: { // this is a memory leak, but what the heck! // free((char*)arg2); } return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Pixmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pixmap *arg1 = (Fl_Pixmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Pixmap",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pixmap, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Pixmap" "', argument " "1"" of type '" "Fl_Pixmap *""'"); } arg1 = reinterpret_cast< Fl_Pixmap * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Pixmap_copy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pixmap *arg1 = (Fl_Pixmap *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Pixmap_copy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Pixmap_copy" "', argument " "1"" of type '" "Fl_Pixmap *""'"); } arg1 = reinterpret_cast< Fl_Pixmap * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Pixmap_copy" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Pixmap_copy" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (Fl_Image *)(arg1)->Fl_Pixmap::copy(arg2,arg3); } else { result = (Fl_Image *)(arg1)->copy(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, SWIG_POINTER_OWN | 0 ); } if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Pixmap_copy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pixmap *arg1 = (Fl_Pixmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Pixmap_copy",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Pixmap_copy" "', argument " "1"" of type '" "Fl_Pixmap *""'"); } arg1 = reinterpret_cast< Fl_Pixmap * >(argp1); result = (Fl_Image *)(arg1)->copy(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, SWIG_POINTER_OWN | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Pixmap_copy(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Pixmap_copy__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Pixmap_copy__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Pixmap_copy'.\n" " Possible C/C++ prototypes are:\n" " Fl_Pixmap::copy(int,int)\n" " Fl_Pixmap::copy()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Pixmap_color_average(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pixmap *arg1 = (Fl_Pixmap *) 0 ; Fl_Color arg2 ; float arg3 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; float val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Pixmap_color_average",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Pixmap_color_average" "', argument " "1"" of type '" "Fl_Pixmap *""'"); } arg1 = reinterpret_cast< Fl_Pixmap * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Pixmap_color_average" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Pixmap_color_average" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Pixmap::color_average(arg2,arg3); } else { (arg1)->color_average(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Pixmap_desaturate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pixmap *arg1 = (Fl_Pixmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Pixmap_desaturate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Pixmap_desaturate" "', argument " "1"" of type '" "Fl_Pixmap *""'"); } arg1 = reinterpret_cast< Fl_Pixmap * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Pixmap::desaturate(); } else { (arg1)->desaturate(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Pixmap_draw__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pixmap *arg1 = (Fl_Pixmap *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 = (int) 0 ; int arg7 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Pixmap_draw",5,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Pixmap_draw" "', argument " "1"" of type '" "Fl_Pixmap *""'"); } arg1 = reinterpret_cast< Fl_Pixmap * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Pixmap_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Pixmap_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Pixmap_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Pixmap_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Pixmap_draw" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Pixmap_draw" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Pixmap::draw(arg2,arg3,arg4,arg5,arg6,arg7); } else { (arg1)->draw(arg2,arg3,arg4,arg5,arg6,arg7); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Pixmap_draw__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pixmap *arg1 = (Fl_Pixmap *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Pixmap_draw",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Pixmap_draw" "', argument " "1"" of type '" "Fl_Pixmap *""'"); } arg1 = reinterpret_cast< Fl_Pixmap * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Pixmap_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Pixmap_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->draw(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Pixmap_draw(PyObject *self, PyObject *args) { int argc; PyObject *argv[8]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { return _wrap_Fl_Pixmap_draw__SWIG_1(self, args); } if ((argc >= 5) && (argc <= 7)) { return _wrap_Fl_Pixmap_draw__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Pixmap_draw'.\n" " Possible C/C++ prototypes are:\n" " Fl_Pixmap::draw(int,int,int,int,int,int)\n" " Fl_Pixmap::draw(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Pixmap_label__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pixmap *arg1 = (Fl_Pixmap *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Pixmap_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Pixmap_label" "', argument " "1"" of type '" "Fl_Pixmap *""'"); } arg1 = reinterpret_cast< Fl_Pixmap * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Pixmap_label" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Pixmap::label(arg2); } else { (arg1)->label(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Pixmap_label__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pixmap *arg1 = (Fl_Pixmap *) 0 ; Fl_Menu_Item *arg2 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Pixmap_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Pixmap_label" "', argument " "1"" of type '" "Fl_Pixmap *""'"); } arg1 = reinterpret_cast< Fl_Pixmap * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Pixmap_label" "', argument " "2"" of type '" "Fl_Menu_Item *""'"); } arg2 = reinterpret_cast< Fl_Menu_Item * >(argp2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Pixmap::label(arg2); } else { (arg1)->label(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Pixmap_label(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Widget, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Pixmap_label__SWIG_0(self, args); } check_1: if (argc == 2) { return _wrap_Fl_Pixmap_label__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Pixmap_label'.\n" " Possible C/C++ prototypes are:\n" " Fl_Pixmap::label(Fl_Widget *)\n" " Fl_Pixmap::label(Fl_Menu_Item *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Pixmap_uncache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pixmap *arg1 = (Fl_Pixmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Pixmap_uncache",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Pixmap_uncache" "', argument " "1"" of type '" "Fl_Pixmap *""'"); } arg1 = reinterpret_cast< Fl_Pixmap * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Pixmap::uncache(); } else { (arg1)->uncache(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Pixmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pixmap *arg1 = (Fl_Pixmap *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Pixmap",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pixmap, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Pixmap" "', argument " "1"" of type '" "Fl_Pixmap *""'"); } arg1 = reinterpret_cast< Fl_Pixmap * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Pixmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Pixmap, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_GIF_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; char *arg2 = (char *) 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_GIF_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_GIF_Image",2,2,&obj0,&obj1)) SWIG_fail; arg1 = obj0; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_GIF_Image" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_GIF_Image *)new SwigDirector_Fl_GIF_Image(arg1,(char const *)arg2); } else { result = (Fl_GIF_Image *)new Fl_GIF_Image((char const *)arg2); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_GIF_Image, SWIG_POINTER_NEW | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_GIF_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_GIF_Image *arg1 = (Fl_GIF_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_GIF_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_GIF_Image, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_GIF_Image" "', argument " "1"" of type '" "Fl_GIF_Image *""'"); } arg1 = reinterpret_cast< Fl_GIF_Image * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_GIF_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_GIF_Image *arg1 = (Fl_GIF_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_GIF_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_GIF_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_GIF_Image" "', argument " "1"" of type '" "Fl_GIF_Image *""'"); } arg1 = reinterpret_cast< Fl_GIF_Image * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_GIF_Image_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_GIF_Image, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_flush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_flush",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_flush" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Gl_Window::flush(); } else { (arg1)->flush(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_hide",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_hide" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Gl_Window::hide(); } else { (arg1)->hide(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_resize" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Gl_Window_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Gl_Window_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Gl_Window_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Gl_Window_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Gl_Window::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_handle" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Gl_Window_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Gl_Window::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_valid__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_valid",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_valid" "', argument " "1"" of type '" "Fl_Gl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); result = (char)((Fl_Gl_Window const *)arg1)->valid(); { resultobj = PyInt_FromLong( (long)result); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_valid__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_valid",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_valid" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); ecode2 = SWIG_AsVal_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Gl_Window_valid" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); (arg1)->valid(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_valid(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Gl_Window_valid__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Gl_Window_valid__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Gl_Window_valid'.\n" " Possible C/C++ prototypes are:\n" " Fl_Gl_Window::valid() const\n" " Fl_Gl_Window::valid(char)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_invalidate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_invalidate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_invalidate" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); (arg1)->invalidate(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_context_valid__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_context_valid",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_context_valid" "', argument " "1"" of type '" "Fl_Gl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); result = (char)((Fl_Gl_Window const *)arg1)->context_valid(); { resultobj = PyInt_FromLong( (long)result); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_context_valid__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_context_valid",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_context_valid" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); ecode2 = SWIG_AsVal_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Gl_Window_context_valid" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); (arg1)->context_valid(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_context_valid(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Gl_Window_context_valid__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Gl_Window_context_valid__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Gl_Window_context_valid'.\n" " Possible C/C++ prototypes are:\n" " Fl_Gl_Window::context_valid() const\n" " Fl_Gl_Window::context_valid(char)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_can_do__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_can_do",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Gl_Window_can_do" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); result = (int)Fl_Gl_Window::can_do(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_can_do__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int *arg1 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_can_do",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_can_do" "', argument " "1"" of type '" "int const *""'"); } arg1 = reinterpret_cast< int * >(argp1); result = (int)Fl_Gl_Window::can_do((int const *)arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_can_do__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_can_do",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_can_do" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); result = (int)(arg1)->can_do(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_can_do(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Gl_Window_can_do__SWIG_1(self, args); } check_1: if (argc == 1) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Fl_Gl_Window, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_2; return _wrap_Fl_Gl_Window_can_do__SWIG_2(self, args); } check_2: if (argc == 1) { return _wrap_Fl_Gl_Window_can_do__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Gl_Window_can_do'.\n" " Possible C/C++ prototypes are:\n" " Fl_Gl_Window::can_do(int)\n" " Fl_Gl_Window::can_do(int const *)\n" " Fl_Gl_Window::can_do()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_mode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Mode result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_mode",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_mode" "', argument " "1"" of type '" "Fl_Gl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); result = (Fl_Mode)((Fl_Gl_Window const *)arg1)->mode(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_mode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_mode",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_mode" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Gl_Window_mode" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->mode(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_mode__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; int *arg2 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_mode",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_mode" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Gl_Window_mode" "', argument " "2"" of type '" "int const *""'"); } arg2 = reinterpret_cast< int * >(argp2); result = (int)(arg1)->mode((int const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_mode(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Gl_Window_mode__SWIG_0(self, args); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_2; return _wrap_Fl_Gl_Window_mode__SWIG_2(self, args); } check_2: if (argc == 2) { return _wrap_Fl_Gl_Window_mode__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Gl_Window_mode'.\n" " Possible C/C++ prototypes are:\n" " Fl_Gl_Window::mode() const\n" " Fl_Gl_Window::mode(int)\n" " Fl_Gl_Window::mode(int const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_context__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_context",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_context" "', argument " "1"" of type '" "Fl_Gl_Window const *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); result = (void *)((Fl_Gl_Window const *)arg1)->context(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_context__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *arg2 = (void *) 0 ; int arg3 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_context",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_context" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Gl_Window_context" "', argument " "2"" of type '" "void *""'"); } if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Gl_Window_context" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } (arg1)->context(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_context(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Gl_Window_context__SWIG_0(self, args); } if ((argc >= 2) && (argc <= 3)) { return _wrap_Fl_Gl_Window_context__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Gl_Window_context'.\n" " Possible C/C++ prototypes are:\n" " Fl_Gl_Window::context() const\n" " Fl_Gl_Window::context(void *,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_make_current(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_make_current",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_make_current" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); (arg1)->make_current(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_swap_buffers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_swap_buffers",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_swap_buffers" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); (arg1)->swap_buffers(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_ortho(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_ortho",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_ortho" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); (arg1)->ortho(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_can_do_overlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_can_do_overlay",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_can_do_overlay" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); result = (int)(arg1)->can_do_overlay(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_redraw_overlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_redraw_overlay",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_redraw_overlay" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); (arg1)->redraw_overlay(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_hide_overlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_hide_overlay",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_hide_overlay" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); (arg1)->hide_overlay(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_make_overlay_current(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_make_overlay_current",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_make_overlay_current" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); (arg1)->make_overlay_current(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_as_gl_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; Fl_Gl_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_as_gl_window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_as_gl_window" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (Fl_Gl_Window *)(arg1)->Fl_Gl_Window::as_gl_window(); } else { result = (Fl_Gl_Window *)(arg1)->as_gl_window(); } } catch (Swig::DirectorException&) { SWIG_fail; } director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); } if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Gl_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Gl_Window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Gl_Window" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Gl_Window__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; char *arg4 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Fl_Gl_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Gl_Window",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Gl_Window" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Gl_Window" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); if (obj3) { res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Fl_Gl_Window" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Gl_Window *)new SwigDirector_Fl_Gl_Window(arg1,arg2,arg3,(char const *)arg4); } else { result = (Fl_Gl_Window *)new Fl_Gl_Window(arg2,arg3,(char const *)arg4); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Gl_Window, SWIG_POINTER_NEW | 0 ); if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Gl_Window__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Gl_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Gl_Window",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Gl_Window" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Gl_Window" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Gl_Window" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Gl_Window" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Gl_Window" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Gl_Window *)new SwigDirector_Fl_Gl_Window(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Gl_Window *)new Fl_Gl_Window(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Gl_Window, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Gl_Window(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 3) && (argc <= 4)) { return _wrap_new_Fl_Gl_Window__SWIG_0(self, args); } if ((argc >= 5) && (argc <= 6)) { return _wrap_new_Fl_Gl_Window__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_Gl_Window'.\n" " Possible C/C++ prototypes are:\n" " Fl_Gl_Window::Fl_Gl_Window(int,int,char const *)\n" " Fl_Gl_Window::Fl_Gl_Window(PyObject *,int,int,int,int,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Gl_Window *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_draw" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_show",1,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_show" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); if (obj1) { arg2 = obj1; } if (obj2) { arg3 = obj2; } Fl_Gl_Window_show(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Gl_Window_drawPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; PyObject *arg2 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Gl_Window_drawPixels",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Gl_Window_drawPixels" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); arg2 = obj1; Fl_Gl_Window_drawPixels(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Gl_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Gl_Window *arg1 = (Fl_Gl_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Gl_Window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Gl_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Gl_Window" "', argument " "1"" of type '" "Fl_Gl_Window *""'"); } arg1 = reinterpret_cast< Fl_Gl_Window * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Gl_Window_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Gl_Window, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_gl_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; gl_start(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_gl_finish(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; gl_finish(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_gl_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"gl_color",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gl_color" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); gl_color(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_gl_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"gl_color",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gl_color" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); gl_color(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_gl_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_1; return _wrap_gl_color__SWIG_0(self, args); } check_1: if (argc == 1) { return _wrap_gl_color__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'gl_color'.\n" " Possible C/C++ prototypes are:\n" " gl_color(Fl_Color)\n" " gl_color(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_gl_rect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"gl_rect",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gl_rect" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gl_rect" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gl_rect" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gl_rect" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); gl_rect(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_gl_rectf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"gl_rectf",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gl_rectf" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gl_rectf" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gl_rectf" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gl_rectf" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); gl_rectf(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_gl_font(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"gl_font",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gl_font" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gl_font" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); gl_font(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_gl_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)gl_height(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_gl_descent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)gl_descent(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_gl_width__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"gl_width",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gl_width" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (double)gl_width((char const *)arg1); resultobj = SWIG_From_double(static_cast< double >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_gl_width__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"gl_width",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gl_width" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gl_width" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (double)gl_width((char const *)arg1,arg2); resultobj = SWIG_From_double(static_cast< double >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_gl_width__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; uchar arg1 ; unsigned char val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"gl_width",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gl_width" "', argument " "1"" of type '" "uchar""'"); } arg1 = static_cast< uchar >(val1); result = (double)gl_width(arg1); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_gl_width(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { int _v = 0; { { int res = SWIG_AsVal_unsigned_SS_char(argv[0], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_1; return _wrap_gl_width__SWIG_2(self, args); } check_1: if (argc == 1) { return _wrap_gl_width__SWIG_0(self, args); } if (argc == 2) { return _wrap_gl_width__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'gl_width'.\n" " Possible C/C++ prototypes are:\n" " gl_width(char const *)\n" " gl_width(char const *,int)\n" " gl_width(uchar)\n"); return 0; } SWIGINTERN PyObject *_wrap_gl_draw__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"gl_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gl_draw" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); gl_draw((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_gl_draw__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"gl_draw",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gl_draw" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gl_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); gl_draw((char const *)arg1,arg2); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_gl_draw__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int arg3 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"gl_draw",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gl_draw" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gl_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gl_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); gl_draw((char const *)arg1,arg2,arg3); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_gl_draw__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; float arg2 ; float arg3 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; float val2 ; int ecode2 = 0 ; float val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"gl_draw",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gl_draw" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_float(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gl_draw" "', argument " "2"" of type '" "float""'"); } arg2 = static_cast< float >(val2); ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gl_draw" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); gl_draw((char const *)arg1,arg2,arg3); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_gl_draw__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int arg3 ; int arg4 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"gl_draw",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gl_draw" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gl_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gl_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gl_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); gl_draw((char const *)arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_gl_draw__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; float arg3 ; float arg4 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; float val3 ; int ecode3 = 0 ; float val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"gl_draw",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gl_draw" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gl_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gl_draw" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); ecode4 = SWIG_AsVal_float(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gl_draw" "', argument " "4"" of type '" "float""'"); } arg4 = static_cast< float >(val4); gl_draw((char const *)arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_gl_draw__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; Fl_Align arg6 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; unsigned int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"gl_draw",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gl_draw" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gl_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gl_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gl_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gl_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gl_draw" "', argument " "6"" of type '" "Fl_Align""'"); } arg6 = static_cast< Fl_Align >(val6); gl_draw((char const *)arg1,arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_gl_draw(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_gl_draw__SWIG_0(self, args); } if (argc == 2) { return _wrap_gl_draw__SWIG_1(self, args); } if (argc == 3) { int _v = 0; { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_3; { { int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_3; return _wrap_gl_draw__SWIG_2(self, args); } check_3: if (argc == 3) { return _wrap_gl_draw__SWIG_3(self, args); } if (argc == 4) { int _v = 0; { { int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_5; { { int res = SWIG_AsVal_int(argv[3], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_5; return _wrap_gl_draw__SWIG_4(self, args); } check_5: if (argc == 4) { return _wrap_gl_draw__SWIG_5(self, args); } if (argc == 6) { return _wrap_gl_draw__SWIG_6(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'gl_draw'.\n" " Possible C/C++ prototypes are:\n" " gl_draw(char const *)\n" " gl_draw(char const *,int)\n" " gl_draw(char const *,int,int)\n" " gl_draw(char const *,float,float)\n" " gl_draw(char const *,int,int,int)\n" " gl_draw(char const *,int,float,float)\n" " gl_draw(char const *,int,int,int,int,Fl_Align)\n"); return 0; } SWIGINTERN PyObject *_wrap_gl_measure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int *arg2 = 0 ; int *arg3 = 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int temp2 ; int res2 = SWIG_TMPOBJ ; int temp3 ; int res3 = SWIG_TMPOBJ ; PyObject * obj0 = 0 ; arg2 = &temp2; arg3 = &temp3; if(!PyArg_UnpackTuple(args,(char *)"gl_measure",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gl_measure" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); gl_measure((char const *)arg1,*arg2,*arg3); resultobj = SWIG_Py_Void(); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); } if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_gl_draw_image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; uchar *arg1 = (uchar *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 = (int) 3 ; int arg7 = (int) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"gl_draw_image",5,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; { /* Check if the input support the buffer protocol */ Py_ssize_t size_buffer; const void * buffer; int failure = PyObject_AsReadBuffer(obj0,&buffer,&size_buffer); if (!failure) { // work with array object arg1 = (uchar *) buffer; } else { // work with list object // clear the error from PyObject_AsReadBuffer PyErr_Clear(); size_buffer=0; buffer=0; /* Check if is a list */ if (PyList_Check(obj0)) { int size = PyList_Size(obj0); int i = 0; arg1 = (uchar *) malloc((size+1)*sizeof(char)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj0,i); if (PyInt_Check(o)) arg1[i] = (char)PyInt_AsLong(o); else { PyErr_SetString(PyExc_TypeError,"list must contain ints"); free(arg1); return NULL; } } arg1[i] = 0; } else { PyErr_SetString(PyExc_TypeError,"not a list or does not support single-segment readable buffer interface"); return NULL; } } } ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gl_draw_image" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gl_draw_image" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gl_draw_image" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gl_draw_image" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gl_draw_image" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "gl_draw_image" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } gl_draw_image((unsigned char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Help_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *result = 0 ; result = (Fl_Help_Dialog *)new Fl_Help_Dialog(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Help_Dialog, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Help_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Help_Dialog",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Help_Dialog" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_h(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_h",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_h" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); result = (int)(arg1)->h(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_hide",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_hide" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); (arg1)->hide(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_load",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_load" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Help_Dialog_load" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->load((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_position",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_position" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_Dialog_position" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Help_Dialog_position" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->position(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_resize" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_Dialog_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Help_Dialog_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Help_Dialog_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Help_Dialog_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); (arg1)->resize(arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_show__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_show",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_show" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); (arg1)->show(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_show__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; int arg2 ; char **arg3 = (char **) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_show",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_show" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_Dialog_show" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); { /* Check if it is a list */ if (PyList_Check(obj2)) { int size = PyList_Size(obj2); int i = 0; arg3 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj2,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif { //arg3[i] = PyString_AsString(PyList_GetItem(obj2,i)); arg3[i] = SWIG_Python_str_AsChar(PyList_GetItem(obj2,i)); } else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(arg3); return NULL; } } arg3[i] = NULL; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } (arg1)->show(arg2,arg3); resultobj = SWIG_Py_Void(); { // this is a memory leak, but what the heck! // free((char*)arg3); } return resultobj; fail: { // this is a memory leak, but what the heck! // free((char*)arg3); } return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_show(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Help_Dialog_show__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_Help_Dialog_show__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Help_Dialog_show'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_Dialog::show()\n" " Fl_Help_Dialog::show(int,char **)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_textsize" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_Dialog_textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_textsize" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); result = (Fl_Fontsize)(arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Help_Dialog_textsize__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Help_Dialog_textsize__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Help_Dialog_textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_Dialog::textsize(Fl_Fontsize)\n" " Fl_Help_Dialog::textsize()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_topline__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_topline",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_topline" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Help_Dialog_topline" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->topline((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_topline__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_topline",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_topline" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_Dialog_topline" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->topline(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_topline(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_1; return _wrap_Fl_Help_Dialog_topline__SWIG_1(self, args); } check_1: if (argc == 2) { return _wrap_Fl_Help_Dialog_topline__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Help_Dialog_topline'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_Dialog::topline(char const *)\n" " Fl_Help_Dialog::topline(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_value" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Help_Dialog_value" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->value((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_value" "', argument " "1"" of type '" "Fl_Help_Dialog const *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); result = (char *)((Fl_Help_Dialog const *)arg1)->value(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Help_Dialog_value__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Help_Dialog_value__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Help_Dialog_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_Dialog::value(char const *)\n" " Fl_Help_Dialog::value() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_visible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_visible",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_visible" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); result = (int)(arg1)->visible(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_w(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_w",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_w" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); result = (int)(arg1)->w(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_x",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_x" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); result = (int)(arg1)->x(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Dialog_y(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Dialog *arg1 = (Fl_Help_Dialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Dialog_y",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Dialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Dialog_y" "', argument " "1"" of type '" "Fl_Help_Dialog *""'"); } arg1 = reinterpret_cast< Fl_Help_Dialog * >(argp1); result = (int)(arg1)->y(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Help_Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Help_Dialog, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Help_Block(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Block *result = 0 ; result = (Fl_Help_Block *)new Fl_Help_Block(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Help_Block, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Help_Block(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Block *arg1 = (Fl_Help_Block *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Help_Block",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Block, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Help_Block" "', argument " "1"" of type '" "Fl_Help_Block *""'"); } arg1 = reinterpret_cast< Fl_Help_Block * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Help_Block_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Help_Block, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Help_Link(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Link *result = 0 ; result = (Fl_Help_Link *)new Fl_Help_Link(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Help_Link, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Help_Link(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Link *arg1 = (Fl_Help_Link *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Help_Link",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Link, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Help_Link" "', argument " "1"" of type '" "Fl_Help_Link *""'"); } arg1 = reinterpret_cast< Fl_Help_Link * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Help_Link_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Help_Link, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Help_Font_Style_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Font_Style *arg1 = (Fl_Help_Font_Style *) 0 ; Fl_Font *arg2 = 0 ; Fl_Fontsize *arg3 = 0 ; Fl_Color *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; Fl_Font temp2 ; int res2 = SWIG_TMPOBJ ; Fl_Fontsize temp3 ; int res3 = SWIG_TMPOBJ ; void *argp4 = 0 ; int res4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; arg2 = &temp2; arg3 = &temp3; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Font_Style_get",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Font_Style, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Font_Style_get" "', argument " "1"" of type '" "Fl_Help_Font_Style *""'"); } arg1 = reinterpret_cast< Fl_Help_Font_Style * >(argp1); res4 = SWIG_ConvertPtr(obj1, &argp4, SWIGTYPE_p_unsigned_int, 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Help_Font_Style_get" "', argument " "4"" of type '" "Fl_Color &""'"); } if (!argp4) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Help_Font_Style_get" "', argument " "4"" of type '" "Fl_Color &""'"); } arg4 = reinterpret_cast< Fl_Color * >(argp4); (arg1)->get(*arg2,*arg3,*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Font_Style_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Font_Style *arg1 = (Fl_Help_Font_Style *) 0 ; Fl_Font arg2 ; Fl_Fontsize arg3 ; Fl_Color arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; unsigned int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Font_Style_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Font_Style, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Font_Style_set" "', argument " "1"" of type '" "Fl_Help_Font_Style *""'"); } arg1 = reinterpret_cast< Fl_Help_Font_Style * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_Font_Style_set" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Help_Font_Style_set" "', argument " "3"" of type '" "Fl_Fontsize""'"); } arg3 = static_cast< Fl_Fontsize >(val3); ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Help_Font_Style_set" "', argument " "4"" of type '" "Fl_Color""'"); } arg4 = static_cast< Fl_Color >(val4); (arg1)->set(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Help_Font_Style__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Font arg1 ; Fl_Fontsize arg2 ; Fl_Color arg3 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Help_Font_Style *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Help_Font_Style",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Fl_Help_Font_Style" "', argument " "1"" of type '" "Fl_Font""'"); } arg1 = static_cast< Fl_Font >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Help_Font_Style" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Help_Font_Style" "', argument " "3"" of type '" "Fl_Color""'"); } arg3 = static_cast< Fl_Color >(val3); result = (Fl_Help_Font_Style *)new Fl_Help_Font_Style(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Help_Font_Style, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Help_Font_Style__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Font_Style *result = 0 ; result = (Fl_Help_Font_Style *)new Fl_Help_Font_Style(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Help_Font_Style, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Help_Font_Style(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_new_Fl_Help_Font_Style__SWIG_1(self, args); } if (argc == 3) { return _wrap_new_Fl_Help_Font_Style__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_Help_Font_Style'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_Font_Style::Fl_Help_Font_Style(Fl_Font,Fl_Fontsize,Fl_Color)\n" " Fl_Help_Font_Style::Fl_Help_Font_Style()\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Help_Font_Style(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Font_Style *arg1 = (Fl_Help_Font_Style *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Help_Font_Style",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Font_Style, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Help_Font_Style" "', argument " "1"" of type '" "Fl_Help_Font_Style *""'"); } arg1 = reinterpret_cast< Fl_Help_Font_Style * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Help_Font_Style_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Help_Font_Style, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Help_Font_Stack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Font_Stack *result = 0 ; result = (Fl_Help_Font_Stack *)new Fl_Help_Font_Stack(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Help_Font_Stack, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Font_Stack_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Font_Stack *arg1 = (Fl_Help_Font_Stack *) 0 ; Fl_Font arg2 ; Fl_Fontsize arg3 ; Fl_Color arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; unsigned int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Font_Stack_init",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Font_Stack, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Font_Stack_init" "', argument " "1"" of type '" "Fl_Help_Font_Stack *""'"); } arg1 = reinterpret_cast< Fl_Help_Font_Stack * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_Font_Stack_init" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Help_Font_Stack_init" "', argument " "3"" of type '" "Fl_Fontsize""'"); } arg3 = static_cast< Fl_Fontsize >(val3); ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Help_Font_Stack_init" "', argument " "4"" of type '" "Fl_Color""'"); } arg4 = static_cast< Fl_Color >(val4); (arg1)->init(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Font_Stack_top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Font_Stack *arg1 = (Fl_Help_Font_Stack *) 0 ; Fl_Font *arg2 = 0 ; Fl_Fontsize *arg3 = 0 ; Fl_Color *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; Fl_Font temp2 ; int res2 = SWIG_TMPOBJ ; Fl_Fontsize temp3 ; int res3 = SWIG_TMPOBJ ; void *argp4 = 0 ; int res4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; arg2 = &temp2; arg3 = &temp3; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Font_Stack_top",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Font_Stack, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Font_Stack_top" "', argument " "1"" of type '" "Fl_Help_Font_Stack *""'"); } arg1 = reinterpret_cast< Fl_Help_Font_Stack * >(argp1); res4 = SWIG_ConvertPtr(obj1, &argp4, SWIGTYPE_p_unsigned_int, 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Help_Font_Stack_top" "', argument " "4"" of type '" "Fl_Color &""'"); } if (!argp4) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Help_Font_Stack_top" "', argument " "4"" of type '" "Fl_Color &""'"); } arg4 = reinterpret_cast< Fl_Color * >(argp4); (arg1)->top(*arg2,*arg3,*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Font_Stack_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Font_Stack *arg1 = (Fl_Help_Font_Stack *) 0 ; Fl_Font arg2 ; Fl_Fontsize arg3 ; Fl_Color arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; unsigned int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Font_Stack_push",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Font_Stack, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Font_Stack_push" "', argument " "1"" of type '" "Fl_Help_Font_Stack *""'"); } arg1 = reinterpret_cast< Fl_Help_Font_Stack * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_Font_Stack_push" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Help_Font_Stack_push" "', argument " "3"" of type '" "Fl_Fontsize""'"); } arg3 = static_cast< Fl_Fontsize >(val3); ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Help_Font_Stack_push" "', argument " "4"" of type '" "Fl_Color""'"); } arg4 = static_cast< Fl_Color >(val4); (arg1)->push(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Font_Stack_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Font_Stack *arg1 = (Fl_Help_Font_Stack *) 0 ; Fl_Font *arg2 = 0 ; Fl_Fontsize *arg3 = 0 ; Fl_Color *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; Fl_Font temp2 ; int res2 = SWIG_TMPOBJ ; Fl_Fontsize temp3 ; int res3 = SWIG_TMPOBJ ; void *argp4 = 0 ; int res4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; arg2 = &temp2; arg3 = &temp3; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Font_Stack_pop",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Font_Stack, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Font_Stack_pop" "', argument " "1"" of type '" "Fl_Help_Font_Stack *""'"); } arg1 = reinterpret_cast< Fl_Help_Font_Stack * >(argp1); res4 = SWIG_ConvertPtr(obj1, &argp4, SWIGTYPE_p_unsigned_int, 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Help_Font_Stack_pop" "', argument " "4"" of type '" "Fl_Color &""'"); } if (!argp4) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Help_Font_Stack_pop" "', argument " "4"" of type '" "Fl_Color &""'"); } arg4 = reinterpret_cast< Fl_Color * >(argp4); (arg1)->pop(*arg2,*arg3,*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_Font_Stack_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Font_Stack *arg1 = (Fl_Help_Font_Stack *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; size_t result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_Font_Stack_count",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Font_Stack, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_Font_Stack_count" "', argument " "1"" of type '" "Fl_Help_Font_Stack const *""'"); } arg1 = reinterpret_cast< Fl_Help_Font_Stack * >(argp1); result = ((Fl_Help_Font_Stack const *)arg1)->count(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Help_Font_Stack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Font_Stack *arg1 = (Fl_Help_Font_Stack *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Help_Font_Stack",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Font_Stack, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Help_Font_Stack" "', argument " "1"" of type '" "Fl_Help_Font_Stack *""'"); } arg1 = reinterpret_cast< Fl_Help_Font_Stack * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Help_Font_Stack_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Help_Font_Stack, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Help_Target(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Target *result = 0 ; result = (Fl_Help_Target *)new Fl_Help_Target(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Help_Target, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Help_Target(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_Target *arg1 = (Fl_Help_Target *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Help_Target",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_Target, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Help_Target" "', argument " "1"" of type '" "Fl_Help_Target *""'"); } arg1 = reinterpret_cast< Fl_Help_Target * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Help_Target_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Help_Target, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Help_View(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Help_View *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Help_View",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Help_View" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Help_View" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Help_View" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Help_View" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Help_View" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Help_View *)new SwigDirector_Fl_Help_View(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Help_View *)new Fl_Help_View(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Help_View, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Help_View(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Help_View",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Help_View" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_directory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_directory",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_directory" "', argument " "1"" of type '" "Fl_Help_View const *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); result = (char *)((Fl_Help_View const *)arg1)->directory(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_filename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_filename",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_filename" "', argument " "1"" of type '" "Fl_Help_View const *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); result = (char *)((Fl_Help_View const *)arg1)->filename(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; char *arg2 = (char *) 0 ; int arg3 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_find",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_find" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Help_View_find" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Help_View_find" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->find((char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_link__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; Fl_Help_Func *arg2 = (Fl_Help_Func *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_link",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_link" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_Fl_Widget_p_q_const__char__p_char); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Help_View_link" "', argument " "2"" of type '" "Fl_Help_Func *""'"); } } (arg1)->link(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_load",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_load" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Help_View_load" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->load((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_resize" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_View_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Help_View_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Help_View_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Help_View_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Help_View::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_size",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_size" "', argument " "1"" of type '" "Fl_Help_View const *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); result = (int)((Fl_Help_View const *)arg1)->size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_size",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_size" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_View_size" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Help_View_size" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->size(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_size(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Help_View_size__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_Help_View_size__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Help_View_size'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_View::size() const\n" " Fl_Help_View::size(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Help_View_textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_textcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_textcolor" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_View_textcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->textcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_textcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_textcolor" "', argument " "1"" of type '" "Fl_Help_View const *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); result = (Fl_Color)((Fl_Help_View const *)arg1)->textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Help_View_textcolor__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Help_View_textcolor__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Help_View_textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_View::textcolor(Fl_Color)\n" " Fl_Help_View::textcolor() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Help_View_textfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_textfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_textfont" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_View_textfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->textfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_textfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_textfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_textfont" "', argument " "1"" of type '" "Fl_Help_View const *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); result = (Fl_Font)((Fl_Help_View const *)arg1)->textfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_textfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Help_View_textfont__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Help_View_textfont__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Help_View_textfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_View::textfont(Fl_Font)\n" " Fl_Help_View::textfont() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Help_View_textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_textsize" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_View_textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_textsize" "', argument " "1"" of type '" "Fl_Help_View const *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); result = (Fl_Fontsize)((Fl_Help_View const *)arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Help_View_textsize__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Help_View_textsize__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Help_View_textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_View::textsize(Fl_Fontsize)\n" " Fl_Help_View::textsize() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Help_View_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_title",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_title" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); result = (char *)(arg1)->title(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_topline__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_topline",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_topline" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Help_View_topline" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->topline((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_topline__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_topline",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_topline" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_View_topline" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->topline(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_topline__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_topline",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_topline" "', argument " "1"" of type '" "Fl_Help_View const *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); result = (int)((Fl_Help_View const *)arg1)->topline(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_topline(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Help_View_topline__SWIG_2(self, args); } if (argc == 2) { int _v = 0; { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_2; return _wrap_Fl_Help_View_topline__SWIG_1(self, args); } check_2: if (argc == 2) { return _wrap_Fl_Help_View_topline__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Help_View_topline'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_View::topline(char const *)\n" " Fl_Help_View::topline(int)\n" " Fl_Help_View::topline() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Help_View_leftline__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_leftline",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_leftline" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_View_leftline" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->leftline(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_leftline__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_leftline",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_leftline" "', argument " "1"" of type '" "Fl_Help_View const *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); result = (int)((Fl_Help_View const *)arg1)->leftline(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_leftline(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Help_View_leftline__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Help_View_leftline__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Help_View_leftline'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_View::leftline(int)\n" " Fl_Help_View::leftline() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Help_View_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_value" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Help_View_value" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->value((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_value" "', argument " "1"" of type '" "Fl_Help_View const *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); result = (char *)((Fl_Help_View const *)arg1)->value(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Help_View_value__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Help_View_value__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Help_View_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_View::value(char const *)\n" " Fl_Help_View::value() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Help_View_clear_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_clear_selection",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_clear_selection" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); (arg1)->clear_selection(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_select_all(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_select_all",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_select_all" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); (arg1)->select_all(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_scrollbar_size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_scrollbar_size",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_scrollbar_size" "', argument " "1"" of type '" "Fl_Help_View const *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); result = (int)((Fl_Help_View const *)arg1)->scrollbar_size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_scrollbar_size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_scrollbar_size",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_scrollbar_size" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Help_View_scrollbar_size" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->scrollbar_size(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_scrollbar_size(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Help_View_scrollbar_size__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Help_View_scrollbar_size__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Help_View_scrollbar_size'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_View::scrollbar_size() const\n" " Fl_Help_View::scrollbar_size(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Help_View_link__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_link",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_link" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); { if (!PyCallable_Check(obj1)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); return NULL; } arg2 = obj1; } arg3 = obj2; Fl_Help_View_link__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_link(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Help_View_link__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_Help_View_link__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Help_View_link'.\n" " Possible C/C++ prototypes are:\n" " Fl_Help_View::link(Fl_Help_Func *)\n" " Fl_Help_View::link(PyObject *,PyObject *)\n"); return 0; } SWIGINTERN PyObject *_wrap_disown_Fl_Help_View(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Help_View",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Help_View" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Help_View_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Help_View *arg1 = (Fl_Help_View *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Help_View *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Help_View_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Help_View, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Help_View_draw" "', argument " "1"" of type '" "Fl_Help_View *""'"); } arg1 = reinterpret_cast< Fl_Help_View * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Help_View_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Help_View, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Hold_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Hold_Browser *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Hold_Browser",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Hold_Browser" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Hold_Browser" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Hold_Browser" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Hold_Browser" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Hold_Browser" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Hold_Browser *)new SwigDirector_Fl_Hold_Browser(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Hold_Browser *)new Fl_Hold_Browser(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Hold_Browser, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Hold_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Hold_Browser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Hold_Browser" "', argument " "1"" of type '" "Fl_Hold_Browser *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Hold_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Hold_Browser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Hold_Browser" "', argument " "1"" of type '" "Fl_Hold_Browser *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_draw" "', argument " "1"" of type '" "Fl_Hold_Browser *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_item_first(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_item_first",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_item_first" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_first"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_first"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Hold_Browser const *)darg)->item_firstSwigPublic(); } else { result = (void *)((SwigDirector_Fl_Hold_Browser const *)darg)->item_first(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_item_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_item_next",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_item_next" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Hold_Browser_item_next" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_next"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_next"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Hold_Browser const *)darg)->item_nextSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Hold_Browser const *)darg)->item_next(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_item_prev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_item_prev",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_item_prev" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Hold_Browser_item_prev" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_prev"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_prev"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Hold_Browser const *)darg)->item_prevSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Hold_Browser const *)darg)->item_prev(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_item_last(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_item_last",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_item_last" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_last"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_last"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Hold_Browser const *)darg)->item_lastSwigPublic(); } else { result = (void *)((SwigDirector_Fl_Hold_Browser const *)darg)->item_last(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_item_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_item_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_item_height" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Hold_Browser_item_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->item_heightSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->item_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_item_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_item_width",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_item_width" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Hold_Browser_item_width" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->item_widthSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->item_width(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_item_quick_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_item_quick_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_item_quick_height" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Hold_Browser_item_quick_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_quick_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_quick_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->item_quick_heightSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->item_quick_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_item_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *arg2 = (void *) 0 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_item_draw",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_item_draw" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Hold_Browser_item_draw" "', argument " "2"" of type '" "void *""'"); } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Hold_Browser_item_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Hold_Browser_item_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Hold_Browser_item_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Hold_Browser_item_draw" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { ((SwigDirector_Fl_Hold_Browser const *)darg)->item_drawSwigPublic(arg2,arg3,arg4,arg5,arg6); } else { ((SwigDirector_Fl_Hold_Browser const *)darg)->item_draw(arg2,arg3,arg4,arg5,arg6); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_item_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_item_text",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_item_text" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Hold_Browser_item_text" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_text"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_text"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (char *)((SwigDirector_Fl_Hold_Browser const *)darg)->item_textSwigPublic(arg2); } else { result = (char *)((SwigDirector_Fl_Hold_Browser const *)darg)->item_text(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_FromCharPtr((const char *)result); if (director) { director->swig_release_ownership(SWIG_as_voidptr(result)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_item_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *arg2 = (void *) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_item_swap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_item_swap" "', argument " "1"" of type '" "Fl_Hold_Browser *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Hold_Browser_item_swap" "', argument " "2"" of type '" "void *""'"); } res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Hold_Browser_item_swap" "', argument " "3"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_swap"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_swap"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_swapSwigPublic(arg2,arg3); } else { (darg)->item_swap(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_item_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_item_at",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_item_at" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Hold_Browser_item_at" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_at"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_at"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Hold_Browser const *)darg)->item_atSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Hold_Browser const *)darg)->item_at(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_full_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_full_width",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_full_width" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->full_widthSwigPublic(); } else { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->full_width(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_full_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_full_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_full_height" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->full_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->full_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_incr_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_incr_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_incr_height" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("incr_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member incr_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->incr_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->incr_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_item_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *arg2 = (void *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_item_select",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_item_select" "', argument " "1"" of type '" "Fl_Hold_Browser *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Hold_Browser_item_select" "', argument " "2"" of type '" "void *""'"); } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Hold_Browser_item_select" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_select"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_select"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_selectSwigPublic(arg2,arg3); } else { (darg)->item_select(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hold_Browser_item_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hold_Browser *arg1 = (Fl_Hold_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hold_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hold_Browser_item_selected",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hold_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hold_Browser_item_selected" "', argument " "1"" of type '" "Fl_Hold_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Hold_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Hold_Browser_item_selected" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_selected"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_selected"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->item_selectedSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Hold_Browser const *)darg)->item_selected(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Hold_Browser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Hold_Browser, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Hor_Fill_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Hor_Fill_Slider *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Hor_Fill_Slider",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Hor_Fill_Slider" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Hor_Fill_Slider" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Hor_Fill_Slider" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Hor_Fill_Slider" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Hor_Fill_Slider" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Hor_Fill_Slider *)new SwigDirector_Fl_Hor_Fill_Slider(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Hor_Fill_Slider *)new Fl_Hor_Fill_Slider(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Hor_Fill_Slider, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Hor_Fill_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hor_Fill_Slider *arg1 = (Fl_Hor_Fill_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Hor_Fill_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hor_Fill_Slider, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Hor_Fill_Slider" "', argument " "1"" of type '" "Fl_Hor_Fill_Slider *""'"); } arg1 = reinterpret_cast< Fl_Hor_Fill_Slider * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Hor_Fill_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hor_Fill_Slider *arg1 = (Fl_Hor_Fill_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Hor_Fill_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hor_Fill_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Hor_Fill_Slider" "', argument " "1"" of type '" "Fl_Hor_Fill_Slider *""'"); } arg1 = reinterpret_cast< Fl_Hor_Fill_Slider * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hor_Fill_Slider_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hor_Fill_Slider *arg1 = (Fl_Hor_Fill_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hor_Fill_Slider *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hor_Fill_Slider_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hor_Fill_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hor_Fill_Slider_draw" "', argument " "1"" of type '" "Fl_Hor_Fill_Slider *""'"); } arg1 = reinterpret_cast< Fl_Hor_Fill_Slider * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Hor_Fill_Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Hor_Fill_Slider, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Hor_Nice_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Hor_Nice_Slider *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Hor_Nice_Slider",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Hor_Nice_Slider" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Hor_Nice_Slider" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Hor_Nice_Slider" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Hor_Nice_Slider" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Hor_Nice_Slider" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Hor_Nice_Slider *)new SwigDirector_Fl_Hor_Nice_Slider(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Hor_Nice_Slider *)new Fl_Hor_Nice_Slider(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Hor_Nice_Slider, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Hor_Nice_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hor_Nice_Slider *arg1 = (Fl_Hor_Nice_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Hor_Nice_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hor_Nice_Slider, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Hor_Nice_Slider" "', argument " "1"" of type '" "Fl_Hor_Nice_Slider *""'"); } arg1 = reinterpret_cast< Fl_Hor_Nice_Slider * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Hor_Nice_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hor_Nice_Slider *arg1 = (Fl_Hor_Nice_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Hor_Nice_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hor_Nice_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Hor_Nice_Slider" "', argument " "1"" of type '" "Fl_Hor_Nice_Slider *""'"); } arg1 = reinterpret_cast< Fl_Hor_Nice_Slider * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hor_Nice_Slider_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hor_Nice_Slider *arg1 = (Fl_Hor_Nice_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hor_Nice_Slider *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hor_Nice_Slider_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hor_Nice_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hor_Nice_Slider_draw" "', argument " "1"" of type '" "Fl_Hor_Nice_Slider *""'"); } arg1 = reinterpret_cast< Fl_Hor_Nice_Slider * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Hor_Nice_Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Hor_Nice_Slider, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Hor_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Hor_Slider *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Hor_Slider",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Hor_Slider" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Hor_Slider" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Hor_Slider" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Hor_Slider" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Hor_Slider" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Hor_Slider *)new SwigDirector_Fl_Hor_Slider(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Hor_Slider *)new Fl_Hor_Slider(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Hor_Slider, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Hor_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hor_Slider *arg1 = (Fl_Hor_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Hor_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hor_Slider, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Hor_Slider" "', argument " "1"" of type '" "Fl_Hor_Slider *""'"); } arg1 = reinterpret_cast< Fl_Hor_Slider * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Hor_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hor_Slider *arg1 = (Fl_Hor_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Hor_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hor_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Hor_Slider" "', argument " "1"" of type '" "Fl_Hor_Slider *""'"); } arg1 = reinterpret_cast< Fl_Hor_Slider * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hor_Slider_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hor_Slider *arg1 = (Fl_Hor_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hor_Slider *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hor_Slider_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hor_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hor_Slider_draw" "', argument " "1"" of type '" "Fl_Hor_Slider *""'"); } arg1 = reinterpret_cast< Fl_Hor_Slider * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Hor_Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Hor_Slider, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Value_Slider_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Slider *arg1 = (Fl_Value_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Value_Slider *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Slider_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Slider_draw" "', argument " "1"" of type '" "Fl_Value_Slider *""'"); } arg1 = reinterpret_cast< Fl_Value_Slider * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Slider_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Slider *arg1 = (Fl_Value_Slider *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Slider_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Slider_handle" "', argument " "1"" of type '" "Fl_Value_Slider *""'"); } arg1 = reinterpret_cast< Fl_Value_Slider * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Slider_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Value_Slider::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Value_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Value_Slider *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Value_Slider",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Value_Slider" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Value_Slider" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Value_Slider" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Value_Slider" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Value_Slider" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Value_Slider *)new SwigDirector_Fl_Value_Slider(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Value_Slider *)new Fl_Value_Slider(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Value_Slider, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Slider_textfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Slider *arg1 = (Fl_Value_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Slider_textfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Slider_textfont" "', argument " "1"" of type '" "Fl_Value_Slider const *""'"); } arg1 = reinterpret_cast< Fl_Value_Slider * >(argp1); result = (Fl_Font)((Fl_Value_Slider const *)arg1)->textfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Slider_textfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Slider *arg1 = (Fl_Value_Slider *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Slider_textfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Slider_textfont" "', argument " "1"" of type '" "Fl_Value_Slider *""'"); } arg1 = reinterpret_cast< Fl_Value_Slider * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Slider_textfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->textfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Slider_textfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Value_Slider_textfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Value_Slider_textfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Value_Slider_textfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Value_Slider::textfont() const\n" " Fl_Value_Slider::textfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Value_Slider_textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Slider *arg1 = (Fl_Value_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Slider_textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Slider_textsize" "', argument " "1"" of type '" "Fl_Value_Slider const *""'"); } arg1 = reinterpret_cast< Fl_Value_Slider * >(argp1); result = (Fl_Fontsize)((Fl_Value_Slider const *)arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Slider_textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Slider *arg1 = (Fl_Value_Slider *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Slider_textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Slider_textsize" "', argument " "1"" of type '" "Fl_Value_Slider *""'"); } arg1 = reinterpret_cast< Fl_Value_Slider * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Slider_textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Slider_textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Value_Slider_textsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Value_Slider_textsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Value_Slider_textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Value_Slider::textsize() const\n" " Fl_Value_Slider::textsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Value_Slider_textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Slider *arg1 = (Fl_Value_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Slider_textcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Slider_textcolor" "', argument " "1"" of type '" "Fl_Value_Slider const *""'"); } arg1 = reinterpret_cast< Fl_Value_Slider * >(argp1); result = (Fl_Color)((Fl_Value_Slider const *)arg1)->textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Slider_textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Slider *arg1 = (Fl_Value_Slider *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Slider_textcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Slider_textcolor" "', argument " "1"" of type '" "Fl_Value_Slider *""'"); } arg1 = reinterpret_cast< Fl_Value_Slider * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Slider_textcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->textcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Slider_textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Value_Slider_textcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Value_Slider_textcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Value_Slider_textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Value_Slider::textcolor() const\n" " Fl_Value_Slider::textcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Value_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Slider *arg1 = (Fl_Value_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Value_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Slider, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Value_Slider" "', argument " "1"" of type '" "Fl_Value_Slider *""'"); } arg1 = reinterpret_cast< Fl_Value_Slider * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Value_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Slider *arg1 = (Fl_Value_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Value_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Value_Slider" "', argument " "1"" of type '" "Fl_Value_Slider *""'"); } arg1 = reinterpret_cast< Fl_Value_Slider * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Value_Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Value_Slider, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Hor_Value_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Hor_Value_Slider *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Hor_Value_Slider",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Hor_Value_Slider" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Hor_Value_Slider" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Hor_Value_Slider" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Hor_Value_Slider" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Hor_Value_Slider" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Hor_Value_Slider *)new SwigDirector_Fl_Hor_Value_Slider(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Hor_Value_Slider *)new Fl_Hor_Value_Slider(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Hor_Value_Slider, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Hor_Value_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hor_Value_Slider *arg1 = (Fl_Hor_Value_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Hor_Value_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hor_Value_Slider, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Hor_Value_Slider" "', argument " "1"" of type '" "Fl_Hor_Value_Slider *""'"); } arg1 = reinterpret_cast< Fl_Hor_Value_Slider * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Hor_Value_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hor_Value_Slider *arg1 = (Fl_Hor_Value_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Hor_Value_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hor_Value_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Hor_Value_Slider" "', argument " "1"" of type '" "Fl_Hor_Value_Slider *""'"); } arg1 = reinterpret_cast< Fl_Hor_Value_Slider * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Hor_Value_Slider_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Hor_Value_Slider *arg1 = (Fl_Hor_Value_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Hor_Value_Slider *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Hor_Value_Slider_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Hor_Value_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Hor_Value_Slider_draw" "', argument " "1"" of type '" "Fl_Hor_Value_Slider *""'"); } arg1 = reinterpret_cast< Fl_Hor_Value_Slider * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Hor_Value_Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Hor_Value_Slider, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Int_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Int_Input *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Int_Input",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Int_Input" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Int_Input" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Int_Input" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Int_Input" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Int_Input" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Int_Input *)new SwigDirector_Fl_Int_Input(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Int_Input *)new Fl_Int_Input(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Int_Input, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Int_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Int_Input *arg1 = (Fl_Int_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Int_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Int_Input, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Int_Input" "', argument " "1"" of type '" "Fl_Int_Input *""'"); } arg1 = reinterpret_cast< Fl_Int_Input * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Int_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Int_Input *arg1 = (Fl_Int_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Int_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Int_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Int_Input" "', argument " "1"" of type '" "Fl_Int_Input *""'"); } arg1 = reinterpret_cast< Fl_Int_Input * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Int_Input_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Int_Input *arg1 = (Fl_Int_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Int_Input *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Int_Input_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Int_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Int_Input_draw" "', argument " "1"" of type '" "Fl_Int_Input *""'"); } arg1 = reinterpret_cast< Fl_Int_Input * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Int_Input_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Int_Input, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Input_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Input_Choice *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Input_Choice",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Input_Choice" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Input_Choice" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Input_Choice" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Input_Choice" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Input_Choice" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Input_Choice *)new SwigDirector_Fl_Input_Choice(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Input_Choice *)new Fl_Input_Choice(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Input_Choice, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_add",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_add" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Input_Choice_add" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->add((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_changed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_changed",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_changed" "', argument " "1"" of type '" "Fl_Input_Choice const *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); result = (int)((Fl_Input_Choice const *)arg1)->changed(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_clear_changed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_clear_changed",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_clear_changed" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); (arg1)->clear_changed(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_set_changed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_set_changed",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_set_changed" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); (arg1)->set_changed(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_clear" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_down_box__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Boxtype result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_down_box",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_down_box" "', argument " "1"" of type '" "Fl_Input_Choice const *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); result = (Fl_Boxtype)((Fl_Input_Choice const *)arg1)->down_box(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_down_box__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; Fl_Boxtype arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_down_box",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_down_box" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input_Choice_down_box" "', argument " "2"" of type '" "Fl_Boxtype""'"); } arg2 = static_cast< Fl_Boxtype >(val2); (arg1)->down_box(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_down_box(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input_Choice_down_box__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input_Choice_down_box__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input_Choice_down_box'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_Choice::down_box() const\n" " Fl_Input_Choice::down_box(Fl_Boxtype)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_menu__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_menu",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_menu" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); result = (Fl_Menu_Item *)(arg1)->menu(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_menu__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; Fl_Menu_Item *arg2 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_menu",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_menu" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Input_Choice_menu" "', argument " "2"" of type '" "Fl_Menu_Item const *""'"); } arg2 = reinterpret_cast< Fl_Menu_Item * >(argp2); (arg1)->menu((Fl_Menu_Item const *)arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_menu(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input_Choice_menu__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input_Choice_menu__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input_Choice_menu'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_Choice::menu()\n" " Fl_Input_Choice::menu(Fl_Menu_Item const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_resize" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input_Choice_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Input_Choice_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Input_Choice_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Input_Choice_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Input_Choice::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_textcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_textcolor" "', argument " "1"" of type '" "Fl_Input_Choice const *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); result = (Fl_Color)((Fl_Input_Choice const *)arg1)->textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_textcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_textcolor" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input_Choice_textcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->textcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input_Choice_textcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input_Choice_textcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input_Choice_textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_Choice::textcolor() const\n" " Fl_Input_Choice::textcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_textfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_textfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_textfont" "', argument " "1"" of type '" "Fl_Input_Choice const *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); result = (Fl_Font)((Fl_Input_Choice const *)arg1)->textfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_textfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_textfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_textfont" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input_Choice_textfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->textfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_textfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input_Choice_textfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input_Choice_textfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input_Choice_textfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_Choice::textfont() const\n" " Fl_Input_Choice::textfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_textsize" "', argument " "1"" of type '" "Fl_Input_Choice const *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); result = (Fl_Fontsize)((Fl_Input_Choice const *)arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_textsize" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input_Choice_textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input_Choice_textsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Input_Choice_textsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input_Choice_textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_Choice::textsize() const\n" " Fl_Input_Choice::textsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_value" "', argument " "1"" of type '" "Fl_Input_Choice const *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); result = (char *)((Fl_Input_Choice const *)arg1)->value(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_value" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Input_Choice_value" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->value((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_value" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Input_Choice_value" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->value(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Input_Choice_value__SWIG_0(self, args); } if (argc == 2) { int _v = 0; { { int res = SWIG_AsVal_int(argv[1], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_2; return _wrap_Fl_Input_Choice_value__SWIG_2(self, args); } check_2: if (argc == 2) { return _wrap_Fl_Input_Choice_value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Input_Choice_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Input_Choice::value() const\n" " Fl_Input_Choice::value(char const *)\n" " Fl_Input_Choice::value(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_menubutton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Menu_Button *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_menubutton",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_menubutton" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); result = (Fl_Menu_Button *)(arg1)->menubutton(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Button, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Input *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_input" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); result = (Fl_Input *)(arg1)->input(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Input, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Input_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Input_Choice",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Input_Choice" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Input_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Input_Choice",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Input_Choice" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Input_Choice_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Input_Choice *arg1 = (Fl_Input_Choice *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Input_Choice *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Input_Choice_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Input_Choice, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Input_Choice_draw" "', argument " "1"" of type '" "Fl_Input_Choice *""'"); } arg1 = reinterpret_cast< Fl_Input_Choice * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Input_Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Input_Choice, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_JPEG_Image__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; char *arg2 = (char *) 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_JPEG_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_JPEG_Image",2,2,&obj0,&obj1)) SWIG_fail; arg1 = obj0; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_JPEG_Image" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_JPEG_Image *)new SwigDirector_Fl_JPEG_Image(arg1,(char const *)arg2); } else { result = (Fl_JPEG_Image *)new Fl_JPEG_Image((char const *)arg2); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_JPEG_Image, SWIG_POINTER_NEW | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_JPEG_Image__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; char *arg2 = (char *) 0 ; unsigned char *arg3 = (unsigned char *) 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_JPEG_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_JPEG_Image",3,3,&obj0,&obj1,&obj2)) SWIG_fail; arg1 = obj0; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_JPEG_Image" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Fl_JPEG_Image" "', argument " "3"" of type '" "unsigned char const *""'"); } arg3 = reinterpret_cast< unsigned char * >(argp3); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_JPEG_Image *)new SwigDirector_Fl_JPEG_Image(arg1,(char const *)arg2,(unsigned char const *)arg3); } else { result = (Fl_JPEG_Image *)new Fl_JPEG_Image((char const *)arg2,(unsigned char const *)arg3); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_JPEG_Image, SWIG_POINTER_NEW | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_JPEG_Image(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_new_Fl_JPEG_Image__SWIG_0(self, args); } if (argc == 3) { return _wrap_new_Fl_JPEG_Image__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_JPEG_Image'.\n" " Possible C/C++ prototypes are:\n" " Fl_JPEG_Image::Fl_JPEG_Image(char const *)\n" " Fl_JPEG_Image::Fl_JPEG_Image(PyObject *,char const *,unsigned char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_JPEG_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_JPEG_Image *arg1 = (Fl_JPEG_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_JPEG_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_JPEG_Image, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_JPEG_Image" "', argument " "1"" of type '" "Fl_JPEG_Image *""'"); } arg1 = reinterpret_cast< Fl_JPEG_Image * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_JPEG_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_JPEG_Image *arg1 = (Fl_JPEG_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_JPEG_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_JPEG_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_JPEG_Image" "', argument " "1"" of type '" "Fl_JPEG_Image *""'"); } arg1 = reinterpret_cast< Fl_JPEG_Image * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_JPEG_Image_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_JPEG_Image, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Line_Dial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Line_Dial *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Line_Dial",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Line_Dial" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Line_Dial" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Line_Dial" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Line_Dial" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Line_Dial" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Line_Dial *)new SwigDirector_Fl_Line_Dial(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Line_Dial *)new Fl_Line_Dial(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Line_Dial, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Line_Dial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Line_Dial *arg1 = (Fl_Line_Dial *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Line_Dial",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Line_Dial, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Line_Dial" "', argument " "1"" of type '" "Fl_Line_Dial *""'"); } arg1 = reinterpret_cast< Fl_Line_Dial * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Line_Dial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Line_Dial *arg1 = (Fl_Line_Dial *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Line_Dial",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Line_Dial, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Line_Dial" "', argument " "1"" of type '" "Fl_Line_Dial *""'"); } arg1 = reinterpret_cast< Fl_Line_Dial * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Line_Dial_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Line_Dial *arg1 = (Fl_Line_Dial *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Line_Dial *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Line_Dial_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Line_Dial, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Line_Dial_draw" "', argument " "1"" of type '" "Fl_Line_Dial *""'"); } arg1 = reinterpret_cast< Fl_Line_Dial * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Line_Dial_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Line_Dial, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Menu_Bar_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Bar *arg1 = (Fl_Menu_Bar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Menu_Bar *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Bar_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Bar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Bar_draw" "', argument " "1"" of type '" "Fl_Menu_Bar *""'"); } arg1 = reinterpret_cast< Fl_Menu_Bar * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Bar_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Bar *arg1 = (Fl_Menu_Bar *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Bar_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Bar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Bar_handle" "', argument " "1"" of type '" "Fl_Menu_Bar *""'"); } arg1 = reinterpret_cast< Fl_Menu_Bar * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Bar_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Menu_Bar::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Menu_Bar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Menu_Bar *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Menu_Bar",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Menu_Bar" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Menu_Bar" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Menu_Bar" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Menu_Bar" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Menu_Bar" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Menu_Bar *)new SwigDirector_Fl_Menu_Bar(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Menu_Bar *)new Fl_Menu_Bar(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Bar, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Menu_Bar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Bar *arg1 = (Fl_Menu_Bar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Menu_Bar",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Bar, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Menu_Bar" "', argument " "1"" of type '" "Fl_Menu_Bar *""'"); } arg1 = reinterpret_cast< Fl_Menu_Bar * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Menu_Bar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Bar *arg1 = (Fl_Menu_Bar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Menu_Bar",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Bar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Menu_Bar" "', argument " "1"" of type '" "Fl_Menu_Bar *""'"); } arg1 = reinterpret_cast< Fl_Menu_Bar * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Menu_Bar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Menu_Bar, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Menu_Button_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Button *arg1 = (Fl_Menu_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Menu_Button *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Button_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Button_draw" "', argument " "1"" of type '" "Fl_Menu_Button *""'"); } arg1 = reinterpret_cast< Fl_Menu_Button * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Button_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Button *arg1 = (Fl_Menu_Button *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Button_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Button_handle" "', argument " "1"" of type '" "Fl_Menu_Button *""'"); } arg1 = reinterpret_cast< Fl_Menu_Button * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Button_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Menu_Button::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Button_popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Button *arg1 = (Fl_Menu_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Button_popup",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Button_popup" "', argument " "1"" of type '" "Fl_Menu_Button *""'"); } arg1 = reinterpret_cast< Fl_Menu_Button * >(argp1); result = (Fl_Menu_Item *)(arg1)->popup(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Menu_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Menu_Button *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Menu_Button",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Menu_Button" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Menu_Button" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Menu_Button" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Menu_Button" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Menu_Button" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Menu_Button *)new SwigDirector_Fl_Menu_Button(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Menu_Button *)new Fl_Menu_Button(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Button, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Menu_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Button *arg1 = (Fl_Menu_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Menu_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Button, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Menu_Button" "', argument " "1"" of type '" "Fl_Menu_Button *""'"); } arg1 = reinterpret_cast< Fl_Menu_Button * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Menu_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Button *arg1 = (Fl_Menu_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Menu_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Menu_Button" "', argument " "1"" of type '" "Fl_Menu_Button *""'"); } arg1 = reinterpret_cast< Fl_Menu_Button * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Menu_Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Menu_Button, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_next__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; int arg2 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_next",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_next" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Item_next" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } result = (Fl_Menu_Item *)((Fl_Menu_Item const *)arg1)->next(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_next__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; int arg2 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_next",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_next" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Item_next" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } result = (Fl_Menu_Item *)(arg1)->next(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_next(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 1) && (argc <= 2)) { return _wrap_Fl_Menu_Item_next__SWIG_1(self, args); } if ((argc >= 1) && (argc <= 2)) { return _wrap_Fl_Menu_Item_next__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu_Item_next'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Item::next(int) const\n" " Fl_Menu_Item::next(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_first__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_first",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_first" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (Fl_Menu_Item *)((Fl_Menu_Item const *)arg1)->first(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_first__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_first",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_first" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (Fl_Menu_Item *)(arg1)->first(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_first(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu_Item_first__SWIG_1(self, args); } if (argc == 1) { return _wrap_Fl_Menu_Item_first__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu_Item_first'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Item::first() const\n" " Fl_Menu_Item::first()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_label__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_label",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_label" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (char *)((Fl_Menu_Item const *)arg1)->label(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_label__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_label" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu_Item_label" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->label((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_label__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; Fl_Labeltype arg2 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_label",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_label" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Item_label" "', argument " "2"" of type '" "Fl_Labeltype""'"); } arg2 = static_cast< Fl_Labeltype >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Menu_Item_label" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); (arg1)->label(arg2,(char const *)arg3); resultobj = SWIG_Py_Void(); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_label(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu_Item_label__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu_Item_label__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Menu_Item_label__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu_Item_label'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Item::label() const\n" " Fl_Menu_Item::label(char const *)\n" " Fl_Menu_Item::label(Fl_Labeltype,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_labeltype__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Labeltype result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_labeltype",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_labeltype" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (Fl_Labeltype)((Fl_Menu_Item const *)arg1)->labeltype(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_labeltype__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; Fl_Labeltype arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_labeltype",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_labeltype" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Item_labeltype" "', argument " "2"" of type '" "Fl_Labeltype""'"); } arg2 = static_cast< Fl_Labeltype >(val2); (arg1)->labeltype(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_labeltype(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu_Item_labeltype__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu_Item_labeltype__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu_Item_labeltype'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Item::labeltype() const\n" " Fl_Menu_Item::labeltype(Fl_Labeltype)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_labelcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_labelcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_labelcolor" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (Fl_Color)((Fl_Menu_Item const *)arg1)->labelcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_labelcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_labelcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_labelcolor" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Item_labelcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->labelcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_labelcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu_Item_labelcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu_Item_labelcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu_Item_labelcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Item::labelcolor() const\n" " Fl_Menu_Item::labelcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_labelfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_labelfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_labelfont" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (Fl_Font)((Fl_Menu_Item const *)arg1)->labelfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_labelfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_labelfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_labelfont" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Item_labelfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->labelfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_labelfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu_Item_labelfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu_Item_labelfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu_Item_labelfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Item::labelfont() const\n" " Fl_Menu_Item::labelfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_labelsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_labelsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_labelsize" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (Fl_Fontsize)((Fl_Menu_Item const *)arg1)->labelsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_labelsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_labelsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_labelsize" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Item_labelsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->labelsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_labelsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu_Item_labelsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu_Item_labelsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu_Item_labelsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Item::labelsize() const\n" " Fl_Menu_Item::labelsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_callback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; Fl_Callback *arg2 = (Fl_Callback *) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_callback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_callback" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_Fl_Widget_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Menu_Item_callback" "', argument " "2"" of type '" "Fl_Callback *""'"); } } res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Menu_Item_callback" "', argument " "3"" of type '" "void *""'"); } (arg1)->callback(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_callback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; Fl_Callback *arg2 = (Fl_Callback *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_callback",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_callback" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_Fl_Widget_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Menu_Item_callback" "', argument " "2"" of type '" "Fl_Callback *""'"); } } (arg1)->callback(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_callback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; Fl_Callback0 *arg2 = (Fl_Callback0 *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_callback",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_callback" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_Fl_Widget__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Menu_Item_callback" "', argument " "2"" of type '" "Fl_Callback0 *""'"); } } (arg1)->callback(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_callback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; Fl_Callback1 *arg2 = (Fl_Callback1 *) 0 ; long arg3 = (long) 0 ; void *argp1 = 0 ; int res1 = 0 ; long val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_callback",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_callback" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_Fl_Widget_long__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Menu_Item_callback" "', argument " "2"" of type '" "Fl_Callback1 *""'"); } } if (obj2) { ecode3 = SWIG_AsVal_long(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Menu_Item_callback" "', argument " "3"" of type '" "long""'"); } arg3 = static_cast< long >(val3); } (arg1)->callback(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_user_data__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_user_data",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_user_data" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (void *)((Fl_Menu_Item const *)arg1)->user_data(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_user_data__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_user_data",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_user_data" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu_Item_user_data" "', argument " "2"" of type '" "void *""'"); } (arg1)->user_data(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_argument__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; long result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_argument",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_argument" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (long)((Fl_Menu_Item const *)arg1)->argument(); resultobj = SWIG_From_long(static_cast< long >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_argument__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; long arg2 ; void *argp1 = 0 ; int res1 = 0 ; long val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_argument",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_argument" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); ecode2 = SWIG_AsVal_long(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Item_argument" "', argument " "2"" of type '" "long""'"); } arg2 = static_cast< long >(val2); (arg1)->argument(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_argument(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu_Item_argument__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu_Item_argument__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu_Item_argument'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Item::argument() const\n" " Fl_Menu_Item::argument(long)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_shortcut__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_shortcut",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_shortcut" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (int)((Fl_Menu_Item const *)arg1)->shortcut(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_shortcut__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_shortcut",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_shortcut" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Item_shortcut" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->shortcut(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_shortcut(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu_Item_shortcut__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu_Item_shortcut__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu_Item_shortcut'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Item::shortcut() const\n" " Fl_Menu_Item::shortcut(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_submenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_submenu",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_submenu" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (int)((Fl_Menu_Item const *)arg1)->submenu(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_checkbox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_checkbox",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_checkbox" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (int)((Fl_Menu_Item const *)arg1)->checkbox(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_radio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_radio",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_radio" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (int)((Fl_Menu_Item const *)arg1)->radio(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_value" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (int)((Fl_Menu_Item const *)arg1)->value(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_set",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_set" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); (arg1)->set(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_clear" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_setonly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_setonly",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_setonly" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); (arg1)->setonly(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_visible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_visible",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_visible" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (int)((Fl_Menu_Item const *)arg1)->visible(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_show",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_show" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); (arg1)->show(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_hide",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_hide" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); (arg1)->hide(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_active(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_active",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_active" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (int)((Fl_Menu_Item const *)arg1)->active(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_activate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_activate" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); (arg1)->activate(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_deactivate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_deactivate" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); (arg1)->deactivate(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_activevisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_activevisible",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_activevisible" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (int)((Fl_Menu_Item const *)arg1)->activevisible(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; Fl_Image *arg2 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_image",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_image" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu_Item_image" "', argument " "2"" of type '" "Fl_Image *""'"); } arg2 = reinterpret_cast< Fl_Image * >(argp2); (arg1)->image(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_measure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; int *arg2 = (int *) 0 ; Fl_Menu_ *arg3 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_measure",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_measure" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu_Item_measure" "', argument " "2"" of type '" "int *""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Menu_Item_measure" "', argument " "3"" of type '" "Fl_Menu_ const *""'"); } arg3 = reinterpret_cast< Fl_Menu_ * >(argp3); result = (int)((Fl_Menu_Item const *)arg1)->measure(arg2,(Fl_Menu_ const *)arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; Fl_Menu_ *arg6 = (Fl_Menu_ *) 0 ; int arg7 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; void *argp6 = 0 ; int res6 = 0 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_draw",6,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_draw" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Item_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Menu_Item_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Menu_Item_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Menu_Item_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Fl_Menu_Item_draw" "', argument " "6"" of type '" "Fl_Menu_ const *""'"); } arg6 = reinterpret_cast< Fl_Menu_ * >(argp6); if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Menu_Item_draw" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } ((Fl_Menu_Item const *)arg1)->draw(arg2,arg3,arg4,arg5,(Fl_Menu_ const *)arg6,arg7); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; int arg2 ; int arg3 ; char *arg4 = (char *) 0 ; Fl_Menu_Item *arg5 = (Fl_Menu_Item *) 0 ; Fl_Menu_ *arg6 = (Fl_Menu_ *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; void *argp6 = 0 ; int res6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_popup",3,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_popup" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Item_popup" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Menu_Item_popup" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); if (obj3) { res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Menu_Item_popup" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); } if (obj4) { res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Fl_Menu_Item_popup" "', argument " "5"" of type '" "Fl_Menu_Item const *""'"); } arg5 = reinterpret_cast< Fl_Menu_Item * >(argp5); } if (obj5) { res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Fl_Menu_Item_popup" "', argument " "6"" of type '" "Fl_Menu_ const *""'"); } arg6 = reinterpret_cast< Fl_Menu_ * >(argp6); } result = (Fl_Menu_Item *)((Fl_Menu_Item const *)arg1)->popup(arg2,arg3,(char const *)arg4,(Fl_Menu_Item const *)arg5,(Fl_Menu_ const *)arg6); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_pulldown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; Fl_Menu_Item *arg6 = (Fl_Menu_Item *) 0 ; Fl_Menu_ *arg7 = (Fl_Menu_ *) 0 ; Fl_Menu_Item *arg8 = (Fl_Menu_Item *) 0 ; int arg9 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; void *argp6 = 0 ; int res6 = 0 ; void *argp7 = 0 ; int res7 = 0 ; void *argp8 = 0 ; int res8 = 0 ; int val9 ; int ecode9 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; PyObject * obj8 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_pulldown",5,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_pulldown" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Item_pulldown" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Menu_Item_pulldown" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Menu_Item_pulldown" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Menu_Item_pulldown" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Fl_Menu_Item_pulldown" "', argument " "6"" of type '" "Fl_Menu_Item const *""'"); } arg6 = reinterpret_cast< Fl_Menu_Item * >(argp6); } if (obj6) { res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_Fl_Menu_, 0 | 0 ); if (!SWIG_IsOK(res7)) { SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "Fl_Menu_Item_pulldown" "', argument " "7"" of type '" "Fl_Menu_ const *""'"); } arg7 = reinterpret_cast< Fl_Menu_ * >(argp7); } if (obj7) { res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res8)) { SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Fl_Menu_Item_pulldown" "', argument " "8"" of type '" "Fl_Menu_Item const *""'"); } arg8 = reinterpret_cast< Fl_Menu_Item * >(argp8); } if (obj8) { ecode9 = SWIG_AsVal_int(obj8, &val9); if (!SWIG_IsOK(ecode9)) { SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Fl_Menu_Item_pulldown" "', argument " "9"" of type '" "int""'"); } arg9 = static_cast< int >(val9); } result = (Fl_Menu_Item *)((Fl_Menu_Item const *)arg1)->pulldown(arg2,arg3,arg4,arg5,(Fl_Menu_Item const *)arg6,(Fl_Menu_ const *)arg7,(Fl_Menu_Item const *)arg8,arg9); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_test_shortcut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_test_shortcut",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_test_shortcut" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (Fl_Menu_Item *)((Fl_Menu_Item const *)arg1)->test_shortcut(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_find_shortcut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; int *arg2 = (int *) 0 ; bool arg3 = (bool) (bool)false ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Menu_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_find_shortcut",1,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_find_shortcut" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); if (obj1) { res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu_Item_find_shortcut" "', argument " "2"" of type '" "int *""'"); } arg2 = reinterpret_cast< int * >(argp2); } if (obj2) { ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Menu_Item_find_shortcut" "', argument " "3"" of type '" "bool""'"); } arg3 = static_cast< bool >(val3); } result = (Fl_Menu_Item *)((Fl_Menu_Item const *)arg1)->find_shortcut(arg2,arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_do_callback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_do_callback",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_do_callback" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu_Item_do_callback" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); ((Fl_Menu_Item const *)arg1)->do_callback(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_do_callback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_do_callback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_do_callback" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu_Item_do_callback" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Menu_Item_do_callback" "', argument " "3"" of type '" "void *""'"); } ((Fl_Menu_Item const *)arg1)->do_callback(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_do_callback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; long arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_do_callback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_do_callback" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu_Item_do_callback" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); ecode3 = SWIG_AsVal_long(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Menu_Item_do_callback" "', argument " "3"" of type '" "long""'"); } arg3 = static_cast< long >(val3); ((Fl_Menu_Item const *)arg1)->do_callback(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_do_callback(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Menu_Item_do_callback__SWIG_0(self, args); } if (argc == 3) { int _v = 0; { void *ptr = 0; int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_2; return _wrap_Fl_Menu_Item_do_callback__SWIG_1(self, args); } check_2: if (argc == 3) { return _wrap_Fl_Menu_Item_do_callback__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu_Item_do_callback'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Item::do_callback(Fl_Widget *) const\n" " Fl_Menu_Item::do_callback(Fl_Widget *,void *) const\n" " Fl_Menu_Item::do_callback(Fl_Widget *,long) const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_checked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_checked",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_checked" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (int)((Fl_Menu_Item const *)arg1)->checked(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_check(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_check",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_check" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); (arg1)->check(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_uncheck(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_uncheck",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_uncheck" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); (arg1)->uncheck(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; int arg4 ; Fl_Callback *arg5 = (Fl_Callback *) 0 ; void *arg6 = (void *) 0 ; int arg7 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int val4 ; int ecode4 = 0 ; int res6 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_insert",5,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_insert" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Menu_Item_insert" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Menu_Item_insert" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Menu_Item_insert" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); { int res = SWIG_ConvertFunctionPtr(obj4, (void**)(&arg5), SWIGTYPE_p_f_p_Fl_Widget_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Menu_Item_insert" "', argument " "5"" of type '" "Fl_Callback *""'"); } } if (obj5) { res6 = SWIG_ConvertPtr(obj5,SWIG_as_voidptrptr(&arg6), 0, 0); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Fl_Menu_Item_insert" "', argument " "6"" of type '" "void *""'"); } } if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Menu_Item_insert" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } result = (int)(arg1)->insert(arg2,(char const *)arg3,arg4,arg5,arg6,arg7); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_add__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; Fl_Callback *arg4 = (Fl_Callback *) 0 ; void *arg5 = (void *) 0 ; int arg6 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; int res5 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_add",4,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_add" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu_Item_add" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Menu_Item_add" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); { int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_Fl_Widget_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Menu_Item_add" "', argument " "4"" of type '" "Fl_Callback *""'"); } } if (obj4) { res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Fl_Menu_Item_add" "', argument " "5"" of type '" "void *""'"); } } if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Menu_Item_add" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } result = (int)(arg1)->add((char const *)arg2,arg3,arg4,arg5,arg6); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_add__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; Fl_Callback *arg4 = (Fl_Callback *) 0 ; void *arg5 = (void *) 0 ; int arg6 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int res5 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_add",4,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_add" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Menu_Item_add" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Menu_Item_add" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); { int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_Fl_Widget_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Menu_Item_add" "', argument " "4"" of type '" "Fl_Callback *""'"); } } if (obj4) { res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Fl_Menu_Item_add" "', argument " "5"" of type '" "void *""'"); } } if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Menu_Item_add" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } result = (int)(arg1)->add((char const *)arg2,(char const *)arg3,arg4,arg5,arg6); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_add(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 4) && (argc <= 6)) { int _v = 0; { { int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_1; return _wrap_Fl_Menu_Item_add__SWIG_0(self, args); } check_1: if ((argc >= 4) && (argc <= 6)) { return _wrap_Fl_Menu_Item_add__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu_Item_add'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Item::add(char const *,int,Fl_Callback *,void *,int)\n" " Fl_Menu_Item::add(char const *,char const *,Fl_Callback *,void *,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_size",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_size" "', argument " "1"" of type '" "Fl_Menu_Item const *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (int)((Fl_Menu_Item const *)arg1)->size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_callback__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_callback",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_callback" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (PyObject *)Fl_Menu_Item_callback__SWIG_4(arg1); resultobj = result; return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_callback(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu_Item_callback__SWIG_4(self, args); } if (argc == 2) { int _v = 0; { void *ptr = 0; int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_Fl_Widget__void); _v = SWIG_CheckState(res); } if (!_v) goto check_2; return _wrap_Fl_Menu_Item_callback__SWIG_2(self, args); } check_2: if ((argc >= 2) && (argc <= 3)) { int _v = 0; { void *ptr = 0; int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_Fl_Widget_long__void); _v = SWIG_CheckState(res); } if (!_v) goto check_3; if (argc > 2) { { { int res = SWIG_AsVal_long(argv[2], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_3; } return _wrap_Fl_Menu_Item_callback__SWIG_3(self, args); } check_3: if (argc == 2) { return _wrap_Fl_Menu_Item_callback__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Menu_Item_callback__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu_Item_callback'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Item::callback(Fl_Callback *,void *)\n" " Fl_Menu_Item::callback(Fl_Callback *)\n" " Fl_Menu_Item::callback(Fl_Callback0 *)\n" " Fl_Menu_Item::callback(Fl_Callback1 *,long)\n" " Fl_Menu_Item::callback()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_user_data__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Item_user_data",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Item_user_data" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); result = (PyObject *)Fl_Menu_Item_user_data__SWIG_2(arg1); resultobj = result; return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Item_user_data(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Menu_Item_user_data__SWIG_2(self, args); } if (argc == 1) { return _wrap_Fl_Menu_Item_user_data__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Menu_Item_user_data__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Menu_Item_user_data'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Item::user_data() const\n" " Fl_Menu_Item::user_data(void *)\n" " Fl_Menu_Item::user_data()\n"); return 0; } SWIGINTERN PyObject *_wrap_new_Fl_Menu_Item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *result = 0 ; result = (Fl_Menu_Item *)new Fl_Menu_Item(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Item, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Menu_Item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Item *arg1 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Menu_Item",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Item, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Menu_Item" "', argument " "1"" of type '" "Fl_Menu_Item *""'"); } arg1 = reinterpret_cast< Fl_Menu_Item * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Menu_Item_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Menu_Item, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Single_Window_flush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Single_Window *arg1 = (Fl_Single_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Single_Window_flush",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Single_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Single_Window_flush" "', argument " "1"" of type '" "Fl_Single_Window *""'"); } arg1 = reinterpret_cast< Fl_Single_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Single_Window::flush(); } else { (arg1)->flush(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Single_Window__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; char *arg4 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Fl_Single_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Single_Window",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Single_Window" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Single_Window" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); if (obj3) { res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Fl_Single_Window" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Single_Window *)new SwigDirector_Fl_Single_Window(arg1,arg2,arg3,(char const *)arg4); } else { result = (Fl_Single_Window *)new Fl_Single_Window(arg2,arg3,(char const *)arg4); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Single_Window, SWIG_POINTER_NEW | 0 ); if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Single_Window__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Single_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Single_Window",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Single_Window" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Single_Window" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Single_Window" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Single_Window" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Single_Window" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Single_Window *)new SwigDirector_Fl_Single_Window(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Single_Window *)new Fl_Single_Window(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Single_Window, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Single_Window(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 3) && (argc <= 4)) { return _wrap_new_Fl_Single_Window__SWIG_0(self, args); } if ((argc >= 5) && (argc <= 6)) { return _wrap_new_Fl_Single_Window__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_Single_Window'.\n" " Possible C/C++ prototypes are:\n" " Fl_Single_Window::Fl_Single_Window(int,int,char const *)\n" " Fl_Single_Window::Fl_Single_Window(PyObject *,int,int,int,int,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Single_Window_show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Single_Window *arg1 = (Fl_Single_Window *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Single_Window_show",1,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Single_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Single_Window_show" "', argument " "1"" of type '" "Fl_Single_Window *""'"); } arg1 = reinterpret_cast< Fl_Single_Window * >(argp1); if (obj1) { arg2 = obj1; } if (obj2) { arg3 = obj2; } Fl_Single_Window_show(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Single_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Single_Window *arg1 = (Fl_Single_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Single_Window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Single_Window, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Single_Window" "', argument " "1"" of type '" "Fl_Single_Window *""'"); } arg1 = reinterpret_cast< Fl_Single_Window * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Single_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Single_Window *arg1 = (Fl_Single_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Single_Window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Single_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Single_Window" "', argument " "1"" of type '" "Fl_Single_Window *""'"); } arg1 = reinterpret_cast< Fl_Single_Window * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Single_Window_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Single_Window *arg1 = (Fl_Single_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Single_Window *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Single_Window_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Single_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Single_Window_draw" "', argument " "1"" of type '" "Fl_Single_Window *""'"); } arg1 = reinterpret_cast< Fl_Single_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Single_Window_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Single_Window, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Menu_Window_erase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Window *arg1 = (Fl_Menu_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Window_erase",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Window_erase" "', argument " "1"" of type '" "Fl_Menu_Window *""'"); } arg1 = reinterpret_cast< Fl_Menu_Window * >(argp1); (arg1)->erase(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Window_flush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Window *arg1 = (Fl_Menu_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Window_flush",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Window_flush" "', argument " "1"" of type '" "Fl_Menu_Window *""'"); } arg1 = reinterpret_cast< Fl_Menu_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Menu_Window::flush(); } else { (arg1)->flush(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Window_hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Window *arg1 = (Fl_Menu_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Window_hide",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Window_hide" "', argument " "1"" of type '" "Fl_Menu_Window *""'"); } arg1 = reinterpret_cast< Fl_Menu_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Menu_Window::hide(); } else { (arg1)->hide(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Window_overlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Window *arg1 = (Fl_Menu_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Window_overlay",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Window_overlay" "', argument " "1"" of type '" "Fl_Menu_Window *""'"); } arg1 = reinterpret_cast< Fl_Menu_Window * >(argp1); result = (unsigned int)(arg1)->overlay(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Window_set_overlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Window *arg1 = (Fl_Menu_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Window_set_overlay",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Window_set_overlay" "', argument " "1"" of type '" "Fl_Menu_Window *""'"); } arg1 = reinterpret_cast< Fl_Menu_Window * >(argp1); (arg1)->set_overlay(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Window_clear_overlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Window *arg1 = (Fl_Menu_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Window_clear_overlay",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Window_clear_overlay" "', argument " "1"" of type '" "Fl_Menu_Window *""'"); } arg1 = reinterpret_cast< Fl_Menu_Window * >(argp1); (arg1)->clear_overlay(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Menu_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Window *arg1 = (Fl_Menu_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Menu_Window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Window, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Menu_Window" "', argument " "1"" of type '" "Fl_Menu_Window *""'"); } arg1 = reinterpret_cast< Fl_Menu_Window * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Menu_Window__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; char *arg4 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Fl_Menu_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Menu_Window",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Menu_Window" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Menu_Window" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); if (obj3) { res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Fl_Menu_Window" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Menu_Window *)new SwigDirector_Fl_Menu_Window(arg1,arg2,arg3,(char const *)arg4); } else { result = (Fl_Menu_Window *)new Fl_Menu_Window(arg2,arg3,(char const *)arg4); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Window, SWIG_POINTER_NEW | 0 ); if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Menu_Window__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Menu_Window *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Menu_Window",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Menu_Window" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Menu_Window" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Menu_Window" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Menu_Window" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Menu_Window" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Menu_Window *)new SwigDirector_Fl_Menu_Window(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Menu_Window *)new Fl_Menu_Window(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Menu_Window, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Menu_Window(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 3) && (argc <= 4)) { return _wrap_new_Fl_Menu_Window__SWIG_0(self, args); } if ((argc >= 5) && (argc <= 6)) { return _wrap_new_Fl_Menu_Window__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_Menu_Window'.\n" " Possible C/C++ prototypes are:\n" " Fl_Menu_Window::Fl_Menu_Window(int,int,char const *)\n" " Fl_Menu_Window::Fl_Menu_Window(PyObject *,int,int,int,int,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_disown_Fl_Menu_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Window *arg1 = (Fl_Menu_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Menu_Window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Menu_Window" "', argument " "1"" of type '" "Fl_Menu_Window *""'"); } arg1 = reinterpret_cast< Fl_Menu_Window * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Menu_Window_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Menu_Window *arg1 = (Fl_Menu_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Menu_Window *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Menu_Window_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Menu_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Menu_Window_draw" "', argument " "1"" of type '" "Fl_Menu_Window *""'"); } arg1 = reinterpret_cast< Fl_Menu_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Menu_Window_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Menu_Window, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Multiline_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Multiline_Input *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Multiline_Input",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Multiline_Input" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Multiline_Input" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Multiline_Input" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Multiline_Input" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Multiline_Input" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Multiline_Input *)new SwigDirector_Fl_Multiline_Input(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Multiline_Input *)new Fl_Multiline_Input(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Multiline_Input, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Multiline_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multiline_Input *arg1 = (Fl_Multiline_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Multiline_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multiline_Input, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Multiline_Input" "', argument " "1"" of type '" "Fl_Multiline_Input *""'"); } arg1 = reinterpret_cast< Fl_Multiline_Input * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Multiline_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multiline_Input *arg1 = (Fl_Multiline_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Multiline_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multiline_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Multiline_Input" "', argument " "1"" of type '" "Fl_Multiline_Input *""'"); } arg1 = reinterpret_cast< Fl_Multiline_Input * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multiline_Input_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multiline_Input *arg1 = (Fl_Multiline_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multiline_Input *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multiline_Input_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multiline_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multiline_Input_draw" "', argument " "1"" of type '" "Fl_Multiline_Input *""'"); } arg1 = reinterpret_cast< Fl_Multiline_Input * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Multiline_Input_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Multiline_Input, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Output *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Output",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Output" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Output" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Output" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Output" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Output" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Output *)new SwigDirector_Fl_Output(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Output *)new Fl_Output(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Output, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Output *arg1 = (Fl_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Output",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Output, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Output" "', argument " "1"" of type '" "Fl_Output *""'"); } arg1 = reinterpret_cast< Fl_Output * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Output *arg1 = (Fl_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Output",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Output" "', argument " "1"" of type '" "Fl_Output *""'"); } arg1 = reinterpret_cast< Fl_Output * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Output_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Output *arg1 = (Fl_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Output *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Output_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Output_draw" "', argument " "1"" of type '" "Fl_Output *""'"); } arg1 = reinterpret_cast< Fl_Output * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Output_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Output, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Multiline_Output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Multiline_Output *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Multiline_Output",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Multiline_Output" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Multiline_Output" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Multiline_Output" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Multiline_Output" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Multiline_Output" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Multiline_Output *)new SwigDirector_Fl_Multiline_Output(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Multiline_Output *)new Fl_Multiline_Output(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Multiline_Output, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Multiline_Output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multiline_Output *arg1 = (Fl_Multiline_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Multiline_Output",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multiline_Output, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Multiline_Output" "', argument " "1"" of type '" "Fl_Multiline_Output *""'"); } arg1 = reinterpret_cast< Fl_Multiline_Output * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Multiline_Output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multiline_Output *arg1 = (Fl_Multiline_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Multiline_Output",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multiline_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Multiline_Output" "', argument " "1"" of type '" "Fl_Multiline_Output *""'"); } arg1 = reinterpret_cast< Fl_Multiline_Output * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multiline_Output_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multiline_Output *arg1 = (Fl_Multiline_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multiline_Output *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multiline_Output_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multiline_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multiline_Output_draw" "', argument " "1"" of type '" "Fl_Multiline_Output *""'"); } arg1 = reinterpret_cast< Fl_Multiline_Output * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Multiline_Output_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Multiline_Output, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Multi_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Multi_Browser *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Multi_Browser",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Multi_Browser" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Multi_Browser" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Multi_Browser" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Multi_Browser" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Multi_Browser" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Multi_Browser *)new SwigDirector_Fl_Multi_Browser(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Multi_Browser *)new Fl_Multi_Browser(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Multi_Browser, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Multi_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Multi_Browser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Multi_Browser" "', argument " "1"" of type '" "Fl_Multi_Browser *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Multi_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Multi_Browser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Multi_Browser" "', argument " "1"" of type '" "Fl_Multi_Browser *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_draw" "', argument " "1"" of type '" "Fl_Multi_Browser *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_item_first(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_item_first",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_item_first" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_first"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_first"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Multi_Browser const *)darg)->item_firstSwigPublic(); } else { result = (void *)((SwigDirector_Fl_Multi_Browser const *)darg)->item_first(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_item_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_item_next",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_item_next" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Multi_Browser_item_next" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_next"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_next"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Multi_Browser const *)darg)->item_nextSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Multi_Browser const *)darg)->item_next(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_item_prev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_item_prev",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_item_prev" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Multi_Browser_item_prev" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_prev"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_prev"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Multi_Browser const *)darg)->item_prevSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Multi_Browser const *)darg)->item_prev(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_item_last(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_item_last",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_item_last" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_last"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_last"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Multi_Browser const *)darg)->item_lastSwigPublic(); } else { result = (void *)((SwigDirector_Fl_Multi_Browser const *)darg)->item_last(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_item_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_item_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_item_height" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Multi_Browser_item_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->item_heightSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->item_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_item_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_item_width",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_item_width" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Multi_Browser_item_width" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->item_widthSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->item_width(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_item_quick_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_item_quick_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_item_quick_height" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Multi_Browser_item_quick_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_quick_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_quick_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->item_quick_heightSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->item_quick_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_item_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *arg2 = (void *) 0 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_item_draw",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_item_draw" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Multi_Browser_item_draw" "', argument " "2"" of type '" "void *""'"); } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Multi_Browser_item_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Multi_Browser_item_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Multi_Browser_item_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Multi_Browser_item_draw" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { ((SwigDirector_Fl_Multi_Browser const *)darg)->item_drawSwigPublic(arg2,arg3,arg4,arg5,arg6); } else { ((SwigDirector_Fl_Multi_Browser const *)darg)->item_draw(arg2,arg3,arg4,arg5,arg6); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_item_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_item_text",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_item_text" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Multi_Browser_item_text" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_text"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_text"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (char *)((SwigDirector_Fl_Multi_Browser const *)darg)->item_textSwigPublic(arg2); } else { result = (char *)((SwigDirector_Fl_Multi_Browser const *)darg)->item_text(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_FromCharPtr((const char *)result); if (director) { director->swig_release_ownership(SWIG_as_voidptr(result)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_item_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *arg2 = (void *) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_item_swap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_item_swap" "', argument " "1"" of type '" "Fl_Multi_Browser *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Multi_Browser_item_swap" "', argument " "2"" of type '" "void *""'"); } res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Multi_Browser_item_swap" "', argument " "3"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_swap"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_swap"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_swapSwigPublic(arg2,arg3); } else { (darg)->item_swap(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_item_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_item_at",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_item_at" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Multi_Browser_item_at" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_at"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_at"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Multi_Browser const *)darg)->item_atSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Multi_Browser const *)darg)->item_at(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_full_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_full_width",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_full_width" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->full_widthSwigPublic(); } else { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->full_width(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_full_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_full_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_full_height" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->full_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->full_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_incr_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_incr_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_incr_height" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("incr_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member incr_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->incr_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->incr_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_item_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *arg2 = (void *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_item_select",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_item_select" "', argument " "1"" of type '" "Fl_Multi_Browser *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Multi_Browser_item_select" "', argument " "2"" of type '" "void *""'"); } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Multi_Browser_item_select" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_select"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_select"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_selectSwigPublic(arg2,arg3); } else { (darg)->item_select(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Browser_item_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Browser *arg1 = (Fl_Multi_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Multi_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Browser_item_selected",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Browser_item_selected" "', argument " "1"" of type '" "Fl_Multi_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Multi_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Multi_Browser_item_selected" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_selected"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_selected"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->item_selectedSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Multi_Browser const *)darg)->item_selected(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Multi_Browser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Multi_Browser, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Multi_Label_label__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Label *arg1 = (Fl_Multi_Label *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Label_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Label, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Label_label" "', argument " "1"" of type '" "Fl_Multi_Label *""'"); } arg1 = reinterpret_cast< Fl_Multi_Label * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Multi_Label_label" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); (arg1)->label(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Label_label__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Label *arg1 = (Fl_Multi_Label *) 0 ; Fl_Menu_Item *arg2 = (Fl_Menu_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Multi_Label_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Label, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Multi_Label_label" "', argument " "1"" of type '" "Fl_Multi_Label *""'"); } arg1 = reinterpret_cast< Fl_Multi_Label * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Menu_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Multi_Label_label" "', argument " "2"" of type '" "Fl_Menu_Item *""'"); } arg2 = reinterpret_cast< Fl_Menu_Item * >(argp2); (arg1)->label(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Multi_Label_label(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Widget, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Multi_Label_label__SWIG_0(self, args); } check_1: if (argc == 2) { return _wrap_Fl_Multi_Label_label__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Multi_Label_label'.\n" " Possible C/C++ prototypes are:\n" " Fl_Multi_Label::label(Fl_Widget *)\n" " Fl_Multi_Label::label(Fl_Menu_Item *)\n"); return 0; } SWIGINTERN PyObject *_wrap_new_Fl_Multi_Label(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Label *result = 0 ; result = (Fl_Multi_Label *)new Fl_Multi_Label(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Multi_Label, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Multi_Label(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Multi_Label *arg1 = (Fl_Multi_Label *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Multi_Label",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Multi_Label, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Multi_Label" "', argument " "1"" of type '" "Fl_Multi_Label *""'"); } arg1 = reinterpret_cast< Fl_Multi_Label * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Multi_Label_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Multi_Label, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Nice_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Nice_Slider *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Nice_Slider",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Nice_Slider" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Nice_Slider" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Nice_Slider" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Nice_Slider" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Nice_Slider" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Nice_Slider *)new SwigDirector_Fl_Nice_Slider(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Nice_Slider *)new Fl_Nice_Slider(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Nice_Slider, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Nice_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Nice_Slider *arg1 = (Fl_Nice_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Nice_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Nice_Slider, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Nice_Slider" "', argument " "1"" of type '" "Fl_Nice_Slider *""'"); } arg1 = reinterpret_cast< Fl_Nice_Slider * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Nice_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Nice_Slider *arg1 = (Fl_Nice_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Nice_Slider",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Nice_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Nice_Slider" "', argument " "1"" of type '" "Fl_Nice_Slider *""'"); } arg1 = reinterpret_cast< Fl_Nice_Slider * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Nice_Slider_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Nice_Slider *arg1 = (Fl_Nice_Slider *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Nice_Slider *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Nice_Slider_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Nice_Slider, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Nice_Slider_draw" "', argument " "1"" of type '" "Fl_Nice_Slider *""'"); } arg1 = reinterpret_cast< Fl_Nice_Slider * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Nice_Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Nice_Slider, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Overlay_Window_flush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Overlay_Window *arg1 = (Fl_Overlay_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Overlay_Window_flush",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Overlay_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Overlay_Window_flush" "', argument " "1"" of type '" "Fl_Overlay_Window *""'"); } arg1 = reinterpret_cast< Fl_Overlay_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Overlay_Window::flush(); } else { (arg1)->flush(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Overlay_Window_hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Overlay_Window *arg1 = (Fl_Overlay_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Overlay_Window_hide",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Overlay_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Overlay_Window_hide" "', argument " "1"" of type '" "Fl_Overlay_Window *""'"); } arg1 = reinterpret_cast< Fl_Overlay_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Overlay_Window::hide(); } else { (arg1)->hide(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Overlay_Window_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Overlay_Window *arg1 = (Fl_Overlay_Window *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Overlay_Window_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Overlay_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Overlay_Window_resize" "', argument " "1"" of type '" "Fl_Overlay_Window *""'"); } arg1 = reinterpret_cast< Fl_Overlay_Window * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Overlay_Window_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Overlay_Window_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Overlay_Window_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Overlay_Window_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Overlay_Window::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Overlay_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Overlay_Window *arg1 = (Fl_Overlay_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Overlay_Window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Overlay_Window, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Overlay_Window" "', argument " "1"" of type '" "Fl_Overlay_Window *""'"); } arg1 = reinterpret_cast< Fl_Overlay_Window * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Overlay_Window_can_do_overlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Overlay_Window *arg1 = (Fl_Overlay_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Overlay_Window_can_do_overlay",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Overlay_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Overlay_Window_can_do_overlay" "', argument " "1"" of type '" "Fl_Overlay_Window *""'"); } arg1 = reinterpret_cast< Fl_Overlay_Window * >(argp1); result = (int)(arg1)->can_do_overlay(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Overlay_Window_redraw_overlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Overlay_Window *arg1 = (Fl_Overlay_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Overlay_Window_redraw_overlay",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Overlay_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Overlay_Window_redraw_overlay" "', argument " "1"" of type '" "Fl_Overlay_Window *""'"); } arg1 = reinterpret_cast< Fl_Overlay_Window * >(argp1); (arg1)->redraw_overlay(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Overlay_Window_show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Overlay_Window *arg1 = (Fl_Overlay_Window *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Overlay_Window_show",1,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Overlay_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Overlay_Window_show" "', argument " "1"" of type '" "Fl_Overlay_Window *""'"); } arg1 = reinterpret_cast< Fl_Overlay_Window * >(argp1); if (obj1) { arg2 = obj1; } if (obj2) { arg3 = obj2; } Fl_Overlay_Window_show(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Overlay_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Overlay_Window *arg1 = (Fl_Overlay_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Overlay_Window",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Overlay_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Overlay_Window" "', argument " "1"" of type '" "Fl_Overlay_Window *""'"); } arg1 = reinterpret_cast< Fl_Overlay_Window * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Overlay_Window_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Overlay_Window *arg1 = (Fl_Overlay_Window *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Overlay_Window *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Overlay_Window_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Overlay_Window, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Overlay_Window_draw" "', argument " "1"" of type '" "Fl_Overlay_Window *""'"); } arg1 = reinterpret_cast< Fl_Overlay_Window * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Overlay_Window_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Overlay_Window, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Pack_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pack *arg1 = (Fl_Pack *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Pack *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Pack_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pack, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Pack_draw" "', argument " "1"" of type '" "Fl_Pack *""'"); } arg1 = reinterpret_cast< Fl_Pack * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Pack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Pack *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Pack",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Pack" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Pack" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Pack" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Pack" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Pack" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Pack *)new SwigDirector_Fl_Pack(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Pack *)new Fl_Pack(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Pack, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Pack_spacing__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pack *arg1 = (Fl_Pack *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Pack_spacing",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pack, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Pack_spacing" "', argument " "1"" of type '" "Fl_Pack const *""'"); } arg1 = reinterpret_cast< Fl_Pack * >(argp1); result = (int)((Fl_Pack const *)arg1)->spacing(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Pack_spacing__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pack *arg1 = (Fl_Pack *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Pack_spacing",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pack, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Pack_spacing" "', argument " "1"" of type '" "Fl_Pack *""'"); } arg1 = reinterpret_cast< Fl_Pack * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Pack_spacing" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->spacing(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Pack_spacing(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Pack_spacing__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Pack_spacing__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Pack_spacing'.\n" " Possible C/C++ prototypes are:\n" " Fl_Pack::spacing() const\n" " Fl_Pack::spacing(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Pack_horizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pack *arg1 = (Fl_Pack *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; uchar result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Pack_horizontal",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pack, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Pack_horizontal" "', argument " "1"" of type '" "Fl_Pack const *""'"); } arg1 = reinterpret_cast< Fl_Pack * >(argp1); result = (uchar)((Fl_Pack const *)arg1)->horizontal(); resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Pack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pack *arg1 = (Fl_Pack *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Pack",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pack, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Pack" "', argument " "1"" of type '" "Fl_Pack *""'"); } arg1 = reinterpret_cast< Fl_Pack * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Pack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Pack *arg1 = (Fl_Pack *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Pack",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Pack, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Pack" "', argument " "1"" of type '" "Fl_Pack *""'"); } arg1 = reinterpret_cast< Fl_Pack * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Pack_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Pack, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_PNG_Image__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; char *arg2 = (char *) 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_PNG_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_PNG_Image",2,2,&obj0,&obj1)) SWIG_fail; arg1 = obj0; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_PNG_Image" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_PNG_Image *)new SwigDirector_Fl_PNG_Image(arg1,(char const *)arg2); } else { result = (Fl_PNG_Image *)new Fl_PNG_Image((char const *)arg2); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_PNG_Image, SWIG_POINTER_NEW | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_PNG_Image__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; char *arg2 = (char *) 0 ; unsigned char *arg3 = (unsigned char *) 0 ; int arg4 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Fl_PNG_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_PNG_Image",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; arg1 = obj0; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_PNG_Image" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Fl_PNG_Image" "', argument " "3"" of type '" "unsigned char const *""'"); } arg3 = reinterpret_cast< unsigned char * >(argp3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_PNG_Image" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_PNG_Image *)new SwigDirector_Fl_PNG_Image(arg1,(char const *)arg2,(unsigned char const *)arg3,arg4); } else { result = (Fl_PNG_Image *)new Fl_PNG_Image((char const *)arg2,(unsigned char const *)arg3,arg4); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_PNG_Image, SWIG_POINTER_NEW | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_PNG_Image(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_new_Fl_PNG_Image__SWIG_0(self, args); } if (argc == 4) { return _wrap_new_Fl_PNG_Image__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_PNG_Image'.\n" " Possible C/C++ prototypes are:\n" " Fl_PNG_Image::Fl_PNG_Image(char const *)\n" " Fl_PNG_Image::Fl_PNG_Image(PyObject *,char const *,unsigned char const *,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_PNG_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_PNG_Image *arg1 = (Fl_PNG_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_PNG_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_PNG_Image, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_PNG_Image" "', argument " "1"" of type '" "Fl_PNG_Image *""'"); } arg1 = reinterpret_cast< Fl_PNG_Image * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_PNG_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_PNG_Image *arg1 = (Fl_PNG_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_PNG_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_PNG_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_PNG_Image" "', argument " "1"" of type '" "Fl_PNG_Image *""'"); } arg1 = reinterpret_cast< Fl_PNG_Image * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_PNG_Image_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_PNG_Image, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_PNM_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; char *arg2 = (char *) 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_PNM_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_PNM_Image",2,2,&obj0,&obj1)) SWIG_fail; arg1 = obj0; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_PNM_Image" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_PNM_Image *)new SwigDirector_Fl_PNM_Image(arg1,(char const *)arg2); } else { result = (Fl_PNM_Image *)new Fl_PNM_Image((char const *)arg2); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_PNM_Image, SWIG_POINTER_NEW | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_PNM_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_PNM_Image *arg1 = (Fl_PNM_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_PNM_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_PNM_Image, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_PNM_Image" "', argument " "1"" of type '" "Fl_PNM_Image *""'"); } arg1 = reinterpret_cast< Fl_PNM_Image * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_PNM_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_PNM_Image *arg1 = (Fl_PNM_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_PNM_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_PNM_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_PNM_Image" "', argument " "1"" of type '" "Fl_PNM_Image *""'"); } arg1 = reinterpret_cast< Fl_PNM_Image * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_PNM_Image_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_PNM_Image, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Positioner_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Positioner *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_draw" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_handle" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Positioner_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Positioner::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Positioner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Positioner *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Positioner",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Positioner" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Positioner" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Positioner" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Positioner" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Positioner" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Positioner *)new SwigDirector_Fl_Positioner(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Positioner *)new Fl_Positioner(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Positioner, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_xvalue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_xvalue",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_xvalue" "', argument " "1"" of type '" "Fl_Positioner const *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); result = (double)((Fl_Positioner const *)arg1)->xvalue(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_yvalue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_yvalue",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_yvalue" "', argument " "1"" of type '" "Fl_Positioner const *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); result = (double)((Fl_Positioner const *)arg1)->yvalue(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_xvalue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_xvalue",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_xvalue" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Positioner_xvalue" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); result = (int)(arg1)->xvalue(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_xvalue(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Positioner_xvalue__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Positioner_xvalue__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Positioner_xvalue'.\n" " Possible C/C++ prototypes are:\n" " Fl_Positioner::xvalue() const\n" " Fl_Positioner::xvalue(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Positioner_yvalue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_yvalue",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_yvalue" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Positioner_yvalue" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); result = (int)(arg1)->yvalue(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_yvalue(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Positioner_yvalue__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Positioner_yvalue__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Positioner_yvalue'.\n" " Possible C/C++ prototypes are:\n" " Fl_Positioner::yvalue() const\n" " Fl_Positioner::yvalue(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Positioner_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; double arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_value" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Positioner_value" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Positioner_value" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); result = (int)(arg1)->value(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_xbounds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; double arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_xbounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_xbounds" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Positioner_xbounds" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Positioner_xbounds" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); (arg1)->xbounds(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_xminimum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_xminimum",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_xminimum" "', argument " "1"" of type '" "Fl_Positioner const *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); result = (double)((Fl_Positioner const *)arg1)->xminimum(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_xminimum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_xminimum",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_xminimum" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Positioner_xminimum" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->xminimum(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_xminimum(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Positioner_xminimum__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Positioner_xminimum__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Positioner_xminimum'.\n" " Possible C/C++ prototypes are:\n" " Fl_Positioner::xminimum() const\n" " Fl_Positioner::xminimum(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Positioner_xmaximum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_xmaximum",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_xmaximum" "', argument " "1"" of type '" "Fl_Positioner const *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); result = (double)((Fl_Positioner const *)arg1)->xmaximum(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_xmaximum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_xmaximum",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_xmaximum" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Positioner_xmaximum" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->xmaximum(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_xmaximum(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Positioner_xmaximum__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Positioner_xmaximum__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Positioner_xmaximum'.\n" " Possible C/C++ prototypes are:\n" " Fl_Positioner::xmaximum() const\n" " Fl_Positioner::xmaximum(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Positioner_ybounds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; double arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_ybounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_ybounds" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Positioner_ybounds" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Positioner_ybounds" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); (arg1)->ybounds(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_yminimum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_yminimum",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_yminimum" "', argument " "1"" of type '" "Fl_Positioner const *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); result = (double)((Fl_Positioner const *)arg1)->yminimum(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_yminimum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_yminimum",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_yminimum" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Positioner_yminimum" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->yminimum(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_yminimum(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Positioner_yminimum__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Positioner_yminimum__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Positioner_yminimum'.\n" " Possible C/C++ prototypes are:\n" " Fl_Positioner::yminimum() const\n" " Fl_Positioner::yminimum(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Positioner_ymaximum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_ymaximum",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_ymaximum" "', argument " "1"" of type '" "Fl_Positioner const *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); result = (double)((Fl_Positioner const *)arg1)->ymaximum(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_ymaximum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_ymaximum",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_ymaximum" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Positioner_ymaximum" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->ymaximum(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_ymaximum(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Positioner_ymaximum__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Positioner_ymaximum__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Positioner_ymaximum'.\n" " Possible C/C++ prototypes are:\n" " Fl_Positioner::ymaximum() const\n" " Fl_Positioner::ymaximum(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Positioner_xstep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_xstep",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_xstep" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Positioner_xstep" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->xstep(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Positioner_ystep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Positioner_ystep",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Positioner_ystep" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Positioner_ystep" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->ystep(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Positioner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Positioner",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Positioner" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Positioner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Positioner *arg1 = (Fl_Positioner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Positioner",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Positioner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Positioner" "', argument " "1"" of type '" "Fl_Positioner *""'"); } arg1 = reinterpret_cast< Fl_Positioner * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Positioner_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Positioner, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Preferences__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences::Root arg1 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; int val1 ; int ecode1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Preferences *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Preferences",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Fl_Preferences" "', argument " "1"" of type '" "Fl_Preferences::Root""'"); } arg1 = static_cast< Fl_Preferences::Root >(val1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_Preferences" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Fl_Preferences" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (Fl_Preferences *)new Fl_Preferences(arg1,(char const *)arg2,(char const *)arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Preferences, SWIG_POINTER_NEW | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Preferences__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Preferences *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Preferences",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Fl_Preferences" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_Preferences" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Fl_Preferences" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (Fl_Preferences *)new Fl_Preferences((char const *)arg1,(char const *)arg2,(char const *)arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Preferences, SWIG_POINTER_NEW | 0 ); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Preferences__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Preferences *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Preferences",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Fl_Preferences, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Fl_Preferences" "', argument " "1"" of type '" "Fl_Preferences &""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Fl_Preferences" "', argument " "1"" of type '" "Fl_Preferences &""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_Preferences" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (Fl_Preferences *)new Fl_Preferences(*arg1,(char const *)arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Preferences, SWIG_POINTER_NEW | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Preferences(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_new_Fl_Preferences__SWIG_2(self, args); } if (argc == 3) { int _v = 0; { { int res = SWIG_AsVal_int(argv[0], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_2; return _wrap_new_Fl_Preferences__SWIG_0(self, args); } check_2: if (argc == 3) { return _wrap_new_Fl_Preferences__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_Preferences'.\n" " Possible C/C++ prototypes are:\n" " Fl_Preferences::Fl_Preferences(Fl_Preferences::Root,char const *,char const *)\n" " Fl_Preferences::Fl_Preferences(char const *,char const *,char const *)\n" " Fl_Preferences::Fl_Preferences(Fl_Preferences &,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Preferences(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Preferences",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Preferences" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_groups(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_groups",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_groups" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); result = (int)(arg1)->groups(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_group(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_group",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_group" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Preferences_group" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (char *)(arg1)->group(arg2); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_groupExists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_groupExists",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_groupExists" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_groupExists" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (char)(arg1)->groupExists((char const *)arg2); { resultobj = PyInt_FromLong( (long)result); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_deleteGroup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_deleteGroup",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_deleteGroup" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_deleteGroup" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (char)(arg1)->deleteGroup((char const *)arg2); { resultobj = PyInt_FromLong( (long)result); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_entries(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_entries",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_entries" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); result = (int)(arg1)->entries(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_entry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_entry",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_entry" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Preferences_entry" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (char *)(arg1)->entry(arg2); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_entryExists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_entryExists",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_entryExists" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_entryExists" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (char)(arg1)->entryExists((char const *)arg2); { resultobj = PyInt_FromLong( (long)result); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_deleteEntry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_deleteEntry",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_deleteEntry" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_deleteEntry" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (char)(arg1)->deleteEntry((char const *)arg2); { resultobj = PyInt_FromLong( (long)result); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_set" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_set" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Preferences_set" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (char)(arg1)->set((char const *)arg2,arg3); { resultobj = PyInt_FromLong( (long)result); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; float arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; float val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_set" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_set" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Preferences_set" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Preferences_set" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); result = (char)(arg1)->set((char const *)arg2,arg3,arg4); { resultobj = PyInt_FromLong( (long)result); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_set__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_set" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_set" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Preferences_set" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); result = (char)(arg1)->set((char const *)arg2,arg3); { resultobj = PyInt_FromLong( (long)result); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_set__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; double arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; double val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_set" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_set" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Preferences_set" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Preferences_set" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); result = (char)(arg1)->set((char const *)arg2,arg3,arg4); { resultobj = PyInt_FromLong( (long)result); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_set__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_set" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_set" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Preferences_set" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (char)(arg1)->set((char const *)arg2,(char const *)arg3); { resultobj = PyInt_FromLong( (long)result); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_set__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; void *arg3 = (void *) 0 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_set" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_set" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Preferences_set" "', argument " "3"" of type '" "void const *""'"); } ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Preferences_set" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); result = (char)(arg1)->set((char const *)arg2,(void const *)arg3,arg4); { resultobj = PyInt_FromLong( (long)result); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_set(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v = 0; { { int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_1; return _wrap_Fl_Preferences_set__SWIG_0(self, args); } check_1: if (argc == 3) { int _v = 0; { { int res = SWIG_AsVal_double(argv[2], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_2; return _wrap_Fl_Preferences_set__SWIG_2(self, args); } check_2: if (argc == 3) { return _wrap_Fl_Preferences_set__SWIG_4(self, args); } if (argc == 4) { int _v = 0; { void *ptr = 0; int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_4; return _wrap_Fl_Preferences_set__SWIG_5(self, args); } check_4: if (argc == 4) { int _v = 0; { { int res = SWIG_AsVal_float(argv[2], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_5; return _wrap_Fl_Preferences_set__SWIG_1(self, args); } check_5: if (argc == 4) { return _wrap_Fl_Preferences_set__SWIG_3(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Preferences_set'.\n" " Possible C/C++ prototypes are:\n" " Fl_Preferences::set(char const *,int)\n" " Fl_Preferences::set(char const *,float,int)\n" " Fl_Preferences::set(char const *,double)\n" " Fl_Preferences::set(char const *,double,int)\n" " Fl_Preferences::set(char const *,char const *)\n" " Fl_Preferences::set(char const *,void const *,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Preferences_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; int *arg3 = 0 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int temp3 ; int res3 = SWIG_TMPOBJ ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char result; arg3 = &temp3; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_get" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_get" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode4 = SWIG_AsVal_int(obj2, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Preferences_get" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); result = (char)(arg1)->get((char const *)arg2,*arg3,arg4); { resultobj = PyInt_FromLong( (long)result); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; float *arg3 = 0 ; float arg4 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; float temp3 ; int res3 = SWIG_TMPOBJ ; float val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char result; arg3 = &temp3; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_get" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_get" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode4 = SWIG_AsVal_float(obj2, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Preferences_get" "', argument " "4"" of type '" "float""'"); } arg4 = static_cast< float >(val4); result = (char)(arg1)->get((char const *)arg2,*arg3,arg4); { resultobj = PyInt_FromLong( (long)result); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_get__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; double *arg3 = 0 ; double arg4 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; double temp3 ; int res3 = SWIG_TMPOBJ ; double val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char result; arg3 = &temp3; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_get" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_get" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode4 = SWIG_AsVal_double(obj2, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Preferences_get" "', argument " "4"" of type '" "double""'"); } arg4 = static_cast< double >(val4); result = (char)(arg1)->get((char const *)arg2,*arg3,arg4); { resultobj = PyInt_FromLong( (long)result); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags)); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_get__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; char temp3[1024+1] ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; char result; arg3 = (char *) temp3; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_get",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_get" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_get" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res4 = SWIG_AsCharPtrAndSize(obj2, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Preferences_get" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); ecode5 = SWIG_AsVal_int(obj3, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Preferences_get" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); result = (char)(arg1)->get((char const *)arg2,arg3,(char const *)arg4,arg5); { resultobj = PyInt_FromLong( (long)result); } arg3[1024] = 0; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg3)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_get__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; void *arg3 = (void *) 0 ; void *arg4 = (void *) 0 ; int arg5 ; int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ; int res4 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_get",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_get" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_get" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Preferences_get" "', argument " "3"" of type '" "void *""'"); } res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Preferences_get" "', argument " "4"" of type '" "void const *""'"); } ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Preferences_get" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Preferences_get" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); result = (char)(arg1)->get((char const *)arg2,arg3,(void const *)arg4,arg5,arg6); { resultobj = PyInt_FromLong( (long)result); } if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_get(PyObject *self, PyObject *args) { int argc; PyObject *argv[7]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v = 0; { { int res = SWIG_AsVal_int(argv[2], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_1; return _wrap_Fl_Preferences_get__SWIG_0(self, args); } check_1: if (argc == 3) { int _v = 0; { { int res = SWIG_AsVal_float(argv[2], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_2; return _wrap_Fl_Preferences_get__SWIG_1(self, args); } check_2: if (argc == 3) { return _wrap_Fl_Preferences_get__SWIG_2(self, args); } if (argc == 4) { return _wrap_Fl_Preferences_get__SWIG_3(self, args); } if (argc == 6) { return _wrap_Fl_Preferences_get__SWIG_4(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Preferences_get'.\n" " Possible C/C++ prototypes are:\n" " Fl_Preferences::get(char const *,int &,int)\n" " Fl_Preferences::get(char const *,float &,float)\n" " Fl_Preferences::get(char const *,double &,double)\n" " Fl_Preferences::get(char const *,char *,char const *,int)\n" " Fl_Preferences::get(char const *,void *,void const *,int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Preferences_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_size",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_size" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_size" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->size((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_getUserdataPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; size_t size2 ; char *buff2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_getUserdataPath",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_getUserdataPath" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); res2 = SWIG_AsVal_size_t (obj1, &size2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Preferences_getUserdataPath" "', argument " "2"" of type '" "(char *path, int pathlen)""'"); } buff2= (new char[size2+1]); arg3 = static_cast< int >(size2); arg2 = static_cast< char * >(buff2); result = (char)(arg1)->getUserdataPath(arg2,arg3); { resultobj = PyInt_FromLong( (long)result); } resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg2)); if (buff2) delete[] buff2; return resultobj; fail: if (buff2) delete[] buff2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Preferences_flush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Preferences *arg1 = (Fl_Preferences *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Preferences_flush",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Preferences, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Preferences_flush" "', argument " "1"" of type '" "Fl_Preferences *""'"); } arg1 = reinterpret_cast< Fl_Preferences * >(argp1); (arg1)->flush(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Preferences_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Preferences, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Progress_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Progress *arg1 = (Fl_Progress *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Progress *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Progress_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Progress, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Progress_draw" "', argument " "1"" of type '" "Fl_Progress *""'"); } arg1 = reinterpret_cast< Fl_Progress * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Progress(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Progress *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Progress",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Progress" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Progress" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Progress" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Progress" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Progress" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Progress *)new SwigDirector_Fl_Progress(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Progress *)new Fl_Progress(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Progress, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Progress_maximum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Progress *arg1 = (Fl_Progress *) 0 ; float arg2 ; void *argp1 = 0 ; int res1 = 0 ; float val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Progress_maximum",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Progress, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Progress_maximum" "', argument " "1"" of type '" "Fl_Progress *""'"); } arg1 = reinterpret_cast< Fl_Progress * >(argp1); ecode2 = SWIG_AsVal_float(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Progress_maximum" "', argument " "2"" of type '" "float""'"); } arg2 = static_cast< float >(val2); (arg1)->maximum(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Progress_maximum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Progress *arg1 = (Fl_Progress *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; float result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Progress_maximum",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Progress, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Progress_maximum" "', argument " "1"" of type '" "Fl_Progress const *""'"); } arg1 = reinterpret_cast< Fl_Progress * >(argp1); result = (float)((Fl_Progress const *)arg1)->maximum(); resultobj = SWIG_From_float(static_cast< float >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Progress_maximum(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Progress_maximum__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Progress_maximum__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Progress_maximum'.\n" " Possible C/C++ prototypes are:\n" " Fl_Progress::maximum(float)\n" " Fl_Progress::maximum() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Progress_minimum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Progress *arg1 = (Fl_Progress *) 0 ; float arg2 ; void *argp1 = 0 ; int res1 = 0 ; float val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Progress_minimum",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Progress, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Progress_minimum" "', argument " "1"" of type '" "Fl_Progress *""'"); } arg1 = reinterpret_cast< Fl_Progress * >(argp1); ecode2 = SWIG_AsVal_float(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Progress_minimum" "', argument " "2"" of type '" "float""'"); } arg2 = static_cast< float >(val2); (arg1)->minimum(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Progress_minimum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Progress *arg1 = (Fl_Progress *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; float result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Progress_minimum",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Progress, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Progress_minimum" "', argument " "1"" of type '" "Fl_Progress const *""'"); } arg1 = reinterpret_cast< Fl_Progress * >(argp1); result = (float)((Fl_Progress const *)arg1)->minimum(); resultobj = SWIG_From_float(static_cast< float >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Progress_minimum(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Progress_minimum__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Progress_minimum__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Progress_minimum'.\n" " Possible C/C++ prototypes are:\n" " Fl_Progress::minimum(float)\n" " Fl_Progress::minimum() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Progress_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Progress *arg1 = (Fl_Progress *) 0 ; float arg2 ; void *argp1 = 0 ; int res1 = 0 ; float val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Progress_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Progress, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Progress_value" "', argument " "1"" of type '" "Fl_Progress *""'"); } arg1 = reinterpret_cast< Fl_Progress * >(argp1); ecode2 = SWIG_AsVal_float(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Progress_value" "', argument " "2"" of type '" "float""'"); } arg2 = static_cast< float >(val2); (arg1)->value(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Progress_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Progress *arg1 = (Fl_Progress *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; float result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Progress_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Progress, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Progress_value" "', argument " "1"" of type '" "Fl_Progress const *""'"); } arg1 = reinterpret_cast< Fl_Progress * >(argp1); result = (float)((Fl_Progress const *)arg1)->value(); resultobj = SWIG_From_float(static_cast< float >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Progress_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Progress_value__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Progress_value__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Progress_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Progress::value(float)\n" " Fl_Progress::value() const\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Progress(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Progress *arg1 = (Fl_Progress *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Progress",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Progress, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Progress" "', argument " "1"" of type '" "Fl_Progress *""'"); } arg1 = reinterpret_cast< Fl_Progress * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Progress(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Progress *arg1 = (Fl_Progress *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Progress",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Progress, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Progress" "', argument " "1"" of type '" "Fl_Progress *""'"); } arg1 = reinterpret_cast< Fl_Progress * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Progress_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Progress, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Radio_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Radio_Button *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Radio_Button",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Radio_Button" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Radio_Button" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Radio_Button" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Radio_Button" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Radio_Button" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Radio_Button *)new SwigDirector_Fl_Radio_Button(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Radio_Button *)new Fl_Radio_Button(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Radio_Button, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Radio_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Radio_Button *arg1 = (Fl_Radio_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Radio_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Radio_Button, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Radio_Button" "', argument " "1"" of type '" "Fl_Radio_Button *""'"); } arg1 = reinterpret_cast< Fl_Radio_Button * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Radio_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Radio_Button *arg1 = (Fl_Radio_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Radio_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Radio_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Radio_Button" "', argument " "1"" of type '" "Fl_Radio_Button *""'"); } arg1 = reinterpret_cast< Fl_Radio_Button * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Radio_Button_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Radio_Button *arg1 = (Fl_Radio_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Radio_Button *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Radio_Button_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Radio_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Radio_Button_draw" "', argument " "1"" of type '" "Fl_Radio_Button *""'"); } arg1 = reinterpret_cast< Fl_Radio_Button * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Radio_Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Radio_Button, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Radio_Light_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Radio_Light_Button *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Radio_Light_Button",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Radio_Light_Button" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Radio_Light_Button" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Radio_Light_Button" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Radio_Light_Button" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Radio_Light_Button" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Radio_Light_Button *)new SwigDirector_Fl_Radio_Light_Button(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Radio_Light_Button *)new Fl_Radio_Light_Button(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Radio_Light_Button, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Radio_Light_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Radio_Light_Button *arg1 = (Fl_Radio_Light_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Radio_Light_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Radio_Light_Button, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Radio_Light_Button" "', argument " "1"" of type '" "Fl_Radio_Light_Button *""'"); } arg1 = reinterpret_cast< Fl_Radio_Light_Button * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Radio_Light_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Radio_Light_Button *arg1 = (Fl_Radio_Light_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Radio_Light_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Radio_Light_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Radio_Light_Button" "', argument " "1"" of type '" "Fl_Radio_Light_Button *""'"); } arg1 = reinterpret_cast< Fl_Radio_Light_Button * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Radio_Light_Button_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Radio_Light_Button *arg1 = (Fl_Radio_Light_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Radio_Light_Button *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Radio_Light_Button_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Radio_Light_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Radio_Light_Button_draw" "', argument " "1"" of type '" "Fl_Radio_Light_Button *""'"); } arg1 = reinterpret_cast< Fl_Radio_Light_Button * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Radio_Light_Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Radio_Light_Button, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Round_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Round_Button *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Round_Button",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Round_Button" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Round_Button" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Round_Button" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Round_Button" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Round_Button" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Round_Button *)new SwigDirector_Fl_Round_Button(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Round_Button *)new Fl_Round_Button(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Round_Button, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Round_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Round_Button *arg1 = (Fl_Round_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Round_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Round_Button, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Round_Button" "', argument " "1"" of type '" "Fl_Round_Button *""'"); } arg1 = reinterpret_cast< Fl_Round_Button * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Round_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Round_Button *arg1 = (Fl_Round_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Round_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Round_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Round_Button" "', argument " "1"" of type '" "Fl_Round_Button *""'"); } arg1 = reinterpret_cast< Fl_Round_Button * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Round_Button_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Round_Button *arg1 = (Fl_Round_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Round_Button *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Round_Button_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Round_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Round_Button_draw" "', argument " "1"" of type '" "Fl_Round_Button *""'"); } arg1 = reinterpret_cast< Fl_Round_Button * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Round_Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Round_Button, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Radio_Round_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Radio_Round_Button *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Radio_Round_Button",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Radio_Round_Button" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Radio_Round_Button" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Radio_Round_Button" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Radio_Round_Button" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Radio_Round_Button" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Radio_Round_Button *)new SwigDirector_Fl_Radio_Round_Button(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Radio_Round_Button *)new Fl_Radio_Round_Button(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Radio_Round_Button, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Radio_Round_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Radio_Round_Button *arg1 = (Fl_Radio_Round_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Radio_Round_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Radio_Round_Button, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Radio_Round_Button" "', argument " "1"" of type '" "Fl_Radio_Round_Button *""'"); } arg1 = reinterpret_cast< Fl_Radio_Round_Button * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Radio_Round_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Radio_Round_Button *arg1 = (Fl_Radio_Round_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Radio_Round_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Radio_Round_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Radio_Round_Button" "', argument " "1"" of type '" "Fl_Radio_Round_Button *""'"); } arg1 = reinterpret_cast< Fl_Radio_Round_Button * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Radio_Round_Button_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Radio_Round_Button *arg1 = (Fl_Radio_Round_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Radio_Round_Button *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Radio_Round_Button_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Radio_Round_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Radio_Round_Button_draw" "', argument " "1"" of type '" "Fl_Radio_Round_Button *""'"); } arg1 = reinterpret_cast< Fl_Radio_Round_Button * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Radio_Round_Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Radio_Round_Button, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Repeat_Button_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Repeat_Button *arg1 = (Fl_Repeat_Button *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Repeat_Button_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Repeat_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Repeat_Button_handle" "', argument " "1"" of type '" "Fl_Repeat_Button *""'"); } arg1 = reinterpret_cast< Fl_Repeat_Button * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Repeat_Button_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Repeat_Button::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Repeat_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Repeat_Button *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Repeat_Button",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Repeat_Button" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Repeat_Button" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Repeat_Button" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Repeat_Button" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Repeat_Button" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Repeat_Button *)new SwigDirector_Fl_Repeat_Button(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Repeat_Button *)new Fl_Repeat_Button(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Repeat_Button, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Repeat_Button_deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Repeat_Button *arg1 = (Fl_Repeat_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Repeat_Button_deactivate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Repeat_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Repeat_Button_deactivate" "', argument " "1"" of type '" "Fl_Repeat_Button *""'"); } arg1 = reinterpret_cast< Fl_Repeat_Button * >(argp1); (arg1)->deactivate(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Repeat_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Repeat_Button *arg1 = (Fl_Repeat_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Repeat_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Repeat_Button, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Repeat_Button" "', argument " "1"" of type '" "Fl_Repeat_Button *""'"); } arg1 = reinterpret_cast< Fl_Repeat_Button * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Repeat_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Repeat_Button *arg1 = (Fl_Repeat_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Repeat_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Repeat_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Repeat_Button" "', argument " "1"" of type '" "Fl_Repeat_Button *""'"); } arg1 = reinterpret_cast< Fl_Repeat_Button * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Repeat_Button_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Repeat_Button *arg1 = (Fl_Repeat_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Repeat_Button *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Repeat_Button_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Repeat_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Repeat_Button_draw" "', argument " "1"" of type '" "Fl_Repeat_Button *""'"); } arg1 = reinterpret_cast< Fl_Repeat_Button * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Repeat_Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Repeat_Button, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Return_Button_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Return_Button *arg1 = (Fl_Return_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Return_Button *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Return_Button_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Return_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Return_Button_draw" "', argument " "1"" of type '" "Fl_Return_Button *""'"); } arg1 = reinterpret_cast< Fl_Return_Button * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Return_Button_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Return_Button *arg1 = (Fl_Return_Button *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Return_Button_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Return_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Return_Button_handle" "', argument " "1"" of type '" "Fl_Return_Button *""'"); } arg1 = reinterpret_cast< Fl_Return_Button * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Return_Button_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Return_Button::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Return_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Return_Button *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Return_Button",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Return_Button" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Return_Button" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Return_Button" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Return_Button" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Return_Button" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Return_Button *)new SwigDirector_Fl_Return_Button(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Return_Button *)new Fl_Return_Button(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Return_Button, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Return_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Return_Button *arg1 = (Fl_Return_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Return_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Return_Button, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Return_Button" "', argument " "1"" of type '" "Fl_Return_Button *""'"); } arg1 = reinterpret_cast< Fl_Return_Button * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Return_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Return_Button *arg1 = (Fl_Return_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Return_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Return_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Return_Button" "', argument " "1"" of type '" "Fl_Return_Button *""'"); } arg1 = reinterpret_cast< Fl_Return_Button * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Return_Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Return_Button, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Roller_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Roller *arg1 = (Fl_Roller *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Roller *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Roller_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Roller, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Roller_draw" "', argument " "1"" of type '" "Fl_Roller *""'"); } arg1 = reinterpret_cast< Fl_Roller * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Roller_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Roller *arg1 = (Fl_Roller *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Roller_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Roller, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Roller_handle" "', argument " "1"" of type '" "Fl_Roller *""'"); } arg1 = reinterpret_cast< Fl_Roller * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Roller_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Roller::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Roller(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Roller *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Roller",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Roller" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Roller" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Roller" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Roller" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Roller" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Roller *)new SwigDirector_Fl_Roller(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Roller *)new Fl_Roller(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Roller, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Roller(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Roller *arg1 = (Fl_Roller *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Roller",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Roller, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Roller" "', argument " "1"" of type '" "Fl_Roller *""'"); } arg1 = reinterpret_cast< Fl_Roller * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Roller(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Roller *arg1 = (Fl_Roller *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Roller",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Roller, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Roller" "', argument " "1"" of type '" "Fl_Roller *""'"); } arg1 = reinterpret_cast< Fl_Roller * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Roller_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Roller, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Round_Clock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Round_Clock *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Round_Clock",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Round_Clock" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Round_Clock" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Round_Clock" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Round_Clock" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Round_Clock" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Round_Clock *)new SwigDirector_Fl_Round_Clock(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Round_Clock *)new Fl_Round_Clock(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Round_Clock, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Round_Clock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Round_Clock *arg1 = (Fl_Round_Clock *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Round_Clock",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Round_Clock, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Round_Clock" "', argument " "1"" of type '" "Fl_Round_Clock *""'"); } arg1 = reinterpret_cast< Fl_Round_Clock * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Round_Clock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Round_Clock *arg1 = (Fl_Round_Clock *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Round_Clock",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Round_Clock, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Round_Clock" "', argument " "1"" of type '" "Fl_Round_Clock *""'"); } arg1 = reinterpret_cast< Fl_Round_Clock * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Round_Clock_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Round_Clock *arg1 = (Fl_Round_Clock *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Round_Clock *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Round_Clock_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Round_Clock, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Round_Clock_draw" "', argument " "1"" of type '" "Fl_Round_Clock *""'"); } arg1 = reinterpret_cast< Fl_Round_Clock * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Round_Clock_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Round_Clock, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Scroll_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scroll *arg1 = (Fl_Scroll *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Scroll *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scroll_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scroll, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scroll_draw" "', argument " "1"" of type '" "Fl_Scroll *""'"); } arg1 = reinterpret_cast< Fl_Scroll * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scroll_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scroll *arg1 = (Fl_Scroll *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scroll_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scroll, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scroll_resize" "', argument " "1"" of type '" "Fl_Scroll *""'"); } arg1 = reinterpret_cast< Fl_Scroll * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Scroll_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Scroll_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Scroll_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Scroll_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Scroll::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scroll_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scroll *arg1 = (Fl_Scroll *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scroll_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scroll, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scroll_handle" "', argument " "1"" of type '" "Fl_Scroll *""'"); } arg1 = reinterpret_cast< Fl_Scroll * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Scroll_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Scroll::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Scroll *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Scroll",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Scroll" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Scroll" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Scroll" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Scroll" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Scroll" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Scroll *)new SwigDirector_Fl_Scroll(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Scroll *)new Fl_Scroll(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Scroll, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scroll_xposition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scroll *arg1 = (Fl_Scroll *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scroll_xposition",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scroll, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scroll_xposition" "', argument " "1"" of type '" "Fl_Scroll const *""'"); } arg1 = reinterpret_cast< Fl_Scroll * >(argp1); result = (int)((Fl_Scroll const *)arg1)->xposition(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scroll_yposition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scroll *arg1 = (Fl_Scroll *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scroll_yposition",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scroll, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scroll_yposition" "', argument " "1"" of type '" "Fl_Scroll const *""'"); } arg1 = reinterpret_cast< Fl_Scroll * >(argp1); result = (int)((Fl_Scroll const *)arg1)->yposition(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scroll_scroll_to(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scroll *arg1 = (Fl_Scroll *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scroll_scroll_to",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scroll, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scroll_scroll_to" "', argument " "1"" of type '" "Fl_Scroll *""'"); } arg1 = reinterpret_cast< Fl_Scroll * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Scroll_scroll_to" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Scroll_scroll_to" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->scroll_to(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scroll_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scroll *arg1 = (Fl_Scroll *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scroll_clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scroll, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scroll_clear" "', argument " "1"" of type '" "Fl_Scroll *""'"); } arg1 = reinterpret_cast< Fl_Scroll * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scroll_scrollbar_size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scroll *arg1 = (Fl_Scroll *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scroll_scrollbar_size",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scroll, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scroll_scrollbar_size" "', argument " "1"" of type '" "Fl_Scroll const *""'"); } arg1 = reinterpret_cast< Fl_Scroll * >(argp1); result = (int)((Fl_Scroll const *)arg1)->scrollbar_size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scroll_scrollbar_size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scroll *arg1 = (Fl_Scroll *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scroll_scrollbar_size",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scroll, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scroll_scrollbar_size" "', argument " "1"" of type '" "Fl_Scroll *""'"); } arg1 = reinterpret_cast< Fl_Scroll * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Scroll_scrollbar_size" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->scrollbar_size(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scroll_scrollbar_size(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Scroll_scrollbar_size__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Scroll_scrollbar_size__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Scroll_scrollbar_size'.\n" " Possible C/C++ prototypes are:\n" " Fl_Scroll::scrollbar_size() const\n" " Fl_Scroll::scrollbar_size(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Scroll_getScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scroll *arg1 = (Fl_Scroll *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Scrollbar *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scroll_getScrollbar",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scroll, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scroll_getScrollbar" "', argument " "1"" of type '" "Fl_Scroll *""'"); } arg1 = reinterpret_cast< Fl_Scroll * >(argp1); result = (Fl_Scrollbar *)Fl_Scroll_getScrollbar(arg1); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Scrollbar, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scroll_getHScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scroll *arg1 = (Fl_Scroll *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Scrollbar *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scroll_getHScrollbar",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scroll, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scroll_getHScrollbar" "', argument " "1"" of type '" "Fl_Scroll *""'"); } arg1 = reinterpret_cast< Fl_Scroll * >(argp1); result = (Fl_Scrollbar *)Fl_Scroll_getHScrollbar(arg1); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Scrollbar, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scroll *arg1 = (Fl_Scroll *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Scroll",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scroll, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Scroll" "', argument " "1"" of type '" "Fl_Scroll *""'"); } arg1 = reinterpret_cast< Fl_Scroll * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scroll *arg1 = (Fl_Scroll *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Scroll",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scroll, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Scroll" "', argument " "1"" of type '" "Fl_Scroll *""'"); } arg1 = reinterpret_cast< Fl_Scroll * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Scroll_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Scroll, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Scrollbar_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scrollbar *arg1 = (Fl_Scrollbar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Scrollbar *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scrollbar_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scrollbar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scrollbar_draw" "', argument " "1"" of type '" "Fl_Scrollbar *""'"); } arg1 = reinterpret_cast< Fl_Scrollbar * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Scrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Scrollbar *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Scrollbar",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Scrollbar" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Scrollbar" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Scrollbar" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Scrollbar" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Scrollbar" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Scrollbar *)new SwigDirector_Fl_Scrollbar(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Scrollbar *)new Fl_Scrollbar(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Scrollbar, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Scrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scrollbar *arg1 = (Fl_Scrollbar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Scrollbar",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scrollbar, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Scrollbar" "', argument " "1"" of type '" "Fl_Scrollbar *""'"); } arg1 = reinterpret_cast< Fl_Scrollbar * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scrollbar_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scrollbar *arg1 = (Fl_Scrollbar *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scrollbar_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scrollbar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scrollbar_handle" "', argument " "1"" of type '" "Fl_Scrollbar *""'"); } arg1 = reinterpret_cast< Fl_Scrollbar * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Scrollbar_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Scrollbar::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scrollbar_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scrollbar *arg1 = (Fl_Scrollbar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scrollbar_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scrollbar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scrollbar_value" "', argument " "1"" of type '" "Fl_Scrollbar const *""'"); } arg1 = reinterpret_cast< Fl_Scrollbar * >(argp1); result = (int)((Fl_Scrollbar const *)arg1)->value(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scrollbar_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scrollbar *arg1 = (Fl_Scrollbar *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scrollbar_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scrollbar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scrollbar_value" "', argument " "1"" of type '" "Fl_Scrollbar *""'"); } arg1 = reinterpret_cast< Fl_Scrollbar * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Scrollbar_value" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->value(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scrollbar_value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scrollbar *arg1 = (Fl_Scrollbar *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scrollbar_value",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scrollbar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scrollbar_value" "', argument " "1"" of type '" "Fl_Scrollbar *""'"); } arg1 = reinterpret_cast< Fl_Scrollbar * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Scrollbar_value" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Scrollbar_value" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Scrollbar_value" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Scrollbar_value" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); result = (int)(arg1)->value(arg2,arg3,arg4,arg5); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scrollbar_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[6]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Scrollbar_value__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Scrollbar_value__SWIG_1(self, args); } if (argc == 5) { return _wrap_Fl_Scrollbar_value__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Scrollbar_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Scrollbar::value() const\n" " Fl_Scrollbar::value(int)\n" " Fl_Scrollbar::value(int,int,int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Scrollbar_linesize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scrollbar *arg1 = (Fl_Scrollbar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scrollbar_linesize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scrollbar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scrollbar_linesize" "', argument " "1"" of type '" "Fl_Scrollbar const *""'"); } arg1 = reinterpret_cast< Fl_Scrollbar * >(argp1); result = (int)((Fl_Scrollbar const *)arg1)->linesize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scrollbar_linesize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scrollbar *arg1 = (Fl_Scrollbar *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Scrollbar_linesize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scrollbar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Scrollbar_linesize" "', argument " "1"" of type '" "Fl_Scrollbar *""'"); } arg1 = reinterpret_cast< Fl_Scrollbar * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Scrollbar_linesize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->linesize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Scrollbar_linesize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Scrollbar_linesize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Scrollbar_linesize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Scrollbar_linesize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Scrollbar::linesize() const\n" " Fl_Scrollbar::linesize(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_disown_Fl_Scrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Scrollbar *arg1 = (Fl_Scrollbar *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Scrollbar",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Scrollbar, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Scrollbar" "', argument " "1"" of type '" "Fl_Scrollbar *""'"); } arg1 = reinterpret_cast< Fl_Scrollbar * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Scrollbar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Scrollbar, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Secret_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Secret_Input *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Secret_Input",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Secret_Input" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Secret_Input" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Secret_Input" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Secret_Input" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Secret_Input" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Secret_Input *)new SwigDirector_Fl_Secret_Input(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Secret_Input *)new Fl_Secret_Input(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Secret_Input, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Secret_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Secret_Input *arg1 = (Fl_Secret_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Secret_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Secret_Input, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Secret_Input" "', argument " "1"" of type '" "Fl_Secret_Input *""'"); } arg1 = reinterpret_cast< Fl_Secret_Input * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Secret_Input(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Secret_Input *arg1 = (Fl_Secret_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Secret_Input",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Secret_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Secret_Input" "', argument " "1"" of type '" "Fl_Secret_Input *""'"); } arg1 = reinterpret_cast< Fl_Secret_Input * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Secret_Input_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Secret_Input *arg1 = (Fl_Secret_Input *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Secret_Input *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Secret_Input_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Secret_Input, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Secret_Input_draw" "', argument " "1"" of type '" "Fl_Secret_Input *""'"); } arg1 = reinterpret_cast< Fl_Secret_Input * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Secret_Input_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Secret_Input, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Select_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Select_Browser *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Select_Browser",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Select_Browser" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Select_Browser" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Select_Browser" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Select_Browser" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Select_Browser" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Select_Browser *)new SwigDirector_Fl_Select_Browser(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Select_Browser *)new Fl_Select_Browser(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Select_Browser, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Select_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Select_Browser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Select_Browser" "', argument " "1"" of type '" "Fl_Select_Browser *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Select_Browser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Select_Browser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Select_Browser" "', argument " "1"" of type '" "Fl_Select_Browser *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_draw" "', argument " "1"" of type '" "Fl_Select_Browser *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_item_first(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_item_first",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_item_first" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_first"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_first"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Select_Browser const *)darg)->item_firstSwigPublic(); } else { result = (void *)((SwigDirector_Fl_Select_Browser const *)darg)->item_first(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_item_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_item_next",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_item_next" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Select_Browser_item_next" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_next"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_next"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Select_Browser const *)darg)->item_nextSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Select_Browser const *)darg)->item_next(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_item_prev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_item_prev",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_item_prev" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Select_Browser_item_prev" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_prev"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_prev"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Select_Browser const *)darg)->item_prevSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Select_Browser const *)darg)->item_prev(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_item_last(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_item_last",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_item_last" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_last"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_last"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Select_Browser const *)darg)->item_lastSwigPublic(); } else { result = (void *)((SwigDirector_Fl_Select_Browser const *)darg)->item_last(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_item_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_item_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_item_height" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Select_Browser_item_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->item_heightSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->item_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_item_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_item_width",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_item_width" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Select_Browser_item_width" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->item_widthSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->item_width(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_item_quick_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_item_quick_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_item_quick_height" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Select_Browser_item_quick_height" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_quick_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_quick_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->item_quick_heightSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->item_quick_height(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_item_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *arg2 = (void *) 0 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_item_draw",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_item_draw" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Select_Browser_item_draw" "', argument " "2"" of type '" "void *""'"); } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Select_Browser_item_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Select_Browser_item_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Select_Browser_item_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Select_Browser_item_draw" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { ((SwigDirector_Fl_Select_Browser const *)darg)->item_drawSwigPublic(arg2,arg3,arg4,arg5,arg6); } else { ((SwigDirector_Fl_Select_Browser const *)darg)->item_draw(arg2,arg3,arg4,arg5,arg6); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_item_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_item_text",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_item_text" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Select_Browser_item_text" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_text"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_text"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (char *)((SwigDirector_Fl_Select_Browser const *)darg)->item_textSwigPublic(arg2); } else { result = (char *)((SwigDirector_Fl_Select_Browser const *)darg)->item_text(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_FromCharPtr((const char *)result); if (director) { director->swig_release_ownership(SWIG_as_voidptr(result)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_item_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *arg2 = (void *) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_item_swap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_item_swap" "', argument " "1"" of type '" "Fl_Select_Browser *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Select_Browser_item_swap" "', argument " "2"" of type '" "void *""'"); } res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Select_Browser_item_swap" "', argument " "3"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_swap"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_swap"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_swapSwigPublic(arg2,arg3); } else { (darg)->item_swap(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_item_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_item_at",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_item_at" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Select_Browser_item_at" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_at"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_at"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (void *)((SwigDirector_Fl_Select_Browser const *)darg)->item_atSwigPublic(arg2); } else { result = (void *)((SwigDirector_Fl_Select_Browser const *)darg)->item_at(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_full_width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_full_width",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_full_width" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_width"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_width"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->full_widthSwigPublic(); } else { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->full_width(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_full_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_full_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_full_height" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("full_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member full_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->full_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->full_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_incr_height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_incr_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_incr_height" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("incr_height"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member incr_height"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->incr_heightSwigPublic(); } else { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->incr_height(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_item_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *arg2 = (void *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_item_select",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_item_select" "', argument " "1"" of type '" "Fl_Select_Browser *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Select_Browser_item_select" "', argument " "2"" of type '" "void *""'"); } ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Select_Browser_item_select" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_select"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_select"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->item_selectSwigPublic(arg2,arg3); } else { (darg)->item_select(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Select_Browser_item_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Select_Browser *arg1 = (Fl_Select_Browser *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Select_Browser *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Select_Browser_item_selected",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Select_Browser, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Select_Browser_item_selected" "', argument " "1"" of type '" "Fl_Select_Browser const *""'"); } arg1 = reinterpret_cast< Fl_Select_Browser * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Select_Browser_item_selected" "', argument " "2"" of type '" "void *""'"); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("item_selected"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_selected"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->item_selectedSwigPublic(arg2); } else { result = (int)((SwigDirector_Fl_Select_Browser const *)darg)->item_selected(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Select_Browser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Select_Browser, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Shared_Image__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; PyObject * obj0 = 0 ; Fl_Shared_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Shared_Image",1,1,&obj0)) SWIG_fail; arg1 = obj0; if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Shared_Image *)new SwigDirector_Fl_Shared_Image(arg1); } else { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing abstract class or protected constructor"); SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Shared_Image, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Shared_Image__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; char *arg2 = (char *) 0 ; Fl_Image *arg3 = (Fl_Image *) 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Shared_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Shared_Image",2,3,&obj0,&obj1,&obj2)) SWIG_fail; arg1 = obj0; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_Shared_Image" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if (obj2) { res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Fl_Shared_Image" "', argument " "3"" of type '" "Fl_Image *""'"); } arg3 = reinterpret_cast< Fl_Image * >(argp3); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Shared_Image *)new SwigDirector_Fl_Shared_Image(arg1,(char const *)arg2,arg3); } else { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing abstract class or protected constructor"); SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Shared_Image, SWIG_POINTER_NEW | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Shared_Image(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_new_Fl_Shared_Image__SWIG_0(self, args); } if ((argc >= 2) && (argc <= 3)) { return _wrap_new_Fl_Shared_Image__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_Shared_Image'.\n" " Possible C/C++ prototypes are:\n" " Fl_Shared_Image::Fl_Shared_Image()\n" " Fl_Shared_Image::Fl_Shared_Image(PyObject *,char const *,Fl_Image *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Image *arg1 = (Fl_Shared_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_name",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Shared_Image_name" "', argument " "1"" of type '" "Fl_Shared_Image *""'"); } arg1 = reinterpret_cast< Fl_Shared_Image * >(argp1); result = (char *)(arg1)->name(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_refcount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Image *arg1 = (Fl_Shared_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_refcount",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Shared_Image_refcount" "', argument " "1"" of type '" "Fl_Shared_Image *""'"); } arg1 = reinterpret_cast< Fl_Shared_Image * >(argp1); result = (int)(arg1)->refcount(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Image *arg1 = (Fl_Shared_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_release",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Shared_Image_release" "', argument " "1"" of type '" "Fl_Shared_Image *""'"); } arg1 = reinterpret_cast< Fl_Shared_Image * >(argp1); (arg1)->release(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_reload(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Image *arg1 = (Fl_Shared_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_reload",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Shared_Image_reload" "', argument " "1"" of type '" "Fl_Shared_Image *""'"); } arg1 = reinterpret_cast< Fl_Shared_Image * >(argp1); (arg1)->reload(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_copy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Image *arg1 = (Fl_Shared_Image *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_copy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Shared_Image_copy" "', argument " "1"" of type '" "Fl_Shared_Image *""'"); } arg1 = reinterpret_cast< Fl_Shared_Image * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Shared_Image_copy" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Shared_Image_copy" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (Fl_Image *)(arg1)->Fl_Shared_Image::copy(arg2,arg3); } else { result = (Fl_Image *)(arg1)->copy(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, SWIG_POINTER_OWN | 0 ); } if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_copy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Image *arg1 = (Fl_Shared_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_copy",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Shared_Image_copy" "', argument " "1"" of type '" "Fl_Shared_Image *""'"); } arg1 = reinterpret_cast< Fl_Shared_Image * >(argp1); result = (Fl_Image *)(arg1)->copy(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, SWIG_POINTER_OWN | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_copy(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Shared_Image_copy__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Shared_Image_copy__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Shared_Image_copy'.\n" " Possible C/C++ prototypes are:\n" " Fl_Shared_Image::copy(int,int)\n" " Fl_Shared_Image::copy()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_color_average(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Image *arg1 = (Fl_Shared_Image *) 0 ; Fl_Color arg2 ; float arg3 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; float val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_color_average",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Shared_Image_color_average" "', argument " "1"" of type '" "Fl_Shared_Image *""'"); } arg1 = reinterpret_cast< Fl_Shared_Image * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Shared_Image_color_average" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Shared_Image_color_average" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Shared_Image::color_average(arg2,arg3); } else { (arg1)->color_average(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_desaturate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Image *arg1 = (Fl_Shared_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_desaturate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Shared_Image_desaturate" "', argument " "1"" of type '" "Fl_Shared_Image *""'"); } arg1 = reinterpret_cast< Fl_Shared_Image * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Shared_Image::desaturate(); } else { (arg1)->desaturate(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_draw__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Image *arg1 = (Fl_Shared_Image *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; int arg7 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_draw",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Shared_Image_draw" "', argument " "1"" of type '" "Fl_Shared_Image *""'"); } arg1 = reinterpret_cast< Fl_Shared_Image * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Shared_Image_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Shared_Image_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Shared_Image_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Shared_Image_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Shared_Image_draw" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Shared_Image_draw" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Shared_Image::draw(arg2,arg3,arg4,arg5,arg6,arg7); } else { (arg1)->draw(arg2,arg3,arg4,arg5,arg6,arg7); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_draw__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Image *arg1 = (Fl_Shared_Image *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_draw",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Shared_Image_draw" "', argument " "1"" of type '" "Fl_Shared_Image *""'"); } arg1 = reinterpret_cast< Fl_Shared_Image * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Shared_Image_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Shared_Image_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->draw(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_draw(PyObject *self, PyObject *args) { int argc; PyObject *argv[8]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { return _wrap_Fl_Shared_Image_draw__SWIG_1(self, args); } if (argc == 7) { return _wrap_Fl_Shared_Image_draw__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Shared_Image_draw'.\n" " Possible C/C++ prototypes are:\n" " Fl_Shared_Image::draw(int,int,int,int,int,int)\n" " Fl_Shared_Image::draw(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_uncache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Image *arg1 = (Fl_Shared_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_uncache",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Shared_Image_uncache" "', argument " "1"" of type '" "Fl_Shared_Image *""'"); } arg1 = reinterpret_cast< Fl_Shared_Image * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Shared_Image::uncache(); } else { (arg1)->uncache(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; Fl_Shared_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_find",1,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Shared_Image_find" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Shared_Image_find" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Shared_Image_find" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (Fl_Shared_Image *)Fl_Shared_Image::find((char const *)arg1,arg2,arg3); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); } if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; Fl_Shared_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_get",1,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Shared_Image_get" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Shared_Image_get" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Shared_Image_get" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (Fl_Shared_Image *)Fl_Shared_Image::get((char const *)arg1,arg2,arg3); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); } if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_images(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Image **result = 0 ; result = (Fl_Shared_Image **)Fl_Shared_Image::images(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_Fl_Shared_Image, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_num_images(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl_Shared_Image::num_images(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_add_handler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Handler arg1 = (Fl_Shared_Handler) 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_add_handler",1,1,&obj0)) SWIG_fail; { int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_Image); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Shared_Image_add_handler" "', argument " "1"" of type '" "Fl_Shared_Handler""'"); } } Fl_Shared_Image::add_handler(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Shared_Image_remove_handler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Handler arg1 = (Fl_Shared_Handler) 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Shared_Image_remove_handler",1,1,&obj0)) SWIG_fail; { int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char_p_uchar_int__p_Fl_Image); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Shared_Image_remove_handler" "', argument " "1"" of type '" "Fl_Shared_Handler""'"); } } Fl_Shared_Image::remove_handler(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Shared_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Shared_Image *arg1 = (Fl_Shared_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Shared_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Shared_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Shared_Image" "', argument " "1"" of type '" "Fl_Shared_Image *""'"); } arg1 = reinterpret_cast< Fl_Shared_Image * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Shared_Image_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Shared_Image, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_fl_register_images(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; fl_register_images(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Spinner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Spinner *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Spinner",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Spinner" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Spinner" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Spinner" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Spinner" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Spinner" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Spinner *)new SwigDirector_Fl_Spinner(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Spinner *)new Fl_Spinner(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Spinner, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_format__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_format",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_format" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); result = (char *)(arg1)->format(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_format__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_format",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_format" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Spinner_format" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->format((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_format(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Spinner_format__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Spinner_format__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Spinner_format'.\n" " Possible C/C++ prototypes are:\n" " Fl_Spinner::format()\n" " Fl_Spinner::format(char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Spinner_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_handle" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Spinner_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Spinner::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_maxinum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_maxinum",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_maxinum" "', argument " "1"" of type '" "Fl_Spinner const *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); result = (double)((Fl_Spinner const *)arg1)->maxinum(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_mininum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_mininum",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_mininum" "', argument " "1"" of type '" "Fl_Spinner const *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); result = (double)((Fl_Spinner const *)arg1)->mininum(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; double arg2 ; double arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_range",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_range" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Spinner_range" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Spinner_range" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); (arg1)->range(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_resize" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Spinner_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Spinner_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Spinner_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Spinner_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Spinner::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_step__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_step",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_step" "', argument " "1"" of type '" "Fl_Spinner const *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); result = (double)((Fl_Spinner const *)arg1)->step(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_step__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_step",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_step" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Spinner_step" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->step(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_step(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Spinner_step__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Spinner_step__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Spinner_step'.\n" " Possible C/C++ prototypes are:\n" " Fl_Spinner::step() const\n" " Fl_Spinner::step(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Spinner_textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_textcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_textcolor" "', argument " "1"" of type '" "Fl_Spinner const *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); result = (Fl_Color)((Fl_Spinner const *)arg1)->textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_textcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_textcolor" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Spinner_textcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->textcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Spinner_textcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Spinner_textcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Spinner_textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Spinner::textcolor() const\n" " Fl_Spinner::textcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Spinner_textfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_textfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_textfont" "', argument " "1"" of type '" "Fl_Spinner const *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); result = (Fl_Font)((Fl_Spinner const *)arg1)->textfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_textfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_textfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_textfont" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Spinner_textfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->textfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_textfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Spinner_textfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Spinner_textfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Spinner_textfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Spinner::textfont() const\n" " Fl_Spinner::textfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Spinner_textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_textsize" "', argument " "1"" of type '" "Fl_Spinner const *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); result = (Fl_Fontsize)((Fl_Spinner const *)arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_textsize" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Spinner_textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Spinner_textsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Spinner_textsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Spinner_textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Spinner::textsize() const\n" " Fl_Spinner::textsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Spinner_type__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; uchar result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_type",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_type" "', argument " "1"" of type '" "Fl_Spinner const *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); result = (uchar)((Fl_Spinner const *)arg1)->type(); resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_type__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; uchar arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_type",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_type" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Spinner_type" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); (arg1)->type(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_type(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Spinner_type__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Spinner_type__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Spinner_type'.\n" " Possible C/C++ prototypes are:\n" " Fl_Spinner::type() const\n" " Fl_Spinner::type(uchar)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Spinner_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_value" "', argument " "1"" of type '" "Fl_Spinner const *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); result = (double)((Fl_Spinner const *)arg1)->value(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_value" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Spinner_value" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->value(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Spinner_value__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Spinner_value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Spinner_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Spinner::value() const\n" " Fl_Spinner::value(double)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Spinner_minimum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_minimum",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_minimum" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Spinner_minimum" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); Fl_Spinner_min__SWIG_0(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_minimum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_minimum",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_minimum" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); result = (double)Fl_Spinner_min__SWIG_1(arg1); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_minimum(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Spinner_minimum__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Spinner_minimum__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Spinner_minimum'.\n" " Possible C/C++ prototypes are:\n" " Fl_Spinner::min(double)\n" " Fl_Spinner::min()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Spinner_maximum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_maximum",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_maximum" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Spinner_maximum" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); Fl_Spinner_max__SWIG_0(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_maximum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_maximum",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_maximum" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); result = (double)Fl_Spinner_max__SWIG_1(arg1); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_maximum(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Spinner_maximum__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Spinner_maximum__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Spinner_maximum'.\n" " Possible C/C++ prototypes are:\n" " Fl_Spinner::max(double)\n" " Fl_Spinner::max()\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Spinner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Spinner",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Spinner" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Spinner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Spinner",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Spinner" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Spinner_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Spinner *arg1 = (Fl_Spinner *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Spinner *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Spinner_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Spinner, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Spinner_draw" "', argument " "1"" of type '" "Fl_Spinner *""'"); } arg1 = reinterpret_cast< Fl_Spinner * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Spinner_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Spinner, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_fl_show_colormap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"fl_show_colormap",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_show_colormap" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); result = (Fl_Color)fl_show_colormap(arg1); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Simple_Counter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Simple_Counter *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Simple_Counter",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Simple_Counter" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Simple_Counter" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Simple_Counter" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Simple_Counter" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Simple_Counter" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Simple_Counter *)new SwigDirector_Fl_Simple_Counter(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Simple_Counter *)new Fl_Simple_Counter(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Simple_Counter, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Simple_Counter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Simple_Counter *arg1 = (Fl_Simple_Counter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Simple_Counter",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Simple_Counter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Simple_Counter" "', argument " "1"" of type '" "Fl_Simple_Counter *""'"); } arg1 = reinterpret_cast< Fl_Simple_Counter * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Simple_Counter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Simple_Counter *arg1 = (Fl_Simple_Counter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Simple_Counter",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Simple_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Simple_Counter" "', argument " "1"" of type '" "Fl_Simple_Counter *""'"); } arg1 = reinterpret_cast< Fl_Simple_Counter * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Simple_Counter_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Simple_Counter *arg1 = (Fl_Simple_Counter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Simple_Counter *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Simple_Counter_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Simple_Counter, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Simple_Counter_draw" "', argument " "1"" of type '" "Fl_Simple_Counter *""'"); } arg1 = reinterpret_cast< Fl_Simple_Counter * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Simple_Counter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Simple_Counter, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Tabs_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tabs *arg1 = (Fl_Tabs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Tabs *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tabs_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tabs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tabs_draw" "', argument " "1"" of type '" "Fl_Tabs *""'"); } arg1 = reinterpret_cast< Fl_Tabs * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tabs_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tabs *arg1 = (Fl_Tabs *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tabs_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tabs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tabs_handle" "', argument " "1"" of type '" "Fl_Tabs *""'"); } arg1 = reinterpret_cast< Fl_Tabs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tabs_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Tabs::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tabs_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tabs *arg1 = (Fl_Tabs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Widget *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tabs_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tabs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tabs_value" "', argument " "1"" of type '" "Fl_Tabs *""'"); } arg1 = reinterpret_cast< Fl_Tabs * >(argp1); result = (Fl_Widget *)(arg1)->value(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tabs_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tabs *arg1 = (Fl_Tabs *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tabs_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tabs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tabs_value" "', argument " "1"" of type '" "Fl_Tabs *""'"); } arg1 = reinterpret_cast< Fl_Tabs * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tabs_value" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); result = (int)(arg1)->value(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tabs_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tabs_value__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tabs_value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tabs_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tabs::value()\n" " Fl_Tabs::value(Fl_Widget *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tabs_push__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tabs *arg1 = (Fl_Tabs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Widget *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tabs_push",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tabs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tabs_push" "', argument " "1"" of type '" "Fl_Tabs const *""'"); } arg1 = reinterpret_cast< Fl_Tabs * >(argp1); result = (Fl_Widget *)((Fl_Tabs const *)arg1)->push(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tabs_push__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tabs *arg1 = (Fl_Tabs *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tabs_push",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tabs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tabs_push" "', argument " "1"" of type '" "Fl_Tabs *""'"); } arg1 = reinterpret_cast< Fl_Tabs * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tabs_push" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); result = (int)(arg1)->push(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tabs_push(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tabs_push__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tabs_push__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tabs_push'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tabs::push() const\n" " Fl_Tabs::push(Fl_Widget *)\n"); return 0; } SWIGINTERN PyObject *_wrap_new_Fl_Tabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Tabs *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Tabs",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Tabs" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Tabs" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Tabs" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Tabs" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Tabs" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Tabs *)new SwigDirector_Fl_Tabs(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Tabs *)new Fl_Tabs(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tabs, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tabs_which(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tabs *arg1 = (Fl_Tabs *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; Fl_Widget *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tabs_which",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tabs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tabs_which" "', argument " "1"" of type '" "Fl_Tabs *""'"); } arg1 = reinterpret_cast< Fl_Tabs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tabs_which" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tabs_which" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (Fl_Widget *)(arg1)->which(arg2,arg3); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Tabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tabs *arg1 = (Fl_Tabs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Tabs",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tabs, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Tabs" "', argument " "1"" of type '" "Fl_Tabs *""'"); } arg1 = reinterpret_cast< Fl_Tabs * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tabs_client_area(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tabs *arg1 = (Fl_Tabs *) 0 ; int *arg2 = 0 ; int *arg3 = 0 ; int *arg4 = 0 ; int *arg5 = 0 ; int arg6 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int temp2 ; int res2 = SWIG_TMPOBJ ; int temp3 ; int res3 = SWIG_TMPOBJ ; int temp4 ; int res4 = SWIG_TMPOBJ ; int temp5 ; int res5 = SWIG_TMPOBJ ; int val6 ; int ecode6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; arg2 = &temp2; arg3 = &temp3; arg4 = &temp4; arg5 = &temp5; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tabs_client_area",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tabs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tabs_client_area" "', argument " "1"" of type '" "Fl_Tabs *""'"); } arg1 = reinterpret_cast< Fl_Tabs * >(argp1); if (obj1) { ecode6 = SWIG_AsVal_int(obj1, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Tabs_client_area" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } (arg1)->client_area(*arg2,*arg3,*arg4,*arg5,arg6); resultobj = SWIG_Py_Void(); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res4)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4))); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res5)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5))); } else { int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Tabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tabs *arg1 = (Fl_Tabs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Tabs",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tabs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Tabs" "', argument " "1"" of type '" "Fl_Tabs *""'"); } arg1 = reinterpret_cast< Fl_Tabs * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Tabs_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Tabs, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Text_Selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Selection *arg1 = (Fl_Text_Selection *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Selection_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Selection, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Selection_set" "', argument " "1"" of type '" "Fl_Text_Selection *""'"); } arg1 = reinterpret_cast< Fl_Text_Selection * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Selection_set" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Selection_set" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->set(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Selection_update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Selection *arg1 = (Fl_Text_Selection *) 0 ; int arg2 ; int arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Selection_update",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Selection, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Selection_update" "', argument " "1"" of type '" "Fl_Text_Selection *""'"); } arg1 = reinterpret_cast< Fl_Text_Selection * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Selection_update" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Selection_update" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Text_Selection_update" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); (arg1)->update(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Selection_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Selection *arg1 = (Fl_Text_Selection *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Selection_start",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Selection, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Selection_start" "', argument " "1"" of type '" "Fl_Text_Selection const *""'"); } arg1 = reinterpret_cast< Fl_Text_Selection * >(argp1); result = (int)((Fl_Text_Selection const *)arg1)->start(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Selection_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Selection *arg1 = (Fl_Text_Selection *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Selection_end",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Selection, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Selection_end" "', argument " "1"" of type '" "Fl_Text_Selection const *""'"); } arg1 = reinterpret_cast< Fl_Text_Selection * >(argp1); result = (int)((Fl_Text_Selection const *)arg1)->end(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Selection_selected__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Selection *arg1 = (Fl_Text_Selection *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; bool result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Selection_selected",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Selection, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Selection_selected" "', argument " "1"" of type '" "Fl_Text_Selection const *""'"); } arg1 = reinterpret_cast< Fl_Text_Selection * >(argp1); result = (bool)((Fl_Text_Selection const *)arg1)->selected(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Selection_selected__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Selection *arg1 = (Fl_Text_Selection *) 0 ; bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; bool val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Selection_selected",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Selection, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Selection_selected" "', argument " "1"" of type '" "Fl_Text_Selection *""'"); } arg1 = reinterpret_cast< Fl_Text_Selection * >(argp1); ecode2 = SWIG_AsVal_bool(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Selection_selected" "', argument " "2"" of type '" "bool""'"); } arg2 = static_cast< bool >(val2); (arg1)->selected(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Selection_selected(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Selection_selected__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Text_Selection_selected__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Selection_selected'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Selection::selected() const\n" " Fl_Text_Selection::selected(bool)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Selection_includes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Selection *arg1 = (Fl_Text_Selection *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Selection_includes",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Selection, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Selection_includes" "', argument " "1"" of type '" "Fl_Text_Selection const *""'"); } arg1 = reinterpret_cast< Fl_Text_Selection * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Selection_includes" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Selection const *)arg1)->includes(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Selection_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Selection *arg1 = (Fl_Text_Selection *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Selection_position",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Selection, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Selection_position" "', argument " "1"" of type '" "Fl_Text_Selection const *""'"); } arg1 = reinterpret_cast< Fl_Text_Selection * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Selection_position" "', argument " "2"" of type '" "int *""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Text_Selection_position" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); result = (int)((Fl_Text_Selection const *)arg1)->position(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Text_Selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Selection *result = 0 ; result = (Fl_Text_Selection *)new Fl_Text_Selection(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Text_Selection, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Text_Selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Selection *arg1 = (Fl_Text_Selection *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Text_Selection",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Selection, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Text_Selection" "', argument " "1"" of type '" "Fl_Text_Selection *""'"); } arg1 = reinterpret_cast< Fl_Text_Selection * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Text_Selection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Text_Selection, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Text_Buffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 = (int) 0 ; int arg2 = (int) 1024 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Text_Buffer *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Text_Buffer",0,2,&obj0,&obj1)) SWIG_fail; if (obj0) { ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Fl_Text_Buffer" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); } if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Text_Buffer" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } result = (Fl_Text_Buffer *)new Fl_Text_Buffer(arg1,arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Text_Buffer, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Text_Buffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Text_Buffer",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Text_Buffer" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_length",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_length" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); result = (int)((Fl_Text_Buffer const *)arg1)->length(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_text__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_text",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_text" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); result = (char *)((Fl_Text_Buffer const *)arg1)->text(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_text__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_text",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_text" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_text" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->text((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_text(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Buffer_text__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Text_Buffer_text__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Buffer_text'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Buffer::text() const\n" " Fl_Text_Buffer::text(char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_text_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_text_range",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_text_range" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_text_range" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_text_range" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (char *)((Fl_Text_Buffer const *)arg1)->text_range(arg2,arg3); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_char_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_char_at",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_char_at" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_char_at" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (unsigned int)((Fl_Text_Buffer const *)arg1)->char_at(arg2); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_byte_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_byte_at",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_byte_at" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_byte_at" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (char)((Fl_Text_Buffer const *)arg1)->byte_at(arg2); resultobj = SWIG_NewPointerObj((new char(static_cast< const char& >(result))), SWIGTYPE_p_char, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_address__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_address",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_address" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_address" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (char *)((Fl_Text_Buffer const *)arg1)->address(arg2); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_address__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_address",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_address" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_address" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (char *)(arg1)->address(arg2); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_address(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Text_Buffer_address__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Text_Buffer_address__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Buffer_address'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Buffer::address(int) const\n" " Fl_Text_Buffer::address(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_insert" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_insert" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Text_Buffer_insert" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); (arg1)->insert(arg2,(char const *)arg3); resultobj = SWIG_Py_Void(); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_append",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_append" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_append" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->append((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_remove",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_remove" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_remove" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_remove" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->remove(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; int arg3 ; char *arg4 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_replace",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_replace" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_replace" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_replace" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Text_Buffer_replace" "', argument " "4"" of type '" "char const *""'"); } arg4 = reinterpret_cast< char * >(buf4); (arg1)->replace(arg2,arg3,(char const *)arg4); resultobj = SWIG_Py_Void(); if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; Fl_Text_Buffer *arg2 = (Fl_Text_Buffer *) 0 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_copy",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_copy" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_copy" "', argument " "2"" of type '" "Fl_Text_Buffer *""'"); } arg2 = reinterpret_cast< Fl_Text_Buffer * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_copy" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Text_Buffer_copy" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Text_Buffer_copy" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); (arg1)->copy(arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int *arg2 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_undo",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_undo" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); if (obj1) { res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_undo" "', argument " "2"" of type '" "int *""'"); } arg2 = reinterpret_cast< int * >(argp2); } result = (int)(arg1)->undo(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_canUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; char arg2 = (char) 1 ; void *argp1 = 0 ; int res1 = 0 ; char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_canUndo",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_canUndo" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); if (obj1) { ecode2 = SWIG_AsVal_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_canUndo" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); } (arg1)->canUndo(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_insertfile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; int arg4 = (int) 128*1024 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_insertfile",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_insertfile" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_insertfile" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_insertfile" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); if (obj3) { ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Text_Buffer_insertfile" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); } result = (int)(arg1)->insertfile((char const *)arg2,arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_appendfile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; char *arg2 = (char *) 0 ; int arg3 = (int) 128*1024 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_appendfile",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_appendfile" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_appendfile" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_appendfile" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->appendfile((char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_loadfile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; char *arg2 = (char *) 0 ; int arg3 = (int) 128*1024 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_loadfile",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_loadfile" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_loadfile" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_loadfile" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->loadfile((char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_outputfile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; int arg4 ; int arg5 = (int) 128*1024 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_outputfile",4,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_outputfile" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_outputfile" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_outputfile" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Text_Buffer_outputfile" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); if (obj4) { ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Text_Buffer_outputfile" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); } result = (int)(arg1)->outputfile((char const *)arg2,arg3,arg4,arg5); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_savefile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; char *arg2 = (char *) 0 ; int arg3 = (int) 128*1024 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_savefile",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_savefile" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_savefile" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_savefile" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->savefile((char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_tab_distance__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_tab_distance",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_tab_distance" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); result = (int)((Fl_Text_Buffer const *)arg1)->tab_distance(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_tab_distance__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_tab_distance",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_tab_distance" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_tab_distance" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->tab_distance(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_tab_distance(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Buffer_tab_distance__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Text_Buffer_tab_distance__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Buffer_tab_distance'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Buffer::tab_distance() const\n" " Fl_Text_Buffer::tab_distance(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_select",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_select" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_select" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_select" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->select(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_selected",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_selected" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); result = (int)((Fl_Text_Buffer const *)arg1)->selected(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_unselect",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_unselect" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); (arg1)->unselect(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_selection_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_selection_position",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_selection_position" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_selection_position" "', argument " "2"" of type '" "int *""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Text_Buffer_selection_position" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); result = (int)(arg1)->selection_position(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_selection_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_selection_text",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_selection_text" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); result = (char *)(arg1)->selection_text(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_remove_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_remove_selection",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_remove_selection" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); (arg1)->remove_selection(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_replace_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_replace_selection",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_replace_selection" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_replace_selection" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->replace_selection((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_secondary_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_secondary_select",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_secondary_select" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_secondary_select" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_secondary_select" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->secondary_select(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_secondary_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_secondary_selected",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_secondary_selected" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); result = (int)(arg1)->secondary_selected(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_secondary_unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_secondary_unselect",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_secondary_unselect" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); (arg1)->secondary_unselect(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_secondary_selection_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_secondary_selection_position",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_secondary_selection_position" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_secondary_selection_position" "', argument " "2"" of type '" "int *""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Text_Buffer_secondary_selection_position" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); result = (int)(arg1)->secondary_selection_position(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_secondary_selection_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_secondary_selection_text",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_secondary_selection_text" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); result = (char *)(arg1)->secondary_selection_text(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_remove_secondary_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_remove_secondary_selection",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_remove_secondary_selection" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); (arg1)->remove_secondary_selection(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_replace_secondary_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_replace_secondary_selection",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_replace_secondary_selection" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_replace_secondary_selection" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->replace_secondary_selection((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_highlight__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_highlight",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_highlight" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_highlight" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_highlight" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->highlight(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_highlight__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_highlight",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_highlight" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); result = (int)(arg1)->highlight(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_highlight(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Buffer_highlight__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Text_Buffer_highlight__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Buffer_highlight'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Buffer::highlight(int,int)\n" " Fl_Text_Buffer::highlight()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_unhighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_unhighlight",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_unhighlight" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); (arg1)->unhighlight(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_highlight_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_highlight_position",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_highlight_position" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Buffer_highlight_position" "', argument " "2"" of type '" "int *""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Text_Buffer_highlight_position" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); result = (int)(arg1)->highlight_position(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_highlight_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_highlight_text",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_highlight_text" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); result = (char *)(arg1)->highlight_text(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_add_modify_callback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; Fl_Text_Modify_Cb arg2 = (Fl_Text_Modify_Cb) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_add_modify_callback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_add_modify_callback" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_int_int_int_p_q_const__char_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Text_Buffer_add_modify_callback" "', argument " "2"" of type '" "Fl_Text_Modify_Cb""'"); } } res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Text_Buffer_add_modify_callback" "', argument " "3"" of type '" "void *""'"); } (arg1)->add_modify_callback(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_remove_modify_callback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; Fl_Text_Modify_Cb arg2 = (Fl_Text_Modify_Cb) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_remove_modify_callback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_remove_modify_callback" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_int_int_int_p_q_const__char_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Text_Buffer_remove_modify_callback" "', argument " "2"" of type '" "Fl_Text_Modify_Cb""'"); } } res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Text_Buffer_remove_modify_callback" "', argument " "3"" of type '" "void *""'"); } (arg1)->remove_modify_callback(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_call_modify_callbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_call_modify_callbacks",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_call_modify_callbacks" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); (arg1)->call_modify_callbacks(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_add_predelete_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; Fl_Text_Predelete_Cb arg2 = (Fl_Text_Predelete_Cb) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_add_predelete_callback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_add_predelete_callback" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_int_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Text_Buffer_add_predelete_callback" "', argument " "2"" of type '" "Fl_Text_Predelete_Cb""'"); } } res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Text_Buffer_add_predelete_callback" "', argument " "3"" of type '" "void *""'"); } (arg1)->add_predelete_callback(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_remove_predelete_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; Fl_Text_Predelete_Cb arg2 = (Fl_Text_Predelete_Cb) 0 ; void *arg3 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_remove_predelete_callback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_remove_predelete_callback" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_int_p_void__void); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Text_Buffer_remove_predelete_callback" "', argument " "2"" of type '" "Fl_Text_Predelete_Cb""'"); } } res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Text_Buffer_remove_predelete_callback" "', argument " "3"" of type '" "void *""'"); } (arg1)->remove_predelete_callback(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_call_predelete_callbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_call_predelete_callbacks",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_call_predelete_callbacks" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); (arg1)->call_predelete_callbacks(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_line_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_line_text",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_line_text" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_line_text" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (char *)((Fl_Text_Buffer const *)arg1)->line_text(arg2); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_line_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_line_start",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_line_start" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_line_start" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Buffer const *)arg1)->line_start(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_line_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_line_end",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_line_end" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_line_end" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Buffer const *)arg1)->line_end(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_word_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_word_start",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_word_start" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_word_start" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Buffer const *)arg1)->word_start(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_word_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_word_end",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_word_end" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_word_end" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Buffer const *)arg1)->word_end(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_count_displayed_characters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_count_displayed_characters",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_count_displayed_characters" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_count_displayed_characters" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_count_displayed_characters" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)((Fl_Text_Buffer const *)arg1)->count_displayed_characters(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_skip_displayed_characters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_skip_displayed_characters",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_skip_displayed_characters" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_skip_displayed_characters" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_skip_displayed_characters" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)(arg1)->skip_displayed_characters(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_count_lines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_count_lines",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_count_lines" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_count_lines" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_count_lines" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)((Fl_Text_Buffer const *)arg1)->count_lines(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_skip_lines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_skip_lines",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_skip_lines" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_skip_lines" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_skip_lines" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)(arg1)->skip_lines(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_rewind_lines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_rewind_lines",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_rewind_lines" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_rewind_lines" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_rewind_lines" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)(arg1)->rewind_lines(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_findchar_forward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; unsigned int arg3 ; int *arg4 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; int temp4 ; int res4 = SWIG_TMPOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; arg4 = &temp4; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_findchar_forward",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_findchar_forward" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_findchar_forward" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_findchar_forward" "', argument " "3"" of type '" "unsigned int""'"); } arg3 = static_cast< unsigned int >(val3); result = (int)((Fl_Text_Buffer const *)arg1)->findchar_forward(arg2,arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); if (SWIG_IsTmpObj(res4)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4))); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_findchar_backward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; unsigned int arg3 ; int *arg4 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; int temp4 ; int res4 = SWIG_TMPOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; arg4 = &temp4; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_findchar_backward",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_findchar_backward" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_findchar_backward" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Buffer_findchar_backward" "', argument " "3"" of type '" "unsigned int""'"); } arg3 = static_cast< unsigned int >(val3); result = (int)((Fl_Text_Buffer const *)arg1)->findchar_backward(arg2,arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); if (SWIG_IsTmpObj(res4)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4))); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_search_forward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; int *arg4 = (int *) 0 ; int arg5 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int temp4 ; int res4 = SWIG_TMPOBJ ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; arg4 = &temp4; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_search_forward",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_search_forward" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_search_forward" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Text_Buffer_search_forward" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); if (obj3) { ecode5 = SWIG_AsVal_int(obj3, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Text_Buffer_search_forward" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); } result = (int)((Fl_Text_Buffer const *)arg1)->search_forward(arg2,(char const *)arg3,arg4,arg5); resultobj = SWIG_From_int(static_cast< int >(result)); if (SWIG_IsTmpObj(res4)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4))); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags)); } if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_search_backward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; int *arg4 = (int *) 0 ; int arg5 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int temp4 ; int res4 = SWIG_TMPOBJ ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; arg4 = &temp4; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_search_backward",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_search_backward" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_search_backward" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Text_Buffer_search_backward" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); if (obj3) { ecode5 = SWIG_AsVal_int(obj3, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Text_Buffer_search_backward" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); } result = (int)((Fl_Text_Buffer const *)arg1)->search_backward(arg2,(char const *)arg3,arg4,arg5); resultobj = SWIG_From_int(static_cast< int >(result)); if (SWIG_IsTmpObj(res4)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4))); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags)); } if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_primary_selection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Text_Selection *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_primary_selection",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_primary_selection" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); result = (Fl_Text_Selection *)((Fl_Text_Buffer const *)arg1)->primary_selection(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Text_Selection, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_primary_selection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Text_Selection *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_primary_selection",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_primary_selection" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); result = (Fl_Text_Selection *)(arg1)->primary_selection(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Text_Selection, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_primary_selection(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Buffer_primary_selection__SWIG_1(self, args); } if (argc == 1) { return _wrap_Fl_Text_Buffer_primary_selection__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Buffer_primary_selection'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Buffer::primary_selection() const\n" " Fl_Text_Buffer::primary_selection()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_secondary_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Text_Selection *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_secondary_selection",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_secondary_selection" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); result = (Fl_Text_Selection *)((Fl_Text_Buffer const *)arg1)->secondary_selection(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Text_Selection, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_highlight_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Text_Selection *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_highlight_selection",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_highlight_selection" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); result = (Fl_Text_Selection *)((Fl_Text_Buffer const *)arg1)->highlight_selection(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Text_Selection, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_prev_char(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_prev_char",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_prev_char" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_prev_char" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Buffer const *)arg1)->prev_char(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_prev_char_clipped(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_prev_char_clipped",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_prev_char_clipped" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_prev_char_clipped" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Buffer const *)arg1)->prev_char_clipped(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_next_char(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_next_char",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_next_char" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_next_char" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Buffer const *)arg1)->next_char(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_next_char_clipped(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_next_char_clipped",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_next_char_clipped" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_next_char_clipped" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Buffer const *)arg1)->next_char_clipped(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_utf8_align(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_utf8_align",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_utf8_align" "', argument " "1"" of type '" "Fl_Text_Buffer const *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Buffer_utf8_align" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Buffer const *)arg1)->utf8_align(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_add_modify_callback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_add_modify_callback",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_add_modify_callback" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); { if (!PyCallable_Check(obj1)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); return NULL; } arg2 = obj1; } if (obj2) { arg3 = obj2; } Fl_Text_Buffer_add_modify_callback__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_add_modify_callback(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 2) && (argc <= 3)) { int _v = 0; { _v = (argv[1] != 0); } if (!_v) goto check_1; if (argc > 2) { { _v = (argv[2] != 0); } if (!_v) goto check_1; } return _wrap_Fl_Text_Buffer_add_modify_callback__SWIG_1(self, args); } check_1: if (argc == 3) { return _wrap_Fl_Text_Buffer_add_modify_callback__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Buffer_add_modify_callback'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Buffer::add_modify_callback(Fl_Text_Modify_Cb,void *)\n" " Fl_Text_Buffer::add_modify_callback(PyObject *,PyObject *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_remove_modify_callback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Buffer *arg1 = (Fl_Text_Buffer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; PyObject *arg4 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Buffer_remove_modify_callback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Buffer_remove_modify_callback" "', argument " "1"" of type '" "Fl_Text_Buffer *""'"); } arg1 = reinterpret_cast< Fl_Text_Buffer * >(argp1); { if (!PyCallable_Check(obj1)) { PyErr_SetString(PyExc_TypeError, "Need a callable object!"); return NULL; } arg2 = obj1; } arg3 = obj2; arg4 = obj3; Fl_Text_Buffer_remove_modify_callback__SWIG_1(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Buffer_remove_modify_callback(PyObject *self, PyObject *args) { int argc; PyObject *argv[5]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { return _wrap_Fl_Text_Buffer_remove_modify_callback__SWIG_0(self, args); } if (argc == 4) { return _wrap_Fl_Text_Buffer_remove_modify_callback__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Buffer_remove_modify_callback'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Buffer::remove_modify_callback(Fl_Text_Modify_Cb,void *)\n" " Fl_Text_Buffer::remove_modify_callback(PyObject *,PyObject *,PyObject *)\n"); return 0; } SWIGINTERN PyObject *Fl_Text_Buffer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Text_Buffer, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Style_Table_Entry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Style_Table_Entry *result = 0 ; result = (Style_Table_Entry *)new Style_Table_Entry(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Style_Table_Entry, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Style_Table_Entry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Style_Table_Entry *arg1 = (Style_Table_Entry *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Style_Table_Entry",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Style_Table_Entry, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Style_Table_Entry" "', argument " "1"" of type '" "Style_Table_Entry *""'"); } arg1 = reinterpret_cast< Style_Table_Entry * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Style_Table_Entry_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Style_Table_Entry, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Text_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Text_Display *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Text_Display",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Text_Display" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Text_Display" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Text_Display" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Text_Display" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Text_Display" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Text_Display *)new SwigDirector_Fl_Text_Display(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Text_Display *)new Fl_Text_Display(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Text_Display, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Text_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Text_Display",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Text_Display" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_handle" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Text_Display::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_buffer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; Fl_Text_Buffer *arg2 = (Fl_Text_Buffer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_buffer",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_buffer" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Display_buffer" "', argument " "2"" of type '" "Fl_Text_Buffer *""'"); } arg2 = reinterpret_cast< Fl_Text_Buffer * >(argp2); (arg1)->buffer(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_buffer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Text_Buffer *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_buffer",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_buffer" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); result = (Fl_Text_Buffer *)((Fl_Text_Display const *)arg1)->buffer(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_buffer(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Display_buffer__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Text_Display_buffer__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Display_buffer'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Display::buffer(Fl_Text_Buffer *)\n" " Fl_Text_Display::buffer() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_redisplay_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_redisplay_range",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_redisplay_range" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_redisplay_range" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Display_redisplay_range" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->redisplay_range(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_scroll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_scroll" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_scroll" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Display_scroll" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->scroll(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_insert",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_insert" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Display_insert" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->insert((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_overstrike(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_overstrike",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_overstrike" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Display_overstrike" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->overstrike((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_insert_position__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_insert_position",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_insert_position" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_insert_position" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->insert_position(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_insert_position__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_insert_position",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_insert_position" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); result = (int)((Fl_Text_Display const *)arg1)->insert_position(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_insert_position(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Display_insert_position__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Text_Display_insert_position__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Display_insert_position'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Display::insert_position(int)\n" " Fl_Text_Display::insert_position() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_position_to_xy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; int *arg3 = (int *) 0 ; int *arg4 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_position_to_xy",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_position_to_xy" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_position_to_xy" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Text_Display_position_to_xy" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Text_Display_position_to_xy" "', argument " "4"" of type '" "int *""'"); } arg4 = reinterpret_cast< int * >(argp4); result = (int)((Fl_Text_Display const *)arg1)->position_to_xy(arg2,arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_in_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_in_selection",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_in_selection" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_in_selection" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Display_in_selection" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)((Fl_Text_Display const *)arg1)->in_selection(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_show_insert_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_show_insert_position",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_show_insert_position" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); (arg1)->show_insert_position(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_move_right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_move_right",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_move_right" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); result = (int)(arg1)->move_right(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_move_left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_move_left",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_move_left" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); result = (int)(arg1)->move_left(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_move_up(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_move_up",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_move_up" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); result = (int)(arg1)->move_up(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_move_down(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_move_down",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_move_down" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); result = (int)(arg1)->move_down(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_count_lines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; int arg3 ; bool arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; bool val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_count_lines",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_count_lines" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_count_lines" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Display_count_lines" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_bool(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Text_Display_count_lines" "', argument " "4"" of type '" "bool""'"); } arg4 = static_cast< bool >(val4); result = (int)((Fl_Text_Display const *)arg1)->count_lines(arg2,arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_line_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_line_start",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_line_start" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_line_start" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Display const *)arg1)->line_start(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_line_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_line_end",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_line_end" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_line_end" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_bool(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Display_line_end" "', argument " "3"" of type '" "bool""'"); } arg3 = static_cast< bool >(val3); result = (int)((Fl_Text_Display const *)arg1)->line_end(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_skip_lines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; int arg3 ; bool arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; bool val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_skip_lines",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_skip_lines" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_skip_lines" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Display_skip_lines" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_bool(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Text_Display_skip_lines" "', argument " "4"" of type '" "bool""'"); } arg4 = static_cast< bool >(val4); result = (int)(arg1)->skip_lines(arg2,arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_rewind_lines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_rewind_lines",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_rewind_lines" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_rewind_lines" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Display_rewind_lines" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)(arg1)->rewind_lines(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_next_word(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_next_word",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_next_word" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); (arg1)->next_word(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_previous_word(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_previous_word",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_previous_word" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); (arg1)->previous_word(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_show_cursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_show_cursor",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_show_cursor" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_show_cursor" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } (arg1)->show_cursor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_hide_cursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_hide_cursor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_hide_cursor" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); (arg1)->hide_cursor(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_cursor_style(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_cursor_style",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_cursor_style" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_cursor_style" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->cursor_style(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_cursor_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_cursor_color",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_cursor_color" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); result = (Fl_Color)((Fl_Text_Display const *)arg1)->cursor_color(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_cursor_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_cursor_color",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_cursor_color" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_cursor_color" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->cursor_color(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_cursor_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Display_cursor_color__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Text_Display_cursor_color__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Display_cursor_color'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Display::cursor_color() const\n" " Fl_Text_Display::cursor_color(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_scrollbar_width__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_scrollbar_width",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_scrollbar_width" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); result = (int)((Fl_Text_Display const *)arg1)->scrollbar_width(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_scrollbar_width__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_scrollbar_width",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_scrollbar_width" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_scrollbar_width" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->scrollbar_width(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_scrollbar_width(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Display_scrollbar_width__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Text_Display_scrollbar_width__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Display_scrollbar_width'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Display::scrollbar_width() const\n" " Fl_Text_Display::scrollbar_width(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_scrollbar_align__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Align result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_scrollbar_align",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_scrollbar_align" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); result = (Fl_Align)((Fl_Text_Display const *)arg1)->scrollbar_align(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_scrollbar_align__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; Fl_Align arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_scrollbar_align",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_scrollbar_align" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_scrollbar_align" "', argument " "2"" of type '" "Fl_Align""'"); } arg2 = static_cast< Fl_Align >(val2); (arg1)->scrollbar_align(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_scrollbar_align(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Display_scrollbar_align__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Text_Display_scrollbar_align__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Display_scrollbar_align'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Display::scrollbar_align() const\n" " Fl_Text_Display::scrollbar_align(Fl_Align)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_word_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_word_start",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_word_start" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_word_start" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Display const *)arg1)->word_start(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_word_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_word_end",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_word_end" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_word_end" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Display const *)arg1)->word_end(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_position_style(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; int arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_position_style",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_position_style" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_position_style" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Display_position_style" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Text_Display_position_style" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); result = (int)((Fl_Text_Display const *)arg1)->position_style(arg2,arg3,arg4); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_shortcut__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_shortcut",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_shortcut" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); result = (int)((Fl_Text_Display const *)arg1)->shortcut(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_shortcut__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_shortcut",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_shortcut" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_shortcut" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->shortcut(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_shortcut(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Display_shortcut__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Text_Display_shortcut__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Display_shortcut'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Display::shortcut() const\n" " Fl_Text_Display::shortcut(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_textfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_textfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_textfont" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); result = (Fl_Font)((Fl_Text_Display const *)arg1)->textfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_textfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_textfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_textfont" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_textfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->textfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_textfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Display_textfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Text_Display_textfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Display_textfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Display::textfont() const\n" " Fl_Text_Display::textfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_textsize" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); result = (Fl_Fontsize)((Fl_Text_Display const *)arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_textsize" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Display_textsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Text_Display_textsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Display_textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Display::textsize() const\n" " Fl_Text_Display::textsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_textcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_textcolor" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); result = (Fl_Color)((Fl_Text_Display const *)arg1)->textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_textcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_textcolor" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_textcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->textcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Display_textcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Text_Display_textcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Display_textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Display::textcolor() const\n" " Fl_Text_Display::textcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_wrapped_column(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_wrapped_column",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_wrapped_column" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_wrapped_column" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Display_wrapped_column" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)((Fl_Text_Display const *)arg1)->wrapped_column(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_wrapped_row(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_wrapped_row",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_wrapped_row" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_wrapped_row" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)((Fl_Text_Display const *)arg1)->wrapped_row(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_wrap_mode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_wrap_mode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_wrap_mode" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_wrap_mode" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Display_wrap_mode" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->wrap_mode(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_resize" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Display_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Text_Display_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Text_Display_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Text_Display::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_x_to_col(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_x_to_col",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_x_to_col" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_x_to_col" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); result = (double)((Fl_Text_Display const *)arg1)->x_to_col(arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_col_to_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_col_to_x",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_col_to_x" "', argument " "1"" of type '" "Fl_Text_Display const *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Display_col_to_x" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); result = (double)((Fl_Text_Display const *)arg1)->col_to_x(arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Text_Display *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_draw" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Display_highlight_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; Fl_Text_Buffer *arg2 = (Fl_Text_Buffer *) 0 ; Fl_Text_Display::Style_Table_Entry *arg3 = (Fl_Text_Display::Style_Table_Entry *) 0 ; int arg4 ; char arg5 ; PyObject *arg6 = (PyObject *) 0 ; PyObject *arg7 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val4 ; int ecode4 = 0 ; char val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Display_highlight_data",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Display_highlight_data" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Buffer, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Display_highlight_data" "', argument " "2"" of type '" "Fl_Text_Buffer *""'"); } arg2 = reinterpret_cast< Fl_Text_Buffer * >(argp2); { // Check if it is a list if (PyList_Check(obj2)) { int size = PyList_Size(obj2); int i = 0; arg3 = (Style_Table_Entry*) malloc((size)*sizeof(Style_Table_Entry)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj2,i); if (PyList_Check(o)) { int item_size = PyList_Size(o); arg3[i].color = (Fl_Color)PyInt_AsLong(PyList_GetItem(o,0)); arg3[i].font = (Fl_Font)PyInt_AsLong(PyList_GetItem(o,1)); arg3[i].size = PyInt_AsLong(PyList_GetItem(o,2)); if (item_size > 3) arg3[i].attr = PyInt_AsLong(PyList_GetItem(o,3)); } } } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Text_Display_highlight_data" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_char(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Text_Display_highlight_data" "', argument " "5"" of type '" "char""'"); } arg5 = static_cast< char >(val5); arg6 = obj5; arg7 = obj6; Fl_Text_Display_highlight_data_new(arg1,arg2,(Fl_Text_Display::Style_Table_Entry const *)arg3,arg4,arg5,arg6,arg7); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Text_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Display *arg1 = (Fl_Text_Display *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Text_Display",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Display, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Text_Display" "', argument " "1"" of type '" "Fl_Text_Display *""'"); } arg1 = reinterpret_cast< Fl_Text_Display * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Text_Display_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Text_Display, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Text_Editor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Text_Editor *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Text_Editor",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Text_Editor" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Text_Editor" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Text_Editor" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Text_Editor" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Text_Editor" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Text_Editor *)new SwigDirector_Fl_Text_Editor(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Text_Editor *)new Fl_Text_Editor(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Text_Editor, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Text_Editor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Editor *arg1 = (Fl_Text_Editor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Text_Editor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Editor, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Text_Editor" "', argument " "1"" of type '" "Fl_Text_Editor *""'"); } arg1 = reinterpret_cast< Fl_Text_Editor * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Editor *arg1 = (Fl_Text_Editor *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Editor_handle" "', argument " "1"" of type '" "Fl_Text_Editor *""'"); } arg1 = reinterpret_cast< Fl_Text_Editor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Editor_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Text_Editor::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_insert_mode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Editor *arg1 = (Fl_Text_Editor *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_insert_mode",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Editor_insert_mode" "', argument " "1"" of type '" "Fl_Text_Editor *""'"); } arg1 = reinterpret_cast< Fl_Text_Editor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Editor_insert_mode" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->insert_mode(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_insert_mode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Editor *arg1 = (Fl_Text_Editor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_insert_mode",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Editor_insert_mode" "', argument " "1"" of type '" "Fl_Text_Editor *""'"); } arg1 = reinterpret_cast< Fl_Text_Editor * >(argp1); result = (int)(arg1)->insert_mode(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_insert_mode(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Text_Editor_insert_mode__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Text_Editor_insert_mode__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Text_Editor_insert_mode'.\n" " Possible C/C++ prototypes are:\n" " Fl_Text_Editor::insert_mode(int)\n" " Fl_Text_Editor::insert_mode()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_add_key_binding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Editor *arg1 = (Fl_Text_Editor *) 0 ; int arg2 ; int arg3 ; Fl_Text_Editor::Key_Func arg4 = (Fl_Text_Editor::Key_Func) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_add_key_binding",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Editor_add_key_binding" "', argument " "1"" of type '" "Fl_Text_Editor *""'"); } arg1 = reinterpret_cast< Fl_Text_Editor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Editor_add_key_binding" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Editor_add_key_binding" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); { int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_int_p_Fl_Text_Editor__int); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Text_Editor_add_key_binding" "', argument " "4"" of type '" "Fl_Text_Editor::Key_Func""'"); } } (arg1)->add_key_binding(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_remove_key_binding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Editor *arg1 = (Fl_Text_Editor *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_remove_key_binding",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Editor_remove_key_binding" "', argument " "1"" of type '" "Fl_Text_Editor *""'"); } arg1 = reinterpret_cast< Fl_Text_Editor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Editor_remove_key_binding" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Editor_remove_key_binding" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->remove_key_binding(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_remove_all_key_bindings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Editor *arg1 = (Fl_Text_Editor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_remove_all_key_bindings",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Editor_remove_all_key_bindings" "', argument " "1"" of type '" "Fl_Text_Editor *""'"); } arg1 = reinterpret_cast< Fl_Text_Editor * >(argp1); (arg1)->remove_all_key_bindings(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_bound_key_function(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Editor *arg1 = (Fl_Text_Editor *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Text_Editor::Key_Func result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_bound_key_function",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Editor_bound_key_function" "', argument " "1"" of type '" "Fl_Text_Editor *""'"); } arg1 = reinterpret_cast< Fl_Text_Editor * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Text_Editor_bound_key_function" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Text_Editor_bound_key_function" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (Fl_Text_Editor::Key_Func)(arg1)->bound_key_function(arg2,arg3); resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_p_Fl_Text_Editor__int); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_default_key_function(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Editor *arg1 = (Fl_Text_Editor *) 0 ; Fl_Text_Editor::Key_Func arg2 = (Fl_Text_Editor::Key_Func) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_default_key_function",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Editor_default_key_function" "', argument " "1"" of type '" "Fl_Text_Editor *""'"); } arg1 = reinterpret_cast< Fl_Text_Editor * >(argp1); { int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_Fl_Text_Editor__int); if (!SWIG_IsOK(res)) { SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Fl_Text_Editor_default_key_function" "', argument " "2"" of type '" "Fl_Text_Editor::Key_Func""'"); } } (arg1)->default_key_function(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_default(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_default",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_default" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_default" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_default(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_ignore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_ignore",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_ignore" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_ignore" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_ignore(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_backspace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_backspace",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_backspace" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_backspace" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_backspace(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_enter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_enter",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_enter" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_enter" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_enter(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_move(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_move",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_move" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_move" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_move(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_shift_move(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_shift_move",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_shift_move" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_shift_move" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_shift_move(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_ctrl_move(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_ctrl_move",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_ctrl_move" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_ctrl_move" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_ctrl_move(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_c_s_move(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_c_s_move",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_c_s_move" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_c_s_move" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_c_s_move(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_meta_move(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_meta_move",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_meta_move" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_meta_move" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_meta_move(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_m_s_move(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_m_s_move",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_m_s_move" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_m_s_move" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_m_s_move(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_home(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_home",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_home" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_home" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_home(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_end",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_end" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_end" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_end(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_left",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_left" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_left" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_left(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_up(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_up",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_up" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_up" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_up(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_right",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_right" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_right" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_right(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_down(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_down",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_down" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_down" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_down(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_page_up(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_page_up",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_page_up" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_page_up" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_page_up(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_page_down(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_page_down",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_page_down" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_page_down" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_page_down(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_insert",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_insert" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_insert" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_insert(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_delete",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_delete" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_delete" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_delete(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_copy",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_copy" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_copy" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_copy(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_cut",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_cut" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_cut" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_cut(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_paste",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_paste" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_paste" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_paste(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_select_all(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_select_all",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_select_all" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_select_all" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_select_all(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_kf_undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; Fl_Text_Editor *arg2 = (Fl_Text_Editor *) 0 ; int val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_kf_undo",2,2,&obj0,&obj1)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Text_Editor_kf_undo" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Text_Editor_kf_undo" "', argument " "2"" of type '" "Fl_Text_Editor *""'"); } arg2 = reinterpret_cast< Fl_Text_Editor * >(argp2); result = (int)Fl_Text_Editor::kf_undo(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Text_Editor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Editor *arg1 = (Fl_Text_Editor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Text_Editor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Text_Editor" "', argument " "1"" of type '" "Fl_Text_Editor *""'"); } arg1 = reinterpret_cast< Fl_Text_Editor * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Text_Editor_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Text_Editor *arg1 = (Fl_Text_Editor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Text_Editor *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Text_Editor_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Text_Editor, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Text_Editor_draw" "', argument " "1"" of type '" "Fl_Text_Editor *""'"); } arg1 = reinterpret_cast< Fl_Text_Editor * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Text_Editor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Text_Editor, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Tile_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tile *arg1 = (Fl_Tile *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tile_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tile, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tile_handle" "', argument " "1"" of type '" "Fl_Tile *""'"); } arg1 = reinterpret_cast< Fl_Tile * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tile_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Tile::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Tile *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Tile",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Tile" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Tile" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Tile" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Tile" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Tile" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Tile *)new SwigDirector_Fl_Tile(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Tile *)new Fl_Tile(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tile, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tile_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tile *arg1 = (Fl_Tile *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tile_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tile, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tile_resize" "', argument " "1"" of type '" "Fl_Tile *""'"); } arg1 = reinterpret_cast< Fl_Tile * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tile_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tile_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Tile_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Tile_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Tile::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tile_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tile *arg1 = (Fl_Tile *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tile_position",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tile, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tile_position" "', argument " "1"" of type '" "Fl_Tile *""'"); } arg1 = reinterpret_cast< Fl_Tile * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tile_position" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tile_position" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Tile_position" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Tile_position" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); (arg1)->position(arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tile *arg1 = (Fl_Tile *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Tile",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tile, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Tile" "', argument " "1"" of type '" "Fl_Tile *""'"); } arg1 = reinterpret_cast< Fl_Tile * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tile *arg1 = (Fl_Tile *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Tile",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tile, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Tile" "', argument " "1"" of type '" "Fl_Tile *""'"); } arg1 = reinterpret_cast< Fl_Tile * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tile_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tile *arg1 = (Fl_Tile *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Tile *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tile_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tile, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tile_draw" "', argument " "1"" of type '" "Fl_Tile *""'"); } arg1 = reinterpret_cast< Fl_Tile * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Tile_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Tile, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Tiled_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; Fl_Image *arg2 = (Fl_Image *) 0 ; int arg3 = (int) 0 ; int arg4 = (int) 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Fl_Tiled_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Tiled_Image",2,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; arg1 = obj0; res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_Tiled_Image" "', argument " "2"" of type '" "Fl_Image *""'"); } arg2 = reinterpret_cast< Fl_Image * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Tiled_Image" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } if (obj3) { ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Tiled_Image" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Tiled_Image *)new SwigDirector_Fl_Tiled_Image(arg1,arg2,arg3,arg4); } else { result = (Fl_Tiled_Image *)new Fl_Tiled_Image(arg2,arg3,arg4); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tiled_Image, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Tiled_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tiled_Image *arg1 = (Fl_Tiled_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Tiled_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tiled_Image, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Tiled_Image" "', argument " "1"" of type '" "Fl_Tiled_Image *""'"); } arg1 = reinterpret_cast< Fl_Tiled_Image * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tiled_Image_copy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tiled_Image *arg1 = (Fl_Tiled_Image *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tiled_Image_copy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tiled_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tiled_Image_copy" "', argument " "1"" of type '" "Fl_Tiled_Image *""'"); } arg1 = reinterpret_cast< Fl_Tiled_Image * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tiled_Image_copy" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tiled_Image_copy" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (Fl_Image *)(arg1)->Fl_Tiled_Image::copy(arg2,arg3); } else { result = (Fl_Image *)(arg1)->copy(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, SWIG_POINTER_OWN | 0 ); } if (director) { SWIG_AcquirePtr(resultobj, director->swig_release_ownership(SWIG_as_voidptr(result))); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tiled_Image_copy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tiled_Image *arg1 = (Fl_Tiled_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tiled_Image_copy",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tiled_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tiled_Image_copy" "', argument " "1"" of type '" "Fl_Tiled_Image *""'"); } arg1 = reinterpret_cast< Fl_Tiled_Image * >(argp1); result = (Fl_Image *)(arg1)->copy(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, SWIG_POINTER_OWN | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tiled_Image_copy(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tiled_Image_copy__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Tiled_Image_copy__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tiled_Image_copy'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tiled_Image::copy(int,int)\n" " Fl_Tiled_Image::copy()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tiled_Image_color_average(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tiled_Image *arg1 = (Fl_Tiled_Image *) 0 ; Fl_Color arg2 ; float arg3 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; float val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tiled_Image_color_average",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tiled_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tiled_Image_color_average" "', argument " "1"" of type '" "Fl_Tiled_Image *""'"); } arg1 = reinterpret_cast< Fl_Tiled_Image * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tiled_Image_color_average" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tiled_Image_color_average" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Tiled_Image::color_average(arg2,arg3); } else { (arg1)->color_average(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tiled_Image_desaturate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tiled_Image *arg1 = (Fl_Tiled_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tiled_Image_desaturate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tiled_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tiled_Image_desaturate" "', argument " "1"" of type '" "Fl_Tiled_Image *""'"); } arg1 = reinterpret_cast< Fl_Tiled_Image * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Tiled_Image::desaturate(); } else { (arg1)->desaturate(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tiled_Image_draw__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tiled_Image *arg1 = (Fl_Tiled_Image *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; int arg7 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tiled_Image_draw",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tiled_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tiled_Image_draw" "', argument " "1"" of type '" "Fl_Tiled_Image *""'"); } arg1 = reinterpret_cast< Fl_Tiled_Image * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tiled_Image_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tiled_Image_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Tiled_Image_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Tiled_Image_draw" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Tiled_Image_draw" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Tiled_Image_draw" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Tiled_Image::draw(arg2,arg3,arg4,arg5,arg6,arg7); } else { (arg1)->draw(arg2,arg3,arg4,arg5,arg6,arg7); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tiled_Image_draw__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tiled_Image *arg1 = (Fl_Tiled_Image *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tiled_Image_draw",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tiled_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tiled_Image_draw" "', argument " "1"" of type '" "Fl_Tiled_Image *""'"); } arg1 = reinterpret_cast< Fl_Tiled_Image * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tiled_Image_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tiled_Image_draw" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->draw(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tiled_Image_draw(PyObject *self, PyObject *args) { int argc; PyObject *argv[8]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { return _wrap_Fl_Tiled_Image_draw__SWIG_1(self, args); } if (argc == 7) { return _wrap_Fl_Tiled_Image_draw__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tiled_Image_draw'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tiled_Image::draw(int,int,int,int,int,int)\n" " Fl_Tiled_Image::draw(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tiled_Image_image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tiled_Image *arg1 = (Fl_Tiled_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tiled_Image_image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tiled_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tiled_Image_image" "', argument " "1"" of type '" "Fl_Tiled_Image *""'"); } arg1 = reinterpret_cast< Fl_Tiled_Image * >(argp1); result = (Fl_Image *)(arg1)->image(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Tiled_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tiled_Image *arg1 = (Fl_Tiled_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Tiled_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tiled_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Tiled_Image" "', argument " "1"" of type '" "Fl_Tiled_Image *""'"); } arg1 = reinterpret_cast< Fl_Tiled_Image * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Tiled_Image_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Tiled_Image, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Timer_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Timer *arg1 = (Fl_Timer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Timer *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Timer_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Timer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Timer_draw" "', argument " "1"" of type '" "Fl_Timer *""'"); } arg1 = reinterpret_cast< Fl_Timer * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Timer_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Timer *arg1 = (Fl_Timer *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Timer_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Timer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Timer_handle" "', argument " "1"" of type '" "Fl_Timer *""'"); } arg1 = reinterpret_cast< Fl_Timer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Timer_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Timer::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Timer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; uchar arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; char *arg7 = (char *) 0 ; unsigned char val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int res7 ; char *buf7 = 0 ; int alloc7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; Fl_Timer *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Timer",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Timer" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Timer" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Timer" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Timer" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Fl_Timer" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); res7 = SWIG_AsCharPtrAndSize(obj6, &buf7, NULL, &alloc7); if (!SWIG_IsOK(res7)) { SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Fl_Timer" "', argument " "7"" of type '" "char const *""'"); } arg7 = reinterpret_cast< char * >(buf7); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Timer *)new SwigDirector_Fl_Timer(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7); } else { result = (Fl_Timer *)new Fl_Timer(arg2,arg3,arg4,arg5,arg6,(char const *)arg7); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Timer, SWIG_POINTER_NEW | 0 ); if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return resultobj; fail: if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Timer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Timer *arg1 = (Fl_Timer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Timer",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Timer, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Timer" "', argument " "1"" of type '" "Fl_Timer *""'"); } arg1 = reinterpret_cast< Fl_Timer * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Timer_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Timer *arg1 = (Fl_Timer *) 0 ; double arg2 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Timer_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Timer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Timer_value" "', argument " "1"" of type '" "Fl_Timer *""'"); } arg1 = reinterpret_cast< Fl_Timer * >(argp1); ecode2 = SWIG_AsVal_double(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Timer_value" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); (arg1)->value(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Timer_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Timer *arg1 = (Fl_Timer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; double result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Timer_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Timer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Timer_value" "', argument " "1"" of type '" "Fl_Timer const *""'"); } arg1 = reinterpret_cast< Fl_Timer * >(argp1); result = (double)((Fl_Timer const *)arg1)->value(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Timer_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Timer_value__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Timer_value__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Timer_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Timer::value(double)\n" " Fl_Timer::value() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Timer_direction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Timer *arg1 = (Fl_Timer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Timer_direction",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Timer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Timer_direction" "', argument " "1"" of type '" "Fl_Timer const *""'"); } arg1 = reinterpret_cast< Fl_Timer * >(argp1); result = (char)((Fl_Timer const *)arg1)->direction(); resultobj = SWIG_NewPointerObj((new char(static_cast< const char& >(result))), SWIGTYPE_p_char, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Timer_direction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Timer *arg1 = (Fl_Timer *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Timer_direction",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Timer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Timer_direction" "', argument " "1"" of type '" "Fl_Timer *""'"); } arg1 = reinterpret_cast< Fl_Timer * >(argp1); ecode2 = SWIG_AsVal_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Timer_direction" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); (arg1)->direction(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Timer_direction(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Timer_direction__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Timer_direction__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Timer_direction'.\n" " Possible C/C++ prototypes are:\n" " Fl_Timer::direction() const\n" " Fl_Timer::direction(char)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Timer_suspended__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Timer *arg1 = (Fl_Timer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Timer_suspended",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Timer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Timer_suspended" "', argument " "1"" of type '" "Fl_Timer const *""'"); } arg1 = reinterpret_cast< Fl_Timer * >(argp1); result = (char)((Fl_Timer const *)arg1)->suspended(); resultobj = SWIG_NewPointerObj((new char(static_cast< const char& >(result))), SWIGTYPE_p_char, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Timer_suspended__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Timer *arg1 = (Fl_Timer *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Timer_suspended",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Timer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Timer_suspended" "', argument " "1"" of type '" "Fl_Timer *""'"); } arg1 = reinterpret_cast< Fl_Timer * >(argp1); ecode2 = SWIG_AsVal_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Timer_suspended" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); (arg1)->suspended(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Timer_suspended(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Timer_suspended__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Timer_suspended__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Timer_suspended'.\n" " Possible C/C++ prototypes are:\n" " Fl_Timer::suspended() const\n" " Fl_Timer::suspended(char)\n"); return 0; } SWIGINTERN PyObject *_wrap_disown_Fl_Timer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Timer *arg1 = (Fl_Timer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Timer",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Timer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Timer" "', argument " "1"" of type '" "Fl_Timer *""'"); } arg1 = reinterpret_cast< Fl_Timer * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Timer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Timer, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Toggle_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Toggle_Button *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Toggle_Button",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Toggle_Button" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Toggle_Button" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Toggle_Button" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Toggle_Button" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Toggle_Button" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Toggle_Button *)new SwigDirector_Fl_Toggle_Button(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Toggle_Button *)new Fl_Toggle_Button(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Toggle_Button, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Toggle_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Toggle_Button *arg1 = (Fl_Toggle_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Toggle_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Toggle_Button, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Toggle_Button" "', argument " "1"" of type '" "Fl_Toggle_Button *""'"); } arg1 = reinterpret_cast< Fl_Toggle_Button * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Toggle_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Toggle_Button *arg1 = (Fl_Toggle_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Toggle_Button",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Toggle_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Toggle_Button" "', argument " "1"" of type '" "Fl_Toggle_Button *""'"); } arg1 = reinterpret_cast< Fl_Toggle_Button * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Toggle_Button_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Toggle_Button *arg1 = (Fl_Toggle_Button *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Toggle_Button *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Toggle_Button_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Toggle_Button, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Toggle_Button_draw" "', argument " "1"" of type '" "Fl_Toggle_Button *""'"); } arg1 = reinterpret_cast< Fl_Toggle_Button * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Toggle_Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Toggle_Button, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Tooltip_delay__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; float result; result = (float)Fl_Tooltip::delay(); resultobj = SWIG_From_float(static_cast< float >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_delay__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; float arg1 ; float val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tooltip_delay",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_float(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Tooltip_delay" "', argument " "1"" of type '" "float""'"); } arg1 = static_cast< float >(val1); Fl_Tooltip::delay(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_delay(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_Tooltip_delay__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_Tooltip_delay__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tooltip_delay'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tooltip::delay()\n" " Fl_Tooltip::delay(float)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_hoverdelay__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; float result; result = (float)Fl_Tooltip::hoverdelay(); resultobj = SWIG_From_float(static_cast< float >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_hoverdelay__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; float arg1 ; float val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tooltip_hoverdelay",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_float(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Tooltip_hoverdelay" "', argument " "1"" of type '" "float""'"); } arg1 = static_cast< float >(val1); Fl_Tooltip::hoverdelay(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_hoverdelay(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_Tooltip_hoverdelay__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_Tooltip_hoverdelay__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tooltip_hoverdelay'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tooltip::hoverdelay()\n" " Fl_Tooltip::hoverdelay(float)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_enabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)Fl_Tooltip::enabled(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 = (int) 1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tooltip_enable",0,1,&obj0)) SWIG_fail; if (obj0) { ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Tooltip_enable" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); } Fl_Tooltip::enable(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_disable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tooltip::disable(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_enter_area(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tooltip_enter_area",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tooltip_enter_area" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tooltip_enter_area" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tooltip_enter_area" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Tooltip_enter_area" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Tooltip_enter_area" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Fl_Tooltip_enter_area" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); Fl_Tooltip::enter_area(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); resultobj = SWIG_Py_Void(); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_current__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Swig::Director *director = 0; Fl_Widget *result = 0 ; result = (Fl_Widget *)Fl_Tooltip::current(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_current__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tooltip_current",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tooltip_current" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); Fl_Tooltip::current(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_current(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_Tooltip_current__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_Tooltip_current__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tooltip_current'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tooltip::current()\n" " Fl_Tooltip::current(Fl_Widget *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_font__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Font result; result = (Fl_Font)Fl_Tooltip::font(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_font__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Font arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tooltip_font",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Tooltip_font" "', argument " "1"" of type '" "Fl_Font""'"); } arg1 = static_cast< Fl_Font >(val1); Fl_Tooltip::font(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_font(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_Tooltip_font__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_Tooltip_font__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tooltip_font'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tooltip::font()\n" " Fl_Tooltip::font(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Fontsize result; result = (Fl_Fontsize)Fl_Tooltip::size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Fontsize arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tooltip_size",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Tooltip_size" "', argument " "1"" of type '" "Fl_Fontsize""'"); } arg1 = static_cast< Fl_Fontsize >(val1); Fl_Tooltip::size(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_size(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_Tooltip_size__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_Tooltip_size__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tooltip_size'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tooltip::size()\n" " Fl_Tooltip::size(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color result; result = (Fl_Color)Fl_Tooltip::color(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tooltip_color",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Tooltip_color" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); Fl_Tooltip::color(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_Tooltip_color__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_Tooltip_color__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tooltip_color'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tooltip::color()\n" " Fl_Tooltip::color(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color result; result = (Fl_Color)Fl_Tooltip::textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Color arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tooltip_textcolor",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Fl_Tooltip_textcolor" "', argument " "1"" of type '" "Fl_Color""'"); } arg1 = static_cast< Fl_Color >(val1); Fl_Tooltip::textcolor(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tooltip_textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 0) { return _wrap_Fl_Tooltip_textcolor__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_Tooltip_textcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tooltip_textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tooltip::textcolor()\n" " Fl_Tooltip::textcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_new_Fl_Tooltip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tooltip *result = 0 ; result = (Fl_Tooltip *)new Fl_Tooltip(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tooltip, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Tooltip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tooltip *arg1 = (Fl_Tooltip *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Tooltip",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tooltip, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Tooltip" "', argument " "1"" of type '" "Fl_Tooltip *""'"); } arg1 = reinterpret_cast< Fl_Tooltip * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Tooltip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Tooltip, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Value_Output_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Output *arg1 = (Fl_Value_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Value_Output *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Output_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Output_draw" "', argument " "1"" of type '" "Fl_Value_Output *""'"); } arg1 = reinterpret_cast< Fl_Value_Output * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Output_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Output *arg1 = (Fl_Value_Output *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Output_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Output_handle" "', argument " "1"" of type '" "Fl_Value_Output *""'"); } arg1 = reinterpret_cast< Fl_Value_Output * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Output_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Value_Output::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Value_Output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Value_Output *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Value_Output",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Value_Output" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Value_Output" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Value_Output" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Value_Output" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Value_Output" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Value_Output *)new SwigDirector_Fl_Value_Output(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Value_Output *)new Fl_Value_Output(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Value_Output, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Output_soft__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Output *arg1 = (Fl_Value_Output *) 0 ; uchar arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned char val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Output_soft",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Output_soft" "', argument " "1"" of type '" "Fl_Value_Output *""'"); } arg1 = reinterpret_cast< Fl_Value_Output * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Output_soft" "', argument " "2"" of type '" "uchar""'"); } arg2 = static_cast< uchar >(val2); (arg1)->soft(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Output_soft__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Output *arg1 = (Fl_Value_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; uchar result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Output_soft",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Output_soft" "', argument " "1"" of type '" "Fl_Value_Output const *""'"); } arg1 = reinterpret_cast< Fl_Value_Output * >(argp1); result = (uchar)((Fl_Value_Output const *)arg1)->soft(); resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Output_soft(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Value_Output_soft__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Value_Output_soft__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Value_Output_soft'.\n" " Possible C/C++ prototypes are:\n" " Fl_Value_Output::soft(uchar)\n" " Fl_Value_Output::soft() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Value_Output_textfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Output *arg1 = (Fl_Value_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Output_textfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Output_textfont" "', argument " "1"" of type '" "Fl_Value_Output const *""'"); } arg1 = reinterpret_cast< Fl_Value_Output * >(argp1); result = (Fl_Font)((Fl_Value_Output const *)arg1)->textfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Output_textfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Output *arg1 = (Fl_Value_Output *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Output_textfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Output_textfont" "', argument " "1"" of type '" "Fl_Value_Output *""'"); } arg1 = reinterpret_cast< Fl_Value_Output * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Output_textfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->textfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Output_textfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Value_Output_textfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Value_Output_textfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Value_Output_textfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Value_Output::textfont() const\n" " Fl_Value_Output::textfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Value_Output_textsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Output *arg1 = (Fl_Value_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Output_textsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Output_textsize" "', argument " "1"" of type '" "Fl_Value_Output const *""'"); } arg1 = reinterpret_cast< Fl_Value_Output * >(argp1); result = (Fl_Fontsize)((Fl_Value_Output const *)arg1)->textsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Output_textsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Output *arg1 = (Fl_Value_Output *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Output_textsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Output_textsize" "', argument " "1"" of type '" "Fl_Value_Output *""'"); } arg1 = reinterpret_cast< Fl_Value_Output * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Output_textsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->textsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Output_textsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Value_Output_textsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Value_Output_textsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Value_Output_textsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Value_Output::textsize() const\n" " Fl_Value_Output::textsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Value_Output_textcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Output *arg1 = (Fl_Value_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Output_textcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Output_textcolor" "', argument " "1"" of type '" "Fl_Value_Output const *""'"); } arg1 = reinterpret_cast< Fl_Value_Output * >(argp1); result = (Fl_Color)((Fl_Value_Output const *)arg1)->textcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Output_textcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Output *arg1 = (Fl_Value_Output *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Value_Output_textcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Value_Output_textcolor" "', argument " "1"" of type '" "Fl_Value_Output *""'"); } arg1 = reinterpret_cast< Fl_Value_Output * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Value_Output_textcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->textcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Value_Output_textcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Value_Output_textcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Value_Output_textcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Value_Output_textcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Value_Output::textcolor() const\n" " Fl_Value_Output::textcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Value_Output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Output *arg1 = (Fl_Value_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Value_Output",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Output, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Value_Output" "', argument " "1"" of type '" "Fl_Value_Output *""'"); } arg1 = reinterpret_cast< Fl_Value_Output * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Value_Output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Value_Output *arg1 = (Fl_Value_Output *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Value_Output",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Value_Output, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Value_Output" "', argument " "1"" of type '" "Fl_Value_Output *""'"); } arg1 = reinterpret_cast< Fl_Value_Output * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Value_Output_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Value_Output, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Wizard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Wizard *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Wizard",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Wizard" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Wizard" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Wizard" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Wizard" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Wizard" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Wizard *)new SwigDirector_Fl_Wizard(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Wizard *)new Fl_Wizard(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Wizard, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Wizard_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Wizard *arg1 = (Fl_Wizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Wizard_next",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Wizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Wizard_next" "', argument " "1"" of type '" "Fl_Wizard *""'"); } arg1 = reinterpret_cast< Fl_Wizard * >(argp1); (arg1)->next(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Wizard_prev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Wizard *arg1 = (Fl_Wizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Wizard_prev",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Wizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Wizard_prev" "', argument " "1"" of type '" "Fl_Wizard *""'"); } arg1 = reinterpret_cast< Fl_Wizard * >(argp1); (arg1)->prev(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Wizard_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Wizard *arg1 = (Fl_Wizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Widget *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Wizard_value",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Wizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Wizard_value" "', argument " "1"" of type '" "Fl_Wizard *""'"); } arg1 = reinterpret_cast< Fl_Wizard * >(argp1); result = (Fl_Widget *)(arg1)->value(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Wizard_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Wizard *arg1 = (Fl_Wizard *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Wizard_value",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Wizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Wizard_value" "', argument " "1"" of type '" "Fl_Wizard *""'"); } arg1 = reinterpret_cast< Fl_Wizard * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Wizard_value" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); (arg1)->value(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Wizard_value(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Wizard_value__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Wizard_value__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Wizard_value'.\n" " Possible C/C++ prototypes are:\n" " Fl_Wizard::value()\n" " Fl_Wizard::value(Fl_Widget *)\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Wizard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Wizard *arg1 = (Fl_Wizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Wizard",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Wizard, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Wizard" "', argument " "1"" of type '" "Fl_Wizard *""'"); } arg1 = reinterpret_cast< Fl_Wizard * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Wizard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Wizard *arg1 = (Fl_Wizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Wizard",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Wizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Wizard" "', argument " "1"" of type '" "Fl_Wizard *""'"); } arg1 = reinterpret_cast< Fl_Wizard * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Wizard_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Wizard *arg1 = (Fl_Wizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Wizard *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Wizard_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Wizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Wizard_draw" "', argument " "1"" of type '" "Fl_Wizard *""'"); } arg1 = reinterpret_cast< Fl_Wizard * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Wizard_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Wizard, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_XBM_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; char *arg2 = (char *) 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_XBM_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_XBM_Image",2,2,&obj0,&obj1)) SWIG_fail; arg1 = obj0; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_XBM_Image" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_XBM_Image *)new SwigDirector_Fl_XBM_Image(arg1,(char const *)arg2); } else { result = (Fl_XBM_Image *)new Fl_XBM_Image((char const *)arg2); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_XBM_Image, SWIG_POINTER_NEW | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_XBM_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_XBM_Image *arg1 = (Fl_XBM_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_XBM_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_XBM_Image, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_XBM_Image" "', argument " "1"" of type '" "Fl_XBM_Image *""'"); } arg1 = reinterpret_cast< Fl_XBM_Image * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_XBM_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_XBM_Image *arg1 = (Fl_XBM_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_XBM_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_XBM_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_XBM_Image" "', argument " "1"" of type '" "Fl_XBM_Image *""'"); } arg1 = reinterpret_cast< Fl_XBM_Image * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_XBM_Image_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_XBM_Image, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_XPM_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; char *arg2 = (char *) 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_XPM_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_XPM_Image",2,2,&obj0,&obj1)) SWIG_fail; arg1 = obj0; res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Fl_XPM_Image" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_XPM_Image *)new SwigDirector_Fl_XPM_Image(arg1,(char const *)arg2); } else { result = (Fl_XPM_Image *)new Fl_XPM_Image((char const *)arg2); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_XPM_Image, SWIG_POINTER_NEW | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_XPM_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_XPM_Image *arg1 = (Fl_XPM_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_XPM_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_XPM_Image, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_XPM_Image" "', argument " "1"" of type '" "Fl_XPM_Image *""'"); } arg1 = reinterpret_cast< Fl_XPM_Image * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_XPM_Image(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_XPM_Image *arg1 = (Fl_XPM_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_XPM_Image",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_XPM_Image, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_XPM_Image" "', argument " "1"" of type '" "Fl_XPM_Image *""'"); } arg1 = reinterpret_cast< Fl_XPM_Image * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_XPM_Image_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_XPM_Image, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Tree_Prefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *result = 0 ; result = (Fl_Tree_Prefs *)new Fl_Tree_Prefs(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Prefs, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_labelfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_labelfont" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (Fl_Font)((Fl_Tree_Prefs const *)arg1)->labelfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_labelfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_labelfont" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_labelfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->labelfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_labelfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_labelfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_labelfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::labelfont() const\n" " Fl_Tree_Prefs::labelfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_labelsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_labelsize" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (Fl_Fontsize)((Fl_Tree_Prefs const *)arg1)->labelsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_labelsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_labelsize" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_labelsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->labelsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_labelsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_labelsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_labelsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::labelsize() const\n" " Fl_Tree_Prefs::labelsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_marginleft__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_marginleft",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_marginleft" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (int)((Fl_Tree_Prefs const *)arg1)->marginleft(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_marginleft__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_marginleft",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_marginleft" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_marginleft" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->marginleft(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_marginleft(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_marginleft__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_marginleft__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_marginleft'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::marginleft() const\n" " Fl_Tree_Prefs::marginleft(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_margintop__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_margintop",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_margintop" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (int)((Fl_Tree_Prefs const *)arg1)->margintop(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_margintop__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_margintop",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_margintop" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_margintop" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->margintop(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_margintop(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_margintop__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_margintop__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_margintop'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::margintop() const\n" " Fl_Tree_Prefs::margintop(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_openchild_marginbottom__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_openchild_marginbottom",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_openchild_marginbottom" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (int)((Fl_Tree_Prefs const *)arg1)->openchild_marginbottom(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_openchild_marginbottom__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_openchild_marginbottom",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_openchild_marginbottom" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_openchild_marginbottom" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->openchild_marginbottom(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_openchild_marginbottom(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_openchild_marginbottom__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_openchild_marginbottom__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_openchild_marginbottom'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::openchild_marginbottom() const\n" " Fl_Tree_Prefs::openchild_marginbottom(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_usericonmarginleft__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_usericonmarginleft",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_usericonmarginleft" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (int)((Fl_Tree_Prefs const *)arg1)->usericonmarginleft(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_usericonmarginleft__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_usericonmarginleft",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_usericonmarginleft" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_usericonmarginleft" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->usericonmarginleft(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_usericonmarginleft(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_usericonmarginleft__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_usericonmarginleft__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_usericonmarginleft'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::usericonmarginleft() const\n" " Fl_Tree_Prefs::usericonmarginleft(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelmarginleft__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_labelmarginleft",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_labelmarginleft" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (int)((Fl_Tree_Prefs const *)arg1)->labelmarginleft(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelmarginleft__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_labelmarginleft",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_labelmarginleft" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_labelmarginleft" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->labelmarginleft(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelmarginleft(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_labelmarginleft__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_labelmarginleft__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_labelmarginleft'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::labelmarginleft() const\n" " Fl_Tree_Prefs::labelmarginleft(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_linespacing__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_linespacing",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_linespacing" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (int)((Fl_Tree_Prefs const *)arg1)->linespacing(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_linespacing__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_linespacing",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_linespacing" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_linespacing" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->linespacing(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_linespacing(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_linespacing__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_linespacing__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_linespacing'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::linespacing() const\n" " Fl_Tree_Prefs::linespacing(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelfgcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_labelfgcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_labelfgcolor" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (Fl_Color)((Fl_Tree_Prefs const *)arg1)->labelfgcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelfgcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_labelfgcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_labelfgcolor" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_labelfgcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->labelfgcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelfgcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_labelfgcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_labelfgcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_labelfgcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::labelfgcolor() const\n" " Fl_Tree_Prefs::labelfgcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelbgcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_labelbgcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_labelbgcolor" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (Fl_Color)((Fl_Tree_Prefs const *)arg1)->labelbgcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelbgcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_labelbgcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_labelbgcolor" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_labelbgcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->labelbgcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_labelbgcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_labelbgcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_labelbgcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_labelbgcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::labelbgcolor() const\n" " Fl_Tree_Prefs::labelbgcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_connectorcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_connectorcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_connectorcolor" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (Fl_Color)((Fl_Tree_Prefs const *)arg1)->connectorcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_connectorcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_connectorcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_connectorcolor" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_connectorcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->connectorcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_connectorcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_connectorcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_connectorcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_connectorcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::connectorcolor() const\n" " Fl_Tree_Prefs::connectorcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_connectorstyle__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Connector result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_connectorstyle",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_connectorstyle" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (Fl_Tree_Connector)((Fl_Tree_Prefs const *)arg1)->connectorstyle(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_connectorstyle__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; Fl_Tree_Connector arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_connectorstyle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_connectorstyle" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_connectorstyle" "', argument " "2"" of type '" "Fl_Tree_Connector""'"); } arg2 = static_cast< Fl_Tree_Connector >(val2); (arg1)->connectorstyle(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_connectorstyle__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_connectorstyle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_connectorstyle" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_connectorstyle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->connectorstyle(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_connectorstyle(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_connectorstyle__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_connectorstyle__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_connectorstyle__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_connectorstyle'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::connectorstyle() const\n" " Fl_Tree_Prefs::connectorstyle(Fl_Tree_Connector)\n" " Fl_Tree_Prefs::connectorstyle(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_connectorwidth__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_connectorwidth",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_connectorwidth" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (int)((Fl_Tree_Prefs const *)arg1)->connectorwidth(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_connectorwidth__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_connectorwidth",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_connectorwidth" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_connectorwidth" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->connectorwidth(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_connectorwidth(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_connectorwidth__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_connectorwidth__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_connectorwidth'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::connectorwidth() const\n" " Fl_Tree_Prefs::connectorwidth(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_openicon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_openicon",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_openicon" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (Fl_Image *)((Fl_Tree_Prefs const *)arg1)->openicon(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_openicon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; Fl_Image *arg2 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_openicon",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_openicon" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Prefs_openicon" "', argument " "2"" of type '" "Fl_Image *""'"); } arg2 = reinterpret_cast< Fl_Image * >(argp2); (arg1)->openicon(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_openicon(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_openicon__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_openicon__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_openicon'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::openicon() const\n" " Fl_Tree_Prefs::openicon(Fl_Image *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_closeicon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_closeicon",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_closeicon" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (Fl_Image *)((Fl_Tree_Prefs const *)arg1)->closeicon(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_closeicon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; Fl_Image *arg2 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_closeicon",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_closeicon" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Prefs_closeicon" "', argument " "2"" of type '" "Fl_Image *""'"); } arg2 = reinterpret_cast< Fl_Image * >(argp2); (arg1)->closeicon(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_closeicon(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_closeicon__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_closeicon__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_closeicon'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::closeicon() const\n" " Fl_Tree_Prefs::closeicon(Fl_Image *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_usericon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_usericon",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_usericon" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (Fl_Image *)((Fl_Tree_Prefs const *)arg1)->usericon(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_usericon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; Fl_Image *arg2 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_usericon",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_usericon" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Prefs_usericon" "', argument " "2"" of type '" "Fl_Image *""'"); } arg2 = reinterpret_cast< Fl_Image * >(argp2); (arg1)->usericon(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_usericon(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_usericon__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_usericon__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_usericon'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::usericon() const\n" " Fl_Tree_Prefs::usericon(Fl_Image *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_showcollapse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_showcollapse",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_showcollapse" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (char)((Fl_Tree_Prefs const *)arg1)->showcollapse(); resultobj = SWIG_NewPointerObj((new char(static_cast< const char& >(result))), SWIGTYPE_p_char, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_showcollapse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_showcollapse",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_showcollapse" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_showcollapse" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->showcollapse(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_showcollapse(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_showcollapse__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_showcollapse__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_showcollapse'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::showcollapse() const\n" " Fl_Tree_Prefs::showcollapse(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_sortorder__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Sort result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_sortorder",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_sortorder" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (Fl_Tree_Sort)((Fl_Tree_Prefs const *)arg1)->sortorder(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_sortorder__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; Fl_Tree_Sort arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_sortorder",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_sortorder" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_sortorder" "', argument " "2"" of type '" "Fl_Tree_Sort""'"); } arg2 = static_cast< Fl_Tree_Sort >(val2); (arg1)->sortorder(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_sortorder(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_sortorder__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_sortorder__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_sortorder'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::sortorder() const\n" " Fl_Tree_Prefs::sortorder(Fl_Tree_Sort)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_selectbox__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Boxtype result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_selectbox",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_selectbox" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (Fl_Boxtype)((Fl_Tree_Prefs const *)arg1)->selectbox(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_selectbox__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; Fl_Boxtype arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_selectbox",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_selectbox" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_selectbox" "', argument " "2"" of type '" "Fl_Boxtype""'"); } arg2 = static_cast< Fl_Boxtype >(val2); (arg1)->selectbox(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_selectbox(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_selectbox__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_selectbox__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_selectbox'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::selectbox() const\n" " Fl_Tree_Prefs::selectbox(Fl_Boxtype)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_showroot__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_showroot",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_showroot" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (int)((Fl_Tree_Prefs const *)arg1)->showroot(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_showroot__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_showroot",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_showroot" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_showroot" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->showroot(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_showroot(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_showroot__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_showroot__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_showroot'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::showroot() const\n" " Fl_Tree_Prefs::showroot(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_selectmode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Select result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_selectmode",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_selectmode" "', argument " "1"" of type '" "Fl_Tree_Prefs const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (Fl_Tree_Select)((Fl_Tree_Prefs const *)arg1)->selectmode(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_selectmode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; Fl_Tree_Select arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Prefs_selectmode",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Prefs_selectmode" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Prefs_selectmode" "', argument " "2"" of type '" "Fl_Tree_Select""'"); } arg2 = static_cast< Fl_Tree_Select >(val2); (arg1)->selectmode(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Prefs_selectmode(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Prefs_selectmode__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Prefs_selectmode__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Prefs_selectmode'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Prefs::selectmode() const\n" " Fl_Tree_Prefs::selectmode(Fl_Tree_Select)\n"); return 0; } SWIGINTERN PyObject *_wrap_delete_Fl_Tree_Prefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = (Fl_Tree_Prefs *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Tree_Prefs",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Prefs, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Tree_Prefs" "', argument " "1"" of type '" "Fl_Tree_Prefs *""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Tree_Prefs_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Tree_Prefs, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Tree_Item_Array__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 = (int) 10 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item_Array *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Tree_Item_Array",0,1,&obj0)) SWIG_fail; if (obj0) { ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Fl_Tree_Item_Array" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); } result = (Fl_Tree_Item_Array *)new Fl_Tree_Item_Array(arg1); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item_Array, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Tree_Item_Array(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item_Array *arg1 = (Fl_Tree_Item_Array *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Tree_Item_Array",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item_Array, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Tree_Item_Array" "', argument " "1"" of type '" "Fl_Tree_Item_Array *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item_Array * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Tree_Item_Array__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item_Array *arg1 = (Fl_Tree_Item_Array *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item_Array *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Tree_Item_Array",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item_Array, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Fl_Tree_Item_Array" "', argument " "1"" of type '" "Fl_Tree_Item_Array const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item_Array * >(argp1); result = (Fl_Tree_Item_Array *)new Fl_Tree_Item_Array((Fl_Tree_Item_Array const *)arg1); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item_Array, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Tree_Item_Array(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 0) && (argc <= 1)) { int _v = 0; if (argc > 0) { { { int res = SWIG_AsVal_int(argv[0], NULL); _v = SWIG_CheckState(res); } } if (!_v) goto check_1; } return _wrap_new_Fl_Tree_Item_Array__SWIG_0(self, args); } check_1: if (argc == 1) { return _wrap_new_Fl_Tree_Item_Array__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_Tree_Item_Array'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item_Array::Fl_Tree_Item_Array(int)\n" " Fl_Tree_Item_Array::Fl_Tree_Item_Array(Fl_Tree_Item_Array const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_Array_total(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item_Array *arg1 = (Fl_Tree_Item_Array *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_Array_total",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item_Array, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_Array_total" "', argument " "1"" of type '" "Fl_Tree_Item_Array const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item_Array * >(argp1); result = (int)((Fl_Tree_Item_Array const *)arg1)->total(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_Array_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item_Array *arg1 = (Fl_Tree_Item_Array *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_Array_swap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item_Array, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_Array_swap" "', argument " "1"" of type '" "Fl_Tree_Item_Array *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item_Array * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_Array_swap" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_Item_Array_swap" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->swap(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_Array_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item_Array *arg1 = (Fl_Tree_Item_Array *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_Array_clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item_Array, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_Array_clear" "', argument " "1"" of type '" "Fl_Tree_Item_Array *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item_Array * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_Array_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item_Array *arg1 = (Fl_Tree_Item_Array *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_Array_add",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item_Array, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_Array_add" "', argument " "1"" of type '" "Fl_Tree_Item_Array *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item_Array * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_Array_add" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); (arg1)->add(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_Array_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item_Array *arg1 = (Fl_Tree_Item_Array *) 0 ; int arg2 ; Fl_Tree_Item *arg3 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_Array_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item_Array, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_Array_insert" "', argument " "1"" of type '" "Fl_Tree_Item_Array *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item_Array * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_Array_insert" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Tree_Item_Array_insert" "', argument " "3"" of type '" "Fl_Tree_Item *""'"); } arg3 = reinterpret_cast< Fl_Tree_Item * >(argp3); (arg1)->insert(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_Array_remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item_Array *arg1 = (Fl_Tree_Item_Array *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_Array_remove",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item_Array, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_Array_remove" "', argument " "1"" of type '" "Fl_Tree_Item_Array *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item_Array * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_Array_remove" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->remove(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_Array_remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item_Array *arg1 = (Fl_Tree_Item_Array *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_Array_remove",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item_Array, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_Array_remove" "', argument " "1"" of type '" "Fl_Tree_Item_Array *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item_Array * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_Array_remove" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); result = (int)(arg1)->remove(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_Array_remove(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Tree_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Tree_Item_Array_remove__SWIG_1(self, args); } check_1: if (argc == 2) { return _wrap_Fl_Tree_Item_Array_remove__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_Array_remove'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item_Array::remove(int)\n" " Fl_Tree_Item_Array::remove(Fl_Tree_Item *)\n"); return 0; } SWIGINTERN PyObject *Fl_Tree_Item_Array_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Tree_Item_Array, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Tree_Item__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Prefs *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Tree_Item",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Fl_Tree_Item" "', argument " "1"" of type '" "Fl_Tree_Prefs const &""'"); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Fl_Tree_Item" "', argument " "1"" of type '" "Fl_Tree_Prefs const &""'"); } arg1 = reinterpret_cast< Fl_Tree_Prefs * >(argp1); result = (Fl_Tree_Item *)new Fl_Tree_Item((Fl_Tree_Prefs const &)*arg1); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Tree_Item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Tree_Item",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Tree_Item" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Tree_Item__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Tree_Item",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Fl_Tree_Item" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Tree_Item *)new Fl_Tree_Item((Fl_Tree_Item const *)arg1); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Tree_Item(PyObject *self, PyObject *args) { int argc; PyObject *argv[2]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { int _v = 0; { int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_Fl_Tree_Prefs, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_new_Fl_Tree_Item__SWIG_0(self, args); } check_1: if (argc == 1) { return _wrap_new_Fl_Tree_Item__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Fl_Tree_Item'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::Fl_Tree_Item(Fl_Tree_Prefs const &)\n" " Fl_Tree_Item::Fl_Tree_Item(Fl_Tree_Item const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_x",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_x" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)((Fl_Tree_Item const *)arg1)->x(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_y(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_y",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_y" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)((Fl_Tree_Item const *)arg1)->y(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_w(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_w",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_w" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)((Fl_Tree_Item const *)arg1)->w(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_h(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_h",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_h" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)((Fl_Tree_Item const *)arg1)->h(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; int arg2 ; int *arg3 = 0 ; int arg4 ; Fl_Widget *arg5 = (Fl_Widget *) 0 ; Fl_Tree_Item *arg6 = (Fl_Tree_Item *) 0 ; Fl_Tree_Prefs *arg7 = 0 ; int arg8 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int temp3 ; int res3 = SWIG_TMPOBJ ; int val4 ; int ecode4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; void *argp6 = 0 ; int res6 = 0 ; void *argp7 = 0 ; int res7 = 0 ; int val8 ; int ecode8 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; arg3 = &temp3; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_draw",6,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_draw" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_draw" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode4 = SWIG_AsVal_int(obj2, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Tree_Item_draw" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); res5 = SWIG_ConvertPtr(obj3, &argp5,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Fl_Tree_Item_draw" "', argument " "5"" of type '" "Fl_Widget *""'"); } arg5 = reinterpret_cast< Fl_Widget * >(argp5); res6 = SWIG_ConvertPtr(obj4, &argp6,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Fl_Tree_Item_draw" "', argument " "6"" of type '" "Fl_Tree_Item *""'"); } arg6 = reinterpret_cast< Fl_Tree_Item * >(argp6); res7 = SWIG_ConvertPtr(obj5, &argp7, SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0); if (!SWIG_IsOK(res7)) { SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "Fl_Tree_Item_draw" "', argument " "7"" of type '" "Fl_Tree_Prefs const &""'"); } if (!argp7) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Tree_Item_draw" "', argument " "7"" of type '" "Fl_Tree_Prefs const &""'"); } arg7 = reinterpret_cast< Fl_Tree_Prefs * >(argp7); if (obj6) { ecode8 = SWIG_AsVal_int(obj6, &val8); if (!SWIG_IsOK(ecode8)) { SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Fl_Tree_Item_draw" "', argument " "8"" of type '" "int""'"); } arg8 = static_cast< int >(val8); } (arg1)->draw(arg2,*arg3,arg4,arg5,arg6,(Fl_Tree_Prefs const &)*arg7,arg8); resultobj = SWIG_Py_Void(); if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_show_self(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; char *arg2 = (char *) "" ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_show_self",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_show_self" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); if (obj1) { res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_show_self" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); } ((Fl_Tree_Item const *)arg1)->show_self((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_label__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_label" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_label" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->label((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_label__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_label",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_label" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (char *)((Fl_Tree_Item const *)arg1)->label(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_label(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Item_label__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_label__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_label'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::label(char const *)\n" " Fl_Tree_Item::label() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_user_data__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_user_data",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_user_data" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_user_data" "', argument " "2"" of type '" "void *""'"); } (arg1)->user_data(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_user_data__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; void *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_user_data",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_user_data" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (void *)((Fl_Tree_Item const *)arg1)->user_data(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_user_data(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Item_user_data__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_user_data__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_user_data'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::user_data(void *)\n" " Fl_Tree_Item::user_data() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_labelfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_labelfont" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_labelfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->labelfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_labelfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_labelfont" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Font)((Fl_Tree_Item const *)arg1)->labelfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Item_labelfont__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_labelfont__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_labelfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::labelfont(Fl_Font)\n" " Fl_Tree_Item::labelfont() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_labelsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_labelsize" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_labelsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->labelsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_labelsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_labelsize" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Fontsize)((Fl_Tree_Item const *)arg1)->labelsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Item_labelsize__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_labelsize__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_labelsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::labelsize(Fl_Fontsize)\n" " Fl_Tree_Item::labelsize() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelfgcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_labelfgcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_labelfgcolor" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_labelfgcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->labelfgcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_labelcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_labelcolor" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_labelcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->labelcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_labelcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_labelcolor" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Color)((Fl_Tree_Item const *)arg1)->labelcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Item_labelcolor__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_labelcolor__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_labelcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::labelcolor(Fl_Color)\n" " Fl_Tree_Item::labelcolor() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelfgcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_labelfgcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_labelfgcolor" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Color)((Fl_Tree_Item const *)arg1)->labelfgcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelfgcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Item_labelfgcolor__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_labelfgcolor__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_labelfgcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::labelfgcolor(Fl_Color)\n" " Fl_Tree_Item::labelfgcolor() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelbgcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_labelbgcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_labelbgcolor" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_labelbgcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->labelbgcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelbgcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_labelbgcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_labelbgcolor" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Color)((Fl_Tree_Item const *)arg1)->labelbgcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_labelbgcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Item_labelbgcolor__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_labelbgcolor__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_labelbgcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::labelbgcolor(Fl_Color)\n" " Fl_Tree_Item::labelbgcolor() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_widget__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_widget",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_widget" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_widget" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); (arg1)->widget(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_widget__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Widget *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_widget",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_widget" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Widget *)((Fl_Tree_Item const *)arg1)->widget(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_widget(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Item_widget__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_widget__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_widget'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::widget(Fl_Widget *)\n" " Fl_Tree_Item::widget() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_children(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_children",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_children" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)((Fl_Tree_Item const *)arg1)->children(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_child__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_child",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_child" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_child" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (Fl_Tree_Item *)(arg1)->child(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_child__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_child",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_child" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_child" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (Fl_Tree_Item *)((Fl_Tree_Item const *)arg1)->child(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_child(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Tree_Item_child__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_child__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_child'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::child(int)\n" " Fl_Tree_Item::child(int) const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_has_children(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_has_children",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_has_children" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)((Fl_Tree_Item const *)arg1)->has_children(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_find_child__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_find_child",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_find_child" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_find_child" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->find_child((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_find_child__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_find_child",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_find_child" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_find_child" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); result = (int)(arg1)->find_child(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_find_child(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Tree_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Tree_Item_find_child__SWIG_1(self, args); } check_1: if (argc == 2) { return _wrap_Fl_Tree_Item_find_child__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_find_child'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::find_child(char const *)\n" " Fl_Tree_Item::find_child(Fl_Tree_Item *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_remove_child__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_remove_child",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_remove_child" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_remove_child" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); result = (int)(arg1)->remove_child(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_remove_child__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_remove_child",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_remove_child" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_remove_child" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->remove_child((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_remove_child(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Tree_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Tree_Item_remove_child__SWIG_0(self, args); } check_1: if (argc == 2) { return _wrap_Fl_Tree_Item_remove_child__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_remove_child'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::remove_child(Fl_Tree_Item *)\n" " Fl_Tree_Item::remove_child(char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_clear_children(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_clear_children",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_clear_children" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); (arg1)->clear_children(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_swap_children__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_swap_children",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_swap_children" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_swap_children" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_Item_swap_children" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->swap_children(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_swap_children__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; Fl_Tree_Item *arg3 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_swap_children",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_swap_children" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_swap_children" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Tree_Item_swap_children" "', argument " "3"" of type '" "Fl_Tree_Item *""'"); } arg3 = reinterpret_cast< Fl_Tree_Item * >(argp3); result = (int)(arg1)->swap_children(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_swap_children(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Tree_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Fl_Tree_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Tree_Item_swap_children__SWIG_1(self, args); } check_1: if (argc == 3) { return _wrap_Fl_Tree_Item_swap_children__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_swap_children'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::swap_children(int,int)\n" " Fl_Tree_Item::swap_children(Fl_Tree_Item *,Fl_Tree_Item *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_find_child_item__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; char **arg2 = (char **) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_find_child_item",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_find_child_item" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); { /* Check if it is a list */ if (PyList_Check(obj1)) { int size = PyList_Size(obj1); int i = 0; arg2 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj1,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif { //arg2[i] = PyString_AsString(PyList_GetItem(obj1,i)); arg2[i] = SWIG_Python_str_AsChar(PyList_GetItem(obj1,i)); } else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(arg2); return NULL; } } arg2[i] = NULL; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } result = (Fl_Tree_Item *)((Fl_Tree_Item const *)arg1)->find_child_item(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); { // this is a memory leak, but what the heck! // free((char*)arg2); } return resultobj; fail: { // this is a memory leak, but what the heck! // free((char*)arg2); } return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_find_child_item__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; char **arg2 = (char **) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_find_child_item",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_find_child_item" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); { /* Check if it is a list */ if (PyList_Check(obj1)) { int size = PyList_Size(obj1); int i = 0; arg2 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj1,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif { //arg2[i] = PyString_AsString(PyList_GetItem(obj1,i)); arg2[i] = SWIG_Python_str_AsChar(PyList_GetItem(obj1,i)); } else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(arg2); return NULL; } } arg2[i] = NULL; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } result = (Fl_Tree_Item *)(arg1)->find_child_item(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); { // this is a memory leak, but what the heck! // free((char*)arg2); } return resultobj; fail: { // this is a memory leak, but what the heck! // free((char*)arg2); } return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_find_child_item(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Tree_Item_find_child_item__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_find_child_item__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_find_child_item'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::find_child_item(char **) const\n" " Fl_Tree_Item::find_child_item(char **)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_find_item__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; char **arg2 = (char **) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_find_item",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_find_item" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); { /* Check if it is a list */ if (PyList_Check(obj1)) { int size = PyList_Size(obj1); int i = 0; arg2 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj1,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif { //arg2[i] = PyString_AsString(PyList_GetItem(obj1,i)); arg2[i] = SWIG_Python_str_AsChar(PyList_GetItem(obj1,i)); } else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(arg2); return NULL; } } arg2[i] = NULL; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } result = (Fl_Tree_Item *)((Fl_Tree_Item const *)arg1)->find_item(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); { // this is a memory leak, but what the heck! // free((char*)arg2); } return resultobj; fail: { // this is a memory leak, but what the heck! // free((char*)arg2); } return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_find_item__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; char **arg2 = (char **) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_find_item",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_find_item" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); { /* Check if it is a list */ if (PyList_Check(obj1)) { int size = PyList_Size(obj1); int i = 0; arg2 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj1,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif { //arg2[i] = PyString_AsString(PyList_GetItem(obj1,i)); arg2[i] = SWIG_Python_str_AsChar(PyList_GetItem(obj1,i)); } else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(arg2); return NULL; } } arg2[i] = NULL; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } result = (Fl_Tree_Item *)(arg1)->find_item(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); { // this is a memory leak, but what the heck! // free((char*)arg2); } return resultobj; fail: { // this is a memory leak, but what the heck! // free((char*)arg2); } return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_find_item(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Tree_Item_find_item__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_find_item__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_find_item'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::find_item(char **) const\n" " Fl_Tree_Item::find_item(char **)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_add__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Prefs *arg2 = 0 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_add",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_add" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_add" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Tree_Item_add" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } arg2 = reinterpret_cast< Fl_Tree_Prefs * >(argp2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Tree_Item_add" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (Fl_Tree_Item *)(arg1)->add((Fl_Tree_Prefs const &)*arg2,(char const *)arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_add__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Prefs *arg2 = 0 ; char **arg3 = (char **) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_add",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_add" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_add" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Tree_Item_add" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } arg2 = reinterpret_cast< Fl_Tree_Prefs * >(argp2); { /* Check if it is a list */ if (PyList_Check(obj2)) { int size = PyList_Size(obj2); int i = 0; arg3 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj2,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif { //arg3[i] = PyString_AsString(PyList_GetItem(obj2,i)); arg3[i] = SWIG_Python_str_AsChar(PyList_GetItem(obj2,i)); } else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(arg3); return NULL; } } arg3[i] = NULL; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } result = (Fl_Tree_Item *)(arg1)->add((Fl_Tree_Prefs const &)*arg2,arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); { // this is a memory leak, but what the heck! // free((char*)arg3); } return resultobj; fail: { // this is a memory leak, but what the heck! // free((char*)arg3); } return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_add(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_char, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Tree_Item_add__SWIG_1(self, args); } check_1: if (argc == 3) { return _wrap_Fl_Tree_Item_add__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_add'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::add(Fl_Tree_Prefs const &,char const *)\n" " Fl_Tree_Item::add(Fl_Tree_Prefs const &,char **)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Prefs *arg2 = 0 ; char *arg3 = (char *) 0 ; int arg4 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_insert",3,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_insert" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_insert" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Tree_Item_insert" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } arg2 = reinterpret_cast< Fl_Tree_Prefs * >(argp2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Tree_Item_insert" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); if (obj3) { ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Tree_Item_insert" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); } result = (Fl_Tree_Item *)(arg1)->insert((Fl_Tree_Prefs const &)*arg2,(char const *)arg3,arg4); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_insert_above(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Prefs *arg2 = 0 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_insert_above",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_insert_above" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_insert_above" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Tree_Item_insert_above" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } arg2 = reinterpret_cast< Fl_Tree_Prefs * >(argp2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Tree_Item_insert_above" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (Fl_Tree_Item *)(arg1)->insert_above((Fl_Tree_Prefs const &)*arg2,(char const *)arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_depth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_depth",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_depth" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)((Fl_Tree_Item const *)arg1)->depth(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_prev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_prev",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_prev" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Tree_Item *)(arg1)->prev(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_next",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_next" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Tree_Item *)(arg1)->next(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_next_sibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_next_sibling",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_next_sibling" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Tree_Item *)(arg1)->next_sibling(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_prev_sibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_prev_sibling",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_prev_sibling" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Tree_Item *)(arg1)->prev_sibling(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_next_displayed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Prefs *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_next_displayed",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_next_displayed" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Tree_Prefs, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_next_displayed" "', argument " "2"" of type '" "Fl_Tree_Prefs &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Tree_Item_next_displayed" "', argument " "2"" of type '" "Fl_Tree_Prefs &""'"); } arg2 = reinterpret_cast< Fl_Tree_Prefs * >(argp2); result = (Fl_Tree_Item *)(arg1)->next_displayed(*arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_prev_displayed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Prefs *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_prev_displayed",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_prev_displayed" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Tree_Prefs, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_prev_displayed" "', argument " "2"" of type '" "Fl_Tree_Prefs &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Tree_Item_prev_displayed" "', argument " "2"" of type '" "Fl_Tree_Prefs &""'"); } arg2 = reinterpret_cast< Fl_Tree_Prefs * >(argp2); result = (Fl_Tree_Item *)(arg1)->prev_displayed(*arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_parent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_parent",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_parent" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Tree_Item *)(arg1)->parent(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_parent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_parent",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_parent" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Tree_Item *)((Fl_Tree_Item const *)arg1)->parent(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_parent__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_parent",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_parent" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_parent" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); (arg1)->parent(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_parent(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Item_parent__SWIG_0(self, args); } if (argc == 1) { return _wrap_Fl_Tree_Item_parent__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_parent__SWIG_2(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_parent'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::parent()\n" " Fl_Tree_Item::parent() const\n" " Fl_Tree_Item::parent(Fl_Tree_Item *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_open(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_open",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_open" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); (arg1)->open(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_close",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_close" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); (arg1)->close(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_is_open(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_is_open",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_is_open" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)((Fl_Tree_Item const *)arg1)->is_open(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_is_close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_is_close",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_is_close" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)((Fl_Tree_Item const *)arg1)->is_close(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_open_toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_open_toggle",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_open_toggle" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); (arg1)->open_toggle(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; int arg2 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_select",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_select" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_select" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } (arg1)->select(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_select_toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_select_toggle",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_select_toggle" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); (arg1)->select_toggle(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_select_all(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_select_all",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_select_all" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)(arg1)->select_all(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_deselect",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_deselect" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); (arg1)->deselect(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_deselect_all(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_deselect_all",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_deselect_all" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)(arg1)->deselect_all(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_is_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_is_selected",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_is_selected" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (char)((Fl_Tree_Item const *)arg1)->is_selected(); { resultobj = PyInt_FromLong( (long)result); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; int arg2 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_activate",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_activate" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_Item_activate" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } (arg1)->activate(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_deactivate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_deactivate" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); (arg1)->deactivate(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_is_activated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_is_activated",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_is_activated" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (char)((Fl_Tree_Item const *)arg1)->is_activated(); { resultobj = PyInt_FromLong( (long)result); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_is_active(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_is_active",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_is_active" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (char)((Fl_Tree_Item const *)arg1)->is_active(); { resultobj = PyInt_FromLong( (long)result); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_visible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_visible",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_visible" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)((Fl_Tree_Item const *)arg1)->visible(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_visible_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_visible_r",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_visible_r" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)((Fl_Tree_Item const *)arg1)->visible_r(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_usericon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Image *arg2 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_usericon",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_usericon" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_usericon" "', argument " "2"" of type '" "Fl_Image *""'"); } arg2 = reinterpret_cast< Fl_Image * >(argp2); (arg1)->usericon(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_usericon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_usericon",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_usericon" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (Fl_Image *)((Fl_Tree_Item const *)arg1)->usericon(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_usericon(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_Item_usericon__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_usericon__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_usericon'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::usericon(Fl_Image *)\n" " Fl_Tree_Item::usericon() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_find_clicked__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Prefs *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_find_clicked",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_find_clicked" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_find_clicked" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Tree_Item_find_clicked" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } arg2 = reinterpret_cast< Fl_Tree_Prefs * >(argp2); result = (Fl_Tree_Item *)((Fl_Tree_Item const *)arg1)->find_clicked((Fl_Tree_Prefs const &)*arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_find_clicked__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Prefs *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_find_clicked",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_find_clicked" "', argument " "1"" of type '" "Fl_Tree_Item *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_find_clicked" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Tree_Item_find_clicked" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } arg2 = reinterpret_cast< Fl_Tree_Prefs * >(argp2); result = (Fl_Tree_Item *)(arg1)->find_clicked((Fl_Tree_Prefs const &)*arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_find_clicked(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Tree_Item_find_clicked__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_Item_find_clicked__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_Item_find_clicked'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree_Item::find_clicked(Fl_Tree_Prefs const &) const\n" " Fl_Tree_Item::find_clicked(Fl_Tree_Prefs const &)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_event_on_collapse_icon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Prefs *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_event_on_collapse_icon",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_event_on_collapse_icon" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_event_on_collapse_icon" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Tree_Item_event_on_collapse_icon" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } arg2 = reinterpret_cast< Fl_Tree_Prefs * >(argp2); result = (int)((Fl_Tree_Item const *)arg1)->event_on_collapse_icon((Fl_Tree_Prefs const &)*arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_event_on_label(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; Fl_Tree_Prefs *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_event_on_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_event_on_label" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Tree_Prefs, 0 | 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_Item_event_on_label" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Tree_Item_event_on_label" "', argument " "2"" of type '" "Fl_Tree_Prefs const &""'"); } arg2 = reinterpret_cast< Fl_Tree_Prefs * >(argp2); result = (int)((Fl_Tree_Item const *)arg1)->event_on_label((Fl_Tree_Prefs const &)*arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_Item_is_root(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree_Item *arg1 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_Item_is_root",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_Item_is_root" "', argument " "1"" of type '" "Fl_Tree_Item const *""'"); } arg1 = reinterpret_cast< Fl_Tree_Item * >(argp1); result = (int)((Fl_Tree_Item const *)arg1)->is_root(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Tree_Item_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Tree_Item, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Tree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Tree *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Tree",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Tree" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Tree" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Tree" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Tree" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Tree" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Tree *)new SwigDirector_Fl_Tree(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Tree *)new Fl_Tree(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Tree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Tree",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Tree" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_handle" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Tree::handle(arg2); } else { result = (int)(arg1)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_draw" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Tree::draw(); } else { (arg1)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_root_label(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_root_label",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_root_label" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_root_label" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); (arg1)->root_label((char const *)arg2); resultobj = SWIG_Py_Void(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_root(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_root",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_root" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Tree_Item *)(arg1)->root(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_add__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_add",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_add" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_add" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (Fl_Tree_Item *)(arg1)->add((char const *)arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_add__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_add",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_add" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_add" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Tree_add" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (Fl_Tree_Item *)(arg1)->add(arg2,(char const *)arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_add(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Tree_add__SWIG_0(self, args); } if (argc == 3) { return _wrap_Fl_Tree_add__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_add'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::add(char const *)\n" " Fl_Tree::add(Fl_Tree_Item *,char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_insert_above(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_insert_above",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_insert_above" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_insert_above" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Tree_insert_above" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (Fl_Tree_Item *)(arg1)->insert_above(arg2,(char const *)arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; char *arg3 = (char *) 0 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_insert",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_insert" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_insert" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Tree_insert" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Tree_insert" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); result = (Fl_Tree_Item *)(arg1)->insert(arg2,(char const *)arg3,arg4); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_remove",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_remove" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_remove" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); result = (int)(arg1)->remove(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_clear" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_clear_children(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_clear_children",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_clear_children" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_clear_children" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); (arg1)->clear_children(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_find_item__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_find_item",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_find_item" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_find_item" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (Fl_Tree_Item *)(arg1)->find_item((char const *)arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_find_item__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_find_item",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_find_item" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_find_item" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (Fl_Tree_Item *)((Fl_Tree const *)arg1)->find_item((char const *)arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_find_item(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Tree_find_item__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_find_item__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_find_item'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::find_item(char const *)\n" " Fl_Tree::find_item(char const *) const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_pathname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; Fl_Tree_Item *arg4 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_item_pathname",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_item_pathname" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_item_pathname" "', argument " "2"" of type '" "char *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_item_pathname" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Tree_item_pathname" "', argument " "4"" of type '" "Fl_Tree_Item const *""'"); } arg4 = reinterpret_cast< Fl_Tree_Item * >(argp4); result = (int)((Fl_Tree const *)arg1)->item_pathname(arg2,arg3,(Fl_Tree_Item const *)arg4); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_find_clicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_find_clicked",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_find_clicked" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Tree_Item *)((Fl_Tree const *)arg1)->find_clicked(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_clicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_item_clicked",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_item_clicked" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Tree_Item *)(arg1)->item_clicked(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_first(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_first",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_first" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Tree_Item *)(arg1)->first(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_next",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_next" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); if (obj1) { res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_next" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); } result = (Fl_Tree_Item *)(arg1)->next(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_prev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_prev",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_prev" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); if (obj1) { res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_prev" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); } result = (Fl_Tree_Item *)(arg1)->prev(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_last(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_last",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_last" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Tree_Item *)(arg1)->last(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_first_selected_item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_first_selected_item",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_first_selected_item" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Tree_Item *)(arg1)->first_selected_item(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_next_selected_item(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_next_selected_item",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_next_selected_item" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); if (obj1) { res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_next_selected_item" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); } result = (Fl_Tree_Item *)(arg1)->next_selected_item(arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_open__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_open",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_open" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_open" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_open" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->open(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_open__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; char *arg2 = (char *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_open",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_open" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_open" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_open" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->open((char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_open(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 2) && (argc <= 3)) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Tree_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Tree_open__SWIG_0(self, args); } check_1: if ((argc >= 2) && (argc <= 3)) { return _wrap_Fl_Tree_open__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_open'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::open(Fl_Tree_Item *,int)\n" " Fl_Tree::open(char const *,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_open_toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_open_toggle",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_open_toggle" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_open_toggle" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_open_toggle" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } (arg1)->open_toggle(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_close__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_close",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_close" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_close" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_close" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->close(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_close__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; char *arg2 = (char *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_close",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_close" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_close" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_close" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->close((char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_close(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 2) && (argc <= 3)) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Tree_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Tree_close__SWIG_0(self, args); } check_1: if ((argc >= 2) && (argc <= 3)) { return _wrap_Fl_Tree_close__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_close'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::close(Fl_Tree_Item *,int)\n" " Fl_Tree::close(char const *,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_is_open__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_is_open",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_is_open" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_is_open" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); result = (int)((Fl_Tree const *)arg1)->is_open(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_is_open__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_is_open",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_is_open" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_is_open" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)((Fl_Tree const *)arg1)->is_open((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_is_open(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Tree_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Tree_is_open__SWIG_0(self, args); } check_1: if (argc == 2) { return _wrap_Fl_Tree_is_open__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_is_open'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::is_open(Fl_Tree_Item *) const\n" " Fl_Tree::is_open(char const *) const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_is_close__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_is_close",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_is_close" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_is_close" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); result = (int)((Fl_Tree const *)arg1)->is_close(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_is_close__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_is_close",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_is_close" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_is_close" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)((Fl_Tree const *)arg1)->is_close((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_is_close(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Tree_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Tree_is_close__SWIG_0(self, args); } check_1: if (argc == 2) { return _wrap_Fl_Tree_is_close__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_is_close'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::is_close(Fl_Tree_Item *) const\n" " Fl_Tree::is_close(char const *) const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_select__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_select",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_select" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_select" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_select" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->select(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_select__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; char *arg2 = (char *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_select",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_select" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_select" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_select" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->select((char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_select(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 2) && (argc <= 3)) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Tree_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Tree_select__SWIG_0(self, args); } check_1: if ((argc >= 2) && (argc <= 3)) { return _wrap_Fl_Tree_select__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_select'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::select(Fl_Tree_Item *,int)\n" " Fl_Tree::select(char const *,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_select_toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_select_toggle",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_select_toggle" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_select_toggle" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_select_toggle" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } (arg1)->select_toggle(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_deselect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_deselect",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_deselect" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_deselect" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_deselect" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->deselect(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_deselect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; char *arg2 = (char *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_deselect",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_deselect" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_deselect" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_deselect" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->deselect((char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_deselect(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if ((argc >= 2) && (argc <= 3)) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Tree_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Tree_deselect__SWIG_0(self, args); } check_1: if ((argc >= 2) && (argc <= 3)) { return _wrap_Fl_Tree_deselect__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_deselect'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::deselect(Fl_Tree_Item *,int)\n" " Fl_Tree::deselect(char const *,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_deselect_all(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_deselect_all",1,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_deselect_all" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); if (obj1) { res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_deselect_all" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); } if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_deselect_all" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->deselect_all(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_select_only(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_select_only",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_select_only" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_select_only" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_select_only" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->select_only(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_select_all(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_select_all",1,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_select_all" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); if (obj1) { res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_select_all" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); } if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_select_all" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->select_all(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_set_item_focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_set_item_focus",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_set_item_focus" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_set_item_focus" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); (arg1)->set_item_focus(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_is_selected__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_is_selected",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_is_selected" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_is_selected" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); result = (int)((Fl_Tree const *)arg1)->is_selected(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_is_selected__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_is_selected",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_is_selected" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_is_selected" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)(arg1)->is_selected((char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_is_selected(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Fl_Tree_Item, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Tree_is_selected__SWIG_0(self, args); } check_1: if (argc == 2) { return _wrap_Fl_Tree_is_selected__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_is_selected'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::is_selected(Fl_Tree_Item *) const\n" " Fl_Tree::is_selected(char const *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_show_self(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_show_self",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_show_self" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); (arg1)->show_self(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_labelsize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Fontsize result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_item_labelsize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_item_labelsize" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Fontsize)((Fl_Tree const *)arg1)->item_labelsize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_labelsize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Fontsize arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_item_labelsize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_item_labelsize" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_item_labelsize" "', argument " "2"" of type '" "Fl_Fontsize""'"); } arg2 = static_cast< Fl_Fontsize >(val2); (arg1)->item_labelsize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_labelsize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_item_labelsize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_item_labelsize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_item_labelsize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::item_labelsize() const\n" " Fl_Tree::item_labelsize(Fl_Fontsize)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_labelfont__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Font result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_item_labelfont",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_item_labelfont" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Font)((Fl_Tree const *)arg1)->item_labelfont(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_labelfont__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Font arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_item_labelfont",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_item_labelfont" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_item_labelfont" "', argument " "2"" of type '" "Fl_Font""'"); } arg2 = static_cast< Fl_Font >(val2); (arg1)->item_labelfont(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_labelfont(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_item_labelfont__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_item_labelfont__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_item_labelfont'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::item_labelfont() const\n" " Fl_Tree::item_labelfont(Fl_Font)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_labelfgcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_item_labelfgcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_item_labelfgcolor" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Color)((Fl_Tree const *)arg1)->item_labelfgcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_labelfgcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_item_labelfgcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_item_labelfgcolor" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_item_labelfgcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->item_labelfgcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_labelfgcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_item_labelfgcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_item_labelfgcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_item_labelfgcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::item_labelfgcolor() const\n" " Fl_Tree::item_labelfgcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_labelbgcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_item_labelbgcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_item_labelbgcolor" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Color)((Fl_Tree const *)arg1)->item_labelbgcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_labelbgcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_item_labelbgcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_item_labelbgcolor" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_item_labelbgcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->item_labelbgcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_item_labelbgcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_item_labelbgcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_item_labelbgcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_item_labelbgcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::item_labelbgcolor() const\n" " Fl_Tree::item_labelbgcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_connectorcolor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_connectorcolor",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_connectorcolor" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Color)((Fl_Tree const *)arg1)->connectorcolor(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_connectorcolor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_connectorcolor",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_connectorcolor" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_connectorcolor" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->connectorcolor(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_connectorcolor(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_connectorcolor__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_connectorcolor__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_connectorcolor'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::connectorcolor() const\n" " Fl_Tree::connectorcolor(Fl_Color)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_marginleft__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_marginleft",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_marginleft" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (int)((Fl_Tree const *)arg1)->marginleft(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_marginleft__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_marginleft",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_marginleft" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_marginleft" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->marginleft(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_marginleft(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_marginleft__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_marginleft__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_marginleft'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::marginleft() const\n" " Fl_Tree::marginleft(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_margintop__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_margintop",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_margintop" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (int)((Fl_Tree const *)arg1)->margintop(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_margintop__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_margintop",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_margintop" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_margintop" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->margintop(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_margintop(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_margintop__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_margintop__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_margintop'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::margintop() const\n" " Fl_Tree::margintop(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_openchild_marginbottom__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_openchild_marginbottom",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_openchild_marginbottom" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (int)((Fl_Tree const *)arg1)->openchild_marginbottom(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_openchild_marginbottom__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_openchild_marginbottom",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_openchild_marginbottom" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_openchild_marginbottom" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->openchild_marginbottom(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_openchild_marginbottom(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_openchild_marginbottom__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_openchild_marginbottom__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_openchild_marginbottom'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::openchild_marginbottom() const\n" " Fl_Tree::openchild_marginbottom(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_connectorwidth__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_connectorwidth",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_connectorwidth" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (int)((Fl_Tree const *)arg1)->connectorwidth(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_connectorwidth__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_connectorwidth",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_connectorwidth" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_connectorwidth" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->connectorwidth(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_connectorwidth(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_connectorwidth__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_connectorwidth__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_connectorwidth'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::connectorwidth() const\n" " Fl_Tree::connectorwidth(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_usericon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_usericon",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_usericon" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Image *)((Fl_Tree const *)arg1)->usericon(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_usericon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Image *arg2 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_usericon",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_usericon" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_usericon" "', argument " "2"" of type '" "Fl_Image *""'"); } arg2 = reinterpret_cast< Fl_Image * >(argp2); (arg1)->usericon(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_usericon(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_usericon__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_usericon__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_usericon'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::usericon() const\n" " Fl_Tree::usericon(Fl_Image *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_openicon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_openicon",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_openicon" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Image *)((Fl_Tree const *)arg1)->openicon(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_openicon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Image *arg2 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_openicon",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_openicon" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_openicon" "', argument " "2"" of type '" "Fl_Image *""'"); } arg2 = reinterpret_cast< Fl_Image * >(argp2); (arg1)->openicon(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_openicon(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_openicon__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_openicon__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_openicon'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::openicon() const\n" " Fl_Tree::openicon(Fl_Image *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_closeicon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Image *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_closeicon",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_closeicon" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Image *)((Fl_Tree const *)arg1)->closeicon(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Image, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_closeicon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Image *arg2 = (Fl_Image *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_closeicon",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_closeicon" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Image, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_closeicon" "', argument " "2"" of type '" "Fl_Image *""'"); } arg2 = reinterpret_cast< Fl_Image * >(argp2); (arg1)->closeicon(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_closeicon(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_closeicon__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_closeicon__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_closeicon'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::closeicon() const\n" " Fl_Tree::closeicon(Fl_Image *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_showcollapse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_showcollapse",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_showcollapse" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (int)((Fl_Tree const *)arg1)->showcollapse(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_showcollapse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_showcollapse",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_showcollapse" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_showcollapse" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->showcollapse(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_showcollapse(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_showcollapse__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_showcollapse__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_showcollapse'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::showcollapse() const\n" " Fl_Tree::showcollapse(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_showroot__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_showroot",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_showroot" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (int)((Fl_Tree const *)arg1)->showroot(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_showroot__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_showroot",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_showroot" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_showroot" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->showroot(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_showroot(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_showroot__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_showroot__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_showroot'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::showroot() const\n" " Fl_Tree::showroot(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_connectorstyle__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Connector result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_connectorstyle",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_connectorstyle" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Tree_Connector)((Fl_Tree const *)arg1)->connectorstyle(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_connectorstyle__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Connector arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_connectorstyle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_connectorstyle" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_connectorstyle" "', argument " "2"" of type '" "Fl_Tree_Connector""'"); } arg2 = static_cast< Fl_Tree_Connector >(val2); (arg1)->connectorstyle(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_connectorstyle(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_connectorstyle__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_connectorstyle__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_connectorstyle'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::connectorstyle() const\n" " Fl_Tree::connectorstyle(Fl_Tree_Connector)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_sortorder__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Sort result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_sortorder",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_sortorder" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Tree_Sort)((Fl_Tree const *)arg1)->sortorder(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_sortorder__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Sort arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_sortorder",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_sortorder" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_sortorder" "', argument " "2"" of type '" "Fl_Tree_Sort""'"); } arg2 = static_cast< Fl_Tree_Sort >(val2); (arg1)->sortorder(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_sortorder(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_sortorder__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_sortorder__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_sortorder'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::sortorder() const\n" " Fl_Tree::sortorder(Fl_Tree_Sort)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_selectbox__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Boxtype result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_selectbox",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_selectbox" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Boxtype)((Fl_Tree const *)arg1)->selectbox(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_selectbox__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Boxtype arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_selectbox",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_selectbox" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_selectbox" "', argument " "2"" of type '" "Fl_Boxtype""'"); } arg2 = static_cast< Fl_Boxtype >(val2); (arg1)->selectbox(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_selectbox(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_selectbox__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_selectbox__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_selectbox'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::selectbox() const\n" " Fl_Tree::selectbox(Fl_Boxtype)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_selectmode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Select result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_selectmode",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_selectmode" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Tree_Select)((Fl_Tree const *)arg1)->selectmode(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_selectmode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Select arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_selectmode",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_selectmode" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_selectmode" "', argument " "2"" of type '" "Fl_Tree_Select""'"); } arg2 = static_cast< Fl_Tree_Select >(val2); (arg1)->selectmode(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_selectmode(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_selectmode__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_selectmode__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_selectmode'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::selectmode() const\n" " Fl_Tree::selectmode(Fl_Tree_Select)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_displayed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_displayed",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_displayed" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_displayed" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); result = (int)(arg1)->displayed(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_show_item__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_show_item",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_show_item" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_show_item" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Tree_show_item" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->show_item(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_show_item__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_show_item",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_show_item" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_show_item" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); (arg1)->show_item(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_show_item(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Tree_show_item__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Tree_show_item__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_show_item'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::show_item(Fl_Tree_Item *,int)\n" " Fl_Tree::show_item(Fl_Tree_Item *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_show_item_bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_show_item_bottom",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_show_item_bottom" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_show_item_bottom" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); (arg1)->show_item_bottom(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_show_item_middle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_show_item_middle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_show_item_middle" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_show_item_middle" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); (arg1)->show_item_middle(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_show_item_top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_show_item_top",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_show_item_top" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_show_item_top" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); (arg1)->show_item_top(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_display(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_display",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_display" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_display" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); (arg1)->display(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_vposition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_vposition",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_vposition" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (int)((Fl_Tree const *)arg1)->vposition(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_vposition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_vposition",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_vposition" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_vposition" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->vposition(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_vposition(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_vposition__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_vposition__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_vposition'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::vposition() const\n" " Fl_Tree::vposition(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_is_scrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_is_scrollbar",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_is_scrollbar" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_is_scrollbar" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); result = (int)(arg1)->is_scrollbar(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_scrollbar_size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_scrollbar_size",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_scrollbar_size" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (int)((Fl_Tree const *)arg1)->scrollbar_size(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_scrollbar_size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_scrollbar_size",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_scrollbar_size" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_scrollbar_size" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->scrollbar_size(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_scrollbar_size(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_scrollbar_size__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Tree_scrollbar_size__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_scrollbar_size'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::scrollbar_size() const\n" " Fl_Tree::scrollbar_size(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_callback_item__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Item *arg2 = (Fl_Tree_Item *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_callback_item",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_callback_item" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_callback_item" "', argument " "2"" of type '" "Fl_Tree_Item *""'"); } arg2 = reinterpret_cast< Fl_Tree_Item * >(argp2); (arg1)->callback_item(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_callback_item__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Item *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_callback_item",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_callback_item" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Tree_Item *)(arg1)->callback_item(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Tree_Item, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_callback_item(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_callback_item__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_callback_item__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_callback_item'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::callback_item(Fl_Tree_Item *)\n" " Fl_Tree::callback_item()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_callback_reason__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Tree_Reason arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_callback_reason",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_callback_reason" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Tree_callback_reason" "', argument " "2"" of type '" "Fl_Tree_Reason""'"); } arg2 = static_cast< Fl_Tree_Reason >(val2); (arg1)->callback_reason(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_callback_reason__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Tree_Reason result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_callback_reason",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_callback_reason" "', argument " "1"" of type '" "Fl_Tree const *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); result = (Fl_Tree_Reason)((Fl_Tree const *)arg1)->callback_reason(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Tree_callback_reason(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Tree_callback_reason__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Tree_callback_reason__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Tree_callback_reason'.\n" " Possible C/C++ prototypes are:\n" " Fl_Tree::callback_reason(Fl_Tree_Reason)\n" " Fl_Tree::callback_reason() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Tree_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; Fl_Preferences *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Tree_load",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Tree_load" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Preferences, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Tree_load" "', argument " "2"" of type '" "Fl_Preferences &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Tree_load" "', argument " "2"" of type '" "Fl_Preferences &""'"); } arg2 = reinterpret_cast< Fl_Preferences * >(argp2); (arg1)->load(*arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Tree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Tree *arg1 = (Fl_Tree *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Tree",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Tree, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Tree" "', argument " "1"" of type '" "Fl_Tree *""'"); } arg1 = reinterpret_cast< Fl_Tree * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Tree_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Tree, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_new_Fl_Paged_Device(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; PyObject * obj0 = 0 ; Fl_Paged_Device *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Paged_Device",1,1,&obj0)) SWIG_fail; arg1 = obj0; if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Paged_Device *)new SwigDirector_Fl_Paged_Device(arg1); } else { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing abstract class or protected constructor"); SWIG_fail; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Paged_Device, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_class_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_class_name",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_class_name" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); result = (char *)(arg1)->class_name(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_start_job(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; int arg2 ; int *arg3 = (int *) NULL ; int *arg4 = (int *) NULL ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_start_job",2,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_start_job" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Paged_Device_start_job" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); if (obj2) { res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Paged_Device_start_job" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); } if (obj3) { res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Paged_Device_start_job" "', argument " "4"" of type '" "int *""'"); } arg4 = reinterpret_cast< int * >(argp4); } director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Paged_Device::start_job(arg2,arg3,arg4); } else { result = (int)(arg1)->start_job(arg2,arg3,arg4); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_start_page(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_start_page",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_start_page" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Paged_Device::start_page(); } else { result = (int)(arg1)->start_page(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_printable_rect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_printable_rect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_printable_rect" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Paged_Device_printable_rect" "', argument " "2"" of type '" "int *""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Paged_Device_printable_rect" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Paged_Device::printable_rect(arg2,arg3); } else { result = (int)(arg1)->printable_rect(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_margins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; int *arg4 = (int *) 0 ; int *arg5 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_margins",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_margins" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Paged_Device_margins" "', argument " "2"" of type '" "int *""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Paged_Device_margins" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Paged_Device_margins" "', argument " "4"" of type '" "int *""'"); } arg4 = reinterpret_cast< int * >(argp4); res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Fl_Paged_Device_margins" "', argument " "5"" of type '" "int *""'"); } arg5 = reinterpret_cast< int * >(argp5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Paged_Device::margins(arg2,arg3,arg4,arg5); } else { (arg1)->margins(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_origin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_origin",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_origin" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Paged_Device_origin" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Paged_Device_origin" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Paged_Device::origin(arg2,arg3); } else { (arg1)->origin(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_origin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_origin",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_origin" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Paged_Device_origin" "', argument " "2"" of type '" "int *""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Paged_Device_origin" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Paged_Device::origin(arg2,arg3); } else { (arg1)->origin(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_origin(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Paged_Device_origin__SWIG_1(self, args); } check_1: if (argc == 3) { return _wrap_Fl_Paged_Device_origin__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Paged_Device_origin'.\n" " Possible C/C++ prototypes are:\n" " Fl_Paged_Device::origin(int,int)\n" " Fl_Paged_Device::origin(int *,int *)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_scale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; float arg2 ; float arg3 = (float) 0. ; void *argp1 = 0 ; int res1 = 0 ; float val2 ; int ecode2 = 0 ; float val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_scale",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_scale" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); ecode2 = SWIG_AsVal_float(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Paged_Device_scale" "', argument " "2"" of type '" "float""'"); } arg2 = static_cast< float >(val2); if (obj2) { ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Paged_Device_scale" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); } director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Paged_Device::scale(arg2,arg3); } else { (arg1)->scale(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_rotate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; float arg2 ; void *argp1 = 0 ; int res1 = 0 ; float val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_rotate",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_rotate" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); ecode2 = SWIG_AsVal_float(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Paged_Device_rotate" "', argument " "2"" of type '" "float""'"); } arg2 = static_cast< float >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Paged_Device::rotate(arg2); } else { (arg1)->rotate(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_translate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_translate",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_translate" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Paged_Device_translate" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Paged_Device_translate" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Paged_Device::translate(arg2,arg3); } else { (arg1)->translate(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_untranslate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_untranslate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_untranslate" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Paged_Device::untranslate(); } else { (arg1)->untranslate(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_print_widget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; int arg3 = (int) 0 ; int arg4 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_print_widget",2,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_print_widget" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Paged_Device_print_widget" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Paged_Device_print_widget" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } if (obj3) { ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Paged_Device_print_widget" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); } director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Paged_Device::print_widget(arg2,arg3,arg4); } else { (arg1)->print_widget(arg2,arg3,arg4); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_print_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; Fl_Window *arg2 = (Fl_Window *) 0 ; int arg3 = (int) 0 ; int arg4 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_print_window",2,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_print_window" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Paged_Device_print_window" "', argument " "2"" of type '" "Fl_Window *""'"); } arg2 = reinterpret_cast< Fl_Window * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Paged_Device_print_window" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } if (obj3) { ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Paged_Device_print_window" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); } (arg1)->print_window(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_print_window_part(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; Fl_Window *arg2 = (Fl_Window *) 0 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; int arg7 = (int) 0 ; int arg8 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; int val8 ; int ecode8 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_print_window_part",6,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_print_window_part" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Paged_Device_print_window_part" "', argument " "2"" of type '" "Fl_Window *""'"); } arg2 = reinterpret_cast< Fl_Window * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Paged_Device_print_window_part" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Paged_Device_print_window_part" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Paged_Device_print_window_part" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Paged_Device_print_window_part" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Paged_Device_print_window_part" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } if (obj7) { ecode8 = SWIG_AsVal_int(obj7, &val8); if (!SWIG_IsOK(ecode8)) { SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Fl_Paged_Device_print_window_part" "', argument " "8"" of type '" "int""'"); } arg8 = static_cast< int >(val8); } director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Paged_Device::print_window_part(arg2,arg3,arg4,arg5,arg6,arg7,arg8); } else { (arg1)->print_window_part(arg2,arg3,arg4,arg5,arg6,arg7,arg8); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_end_page(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_end_page",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_end_page" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Paged_Device::end_page(); } else { result = (int)(arg1)->end_page(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Paged_Device_end_job(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Paged_Device_end_job",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Paged_Device_end_job" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Paged_Device::end_job(); } else { (arg1)->end_job(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Paged_Device(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Paged_Device *arg1 = (Fl_Paged_Device *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Paged_Device",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Paged_Device, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Paged_Device" "', argument " "1"" of type '" "Fl_Paged_Device *""'"); } arg1 = reinterpret_cast< Fl_Paged_Device * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Paged_Device_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Paged_Device, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Printer_class_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_class_name",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_class_name" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); result = (char *)(arg1)->class_name(); resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; PyObject * obj0 = 0 ; Fl_Printer *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Printer",1,1,&obj0)) SWIG_fail; arg1 = obj0; if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Printer *)new SwigDirector_Fl_Printer(arg1); } else { result = (Fl_Printer *)new Fl_Printer(); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Printer, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_start_job(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; int arg2 ; int *arg3 = (int *) NULL ; int *arg4 = (int *) NULL ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_start_job",2,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_start_job" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Printer_start_job" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); if (obj2) { res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Printer_start_job" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); } if (obj3) { res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Printer_start_job" "', argument " "4"" of type '" "int *""'"); } arg4 = reinterpret_cast< int * >(argp4); } director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Printer::start_job(arg2,arg3,arg4); } else { result = (int)(arg1)->start_job(arg2,arg3,arg4); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_start_page(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_start_page",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_start_page" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Printer::start_page(); } else { result = (int)(arg1)->start_page(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_printable_rect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_printable_rect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_printable_rect" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Printer_printable_rect" "', argument " "2"" of type '" "int *""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Printer_printable_rect" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Printer::printable_rect(arg2,arg3); } else { result = (int)(arg1)->printable_rect(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_margins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; int *arg4 = (int *) 0 ; int *arg5 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; void *argp5 = 0 ; int res5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_margins",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_margins" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Printer_margins" "', argument " "2"" of type '" "int *""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Printer_margins" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Fl_Printer_margins" "', argument " "4"" of type '" "int *""'"); } arg4 = reinterpret_cast< int * >(argp4); res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Fl_Printer_margins" "', argument " "5"" of type '" "int *""'"); } arg5 = reinterpret_cast< int * >(argp5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Printer::margins(arg2,arg3,arg4,arg5); } else { (arg1)->margins(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_origin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_origin",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_origin" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Printer_origin" "', argument " "2"" of type '" "int *""'"); } arg2 = reinterpret_cast< int * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Printer_origin" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Printer::origin(arg2,arg3); } else { (arg1)->origin(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_origin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_origin",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_origin" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Printer_origin" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Printer_origin" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Printer::origin(arg2,arg3); } else { (arg1)->origin(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_origin(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v = 0; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); _v = SWIG_CheckState(res); } if (!_v) goto check_1; return _wrap_Fl_Printer_origin__SWIG_0(self, args); } check_1: if (argc == 3) { return _wrap_Fl_Printer_origin__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Printer_origin'.\n" " Possible C/C++ prototypes are:\n" " Fl_Printer::origin(int *,int *)\n" " Fl_Printer::origin(int,int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Printer_scale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; float arg2 ; float arg3 = (float) 0. ; void *argp1 = 0 ; int res1 = 0 ; float val2 ; int ecode2 = 0 ; float val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_scale",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_scale" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); ecode2 = SWIG_AsVal_float(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Printer_scale" "', argument " "2"" of type '" "float""'"); } arg2 = static_cast< float >(val2); if (obj2) { ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Printer_scale" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); } director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Printer::scale(arg2,arg3); } else { (arg1)->scale(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_rotate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; float arg2 ; void *argp1 = 0 ; int res1 = 0 ; float val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_rotate",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_rotate" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); ecode2 = SWIG_AsVal_float(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Printer_rotate" "', argument " "2"" of type '" "float""'"); } arg2 = static_cast< float >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Printer::rotate(arg2); } else { (arg1)->rotate(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_translate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_translate",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_translate" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Printer_translate" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Printer_translate" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Printer::translate(arg2,arg3); } else { (arg1)->translate(arg2,arg3); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_untranslate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_untranslate",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_untranslate" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Printer::untranslate(); } else { (arg1)->untranslate(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_end_page(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_end_page",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_end_page" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { result = (int)(arg1)->Fl_Printer::end_page(); } else { result = (int)(arg1)->end_page(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_end_job(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_end_job",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_end_job" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Printer::end_job(); } else { (arg1)->end_job(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_print_widget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; int arg3 = (int) 0 ; int arg4 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_print_widget",2,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_print_widget" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Printer_print_widget" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Printer_print_widget" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } if (obj3) { ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Printer_print_widget" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); } director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Printer::print_widget(arg2,arg3,arg4); } else { (arg1)->print_widget(arg2,arg3,arg4); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_print_window_part(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; Fl_Window *arg2 = (Fl_Window *) 0 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; int arg7 = (int) 0 ; int arg8 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; int val8 ; int ecode8 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_print_window_part",6,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_print_window_part" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Window, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Printer_print_window_part" "', argument " "2"" of type '" "Fl_Window *""'"); } arg2 = reinterpret_cast< Fl_Window * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Printer_print_window_part" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Printer_print_window_part" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Printer_print_window_part" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Printer_print_window_part" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Printer_print_window_part" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } if (obj7) { ecode8 = SWIG_AsVal_int(obj7, &val8); if (!SWIG_IsOK(ecode8)) { SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Fl_Printer_print_window_part" "', argument " "8"" of type '" "int""'"); } arg8 = static_cast< int >(val8); } director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Printer::print_window_part(arg2,arg3,arg4,arg5,arg6,arg7,arg8); } else { (arg1)->print_window_part(arg2,arg3,arg4,arg5,arg6,arg7,arg8); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_set_current(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_set_current",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_set_current" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); (arg1)->set_current(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Printer_driver(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Graphics_Driver *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Printer_driver",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Printer_driver" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); result = (Fl_Graphics_Driver *)(arg1)->driver(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Graphics_Driver, 0 | 0 ); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Printer",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Printer" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Printer *arg1 = (Fl_Printer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Printer",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Printer, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Printer" "', argument " "1"" of type '" "Fl_Printer *""'"); } arg1 = reinterpret_cast< Fl_Printer * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Printer, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_fl_utf8bytes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_utf8bytes",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_utf8bytes" "', argument " "1"" of type '" "unsigned int""'"); } arg1 = static_cast< unsigned int >(val1); result = (int)fl_utf8bytes(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_utf8len(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char arg1 ; char val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_utf8len",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_char(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_utf8len" "', argument " "1"" of type '" "char""'"); } arg1 = static_cast< char >(val1); result = (int)fl_utf8len(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_utf_nb_char(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; unsigned char *arg1 = (unsigned char *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_utf_nb_char",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_unsigned_char, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf_nb_char" "', argument " "1"" of type '" "unsigned char const *""'"); } arg1 = reinterpret_cast< unsigned char * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_utf_nb_char" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)fl_utf_nb_char((unsigned char const *)arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_utf8decode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int *arg3 = (int *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"fl_utf8decode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf8decode" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_utf8decode" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_utf8decode" "', argument " "3"" of type '" "int *""'"); } arg3 = reinterpret_cast< int * >(argp3); result = (unsigned int)fl_utf8decode((char const *)arg1,(char const *)arg2,arg3); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_utf8encode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; unsigned int arg1 ; char *arg2 = (char *) 0 ; unsigned int val1 ; int ecode1 = 0 ; char temp2 ; int res2 = SWIG_TMPOBJ ; PyObject * obj0 = 0 ; int result; arg2 = &temp2; if(!PyArg_UnpackTuple(args,(char *)"fl_utf8encode",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_utf8encode" "', argument " "1"" of type '" "unsigned int""'"); } arg1 = static_cast< unsigned int >(val1); result = (int)fl_utf8encode(arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_char((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_char, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_utf8fwd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_utf8fwd",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf8fwd" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_utf8fwd" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_utf8fwd" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (char *)fl_utf8fwd((char const *)arg1,(char const *)arg2,(char const *)arg3); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_fl_utf8back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_utf8back",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf8back" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_utf8back" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_utf8back" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (char *)fl_utf8back((char const *)arg1,(char const *)arg2,(char const *)arg3); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_fl_utf8toUtf16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; unsigned int arg2 ; unsigned short *arg3 = (unsigned short *) 0 ; unsigned int arg4 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; unsigned short temp3 ; int res3 = SWIG_TMPOBJ ; unsigned int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; unsigned int result; arg3 = &temp3; if(!PyArg_UnpackTuple(args,(char *)"fl_utf8toUtf16",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf8toUtf16" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_utf8toUtf16" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); ecode4 = SWIG_AsVal_unsigned_SS_int(obj2, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_utf8toUtf16" "', argument " "4"" of type '" "unsigned int""'"); } arg4 = static_cast< unsigned int >(val4); result = (unsigned int)fl_utf8toUtf16((char const *)arg1,arg2,arg3,arg4); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_short((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_short, new_flags)); } if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_utf8toa(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; unsigned int arg2 ; char *arg3 = (char *) 0 ; unsigned int arg4 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; char temp3 ; int res3 = SWIG_TMPOBJ ; unsigned int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; unsigned int result; arg3 = &temp3; if(!PyArg_UnpackTuple(args,(char *)"fl_utf8toa",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf8toa" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_utf8toa" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); ecode4 = SWIG_AsVal_unsigned_SS_int(obj2, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_utf8toa" "', argument " "4"" of type '" "unsigned int""'"); } arg4 = static_cast< unsigned int >(val4); result = (unsigned int)fl_utf8toa((char const *)arg1,arg2,arg3,arg4); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_char((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_char, new_flags)); } if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_utf8froma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; unsigned int arg2 ; char *arg3 = (char *) 0 ; unsigned int arg4 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; unsigned int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"fl_utf8froma",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf8froma" "', argument " "1"" of type '" "char *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_utf8froma" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_utf8froma" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_utf8froma" "', argument " "4"" of type '" "unsigned int""'"); } arg4 = static_cast< unsigned int >(val4); result = (unsigned int)fl_utf8froma(arg1,arg2,(char const *)arg3,arg4); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_fl_utf8locale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int result; result = (int)fl_utf8locale(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_utf8test(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; unsigned int arg2 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_utf8test",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf8test" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_utf8test" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); result = (int)fl_utf8test((char const *)arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_nonspacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"fl_nonspacing",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_nonspacing" "', argument " "1"" of type '" "unsigned int""'"); } arg1 = static_cast< unsigned int >(val1); result = (unsigned int)fl_nonspacing(arg1); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_utf8to_mb(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; unsigned int arg2 ; char *arg3 = (char *) 0 ; unsigned int arg4 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; unsigned int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"fl_utf8to_mb",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf8to_mb" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_utf8to_mb" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_utf8to_mb" "', argument " "3"" of type '" "char *""'"); } arg3 = reinterpret_cast< char * >(buf3); ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_utf8to_mb" "', argument " "4"" of type '" "unsigned int""'"); } arg4 = static_cast< unsigned int >(val4); result = (unsigned int)fl_utf8to_mb((char const *)arg1,arg2,arg3,arg4); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_fl_utf2mbcs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_utf2mbcs",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf2mbcs" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (char *)fl_utf2mbcs((char const *)arg1); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_utf8from_mb(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; unsigned int arg2 ; char *arg3 = (char *) 0 ; unsigned int arg4 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; unsigned int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; unsigned int result; if(!PyArg_UnpackTuple(args,(char *)"fl_utf8from_mb",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf8from_mb" "', argument " "1"" of type '" "char *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_utf8from_mb" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_utf8from_mb" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fl_utf8from_mb" "', argument " "4"" of type '" "unsigned int""'"); } arg4 = static_cast< unsigned int >(val4); result = (unsigned int)fl_utf8from_mb(arg1,arg2,(char const *)arg3,arg4); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_fl_utf_strncasecmp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_utf_strncasecmp",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf_strncasecmp" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_utf_strncasecmp" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fl_utf_strncasecmp" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)fl_utf_strncasecmp((char const *)arg1,(char const *)arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_utf_strcasecmp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_utf_strcasecmp",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf_strcasecmp" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_utf_strcasecmp" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)fl_utf_strcasecmp((char const *)arg1,(char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_tolower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_tolower",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_tolower" "', argument " "1"" of type '" "unsigned int""'"); } arg1 = static_cast< unsigned int >(val1); result = (int)fl_tolower(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_toupper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; unsigned int arg1 ; unsigned int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_toupper",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "fl_toupper" "', argument " "1"" of type '" "unsigned int""'"); } arg1 = static_cast< unsigned int >(val1); result = (int)fl_toupper(arg1); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_utf_tolower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; unsigned char *arg1 = (unsigned char *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; char temp3 ; int res3 = SWIG_TMPOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; arg3 = &temp3; if(!PyArg_UnpackTuple(args,(char *)"fl_utf_tolower",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_unsigned_char, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf_tolower" "', argument " "1"" of type '" "unsigned char const *""'"); } arg1 = reinterpret_cast< unsigned char * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_utf_tolower" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)fl_utf_tolower((unsigned char const *)arg1,arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_char((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_char, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_fl_utf_toupper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; unsigned char *arg1 = (unsigned char *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_utf_toupper",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_unsigned_char, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_utf_toupper" "', argument " "1"" of type '" "unsigned char const *""'"); } arg1 = reinterpret_cast< unsigned char * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_utf_toupper" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "fl_utf_toupper" "', argument " "3"" of type '" "char *""'"); } arg3 = reinterpret_cast< char * >(buf3); result = (int)fl_utf_toupper((unsigned char const *)arg1,arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } SWIGINTERN PyObject *_wrap_fl_chmod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_chmod",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_chmod" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_chmod" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)fl_chmod((char const *)arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_access(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_access",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_access" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_access" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)fl_access((char const *)arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_getcwd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_getcwd",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_getcwd" "', argument " "1"" of type '" "char *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_getcwd" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (char *)fl_getcwd(arg1,arg2); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_fopen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; FILE *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_fopen",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_fopen" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_fopen" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (FILE *)fl_fopen((char const *)arg1,(char const *)arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 ); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_system(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_system",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_system" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (int)fl_system((char const *)arg1); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_execvp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char **arg2 = (char **) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_execvp",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_execvp" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); { /* Check if it is a list */ if (PyList_Check(obj1)) { int size = PyList_Size(obj1); int i = 0; arg2 = (char **) malloc((size+1)*sizeof(char *)); for (i = 0; i < size; i++) { PyObject *o = PyList_GetItem(obj1,i); #if PY_VERSION_HEX>=0x03000000 if (PyUnicode_Check(o)) #else if (PyString_Check(o)) #endif { //arg2[i] = PyString_AsString(PyList_GetItem(obj1,i)); arg2[i] = SWIG_Python_str_AsChar(PyList_GetItem(obj1,i)); } else { PyErr_SetString(PyExc_TypeError,"list must contain strings"); free(arg2); return NULL; } } arg2[i] = NULL; } else { PyErr_SetString(PyExc_TypeError,"not a list"); return NULL; } } result = (int)fl_execvp((char const *)arg1,(char *const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; { // this is a memory leak, but what the heck! // free((char*)arg2); } return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; { // this is a memory leak, but what the heck! // free((char*)arg2); } return NULL; } SWIGINTERN PyObject *_wrap_fl_open__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; void *arg3 = 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_open",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_open" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_open" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)fl_open((char const *)arg1,arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_open(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj; PyObject *varargs; PyObject *newargs; newargs = PyTuple_GetSlice(args,0,2); varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); resultobj = _wrap_fl_open__varargs__(NULL,newargs,varargs); Py_XDECREF(newargs); Py_XDECREF(varargs); return resultobj; } SWIGINTERN PyObject *_wrap_fl_unlink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_unlink",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_unlink" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (int)fl_unlink((char const *)arg1); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_rmdir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_rmdir",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_rmdir" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (int)fl_rmdir((char const *)arg1); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_getenv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; char *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_getenv",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_getenv" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (char *)fl_getenv((char const *)arg1); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_mkdir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int arg2 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_mkdir",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_mkdir" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "fl_mkdir" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)fl_mkdir((char const *)arg1,arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_rename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"fl_rename",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_rename" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fl_rename" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); result = (int)fl_rename((char const *)arg1,(char const *)arg2); resultobj = SWIG_From_int(static_cast< int >(result)); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } SWIGINTERN PyObject *_wrap_fl_make_path_for_file(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"fl_make_path_for_file",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_make_path_for_file" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); fl_make_path_for_file((char const *)arg1); resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_fl_make_path(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; PyObject * obj0 = 0 ; char result; if(!PyArg_UnpackTuple(args,(char *)"fl_make_path",1,1,&obj0)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fl_make_path" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); result = (char)fl_make_path((char const *)arg1); resultobj = SWIG_NewPointerObj((new char(static_cast< const char& >(result))), SWIGTYPE_p_char, SWIG_POINTER_OWN | 0 ); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } SWIGINTERN PyObject *_wrap_upCB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"upCB",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "upCB" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "upCB" "', argument " "2"" of type '" "void *""'"); } upCB(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_downCB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"downCB",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "downCB" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "downCB" "', argument " "2"" of type '" "void *""'"); } downCB(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_toggleCB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Widget *arg1 = (Fl_Widget *) 0 ; void *arg2 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"toggleCB",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "toggleCB" "', argument " "1"" of type '" "Fl_Widget *""'"); } arg1 = reinterpret_cast< Fl_Widget * >(argp1); res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "toggleCB" "', argument " "2"" of type '" "void *""'"); } toggleCB(arg1,arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_ListSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; char *arg7 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; int res7 ; char *buf7 = 0 ; int alloc7 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; ListSelect *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_ListSelect",5,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListSelect" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListSelect" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListSelect" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListSelect" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListSelect" "', argument " "6"" of type '" "char *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if (obj6) { res7 = SWIG_AsCharPtrAndSize(obj6, &buf7, NULL, &alloc7); if (!SWIG_IsOK(res7)) { SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListSelect" "', argument " "7"" of type '" "char *""'"); } arg7 = reinterpret_cast< char * >(buf7); } if ( arg1 != Py_None ) { /* subclassed */ result = (ListSelect *)new SwigDirector_ListSelect(arg1,arg2,arg3,arg4,arg5,arg6,arg7); } else { result = (ListSelect *)new ListSelect(arg2,arg3,arg4,arg5,arg6,arg7); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ListSelect, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; if (alloc7 == SWIG_NEWOBJ) delete[] buf7; return NULL; } SWIGINTERN PyObject *_wrap_ListSelect_getTopBrowser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; ListSelect *arg1 = (ListSelect *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Multi_Browser *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"ListSelect_getTopBrowser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ListSelect, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListSelect_getTopBrowser" "', argument " "1"" of type '" "ListSelect *""'"); } arg1 = reinterpret_cast< ListSelect * >(argp1); result = (Fl_Multi_Browser *)(arg1)->getTopBrowser(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_ListSelect_getBottomBrowser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; ListSelect *arg1 = (ListSelect *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; Fl_Multi_Browser *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"ListSelect_getBottomBrowser",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ListSelect, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListSelect_getBottomBrowser" "', argument " "1"" of type '" "ListSelect *""'"); } arg1 = reinterpret_cast< ListSelect * >(argp1); result = (Fl_Multi_Browser *)(arg1)->getBottomBrowser(); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Multi_Browser, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_ListSelect_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; ListSelect *arg1 = (ListSelect *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_ListSelect *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"ListSelect_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ListSelect, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListSelect_resize" "', argument " "1"" of type '" "ListSelect *""'"); } arg1 = reinterpret_cast< ListSelect * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListSelect_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListSelect_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListSelect_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListSelect_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("resize"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member resize"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->resizeSwigPublic(arg2,arg3,arg4,arg5); } else { (darg)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_delete_ListSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; ListSelect *arg1 = (ListSelect *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_ListSelect",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ListSelect, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListSelect" "', argument " "1"" of type '" "ListSelect *""'"); } arg1 = reinterpret_cast< ListSelect * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_ListSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; ListSelect *arg1 = (ListSelect *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_ListSelect",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ListSelect, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_ListSelect" "', argument " "1"" of type '" "ListSelect *""'"); } arg1 = reinterpret_cast< ListSelect * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_ListSelect_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; ListSelect *arg1 = (ListSelect *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_ListSelect *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"ListSelect_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ListSelect, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListSelect_draw" "', argument " "1"" of type '" "ListSelect *""'"); } arg1 = reinterpret_cast< ListSelect * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->drawSwigPublic(); } else { (darg)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *ListSelect_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_ListSelect, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Table_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Table *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_handle" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("handle"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member handle"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)(darg)->handleSwigPublic(arg2); } else { result = (int)(darg)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_draw_cell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; Fl_Table::TableContext arg2 ; int arg3 = (int) 0 ; int arg4 = (int) 0 ; int arg5 = (int) 0 ; int arg6 = (int) 0 ; int arg7 = (int) 0 ; int arg8 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; int val8 ; int ecode8 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Table *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_draw_cell",2,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_draw_cell" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_draw_cell" "', argument " "2"" of type '" "Fl_Table::TableContext""'"); } arg2 = static_cast< Fl_Table::TableContext >(val2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Table_draw_cell" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } if (obj3) { ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Table_draw_cell" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); } if (obj4) { ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Table_draw_cell" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); } if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Table_draw_cell" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Table_draw_cell" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } if (obj7) { ecode8 = SWIG_AsVal_int(obj7, &val8); if (!SWIG_IsOK(ecode8)) { SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Fl_Table_draw_cell" "', argument " "8"" of type '" "int""'"); } arg8 = static_cast< int >(val8); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw_cell"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw_cell"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->draw_cellSwigPublic(arg2,arg3,arg4,arg5,arg6,arg7,arg8); } else { (darg)->draw_cell(arg2,arg3,arg4,arg5,arg6,arg7,arg8); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Table(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Table *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Table",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Table" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Table" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Table" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Table" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Table" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Table *)new SwigDirector_Fl_Table(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Table *)new Fl_Table(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Table, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Table(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Table",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Table" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_clear" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Table::clear(); } else { (arg1)->clear(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_table_box__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; Fl_Boxtype arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_table_box",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_table_box" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_table_box" "', argument " "2"" of type '" "Fl_Boxtype""'"); } arg2 = static_cast< Fl_Boxtype >(val2); (arg1)->table_box(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_table_box__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Boxtype result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_table_box",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_table_box" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (Fl_Boxtype)(arg1)->table_box(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_table_box(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_table_box__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Table_table_box__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_table_box'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::table_box(Fl_Boxtype)\n" " Fl_Table::table_box()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_rows__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_rows",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_rows" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_rows" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Table::rows(arg2); } else { (arg1)->rows(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_rows__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_rows",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_rows" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->rows(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_rows(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_rows__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Table_rows__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_rows'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::rows(int)\n" " Fl_Table::rows()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_cols__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_cols",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_cols" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_cols" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Table::cols(arg2); } else { (arg1)->cols(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_cols__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_cols",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_cols" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->cols(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_cols(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_cols__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Table_cols__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_cols'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::cols(int)\n" " Fl_Table::cols()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_visible_cells(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int *arg2 = 0 ; int *arg3 = 0 ; int *arg4 = 0 ; int *arg5 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int temp2 ; int res2 = SWIG_TMPOBJ ; int temp3 ; int res3 = SWIG_TMPOBJ ; int temp4 ; int res4 = SWIG_TMPOBJ ; int temp5 ; int res5 = SWIG_TMPOBJ ; PyObject * obj0 = 0 ; arg2 = &temp2; arg3 = &temp3; arg4 = &temp4; arg5 = &temp5; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_visible_cells",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_visible_cells" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); (arg1)->visible_cells(*arg2,*arg3,*arg4,*arg5); resultobj = SWIG_Py_Void(); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res4)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4))); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res5)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5))); } else { int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_is_interactive_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_is_interactive_resize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_is_interactive_resize" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->is_interactive_resize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_resize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_resize" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->row_resize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_resize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_resize" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_row_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->row_resize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_resize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_row_resize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Table_row_resize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_row_resize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::row_resize()\n" " Fl_Table::row_resize(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_col_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_resize",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_resize" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->col_resize(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_resize",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_resize" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_col_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->col_resize(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_resize(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_col_resize__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Table_col_resize__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_col_resize'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::col_resize()\n" " Fl_Table::col_resize(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_col_resize_min__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_resize_min",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_resize_min" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->col_resize_min(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_resize_min__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_resize_min",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_resize_min" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_col_resize_min" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->col_resize_min(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_resize_min(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_col_resize_min__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Table_col_resize_min__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_col_resize_min'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::col_resize_min()\n" " Fl_Table::col_resize_min(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_row_resize_min__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_resize_min",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_resize_min" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->row_resize_min(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_resize_min__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_resize_min",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_resize_min" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_row_resize_min" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->row_resize_min(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_resize_min(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_row_resize_min__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Table_row_resize_min__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_row_resize_min'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::row_resize_min()\n" " Fl_Table::row_resize_min(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_row_header__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_header",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_header" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->row_header(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_header__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_header",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_header" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_row_header" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->row_header(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_header(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_row_header__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Table_row_header__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_row_header'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::row_header()\n" " Fl_Table::row_header(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_col_header__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_header",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_header" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->col_header(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_header__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_header",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_header" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_col_header" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->col_header(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_header(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_col_header__SWIG_0(self, args); } if (argc == 2) { return _wrap_Fl_Table_col_header__SWIG_1(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_col_header'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::col_header()\n" " Fl_Table::col_header(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_col_header_height__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_header_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_header_height" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_col_header_height" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->col_header_height(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_header_height__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_header_height",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_header_height" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->col_header_height(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_header_height(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_col_header_height__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Table_col_header_height__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_col_header_height'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::col_header_height(int)\n" " Fl_Table::col_header_height()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_row_header_width__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_header_width",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_header_width" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_row_header_width" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->row_header_width(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_header_width__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_header_width",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_header_width" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->row_header_width(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_header_width(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_row_header_width__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Table_row_header_width__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_row_header_width'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::row_header_width(int)\n" " Fl_Table::row_header_width()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_row_header_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_header_color",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_header_color" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_row_header_color" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->row_header_color(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_header_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_header_color",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_header_color" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (Fl_Color)(arg1)->row_header_color(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_header_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_row_header_color__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Table_row_header_color__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_row_header_color'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::row_header_color(Fl_Color)\n" " Fl_Table::row_header_color()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_col_header_color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; Fl_Color arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_header_color",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_header_color" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_col_header_color" "', argument " "2"" of type '" "Fl_Color""'"); } arg2 = static_cast< Fl_Color >(val2); (arg1)->col_header_color(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_header_color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Color result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_header_color",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_header_color" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (Fl_Color)(arg1)->col_header_color(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_header_color(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_col_header_color__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Table_col_header_color__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_col_header_color'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::col_header_color(Fl_Color)\n" " Fl_Table::col_header_color()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_row_height__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_height",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_height" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_row_height" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Table_row_height" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->row_height(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_height__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_height",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_height" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_row_height" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->row_height(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_height(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Table_row_height__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Table_row_height__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_row_height'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::row_height(int,int)\n" " Fl_Table::row_height(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_col_width__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_width",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_width" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_col_width" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Table_col_width" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->col_width(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_width__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_width",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_width" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_col_width" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->col_width(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_width(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { return _wrap_Fl_Table_col_width__SWIG_1(self, args); } if (argc == 3) { return _wrap_Fl_Table_col_width__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_col_width'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::col_width(int,int)\n" " Fl_Table::col_width(int)\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_row_height_all(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_height_all",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_height_all" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_row_height_all" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->row_height_all(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_width_all(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_width_all",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_width_all" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_col_width_all" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->col_width_all(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_position__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_position",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_position" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_row_position" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->row_position(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_position__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_position",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_position" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_col_position" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->col_position(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_position__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_row_position",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_row_position" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->row_position(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_row_position(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_row_position__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Table_row_position__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_row_position'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::row_position(int)\n" " Fl_Table::row_position()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_col_position__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_col_position",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_col_position" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->col_position(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_col_position(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_col_position__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Table_col_position__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_col_position'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::col_position(int)\n" " Fl_Table::col_position()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_top_row__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_top_row",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_top_row" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_top_row" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); (arg1)->top_row(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_top_row__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_top_row",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_top_row" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->top_row(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_top_row(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_top_row__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Table_top_row__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_top_row'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table::top_row(int)\n" " Fl_Table::top_row()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_is_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_is_selected",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_is_selected" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_is_selected" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Table_is_selected" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)(arg1)->is_selected(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_get_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int *arg2 = 0 ; int *arg3 = 0 ; int *arg4 = 0 ; int *arg5 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int temp2 ; int res2 = SWIG_TMPOBJ ; int temp3 ; int res3 = SWIG_TMPOBJ ; int temp4 ; int res4 = SWIG_TMPOBJ ; int temp5 ; int res5 = SWIG_TMPOBJ ; PyObject * obj0 = 0 ; arg2 = &temp2; arg3 = &temp3; arg4 = &temp4; arg5 = &temp5; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_get_selection",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_get_selection" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); (arg1)->get_selection(*arg2,*arg3,*arg4,*arg5); resultobj = SWIG_Py_Void(); if (SWIG_IsTmpObj(res2)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2))); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res3)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res4)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4))); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags)); } if (SWIG_IsTmpObj(res5)) { resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5))); } else { int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ; resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags)); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_set_selection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_set_selection",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_set_selection" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_set_selection" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Table_set_selection" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Table_set_selection" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Table_set_selection" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); (arg1)->set_selection(arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_move_cursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_move_cursor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_move_cursor" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_move_cursor" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Table_move_cursor" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); result = (int)(arg1)->move_cursor(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_resize",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_resize" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_resize" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Table_resize" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Table_resize" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Table_resize" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Table::resize(arg2,arg3,arg4,arg5); } else { (arg1)->resize(arg2,arg3,arg4,arg5); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_draw",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_draw" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Table::draw(); } else { (arg1)->draw(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_init_sizes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_init_sizes",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_init_sizes" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); (arg1)->init_sizes(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; Fl_Widget *arg2 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_add",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_add" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Table_add" "', argument " "2"" of type '" "Fl_Widget *""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); (arg1)->add(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; Fl_Widget *arg2 = 0 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_insert" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Widget, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Table_insert" "', argument " "2"" of type '" "Fl_Widget &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Table_insert" "', argument " "2"" of type '" "Fl_Widget &""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Table_insert" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); (arg1)->insert(*arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_insert_before(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; Fl_Widget *arg2 = 0 ; Fl_Widget *arg3 = (Fl_Widget *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_insert_before",3,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_insert_before" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Widget, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Table_insert_before" "', argument " "2"" of type '" "Fl_Widget &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Table_insert_before" "', argument " "2"" of type '" "Fl_Widget &""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Fl_Widget, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Fl_Table_insert_before" "', argument " "3"" of type '" "Fl_Widget *""'"); } arg3 = reinterpret_cast< Fl_Widget * >(argp3); (arg1)->insert(*arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_begin",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_begin" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); (arg1)->begin(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_end",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_end" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); (arg1)->end(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_child(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; Fl_Widget *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_child",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_child" "', argument " "1"" of type '" "Fl_Table const *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_child" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (Fl_Widget *)((Fl_Table const *)arg1)->child(arg2); director = SWIG_DIRECTOR_CAST(result); if (director) { resultobj = director->swig_get_self(); Py_INCREF(resultobj); } else { resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Widget, 0 | 0 ); } return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_children(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_children",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_children" "', argument " "1"" of type '" "Fl_Table const *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)((Fl_Table const *)arg1)->children(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; Fl_Widget *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_find",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_find" "', argument " "1"" of type '" "Fl_Table const *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Fl_Widget, 0 | 0); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Fl_Table_find" "', argument " "2"" of type '" "Fl_Widget const &""'"); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Fl_Table_find" "', argument " "2"" of type '" "Fl_Widget const &""'"); } arg2 = reinterpret_cast< Fl_Widget * >(argp2); result = (int)((Fl_Table const *)arg1)->find((Fl_Widget const &)*arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_callback_row(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_callback_row",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_callback_row" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->callback_row(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_callback_col(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_callback_col",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_callback_col" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (int)(arg1)->callback_col(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_callback_context(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Table::TableContext result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_callback_context",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_callback_context" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); result = (Fl_Table::TableContext)(arg1)->callback_context(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_do_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; Fl_Table::TableContext arg2 ; int arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_do_callback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_do_callback" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_do_callback" "', argument " "2"" of type '" "Fl_Table::TableContext""'"); } arg2 = static_cast< Fl_Table::TableContext >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Table_do_callback" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Table_do_callback" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); (arg1)->do_callback(arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Table(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table *arg1 = (Fl_Table *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Table",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Table" "', argument " "1"" of type '" "Fl_Table *""'"); } arg1 = reinterpret_cast< Fl_Table * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Table_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Table, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_Fl_Table_Row_handle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table_Row *arg1 = (Fl_Table_Row *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Table_Row *darg = 0; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_Row_handle",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table_Row, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_Row_handle" "', argument " "1"" of type '" "Fl_Table_Row *""'"); } arg1 = reinterpret_cast< Fl_Table_Row * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_Row_handle" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("handle"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member handle"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { result = (int)(darg)->handleSwigPublic(arg2); } else { result = (int)(darg)->handle(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_new_Fl_Table_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; char *arg6 = (char *) 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int res6 ; char *buf6 = 0 ; int alloc6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; Fl_Table_Row *result = 0 ; if(!PyArg_UnpackTuple(args,(char *)"new_Fl_Table_Row",5,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; arg1 = obj0; ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Fl_Table_Row" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Fl_Table_Row" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Fl_Table_Row" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Fl_Table_Row" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); if (obj5) { res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6); if (!SWIG_IsOK(res6)) { SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Fl_Table_Row" "', argument " "6"" of type '" "char const *""'"); } arg6 = reinterpret_cast< char * >(buf6); } if ( arg1 != Py_None ) { /* subclassed */ result = (Fl_Table_Row *)new SwigDirector_Fl_Table_Row(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); } else { result = (Fl_Table_Row *)new Fl_Table_Row(arg2,arg3,arg4,arg5,(char const *)arg6); } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Fl_Table_Row, SWIG_POINTER_NEW | 0 ); if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return resultobj; fail: if (alloc6 == SWIG_NEWOBJ) delete[] buf6; return NULL; } SWIGINTERN PyObject *_wrap_delete_Fl_Table_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table_Row *arg1 = (Fl_Table_Row *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"delete_Fl_Table_Row",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table_Row, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Fl_Table_Row" "', argument " "1"" of type '" "Fl_Table_Row *""'"); } arg1 = reinterpret_cast< Fl_Table_Row * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_Row_rows__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table_Row *arg1 = (Fl_Table_Row *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_Row_rows",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table_Row, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_Row_rows" "', argument " "1"" of type '" "Fl_Table_Row *""'"); } arg1 = reinterpret_cast< Fl_Table_Row * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_Row_rows" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Table_Row::rows(arg2); } else { (arg1)->rows(arg2); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_Row_rows__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table_Row *arg1 = (Fl_Table_Row *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_Row_rows",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table_Row, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_Row_rows" "', argument " "1"" of type '" "Fl_Table_Row *""'"); } arg1 = reinterpret_cast< Fl_Table_Row * >(argp1); result = (int)(arg1)->rows(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_Row_rows(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_Row_rows__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Table_Row_rows__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_Row_rows'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table_Row::rows(int)\n" " Fl_Table_Row::rows()\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_Row_type__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table_Row *arg1 = (Fl_Table_Row *) 0 ; Fl_Table_Row::TableRowSelectMode arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_Row_type",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table_Row, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_Row_type" "', argument " "1"" of type '" "Fl_Table_Row *""'"); } arg1 = reinterpret_cast< Fl_Table_Row * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_Row_type" "', argument " "2"" of type '" "Fl_Table_Row::TableRowSelectMode""'"); } arg2 = static_cast< Fl_Table_Row::TableRowSelectMode >(val2); (arg1)->type(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_Row_type__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table_Row *arg1 = (Fl_Table_Row *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Fl_Table_Row::TableRowSelectMode result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_Row_type",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table_Row, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_Row_type" "', argument " "1"" of type '" "Fl_Table_Row const *""'"); } arg1 = reinterpret_cast< Fl_Table_Row * >(argp1); result = (Fl_Table_Row::TableRowSelectMode)((Fl_Table_Row const *)arg1)->type(); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_Row_type(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; if (!PyTuple_Check(args)) SWIG_fail; argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { return _wrap_Fl_Table_Row_type__SWIG_1(self, args); } if (argc == 2) { return _wrap_Fl_Table_Row_type__SWIG_0(self, args); } fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Fl_Table_Row_type'.\n" " Possible C/C++ prototypes are:\n" " Fl_Table_Row::type(Fl_Table_Row::TableRowSelectMode)\n" " Fl_Table_Row::type() const\n"); return 0; } SWIGINTERN PyObject *_wrap_Fl_Table_Row_row_selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table_Row *arg1 = (Fl_Table_Row *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_Row_row_selected",2,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table_Row, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_Row_row_selected" "', argument " "1"" of type '" "Fl_Table_Row *""'"); } arg1 = reinterpret_cast< Fl_Table_Row * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_Row_row_selected" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); result = (int)(arg1)->row_selected(arg2); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_Row_select_row(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table_Row *arg1 = (Fl_Table_Row *) 0 ; int arg2 ; int arg3 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; int result; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_Row_select_row",2,3,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table_Row, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_Row_select_row" "', argument " "1"" of type '" "Fl_Table_Row *""'"); } arg1 = reinterpret_cast< Fl_Table_Row * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_Row_select_row" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Table_Row_select_row" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } result = (int)(arg1)->select_row(arg2,arg3); resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_Row_select_all_rows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table_Row *arg1 = (Fl_Table_Row *) 0 ; int arg2 = (int) 1 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_Row_select_all_rows",1,2,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table_Row, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_Row_select_all_rows" "', argument " "1"" of type '" "Fl_Table_Row *""'"); } arg1 = reinterpret_cast< Fl_Table_Row * >(argp1); if (obj1) { ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_Row_select_all_rows" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); } (arg1)->select_all_rows(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_Row_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table_Row *arg1 = (Fl_Table_Row *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; Swig::Director *director = 0; bool upcall = false; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_Row_clear",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table_Row, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_Row_clear" "', argument " "1"" of type '" "Fl_Table_Row *""'"); } arg1 = reinterpret_cast< Fl_Table_Row * >(argp1); director = SWIG_DIRECTOR_CAST(arg1); upcall = (director && (director->swig_get_self()==obj0)); try { if (upcall) { (arg1)->Fl_Table_Row::clear(); } else { (arg1)->clear(); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_disown_Fl_Table_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table_Row *arg1 = (Fl_Table_Row *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"disown_Fl_Table_Row",1,1,&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table_Row, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_Fl_Table_Row" "', argument " "1"" of type '" "Fl_Table_Row *""'"); } arg1 = reinterpret_cast< Fl_Table_Row * >(argp1); { Swig::Director *director = SWIG_DIRECTOR_CAST(arg1); if (director) director->swig_disown(); } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_Fl_Table_Row_draw_cell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Fl_Table_Row *arg1 = (Fl_Table_Row *) 0 ; Fl_Table::TableContext arg2 ; int arg3 = (int) 0 ; int arg4 = (int) 0 ; int arg5 = (int) 0 ; int arg6 = (int) 0 ; int arg7 = (int) 0 ; int arg8 = (int) 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; int val7 ; int ecode7 = 0 ; int val8 ; int ecode8 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; Swig::Director *director = 0; bool upcall = false; SwigDirector_Fl_Table_Row *darg = 0; if(!PyArg_UnpackTuple(args,(char *)"Fl_Table_Row_draw_cell",2,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Fl_Table_Row, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Fl_Table_Row_draw_cell" "', argument " "1"" of type '" "Fl_Table_Row *""'"); } arg1 = reinterpret_cast< Fl_Table_Row * >(argp1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Fl_Table_Row_draw_cell" "', argument " "2"" of type '" "Fl_Table::TableContext""'"); } arg2 = static_cast< Fl_Table::TableContext >(val2); if (obj2) { ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Fl_Table_Row_draw_cell" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); } if (obj3) { ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Fl_Table_Row_draw_cell" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); } if (obj4) { ecode5 = SWIG_AsVal_int(obj4, &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Fl_Table_Row_draw_cell" "', argument " "5"" of type '" "int""'"); } arg5 = static_cast< int >(val5); } if (obj5) { ecode6 = SWIG_AsVal_int(obj5, &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Fl_Table_Row_draw_cell" "', argument " "6"" of type '" "int""'"); } arg6 = static_cast< int >(val6); } if (obj6) { ecode7 = SWIG_AsVal_int(obj6, &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Fl_Table_Row_draw_cell" "', argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); } if (obj7) { ecode8 = SWIG_AsVal_int(obj7, &val8); if (!SWIG_IsOK(ecode8)) { SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Fl_Table_Row_draw_cell" "', argument " "8"" of type '" "int""'"); } arg8 = static_cast< int >(val8); } director = SWIG_DIRECTOR_CAST(arg1); if (!director || !(director->swig_get_inner("draw_cell"))) { SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member draw_cell"); SWIG_fail; } upcall = (director && (director->swig_get_self()==obj0)); try { darg = dynamic_cast(arg1); if (upcall) { (darg)->draw_cellSwigPublic(arg2,arg3,arg4,arg5,arg6,arg7,arg8); } else { (darg)->draw_cell(arg2,arg3,arg4,arg5,arg6,arg7,arg8); } } catch (Swig::DirectorException&) { SWIG_fail; } resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *Fl_Table_Row_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_Fl_Table_Row, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } SWIGINTERN PyObject *_wrap_glLoadIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; glLoadIdentity(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_glViewport(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int arg2 ; int arg3 ; int arg4 ; int val1 ; int ecode1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"glViewport",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "glViewport" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_int(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "glViewport" "', argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "glViewport" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "glViewport" "', argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); glViewport(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_glClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"glClear",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "glClear" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); glClear(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_glColor3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; float arg1 ; float arg2 ; float arg3 ; float val1 ; int ecode1 = 0 ; float val2 ; int ecode2 = 0 ; float val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"glColor3f",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_float(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "glColor3f" "', argument " "1"" of type '" "float""'"); } arg1 = static_cast< float >(val1); ecode2 = SWIG_AsVal_float(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "glColor3f" "', argument " "2"" of type '" "float""'"); } arg2 = static_cast< float >(val2); ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "glColor3f" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); glColor3f(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_glBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; int arg1 ; int val1 ; int ecode1 = 0 ; PyObject * obj0 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"glBegin",1,1,&obj0)) SWIG_fail; ecode1 = SWIG_AsVal_int(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "glBegin" "', argument " "1"" of type '" "int""'"); } arg1 = static_cast< int >(val1); glBegin(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_glEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; glEnd(); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } SWIGINTERN PyObject *_wrap_glVertex3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; float arg1 ; float arg2 ; float arg3 ; float val1 ; int ecode1 = 0 ; float val2 ; int ecode2 = 0 ; float val3 ; int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; if(!PyArg_UnpackTuple(args,(char *)"glVertex3f",3,3,&obj0,&obj1,&obj2)) SWIG_fail; ecode1 = SWIG_AsVal_float(obj0, &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "glVertex3f" "', argument " "1"" of type '" "float""'"); } arg1 = static_cast< float >(val1); ecode2 = SWIG_AsVal_float(obj1, &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "glVertex3f" "', argument " "2"" of type '" "float""'"); } arg2 = static_cast< float >(val2); ecode3 = SWIG_AsVal_float(obj2, &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "glVertex3f" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); glVertex3f(arg1,arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } static PyMethodDef SwigMethods[] = { { (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL}, { (char *)"fl_define_FL_ROUND_UP_BOX", _wrap_fl_define_FL_ROUND_UP_BOX, METH_VARARGS, (char *)"fl_define_FL_ROUND_UP_BOX() -> Fl_Boxtype"}, { (char *)"fl_define_FL_SHADOW_BOX", _wrap_fl_define_FL_SHADOW_BOX, METH_VARARGS, (char *)"fl_define_FL_SHADOW_BOX() -> Fl_Boxtype"}, { (char *)"fl_define_FL_ROUNDED_BOX", _wrap_fl_define_FL_ROUNDED_BOX, METH_VARARGS, (char *)"fl_define_FL_ROUNDED_BOX() -> Fl_Boxtype"}, { (char *)"fl_define_FL_RFLAT_BOX", _wrap_fl_define_FL_RFLAT_BOX, METH_VARARGS, (char *)"fl_define_FL_RFLAT_BOX() -> Fl_Boxtype"}, { (char *)"fl_define_FL_RSHADOW_BOX", _wrap_fl_define_FL_RSHADOW_BOX, METH_VARARGS, (char *)"fl_define_FL_RSHADOW_BOX() -> Fl_Boxtype"}, { (char *)"fl_define_FL_DIAMOND_BOX", _wrap_fl_define_FL_DIAMOND_BOX, METH_VARARGS, (char *)"fl_define_FL_DIAMOND_BOX() -> Fl_Boxtype"}, { (char *)"fl_define_FL_OVAL_BOX", _wrap_fl_define_FL_OVAL_BOX, METH_VARARGS, (char *)"fl_define_FL_OVAL_BOX() -> Fl_Boxtype"}, { (char *)"fl_define_FL_PLASTIC_UP_BOX", _wrap_fl_define_FL_PLASTIC_UP_BOX, METH_VARARGS, (char *)"fl_define_FL_PLASTIC_UP_BOX() -> Fl_Boxtype"}, { (char *)"fl_define_FL_GTK_UP_BOX", _wrap_fl_define_FL_GTK_UP_BOX, METH_VARARGS, (char *)"fl_define_FL_GTK_UP_BOX() -> Fl_Boxtype"}, { (char *)"fl_box", _wrap_fl_box, METH_VARARGS, (char *)"fl_box(Fl_Boxtype b) -> Fl_Boxtype"}, { (char *)"fl_down", _wrap_fl_down, METH_VARARGS, (char *)"fl_down(Fl_Boxtype b) -> Fl_Boxtype"}, { (char *)"fl_define_FL_SHADOW_LABEL", _wrap_fl_define_FL_SHADOW_LABEL, METH_VARARGS, (char *)"fl_define_FL_SHADOW_LABEL() -> Fl_Labeltype"}, { (char *)"fl_define_FL_ENGRAVED_LABEL", _wrap_fl_define_FL_ENGRAVED_LABEL, METH_VARARGS, (char *)"fl_define_FL_ENGRAVED_LABEL() -> Fl_Labeltype"}, { (char *)"fl_define_FL_EMBOSSED_LABEL", _wrap_fl_define_FL_EMBOSSED_LABEL, METH_VARARGS, (char *)"fl_define_FL_EMBOSSED_LABEL() -> Fl_Labeltype"}, { (char *)"fl_inactive", _wrap_fl_inactive, METH_VARARGS, (char *)"fl_inactive(Fl_Color c) -> Fl_Color"}, { (char *)"fl_contrast", _wrap_fl_contrast, METH_VARARGS, (char *)"fl_contrast(Fl_Color fg, Fl_Color bg) -> Fl_Color"}, { (char *)"fl_color_average", _wrap_fl_color_average, METH_VARARGS, (char *)"fl_color_average(Fl_Color c1, Fl_Color c2, float weight) -> Fl_Color"}, { (char *)"fl_lighter", _wrap_fl_lighter, METH_VARARGS, (char *)"fl_lighter(Fl_Color c) -> Fl_Color"}, { (char *)"fl_darker", _wrap_fl_darker, METH_VARARGS, (char *)"fl_darker(Fl_Color c) -> Fl_Color"}, { (char *)"fl_rgb_color", _wrap_fl_rgb_color, METH_VARARGS, (char *)"\n" "fl_rgb_color(uchar r, uchar g, uchar b) -> Fl_Color\n" "fl_rgb_color(uchar g) -> Fl_Color\n" ""}, { (char *)"fl_gray_ramp", _wrap_fl_gray_ramp, METH_VARARGS, (char *)"fl_gray_ramp(int i) -> Fl_Color"}, { (char *)"fl_color_cube", _wrap_fl_color_cube, METH_VARARGS, (char *)"fl_color_cube(int r, int g, int b) -> Fl_Color"}, { (char *)"Fl_Label_draw", _wrap_Fl_Label_draw, METH_VARARGS, (char *)"\n" "Fl_Label_draw(Fl_Label self, int arg1, int arg2, int arg3, int arg4, \n" " Fl_Align arg5)\n" ""}, { (char *)"Fl_Label_measure", _wrap_Fl_Label_measure, METH_VARARGS, (char *)"Fl_Label_measure(Fl_Label self, int w, int h)"}, { (char *)"new_Fl_Label", _wrap_new_Fl_Label, METH_VARARGS, (char *)"new_Fl_Label() -> Fl_Label"}, { (char *)"delete_Fl_Label", _wrap_delete_Fl_Label, METH_VARARGS, (char *)"delete_Fl_Label(Fl_Label self)"}, { (char *)"Fl_Label_swigregister", Fl_Label_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Widget", _wrap_new_Fl_Widget, METH_VARARGS, (char *)"new_Fl_Widget(PyObject self, int x, int y, int w, int h, char label = 0L) -> Fl_Widget"}, { (char *)"delete_Fl_Widget", _wrap_delete_Fl_Widget, METH_VARARGS, (char *)"delete_Fl_Widget(Fl_Widget self)"}, { (char *)"Fl_Widget_draw", _wrap_Fl_Widget_draw, METH_VARARGS, (char *)"Fl_Widget_draw(Fl_Widget self)"}, { (char *)"Fl_Widget_handle", _wrap_Fl_Widget_handle, METH_VARARGS, (char *)"Fl_Widget_handle(Fl_Widget self, int event) -> int"}, { (char *)"Fl_Widget_parent", _wrap_Fl_Widget_parent, METH_VARARGS, (char *)"\n" "parent() -> Fl_Group\n" "Fl_Widget_parent(Fl_Widget self, Fl_Group p)\n" ""}, { (char *)"Fl_Widget_type", _wrap_Fl_Widget_type, METH_VARARGS, (char *)"\n" "type() -> uchar\n" "Fl_Widget_type(Fl_Widget self, uchar t)\n" ""}, { (char *)"Fl_Widget_x", _wrap_Fl_Widget_x, METH_VARARGS, (char *)"Fl_Widget_x(Fl_Widget self) -> int"}, { (char *)"Fl_Widget_y", _wrap_Fl_Widget_y, METH_VARARGS, (char *)"Fl_Widget_y(Fl_Widget self) -> int"}, { (char *)"Fl_Widget_w", _wrap_Fl_Widget_w, METH_VARARGS, (char *)"Fl_Widget_w(Fl_Widget self) -> int"}, { (char *)"Fl_Widget_h", _wrap_Fl_Widget_h, METH_VARARGS, (char *)"Fl_Widget_h(Fl_Widget self) -> int"}, { (char *)"Fl_Widget_resize", _wrap_Fl_Widget_resize, METH_VARARGS, (char *)"Fl_Widget_resize(Fl_Widget self, int x, int y, int w, int h)"}, { (char *)"Fl_Widget_damage_resize", _wrap_Fl_Widget_damage_resize, METH_VARARGS, (char *)"Fl_Widget_damage_resize(Fl_Widget self, int arg1, int arg2, int arg3, int arg4) -> int"}, { (char *)"Fl_Widget_position", _wrap_Fl_Widget_position, METH_VARARGS, (char *)"Fl_Widget_position(Fl_Widget self, int X, int Y)"}, { (char *)"Fl_Widget_size", _wrap_Fl_Widget_size, METH_VARARGS, (char *)"Fl_Widget_size(Fl_Widget self, int W, int H)"}, { (char *)"Fl_Widget_align", _wrap_Fl_Widget_align, METH_VARARGS, (char *)"\n" "align() -> Fl_Align\n" "Fl_Widget_align(Fl_Widget self, Fl_Align alignment)\n" ""}, { (char *)"Fl_Widget_box", _wrap_Fl_Widget_box, METH_VARARGS, (char *)"\n" "box() -> Fl_Boxtype\n" "Fl_Widget_box(Fl_Widget self, Fl_Boxtype new_box)\n" ""}, { (char *)"Fl_Widget_selection_color", _wrap_Fl_Widget_selection_color, METH_VARARGS, (char *)"\n" "selection_color() -> Fl_Color\n" "Fl_Widget_selection_color(Fl_Widget self, Fl_Color a)\n" ""}, { (char *)"Fl_Widget_color", _wrap_Fl_Widget_color, METH_VARARGS, (char *)"\n" "color() -> Fl_Color\n" "color(Fl_Color bg)\n" "Fl_Widget_color(Fl_Widget self, Fl_Color bg, Fl_Color sel)\n" ""}, { (char *)"Fl_Widget_copy_label", _wrap_Fl_Widget_copy_label, METH_VARARGS, (char *)"Fl_Widget_copy_label(Fl_Widget self, char new_label)"}, { (char *)"Fl_Widget_label", _wrap_Fl_Widget_label, METH_VARARGS, (char *)"\n" "label() -> char\n" "label(char text)\n" "Fl_Widget_label(Fl_Widget self, Fl_Labeltype a, char b)\n" ""}, { (char *)"Fl_Widget_labeltype", _wrap_Fl_Widget_labeltype, METH_VARARGS, (char *)"\n" "labeltype() -> Fl_Labeltype\n" "Fl_Widget_labeltype(Fl_Widget self, Fl_Labeltype a)\n" ""}, { (char *)"Fl_Widget_labelcolor", _wrap_Fl_Widget_labelcolor, METH_VARARGS, (char *)"\n" "labelcolor() -> Fl_Color\n" "Fl_Widget_labelcolor(Fl_Widget self, Fl_Color c)\n" ""}, { (char *)"Fl_Widget_labelfont", _wrap_Fl_Widget_labelfont, METH_VARARGS, (char *)"\n" "labelfont() -> Fl_Font\n" "Fl_Widget_labelfont(Fl_Widget self, Fl_Font f)\n" ""}, { (char *)"Fl_Widget_labelsize", _wrap_Fl_Widget_labelsize, METH_VARARGS, (char *)"\n" "labelsize() -> Fl_Fontsize\n" "Fl_Widget_labelsize(Fl_Widget self, Fl_Fontsize pix)\n" ""}, { (char *)"Fl_Widget_image", _wrap_Fl_Widget_image, METH_VARARGS, (char *)"\n" "image() -> Fl_Image\n" "image() -> Fl_Image\n" "Fl_Widget_image(Fl_Widget self, Fl_Image img)\n" ""}, { (char *)"Fl_Widget_deimage", _wrap_Fl_Widget_deimage, METH_VARARGS, (char *)"\n" "deimage() -> Fl_Image\n" "deimage() -> Fl_Image\n" "Fl_Widget_deimage(Fl_Widget self, Fl_Image img)\n" ""}, { (char *)"Fl_Widget_tooltip", _wrap_Fl_Widget_tooltip, METH_VARARGS, (char *)"\n" "tooltip() -> char\n" "Fl_Widget_tooltip(Fl_Widget self, char text)\n" ""}, { (char *)"Fl_Widget_copy_tooltip", _wrap_Fl_Widget_copy_tooltip, METH_VARARGS, (char *)"Fl_Widget_copy_tooltip(Fl_Widget self, char text)"}, { (char *)"Fl_Widget_argument", _wrap_Fl_Widget_argument, METH_VARARGS, (char *)"\n" "argument() -> long\n" "Fl_Widget_argument(Fl_Widget self, long v)\n" ""}, { (char *)"Fl_Widget_when", _wrap_Fl_Widget_when, METH_VARARGS, (char *)"\n" "when() -> Fl_When\n" "Fl_Widget_when(Fl_Widget self, uchar i)\n" ""}, { (char *)"Fl_Widget_visible", _wrap_Fl_Widget_visible, METH_VARARGS, (char *)"Fl_Widget_visible(Fl_Widget self) -> unsigned int"}, { (char *)"Fl_Widget_visible_r", _wrap_Fl_Widget_visible_r, METH_VARARGS, (char *)"Fl_Widget_visible_r(Fl_Widget self) -> int"}, { (char *)"Fl_Widget_show", _wrap_Fl_Widget_show, METH_VARARGS, (char *)"Fl_Widget_show(Fl_Widget self)"}, { (char *)"Fl_Widget_hide", _wrap_Fl_Widget_hide, METH_VARARGS, (char *)"Fl_Widget_hide(Fl_Widget self)"}, { (char *)"Fl_Widget_set_visible", _wrap_Fl_Widget_set_visible, METH_VARARGS, (char *)"Fl_Widget_set_visible(Fl_Widget self)"}, { (char *)"Fl_Widget_clear_visible", _wrap_Fl_Widget_clear_visible, METH_VARARGS, (char *)"Fl_Widget_clear_visible(Fl_Widget self)"}, { (char *)"Fl_Widget_active", _wrap_Fl_Widget_active, METH_VARARGS, (char *)"Fl_Widget_active(Fl_Widget self) -> unsigned int"}, { (char *)"Fl_Widget_active_r", _wrap_Fl_Widget_active_r, METH_VARARGS, (char *)"Fl_Widget_active_r(Fl_Widget self) -> int"}, { (char *)"Fl_Widget_activate", _wrap_Fl_Widget_activate, METH_VARARGS, (char *)"Fl_Widget_activate(Fl_Widget self)"}, { (char *)"Fl_Widget_deactivate", _wrap_Fl_Widget_deactivate, METH_VARARGS, (char *)"Fl_Widget_deactivate(Fl_Widget self)"}, { (char *)"Fl_Widget_output", _wrap_Fl_Widget_output, METH_VARARGS, (char *)"Fl_Widget_output(Fl_Widget self) -> unsigned int"}, { (char *)"Fl_Widget_set_output", _wrap_Fl_Widget_set_output, METH_VARARGS, (char *)"Fl_Widget_set_output(Fl_Widget self)"}, { (char *)"Fl_Widget_clear_output", _wrap_Fl_Widget_clear_output, METH_VARARGS, (char *)"Fl_Widget_clear_output(Fl_Widget self)"}, { (char *)"Fl_Widget_takesevents", _wrap_Fl_Widget_takesevents, METH_VARARGS, (char *)"Fl_Widget_takesevents(Fl_Widget self) -> unsigned int"}, { (char *)"Fl_Widget_changed", _wrap_Fl_Widget_changed, METH_VARARGS, (char *)"Fl_Widget_changed(Fl_Widget self) -> unsigned int"}, { (char *)"Fl_Widget_set_changed", _wrap_Fl_Widget_set_changed, METH_VARARGS, (char *)"Fl_Widget_set_changed(Fl_Widget self)"}, { (char *)"Fl_Widget_clear_changed", _wrap_Fl_Widget_clear_changed, METH_VARARGS, (char *)"Fl_Widget_clear_changed(Fl_Widget self)"}, { (char *)"Fl_Widget_take_focus", _wrap_Fl_Widget_take_focus, METH_VARARGS, (char *)"Fl_Widget_take_focus(Fl_Widget self) -> int"}, { (char *)"Fl_Widget_set_visible_focus", _wrap_Fl_Widget_set_visible_focus, METH_VARARGS, (char *)"Fl_Widget_set_visible_focus(Fl_Widget self)"}, { (char *)"Fl_Widget_clear_visible_focus", _wrap_Fl_Widget_clear_visible_focus, METH_VARARGS, (char *)"Fl_Widget_clear_visible_focus(Fl_Widget self)"}, { (char *)"Fl_Widget_visible_focus", _wrap_Fl_Widget_visible_focus, METH_VARARGS, (char *)"\n" "visible_focus(int v)\n" "Fl_Widget_visible_focus(Fl_Widget self) -> unsigned int\n" ""}, { (char *)"Fl_Widget_default_callback", _wrap_Fl_Widget_default_callback, METH_VARARGS, (char *)"Fl_Widget_default_callback(Fl_Widget cb, void d)"}, { (char *)"Fl_Widget_do_callback", _wrap_Fl_Widget_do_callback, METH_VARARGS, (char *)"\n" "do_callback()\n" "do_callback(Fl_Widget o, long arg)\n" "Fl_Widget_do_callback(Fl_Widget self, Fl_Widget o, void arg = None)\n" ""}, { (char *)"Fl_Widget_label_shortcut", _wrap_Fl_Widget_label_shortcut, METH_VARARGS, (char *)"Fl_Widget_label_shortcut(char t) -> unsigned int"}, { (char *)"Fl_Widget_test_shortcut", _wrap_Fl_Widget_test_shortcut, METH_VARARGS, (char *)"\n" "test_shortcut() -> int\n" "Fl_Widget_test_shortcut(char arg0, bool require_alt = False) -> int\n" ""}, { (char *)"Fl_Widget_contains", _wrap_Fl_Widget_contains, METH_VARARGS, (char *)"Fl_Widget_contains(Fl_Widget self, Fl_Widget w) -> int"}, { (char *)"Fl_Widget_inside", _wrap_Fl_Widget_inside, METH_VARARGS, (char *)"Fl_Widget_inside(Fl_Widget self, Fl_Widget w) -> int"}, { (char *)"Fl_Widget_redraw", _wrap_Fl_Widget_redraw, METH_VARARGS, (char *)"Fl_Widget_redraw(Fl_Widget self)"}, { (char *)"Fl_Widget_redraw_label", _wrap_Fl_Widget_redraw_label, METH_VARARGS, (char *)"Fl_Widget_redraw_label(Fl_Widget self)"}, { (char *)"Fl_Widget_clear_damage", _wrap_Fl_Widget_clear_damage, METH_VARARGS, (char *)"Fl_Widget_clear_damage(Fl_Widget self, uchar c = 0)"}, { (char *)"Fl_Widget_damage", _wrap_Fl_Widget_damage, METH_VARARGS, (char *)"\n" "damage() -> uchar\n" "damage(uchar c)\n" "Fl_Widget_damage(Fl_Widget self, uchar c, int x, int y, int w, int h)\n" ""}, { (char *)"Fl_Widget_measure_label", _wrap_Fl_Widget_measure_label, METH_VARARGS, (char *)"Fl_Widget_measure_label(Fl_Widget self, int ww, int hh)"}, { (char *)"Fl_Widget_window", _wrap_Fl_Widget_window, METH_VARARGS, (char *)"Fl_Widget_window(Fl_Widget self) -> Fl_Window"}, { (char *)"Fl_Widget_as_group", _wrap_Fl_Widget_as_group, METH_VARARGS, (char *)"Fl_Widget_as_group(Fl_Widget self) -> Fl_Group"}, { (char *)"Fl_Widget_as_window", _wrap_Fl_Widget_as_window, METH_VARARGS, (char *)"Fl_Widget_as_window(Fl_Widget self) -> Fl_Window"}, { (char *)"Fl_Widget_as_gl_window", _wrap_Fl_Widget_as_gl_window, METH_VARARGS, (char *)"Fl_Widget_as_gl_window(Fl_Widget self) -> Fl_Gl_Window"}, { (char *)"Fl_Widget_color2", _wrap_Fl_Widget_color2, METH_VARARGS, (char *)"\n" "color2() -> Fl_Color\n" "Fl_Widget_color2(Fl_Widget self, unsigned int a)\n" ""}, { (char *)"Fl_Widget_draw_label", _wrap_Fl_Widget_draw_label, METH_VARARGS, (char *)"\n" "draw_label(int arg0, int arg1, int arg2, int arg3, Fl_Align arg4)\n" "Fl_Widget_draw_label(Fl_Widget self)\n" ""}, { (char *)"Fl_Widget_callback", _wrap_Fl_Widget_callback, METH_VARARGS, (char *)"\n" "callback() -> Fl_Callback_p\n" "callback(Fl_Callback cb, void p)\n" "callback(Fl_Callback cb)\n" "callback(Fl_Callback0 cb)\n" "callback(Fl_Callback1 cb, long p = 0)\n" "Fl_Widget_callback(Fl_Widget self, PyObject PyFunc, PyObject PyWidget, \n" " PyObject PyData = None)\n" ""}, { (char *)"Fl_Widget_user_data", _wrap_Fl_Widget_user_data, METH_VARARGS, (char *)"\n" "user_data()\n" "user_data(void v)\n" "user_data(PyObject PyData)\n" "Fl_Widget_user_data(Fl_Widget self) -> PyObject\n" ""}, { (char *)"disown_Fl_Widget", _wrap_disown_Fl_Widget, METH_VARARGS, NULL}, { (char *)"Fl_Widget_swigregister", Fl_Widget_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Group_draw", _wrap_Fl_Group_draw, METH_VARARGS, (char *)"Fl_Group_draw(Fl_Group self)"}, { (char *)"Fl_Group_handle", _wrap_Fl_Group_handle, METH_VARARGS, (char *)"Fl_Group_handle(Fl_Group self, int arg0) -> int"}, { (char *)"Fl_Group_begin", _wrap_Fl_Group_begin, METH_VARARGS, (char *)"Fl_Group_begin(Fl_Group self)"}, { (char *)"Fl_Group_end", _wrap_Fl_Group_end, METH_VARARGS, (char *)"Fl_Group_end(Fl_Group self)"}, { (char *)"Fl_Group_current", _wrap_Fl_Group_current, METH_VARARGS, (char *)"\n" "current() -> Fl_Group\n" "Fl_Group_current(Fl_Group g)\n" ""}, { (char *)"Fl_Group_children", _wrap_Fl_Group_children, METH_VARARGS, (char *)"Fl_Group_children(Fl_Group self) -> int"}, { (char *)"Fl_Group_child", _wrap_Fl_Group_child, METH_VARARGS, (char *)"Fl_Group_child(Fl_Group self, int n) -> Fl_Widget"}, { (char *)"Fl_Group_find", _wrap_Fl_Group_find, METH_VARARGS, (char *)"Fl_Group_find(Fl_Group self, Fl_Widget o) -> int"}, { (char *)"Fl_Group_resize", _wrap_Fl_Group_resize, METH_VARARGS, (char *)"Fl_Group_resize(Fl_Group self, int arg0, int arg1, int arg2, int arg3)"}, { (char *)"new_Fl_Group", _wrap_new_Fl_Group, METH_VARARGS, (char *)"\n" "new_Fl_Group(PyObject self, int arg1, int arg2, int arg3, int arg4, \n" " char arg5 = None) -> Fl_Group\n" ""}, { (char *)"delete_Fl_Group", _wrap_delete_Fl_Group, METH_VARARGS, (char *)"delete_Fl_Group(Fl_Group self)"}, { (char *)"Fl_Group_add", _wrap_Fl_Group_add, METH_VARARGS, (char *)"Fl_Group_add(Fl_Group self, Fl_Widget o)"}, { (char *)"Fl_Group_insert", _wrap_Fl_Group_insert, METH_VARARGS, (char *)"Fl_Group_insert(Fl_Group self, Fl_Widget arg1, int i)"}, { (char *)"Fl_Group_insert_before", _wrap_Fl_Group_insert_before, METH_VARARGS, (char *)"Fl_Group_insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)"}, { (char *)"Fl_Group_remove", _wrap_Fl_Group_remove, METH_VARARGS, (char *)"\n" "remove(int index)\n" "Fl_Group_remove(Fl_Group self, Fl_Widget o)\n" ""}, { (char *)"Fl_Group_clear", _wrap_Fl_Group_clear, METH_VARARGS, (char *)"Fl_Group_clear(Fl_Group self)"}, { (char *)"Fl_Group_resizable", _wrap_Fl_Group_resizable, METH_VARARGS, (char *)"\n" "resizable(Fl_Widget o)\n" "Fl_Group_resizable(Fl_Group self) -> Fl_Widget\n" ""}, { (char *)"Fl_Group_add_resizable", _wrap_Fl_Group_add_resizable, METH_VARARGS, (char *)"Fl_Group_add_resizable(Fl_Group self, Fl_Widget o)"}, { (char *)"Fl_Group_init_sizes", _wrap_Fl_Group_init_sizes, METH_VARARGS, (char *)"Fl_Group_init_sizes(Fl_Group self)"}, { (char *)"Fl_Group_clip_children", _wrap_Fl_Group_clip_children, METH_VARARGS, (char *)"\n" "clip_children(int c)\n" "Fl_Group_clip_children(Fl_Group self) -> unsigned int\n" ""}, { (char *)"Fl_Group_as_group", _wrap_Fl_Group_as_group, METH_VARARGS, (char *)"Fl_Group_as_group(Fl_Group self) -> Fl_Group"}, { (char *)"Fl_Group_focus", _wrap_Fl_Group_focus, METH_VARARGS, (char *)"Fl_Group_focus(Fl_Group self, Fl_Widget W)"}, { (char *)"Fl_Group__ddfdesign_kludge", _wrap_Fl_Group__ddfdesign_kludge, METH_VARARGS, (char *)"Fl_Group__ddfdesign_kludge(Fl_Group self) -> Fl_Widget"}, { (char *)"Fl_Group_forms_end", _wrap_Fl_Group_forms_end, METH_VARARGS, (char *)"Fl_Group_forms_end(Fl_Group self)"}, { (char *)"disown_Fl_Group", _wrap_disown_Fl_Group, METH_VARARGS, NULL}, { (char *)"Fl_Group_swigregister", Fl_Group_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_End", _wrap_new_Fl_End, METH_VARARGS, (char *)"new_Fl_End() -> Fl_End"}, { (char *)"delete_Fl_End", _wrap_delete_Fl_End, METH_VARARGS, (char *)"delete_Fl_End(Fl_End self)"}, { (char *)"Fl_End_swigregister", Fl_End_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Browser__item_first", _wrap_Fl_Browser__item_first, METH_VARARGS, (char *)"Fl_Browser__item_first(Fl_Browser_ self) -> void"}, { (char *)"Fl_Browser__item_next", _wrap_Fl_Browser__item_next, METH_VARARGS, (char *)"Fl_Browser__item_next(Fl_Browser_ self, void item) -> void"}, { (char *)"Fl_Browser__item_prev", _wrap_Fl_Browser__item_prev, METH_VARARGS, (char *)"Fl_Browser__item_prev(Fl_Browser_ self, void item) -> void"}, { (char *)"Fl_Browser__item_last", _wrap_Fl_Browser__item_last, METH_VARARGS, (char *)"Fl_Browser__item_last(Fl_Browser_ self) -> void"}, { (char *)"Fl_Browser__item_height", _wrap_Fl_Browser__item_height, METH_VARARGS, (char *)"Fl_Browser__item_height(Fl_Browser_ self, void item) -> int"}, { (char *)"Fl_Browser__item_width", _wrap_Fl_Browser__item_width, METH_VARARGS, (char *)"Fl_Browser__item_width(Fl_Browser_ self, void item) -> int"}, { (char *)"Fl_Browser__item_quick_height", _wrap_Fl_Browser__item_quick_height, METH_VARARGS, (char *)"Fl_Browser__item_quick_height(Fl_Browser_ self, void item) -> int"}, { (char *)"Fl_Browser__item_draw", _wrap_Fl_Browser__item_draw, METH_VARARGS, (char *)"Fl_Browser__item_draw(Fl_Browser_ self, void item, int X, int Y, int W, int H)"}, { (char *)"Fl_Browser__item_text", _wrap_Fl_Browser__item_text, METH_VARARGS, (char *)"Fl_Browser__item_text(Fl_Browser_ self, void item) -> char"}, { (char *)"Fl_Browser__item_swap", _wrap_Fl_Browser__item_swap, METH_VARARGS, (char *)"Fl_Browser__item_swap(Fl_Browser_ self, void a, void b)"}, { (char *)"Fl_Browser__item_at", _wrap_Fl_Browser__item_at, METH_VARARGS, (char *)"Fl_Browser__item_at(Fl_Browser_ self, int index) -> void"}, { (char *)"Fl_Browser__full_width", _wrap_Fl_Browser__full_width, METH_VARARGS, (char *)"Fl_Browser__full_width(Fl_Browser_ self) -> int"}, { (char *)"Fl_Browser__full_height", _wrap_Fl_Browser__full_height, METH_VARARGS, (char *)"Fl_Browser__full_height(Fl_Browser_ self) -> int"}, { (char *)"Fl_Browser__incr_height", _wrap_Fl_Browser__incr_height, METH_VARARGS, (char *)"Fl_Browser__incr_height(Fl_Browser_ self) -> int"}, { (char *)"Fl_Browser__item_select", _wrap_Fl_Browser__item_select, METH_VARARGS, (char *)"Fl_Browser__item_select(Fl_Browser_ self, void item, int val = 1)"}, { (char *)"Fl_Browser__item_selected", _wrap_Fl_Browser__item_selected, METH_VARARGS, (char *)"Fl_Browser__item_selected(Fl_Browser_ self, void item) -> int"}, { (char *)"Fl_Browser__draw", _wrap_Fl_Browser__draw, METH_VARARGS, (char *)"Fl_Browser__draw(Fl_Browser_ self)"}, { (char *)"new_Fl_Browser_", _wrap_new_Fl_Browser_, METH_VARARGS, (char *)"new_Fl_Browser_(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Browser_"}, { (char *)"Fl_Browser__handle", _wrap_Fl_Browser__handle, METH_VARARGS, (char *)"Fl_Browser__handle(Fl_Browser_ self, int event) -> int"}, { (char *)"Fl_Browser__resize", _wrap_Fl_Browser__resize, METH_VARARGS, (char *)"Fl_Browser__resize(Fl_Browser_ self, int X, int Y, int W, int H)"}, { (char *)"Fl_Browser__select", _wrap_Fl_Browser__select, METH_VARARGS, (char *)"Fl_Browser__select(Fl_Browser_ self, void item, int val = 1, int docallbacks = 0) -> int"}, { (char *)"Fl_Browser__select_only", _wrap_Fl_Browser__select_only, METH_VARARGS, (char *)"Fl_Browser__select_only(Fl_Browser_ self, void item, int docallbacks = 0) -> int"}, { (char *)"Fl_Browser__deselect", _wrap_Fl_Browser__deselect, METH_VARARGS, (char *)"Fl_Browser__deselect(Fl_Browser_ self, int docallbacks = 0) -> int"}, { (char *)"Fl_Browser__position", _wrap_Fl_Browser__position, METH_VARARGS, (char *)"\n" "position() -> int\n" "Fl_Browser__position(Fl_Browser_ self, int pos)\n" ""}, { (char *)"Fl_Browser__hposition", _wrap_Fl_Browser__hposition, METH_VARARGS, (char *)"\n" "hposition() -> int\n" "Fl_Browser__hposition(Fl_Browser_ self, int arg1)\n" ""}, { (char *)"Fl_Browser__display", _wrap_Fl_Browser__display, METH_VARARGS, (char *)"Fl_Browser__display(Fl_Browser_ self, void item)"}, { (char *)"Fl_Browser__has_scrollbar", _wrap_Fl_Browser__has_scrollbar, METH_VARARGS, (char *)"\n" "has_scrollbar() -> uchar\n" "Fl_Browser__has_scrollbar(Fl_Browser_ self, uchar mode)\n" ""}, { (char *)"Fl_Browser__textfont", _wrap_Fl_Browser__textfont, METH_VARARGS, (char *)"\n" "textfont() -> Fl_Font\n" "Fl_Browser__textfont(Fl_Browser_ self, Fl_Font font)\n" ""}, { (char *)"Fl_Browser__textsize", _wrap_Fl_Browser__textsize, METH_VARARGS, (char *)"\n" "textsize() -> Fl_Fontsize\n" "Fl_Browser__textsize(Fl_Browser_ self, Fl_Fontsize size)\n" ""}, { (char *)"Fl_Browser__textcolor", _wrap_Fl_Browser__textcolor, METH_VARARGS, (char *)"\n" "textcolor() -> Fl_Color\n" "Fl_Browser__textcolor(Fl_Browser_ self, Fl_Color col)\n" ""}, { (char *)"Fl_Browser__scrollbar_size", _wrap_Fl_Browser__scrollbar_size, METH_VARARGS, (char *)"\n" "scrollbar_size() -> int\n" "Fl_Browser__scrollbar_size(Fl_Browser_ self, int size)\n" ""}, { (char *)"Fl_Browser__scrollbar_width", _wrap_Fl_Browser__scrollbar_width, METH_VARARGS, (char *)"\n" "scrollbar_width() -> int\n" "Fl_Browser__scrollbar_width(Fl_Browser_ self, int width)\n" ""}, { (char *)"Fl_Browser__scrollbar_right", _wrap_Fl_Browser__scrollbar_right, METH_VARARGS, (char *)"Fl_Browser__scrollbar_right(Fl_Browser_ self)"}, { (char *)"Fl_Browser__scrollbar_left", _wrap_Fl_Browser__scrollbar_left, METH_VARARGS, (char *)"Fl_Browser__scrollbar_left(Fl_Browser_ self)"}, { (char *)"Fl_Browser__sort", _wrap_Fl_Browser__sort, METH_VARARGS, (char *)"Fl_Browser__sort(Fl_Browser_ self, int flags = 0)"}, { (char *)"Fl_Browser__getScrollbar", _wrap_Fl_Browser__getScrollbar, METH_VARARGS, (char *)"Fl_Browser__getScrollbar(Fl_Browser_ self) -> Fl_Scrollbar"}, { (char *)"Fl_Browser__getHScrollbar", _wrap_Fl_Browser__getHScrollbar, METH_VARARGS, (char *)"Fl_Browser__getHScrollbar(Fl_Browser_ self) -> Fl_Scrollbar"}, { (char *)"delete_Fl_Browser_", _wrap_delete_Fl_Browser_, METH_VARARGS, (char *)"delete_Fl_Browser_(Fl_Browser_ self)"}, { (char *)"disown_Fl_Browser_", _wrap_disown_Fl_Browser_, METH_VARARGS, NULL}, { (char *)"Fl_Browser__swigregister", Fl_Browser__swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Browser_item_first", _wrap_Fl_Browser_item_first, METH_VARARGS, (char *)"Fl_Browser_item_first(Fl_Browser self) -> void"}, { (char *)"Fl_Browser_item_next", _wrap_Fl_Browser_item_next, METH_VARARGS, (char *)"Fl_Browser_item_next(Fl_Browser self, void item) -> void"}, { (char *)"Fl_Browser_item_prev", _wrap_Fl_Browser_item_prev, METH_VARARGS, (char *)"Fl_Browser_item_prev(Fl_Browser self, void item) -> void"}, { (char *)"Fl_Browser_item_last", _wrap_Fl_Browser_item_last, METH_VARARGS, (char *)"Fl_Browser_item_last(Fl_Browser self) -> void"}, { (char *)"Fl_Browser_item_selected", _wrap_Fl_Browser_item_selected, METH_VARARGS, (char *)"Fl_Browser_item_selected(Fl_Browser self, void item) -> int"}, { (char *)"Fl_Browser_item_select", _wrap_Fl_Browser_item_select, METH_VARARGS, (char *)"Fl_Browser_item_select(Fl_Browser self, void item, int val)"}, { (char *)"Fl_Browser_item_height", _wrap_Fl_Browser_item_height, METH_VARARGS, (char *)"Fl_Browser_item_height(Fl_Browser self, void item) -> int"}, { (char *)"Fl_Browser_item_width", _wrap_Fl_Browser_item_width, METH_VARARGS, (char *)"Fl_Browser_item_width(Fl_Browser self, void item) -> int"}, { (char *)"Fl_Browser_item_draw", _wrap_Fl_Browser_item_draw, METH_VARARGS, (char *)"Fl_Browser_item_draw(Fl_Browser self, void item, int X, int Y, int W, int H)"}, { (char *)"Fl_Browser_full_height", _wrap_Fl_Browser_full_height, METH_VARARGS, (char *)"Fl_Browser_full_height(Fl_Browser self) -> int"}, { (char *)"Fl_Browser_incr_height", _wrap_Fl_Browser_incr_height, METH_VARARGS, (char *)"Fl_Browser_incr_height(Fl_Browser self) -> int"}, { (char *)"Fl_Browser_item_text", _wrap_Fl_Browser_item_text, METH_VARARGS, (char *)"Fl_Browser_item_text(Fl_Browser self, void item) -> char"}, { (char *)"Fl_Browser_item_swap", _wrap_Fl_Browser_item_swap, METH_VARARGS, (char *)"Fl_Browser_item_swap(Fl_Browser self, void a, void b)"}, { (char *)"Fl_Browser_item_at", _wrap_Fl_Browser_item_at, METH_VARARGS, (char *)"Fl_Browser_item_at(Fl_Browser self, int line) -> void"}, { (char *)"Fl_Browser_remove", _wrap_Fl_Browser_remove, METH_VARARGS, (char *)"Fl_Browser_remove(Fl_Browser self, int line)"}, { (char *)"Fl_Browser_move", _wrap_Fl_Browser_move, METH_VARARGS, (char *)"Fl_Browser_move(Fl_Browser self, int to, int _from)"}, { (char *)"Fl_Browser_load", _wrap_Fl_Browser_load, METH_VARARGS, (char *)"Fl_Browser_load(Fl_Browser self, char filename) -> int"}, { (char *)"Fl_Browser_swap", _wrap_Fl_Browser_swap, METH_VARARGS, (char *)"Fl_Browser_swap(Fl_Browser self, int a, int b)"}, { (char *)"Fl_Browser_clear", _wrap_Fl_Browser_clear, METH_VARARGS, (char *)"Fl_Browser_clear(Fl_Browser self)"}, { (char *)"Fl_Browser_size", _wrap_Fl_Browser_size, METH_VARARGS, (char *)"\n" "size() -> int\n" "Fl_Browser_size(Fl_Browser self, int W, int H)\n" ""}, { (char *)"Fl_Browser_lineposition", _wrap_Fl_Browser_lineposition, METH_VARARGS, (char *)"Fl_Browser_lineposition(Fl_Browser self, int line, Fl_Line_Position pos)"}, { (char *)"Fl_Browser_topline", _wrap_Fl_Browser_topline, METH_VARARGS, (char *)"\n" "topline() -> int\n" "Fl_Browser_topline(Fl_Browser self, int line)\n" ""}, { (char *)"Fl_Browser_bottomline", _wrap_Fl_Browser_bottomline, METH_VARARGS, (char *)"Fl_Browser_bottomline(Fl_Browser self, int line)"}, { (char *)"Fl_Browser_middleline", _wrap_Fl_Browser_middleline, METH_VARARGS, (char *)"Fl_Browser_middleline(Fl_Browser self, int line)"}, { (char *)"Fl_Browser_select", _wrap_Fl_Browser_select, METH_VARARGS, (char *)"Fl_Browser_select(Fl_Browser self, int line, int val = 1) -> int"}, { (char *)"Fl_Browser_selected", _wrap_Fl_Browser_selected, METH_VARARGS, (char *)"Fl_Browser_selected(Fl_Browser self, int line) -> int"}, { (char *)"Fl_Browser_show", _wrap_Fl_Browser_show, METH_VARARGS, (char *)"\n" "show(int line)\n" "Fl_Browser_show(Fl_Browser self)\n" ""}, { (char *)"Fl_Browser_hide", _wrap_Fl_Browser_hide, METH_VARARGS, (char *)"\n" "hide(int line)\n" "Fl_Browser_hide(Fl_Browser self)\n" ""}, { (char *)"Fl_Browser_visible", _wrap_Fl_Browser_visible, METH_VARARGS, (char *)"Fl_Browser_visible(Fl_Browser self, int line) -> int"}, { (char *)"Fl_Browser_value", _wrap_Fl_Browser_value, METH_VARARGS, (char *)"\n" "value() -> int\n" "Fl_Browser_value(Fl_Browser self, int line)\n" ""}, { (char *)"Fl_Browser_text", _wrap_Fl_Browser_text, METH_VARARGS, (char *)"\n" "text(int line) -> char\n" "Fl_Browser_text(Fl_Browser self, int line, char newtext)\n" ""}, { (char *)"new_Fl_Browser", _wrap_new_Fl_Browser, METH_VARARGS, (char *)"new_Fl_Browser(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Browser"}, { (char *)"delete_Fl_Browser", _wrap_delete_Fl_Browser, METH_VARARGS, (char *)"delete_Fl_Browser(Fl_Browser self)"}, { (char *)"Fl_Browser_format_char", _wrap_Fl_Browser_format_char, METH_VARARGS, (char *)"\n" "format_char() -> char\n" "Fl_Browser_format_char(Fl_Browser self, char c)\n" ""}, { (char *)"Fl_Browser_column_char", _wrap_Fl_Browser_column_char, METH_VARARGS, (char *)"\n" "column_char() -> char\n" "Fl_Browser_column_char(Fl_Browser self, char c)\n" ""}, { (char *)"Fl_Browser_displayed", _wrap_Fl_Browser_displayed, METH_VARARGS, (char *)"Fl_Browser_displayed(Fl_Browser self, int line) -> int"}, { (char *)"Fl_Browser_make_visible", _wrap_Fl_Browser_make_visible, METH_VARARGS, (char *)"Fl_Browser_make_visible(Fl_Browser self, int line)"}, { (char *)"Fl_Browser_icon", _wrap_Fl_Browser_icon, METH_VARARGS, (char *)"\n" "icon(int line, Fl_Image icon)\n" "Fl_Browser_icon(Fl_Browser self, int line) -> Fl_Image\n" ""}, { (char *)"Fl_Browser_remove_icon", _wrap_Fl_Browser_remove_icon, METH_VARARGS, (char *)"Fl_Browser_remove_icon(Fl_Browser self, int line)"}, { (char *)"Fl_Browser_replace", _wrap_Fl_Browser_replace, METH_VARARGS, (char *)"Fl_Browser_replace(Fl_Browser self, int a, char b)"}, { (char *)"Fl_Browser_display", _wrap_Fl_Browser_display, METH_VARARGS, (char *)"Fl_Browser_display(Fl_Browser self, int line, int val = 1)"}, { (char *)"Fl_Browser_add", _wrap_Fl_Browser_add, METH_VARARGS, (char *)"Fl_Browser_add(Fl_Browser self, char text, PyObject data = None)"}, { (char *)"Fl_Browser_insert", _wrap_Fl_Browser_insert, METH_VARARGS, (char *)"Fl_Browser_insert(Fl_Browser self, int index, char text, PyObject data = None)"}, { (char *)"Fl_Browser_get_data", _wrap_Fl_Browser_get_data, METH_VARARGS, (char *)"Fl_Browser_get_data(Fl_Browser self, int index) -> PyObject"}, { (char *)"Fl_Browser_data", _wrap_Fl_Browser_data, METH_VARARGS, (char *)"Fl_Browser_data(Fl_Browser self, int index, PyObject data = None) -> PyObject"}, { (char *)"Fl_Browser_column_widths", _wrap_Fl_Browser_column_widths, METH_VARARGS, (char *)"\n" "column_widths() -> int\n" "Fl_Browser_column_widths(Fl_Browser self, PyObject widths)\n" ""}, { (char *)"disown_Fl_Browser", _wrap_disown_Fl_Browser, METH_VARARGS, NULL}, { (char *)"Fl_Browser_draw", _wrap_Fl_Browser_draw, METH_VARARGS, (char *)"Fl_Browser_draw(Fl_Browser self)"}, { (char *)"Fl_Browser_item_quick_height", _wrap_Fl_Browser_item_quick_height, METH_VARARGS, (char *)"Fl_Browser_item_quick_height(Fl_Browser self, void item) -> int"}, { (char *)"Fl_Browser_full_width", _wrap_Fl_Browser_full_width, METH_VARARGS, (char *)"Fl_Browser_full_width(Fl_Browser self) -> int"}, { (char *)"Fl_Browser_swigregister", Fl_Browser_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_File_Browser", _wrap_new_Fl_File_Browser, METH_VARARGS, (char *)"\n" "new_Fl_File_Browser(PyObject self, int arg1, int arg2, int arg3, int arg4, \n" " char arg5 = None) -> Fl_File_Browser\n" ""}, { (char *)"Fl_File_Browser_iconsize", _wrap_Fl_File_Browser_iconsize, METH_VARARGS, (char *)"\n" "iconsize() -> uchar\n" "Fl_File_Browser_iconsize(Fl_File_Browser self, uchar s)\n" ""}, { (char *)"Fl_File_Browser_filter", _wrap_Fl_File_Browser_filter, METH_VARARGS, (char *)"\n" "filter(char pattern)\n" "Fl_File_Browser_filter(Fl_File_Browser self) -> char\n" ""}, { (char *)"Fl_File_Browser_textsize", _wrap_Fl_File_Browser_textsize, METH_VARARGS, (char *)"\n" "textsize() -> Fl_Fontsize\n" "Fl_File_Browser_textsize(Fl_File_Browser self, Fl_Fontsize s)\n" ""}, { (char *)"Fl_File_Browser_filetype", _wrap_Fl_File_Browser_filetype, METH_VARARGS, (char *)"\n" "filetype() -> int\n" "Fl_File_Browser_filetype(Fl_File_Browser self, int t)\n" ""}, { (char *)"Fl_File_Browser_load", _wrap_Fl_File_Browser_load, METH_VARARGS, (char *)"Fl_File_Browser_load(Fl_File_Browser self, PyObject dObj, PyObject sObj) -> int"}, { (char *)"delete_Fl_File_Browser", _wrap_delete_Fl_File_Browser, METH_VARARGS, (char *)"delete_Fl_File_Browser(Fl_File_Browser self)"}, { (char *)"disown_Fl_File_Browser", _wrap_disown_Fl_File_Browser, METH_VARARGS, NULL}, { (char *)"Fl_File_Browser_draw", _wrap_Fl_File_Browser_draw, METH_VARARGS, (char *)"Fl_File_Browser_draw(Fl_File_Browser self)"}, { (char *)"Fl_File_Browser_item_first", _wrap_Fl_File_Browser_item_first, METH_VARARGS, (char *)"Fl_File_Browser_item_first(Fl_File_Browser self) -> void"}, { (char *)"Fl_File_Browser_item_next", _wrap_Fl_File_Browser_item_next, METH_VARARGS, (char *)"Fl_File_Browser_item_next(Fl_File_Browser self, void item) -> void"}, { (char *)"Fl_File_Browser_item_prev", _wrap_Fl_File_Browser_item_prev, METH_VARARGS, (char *)"Fl_File_Browser_item_prev(Fl_File_Browser self, void item) -> void"}, { (char *)"Fl_File_Browser_item_last", _wrap_Fl_File_Browser_item_last, METH_VARARGS, (char *)"Fl_File_Browser_item_last(Fl_File_Browser self) -> void"}, { (char *)"Fl_File_Browser_item_height", _wrap_Fl_File_Browser_item_height, METH_VARARGS, (char *)"Fl_File_Browser_item_height(Fl_File_Browser self, void item) -> int"}, { (char *)"Fl_File_Browser_item_width", _wrap_Fl_File_Browser_item_width, METH_VARARGS, (char *)"Fl_File_Browser_item_width(Fl_File_Browser self, void item) -> int"}, { (char *)"Fl_File_Browser_item_quick_height", _wrap_Fl_File_Browser_item_quick_height, METH_VARARGS, (char *)"Fl_File_Browser_item_quick_height(Fl_File_Browser self, void item) -> int"}, { (char *)"Fl_File_Browser_item_draw", _wrap_Fl_File_Browser_item_draw, METH_VARARGS, (char *)"\n" "Fl_File_Browser_item_draw(Fl_File_Browser self, void item, int X, int Y, int W, \n" " int H)\n" ""}, { (char *)"Fl_File_Browser_item_text", _wrap_Fl_File_Browser_item_text, METH_VARARGS, (char *)"Fl_File_Browser_item_text(Fl_File_Browser self, void item) -> char"}, { (char *)"Fl_File_Browser_item_swap", _wrap_Fl_File_Browser_item_swap, METH_VARARGS, (char *)"Fl_File_Browser_item_swap(Fl_File_Browser self, void a, void b)"}, { (char *)"Fl_File_Browser_item_at", _wrap_Fl_File_Browser_item_at, METH_VARARGS, (char *)"Fl_File_Browser_item_at(Fl_File_Browser self, int line) -> void"}, { (char *)"Fl_File_Browser_full_width", _wrap_Fl_File_Browser_full_width, METH_VARARGS, (char *)"Fl_File_Browser_full_width(Fl_File_Browser self) -> int"}, { (char *)"Fl_File_Browser_full_height", _wrap_Fl_File_Browser_full_height, METH_VARARGS, (char *)"Fl_File_Browser_full_height(Fl_File_Browser self) -> int"}, { (char *)"Fl_File_Browser_incr_height", _wrap_Fl_File_Browser_incr_height, METH_VARARGS, (char *)"Fl_File_Browser_incr_height(Fl_File_Browser self) -> int"}, { (char *)"Fl_File_Browser_item_select", _wrap_Fl_File_Browser_item_select, METH_VARARGS, (char *)"Fl_File_Browser_item_select(Fl_File_Browser self, void item, int val)"}, { (char *)"Fl_File_Browser_item_selected", _wrap_Fl_File_Browser_item_selected, METH_VARARGS, (char *)"Fl_File_Browser_item_selected(Fl_File_Browser self, void item) -> int"}, { (char *)"Fl_File_Browser_swigregister", Fl_File_Browser_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_File_Icon", _wrap_new_Fl_File_Icon, METH_VARARGS, (char *)"new_Fl_File_Icon(char p, int t, int nd = 0, short d = None) -> Fl_File_Icon"}, { (char *)"delete_Fl_File_Icon", _wrap_delete_Fl_File_Icon, METH_VARARGS, (char *)"delete_Fl_File_Icon(Fl_File_Icon self)"}, { (char *)"Fl_File_Icon_add", _wrap_Fl_File_Icon_add, METH_VARARGS, (char *)"Fl_File_Icon_add(Fl_File_Icon self, short d) -> short"}, { (char *)"Fl_File_Icon_add_color", _wrap_Fl_File_Icon_add_color, METH_VARARGS, (char *)"Fl_File_Icon_add_color(Fl_File_Icon self, Fl_Color c) -> short"}, { (char *)"Fl_File_Icon_add_vertex", _wrap_Fl_File_Icon_add_vertex, METH_VARARGS, (char *)"\n" "add_vertex(int x, int y) -> short\n" "Fl_File_Icon_add_vertex(Fl_File_Icon self, float x, float y) -> short\n" ""}, { (char *)"Fl_File_Icon_clear", _wrap_Fl_File_Icon_clear, METH_VARARGS, (char *)"Fl_File_Icon_clear(Fl_File_Icon self)"}, { (char *)"Fl_File_Icon_draw", _wrap_Fl_File_Icon_draw, METH_VARARGS, (char *)"\n" "Fl_File_Icon_draw(Fl_File_Icon self, int x, int y, int w, int h, Fl_Color ic, \n" " int active = 1)\n" ""}, { (char *)"Fl_File_Icon_label", _wrap_Fl_File_Icon_label, METH_VARARGS, (char *)"Fl_File_Icon_label(Fl_File_Icon self, Fl_Widget w)"}, { (char *)"Fl_File_Icon_labeltype", _wrap_Fl_File_Icon_labeltype, METH_VARARGS, (char *)"Fl_File_Icon_labeltype(Fl_Label o, int x, int y, int w, int h, Fl_Align a)"}, { (char *)"Fl_File_Icon_load", _wrap_Fl_File_Icon_load, METH_VARARGS, (char *)"Fl_File_Icon_load(Fl_File_Icon self, char f)"}, { (char *)"Fl_File_Icon_load_fti", _wrap_Fl_File_Icon_load_fti, METH_VARARGS, (char *)"Fl_File_Icon_load_fti(Fl_File_Icon self, char fti) -> int"}, { (char *)"Fl_File_Icon_load_image", _wrap_Fl_File_Icon_load_image, METH_VARARGS, (char *)"Fl_File_Icon_load_image(Fl_File_Icon self, char i) -> int"}, { (char *)"Fl_File_Icon_next", _wrap_Fl_File_Icon_next, METH_VARARGS, (char *)"Fl_File_Icon_next(Fl_File_Icon self) -> Fl_File_Icon"}, { (char *)"Fl_File_Icon_pattern", _wrap_Fl_File_Icon_pattern, METH_VARARGS, (char *)"Fl_File_Icon_pattern(Fl_File_Icon self) -> char"}, { (char *)"Fl_File_Icon_size", _wrap_Fl_File_Icon_size, METH_VARARGS, (char *)"Fl_File_Icon_size(Fl_File_Icon self) -> int"}, { (char *)"Fl_File_Icon_type", _wrap_Fl_File_Icon_type, METH_VARARGS, (char *)"Fl_File_Icon_type(Fl_File_Icon self) -> int"}, { (char *)"Fl_File_Icon_value", _wrap_Fl_File_Icon_value, METH_VARARGS, (char *)"Fl_File_Icon_value(Fl_File_Icon self) -> short"}, { (char *)"Fl_File_Icon_find", _wrap_Fl_File_Icon_find, METH_VARARGS, (char *)"Fl_File_Icon_find(char filename, int filetype = ANY) -> Fl_File_Icon"}, { (char *)"Fl_File_Icon_first", _wrap_Fl_File_Icon_first, METH_VARARGS, (char *)"Fl_File_Icon_first() -> Fl_File_Icon"}, { (char *)"Fl_File_Icon_load_system_icons", _wrap_Fl_File_Icon_load_system_icons, METH_VARARGS, (char *)"Fl_File_Icon_load_system_icons()"}, { (char *)"Fl_File_Icon_swigregister", Fl_File_Icon_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_File_Chooser", _wrap_new_Fl_File_Chooser, METH_VARARGS, (char *)"new_Fl_File_Chooser(char d, char p, int t, char title) -> Fl_File_Chooser"}, { (char *)"delete_Fl_File_Chooser", _wrap_delete_Fl_File_Chooser, METH_VARARGS, (char *)"delete_Fl_File_Chooser(Fl_File_Chooser self)"}, { (char *)"Fl_File_Chooser_color", _wrap_Fl_File_Chooser_color, METH_VARARGS, (char *)"\n" "color(Fl_Color c)\n" "Fl_File_Chooser_color(Fl_File_Chooser self) -> Fl_Color\n" ""}, { (char *)"Fl_File_Chooser_count", _wrap_Fl_File_Chooser_count, METH_VARARGS, (char *)"Fl_File_Chooser_count(Fl_File_Chooser self) -> int"}, { (char *)"Fl_File_Chooser_directory", _wrap_Fl_File_Chooser_directory, METH_VARARGS, (char *)"\n" "directory(char d)\n" "Fl_File_Chooser_directory(Fl_File_Chooser self) -> char\n" ""}, { (char *)"Fl_File_Chooser_filter", _wrap_Fl_File_Chooser_filter, METH_VARARGS, (char *)"\n" "filter(char p)\n" "Fl_File_Chooser_filter(Fl_File_Chooser self) -> char\n" ""}, { (char *)"Fl_File_Chooser_filter_value", _wrap_Fl_File_Chooser_filter_value, METH_VARARGS, (char *)"\n" "filter_value() -> int\n" "Fl_File_Chooser_filter_value(Fl_File_Chooser self, int f)\n" ""}, { (char *)"Fl_File_Chooser_hide", _wrap_Fl_File_Chooser_hide, METH_VARARGS, (char *)"Fl_File_Chooser_hide(Fl_File_Chooser self)"}, { (char *)"Fl_File_Chooser_iconsize", _wrap_Fl_File_Chooser_iconsize, METH_VARARGS, (char *)"\n" "iconsize(uchar s)\n" "Fl_File_Chooser_iconsize(Fl_File_Chooser self) -> uchar\n" ""}, { (char *)"Fl_File_Chooser_label", _wrap_Fl_File_Chooser_label, METH_VARARGS, (char *)"\n" "label(char l)\n" "Fl_File_Chooser_label(Fl_File_Chooser self) -> char\n" ""}, { (char *)"Fl_File_Chooser_ok_label", _wrap_Fl_File_Chooser_ok_label, METH_VARARGS, (char *)"\n" "ok_label(char l)\n" "Fl_File_Chooser_ok_label(Fl_File_Chooser self) -> char\n" ""}, { (char *)"Fl_File_Chooser_preview", _wrap_Fl_File_Chooser_preview, METH_VARARGS, (char *)"\n" "preview(int e)\n" "Fl_File_Chooser_preview(Fl_File_Chooser self) -> int\n" ""}, { (char *)"Fl_File_Chooser_rescan", _wrap_Fl_File_Chooser_rescan, METH_VARARGS, (char *)"Fl_File_Chooser_rescan(Fl_File_Chooser self)"}, { (char *)"Fl_File_Chooser_show", _wrap_Fl_File_Chooser_show, METH_VARARGS, (char *)"Fl_File_Chooser_show(Fl_File_Chooser self)"}, { (char *)"Fl_File_Chooser_shown", _wrap_Fl_File_Chooser_shown, METH_VARARGS, (char *)"Fl_File_Chooser_shown(Fl_File_Chooser self) -> int"}, { (char *)"Fl_File_Chooser_textcolor", _wrap_Fl_File_Chooser_textcolor, METH_VARARGS, (char *)"\n" "textcolor(Fl_Color c)\n" "Fl_File_Chooser_textcolor(Fl_File_Chooser self) -> Fl_Color\n" ""}, { (char *)"Fl_File_Chooser_textfont", _wrap_Fl_File_Chooser_textfont, METH_VARARGS, (char *)"\n" "textfont(Fl_Font f)\n" "Fl_File_Chooser_textfont(Fl_File_Chooser self) -> Fl_Font\n" ""}, { (char *)"Fl_File_Chooser_textsize", _wrap_Fl_File_Chooser_textsize, METH_VARARGS, (char *)"\n" "textsize(Fl_Fontsize s)\n" "Fl_File_Chooser_textsize(Fl_File_Chooser self) -> Fl_Fontsize\n" ""}, { (char *)"Fl_File_Chooser_type", _wrap_Fl_File_Chooser_type, METH_VARARGS, (char *)"\n" "type(int t)\n" "Fl_File_Chooser_type(Fl_File_Chooser self) -> int\n" ""}, { (char *)"Fl_File_Chooser_user_data", _wrap_Fl_File_Chooser_user_data, METH_VARARGS, (char *)"\n" "user_data()\n" "Fl_File_Chooser_user_data(Fl_File_Chooser self, void d)\n" ""}, { (char *)"Fl_File_Chooser_value", _wrap_Fl_File_Chooser_value, METH_VARARGS, (char *)"\n" "value(int f = 1) -> char\n" "Fl_File_Chooser_value(Fl_File_Chooser self, char filename)\n" ""}, { (char *)"Fl_File_Chooser_visible", _wrap_Fl_File_Chooser_visible, METH_VARARGS, (char *)"Fl_File_Chooser_visible(Fl_File_Chooser self) -> int"}, { (char *)"Fl_File_Chooser_add_extra", _wrap_Fl_File_Chooser_add_extra, METH_VARARGS, (char *)"Fl_File_Chooser_add_extra(Fl_File_Chooser self, Fl_Widget gr) -> Fl_Widget"}, { (char *)"Fl_File_Chooser_callback", _wrap_Fl_File_Chooser_callback, METH_VARARGS, (char *)"\n" "callback(void cb, void d = None)\n" "Fl_File_Chooser_callback(Fl_File_Chooser self, PyObject PyFunc, PyObject PyWidget, \n" " PyObject PyData = None)\n" ""}, { (char *)"Fl_File_Chooser_swigregister", Fl_File_Chooser_swigregister, METH_VARARGS, NULL}, { (char *)"fl_dir_chooser", _wrap_fl_dir_chooser, METH_VARARGS, (char *)"fl_dir_chooser(char message, char fname, int relative = 0) -> char"}, { (char *)"fl_file_chooser", _wrap_fl_file_chooser, METH_VARARGS, (char *)"fl_file_chooser(char message, char pat, char fname, int relative = 0) -> char"}, { (char *)"fl_file_chooser_callback", _wrap_fl_file_chooser_callback, METH_VARARGS, (char *)"fl_file_chooser_callback(void cb)"}, { (char *)"fl_file_chooser_ok_label", _wrap_fl_file_chooser_ok_label, METH_VARARGS, (char *)"fl_file_chooser_ok_label(char l)"}, { (char *)"Fl_option", _wrap_Fl_option, METH_VARARGS, (char *)"\n" "option(Fl_Option opt) -> bool\n" "Fl_option(Fl_Option opt, bool val)\n" ""}, { (char *)"Fl_add_awake_handler_", _wrap_Fl_add_awake_handler_, METH_VARARGS, (char *)"Fl_add_awake_handler_(Fl_Awake_Handler arg0, void arg1) -> int"}, { (char *)"Fl_version", _wrap_Fl_version, METH_VARARGS, (char *)"Fl_version() -> double"}, { (char *)"Fl_arg", _wrap_Fl_arg, METH_VARARGS, (char *)"Fl_arg(int argc, char argv, int i) -> int"}, { (char *)"Fl_args", _wrap_Fl_args, METH_VARARGS, (char *)"\n" "args(int argc, char argv, int i, Fl_Args_Handler cb = 0) -> int\n" "Fl_args(int argc, char argv)\n" ""}, { (char *)"Fl_display", _wrap_Fl_display, METH_VARARGS, (char *)"Fl_display(char arg0)"}, { (char *)"Fl_visual", _wrap_Fl_visual, METH_VARARGS, (char *)"Fl_visual(int arg0) -> int"}, { (char *)"Fl_own_colormap", _wrap_Fl_own_colormap, METH_VARARGS, (char *)"Fl_own_colormap()"}, { (char *)"Fl_get_system_colors", _wrap_Fl_get_system_colors, METH_VARARGS, (char *)"Fl_get_system_colors()"}, { (char *)"Fl_foreground", _wrap_Fl_foreground, METH_VARARGS, (char *)"Fl_foreground(uchar arg0, uchar arg1, uchar arg2)"}, { (char *)"Fl_background", _wrap_Fl_background, METH_VARARGS, (char *)"Fl_background(uchar arg0, uchar arg1, uchar arg2)"}, { (char *)"Fl_background2", _wrap_Fl_background2, METH_VARARGS, (char *)"Fl_background2(uchar arg0, uchar arg1, uchar arg2)"}, { (char *)"Fl_scheme", _wrap_Fl_scheme, METH_VARARGS, (char *)"\n" "scheme(char arg0) -> int\n" "Fl_scheme() -> char\n" ""}, { (char *)"Fl_reload_scheme", _wrap_Fl_reload_scheme, METH_VARARGS, (char *)"Fl_reload_scheme() -> int"}, { (char *)"Fl_scrollbar_size", _wrap_Fl_scrollbar_size, METH_VARARGS, (char *)"\n" "scrollbar_size() -> int\n" "Fl_scrollbar_size(int W)\n" ""}, { (char *)"Fl_wait", _wrap_Fl_wait, METH_VARARGS, (char *)"\n" "wait() -> int\n" "Fl_wait(double time) -> double\n" ""}, { (char *)"Fl_check", _wrap_Fl_check, METH_VARARGS, (char *)"Fl_check() -> int"}, { (char *)"Fl_ready", _wrap_Fl_ready, METH_VARARGS, (char *)"Fl_ready() -> int"}, { (char *)"Fl_run", _wrap_Fl_run, METH_VARARGS, (char *)"Fl_run() -> int"}, { (char *)"Fl_readqueue", _wrap_Fl_readqueue, METH_VARARGS, (char *)"Fl_readqueue() -> Fl_Widget"}, { (char *)"Fl_has_timeout", _wrap_Fl_has_timeout, METH_VARARGS, (char *)"Fl_has_timeout(Fl_Timeout_Handler arg0, void arg1 = None) -> int"}, { (char *)"Fl_add_idle", _wrap_Fl_add_idle, METH_VARARGS, (char *)"Fl_add_idle(Fl_Idle_Handler cb, void data = None)"}, { (char *)"Fl_has_idle", _wrap_Fl_has_idle, METH_VARARGS, (char *)"Fl_has_idle(Fl_Idle_Handler cb, void data = None) -> int"}, { (char *)"Fl_remove_idle", _wrap_Fl_remove_idle, METH_VARARGS, (char *)"Fl_remove_idle(Fl_Idle_Handler cb, void data = None)"}, { (char *)"Fl_damage", _wrap_Fl_damage, METH_VARARGS, (char *)"\n" "damage(int d)\n" "Fl_damage() -> int\n" ""}, { (char *)"Fl_redraw", _wrap_Fl_redraw, METH_VARARGS, (char *)"Fl_redraw()"}, { (char *)"Fl_flush", _wrap_Fl_flush, METH_VARARGS, (char *)"Fl_flush()"}, { (char *)"Fl_first_window", _wrap_Fl_first_window, METH_VARARGS, (char *)"\n" "first_window() -> Fl_Window\n" "Fl_first_window(Fl_Window arg0)\n" ""}, { (char *)"Fl_next_window", _wrap_Fl_next_window, METH_VARARGS, (char *)"Fl_next_window(Fl_Window arg0) -> Fl_Window"}, { (char *)"Fl_modal", _wrap_Fl_modal, METH_VARARGS, (char *)"Fl_modal() -> Fl_Window"}, { (char *)"Fl_grab", _wrap_Fl_grab, METH_VARARGS, (char *)"\n" "grab() -> Fl_Window\n" "Fl_grab(Fl_Window arg0)\n" ""}, { (char *)"Fl_event", _wrap_Fl_event, METH_VARARGS, (char *)"Fl_event() -> int"}, { (char *)"Fl_event_x", _wrap_Fl_event_x, METH_VARARGS, (char *)"Fl_event_x() -> int"}, { (char *)"Fl_event_y", _wrap_Fl_event_y, METH_VARARGS, (char *)"Fl_event_y() -> int"}, { (char *)"Fl_event_x_root", _wrap_Fl_event_x_root, METH_VARARGS, (char *)"Fl_event_x_root() -> int"}, { (char *)"Fl_event_y_root", _wrap_Fl_event_y_root, METH_VARARGS, (char *)"Fl_event_y_root() -> int"}, { (char *)"Fl_event_dx", _wrap_Fl_event_dx, METH_VARARGS, (char *)"Fl_event_dx() -> int"}, { (char *)"Fl_event_dy", _wrap_Fl_event_dy, METH_VARARGS, (char *)"Fl_event_dy() -> int"}, { (char *)"Fl_get_mouse", _wrap_Fl_get_mouse, METH_VARARGS, (char *)"Fl_get_mouse(int arg0, int arg1)"}, { (char *)"Fl_event_clicks", _wrap_Fl_event_clicks, METH_VARARGS, (char *)"\n" "event_clicks() -> int\n" "Fl_event_clicks(int i)\n" ""}, { (char *)"Fl_event_is_click", _wrap_Fl_event_is_click, METH_VARARGS, (char *)"\n" "event_is_click() -> int\n" "Fl_event_is_click(int i)\n" ""}, { (char *)"Fl_event_button", _wrap_Fl_event_button, METH_VARARGS, (char *)"Fl_event_button() -> int"}, { (char *)"Fl_event_state", _wrap_Fl_event_state, METH_VARARGS, (char *)"\n" "event_state() -> int\n" "Fl_event_state(int i) -> int\n" ""}, { (char *)"Fl_event_original_key", _wrap_Fl_event_original_key, METH_VARARGS, (char *)"Fl_event_original_key() -> int"}, { (char *)"Fl_event_key", _wrap_Fl_event_key, METH_VARARGS, (char *)"\n" "event_key() -> int\n" "Fl_event_key(int key) -> int\n" ""}, { (char *)"Fl_get_key", _wrap_Fl_get_key, METH_VARARGS, (char *)"Fl_get_key(int key) -> int"}, { (char *)"Fl_event_text", _wrap_Fl_event_text, METH_VARARGS, (char *)"Fl_event_text() -> char"}, { (char *)"Fl_event_length", _wrap_Fl_event_length, METH_VARARGS, (char *)"Fl_event_length() -> int"}, { (char *)"Fl_compose", _wrap_Fl_compose, METH_VARARGS, (char *)"Fl_compose(int _del) -> int"}, { (char *)"Fl_compose_reset", _wrap_Fl_compose_reset, METH_VARARGS, (char *)"Fl_compose_reset()"}, { (char *)"Fl_event_inside", _wrap_Fl_event_inside, METH_VARARGS, (char *)"\n" "event_inside(int arg0, int arg1, int arg2, int arg3) -> int\n" "Fl_event_inside(Fl_Widget arg0) -> int\n" ""}, { (char *)"Fl_test_shortcut", _wrap_Fl_test_shortcut, METH_VARARGS, (char *)"Fl_test_shortcut(Fl_Shortcut arg0) -> int"}, { (char *)"Fl_handle", _wrap_Fl_handle, METH_VARARGS, (char *)"Fl_handle(int arg0, Fl_Window arg1) -> int"}, { (char *)"Fl_handle_", _wrap_Fl_handle_, METH_VARARGS, (char *)"Fl_handle_(int arg0, Fl_Window arg1) -> int"}, { (char *)"Fl_belowmouse", _wrap_Fl_belowmouse, METH_VARARGS, (char *)"\n" "belowmouse() -> Fl_Widget\n" "Fl_belowmouse(Fl_Widget arg0)\n" ""}, { (char *)"Fl_pushed", _wrap_Fl_pushed, METH_VARARGS, (char *)"\n" "pushed() -> Fl_Widget\n" "Fl_pushed(Fl_Widget arg0)\n" ""}, { (char *)"Fl_focus", _wrap_Fl_focus, METH_VARARGS, (char *)"\n" "focus() -> Fl_Widget\n" "Fl_focus(Fl_Widget arg0)\n" ""}, { (char *)"Fl_event_dispatch", _wrap_Fl_event_dispatch, METH_VARARGS, (char *)"\n" "event_dispatch(Fl_Event_Dispatch d)\n" "Fl_event_dispatch() -> Fl_Event_Dispatch\n" ""}, { (char *)"Fl_copy", _wrap_Fl_copy, METH_VARARGS, (char *)"Fl_copy(char stuff, int len, int destination = 0)"}, { (char *)"Fl_dnd", _wrap_Fl_dnd, METH_VARARGS, (char *)"Fl_dnd() -> int"}, { (char *)"Fl_selection_owner", _wrap_Fl_selection_owner, METH_VARARGS, (char *)"\n" "selection_owner() -> Fl_Widget\n" "Fl_selection_owner(Fl_Widget arg0)\n" ""}, { (char *)"Fl_selection", _wrap_Fl_selection, METH_VARARGS, (char *)"Fl_selection(Fl_Widget owner, char arg1, int len)"}, { (char *)"Fl_paste", _wrap_Fl_paste, METH_VARARGS, (char *)"\n" "paste(Fl_Widget receiver, int source)\n" "Fl_paste(Fl_Widget receiver)\n" ""}, { (char *)"Fl_x", _wrap_Fl_x, METH_VARARGS, (char *)"Fl_x() -> int"}, { (char *)"Fl_y", _wrap_Fl_y, METH_VARARGS, (char *)"Fl_y() -> int"}, { (char *)"Fl_w", _wrap_Fl_w, METH_VARARGS, (char *)"Fl_w() -> int"}, { (char *)"Fl_h", _wrap_Fl_h, METH_VARARGS, (char *)"Fl_h() -> int"}, { (char *)"Fl_screen_count", _wrap_Fl_screen_count, METH_VARARGS, (char *)"Fl_screen_count() -> int"}, { (char *)"Fl_screen_xywh", _wrap_Fl_screen_xywh, METH_VARARGS, (char *)"\n" "screen_xywh(int X, int Y, int W, int H)\n" "screen_xywh(int X, int Y, int W, int H, int mx, int my)\n" "screen_xywh(int X, int Y, int W, int H, int n)\n" "Fl_screen_xywh(int X, int Y, int W, int H, int mx, int my, int mw, \n" " int mh)\n" ""}, { (char *)"Fl_screen_dpi", _wrap_Fl_screen_dpi, METH_VARARGS, (char *)"Fl_screen_dpi(float h, float v, int n = 0)"}, { (char *)"Fl_set_color", _wrap_Fl_set_color, METH_VARARGS, (char *)"\n" "set_color(Fl_Color arg0, uchar arg1, uchar arg2, uchar arg3)\n" "Fl_set_color(Fl_Color i, unsigned int c)\n" ""}, { (char *)"Fl_get_color", _wrap_Fl_get_color, METH_VARARGS, (char *)"Fl_get_color(Fl_Color i)"}, { (char *)"Fl_free_color", _wrap_Fl_free_color, METH_VARARGS, (char *)"Fl_free_color(Fl_Color i, int overlay = 0)"}, { (char *)"Fl_get_font", _wrap_Fl_get_font, METH_VARARGS, (char *)"Fl_get_font(Fl_Font arg0) -> char"}, { (char *)"Fl_get_font_name", _wrap_Fl_get_font_name, METH_VARARGS, (char *)"Fl_get_font_name(Fl_Font arg0) -> char"}, { (char *)"Fl_set_font", _wrap_Fl_set_font, METH_VARARGS, (char *)"\n" "set_font(Fl_Font arg0, char arg1)\n" "Fl_set_font(Fl_Font arg0, Fl_Font arg1)\n" ""}, { (char *)"Fl_set_fonts", _wrap_Fl_set_fonts, METH_VARARGS, (char *)"Fl_set_fonts(char arg0 = None) -> Fl_Font"}, { (char *)"Fl_set_labeltype", _wrap_Fl_set_labeltype, METH_VARARGS, (char *)"Fl_set_labeltype(Fl_Labeltype arg0, Fl_Label_Draw_F arg1, Fl_Label_Measure_F arg2)"}, { (char *)"Fl_get_boxtype", _wrap_Fl_get_boxtype, METH_VARARGS, (char *)"Fl_get_boxtype(Fl_Boxtype arg0) -> Fl_Box_Draw_F"}, { (char *)"Fl_set_boxtype", _wrap_Fl_set_boxtype, METH_VARARGS, (char *)"\n" "set_boxtype(Fl_Boxtype arg0, Fl_Box_Draw_F arg1, uchar arg2, uchar arg3, \n" " uchar arg4, uchar arg5)\n" "Fl_set_boxtype(Fl_Boxtype arg0, Fl_Boxtype _from)\n" ""}, { (char *)"Fl_box_dx", _wrap_Fl_box_dx, METH_VARARGS, (char *)"Fl_box_dx(Fl_Boxtype arg0) -> int"}, { (char *)"Fl_box_dy", _wrap_Fl_box_dy, METH_VARARGS, (char *)"Fl_box_dy(Fl_Boxtype arg0) -> int"}, { (char *)"Fl_box_dw", _wrap_Fl_box_dw, METH_VARARGS, (char *)"Fl_box_dw(Fl_Boxtype arg0) -> int"}, { (char *)"Fl_box_dh", _wrap_Fl_box_dh, METH_VARARGS, (char *)"Fl_box_dh(Fl_Boxtype arg0) -> int"}, { (char *)"Fl_draw_box_active", _wrap_Fl_draw_box_active, METH_VARARGS, (char *)"Fl_draw_box_active() -> int"}, { (char *)"Fl_set_abort", _wrap_Fl_set_abort, METH_VARARGS, (char *)"Fl_set_abort(Fl_Abort_Handler f)"}, { (char *)"Fl_default_atclose", _wrap_Fl_default_atclose, METH_VARARGS, (char *)"Fl_default_atclose(Fl_Window arg0, void arg1)"}, { (char *)"Fl_set_atclose", _wrap_Fl_set_atclose, METH_VARARGS, (char *)"Fl_set_atclose(Fl_Atclose_Handler f)"}, { (char *)"Fl_event_shift", _wrap_Fl_event_shift, METH_VARARGS, (char *)"Fl_event_shift() -> int"}, { (char *)"Fl_event_ctrl", _wrap_Fl_event_ctrl, METH_VARARGS, (char *)"Fl_event_ctrl() -> int"}, { (char *)"Fl_event_command", _wrap_Fl_event_command, METH_VARARGS, (char *)"Fl_event_command() -> int"}, { (char *)"Fl_event_alt", _wrap_Fl_event_alt, METH_VARARGS, (char *)"Fl_event_alt() -> int"}, { (char *)"Fl_event_buttons", _wrap_Fl_event_buttons, METH_VARARGS, (char *)"Fl_event_buttons() -> int"}, { (char *)"Fl_event_button1", _wrap_Fl_event_button1, METH_VARARGS, (char *)"Fl_event_button1() -> int"}, { (char *)"Fl_event_button2", _wrap_Fl_event_button2, METH_VARARGS, (char *)"Fl_event_button2() -> int"}, { (char *)"Fl_event_button3", _wrap_Fl_event_button3, METH_VARARGS, (char *)"Fl_event_button3() -> int"}, { (char *)"Fl_set_idle", _wrap_Fl_set_idle, METH_VARARGS, (char *)"Fl_set_idle(Fl_Old_Idle_Handler cb)"}, { (char *)"Fl_release", _wrap_Fl_release, METH_VARARGS, (char *)"Fl_release()"}, { (char *)"Fl_visible_focus", _wrap_Fl_visible_focus, METH_VARARGS, (char *)"\n" "visible_focus(int v)\n" "Fl_visible_focus() -> int\n" ""}, { (char *)"Fl_dnd_text_ops", _wrap_Fl_dnd_text_ops, METH_VARARGS, (char *)"\n" "dnd_text_ops(int v)\n" "Fl_dnd_text_ops() -> int\n" ""}, { (char *)"Fl_delete_widget", _wrap_Fl_delete_widget, METH_VARARGS, (char *)"Fl_delete_widget(Fl_Widget w)"}, { (char *)"Fl_do_widget_deletion", _wrap_Fl_do_widget_deletion, METH_VARARGS, (char *)"Fl_do_widget_deletion()"}, { (char *)"Fl_watch_widget_pointer", _wrap_Fl_watch_widget_pointer, METH_VARARGS, (char *)"Fl_watch_widget_pointer(Fl_Widget w)"}, { (char *)"Fl_release_widget_pointer", _wrap_Fl_release_widget_pointer, METH_VARARGS, (char *)"Fl_release_widget_pointer(Fl_Widget w)"}, { (char *)"Fl_clear_widget_pointer", _wrap_Fl_clear_widget_pointer, METH_VARARGS, (char *)"Fl_clear_widget_pointer(Fl_Widget w)"}, { (char *)"Fl_lock", _wrap_Fl_lock, METH_VARARGS, (char *)"Fl_lock()"}, { (char *)"Fl_unlock", _wrap_Fl_unlock, METH_VARARGS, (char *)"Fl_unlock()"}, { (char *)"Fl_awake", _wrap_Fl_awake, METH_VARARGS, (char *)"\n" "awake(Fl_Awake_Handler cb, void message = None) -> int\n" "Fl_awake(void message = None)\n" ""}, { (char *)"Fl_thread_message", _wrap_Fl_thread_message, METH_VARARGS, (char *)"Fl_thread_message()"}, { (char *)"delete_Fl", _wrap_delete_Fl, METH_VARARGS, (char *)"delete_Fl(Fl self)"}, { (char *)"Fl_swigregister", Fl_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Widget_Tracker", _wrap_new_Fl_Widget_Tracker, METH_VARARGS, (char *)"new_Fl_Widget_Tracker(Fl_Widget wi) -> Fl_Widget_Tracker"}, { (char *)"delete_Fl_Widget_Tracker", _wrap_delete_Fl_Widget_Tracker, METH_VARARGS, (char *)"delete_Fl_Widget_Tracker(Fl_Widget_Tracker self)"}, { (char *)"Fl_Widget_Tracker_widget", _wrap_Fl_Widget_Tracker_widget, METH_VARARGS, (char *)"Fl_Widget_Tracker_widget(Fl_Widget_Tracker self) -> Fl_Widget"}, { (char *)"Fl_Widget_Tracker_deleted", _wrap_Fl_Widget_Tracker_deleted, METH_VARARGS, (char *)"Fl_Widget_Tracker_deleted(Fl_Widget_Tracker self) -> int"}, { (char *)"Fl_Widget_Tracker_exists", _wrap_Fl_Widget_Tracker_exists, METH_VARARGS, (char *)"Fl_Widget_Tracker_exists(Fl_Widget_Tracker self) -> int"}, { (char *)"Fl_Widget_Tracker_swigregister", Fl_Widget_Tracker_swigregister, METH_VARARGS, NULL}, { (char *)"pyFLTK_controlIdleCallbacks", _wrap_pyFLTK_controlIdleCallbacks, METH_VARARGS, (char *)"pyFLTK_controlIdleCallbacks(int enable)"}, { (char *)"pyFLTK_registerDoIdle", registerDoIdle, METH_VARARGS, NULL}, { (char *)"Fl_add_timeout", Fl_add_timeout, METH_VARARGS, NULL}, { (char *)"Fl_repeat_timeout", Fl_repeat_timeout, METH_VARARGS, NULL}, { (char *)"Fl_remove_timeout", Fl_remove_timeout, METH_VARARGS, NULL}, { (char *)"Fl_add_fd", Fl_add_fd, METH_VARARGS, NULL}, { (char *)"Fl_remove_fd", Fl_remove_fd, METH_VARARGS, NULL}, { (char *)"Fl_add_handler", Fl_add_handler, METH_VARARGS, NULL}, { (char *)"Fl_remove_handler", Fl_remove_handler, METH_VARARGS, NULL}, { (char *)"Fl_add_check", Fl_add_check, METH_VARARGS, NULL}, { (char *)"Fl_remove_check", Fl_remove_check, METH_VARARGS, NULL}, { (char *)"Fl_get_font_sizes_tmp", Fl_get_font_sizes_tmp, METH_VARARGS, NULL}, { (char *)"fl_filename_name", _wrap_fl_filename_name, METH_VARARGS, (char *)"fl_filename_name(char filename) -> char"}, { (char *)"fl_filename_ext", _wrap_fl_filename_ext, METH_VARARGS, (char *)"fl_filename_ext(char buf) -> char"}, { (char *)"fl_filename_match", _wrap_fl_filename_match, METH_VARARGS, (char *)"fl_filename_match(char name, char pattern) -> int"}, { (char *)"fl_filename_isdir", _wrap_fl_filename_isdir, METH_VARARGS, (char *)"fl_filename_isdir(char name) -> int"}, { (char *)"fl_filename_setext", _wrap_fl_filename_setext, METH_VARARGS, (char *)"\n" "fl_filename_setext(char to, int tolen, char ext) -> char\n" "fl_filename_setext(char to, char ext) -> char\n" ""}, { (char *)"fl_filename_expand", _wrap_fl_filename_expand, METH_VARARGS, (char *)"\n" "fl_filename_expand(char to, int tolen, char _from) -> int\n" "fl_filename_expand(char to, char _from) -> int\n" ""}, { (char *)"fl_filename_absolute", _wrap_fl_filename_absolute, METH_VARARGS, (char *)"\n" "fl_filename_absolute(char to, int tolen, char _from) -> int\n" "fl_filename_absolute(char to, char _from) -> int\n" ""}, { (char *)"fl_filename_relative", _wrap_fl_filename_relative, METH_VARARGS, (char *)"\n" "fl_filename_relative(char to, int tolen, char _from) -> int\n" "fl_filename_relative(char to, int tolen, char _from, char cwd) -> int\n" "fl_filename_relative(char to, char _from) -> int\n" ""}, { (char *)"fl_filename_free_list", _wrap_fl_filename_free_list, METH_VARARGS, (char *)"fl_filename_free_list(dirent l, int n)"}, { (char *)"fl_open_uri", _wrap_fl_open_uri, METH_VARARGS, (char *)"fl_open_uri(char uri, char msg = (char *) 0, int msglen = 0) -> int"}, { (char *)"_fl_filename_isdir_quick", _wrap__fl_filename_isdir_quick, METH_VARARGS, (char *)"_fl_filename_isdir_quick(char name) -> int"}, { (char *)"Fl_Valuator_bounds", _wrap_Fl_Valuator_bounds, METH_VARARGS, (char *)"Fl_Valuator_bounds(Fl_Valuator self, double a, double b)"}, { (char *)"Fl_Valuator_minimum", _wrap_Fl_Valuator_minimum, METH_VARARGS, (char *)"\n" "minimum() -> double\n" "Fl_Valuator_minimum(Fl_Valuator self, double a)\n" ""}, { (char *)"Fl_Valuator_maximum", _wrap_Fl_Valuator_maximum, METH_VARARGS, (char *)"\n" "maximum() -> double\n" "Fl_Valuator_maximum(Fl_Valuator self, double a)\n" ""}, { (char *)"Fl_Valuator_range", _wrap_Fl_Valuator_range, METH_VARARGS, (char *)"Fl_Valuator_range(Fl_Valuator self, double a, double b)"}, { (char *)"Fl_Valuator_step", _wrap_Fl_Valuator_step, METH_VARARGS, (char *)"\n" "step(int a)\n" "step(double a, int b)\n" "step(double s)\n" "Fl_Valuator_step(Fl_Valuator self) -> double\n" ""}, { (char *)"Fl_Valuator_precision", _wrap_Fl_Valuator_precision, METH_VARARGS, (char *)"Fl_Valuator_precision(Fl_Valuator self, int arg1)"}, { (char *)"Fl_Valuator_value", _wrap_Fl_Valuator_value, METH_VARARGS, (char *)"\n" "value() -> double\n" "Fl_Valuator_value(Fl_Valuator self, double arg1) -> int\n" ""}, { (char *)"Fl_Valuator_format", _wrap_Fl_Valuator_format, METH_VARARGS, (char *)"Fl_Valuator_format(Fl_Valuator self, char format_string) -> int"}, { (char *)"Fl_Valuator_round", _wrap_Fl_Valuator_round, METH_VARARGS, (char *)"Fl_Valuator_round(Fl_Valuator self, double arg1) -> double"}, { (char *)"Fl_Valuator_clamp", _wrap_Fl_Valuator_clamp, METH_VARARGS, (char *)"Fl_Valuator_clamp(Fl_Valuator self, double arg1) -> double"}, { (char *)"Fl_Valuator_increment", _wrap_Fl_Valuator_increment, METH_VARARGS, (char *)"Fl_Valuator_increment(Fl_Valuator self, double arg1, int arg2) -> double"}, { (char *)"delete_Fl_Valuator", _wrap_delete_Fl_Valuator, METH_VARARGS, (char *)"delete_Fl_Valuator(Fl_Valuator self)"}, { (char *)"Fl_Valuator_swigregister", Fl_Valuator_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Adjuster_draw", _wrap_Fl_Adjuster_draw, METH_VARARGS, (char *)"Fl_Adjuster_draw(Fl_Adjuster self)"}, { (char *)"Fl_Adjuster_handle", _wrap_Fl_Adjuster_handle, METH_VARARGS, (char *)"Fl_Adjuster_handle(Fl_Adjuster self, int arg0) -> int"}, { (char *)"new_Fl_Adjuster", _wrap_new_Fl_Adjuster, METH_VARARGS, (char *)"new_Fl_Adjuster(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Adjuster"}, { (char *)"Fl_Adjuster_soft", _wrap_Fl_Adjuster_soft, METH_VARARGS, (char *)"\n" "soft(int s)\n" "Fl_Adjuster_soft(Fl_Adjuster self) -> int\n" ""}, { (char *)"delete_Fl_Adjuster", _wrap_delete_Fl_Adjuster, METH_VARARGS, (char *)"delete_Fl_Adjuster(Fl_Adjuster self)"}, { (char *)"disown_Fl_Adjuster", _wrap_disown_Fl_Adjuster, METH_VARARGS, NULL}, { (char *)"Fl_Adjuster_swigregister", Fl_Adjuster_swigregister, METH_VARARGS, NULL}, { (char *)"fl_beep", _wrap_fl_beep, METH_VARARGS, (char *)"fl_beep(int type = FL_BEEP_DEFAULT)"}, { (char *)"fl_message", _wrap_fl_message, METH_VARARGS, (char *)"fl_message(char arg0, v(...) *args)"}, { (char *)"fl_alert", _wrap_fl_alert, METH_VARARGS, (char *)"fl_alert(char arg0, v(...) *args)"}, { (char *)"fl_ask", _wrap_fl_ask, METH_VARARGS, (char *)"fl_ask(char arg0, v(...) *args) -> int"}, { (char *)"fl_choice", _wrap_fl_choice, METH_VARARGS, (char *)"fl_choice(char q, char b0, char b1, char b2, v(...) *args) -> int"}, { (char *)"fl_message_icon", _wrap_fl_message_icon, METH_VARARGS, (char *)"fl_message_icon() -> Fl_Widget"}, { (char *)"fl_message_font", _wrap_fl_message_font, METH_VARARGS, (char *)"fl_message_font(Fl_Font f, Fl_Fontsize s)"}, { (char *)"fl_message_hotspot", _wrap_fl_message_hotspot, METH_VARARGS, (char *)"\n" "fl_message_hotspot(int enable)\n" "fl_message_hotspot() -> int\n" ""}, { (char *)"fl_message_title", _wrap_fl_message_title, METH_VARARGS, (char *)"fl_message_title(char title)"}, { (char *)"fl_message_title_default", _wrap_fl_message_title_default, METH_VARARGS, (char *)"fl_message_title_default(char title)"}, { (char *)"fl_input", _wrap_fl_input, METH_VARARGS, (char *)"fl_input(char label, char deflt = None) -> char"}, { (char *)"fl_password", _wrap_fl_password, METH_VARARGS, (char *)"fl_password(char label, char deflt = None) -> char"}, { (char *)"fl_no_get", _wrap_fl_no_get, METH_VARARGS, (char *)"fl_no_get() -> char"}, { (char *)"fl_yes_get", _wrap_fl_yes_get, METH_VARARGS, (char *)"fl_yes_get() -> char"}, { (char *)"fl_ok_get", _wrap_fl_ok_get, METH_VARARGS, (char *)"fl_ok_get() -> char"}, { (char *)"fl_cancel_get", _wrap_fl_cancel_get, METH_VARARGS, (char *)"fl_cancel_get() -> char"}, { (char *)"fl_close_get", _wrap_fl_close_get, METH_VARARGS, (char *)"fl_close_get() -> char"}, { (char *)"fl_no_set", _wrap_fl_no_set, METH_VARARGS, (char *)"fl_no_set(char value)"}, { (char *)"fl_yes_set", _wrap_fl_yes_set, METH_VARARGS, (char *)"fl_yes_set(char value)"}, { (char *)"fl_ok_set", _wrap_fl_ok_set, METH_VARARGS, (char *)"fl_ok_set(char value)"}, { (char *)"fl_cancel_set", _wrap_fl_cancel_set, METH_VARARGS, (char *)"fl_cancel_set(char value)"}, { (char *)"fl_close_set", _wrap_fl_close_set, METH_VARARGS, (char *)"fl_close_set(char value)"}, { (char *)"fl_mt_message", _wrap_fl_mt_message, METH_VARARGS, (char *)"fl_mt_message(char text)"}, { (char *)"fl_mt_alert", _wrap_fl_mt_alert, METH_VARARGS, (char *)"fl_mt_alert(char text)"}, { (char *)"fl_mt_ask", _wrap_fl_mt_ask, METH_VARARGS, (char *)"fl_mt_ask(char text) -> int"}, { (char *)"fl_mt_choice", _wrap_fl_mt_choice, METH_VARARGS, (char *)"fl_mt_choice(char q, char b0, char b1, char b2) -> int"}, { (char *)"fl_mt_input", _wrap_fl_mt_input, METH_VARARGS, (char *)"fl_mt_input(char label, char deflt = None) -> char"}, { (char *)"fl_mt_password", _wrap_fl_mt_password, METH_VARARGS, (char *)"fl_mt_password(char label, char deflt = None) -> char"}, { (char *)"Fl_Image_w", _wrap_Fl_Image_w, METH_VARARGS, (char *)"Fl_Image_w(Fl_Image self) -> int"}, { (char *)"Fl_Image_h", _wrap_Fl_Image_h, METH_VARARGS, (char *)"Fl_Image_h(Fl_Image self) -> int"}, { (char *)"Fl_Image_d", _wrap_Fl_Image_d, METH_VARARGS, (char *)"Fl_Image_d(Fl_Image self) -> int"}, { (char *)"Fl_Image_ld", _wrap_Fl_Image_ld, METH_VARARGS, (char *)"Fl_Image_ld(Fl_Image self) -> int"}, { (char *)"Fl_Image_count", _wrap_Fl_Image_count, METH_VARARGS, (char *)"Fl_Image_count(Fl_Image self) -> int"}, { (char *)"Fl_Image_data", _wrap_Fl_Image_data, METH_VARARGS, (char *)"Fl_Image_data(Fl_Image self) -> char"}, { (char *)"new_Fl_Image", _wrap_new_Fl_Image, METH_VARARGS, (char *)"new_Fl_Image(PyObject self, int W, int H, int D) -> Fl_Image"}, { (char *)"delete_Fl_Image", _wrap_delete_Fl_Image, METH_VARARGS, (char *)"delete_Fl_Image(Fl_Image self)"}, { (char *)"Fl_Image_copy", _wrap_Fl_Image_copy, METH_VARARGS, (char *)"\n" "copy(int W, int H) -> Fl_Image\n" "Fl_Image_copy(Fl_Image self) -> Fl_Image\n" ""}, { (char *)"Fl_Image_color_average", _wrap_Fl_Image_color_average, METH_VARARGS, (char *)"Fl_Image_color_average(Fl_Image self, Fl_Color c, float i)"}, { (char *)"Fl_Image_inactive", _wrap_Fl_Image_inactive, METH_VARARGS, (char *)"Fl_Image_inactive(Fl_Image self)"}, { (char *)"Fl_Image_desaturate", _wrap_Fl_Image_desaturate, METH_VARARGS, (char *)"Fl_Image_desaturate(Fl_Image self)"}, { (char *)"Fl_Image_label", _wrap_Fl_Image_label, METH_VARARGS, (char *)"\n" "label(Fl_Widget w)\n" "Fl_Image_label(Fl_Image self, Fl_Menu_Item m)\n" ""}, { (char *)"Fl_Image_draw", _wrap_Fl_Image_draw, METH_VARARGS, (char *)"\n" "draw(int X, int Y, int W, int H, int cx = 0, int cy = 0)\n" "Fl_Image_draw(Fl_Image self, int X, int Y)\n" ""}, { (char *)"Fl_Image_uncache", _wrap_Fl_Image_uncache, METH_VARARGS, (char *)"Fl_Image_uncache(Fl_Image self)"}, { (char *)"disown_Fl_Image", _wrap_disown_Fl_Image, METH_VARARGS, NULL}, { (char *)"Fl_Image_swigregister", Fl_Image_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_RGB_Image", _wrap_new_Fl_RGB_Image, METH_VARARGS, (char *)"\n" "new_Fl_RGB_Image(PyObject self, uchar bits, int W, int H, int D = 3, \n" " int LD = 0) -> Fl_RGB_Image\n" ""}, { (char *)"delete_Fl_RGB_Image", _wrap_delete_Fl_RGB_Image, METH_VARARGS, (char *)"delete_Fl_RGB_Image(Fl_RGB_Image self)"}, { (char *)"Fl_RGB_Image_copy", _wrap_Fl_RGB_Image_copy, METH_VARARGS, (char *)"\n" "copy(int W, int H) -> Fl_Image\n" "Fl_RGB_Image_copy(Fl_RGB_Image self) -> Fl_Image\n" ""}, { (char *)"Fl_RGB_Image_color_average", _wrap_Fl_RGB_Image_color_average, METH_VARARGS, (char *)"Fl_RGB_Image_color_average(Fl_RGB_Image self, Fl_Color c, float i)"}, { (char *)"Fl_RGB_Image_desaturate", _wrap_Fl_RGB_Image_desaturate, METH_VARARGS, (char *)"Fl_RGB_Image_desaturate(Fl_RGB_Image self)"}, { (char *)"Fl_RGB_Image_draw", _wrap_Fl_RGB_Image_draw, METH_VARARGS, (char *)"\n" "draw(int X, int Y, int W, int H, int cx = 0, int cy = 0)\n" "Fl_RGB_Image_draw(Fl_RGB_Image self, int X, int Y)\n" ""}, { (char *)"Fl_RGB_Image_label", _wrap_Fl_RGB_Image_label, METH_VARARGS, (char *)"\n" "label(Fl_Widget w)\n" "Fl_RGB_Image_label(Fl_RGB_Image self, Fl_Menu_Item m)\n" ""}, { (char *)"Fl_RGB_Image_uncache", _wrap_Fl_RGB_Image_uncache, METH_VARARGS, (char *)"Fl_RGB_Image_uncache(Fl_RGB_Image self)"}, { (char *)"disown_Fl_RGB_Image", _wrap_disown_Fl_RGB_Image, METH_VARARGS, NULL}, { (char *)"Fl_RGB_Image_swigregister", Fl_RGB_Image_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Bitmap", _wrap_new_Fl_Bitmap, METH_VARARGS, (char *)"new_Fl_Bitmap(PyObject self, uchar bits, int W, int H) -> Fl_Bitmap"}, { (char *)"delete_Fl_Bitmap", _wrap_delete_Fl_Bitmap, METH_VARARGS, (char *)"delete_Fl_Bitmap(Fl_Bitmap self)"}, { (char *)"Fl_Bitmap_copy", _wrap_Fl_Bitmap_copy, METH_VARARGS, (char *)"\n" "copy(int W, int H) -> Fl_Image\n" "Fl_Bitmap_copy(Fl_Bitmap self) -> Fl_Image\n" ""}, { (char *)"Fl_Bitmap_draw", _wrap_Fl_Bitmap_draw, METH_VARARGS, (char *)"\n" "draw(int X, int Y, int W, int H, int cx = 0, int cy = 0)\n" "Fl_Bitmap_draw(Fl_Bitmap self, int X, int Y)\n" ""}, { (char *)"Fl_Bitmap_label", _wrap_Fl_Bitmap_label, METH_VARARGS, (char *)"\n" "label(Fl_Widget w)\n" "Fl_Bitmap_label(Fl_Bitmap self, Fl_Menu_Item m)\n" ""}, { (char *)"Fl_Bitmap_uncache", _wrap_Fl_Bitmap_uncache, METH_VARARGS, (char *)"Fl_Bitmap_uncache(Fl_Bitmap self)"}, { (char *)"disown_Fl_Bitmap", _wrap_disown_Fl_Bitmap, METH_VARARGS, NULL}, { (char *)"Fl_Bitmap_swigregister", Fl_Bitmap_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_BMP_Image", _wrap_new_Fl_BMP_Image, METH_VARARGS, (char *)"new_Fl_BMP_Image(PyObject self, char filename) -> Fl_BMP_Image"}, { (char *)"delete_Fl_BMP_Image", _wrap_delete_Fl_BMP_Image, METH_VARARGS, (char *)"delete_Fl_BMP_Image(Fl_BMP_Image self)"}, { (char *)"disown_Fl_BMP_Image", _wrap_disown_Fl_BMP_Image, METH_VARARGS, NULL}, { (char *)"Fl_BMP_Image_swigregister", Fl_BMP_Image_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Box_draw", _wrap_Fl_Box_draw, METH_VARARGS, (char *)"Fl_Box_draw(Fl_Box self)"}, { (char *)"new_Fl_Box", _wrap_new_Fl_Box, METH_VARARGS, (char *)"\n" "Fl_Box(int X, int Y, int W, int H, char l = None)\n" "new_Fl_Box(PyObject self, Fl_Boxtype b, int X, int Y, int W, int H, \n" " char l) -> Fl_Box\n" ""}, { (char *)"Fl_Box_handle", _wrap_Fl_Box_handle, METH_VARARGS, (char *)"Fl_Box_handle(Fl_Box self, int arg0) -> int"}, { (char *)"delete_Fl_Box", _wrap_delete_Fl_Box, METH_VARARGS, (char *)"delete_Fl_Box(Fl_Box self)"}, { (char *)"disown_Fl_Box", _wrap_disown_Fl_Box, METH_VARARGS, NULL}, { (char *)"Fl_Box_swigregister", Fl_Box_swigregister, METH_VARARGS, NULL}, { (char *)"fl_old_shortcut", _wrap_fl_old_shortcut, METH_VARARGS, (char *)"fl_old_shortcut(char arg0) -> Fl_Shortcut"}, { (char *)"Fl_Button_draw", _wrap_Fl_Button_draw, METH_VARARGS, (char *)"Fl_Button_draw(Fl_Button self)"}, { (char *)"Fl_Button_handle", _wrap_Fl_Button_handle, METH_VARARGS, (char *)"Fl_Button_handle(Fl_Button self, int arg0) -> int"}, { (char *)"new_Fl_Button", _wrap_new_Fl_Button, METH_VARARGS, (char *)"new_Fl_Button(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Button"}, { (char *)"Fl_Button_value", _wrap_Fl_Button_value, METH_VARARGS, (char *)"\n" "value(int v) -> int\n" "Fl_Button_value(Fl_Button self) -> char\n" ""}, { (char *)"Fl_Button_set", _wrap_Fl_Button_set, METH_VARARGS, (char *)"Fl_Button_set(Fl_Button self) -> int"}, { (char *)"Fl_Button_clear", _wrap_Fl_Button_clear, METH_VARARGS, (char *)"Fl_Button_clear(Fl_Button self) -> int"}, { (char *)"Fl_Button_setonly", _wrap_Fl_Button_setonly, METH_VARARGS, (char *)"Fl_Button_setonly(Fl_Button self)"}, { (char *)"Fl_Button_down_box", _wrap_Fl_Button_down_box, METH_VARARGS, (char *)"\n" "down_box() -> Fl_Boxtype\n" "Fl_Button_down_box(Fl_Button self, Fl_Boxtype b)\n" ""}, { (char *)"Fl_Button_shortcut", _wrap_Fl_Button_shortcut, METH_VARARGS, (char *)"\n" "shortcut() -> int\n" "shortcut(int s)\n" "Fl_Button_shortcut(Fl_Button self, char s)\n" ""}, { (char *)"Fl_Button_down_color", _wrap_Fl_Button_down_color, METH_VARARGS, (char *)"\n" "down_color() -> Fl_Color\n" "Fl_Button_down_color(Fl_Button self, unsigned int c)\n" ""}, { (char *)"delete_Fl_Button", _wrap_delete_Fl_Button, METH_VARARGS, (char *)"delete_Fl_Button(Fl_Button self)"}, { (char *)"disown_Fl_Button", _wrap_disown_Fl_Button, METH_VARARGS, NULL}, { (char *)"Fl_Button_swigregister", Fl_Button_swigregister, METH_VARARGS, NULL}, { (char *)"new_FL_CHART_ENTRY", _wrap_new_FL_CHART_ENTRY, METH_VARARGS, (char *)"new_FL_CHART_ENTRY() -> FL_CHART_ENTRY"}, { (char *)"delete_FL_CHART_ENTRY", _wrap_delete_FL_CHART_ENTRY, METH_VARARGS, (char *)"delete_FL_CHART_ENTRY(FL_CHART_ENTRY self)"}, { (char *)"FL_CHART_ENTRY_swigregister", FL_CHART_ENTRY_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Chart_draw", _wrap_Fl_Chart_draw, METH_VARARGS, (char *)"Fl_Chart_draw(Fl_Chart self)"}, { (char *)"new_Fl_Chart", _wrap_new_Fl_Chart, METH_VARARGS, (char *)"new_Fl_Chart(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Chart"}, { (char *)"delete_Fl_Chart", _wrap_delete_Fl_Chart, METH_VARARGS, (char *)"delete_Fl_Chart(Fl_Chart self)"}, { (char *)"Fl_Chart_clear", _wrap_Fl_Chart_clear, METH_VARARGS, (char *)"Fl_Chart_clear(Fl_Chart self)"}, { (char *)"Fl_Chart_add", _wrap_Fl_Chart_add, METH_VARARGS, (char *)"Fl_Chart_add(Fl_Chart self, double val, char str = None, unsigned int col = 0)"}, { (char *)"Fl_Chart_insert", _wrap_Fl_Chart_insert, METH_VARARGS, (char *)"\n" "Fl_Chart_insert(Fl_Chart self, int ind, double val, char str = None, \n" " unsigned int col = 0)\n" ""}, { (char *)"Fl_Chart_replace", _wrap_Fl_Chart_replace, METH_VARARGS, (char *)"\n" "Fl_Chart_replace(Fl_Chart self, int ind, double val, char str = None, \n" " unsigned int col = 0)\n" ""}, { (char *)"Fl_Chart_bounds", _wrap_Fl_Chart_bounds, METH_VARARGS, (char *)"\n" "bounds(double a, double b)\n" "Fl_Chart_bounds(Fl_Chart self, double a, double b)\n" ""}, { (char *)"Fl_Chart_size", _wrap_Fl_Chart_size, METH_VARARGS, (char *)"\n" "size() -> int\n" "Fl_Chart_size(Fl_Chart self, int W, int H)\n" ""}, { (char *)"Fl_Chart_maxsize", _wrap_Fl_Chart_maxsize, METH_VARARGS, (char *)"\n" "maxsize() -> int\n" "Fl_Chart_maxsize(Fl_Chart self, int m)\n" ""}, { (char *)"Fl_Chart_textfont", _wrap_Fl_Chart_textfont, METH_VARARGS, (char *)"\n" "textfont() -> Fl_Font\n" "Fl_Chart_textfont(Fl_Chart self, Fl_Font s)\n" ""}, { (char *)"Fl_Chart_textsize", _wrap_Fl_Chart_textsize, METH_VARARGS, (char *)"\n" "textsize() -> Fl_Fontsize\n" "Fl_Chart_textsize(Fl_Chart self, Fl_Fontsize s)\n" ""}, { (char *)"Fl_Chart_textcolor", _wrap_Fl_Chart_textcolor, METH_VARARGS, (char *)"\n" "textcolor() -> Fl_Color\n" "Fl_Chart_textcolor(Fl_Chart self, Fl_Color n)\n" ""}, { (char *)"Fl_Chart_autosize", _wrap_Fl_Chart_autosize, METH_VARARGS, (char *)"\n" "autosize() -> uchar\n" "Fl_Chart_autosize(Fl_Chart self, uchar n)\n" ""}, { (char *)"disown_Fl_Chart", _wrap_disown_Fl_Chart, METH_VARARGS, NULL}, { (char *)"Fl_Chart_swigregister", Fl_Chart_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Check_Browser", _wrap_new_Fl_Check_Browser, METH_VARARGS, (char *)"new_Fl_Check_Browser(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Check_Browser"}, { (char *)"delete_Fl_Check_Browser", _wrap_delete_Fl_Check_Browser, METH_VARARGS, (char *)"delete_Fl_Check_Browser(Fl_Check_Browser self)"}, { (char *)"Fl_Check_Browser_remove", _wrap_Fl_Check_Browser_remove, METH_VARARGS, (char *)"Fl_Check_Browser_remove(Fl_Check_Browser self, int item) -> int"}, { (char *)"Fl_Check_Browser_add", _wrap_Fl_Check_Browser_add, METH_VARARGS, (char *)"\n" "add(char s) -> int\n" "Fl_Check_Browser_add(Fl_Check_Browser self, char s, int b) -> int\n" ""}, { (char *)"Fl_Check_Browser_clear", _wrap_Fl_Check_Browser_clear, METH_VARARGS, (char *)"Fl_Check_Browser_clear(Fl_Check_Browser self)"}, { (char *)"Fl_Check_Browser_nitems", _wrap_Fl_Check_Browser_nitems, METH_VARARGS, (char *)"Fl_Check_Browser_nitems(Fl_Check_Browser self) -> int"}, { (char *)"Fl_Check_Browser_nchecked", _wrap_Fl_Check_Browser_nchecked, METH_VARARGS, (char *)"Fl_Check_Browser_nchecked(Fl_Check_Browser self) -> int"}, { (char *)"Fl_Check_Browser_checked", _wrap_Fl_Check_Browser_checked, METH_VARARGS, (char *)"\n" "checked(int item) -> int\n" "Fl_Check_Browser_checked(Fl_Check_Browser self, int item, int b)\n" ""}, { (char *)"Fl_Check_Browser_set_checked", _wrap_Fl_Check_Browser_set_checked, METH_VARARGS, (char *)"Fl_Check_Browser_set_checked(Fl_Check_Browser self, int item)"}, { (char *)"Fl_Check_Browser_check_all", _wrap_Fl_Check_Browser_check_all, METH_VARARGS, (char *)"Fl_Check_Browser_check_all(Fl_Check_Browser self)"}, { (char *)"Fl_Check_Browser_check_none", _wrap_Fl_Check_Browser_check_none, METH_VARARGS, (char *)"Fl_Check_Browser_check_none(Fl_Check_Browser self)"}, { (char *)"Fl_Check_Browser_value", _wrap_Fl_Check_Browser_value, METH_VARARGS, (char *)"Fl_Check_Browser_value(Fl_Check_Browser self) -> int"}, { (char *)"Fl_Check_Browser_text", _wrap_Fl_Check_Browser_text, METH_VARARGS, (char *)"Fl_Check_Browser_text(Fl_Check_Browser self, int item) -> char"}, { (char *)"Fl_Check_Browser_handle", _wrap_Fl_Check_Browser_handle, METH_VARARGS, (char *)"Fl_Check_Browser_handle(Fl_Check_Browser self, int arg0) -> int"}, { (char *)"disown_Fl_Check_Browser", _wrap_disown_Fl_Check_Browser, METH_VARARGS, NULL}, { (char *)"Fl_Check_Browser_draw", _wrap_Fl_Check_Browser_draw, METH_VARARGS, (char *)"Fl_Check_Browser_draw(Fl_Check_Browser self)"}, { (char *)"Fl_Check_Browser_item_first", _wrap_Fl_Check_Browser_item_first, METH_VARARGS, (char *)"Fl_Check_Browser_item_first(Fl_Check_Browser self) -> void"}, { (char *)"Fl_Check_Browser_item_next", _wrap_Fl_Check_Browser_item_next, METH_VARARGS, (char *)"Fl_Check_Browser_item_next(Fl_Check_Browser self, void item) -> void"}, { (char *)"Fl_Check_Browser_item_prev", _wrap_Fl_Check_Browser_item_prev, METH_VARARGS, (char *)"Fl_Check_Browser_item_prev(Fl_Check_Browser self, void item) -> void"}, { (char *)"Fl_Check_Browser_item_last", _wrap_Fl_Check_Browser_item_last, METH_VARARGS, (char *)"Fl_Check_Browser_item_last(Fl_Check_Browser self) -> void"}, { (char *)"Fl_Check_Browser_item_height", _wrap_Fl_Check_Browser_item_height, METH_VARARGS, (char *)"Fl_Check_Browser_item_height(Fl_Check_Browser self, void item) -> int"}, { (char *)"Fl_Check_Browser_item_width", _wrap_Fl_Check_Browser_item_width, METH_VARARGS, (char *)"Fl_Check_Browser_item_width(Fl_Check_Browser self, void item) -> int"}, { (char *)"Fl_Check_Browser_item_quick_height", _wrap_Fl_Check_Browser_item_quick_height, METH_VARARGS, (char *)"Fl_Check_Browser_item_quick_height(Fl_Check_Browser self, void item) -> int"}, { (char *)"Fl_Check_Browser_item_draw", _wrap_Fl_Check_Browser_item_draw, METH_VARARGS, (char *)"\n" "Fl_Check_Browser_item_draw(Fl_Check_Browser self, void item, int X, int Y, int W, \n" " int H)\n" ""}, { (char *)"Fl_Check_Browser_item_text", _wrap_Fl_Check_Browser_item_text, METH_VARARGS, (char *)"Fl_Check_Browser_item_text(Fl_Check_Browser self, void item) -> char"}, { (char *)"Fl_Check_Browser_item_swap", _wrap_Fl_Check_Browser_item_swap, METH_VARARGS, (char *)"Fl_Check_Browser_item_swap(Fl_Check_Browser self, void a, void b)"}, { (char *)"Fl_Check_Browser_item_at", _wrap_Fl_Check_Browser_item_at, METH_VARARGS, (char *)"Fl_Check_Browser_item_at(Fl_Check_Browser self, int index) -> void"}, { (char *)"Fl_Check_Browser_full_width", _wrap_Fl_Check_Browser_full_width, METH_VARARGS, (char *)"Fl_Check_Browser_full_width(Fl_Check_Browser self) -> int"}, { (char *)"Fl_Check_Browser_full_height", _wrap_Fl_Check_Browser_full_height, METH_VARARGS, (char *)"Fl_Check_Browser_full_height(Fl_Check_Browser self) -> int"}, { (char *)"Fl_Check_Browser_incr_height", _wrap_Fl_Check_Browser_incr_height, METH_VARARGS, (char *)"Fl_Check_Browser_incr_height(Fl_Check_Browser self) -> int"}, { (char *)"Fl_Check_Browser_item_select", _wrap_Fl_Check_Browser_item_select, METH_VARARGS, (char *)"Fl_Check_Browser_item_select(Fl_Check_Browser self, void item, int val = 1)"}, { (char *)"Fl_Check_Browser_item_selected", _wrap_Fl_Check_Browser_item_selected, METH_VARARGS, (char *)"Fl_Check_Browser_item_selected(Fl_Check_Browser self, void item) -> int"}, { (char *)"Fl_Check_Browser_swigregister", Fl_Check_Browser_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Light_Button_draw", _wrap_Fl_Light_Button_draw, METH_VARARGS, (char *)"Fl_Light_Button_draw(Fl_Light_Button self)"}, { (char *)"Fl_Light_Button_handle", _wrap_Fl_Light_Button_handle, METH_VARARGS, (char *)"Fl_Light_Button_handle(Fl_Light_Button self, int arg0) -> int"}, { (char *)"new_Fl_Light_Button", _wrap_new_Fl_Light_Button, METH_VARARGS, (char *)"new_Fl_Light_Button(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Light_Button"}, { (char *)"delete_Fl_Light_Button", _wrap_delete_Fl_Light_Button, METH_VARARGS, (char *)"delete_Fl_Light_Button(Fl_Light_Button self)"}, { (char *)"disown_Fl_Light_Button", _wrap_disown_Fl_Light_Button, METH_VARARGS, NULL}, { (char *)"Fl_Light_Button_swigregister", Fl_Light_Button_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Check_Button", _wrap_new_Fl_Check_Button, METH_VARARGS, (char *)"new_Fl_Check_Button(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Check_Button"}, { (char *)"delete_Fl_Check_Button", _wrap_delete_Fl_Check_Button, METH_VARARGS, (char *)"delete_Fl_Check_Button(Fl_Check_Button self)"}, { (char *)"disown_Fl_Check_Button", _wrap_disown_Fl_Check_Button, METH_VARARGS, NULL}, { (char *)"Fl_Check_Button_draw", _wrap_Fl_Check_Button_draw, METH_VARARGS, (char *)"Fl_Check_Button_draw(Fl_Check_Button self)"}, { (char *)"Fl_Check_Button_swigregister", Fl_Check_Button_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Menu_", _wrap_new_Fl_Menu_, METH_VARARGS, (char *)"\n" "new_Fl_Menu_(PyObject self, int arg1, int arg2, int arg3, int arg4, \n" " char arg5 = None) -> Fl_Menu_\n" ""}, { (char *)"delete_Fl_Menu_", _wrap_delete_Fl_Menu_, METH_VARARGS, (char *)"delete_Fl_Menu_(Fl_Menu_ self)"}, { (char *)"Fl_Menu__item_pathname", _wrap_Fl_Menu__item_pathname, METH_VARARGS, (char *)"Fl_Menu__item_pathname(Fl_Menu_ self, char name, int namelen, Fl_Menu_Item finditem = None) -> int"}, { (char *)"Fl_Menu__picked", _wrap_Fl_Menu__picked, METH_VARARGS, (char *)"Fl_Menu__picked(Fl_Menu_ self, Fl_Menu_Item arg1) -> Fl_Menu_Item"}, { (char *)"Fl_Menu__find_item", _wrap_Fl_Menu__find_item, METH_VARARGS, (char *)"\n" "find_item(char name) -> Fl_Menu_Item\n" "Fl_Menu__find_item(Fl_Menu_ self, Fl_Callback arg1) -> Fl_Menu_Item\n" ""}, { (char *)"Fl_Menu__find_index", _wrap_Fl_Menu__find_index, METH_VARARGS, (char *)"\n" "find_index(char name) -> int\n" "find_index(Fl_Menu_Item item) -> int\n" "Fl_Menu__find_index(Fl_Menu_ self, Fl_Callback cb) -> int\n" ""}, { (char *)"Fl_Menu__test_shortcut", _wrap_Fl_Menu__test_shortcut, METH_VARARGS, (char *)"Fl_Menu__test_shortcut(Fl_Menu_ self) -> Fl_Menu_Item"}, { (char *)"Fl_Menu__insert", _wrap_Fl_Menu__insert, METH_VARARGS, (char *)"\n" "insert(int index, char arg1, int shortcut, Fl_Callback arg3, \n" " void arg4 = None, int arg5 = 0) -> int\n" "Fl_Menu__insert(Fl_Menu_ self, int index, char a, char b, Fl_Callback c, \n" " void d = None, int e = 0) -> int\n" ""}, { (char *)"Fl_Menu__size", _wrap_Fl_Menu__size, METH_VARARGS, (char *)"\n" "size() -> int\n" "Fl_Menu__size(Fl_Menu_ self, int W, int H)\n" ""}, { (char *)"Fl_Menu__clear", _wrap_Fl_Menu__clear, METH_VARARGS, (char *)"Fl_Menu__clear(Fl_Menu_ self)"}, { (char *)"Fl_Menu__clear_submenu", _wrap_Fl_Menu__clear_submenu, METH_VARARGS, (char *)"Fl_Menu__clear_submenu(Fl_Menu_ self, int index) -> int"}, { (char *)"Fl_Menu__replace", _wrap_Fl_Menu__replace, METH_VARARGS, (char *)"Fl_Menu__replace(Fl_Menu_ self, int arg1, char arg2)"}, { (char *)"Fl_Menu__remove", _wrap_Fl_Menu__remove, METH_VARARGS, (char *)"Fl_Menu__remove(Fl_Menu_ self, int arg1)"}, { (char *)"Fl_Menu__shortcut", _wrap_Fl_Menu__shortcut, METH_VARARGS, (char *)"Fl_Menu__shortcut(Fl_Menu_ self, int i, int s)"}, { (char *)"Fl_Menu__mode", _wrap_Fl_Menu__mode, METH_VARARGS, (char *)"\n" "mode(int i, int fl)\n" "Fl_Menu__mode(Fl_Menu_ self, int i) -> int\n" ""}, { (char *)"Fl_Menu__mvalue", _wrap_Fl_Menu__mvalue, METH_VARARGS, (char *)"Fl_Menu__mvalue(Fl_Menu_ self) -> Fl_Menu_Item"}, { (char *)"Fl_Menu__value", _wrap_Fl_Menu__value, METH_VARARGS, (char *)"\n" "value() -> int\n" "Fl_Menu__value(Fl_Menu_ self, int i) -> int\n" ""}, { (char *)"Fl_Menu__text", _wrap_Fl_Menu__text, METH_VARARGS, (char *)"\n" "text() -> char\n" "Fl_Menu__text(Fl_Menu_ self, int i) -> char\n" ""}, { (char *)"Fl_Menu__textfont", _wrap_Fl_Menu__textfont, METH_VARARGS, (char *)"\n" "textfont() -> Fl_Font\n" "Fl_Menu__textfont(Fl_Menu_ self, Fl_Font c)\n" ""}, { (char *)"Fl_Menu__textsize", _wrap_Fl_Menu__textsize, METH_VARARGS, (char *)"\n" "textsize() -> Fl_Fontsize\n" "Fl_Menu__textsize(Fl_Menu_ self, Fl_Fontsize c)\n" ""}, { (char *)"Fl_Menu__textcolor", _wrap_Fl_Menu__textcolor, METH_VARARGS, (char *)"\n" "textcolor() -> Fl_Color\n" "Fl_Menu__textcolor(Fl_Menu_ self, Fl_Color c)\n" ""}, { (char *)"Fl_Menu__down_box", _wrap_Fl_Menu__down_box, METH_VARARGS, (char *)"\n" "down_box() -> Fl_Boxtype\n" "Fl_Menu__down_box(Fl_Menu_ self, Fl_Boxtype b)\n" ""}, { (char *)"Fl_Menu__down_color", _wrap_Fl_Menu__down_color, METH_VARARGS, (char *)"\n" "down_color() -> Fl_Color\n" "Fl_Menu__down_color(Fl_Menu_ self, unsigned int c)\n" ""}, { (char *)"Fl_Menu__copy", _wrap_Fl_Menu__copy, METH_VARARGS, (char *)"\n" "copy(Fl_Menu_Item m, void user_data = None)\n" "Fl_Menu__copy(Fl_Menu_ self, PyObject args, PyObject user_data = None)\n" ""}, { (char *)"Fl_Menu__add", _wrap_Fl_Menu__add, METH_VARARGS, (char *)"\n" "add(char arg0, int shortcut, Fl_Callback arg2, void arg3 = None, \n" " int arg4 = 0) -> int\n" "add(char arg0) -> int\n" "Fl_Menu__add(Fl_Menu_ self, PyObject lObj, PyObject sObj, PyObject cObj, \n" " PyObject uObj = None, PyObject fObj = None) -> int\n" ""}, { (char *)"Fl_Menu__menu", _wrap_Fl_Menu__menu, METH_VARARGS, (char *)"\n" "menu() -> Fl_Menu_Item\n" "menu(PyObject args)\n" "Fl_Menu__menu(Fl_Menu_ self) -> PyObject\n" ""}, { (char *)"disown_Fl_Menu_", _wrap_disown_Fl_Menu_, METH_VARARGS, NULL}, { (char *)"Fl_Menu__swigregister", Fl_Menu__swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Choice_draw", _wrap_Fl_Choice_draw, METH_VARARGS, (char *)"Fl_Choice_draw(Fl_Choice self)"}, { (char *)"Fl_Choice_handle", _wrap_Fl_Choice_handle, METH_VARARGS, (char *)"Fl_Choice_handle(Fl_Choice self, int arg0) -> int"}, { (char *)"new_Fl_Choice", _wrap_new_Fl_Choice, METH_VARARGS, (char *)"new_Fl_Choice(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Choice"}, { (char *)"Fl_Choice_value", _wrap_Fl_Choice_value, METH_VARARGS, (char *)"\n" "value() -> int\n" "Fl_Choice_value(Fl_Choice self, int v) -> int\n" ""}, { (char *)"delete_Fl_Choice", _wrap_delete_Fl_Choice, METH_VARARGS, (char *)"delete_Fl_Choice(Fl_Choice self)"}, { (char *)"disown_Fl_Choice", _wrap_disown_Fl_Choice, METH_VARARGS, NULL}, { (char *)"Fl_Choice_swigregister", Fl_Choice_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Clock_Output_draw", _wrap_Fl_Clock_Output_draw, METH_VARARGS, (char *)"Fl_Clock_Output_draw(Fl_Clock_Output self)"}, { (char *)"new_Fl_Clock_Output", _wrap_new_Fl_Clock_Output, METH_VARARGS, (char *)"new_Fl_Clock_Output(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Clock_Output"}, { (char *)"Fl_Clock_Output_value", _wrap_Fl_Clock_Output_value, METH_VARARGS, (char *)"\n" "value(ulong v)\n" "value(int H, int m, int s)\n" "Fl_Clock_Output_value(Fl_Clock_Output self) -> ulong\n" ""}, { (char *)"Fl_Clock_Output_hour", _wrap_Fl_Clock_Output_hour, METH_VARARGS, (char *)"Fl_Clock_Output_hour(Fl_Clock_Output self) -> int"}, { (char *)"Fl_Clock_Output_minute", _wrap_Fl_Clock_Output_minute, METH_VARARGS, (char *)"Fl_Clock_Output_minute(Fl_Clock_Output self) -> int"}, { (char *)"Fl_Clock_Output_second", _wrap_Fl_Clock_Output_second, METH_VARARGS, (char *)"Fl_Clock_Output_second(Fl_Clock_Output self) -> int"}, { (char *)"delete_Fl_Clock_Output", _wrap_delete_Fl_Clock_Output, METH_VARARGS, (char *)"delete_Fl_Clock_Output(Fl_Clock_Output self)"}, { (char *)"disown_Fl_Clock_Output", _wrap_disown_Fl_Clock_Output, METH_VARARGS, NULL}, { (char *)"Fl_Clock_Output_swigregister", Fl_Clock_Output_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Clock_handle", _wrap_Fl_Clock_handle, METH_VARARGS, (char *)"Fl_Clock_handle(Fl_Clock self, int arg0) -> int"}, { (char *)"new_Fl_Clock", _wrap_new_Fl_Clock, METH_VARARGS, (char *)"\n" "Fl_Clock(int X, int Y, int W, int H, char L = None)\n" "new_Fl_Clock(PyObject self, uchar t, int X, int Y, int W, int H, \n" " char L) -> Fl_Clock\n" ""}, { (char *)"delete_Fl_Clock", _wrap_delete_Fl_Clock, METH_VARARGS, (char *)"delete_Fl_Clock(Fl_Clock self)"}, { (char *)"disown_Fl_Clock", _wrap_disown_Fl_Clock, METH_VARARGS, NULL}, { (char *)"Fl_Clock_draw", _wrap_Fl_Clock_draw, METH_VARARGS, (char *)"Fl_Clock_draw(Fl_Clock self)"}, { (char *)"Fl_Clock_swigregister", Fl_Clock_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Value_Input_handle", _wrap_Fl_Value_Input_handle, METH_VARARGS, (char *)"Fl_Value_Input_handle(Fl_Value_Input self, int arg0) -> int"}, { (char *)"Fl_Value_Input_draw", _wrap_Fl_Value_Input_draw, METH_VARARGS, (char *)"Fl_Value_Input_draw(Fl_Value_Input self)"}, { (char *)"Fl_Value_Input_resize", _wrap_Fl_Value_Input_resize, METH_VARARGS, (char *)"\n" "Fl_Value_Input_resize(Fl_Value_Input self, int arg0, int arg1, int arg2, \n" " int arg3)\n" ""}, { (char *)"new_Fl_Value_Input", _wrap_new_Fl_Value_Input, METH_VARARGS, (char *)"new_Fl_Value_Input(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Value_Input"}, { (char *)"delete_Fl_Value_Input", _wrap_delete_Fl_Value_Input, METH_VARARGS, (char *)"delete_Fl_Value_Input(Fl_Value_Input self)"}, { (char *)"Fl_Value_Input_soft", _wrap_Fl_Value_Input_soft, METH_VARARGS, (char *)"\n" "soft(char s)\n" "Fl_Value_Input_soft(Fl_Value_Input self) -> char\n" ""}, { (char *)"Fl_Value_Input_shortcut", _wrap_Fl_Value_Input_shortcut, METH_VARARGS, (char *)"\n" "shortcut() -> int\n" "Fl_Value_Input_shortcut(Fl_Value_Input self, int s)\n" ""}, { (char *)"Fl_Value_Input_textfont", _wrap_Fl_Value_Input_textfont, METH_VARARGS, (char *)"\n" "textfont() -> Fl_Font\n" "Fl_Value_Input_textfont(Fl_Value_Input self, Fl_Font s)\n" ""}, { (char *)"Fl_Value_Input_textsize", _wrap_Fl_Value_Input_textsize, METH_VARARGS, (char *)"\n" "textsize() -> Fl_Fontsize\n" "Fl_Value_Input_textsize(Fl_Value_Input self, Fl_Fontsize s)\n" ""}, { (char *)"Fl_Value_Input_textcolor", _wrap_Fl_Value_Input_textcolor, METH_VARARGS, (char *)"\n" "textcolor() -> Fl_Color\n" "Fl_Value_Input_textcolor(Fl_Value_Input self, Fl_Color n)\n" ""}, { (char *)"Fl_Value_Input_cursor_color", _wrap_Fl_Value_Input_cursor_color, METH_VARARGS, (char *)"\n" "cursor_color() -> Fl_Color\n" "Fl_Value_Input_cursor_color(Fl_Value_Input self, Fl_Color n)\n" ""}, { (char *)"disown_Fl_Value_Input", _wrap_disown_Fl_Value_Input, METH_VARARGS, NULL}, { (char *)"Fl_Value_Input_swigregister", Fl_Value_Input_swigregister, METH_VARARGS, NULL}, { (char *)"Flcc_HueBox_draw", _wrap_Flcc_HueBox_draw, METH_VARARGS, (char *)"Flcc_HueBox_draw(Flcc_HueBox self)"}, { (char *)"Flcc_HueBox_handle", _wrap_Flcc_HueBox_handle, METH_VARARGS, (char *)"Flcc_HueBox_handle(Flcc_HueBox self, int arg0) -> int"}, { (char *)"new_Flcc_HueBox", _wrap_new_Flcc_HueBox, METH_VARARGS, (char *)"new_Flcc_HueBox(PyObject self, int X, int Y, int W, int H) -> Flcc_HueBox"}, { (char *)"delete_Flcc_HueBox", _wrap_delete_Flcc_HueBox, METH_VARARGS, (char *)"delete_Flcc_HueBox(Flcc_HueBox self)"}, { (char *)"disown_Flcc_HueBox", _wrap_disown_Flcc_HueBox, METH_VARARGS, NULL}, { (char *)"Flcc_HueBox_swigregister", Flcc_HueBox_swigregister, METH_VARARGS, NULL}, { (char *)"Flcc_ValueBox_draw", _wrap_Flcc_ValueBox_draw, METH_VARARGS, (char *)"Flcc_ValueBox_draw(Flcc_ValueBox self)"}, { (char *)"Flcc_ValueBox_handle", _wrap_Flcc_ValueBox_handle, METH_VARARGS, (char *)"Flcc_ValueBox_handle(Flcc_ValueBox self, int arg0) -> int"}, { (char *)"new_Flcc_ValueBox", _wrap_new_Flcc_ValueBox, METH_VARARGS, (char *)"new_Flcc_ValueBox(PyObject self, int X, int Y, int W, int H) -> Flcc_ValueBox"}, { (char *)"delete_Flcc_ValueBox", _wrap_delete_Flcc_ValueBox, METH_VARARGS, (char *)"delete_Flcc_ValueBox(Flcc_ValueBox self)"}, { (char *)"disown_Flcc_ValueBox", _wrap_disown_Flcc_ValueBox, METH_VARARGS, NULL}, { (char *)"Flcc_ValueBox_swigregister", Flcc_ValueBox_swigregister, METH_VARARGS, NULL}, { (char *)"Flcc_Value_Input_format", _wrap_Flcc_Value_Input_format, METH_VARARGS, (char *)"Flcc_Value_Input_format(Flcc_Value_Input self, char arg0) -> int"}, { (char *)"new_Flcc_Value_Input", _wrap_new_Flcc_Value_Input, METH_VARARGS, (char *)"new_Flcc_Value_Input(PyObject self, int X, int Y, int W, int H) -> Flcc_Value_Input"}, { (char *)"delete_Flcc_Value_Input", _wrap_delete_Flcc_Value_Input, METH_VARARGS, (char *)"delete_Flcc_Value_Input(Flcc_Value_Input self)"}, { (char *)"disown_Flcc_Value_Input", _wrap_disown_Flcc_Value_Input, METH_VARARGS, NULL}, { (char *)"Flcc_Value_Input_draw", _wrap_Flcc_Value_Input_draw, METH_VARARGS, (char *)"Flcc_Value_Input_draw(Flcc_Value_Input self)"}, { (char *)"Flcc_Value_Input_swigregister", Flcc_Value_Input_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Color_Chooser_mode", _wrap_Fl_Color_Chooser_mode, METH_VARARGS, (char *)"\n" "mode() -> int\n" "Fl_Color_Chooser_mode(Fl_Color_Chooser self, int newMode)\n" ""}, { (char *)"Fl_Color_Chooser_hue", _wrap_Fl_Color_Chooser_hue, METH_VARARGS, (char *)"Fl_Color_Chooser_hue(Fl_Color_Chooser self) -> double"}, { (char *)"Fl_Color_Chooser_saturation", _wrap_Fl_Color_Chooser_saturation, METH_VARARGS, (char *)"Fl_Color_Chooser_saturation(Fl_Color_Chooser self) -> double"}, { (char *)"Fl_Color_Chooser_value", _wrap_Fl_Color_Chooser_value, METH_VARARGS, (char *)"Fl_Color_Chooser_value(Fl_Color_Chooser self) -> double"}, { (char *)"Fl_Color_Chooser_r", _wrap_Fl_Color_Chooser_r, METH_VARARGS, (char *)"Fl_Color_Chooser_r(Fl_Color_Chooser self) -> double"}, { (char *)"Fl_Color_Chooser_g", _wrap_Fl_Color_Chooser_g, METH_VARARGS, (char *)"Fl_Color_Chooser_g(Fl_Color_Chooser self) -> double"}, { (char *)"Fl_Color_Chooser_b", _wrap_Fl_Color_Chooser_b, METH_VARARGS, (char *)"Fl_Color_Chooser_b(Fl_Color_Chooser self) -> double"}, { (char *)"Fl_Color_Chooser_hsv", _wrap_Fl_Color_Chooser_hsv, METH_VARARGS, (char *)"Fl_Color_Chooser_hsv(Fl_Color_Chooser self, double H, double S, double V) -> int"}, { (char *)"Fl_Color_Chooser_rgb", _wrap_Fl_Color_Chooser_rgb, METH_VARARGS, (char *)"Fl_Color_Chooser_rgb(Fl_Color_Chooser self, double R, double G, double B) -> int"}, { (char *)"Fl_Color_Chooser_hsv2rgb", _wrap_Fl_Color_Chooser_hsv2rgb, METH_VARARGS, (char *)"Fl_Color_Chooser_hsv2rgb(double H, double S, double V, double R, double G, double B)"}, { (char *)"Fl_Color_Chooser_rgb2hsv", _wrap_Fl_Color_Chooser_rgb2hsv, METH_VARARGS, (char *)"Fl_Color_Chooser_rgb2hsv(double R, double G, double B, double H, double S, double V)"}, { (char *)"new_Fl_Color_Chooser", _wrap_new_Fl_Color_Chooser, METH_VARARGS, (char *)"new_Fl_Color_Chooser(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Color_Chooser"}, { (char *)"delete_Fl_Color_Chooser", _wrap_delete_Fl_Color_Chooser, METH_VARARGS, (char *)"delete_Fl_Color_Chooser(Fl_Color_Chooser self)"}, { (char *)"disown_Fl_Color_Chooser", _wrap_disown_Fl_Color_Chooser, METH_VARARGS, NULL}, { (char *)"Fl_Color_Chooser_draw", _wrap_Fl_Color_Chooser_draw, METH_VARARGS, (char *)"Fl_Color_Chooser_draw(Fl_Color_Chooser self)"}, { (char *)"Fl_Color_Chooser_swigregister", Fl_Color_Chooser_swigregister, METH_VARARGS, NULL}, { (char *)"fl_color_chooser", _wrap_fl_color_chooser, METH_VARARGS, (char *)"\n" "fl_color_chooser(char name, double r, double g, double b, int m = -1) -> int\n" "fl_color_chooser(char name, uchar r, uchar g, uchar b, int m = -1) -> int\n" ""}, { (char *)"Fl_Counter_draw", _wrap_Fl_Counter_draw, METH_VARARGS, (char *)"Fl_Counter_draw(Fl_Counter self)"}, { (char *)"Fl_Counter_handle", _wrap_Fl_Counter_handle, METH_VARARGS, (char *)"Fl_Counter_handle(Fl_Counter self, int arg0) -> int"}, { (char *)"new_Fl_Counter", _wrap_new_Fl_Counter, METH_VARARGS, (char *)"new_Fl_Counter(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Counter"}, { (char *)"delete_Fl_Counter", _wrap_delete_Fl_Counter, METH_VARARGS, (char *)"delete_Fl_Counter(Fl_Counter self)"}, { (char *)"Fl_Counter_lstep", _wrap_Fl_Counter_lstep, METH_VARARGS, (char *)"Fl_Counter_lstep(Fl_Counter self, double a)"}, { (char *)"Fl_Counter_step", _wrap_Fl_Counter_step, METH_VARARGS, (char *)"\n" "step(double a, double b)\n" "step(double a)\n" "Fl_Counter_step(Fl_Counter self) -> double\n" ""}, { (char *)"Fl_Counter_textfont", _wrap_Fl_Counter_textfont, METH_VARARGS, (char *)"\n" "textfont() -> Fl_Font\n" "Fl_Counter_textfont(Fl_Counter self, Fl_Font s)\n" ""}, { (char *)"Fl_Counter_textsize", _wrap_Fl_Counter_textsize, METH_VARARGS, (char *)"\n" "textsize() -> Fl_Fontsize\n" "Fl_Counter_textsize(Fl_Counter self, Fl_Fontsize s)\n" ""}, { (char *)"Fl_Counter_textcolor", _wrap_Fl_Counter_textcolor, METH_VARARGS, (char *)"\n" "textcolor() -> Fl_Color\n" "Fl_Counter_textcolor(Fl_Counter self, Fl_Color s)\n" ""}, { (char *)"disown_Fl_Counter", _wrap_disown_Fl_Counter, METH_VARARGS, NULL}, { (char *)"Fl_Counter_swigregister", Fl_Counter_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Dial_draw", _wrap_Fl_Dial_draw, METH_VARARGS, (char *)"Fl_Dial_draw(Fl_Dial self)"}, { (char *)"Fl_Dial_handle", _wrap_Fl_Dial_handle, METH_VARARGS, (char *)"Fl_Dial_handle(Fl_Dial self, int arg0) -> int"}, { (char *)"new_Fl_Dial", _wrap_new_Fl_Dial, METH_VARARGS, (char *)"new_Fl_Dial(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Dial"}, { (char *)"Fl_Dial_angle1", _wrap_Fl_Dial_angle1, METH_VARARGS, (char *)"\n" "angle1() -> short\n" "Fl_Dial_angle1(Fl_Dial self, short a)\n" ""}, { (char *)"Fl_Dial_angle2", _wrap_Fl_Dial_angle2, METH_VARARGS, (char *)"\n" "angle2() -> short\n" "Fl_Dial_angle2(Fl_Dial self, short a)\n" ""}, { (char *)"Fl_Dial_angles", _wrap_Fl_Dial_angles, METH_VARARGS, (char *)"Fl_Dial_angles(Fl_Dial self, short a, short b)"}, { (char *)"delete_Fl_Dial", _wrap_delete_Fl_Dial, METH_VARARGS, (char *)"delete_Fl_Dial(Fl_Dial self)"}, { (char *)"disown_Fl_Dial", _wrap_disown_Fl_Dial, METH_VARARGS, NULL}, { (char *)"Fl_Dial_swigregister", Fl_Dial_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Window_draw", _wrap_Fl_Window_draw, METH_VARARGS, (char *)"Fl_Window_draw(Fl_Window self)"}, { (char *)"Fl_Window_flush", _wrap_Fl_Window_flush, METH_VARARGS, (char *)"Fl_Window_flush(Fl_Window self)"}, { (char *)"new_Fl_Window", _wrap_new_Fl_Window, METH_VARARGS, (char *)"\n" "Fl_Window(int w, int h, char title = None)\n" "new_Fl_Window(PyObject self, int x, int y, int w, int h, char title = None) -> Fl_Window\n" ""}, { (char *)"delete_Fl_Window", _wrap_delete_Fl_Window, METH_VARARGS, (char *)"delete_Fl_Window(Fl_Window self)"}, { (char *)"Fl_Window_handle", _wrap_Fl_Window_handle, METH_VARARGS, (char *)"Fl_Window_handle(Fl_Window self, int arg0) -> int"}, { (char *)"Fl_Window_resize", _wrap_Fl_Window_resize, METH_VARARGS, (char *)"Fl_Window_resize(Fl_Window self, int arg0, int arg1, int arg2, int arg3)"}, { (char *)"Fl_Window_clear_border", _wrap_Fl_Window_clear_border, METH_VARARGS, (char *)"Fl_Window_clear_border(Fl_Window self)"}, { (char *)"Fl_Window_border", _wrap_Fl_Window_border, METH_VARARGS, (char *)"\n" "border(int b)\n" "Fl_Window_border(Fl_Window self) -> unsigned int\n" ""}, { (char *)"Fl_Window_set_override", _wrap_Fl_Window_set_override, METH_VARARGS, (char *)"Fl_Window_set_override(Fl_Window self)"}, { (char *)"Fl_Window_override", _wrap_Fl_Window_override, METH_VARARGS, (char *)"Fl_Window_override(Fl_Window self) -> unsigned int"}, { (char *)"Fl_Window_set_modal", _wrap_Fl_Window_set_modal, METH_VARARGS, (char *)"Fl_Window_set_modal(Fl_Window self)"}, { (char *)"Fl_Window_modal", _wrap_Fl_Window_modal, METH_VARARGS, (char *)"Fl_Window_modal(Fl_Window self) -> unsigned int"}, { (char *)"Fl_Window_set_non_modal", _wrap_Fl_Window_set_non_modal, METH_VARARGS, (char *)"Fl_Window_set_non_modal(Fl_Window self)"}, { (char *)"Fl_Window_non_modal", _wrap_Fl_Window_non_modal, METH_VARARGS, (char *)"Fl_Window_non_modal(Fl_Window self) -> unsigned int"}, { (char *)"Fl_Window_set_menu_window", _wrap_Fl_Window_set_menu_window, METH_VARARGS, (char *)"Fl_Window_set_menu_window(Fl_Window self)"}, { (char *)"Fl_Window_menu_window", _wrap_Fl_Window_menu_window, METH_VARARGS, (char *)"Fl_Window_menu_window(Fl_Window self) -> unsigned int"}, { (char *)"Fl_Window_set_tooltip_window", _wrap_Fl_Window_set_tooltip_window, METH_VARARGS, (char *)"Fl_Window_set_tooltip_window(Fl_Window self)"}, { (char *)"Fl_Window_tooltip_window", _wrap_Fl_Window_tooltip_window, METH_VARARGS, (char *)"Fl_Window_tooltip_window(Fl_Window self) -> unsigned int"}, { (char *)"Fl_Window_hotspot", _wrap_Fl_Window_hotspot, METH_VARARGS, (char *)"\n" "hotspot(int x, int y, int offscreen = 0)\n" "Fl_Window_hotspot(Fl_Window self, Fl_Widget arg1, int offscreen = 0)\n" ""}, { (char *)"Fl_Window_free_position", _wrap_Fl_Window_free_position, METH_VARARGS, (char *)"Fl_Window_free_position(Fl_Window self)"}, { (char *)"Fl_Window_size_range", _wrap_Fl_Window_size_range, METH_VARARGS, (char *)"\n" "Fl_Window_size_range(Fl_Window self, int a, int b, int c = 0, int d = 0, \n" " int e = 0, int f = 0, int g = 0)\n" ""}, { (char *)"Fl_Window_iconlabel", _wrap_Fl_Window_iconlabel, METH_VARARGS, (char *)"\n" "iconlabel() -> char\n" "Fl_Window_iconlabel(Fl_Window self, char arg1)\n" ""}, { (char *)"Fl_Window_label", _wrap_Fl_Window_label, METH_VARARGS, (char *)"\n" "label() -> char\n" "label(char arg0)\n" "Fl_Window_label(Fl_Window self, char label, char iconlabel)\n" ""}, { (char *)"Fl_Window_copy_label", _wrap_Fl_Window_copy_label, METH_VARARGS, (char *)"Fl_Window_copy_label(Fl_Window self, char a)"}, { (char *)"Fl_Window_default_xclass", _wrap_Fl_Window_default_xclass, METH_VARARGS, (char *)"\n" "default_xclass(char arg0)\n" "Fl_Window_default_xclass() -> char\n" ""}, { (char *)"Fl_Window_xclass", _wrap_Fl_Window_xclass, METH_VARARGS, (char *)"\n" "xclass() -> char\n" "Fl_Window_xclass(Fl_Window self, char c)\n" ""}, { (char *)"Fl_Window_icon", _wrap_Fl_Window_icon, METH_VARARGS, (char *)"\n" "icon() -> void\n" "Fl_Window_icon(Fl_Window self, void ic)\n" ""}, { (char *)"Fl_Window_shown", _wrap_Fl_Window_shown, METH_VARARGS, (char *)"Fl_Window_shown(Fl_Window self) -> int"}, { (char *)"Fl_Window_hide", _wrap_Fl_Window_hide, METH_VARARGS, (char *)"Fl_Window_hide(Fl_Window self)"}, { (char *)"Fl_Window_fullscreen", _wrap_Fl_Window_fullscreen, METH_VARARGS, (char *)"Fl_Window_fullscreen(Fl_Window self)"}, { (char *)"Fl_Window_fullscreen_off", _wrap_Fl_Window_fullscreen_off, METH_VARARGS, (char *)"Fl_Window_fullscreen_off(Fl_Window self, int arg1, int arg2, int arg3, int arg4)"}, { (char *)"Fl_Window_iconize", _wrap_Fl_Window_iconize, METH_VARARGS, (char *)"Fl_Window_iconize(Fl_Window self)"}, { (char *)"Fl_Window_x_root", _wrap_Fl_Window_x_root, METH_VARARGS, (char *)"Fl_Window_x_root(Fl_Window self) -> int"}, { (char *)"Fl_Window_y_root", _wrap_Fl_Window_y_root, METH_VARARGS, (char *)"Fl_Window_y_root(Fl_Window self) -> int"}, { (char *)"Fl_Window_current", _wrap_Fl_Window_current, METH_VARARGS, (char *)"Fl_Window_current() -> Fl_Window"}, { (char *)"Fl_Window_make_current", _wrap_Fl_Window_make_current, METH_VARARGS, (char *)"Fl_Window_make_current(Fl_Window self)"}, { (char *)"Fl_Window_as_window", _wrap_Fl_Window_as_window, METH_VARARGS, (char *)"Fl_Window_as_window(Fl_Window self) -> Fl_Window"}, { (char *)"Fl_Window_cursor", _wrap_Fl_Window_cursor, METH_VARARGS, (char *)"Fl_Window_cursor(Fl_Window self, Fl_Cursor arg1, Fl_Color arg2 = , Fl_Color arg3 = )"}, { (char *)"Fl_Window_default_cursor", _wrap_Fl_Window_default_cursor, METH_VARARGS, (char *)"Fl_Window_default_cursor(Fl_Window self, Fl_Cursor arg1, Fl_Color arg2 = , Fl_Color arg3 = )"}, { (char *)"Fl_Window_default_callback", _wrap_Fl_Window_default_callback, METH_VARARGS, (char *)"Fl_Window_default_callback(Fl_Window arg0, void v)"}, { (char *)"Fl_Window_decorated_w", _wrap_Fl_Window_decorated_w, METH_VARARGS, (char *)"Fl_Window_decorated_w(Fl_Window self) -> int"}, { (char *)"Fl_Window_decorated_h", _wrap_Fl_Window_decorated_h, METH_VARARGS, (char *)"Fl_Window_decorated_h(Fl_Window self) -> int"}, { (char *)"Fl_Window_show", _wrap_Fl_Window_show, METH_VARARGS, (char *)"Fl_Window_show(Fl_Window self, PyObject count = None, PyObject data = None)"}, { (char *)"disown_Fl_Window", _wrap_disown_Fl_Window, METH_VARARGS, NULL}, { (char *)"Fl_Window_swigregister", Fl_Window_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Double_Window_flush", _wrap_Fl_Double_Window_flush, METH_VARARGS, (char *)"Fl_Double_Window_flush(Fl_Double_Window self)"}, { (char *)"Fl_Double_Window_resize", _wrap_Fl_Double_Window_resize, METH_VARARGS, (char *)"\n" "Fl_Double_Window_resize(Fl_Double_Window self, int arg0, int arg1, int arg2, \n" " int arg3)\n" ""}, { (char *)"Fl_Double_Window_hide", _wrap_Fl_Double_Window_hide, METH_VARARGS, (char *)"Fl_Double_Window_hide(Fl_Double_Window self)"}, { (char *)"delete_Fl_Double_Window", _wrap_delete_Fl_Double_Window, METH_VARARGS, (char *)"delete_Fl_Double_Window(Fl_Double_Window self)"}, { (char *)"new_Fl_Double_Window", _wrap_new_Fl_Double_Window, METH_VARARGS, (char *)"\n" "Fl_Double_Window(int W, int H, char l = None)\n" "new_Fl_Double_Window(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Double_Window\n" ""}, { (char *)"Fl_Double_Window_show", _wrap_Fl_Double_Window_show, METH_VARARGS, (char *)"Fl_Double_Window_show(Fl_Double_Window self, PyObject count = None, PyObject data = None)"}, { (char *)"disown_Fl_Double_Window", _wrap_disown_Fl_Double_Window, METH_VARARGS, NULL}, { (char *)"Fl_Double_Window_draw", _wrap_Fl_Double_Window_draw, METH_VARARGS, (char *)"Fl_Double_Window_draw(Fl_Double_Window self)"}, { (char *)"Fl_Double_Window_swigregister", Fl_Double_Window_swigregister, METH_VARARGS, NULL}, { (char *)"fl_color", _wrap_fl_color, METH_VARARGS, (char *)"\n" "fl_color(Fl_Color c)\n" "fl_color(uchar r, uchar g, uchar b)\n" "fl_color() -> Fl_Color\n" ""}, { (char *)"fl_push_clip", _wrap_fl_push_clip, METH_VARARGS, (char *)"fl_push_clip(int x, int y, int w, int h)"}, { (char *)"fl_push_no_clip", _wrap_fl_push_no_clip, METH_VARARGS, (char *)"fl_push_no_clip()"}, { (char *)"fl_pop_clip", _wrap_fl_pop_clip, METH_VARARGS, (char *)"fl_pop_clip()"}, { (char *)"fl_not_clipped", _wrap_fl_not_clipped, METH_VARARGS, (char *)"fl_not_clipped(int x, int y, int w, int h) -> int"}, { (char *)"fl_clip_box", _wrap_fl_clip_box, METH_VARARGS, (char *)"fl_clip_box(int x, int y, int w, int h) -> int"}, { (char *)"fl_restore_clip", _wrap_fl_restore_clip, METH_VARARGS, (char *)"fl_restore_clip()"}, { (char *)"fl_clip_region", _wrap_fl_clip_region, METH_VARARGS, (char *)"\n" "fl_clip_region(Fl_Region r)\n" "fl_clip_region() -> Fl_Region\n" ""}, { (char *)"fl_point", _wrap_fl_point, METH_VARARGS, (char *)"fl_point(int x, int y)"}, { (char *)"fl_line_style", _wrap_fl_line_style, METH_VARARGS, (char *)"fl_line_style(int style, int width = 0, char dashes = None)"}, { (char *)"fl_rect", _wrap_fl_rect, METH_VARARGS, (char *)"\n" "fl_rect(int x, int y, int w, int h)\n" "fl_rect(int x, int y, int w, int h, Fl_Color c)\n" ""}, { (char *)"fl_rectf", _wrap_fl_rectf, METH_VARARGS, (char *)"\n" "fl_rectf(int x, int y, int w, int h)\n" "fl_rectf(int x, int y, int w, int h, Fl_Color c)\n" "fl_rectf(int x, int y, int w, int h, uchar r, uchar g, uchar b)\n" ""}, { (char *)"fl_line", _wrap_fl_line, METH_VARARGS, (char *)"\n" "fl_line(int x, int y, int x1, int y1)\n" "fl_line(int x, int y, int x1, int y1, int x2, int y2)\n" ""}, { (char *)"fl_loop", _wrap_fl_loop, METH_VARARGS, (char *)"\n" "fl_loop(int x, int y, int x1, int y1, int x2, int y2)\n" "fl_loop(int x, int y, int x1, int y1, int x2, int y2, int x3, \n" " int y3)\n" ""}, { (char *)"fl_polygon", _wrap_fl_polygon, METH_VARARGS, (char *)"\n" "fl_polygon(int x, int y, int x1, int y1, int x2, int y2)\n" "fl_polygon(int x, int y, int x1, int y1, int x2, int y2, int x3, \n" " int y3)\n" ""}, { (char *)"fl_xyline", _wrap_fl_xyline, METH_VARARGS, (char *)"\n" "fl_xyline(int x, int y, int x1)\n" "fl_xyline(int x, int y, int x1, int y2)\n" "fl_xyline(int x, int y, int x1, int y2, int x3)\n" ""}, { (char *)"fl_yxline", _wrap_fl_yxline, METH_VARARGS, (char *)"\n" "fl_yxline(int x, int y, int y1)\n" "fl_yxline(int x, int y, int y1, int x2)\n" "fl_yxline(int x, int y, int y1, int x2, int y3)\n" ""}, { (char *)"fl_pie", _wrap_fl_pie, METH_VARARGS, (char *)"fl_pie(int x, int y, int w, int h, double a1, double a2)"}, { (char *)"fl_push_matrix", _wrap_fl_push_matrix, METH_VARARGS, (char *)"fl_push_matrix()"}, { (char *)"fl_pop_matrix", _wrap_fl_pop_matrix, METH_VARARGS, (char *)"fl_pop_matrix()"}, { (char *)"fl_scale", _wrap_fl_scale, METH_VARARGS, (char *)"\n" "fl_scale(double x, double y)\n" "fl_scale(double x)\n" ""}, { (char *)"fl_translate", _wrap_fl_translate, METH_VARARGS, (char *)"fl_translate(double x, double y)"}, { (char *)"fl_rotate", _wrap_fl_rotate, METH_VARARGS, (char *)"fl_rotate(double d)"}, { (char *)"fl_mult_matrix", _wrap_fl_mult_matrix, METH_VARARGS, (char *)"fl_mult_matrix(double a, double b, double c, double d, double x, double y)"}, { (char *)"fl_begin_points", _wrap_fl_begin_points, METH_VARARGS, (char *)"fl_begin_points()"}, { (char *)"fl_begin_line", _wrap_fl_begin_line, METH_VARARGS, (char *)"fl_begin_line()"}, { (char *)"fl_begin_loop", _wrap_fl_begin_loop, METH_VARARGS, (char *)"fl_begin_loop()"}, { (char *)"fl_begin_polygon", _wrap_fl_begin_polygon, METH_VARARGS, (char *)"fl_begin_polygon()"}, { (char *)"fl_vertex", _wrap_fl_vertex, METH_VARARGS, (char *)"fl_vertex(double x, double y)"}, { (char *)"fl_curve", _wrap_fl_curve, METH_VARARGS, (char *)"\n" "fl_curve(double X0, double Y0, double X1, double Y1, double X2, \n" " double Y2, double X3, double Y3)\n" ""}, { (char *)"fl_arc", _wrap_fl_arc, METH_VARARGS, (char *)"\n" "fl_arc(int x, int y, int w, int h, double a1, double a2)\n" "fl_arc(double x, double y, double r, double start, double end)\n" ""}, { (char *)"fl_circle", _wrap_fl_circle, METH_VARARGS, (char *)"fl_circle(double x, double y, double r)"}, { (char *)"fl_end_points", _wrap_fl_end_points, METH_VARARGS, (char *)"fl_end_points()"}, { (char *)"fl_end_line", _wrap_fl_end_line, METH_VARARGS, (char *)"fl_end_line()"}, { (char *)"fl_end_loop", _wrap_fl_end_loop, METH_VARARGS, (char *)"fl_end_loop()"}, { (char *)"fl_end_polygon", _wrap_fl_end_polygon, METH_VARARGS, (char *)"fl_end_polygon()"}, { (char *)"fl_begin_complex_polygon", _wrap_fl_begin_complex_polygon, METH_VARARGS, (char *)"fl_begin_complex_polygon()"}, { (char *)"fl_gap", _wrap_fl_gap, METH_VARARGS, (char *)"fl_gap()"}, { (char *)"fl_end_complex_polygon", _wrap_fl_end_complex_polygon, METH_VARARGS, (char *)"fl_end_complex_polygon()"}, { (char *)"fl_transform_x", _wrap_fl_transform_x, METH_VARARGS, (char *)"fl_transform_x(double x, double y) -> double"}, { (char *)"fl_transform_y", _wrap_fl_transform_y, METH_VARARGS, (char *)"fl_transform_y(double x, double y) -> double"}, { (char *)"fl_transform_dx", _wrap_fl_transform_dx, METH_VARARGS, (char *)"fl_transform_dx(double x, double y) -> double"}, { (char *)"fl_transform_dy", _wrap_fl_transform_dy, METH_VARARGS, (char *)"fl_transform_dy(double x, double y) -> double"}, { (char *)"fl_transformed_vertex", _wrap_fl_transformed_vertex, METH_VARARGS, (char *)"fl_transformed_vertex(double xf, double yf)"}, { (char *)"fl_font", _wrap_fl_font, METH_VARARGS, (char *)"\n" "fl_font(Fl_Font face, Fl_Fontsize size)\n" "fl_font() -> Fl_Font\n" ""}, { (char *)"fl_size", _wrap_fl_size, METH_VARARGS, (char *)"fl_size() -> Fl_Fontsize"}, { (char *)"fl_height", _wrap_fl_height, METH_VARARGS, (char *)"\n" "fl_height() -> int\n" "fl_height(int font, int size) -> int\n" ""}, { (char *)"fl_descent", _wrap_fl_descent, METH_VARARGS, (char *)"fl_descent() -> int"}, { (char *)"fl_width", _wrap_fl_width, METH_VARARGS, (char *)"\n" "fl_width(char txt) -> double\n" "fl_width(char txt, int n) -> double\n" "fl_width(unsigned int c) -> double\n" ""}, { (char *)"fl_text_extents", _wrap_fl_text_extents, METH_VARARGS, (char *)"\n" "fl_text_extents(char arg0)\n" "fl_text_extents(char t, int n)\n" ""}, { (char *)"fl_latin1_to_local", _wrap_fl_latin1_to_local, METH_VARARGS, (char *)"fl_latin1_to_local(char t, int n = -1) -> char"}, { (char *)"fl_local_to_latin1", _wrap_fl_local_to_latin1, METH_VARARGS, (char *)"fl_local_to_latin1(char t, int n = -1) -> char"}, { (char *)"fl_mac_roman_to_local", _wrap_fl_mac_roman_to_local, METH_VARARGS, (char *)"fl_mac_roman_to_local(char t, int n = -1) -> char"}, { (char *)"fl_local_to_mac_roman", _wrap_fl_local_to_mac_roman, METH_VARARGS, (char *)"fl_local_to_mac_roman(char t, int n = -1) -> char"}, { (char *)"fl_rtl_draw", _wrap_fl_rtl_draw, METH_VARARGS, (char *)"fl_rtl_draw(char str, int n, int x, int y)"}, { (char *)"fl_measure", _wrap_fl_measure, METH_VARARGS, (char *)"fl_measure(char str, int draw_symbols = 1)"}, { (char *)"fl_draw", _wrap_fl_draw, METH_VARARGS, (char *)"\n" "fl_draw(char str, int x, int y)\n" "fl_draw(int angle, char str, int x, int y)\n" "fl_draw(char str, int n, int x, int y)\n" "fl_draw(int angle, char str, int n, int x, int y)\n" "fl_draw(char str, int x, int y, int w, int h, Fl_Align align, \n" " Fl_Image img = None, int draw_symbols = 1)\n" "fl_draw(char str, int x, int y, int w, int h, Fl_Align align, \n" " void callthis, Fl_Image img = None, int draw_symbols = 1)\n" ""}, { (char *)"fl_frame", _wrap_fl_frame, METH_VARARGS, (char *)"\n" "fl_frame(Fl_Boxtype b) -> Fl_Boxtype\n" "fl_frame(char s, int x, int y, int w, int h)\n" ""}, { (char *)"fl_frame2", _wrap_fl_frame2, METH_VARARGS, (char *)"fl_frame2(char s, int x, int y, int w, int h)"}, { (char *)"fl_draw_box", _wrap_fl_draw_box, METH_VARARGS, (char *)"fl_draw_box(Fl_Boxtype arg0, int x, int y, int w, int h, Fl_Color arg5)"}, { (char *)"fl_draw_image", _wrap_fl_draw_image, METH_VARARGS, (char *)"fl_draw_image(uchar buf, int X, int Y, int W, int H, int D = 3, int L = 0)"}, { (char *)"fl_draw_image_mono", _wrap_fl_draw_image_mono, METH_VARARGS, (char *)"fl_draw_image_mono(uchar buf, int X, int Y, int W, int H, int D = 1, int L = 0)"}, { (char *)"fl_can_do_alpha_blending", _wrap_fl_can_do_alpha_blending, METH_VARARGS, (char *)"fl_can_do_alpha_blending() -> char"}, { (char *)"fl_draw_pixmap", _wrap_fl_draw_pixmap, METH_VARARGS, (char *)"fl_draw_pixmap(char data, int x, int y, Fl_Color arg3 = ) -> int"}, { (char *)"fl_measure_pixmap", _wrap_fl_measure_pixmap, METH_VARARGS, (char *)"fl_measure_pixmap(char data) -> int"}, { (char *)"fl_scroll", _wrap_fl_scroll, METH_VARARGS, (char *)"\n" "fl_scroll(int X, int Y, int W, int H, int dx, int dy, void draw_area, \n" " void data)\n" ""}, { (char *)"fl_shortcut_label", _wrap_fl_shortcut_label, METH_VARARGS, (char *)"\n" "fl_shortcut_label(unsigned int shortcut) -> char\n" "fl_shortcut_label(unsigned int shortcut, char eom) -> char\n" ""}, { (char *)"fl_overlay_rect", _wrap_fl_overlay_rect, METH_VARARGS, (char *)"fl_overlay_rect(int x, int y, int w, int h)"}, { (char *)"fl_overlay_clear", _wrap_fl_overlay_clear, METH_VARARGS, (char *)"fl_overlay_clear()"}, { (char *)"fl_cursor", _wrap_fl_cursor, METH_VARARGS, (char *)"fl_cursor(Fl_Cursor arg0, Fl_Color fg = , Fl_Color bg = )"}, { (char *)"fl_expand_text", _wrap_fl_expand_text, METH_VARARGS, (char *)"\n" "fl_expand_text(char _from, char buf, int maxbuf, double maxw, double width, \n" " int wrap, int draw_symbols = 0) -> char\n" ""}, { (char *)"fl_set_status", _wrap_fl_set_status, METH_VARARGS, (char *)"fl_set_status(int X, int Y, int W, int H)"}, { (char *)"fl_set_spot", _wrap_fl_set_spot, METH_VARARGS, (char *)"fl_set_spot(int font, int size, int X, int Y, int W, int H, Fl_Window win = None)"}, { (char *)"fl_reset_spot", _wrap_fl_reset_spot, METH_VARARGS, (char *)"fl_reset_spot()"}, { (char *)"fl_draw_symbol", _wrap_fl_draw_symbol, METH_VARARGS, (char *)"fl_draw_symbol(char label, int x, int y, int w, int h, Fl_Color arg5) -> int"}, { (char *)"fl_add_symbol", _wrap_fl_add_symbol, METH_VARARGS, (char *)"fl_add_symbol(char name, void drawit, int scalable) -> int"}, { (char *)"Fl_Input__resize", _wrap_Fl_Input__resize, METH_VARARGS, (char *)"Fl_Input__resize(Fl_Input_ self, int arg0, int arg1, int arg2, int arg3)"}, { (char *)"new_Fl_Input_", _wrap_new_Fl_Input_, METH_VARARGS, (char *)"\n" "new_Fl_Input_(PyObject self, int arg1, int arg2, int arg3, int arg4, \n" " char arg5 = None) -> Fl_Input_\n" ""}, { (char *)"delete_Fl_Input_", _wrap_delete_Fl_Input_, METH_VARARGS, (char *)"delete_Fl_Input_(Fl_Input_ self)"}, { (char *)"Fl_Input__static_value", _wrap_Fl_Input__static_value, METH_VARARGS, (char *)"\n" "static_value(char arg0) -> int\n" "Fl_Input__static_value(Fl_Input_ self, char arg1, int arg2) -> int\n" ""}, { (char *)"Fl_Input__value", _wrap_Fl_Input__value, METH_VARARGS, (char *)"\n" "value(char arg0) -> int\n" "value(char arg0, int arg1) -> int\n" "Fl_Input__value(Fl_Input_ self) -> char\n" ""}, { (char *)"Fl_Input__index", _wrap_Fl_Input__index, METH_VARARGS, (char *)"Fl_Input__index(Fl_Input_ self, int i) -> Fl_Char"}, { (char *)"Fl_Input__size", _wrap_Fl_Input__size, METH_VARARGS, (char *)"\n" "size() -> int\n" "Fl_Input__size(Fl_Input_ self, int W, int H)\n" ""}, { (char *)"Fl_Input__maximum_size", _wrap_Fl_Input__maximum_size, METH_VARARGS, (char *)"\n" "maximum_size() -> int\n" "Fl_Input__maximum_size(Fl_Input_ self, int m)\n" ""}, { (char *)"Fl_Input__position", _wrap_Fl_Input__position, METH_VARARGS, (char *)"\n" "position() -> int\n" "position(int p, int m) -> int\n" "Fl_Input__position(Fl_Input_ self, int p) -> int\n" ""}, { (char *)"Fl_Input__mark", _wrap_Fl_Input__mark, METH_VARARGS, (char *)"\n" "mark() -> int\n" "Fl_Input__mark(Fl_Input_ self, int m) -> int\n" ""}, { (char *)"Fl_Input__replace", _wrap_Fl_Input__replace, METH_VARARGS, (char *)"Fl_Input__replace(Fl_Input_ self, int arg1, int arg2, char arg3, int arg4 = 0) -> int"}, { (char *)"Fl_Input__cut", _wrap_Fl_Input__cut, METH_VARARGS, (char *)"\n" "cut() -> int\n" "cut(int n) -> int\n" "Fl_Input__cut(Fl_Input_ self, int a, int b) -> int\n" ""}, { (char *)"Fl_Input__insert", _wrap_Fl_Input__insert, METH_VARARGS, (char *)"Fl_Input__insert(Fl_Input_ self, char t, int l = 0) -> int"}, { (char *)"Fl_Input__copy", _wrap_Fl_Input__copy, METH_VARARGS, (char *)"Fl_Input__copy(Fl_Input_ self, int clipboard) -> int"}, { (char *)"Fl_Input__undo", _wrap_Fl_Input__undo, METH_VARARGS, (char *)"Fl_Input__undo(Fl_Input_ self) -> int"}, { (char *)"Fl_Input__copy_cuts", _wrap_Fl_Input__copy_cuts, METH_VARARGS, (char *)"Fl_Input__copy_cuts(Fl_Input_ self) -> int"}, { (char *)"Fl_Input__shortcut", _wrap_Fl_Input__shortcut, METH_VARARGS, (char *)"\n" "shortcut() -> int\n" "Fl_Input__shortcut(Fl_Input_ self, int s)\n" ""}, { (char *)"Fl_Input__textfont", _wrap_Fl_Input__textfont, METH_VARARGS, (char *)"\n" "textfont() -> Fl_Font\n" "Fl_Input__textfont(Fl_Input_ self, Fl_Font s)\n" ""}, { (char *)"Fl_Input__textsize", _wrap_Fl_Input__textsize, METH_VARARGS, (char *)"\n" "textsize() -> Fl_Fontsize\n" "Fl_Input__textsize(Fl_Input_ self, Fl_Fontsize s)\n" ""}, { (char *)"Fl_Input__textcolor", _wrap_Fl_Input__textcolor, METH_VARARGS, (char *)"\n" "textcolor() -> Fl_Color\n" "Fl_Input__textcolor(Fl_Input_ self, Fl_Color n)\n" ""}, { (char *)"Fl_Input__cursor_color", _wrap_Fl_Input__cursor_color, METH_VARARGS, (char *)"\n" "cursor_color() -> Fl_Color\n" "Fl_Input__cursor_color(Fl_Input_ self, Fl_Color n)\n" ""}, { (char *)"Fl_Input__input_type", _wrap_Fl_Input__input_type, METH_VARARGS, (char *)"\n" "input_type() -> int\n" "Fl_Input__input_type(Fl_Input_ self, int t)\n" ""}, { (char *)"Fl_Input__readonly", _wrap_Fl_Input__readonly, METH_VARARGS, (char *)"\n" "readonly() -> int\n" "Fl_Input__readonly(Fl_Input_ self, int b)\n" ""}, { (char *)"Fl_Input__wrap", _wrap_Fl_Input__wrap, METH_VARARGS, (char *)"\n" "wrap() -> int\n" "Fl_Input__wrap(Fl_Input_ self, int b)\n" ""}, { (char *)"Fl_Input__tab_nav", _wrap_Fl_Input__tab_nav, METH_VARARGS, (char *)"\n" "tab_nav(int val)\n" "Fl_Input__tab_nav(Fl_Input_ self) -> int\n" ""}, { (char *)"disown_Fl_Input_", _wrap_disown_Fl_Input_, METH_VARARGS, NULL}, { (char *)"Fl_Input__swigregister", Fl_Input__swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Input_draw", _wrap_Fl_Input_draw, METH_VARARGS, (char *)"Fl_Input_draw(Fl_Input self)"}, { (char *)"Fl_Input_handle", _wrap_Fl_Input_handle, METH_VARARGS, (char *)"Fl_Input_handle(Fl_Input self, int arg0) -> int"}, { (char *)"new_Fl_Input", _wrap_new_Fl_Input, METH_VARARGS, (char *)"\n" "new_Fl_Input(PyObject self, int arg1, int arg2, int arg3, int arg4, \n" " char arg5 = None) -> Fl_Input\n" ""}, { (char *)"delete_Fl_Input", _wrap_delete_Fl_Input, METH_VARARGS, (char *)"delete_Fl_Input(Fl_Input self)"}, { (char *)"disown_Fl_Input", _wrap_disown_Fl_Input, METH_VARARGS, NULL}, { (char *)"Fl_Input_swigregister", Fl_Input_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_File_Input", _wrap_new_Fl_File_Input, METH_VARARGS, (char *)"new_Fl_File_Input(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_File_Input"}, { (char *)"Fl_File_Input_handle", _wrap_Fl_File_Input_handle, METH_VARARGS, (char *)"Fl_File_Input_handle(Fl_File_Input self, int event) -> int"}, { (char *)"Fl_File_Input_draw", _wrap_Fl_File_Input_draw, METH_VARARGS, (char *)"Fl_File_Input_draw(Fl_File_Input self)"}, { (char *)"Fl_File_Input_down_box", _wrap_Fl_File_Input_down_box, METH_VARARGS, (char *)"\n" "down_box() -> Fl_Boxtype\n" "Fl_File_Input_down_box(Fl_File_Input self, Fl_Boxtype b)\n" ""}, { (char *)"Fl_File_Input_errorcolor", _wrap_Fl_File_Input_errorcolor, METH_VARARGS, (char *)"\n" "errorcolor() -> Fl_Color\n" "Fl_File_Input_errorcolor(Fl_File_Input self, Fl_Color c)\n" ""}, { (char *)"Fl_File_Input_value", _wrap_Fl_File_Input_value, METH_VARARGS, (char *)"\n" "value(char str) -> int\n" "value(char str, int len) -> int\n" "Fl_File_Input_value(Fl_File_Input self) -> char\n" ""}, { (char *)"delete_Fl_File_Input", _wrap_delete_Fl_File_Input, METH_VARARGS, (char *)"delete_Fl_File_Input(Fl_File_Input self)"}, { (char *)"disown_Fl_File_Input", _wrap_disown_Fl_File_Input, METH_VARARGS, NULL}, { (char *)"Fl_File_Input_swigregister", Fl_File_Input_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Fill_Dial", _wrap_new_Fl_Fill_Dial, METH_VARARGS, (char *)"new_Fl_Fill_Dial(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Fill_Dial"}, { (char *)"delete_Fl_Fill_Dial", _wrap_delete_Fl_Fill_Dial, METH_VARARGS, (char *)"delete_Fl_Fill_Dial(Fl_Fill_Dial self)"}, { (char *)"disown_Fl_Fill_Dial", _wrap_disown_Fl_Fill_Dial, METH_VARARGS, NULL}, { (char *)"Fl_Fill_Dial_draw", _wrap_Fl_Fill_Dial_draw, METH_VARARGS, (char *)"Fl_Fill_Dial_draw(Fl_Fill_Dial self)"}, { (char *)"Fl_Fill_Dial_swigregister", Fl_Fill_Dial_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Slider_draw", _wrap_Fl_Slider_draw, METH_VARARGS, (char *)"Fl_Slider_draw(Fl_Slider self)"}, { (char *)"Fl_Slider_handle", _wrap_Fl_Slider_handle, METH_VARARGS, (char *)"Fl_Slider_handle(Fl_Slider self, int arg0) -> int"}, { (char *)"new_Fl_Slider", _wrap_new_Fl_Slider, METH_VARARGS, (char *)"\n" "Fl_Slider(int X, int Y, int W, int H, char L = None)\n" "new_Fl_Slider(PyObject self, uchar t, int X, int Y, int W, int H, \n" " char L) -> Fl_Slider\n" ""}, { (char *)"Fl_Slider_scrollvalue", _wrap_Fl_Slider_scrollvalue, METH_VARARGS, (char *)"Fl_Slider_scrollvalue(Fl_Slider self, int pos, int size, int first, int total) -> int"}, { (char *)"Fl_Slider_bounds", _wrap_Fl_Slider_bounds, METH_VARARGS, (char *)"Fl_Slider_bounds(Fl_Slider self, double a, double b)"}, { (char *)"Fl_Slider_slider_size", _wrap_Fl_Slider_slider_size, METH_VARARGS, (char *)"\n" "slider_size() -> float\n" "Fl_Slider_slider_size(Fl_Slider self, double v)\n" ""}, { (char *)"Fl_Slider_slider", _wrap_Fl_Slider_slider, METH_VARARGS, (char *)"\n" "slider() -> Fl_Boxtype\n" "Fl_Slider_slider(Fl_Slider self, Fl_Boxtype c)\n" ""}, { (char *)"delete_Fl_Slider", _wrap_delete_Fl_Slider, METH_VARARGS, (char *)"delete_Fl_Slider(Fl_Slider self)"}, { (char *)"disown_Fl_Slider", _wrap_disown_Fl_Slider, METH_VARARGS, NULL}, { (char *)"Fl_Slider_swigregister", Fl_Slider_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Fill_Slider", _wrap_new_Fl_Fill_Slider, METH_VARARGS, (char *)"new_Fl_Fill_Slider(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Fill_Slider"}, { (char *)"delete_Fl_Fill_Slider", _wrap_delete_Fl_Fill_Slider, METH_VARARGS, (char *)"delete_Fl_Fill_Slider(Fl_Fill_Slider self)"}, { (char *)"disown_Fl_Fill_Slider", _wrap_disown_Fl_Fill_Slider, METH_VARARGS, NULL}, { (char *)"Fl_Fill_Slider_draw", _wrap_Fl_Fill_Slider_draw, METH_VARARGS, (char *)"Fl_Fill_Slider_draw(Fl_Fill_Slider self)"}, { (char *)"Fl_Fill_Slider_swigregister", Fl_Fill_Slider_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Float_Input", _wrap_new_Fl_Float_Input, METH_VARARGS, (char *)"new_Fl_Float_Input(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Float_Input"}, { (char *)"delete_Fl_Float_Input", _wrap_delete_Fl_Float_Input, METH_VARARGS, (char *)"delete_Fl_Float_Input(Fl_Float_Input self)"}, { (char *)"disown_Fl_Float_Input", _wrap_disown_Fl_Float_Input, METH_VARARGS, NULL}, { (char *)"Fl_Float_Input_draw", _wrap_Fl_Float_Input_draw, METH_VARARGS, (char *)"Fl_Float_Input_draw(Fl_Float_Input self)"}, { (char *)"Fl_Float_Input_swigregister", Fl_Float_Input_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_FormsBitmap_draw", _wrap_Fl_FormsBitmap_draw, METH_VARARGS, (char *)"Fl_FormsBitmap_draw(Fl_FormsBitmap self)"}, { (char *)"new_Fl_FormsBitmap", _wrap_new_Fl_FormsBitmap, METH_VARARGS, (char *)"\n" "new_Fl_FormsBitmap(PyObject self, Fl_Boxtype arg1, int arg2, int arg3, \n" " int arg4, int arg5, char arg6 = None) -> Fl_FormsBitmap\n" ""}, { (char *)"Fl_FormsBitmap_set", _wrap_Fl_FormsBitmap_set, METH_VARARGS, (char *)"Fl_FormsBitmap_set(Fl_FormsBitmap self, int W, int H, uchar bits)"}, { (char *)"Fl_FormsBitmap_bitmap", _wrap_Fl_FormsBitmap_bitmap, METH_VARARGS, (char *)"\n" "bitmap(Fl_Bitmap B)\n" "Fl_FormsBitmap_bitmap(Fl_FormsBitmap self) -> Fl_Bitmap\n" ""}, { (char *)"delete_Fl_FormsBitmap", _wrap_delete_Fl_FormsBitmap, METH_VARARGS, (char *)"delete_Fl_FormsBitmap(Fl_FormsBitmap self)"}, { (char *)"disown_Fl_FormsBitmap", _wrap_disown_Fl_FormsBitmap, METH_VARARGS, NULL}, { (char *)"Fl_FormsBitmap_swigregister", Fl_FormsBitmap_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_FormsPixmap_draw", _wrap_Fl_FormsPixmap_draw, METH_VARARGS, (char *)"Fl_FormsPixmap_draw(Fl_FormsPixmap self)"}, { (char *)"new_Fl_FormsPixmap", _wrap_new_Fl_FormsPixmap, METH_VARARGS, (char *)"\n" "new_Fl_FormsPixmap(PyObject self, Fl_Boxtype t, int X, int Y, int W, int H, \n" " char L = None) -> Fl_FormsPixmap\n" ""}, { (char *)"Fl_FormsPixmap_set", _wrap_Fl_FormsPixmap_set, METH_VARARGS, (char *)"Fl_FormsPixmap_set(Fl_FormsPixmap self, char bits)"}, { (char *)"Fl_FormsPixmap_Pixmap", _wrap_Fl_FormsPixmap_Pixmap, METH_VARARGS, (char *)"\n" "Pixmap(Fl_Pixmap B)\n" "Fl_FormsPixmap_Pixmap(Fl_FormsPixmap self) -> Fl_Pixmap\n" ""}, { (char *)"delete_Fl_FormsPixmap", _wrap_delete_Fl_FormsPixmap, METH_VARARGS, (char *)"delete_Fl_FormsPixmap(Fl_FormsPixmap self)"}, { (char *)"disown_Fl_FormsPixmap", _wrap_disown_Fl_FormsPixmap, METH_VARARGS, NULL}, { (char *)"Fl_FormsPixmap_swigregister", Fl_FormsPixmap_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Free_draw", _wrap_Fl_Free_draw, METH_VARARGS, (char *)"Fl_Free_draw(Fl_Free self)"}, { (char *)"Fl_Free_handle", _wrap_Fl_Free_handle, METH_VARARGS, (char *)"Fl_Free_handle(Fl_Free self, int e) -> int"}, { (char *)"new_Fl_Free", _wrap_new_Fl_Free, METH_VARARGS, (char *)"\n" "new_Fl_Free(PyObject self, uchar t, int X, int Y, int W, int H, \n" " char L, FL_HANDLEPTR hdl) -> Fl_Free\n" ""}, { (char *)"delete_Fl_Free", _wrap_delete_Fl_Free, METH_VARARGS, (char *)"delete_Fl_Free(Fl_Free self)"}, { (char *)"disown_Fl_Free", _wrap_disown_Fl_Free, METH_VARARGS, NULL}, { (char *)"Fl_Free_swigregister", Fl_Free_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Pixmap", _wrap_new_Fl_Pixmap, METH_VARARGS, (char *)"new_Fl_Pixmap(PyObject self, char D) -> Fl_Pixmap"}, { (char *)"delete_Fl_Pixmap", _wrap_delete_Fl_Pixmap, METH_VARARGS, (char *)"delete_Fl_Pixmap(Fl_Pixmap self)"}, { (char *)"Fl_Pixmap_copy", _wrap_Fl_Pixmap_copy, METH_VARARGS, (char *)"\n" "copy(int W, int H) -> Fl_Image\n" "Fl_Pixmap_copy(Fl_Pixmap self) -> Fl_Image\n" ""}, { (char *)"Fl_Pixmap_color_average", _wrap_Fl_Pixmap_color_average, METH_VARARGS, (char *)"Fl_Pixmap_color_average(Fl_Pixmap self, Fl_Color c, float i)"}, { (char *)"Fl_Pixmap_desaturate", _wrap_Fl_Pixmap_desaturate, METH_VARARGS, (char *)"Fl_Pixmap_desaturate(Fl_Pixmap self)"}, { (char *)"Fl_Pixmap_draw", _wrap_Fl_Pixmap_draw, METH_VARARGS, (char *)"\n" "draw(int X, int Y, int W, int H, int cx = 0, int cy = 0)\n" "Fl_Pixmap_draw(Fl_Pixmap self, int X, int Y)\n" ""}, { (char *)"Fl_Pixmap_label", _wrap_Fl_Pixmap_label, METH_VARARGS, (char *)"\n" "label(Fl_Widget w)\n" "Fl_Pixmap_label(Fl_Pixmap self, Fl_Menu_Item m)\n" ""}, { (char *)"Fl_Pixmap_uncache", _wrap_Fl_Pixmap_uncache, METH_VARARGS, (char *)"Fl_Pixmap_uncache(Fl_Pixmap self)"}, { (char *)"disown_Fl_Pixmap", _wrap_disown_Fl_Pixmap, METH_VARARGS, NULL}, { (char *)"Fl_Pixmap_swigregister", Fl_Pixmap_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_GIF_Image", _wrap_new_Fl_GIF_Image, METH_VARARGS, (char *)"new_Fl_GIF_Image(PyObject self, char filename) -> Fl_GIF_Image"}, { (char *)"delete_Fl_GIF_Image", _wrap_delete_Fl_GIF_Image, METH_VARARGS, (char *)"delete_Fl_GIF_Image(Fl_GIF_Image self)"}, { (char *)"disown_Fl_GIF_Image", _wrap_disown_Fl_GIF_Image, METH_VARARGS, NULL}, { (char *)"Fl_GIF_Image_swigregister", Fl_GIF_Image_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Gl_Window_flush", _wrap_Fl_Gl_Window_flush, METH_VARARGS, (char *)"Fl_Gl_Window_flush(Fl_Gl_Window self)"}, { (char *)"Fl_Gl_Window_hide", _wrap_Fl_Gl_Window_hide, METH_VARARGS, (char *)"Fl_Gl_Window_hide(Fl_Gl_Window self)"}, { (char *)"Fl_Gl_Window_resize", _wrap_Fl_Gl_Window_resize, METH_VARARGS, (char *)"Fl_Gl_Window_resize(Fl_Gl_Window self, int arg0, int arg1, int arg2, int arg3)"}, { (char *)"Fl_Gl_Window_handle", _wrap_Fl_Gl_Window_handle, METH_VARARGS, (char *)"Fl_Gl_Window_handle(Fl_Gl_Window self, int arg0) -> int"}, { (char *)"Fl_Gl_Window_valid", _wrap_Fl_Gl_Window_valid, METH_VARARGS, (char *)"\n" "valid() -> char\n" "Fl_Gl_Window_valid(Fl_Gl_Window self, char v)\n" ""}, { (char *)"Fl_Gl_Window_invalidate", _wrap_Fl_Gl_Window_invalidate, METH_VARARGS, (char *)"Fl_Gl_Window_invalidate(Fl_Gl_Window self)"}, { (char *)"Fl_Gl_Window_context_valid", _wrap_Fl_Gl_Window_context_valid, METH_VARARGS, (char *)"\n" "context_valid() -> char\n" "Fl_Gl_Window_context_valid(Fl_Gl_Window self, char v)\n" ""}, { (char *)"Fl_Gl_Window_can_do", _wrap_Fl_Gl_Window_can_do, METH_VARARGS, (char *)"\n" "can_do(int m) -> int\n" "can_do(int m) -> int\n" "Fl_Gl_Window_can_do(Fl_Gl_Window self) -> int\n" ""}, { (char *)"Fl_Gl_Window_mode", _wrap_Fl_Gl_Window_mode, METH_VARARGS, (char *)"\n" "mode() -> Fl_Mode\n" "mode(int a) -> int\n" "Fl_Gl_Window_mode(Fl_Gl_Window self, int a) -> int\n" ""}, { (char *)"Fl_Gl_Window_context", _wrap_Fl_Gl_Window_context, METH_VARARGS, (char *)"\n" "context()\n" "Fl_Gl_Window_context(Fl_Gl_Window self, void arg1, int destroy_flag = 0)\n" ""}, { (char *)"Fl_Gl_Window_make_current", _wrap_Fl_Gl_Window_make_current, METH_VARARGS, (char *)"Fl_Gl_Window_make_current(Fl_Gl_Window self)"}, { (char *)"Fl_Gl_Window_swap_buffers", _wrap_Fl_Gl_Window_swap_buffers, METH_VARARGS, (char *)"Fl_Gl_Window_swap_buffers(Fl_Gl_Window self)"}, { (char *)"Fl_Gl_Window_ortho", _wrap_Fl_Gl_Window_ortho, METH_VARARGS, (char *)"Fl_Gl_Window_ortho(Fl_Gl_Window self)"}, { (char *)"Fl_Gl_Window_can_do_overlay", _wrap_Fl_Gl_Window_can_do_overlay, METH_VARARGS, (char *)"Fl_Gl_Window_can_do_overlay(Fl_Gl_Window self) -> int"}, { (char *)"Fl_Gl_Window_redraw_overlay", _wrap_Fl_Gl_Window_redraw_overlay, METH_VARARGS, (char *)"Fl_Gl_Window_redraw_overlay(Fl_Gl_Window self)"}, { (char *)"Fl_Gl_Window_hide_overlay", _wrap_Fl_Gl_Window_hide_overlay, METH_VARARGS, (char *)"Fl_Gl_Window_hide_overlay(Fl_Gl_Window self)"}, { (char *)"Fl_Gl_Window_make_overlay_current", _wrap_Fl_Gl_Window_make_overlay_current, METH_VARARGS, (char *)"Fl_Gl_Window_make_overlay_current(Fl_Gl_Window self)"}, { (char *)"Fl_Gl_Window_as_gl_window", _wrap_Fl_Gl_Window_as_gl_window, METH_VARARGS, (char *)"Fl_Gl_Window_as_gl_window(Fl_Gl_Window self) -> Fl_Gl_Window"}, { (char *)"delete_Fl_Gl_Window", _wrap_delete_Fl_Gl_Window, METH_VARARGS, (char *)"delete_Fl_Gl_Window(Fl_Gl_Window self)"}, { (char *)"new_Fl_Gl_Window", _wrap_new_Fl_Gl_Window, METH_VARARGS, (char *)"\n" "Fl_Gl_Window(int W, int H, char l = None)\n" "new_Fl_Gl_Window(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Gl_Window\n" ""}, { (char *)"Fl_Gl_Window_draw", _wrap_Fl_Gl_Window_draw, METH_VARARGS, (char *)"Fl_Gl_Window_draw(Fl_Gl_Window self)"}, { (char *)"Fl_Gl_Window_show", _wrap_Fl_Gl_Window_show, METH_VARARGS, (char *)"Fl_Gl_Window_show(Fl_Gl_Window self, PyObject count = None, PyObject data = None)"}, { (char *)"Fl_Gl_Window_drawPixels", _wrap_Fl_Gl_Window_drawPixels, METH_VARARGS, (char *)"\n" "Fl_Gl_Window_drawPixels(Fl_Gl_Window self, PyObject rgb_py)\n" "\n" "Writes a raw RGB string to the canvas.\n" "\n" "Arguments:\n" " - rgb - a string of width * height * 3 bytes, comprising\n" " the raw image in RGB format\n" "\n" ""}, { (char *)"disown_Fl_Gl_Window", _wrap_disown_Fl_Gl_Window, METH_VARARGS, NULL}, { (char *)"Fl_Gl_Window_swigregister", Fl_Gl_Window_swigregister, METH_VARARGS, NULL}, { (char *)"gl_start", _wrap_gl_start, METH_VARARGS, (char *)"gl_start()"}, { (char *)"gl_finish", _wrap_gl_finish, METH_VARARGS, (char *)"gl_finish()"}, { (char *)"gl_color", _wrap_gl_color, METH_VARARGS, (char *)"\n" "gl_color(Fl_Color i)\n" "gl_color(int c)\n" ""}, { (char *)"gl_rect", _wrap_gl_rect, METH_VARARGS, (char *)"gl_rect(int x, int y, int w, int h)"}, { (char *)"gl_rectf", _wrap_gl_rectf, METH_VARARGS, (char *)"gl_rectf(int x, int y, int w, int h)"}, { (char *)"gl_font", _wrap_gl_font, METH_VARARGS, (char *)"gl_font(int fontid, int size)"}, { (char *)"gl_height", _wrap_gl_height, METH_VARARGS, (char *)"gl_height() -> int"}, { (char *)"gl_descent", _wrap_gl_descent, METH_VARARGS, (char *)"gl_descent() -> int"}, { (char *)"gl_width", _wrap_gl_width, METH_VARARGS, (char *)"\n" "gl_width(char arg0) -> double\n" "gl_width(char arg0, int n) -> double\n" "gl_width(uchar arg0) -> double\n" ""}, { (char *)"gl_draw", _wrap_gl_draw, METH_VARARGS, (char *)"\n" "gl_draw(char arg0)\n" "gl_draw(char arg0, int n)\n" "gl_draw(char arg0, int x, int y)\n" "gl_draw(char arg0, float x, float y)\n" "gl_draw(char arg0, int n, int x, int y)\n" "gl_draw(char arg0, int n, float x, float y)\n" "gl_draw(char arg0, int x, int y, int w, int h, Fl_Align arg5)\n" ""}, { (char *)"gl_measure", _wrap_gl_measure, METH_VARARGS, (char *)"gl_measure(char arg0)"}, { (char *)"gl_draw_image", _wrap_gl_draw_image, METH_VARARGS, (char *)"\n" "gl_draw_image(uchar arg0, int x, int y, int w, int h, int d = 3, \n" " int ld = 0)\n" ""}, { (char *)"new_Fl_Help_Dialog", _wrap_new_Fl_Help_Dialog, METH_VARARGS, (char *)"new_Fl_Help_Dialog() -> Fl_Help_Dialog"}, { (char *)"delete_Fl_Help_Dialog", _wrap_delete_Fl_Help_Dialog, METH_VARARGS, (char *)"delete_Fl_Help_Dialog(Fl_Help_Dialog self)"}, { (char *)"Fl_Help_Dialog_h", _wrap_Fl_Help_Dialog_h, METH_VARARGS, (char *)"Fl_Help_Dialog_h(Fl_Help_Dialog self) -> int"}, { (char *)"Fl_Help_Dialog_hide", _wrap_Fl_Help_Dialog_hide, METH_VARARGS, (char *)"Fl_Help_Dialog_hide(Fl_Help_Dialog self)"}, { (char *)"Fl_Help_Dialog_load", _wrap_Fl_Help_Dialog_load, METH_VARARGS, (char *)"Fl_Help_Dialog_load(Fl_Help_Dialog self, char f)"}, { (char *)"Fl_Help_Dialog_position", _wrap_Fl_Help_Dialog_position, METH_VARARGS, (char *)"Fl_Help_Dialog_position(Fl_Help_Dialog self, int xx, int yy)"}, { (char *)"Fl_Help_Dialog_resize", _wrap_Fl_Help_Dialog_resize, METH_VARARGS, (char *)"Fl_Help_Dialog_resize(Fl_Help_Dialog self, int xx, int yy, int ww, int hh)"}, { (char *)"Fl_Help_Dialog_show", _wrap_Fl_Help_Dialog_show, METH_VARARGS, (char *)"\n" "show()\n" "Fl_Help_Dialog_show(Fl_Help_Dialog self, int argc, char argv)\n" ""}, { (char *)"Fl_Help_Dialog_textsize", _wrap_Fl_Help_Dialog_textsize, METH_VARARGS, (char *)"\n" "textsize(Fl_Fontsize s)\n" "Fl_Help_Dialog_textsize(Fl_Help_Dialog self) -> Fl_Fontsize\n" ""}, { (char *)"Fl_Help_Dialog_topline", _wrap_Fl_Help_Dialog_topline, METH_VARARGS, (char *)"\n" "topline(char n)\n" "Fl_Help_Dialog_topline(Fl_Help_Dialog self, int n)\n" ""}, { (char *)"Fl_Help_Dialog_value", _wrap_Fl_Help_Dialog_value, METH_VARARGS, (char *)"\n" "value(char f)\n" "Fl_Help_Dialog_value(Fl_Help_Dialog self) -> char\n" ""}, { (char *)"Fl_Help_Dialog_visible", _wrap_Fl_Help_Dialog_visible, METH_VARARGS, (char *)"Fl_Help_Dialog_visible(Fl_Help_Dialog self) -> int"}, { (char *)"Fl_Help_Dialog_w", _wrap_Fl_Help_Dialog_w, METH_VARARGS, (char *)"Fl_Help_Dialog_w(Fl_Help_Dialog self) -> int"}, { (char *)"Fl_Help_Dialog_x", _wrap_Fl_Help_Dialog_x, METH_VARARGS, (char *)"Fl_Help_Dialog_x(Fl_Help_Dialog self) -> int"}, { (char *)"Fl_Help_Dialog_y", _wrap_Fl_Help_Dialog_y, METH_VARARGS, (char *)"Fl_Help_Dialog_y(Fl_Help_Dialog self) -> int"}, { (char *)"Fl_Help_Dialog_swigregister", Fl_Help_Dialog_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Help_Block", _wrap_new_Fl_Help_Block, METH_VARARGS, (char *)"new_Fl_Help_Block() -> Fl_Help_Block"}, { (char *)"delete_Fl_Help_Block", _wrap_delete_Fl_Help_Block, METH_VARARGS, (char *)"delete_Fl_Help_Block(Fl_Help_Block self)"}, { (char *)"Fl_Help_Block_swigregister", Fl_Help_Block_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Help_Link", _wrap_new_Fl_Help_Link, METH_VARARGS, (char *)"new_Fl_Help_Link() -> Fl_Help_Link"}, { (char *)"delete_Fl_Help_Link", _wrap_delete_Fl_Help_Link, METH_VARARGS, (char *)"delete_Fl_Help_Link(Fl_Help_Link self)"}, { (char *)"Fl_Help_Link_swigregister", Fl_Help_Link_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Help_Font_Style_get", _wrap_Fl_Help_Font_Style_get, METH_VARARGS, (char *)"Fl_Help_Font_Style_get(Fl_Help_Font_Style self, Fl_Color acolor)"}, { (char *)"Fl_Help_Font_Style_set", _wrap_Fl_Help_Font_Style_set, METH_VARARGS, (char *)"\n" "Fl_Help_Font_Style_set(Fl_Help_Font_Style self, Fl_Font afont, Fl_Fontsize asize, \n" " Fl_Color acolor)\n" ""}, { (char *)"new_Fl_Help_Font_Style", _wrap_new_Fl_Help_Font_Style, METH_VARARGS, (char *)"\n" "Fl_Help_Font_Style(Fl_Font afont, Fl_Fontsize asize, Fl_Color acolor)\n" "new_Fl_Help_Font_Style() -> Fl_Help_Font_Style\n" ""}, { (char *)"delete_Fl_Help_Font_Style", _wrap_delete_Fl_Help_Font_Style, METH_VARARGS, (char *)"delete_Fl_Help_Font_Style(Fl_Help_Font_Style self)"}, { (char *)"Fl_Help_Font_Style_swigregister", Fl_Help_Font_Style_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Help_Font_Stack", _wrap_new_Fl_Help_Font_Stack, METH_VARARGS, (char *)"new_Fl_Help_Font_Stack() -> Fl_Help_Font_Stack"}, { (char *)"Fl_Help_Font_Stack_init", _wrap_Fl_Help_Font_Stack_init, METH_VARARGS, (char *)"\n" "Fl_Help_Font_Stack_init(Fl_Help_Font_Stack self, Fl_Font f, Fl_Fontsize s, \n" " Fl_Color c)\n" ""}, { (char *)"Fl_Help_Font_Stack_top", _wrap_Fl_Help_Font_Stack_top, METH_VARARGS, (char *)"Fl_Help_Font_Stack_top(Fl_Help_Font_Stack self, Fl_Color c)"}, { (char *)"Fl_Help_Font_Stack_push", _wrap_Fl_Help_Font_Stack_push, METH_VARARGS, (char *)"\n" "Fl_Help_Font_Stack_push(Fl_Help_Font_Stack self, Fl_Font f, Fl_Fontsize s, \n" " Fl_Color c)\n" ""}, { (char *)"Fl_Help_Font_Stack_pop", _wrap_Fl_Help_Font_Stack_pop, METH_VARARGS, (char *)"Fl_Help_Font_Stack_pop(Fl_Help_Font_Stack self, Fl_Color c)"}, { (char *)"Fl_Help_Font_Stack_count", _wrap_Fl_Help_Font_Stack_count, METH_VARARGS, (char *)"Fl_Help_Font_Stack_count(Fl_Help_Font_Stack self) -> size_t"}, { (char *)"delete_Fl_Help_Font_Stack", _wrap_delete_Fl_Help_Font_Stack, METH_VARARGS, (char *)"delete_Fl_Help_Font_Stack(Fl_Help_Font_Stack self)"}, { (char *)"Fl_Help_Font_Stack_swigregister", Fl_Help_Font_Stack_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Help_Target", _wrap_new_Fl_Help_Target, METH_VARARGS, (char *)"new_Fl_Help_Target() -> Fl_Help_Target"}, { (char *)"delete_Fl_Help_Target", _wrap_delete_Fl_Help_Target, METH_VARARGS, (char *)"delete_Fl_Help_Target(Fl_Help_Target self)"}, { (char *)"Fl_Help_Target_swigregister", Fl_Help_Target_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Help_View", _wrap_new_Fl_Help_View, METH_VARARGS, (char *)"new_Fl_Help_View(PyObject self, int xx, int yy, int ww, int hh, char l = None) -> Fl_Help_View"}, { (char *)"delete_Fl_Help_View", _wrap_delete_Fl_Help_View, METH_VARARGS, (char *)"delete_Fl_Help_View(Fl_Help_View self)"}, { (char *)"Fl_Help_View_directory", _wrap_Fl_Help_View_directory, METH_VARARGS, (char *)"Fl_Help_View_directory(Fl_Help_View self) -> char"}, { (char *)"Fl_Help_View_filename", _wrap_Fl_Help_View_filename, METH_VARARGS, (char *)"Fl_Help_View_filename(Fl_Help_View self) -> char"}, { (char *)"Fl_Help_View_find", _wrap_Fl_Help_View_find, METH_VARARGS, (char *)"Fl_Help_View_find(Fl_Help_View self, char s, int p = 0) -> int"}, { (char *)"Fl_Help_View_load", _wrap_Fl_Help_View_load, METH_VARARGS, (char *)"Fl_Help_View_load(Fl_Help_View self, char f) -> int"}, { (char *)"Fl_Help_View_resize", _wrap_Fl_Help_View_resize, METH_VARARGS, (char *)"Fl_Help_View_resize(Fl_Help_View self, int arg0, int arg1, int arg2, int arg3)"}, { (char *)"Fl_Help_View_size", _wrap_Fl_Help_View_size, METH_VARARGS, (char *)"\n" "size() -> int\n" "Fl_Help_View_size(Fl_Help_View self, int W, int H)\n" ""}, { (char *)"Fl_Help_View_textcolor", _wrap_Fl_Help_View_textcolor, METH_VARARGS, (char *)"\n" "textcolor(Fl_Color c)\n" "Fl_Help_View_textcolor(Fl_Help_View self) -> Fl_Color\n" ""}, { (char *)"Fl_Help_View_textfont", _wrap_Fl_Help_View_textfont, METH_VARARGS, (char *)"\n" "textfont(Fl_Font f)\n" "Fl_Help_View_textfont(Fl_Help_View self) -> Fl_Font\n" ""}, { (char *)"Fl_Help_View_textsize", _wrap_Fl_Help_View_textsize, METH_VARARGS, (char *)"\n" "textsize(Fl_Fontsize s)\n" "Fl_Help_View_textsize(Fl_Help_View self) -> Fl_Fontsize\n" ""}, { (char *)"Fl_Help_View_title", _wrap_Fl_Help_View_title, METH_VARARGS, (char *)"Fl_Help_View_title(Fl_Help_View self) -> char"}, { (char *)"Fl_Help_View_topline", _wrap_Fl_Help_View_topline, METH_VARARGS, (char *)"\n" "topline(char n)\n" "topline(int arg0)\n" "Fl_Help_View_topline(Fl_Help_View self) -> int\n" ""}, { (char *)"Fl_Help_View_leftline", _wrap_Fl_Help_View_leftline, METH_VARARGS, (char *)"\n" "leftline(int arg0)\n" "Fl_Help_View_leftline(Fl_Help_View self) -> int\n" ""}, { (char *)"Fl_Help_View_value", _wrap_Fl_Help_View_value, METH_VARARGS, (char *)"\n" "value(char val)\n" "Fl_Help_View_value(Fl_Help_View self) -> char\n" ""}, { (char *)"Fl_Help_View_clear_selection", _wrap_Fl_Help_View_clear_selection, METH_VARARGS, (char *)"Fl_Help_View_clear_selection(Fl_Help_View self)"}, { (char *)"Fl_Help_View_select_all", _wrap_Fl_Help_View_select_all, METH_VARARGS, (char *)"Fl_Help_View_select_all(Fl_Help_View self)"}, { (char *)"Fl_Help_View_scrollbar_size", _wrap_Fl_Help_View_scrollbar_size, METH_VARARGS, (char *)"\n" "scrollbar_size() -> int\n" "Fl_Help_View_scrollbar_size(Fl_Help_View self, int size)\n" ""}, { (char *)"Fl_Help_View_link", _wrap_Fl_Help_View_link, METH_VARARGS, (char *)"\n" "link(Fl_Help_Func fn)\n" "Fl_Help_View_link(Fl_Help_View self, PyObject PyFunc, PyObject PyWidget)\n" ""}, { (char *)"disown_Fl_Help_View", _wrap_disown_Fl_Help_View, METH_VARARGS, NULL}, { (char *)"Fl_Help_View_draw", _wrap_Fl_Help_View_draw, METH_VARARGS, (char *)"Fl_Help_View_draw(Fl_Help_View self)"}, { (char *)"Fl_Help_View_swigregister", Fl_Help_View_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Hold_Browser", _wrap_new_Fl_Hold_Browser, METH_VARARGS, (char *)"new_Fl_Hold_Browser(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Hold_Browser"}, { (char *)"delete_Fl_Hold_Browser", _wrap_delete_Fl_Hold_Browser, METH_VARARGS, (char *)"delete_Fl_Hold_Browser(Fl_Hold_Browser self)"}, { (char *)"disown_Fl_Hold_Browser", _wrap_disown_Fl_Hold_Browser, METH_VARARGS, NULL}, { (char *)"Fl_Hold_Browser_draw", _wrap_Fl_Hold_Browser_draw, METH_VARARGS, (char *)"Fl_Hold_Browser_draw(Fl_Hold_Browser self)"}, { (char *)"Fl_Hold_Browser_item_first", _wrap_Fl_Hold_Browser_item_first, METH_VARARGS, (char *)"Fl_Hold_Browser_item_first(Fl_Hold_Browser self) -> void"}, { (char *)"Fl_Hold_Browser_item_next", _wrap_Fl_Hold_Browser_item_next, METH_VARARGS, (char *)"Fl_Hold_Browser_item_next(Fl_Hold_Browser self, void item) -> void"}, { (char *)"Fl_Hold_Browser_item_prev", _wrap_Fl_Hold_Browser_item_prev, METH_VARARGS, (char *)"Fl_Hold_Browser_item_prev(Fl_Hold_Browser self, void item) -> void"}, { (char *)"Fl_Hold_Browser_item_last", _wrap_Fl_Hold_Browser_item_last, METH_VARARGS, (char *)"Fl_Hold_Browser_item_last(Fl_Hold_Browser self) -> void"}, { (char *)"Fl_Hold_Browser_item_height", _wrap_Fl_Hold_Browser_item_height, METH_VARARGS, (char *)"Fl_Hold_Browser_item_height(Fl_Hold_Browser self, void item) -> int"}, { (char *)"Fl_Hold_Browser_item_width", _wrap_Fl_Hold_Browser_item_width, METH_VARARGS, (char *)"Fl_Hold_Browser_item_width(Fl_Hold_Browser self, void item) -> int"}, { (char *)"Fl_Hold_Browser_item_quick_height", _wrap_Fl_Hold_Browser_item_quick_height, METH_VARARGS, (char *)"Fl_Hold_Browser_item_quick_height(Fl_Hold_Browser self, void item) -> int"}, { (char *)"Fl_Hold_Browser_item_draw", _wrap_Fl_Hold_Browser_item_draw, METH_VARARGS, (char *)"\n" "Fl_Hold_Browser_item_draw(Fl_Hold_Browser self, void item, int X, int Y, int W, \n" " int H)\n" ""}, { (char *)"Fl_Hold_Browser_item_text", _wrap_Fl_Hold_Browser_item_text, METH_VARARGS, (char *)"Fl_Hold_Browser_item_text(Fl_Hold_Browser self, void item) -> char"}, { (char *)"Fl_Hold_Browser_item_swap", _wrap_Fl_Hold_Browser_item_swap, METH_VARARGS, (char *)"Fl_Hold_Browser_item_swap(Fl_Hold_Browser self, void a, void b)"}, { (char *)"Fl_Hold_Browser_item_at", _wrap_Fl_Hold_Browser_item_at, METH_VARARGS, (char *)"Fl_Hold_Browser_item_at(Fl_Hold_Browser self, int line) -> void"}, { (char *)"Fl_Hold_Browser_full_width", _wrap_Fl_Hold_Browser_full_width, METH_VARARGS, (char *)"Fl_Hold_Browser_full_width(Fl_Hold_Browser self) -> int"}, { (char *)"Fl_Hold_Browser_full_height", _wrap_Fl_Hold_Browser_full_height, METH_VARARGS, (char *)"Fl_Hold_Browser_full_height(Fl_Hold_Browser self) -> int"}, { (char *)"Fl_Hold_Browser_incr_height", _wrap_Fl_Hold_Browser_incr_height, METH_VARARGS, (char *)"Fl_Hold_Browser_incr_height(Fl_Hold_Browser self) -> int"}, { (char *)"Fl_Hold_Browser_item_select", _wrap_Fl_Hold_Browser_item_select, METH_VARARGS, (char *)"Fl_Hold_Browser_item_select(Fl_Hold_Browser self, void item, int val)"}, { (char *)"Fl_Hold_Browser_item_selected", _wrap_Fl_Hold_Browser_item_selected, METH_VARARGS, (char *)"Fl_Hold_Browser_item_selected(Fl_Hold_Browser self, void item) -> int"}, { (char *)"Fl_Hold_Browser_swigregister", Fl_Hold_Browser_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Hor_Fill_Slider", _wrap_new_Fl_Hor_Fill_Slider, METH_VARARGS, (char *)"new_Fl_Hor_Fill_Slider(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Hor_Fill_Slider"}, { (char *)"delete_Fl_Hor_Fill_Slider", _wrap_delete_Fl_Hor_Fill_Slider, METH_VARARGS, (char *)"delete_Fl_Hor_Fill_Slider(Fl_Hor_Fill_Slider self)"}, { (char *)"disown_Fl_Hor_Fill_Slider", _wrap_disown_Fl_Hor_Fill_Slider, METH_VARARGS, NULL}, { (char *)"Fl_Hor_Fill_Slider_draw", _wrap_Fl_Hor_Fill_Slider_draw, METH_VARARGS, (char *)"Fl_Hor_Fill_Slider_draw(Fl_Hor_Fill_Slider self)"}, { (char *)"Fl_Hor_Fill_Slider_swigregister", Fl_Hor_Fill_Slider_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Hor_Nice_Slider", _wrap_new_Fl_Hor_Nice_Slider, METH_VARARGS, (char *)"new_Fl_Hor_Nice_Slider(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Hor_Nice_Slider"}, { (char *)"delete_Fl_Hor_Nice_Slider", _wrap_delete_Fl_Hor_Nice_Slider, METH_VARARGS, (char *)"delete_Fl_Hor_Nice_Slider(Fl_Hor_Nice_Slider self)"}, { (char *)"disown_Fl_Hor_Nice_Slider", _wrap_disown_Fl_Hor_Nice_Slider, METH_VARARGS, NULL}, { (char *)"Fl_Hor_Nice_Slider_draw", _wrap_Fl_Hor_Nice_Slider_draw, METH_VARARGS, (char *)"Fl_Hor_Nice_Slider_draw(Fl_Hor_Nice_Slider self)"}, { (char *)"Fl_Hor_Nice_Slider_swigregister", Fl_Hor_Nice_Slider_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Hor_Slider", _wrap_new_Fl_Hor_Slider, METH_VARARGS, (char *)"new_Fl_Hor_Slider(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Hor_Slider"}, { (char *)"delete_Fl_Hor_Slider", _wrap_delete_Fl_Hor_Slider, METH_VARARGS, (char *)"delete_Fl_Hor_Slider(Fl_Hor_Slider self)"}, { (char *)"disown_Fl_Hor_Slider", _wrap_disown_Fl_Hor_Slider, METH_VARARGS, NULL}, { (char *)"Fl_Hor_Slider_draw", _wrap_Fl_Hor_Slider_draw, METH_VARARGS, (char *)"Fl_Hor_Slider_draw(Fl_Hor_Slider self)"}, { (char *)"Fl_Hor_Slider_swigregister", Fl_Hor_Slider_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Value_Slider_draw", _wrap_Fl_Value_Slider_draw, METH_VARARGS, (char *)"Fl_Value_Slider_draw(Fl_Value_Slider self)"}, { (char *)"Fl_Value_Slider_handle", _wrap_Fl_Value_Slider_handle, METH_VARARGS, (char *)"Fl_Value_Slider_handle(Fl_Value_Slider self, int arg0) -> int"}, { (char *)"new_Fl_Value_Slider", _wrap_new_Fl_Value_Slider, METH_VARARGS, (char *)"new_Fl_Value_Slider(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Value_Slider"}, { (char *)"Fl_Value_Slider_textfont", _wrap_Fl_Value_Slider_textfont, METH_VARARGS, (char *)"\n" "textfont() -> Fl_Font\n" "Fl_Value_Slider_textfont(Fl_Value_Slider self, Fl_Font s)\n" ""}, { (char *)"Fl_Value_Slider_textsize", _wrap_Fl_Value_Slider_textsize, METH_VARARGS, (char *)"\n" "textsize() -> Fl_Fontsize\n" "Fl_Value_Slider_textsize(Fl_Value_Slider self, Fl_Fontsize s)\n" ""}, { (char *)"Fl_Value_Slider_textcolor", _wrap_Fl_Value_Slider_textcolor, METH_VARARGS, (char *)"\n" "textcolor() -> Fl_Color\n" "Fl_Value_Slider_textcolor(Fl_Value_Slider self, Fl_Color s)\n" ""}, { (char *)"delete_Fl_Value_Slider", _wrap_delete_Fl_Value_Slider, METH_VARARGS, (char *)"delete_Fl_Value_Slider(Fl_Value_Slider self)"}, { (char *)"disown_Fl_Value_Slider", _wrap_disown_Fl_Value_Slider, METH_VARARGS, NULL}, { (char *)"Fl_Value_Slider_swigregister", Fl_Value_Slider_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Hor_Value_Slider", _wrap_new_Fl_Hor_Value_Slider, METH_VARARGS, (char *)"new_Fl_Hor_Value_Slider(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Hor_Value_Slider"}, { (char *)"delete_Fl_Hor_Value_Slider", _wrap_delete_Fl_Hor_Value_Slider, METH_VARARGS, (char *)"delete_Fl_Hor_Value_Slider(Fl_Hor_Value_Slider self)"}, { (char *)"disown_Fl_Hor_Value_Slider", _wrap_disown_Fl_Hor_Value_Slider, METH_VARARGS, NULL}, { (char *)"Fl_Hor_Value_Slider_draw", _wrap_Fl_Hor_Value_Slider_draw, METH_VARARGS, (char *)"Fl_Hor_Value_Slider_draw(Fl_Hor_Value_Slider self)"}, { (char *)"Fl_Hor_Value_Slider_swigregister", Fl_Hor_Value_Slider_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Int_Input", _wrap_new_Fl_Int_Input, METH_VARARGS, (char *)"new_Fl_Int_Input(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Int_Input"}, { (char *)"delete_Fl_Int_Input", _wrap_delete_Fl_Int_Input, METH_VARARGS, (char *)"delete_Fl_Int_Input(Fl_Int_Input self)"}, { (char *)"disown_Fl_Int_Input", _wrap_disown_Fl_Int_Input, METH_VARARGS, NULL}, { (char *)"Fl_Int_Input_draw", _wrap_Fl_Int_Input_draw, METH_VARARGS, (char *)"Fl_Int_Input_draw(Fl_Int_Input self)"}, { (char *)"Fl_Int_Input_swigregister", Fl_Int_Input_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Input_Choice", _wrap_new_Fl_Input_Choice, METH_VARARGS, (char *)"new_Fl_Input_Choice(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Input_Choice"}, { (char *)"Fl_Input_Choice_add", _wrap_Fl_Input_Choice_add, METH_VARARGS, (char *)"Fl_Input_Choice_add(Fl_Input_Choice self, char s)"}, { (char *)"Fl_Input_Choice_changed", _wrap_Fl_Input_Choice_changed, METH_VARARGS, (char *)"Fl_Input_Choice_changed(Fl_Input_Choice self) -> int"}, { (char *)"Fl_Input_Choice_clear_changed", _wrap_Fl_Input_Choice_clear_changed, METH_VARARGS, (char *)"Fl_Input_Choice_clear_changed(Fl_Input_Choice self)"}, { (char *)"Fl_Input_Choice_set_changed", _wrap_Fl_Input_Choice_set_changed, METH_VARARGS, (char *)"Fl_Input_Choice_set_changed(Fl_Input_Choice self)"}, { (char *)"Fl_Input_Choice_clear", _wrap_Fl_Input_Choice_clear, METH_VARARGS, (char *)"Fl_Input_Choice_clear(Fl_Input_Choice self)"}, { (char *)"Fl_Input_Choice_down_box", _wrap_Fl_Input_Choice_down_box, METH_VARARGS, (char *)"\n" "down_box() -> Fl_Boxtype\n" "Fl_Input_Choice_down_box(Fl_Input_Choice self, Fl_Boxtype b)\n" ""}, { (char *)"Fl_Input_Choice_menu", _wrap_Fl_Input_Choice_menu, METH_VARARGS, (char *)"\n" "menu() -> Fl_Menu_Item\n" "Fl_Input_Choice_menu(Fl_Input_Choice self, Fl_Menu_Item m)\n" ""}, { (char *)"Fl_Input_Choice_resize", _wrap_Fl_Input_Choice_resize, METH_VARARGS, (char *)"Fl_Input_Choice_resize(Fl_Input_Choice self, int X, int Y, int W, int H)"}, { (char *)"Fl_Input_Choice_textcolor", _wrap_Fl_Input_Choice_textcolor, METH_VARARGS, (char *)"\n" "textcolor() -> Fl_Color\n" "Fl_Input_Choice_textcolor(Fl_Input_Choice self, Fl_Color c)\n" ""}, { (char *)"Fl_Input_Choice_textfont", _wrap_Fl_Input_Choice_textfont, METH_VARARGS, (char *)"\n" "textfont() -> Fl_Font\n" "Fl_Input_Choice_textfont(Fl_Input_Choice self, Fl_Font f)\n" ""}, { (char *)"Fl_Input_Choice_textsize", _wrap_Fl_Input_Choice_textsize, METH_VARARGS, (char *)"\n" "textsize() -> Fl_Fontsize\n" "Fl_Input_Choice_textsize(Fl_Input_Choice self, Fl_Fontsize s)\n" ""}, { (char *)"Fl_Input_Choice_value", _wrap_Fl_Input_Choice_value, METH_VARARGS, (char *)"\n" "value() -> char\n" "value(char val)\n" "Fl_Input_Choice_value(Fl_Input_Choice self, int val)\n" ""}, { (char *)"Fl_Input_Choice_menubutton", _wrap_Fl_Input_Choice_menubutton, METH_VARARGS, (char *)"Fl_Input_Choice_menubutton(Fl_Input_Choice self) -> Fl_Menu_Button"}, { (char *)"Fl_Input_Choice_input", _wrap_Fl_Input_Choice_input, METH_VARARGS, (char *)"Fl_Input_Choice_input(Fl_Input_Choice self) -> Fl_Input"}, { (char *)"delete_Fl_Input_Choice", _wrap_delete_Fl_Input_Choice, METH_VARARGS, (char *)"delete_Fl_Input_Choice(Fl_Input_Choice self)"}, { (char *)"disown_Fl_Input_Choice", _wrap_disown_Fl_Input_Choice, METH_VARARGS, NULL}, { (char *)"Fl_Input_Choice_draw", _wrap_Fl_Input_Choice_draw, METH_VARARGS, (char *)"Fl_Input_Choice_draw(Fl_Input_Choice self)"}, { (char *)"Fl_Input_Choice_swigregister", Fl_Input_Choice_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_JPEG_Image", _wrap_new_Fl_JPEG_Image, METH_VARARGS, (char *)"\n" "Fl_JPEG_Image(char filename)\n" "new_Fl_JPEG_Image(PyObject self, char name, unsigned char data) -> Fl_JPEG_Image\n" ""}, { (char *)"delete_Fl_JPEG_Image", _wrap_delete_Fl_JPEG_Image, METH_VARARGS, (char *)"delete_Fl_JPEG_Image(Fl_JPEG_Image self)"}, { (char *)"disown_Fl_JPEG_Image", _wrap_disown_Fl_JPEG_Image, METH_VARARGS, NULL}, { (char *)"Fl_JPEG_Image_swigregister", Fl_JPEG_Image_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Line_Dial", _wrap_new_Fl_Line_Dial, METH_VARARGS, (char *)"new_Fl_Line_Dial(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Line_Dial"}, { (char *)"delete_Fl_Line_Dial", _wrap_delete_Fl_Line_Dial, METH_VARARGS, (char *)"delete_Fl_Line_Dial(Fl_Line_Dial self)"}, { (char *)"disown_Fl_Line_Dial", _wrap_disown_Fl_Line_Dial, METH_VARARGS, NULL}, { (char *)"Fl_Line_Dial_draw", _wrap_Fl_Line_Dial_draw, METH_VARARGS, (char *)"Fl_Line_Dial_draw(Fl_Line_Dial self)"}, { (char *)"Fl_Line_Dial_swigregister", Fl_Line_Dial_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Menu_Bar_draw", _wrap_Fl_Menu_Bar_draw, METH_VARARGS, (char *)"Fl_Menu_Bar_draw(Fl_Menu_Bar self)"}, { (char *)"Fl_Menu_Bar_handle", _wrap_Fl_Menu_Bar_handle, METH_VARARGS, (char *)"Fl_Menu_Bar_handle(Fl_Menu_Bar self, int arg0) -> int"}, { (char *)"new_Fl_Menu_Bar", _wrap_new_Fl_Menu_Bar, METH_VARARGS, (char *)"new_Fl_Menu_Bar(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Menu_Bar"}, { (char *)"delete_Fl_Menu_Bar", _wrap_delete_Fl_Menu_Bar, METH_VARARGS, (char *)"delete_Fl_Menu_Bar(Fl_Menu_Bar self)"}, { (char *)"disown_Fl_Menu_Bar", _wrap_disown_Fl_Menu_Bar, METH_VARARGS, NULL}, { (char *)"Fl_Menu_Bar_swigregister", Fl_Menu_Bar_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Menu_Button_draw", _wrap_Fl_Menu_Button_draw, METH_VARARGS, (char *)"Fl_Menu_Button_draw(Fl_Menu_Button self)"}, { (char *)"Fl_Menu_Button_handle", _wrap_Fl_Menu_Button_handle, METH_VARARGS, (char *)"Fl_Menu_Button_handle(Fl_Menu_Button self, int arg0) -> int"}, { (char *)"Fl_Menu_Button_popup", _wrap_Fl_Menu_Button_popup, METH_VARARGS, (char *)"Fl_Menu_Button_popup(Fl_Menu_Button self) -> Fl_Menu_Item"}, { (char *)"new_Fl_Menu_Button", _wrap_new_Fl_Menu_Button, METH_VARARGS, (char *)"\n" "new_Fl_Menu_Button(PyObject self, int arg1, int arg2, int arg3, int arg4, \n" " char arg5 = None) -> Fl_Menu_Button\n" ""}, { (char *)"delete_Fl_Menu_Button", _wrap_delete_Fl_Menu_Button, METH_VARARGS, (char *)"delete_Fl_Menu_Button(Fl_Menu_Button self)"}, { (char *)"disown_Fl_Menu_Button", _wrap_disown_Fl_Menu_Button, METH_VARARGS, NULL}, { (char *)"Fl_Menu_Button_swigregister", Fl_Menu_Button_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Menu_Item_next", _wrap_Fl_Menu_Item_next, METH_VARARGS, (char *)"\n" "next(int arg0 = 1) -> Fl_Menu_Item\n" "Fl_Menu_Item_next(Fl_Menu_Item self, int i = 1) -> Fl_Menu_Item\n" ""}, { (char *)"Fl_Menu_Item_first", _wrap_Fl_Menu_Item_first, METH_VARARGS, (char *)"\n" "first() -> Fl_Menu_Item\n" "Fl_Menu_Item_first(Fl_Menu_Item self) -> Fl_Menu_Item\n" ""}, { (char *)"Fl_Menu_Item_label", _wrap_Fl_Menu_Item_label, METH_VARARGS, (char *)"\n" "label() -> char\n" "label(char a)\n" "Fl_Menu_Item_label(Fl_Menu_Item self, Fl_Labeltype a, char b)\n" ""}, { (char *)"Fl_Menu_Item_labeltype", _wrap_Fl_Menu_Item_labeltype, METH_VARARGS, (char *)"\n" "labeltype() -> Fl_Labeltype\n" "Fl_Menu_Item_labeltype(Fl_Menu_Item self, Fl_Labeltype a)\n" ""}, { (char *)"Fl_Menu_Item_labelcolor", _wrap_Fl_Menu_Item_labelcolor, METH_VARARGS, (char *)"\n" "labelcolor() -> Fl_Color\n" "Fl_Menu_Item_labelcolor(Fl_Menu_Item self, Fl_Color a)\n" ""}, { (char *)"Fl_Menu_Item_labelfont", _wrap_Fl_Menu_Item_labelfont, METH_VARARGS, (char *)"\n" "labelfont() -> Fl_Font\n" "Fl_Menu_Item_labelfont(Fl_Menu_Item self, Fl_Font a)\n" ""}, { (char *)"Fl_Menu_Item_labelsize", _wrap_Fl_Menu_Item_labelsize, METH_VARARGS, (char *)"\n" "labelsize() -> Fl_Fontsize\n" "Fl_Menu_Item_labelsize(Fl_Menu_Item self, Fl_Fontsize a)\n" ""}, { (char *)"Fl_Menu_Item_argument", _wrap_Fl_Menu_Item_argument, METH_VARARGS, (char *)"\n" "argument() -> long\n" "Fl_Menu_Item_argument(Fl_Menu_Item self, long v)\n" ""}, { (char *)"Fl_Menu_Item_shortcut", _wrap_Fl_Menu_Item_shortcut, METH_VARARGS, (char *)"\n" "shortcut() -> int\n" "Fl_Menu_Item_shortcut(Fl_Menu_Item self, int s)\n" ""}, { (char *)"Fl_Menu_Item_submenu", _wrap_Fl_Menu_Item_submenu, METH_VARARGS, (char *)"Fl_Menu_Item_submenu(Fl_Menu_Item self) -> int"}, { (char *)"Fl_Menu_Item_checkbox", _wrap_Fl_Menu_Item_checkbox, METH_VARARGS, (char *)"Fl_Menu_Item_checkbox(Fl_Menu_Item self) -> int"}, { (char *)"Fl_Menu_Item_radio", _wrap_Fl_Menu_Item_radio, METH_VARARGS, (char *)"Fl_Menu_Item_radio(Fl_Menu_Item self) -> int"}, { (char *)"Fl_Menu_Item_value", _wrap_Fl_Menu_Item_value, METH_VARARGS, (char *)"Fl_Menu_Item_value(Fl_Menu_Item self) -> int"}, { (char *)"Fl_Menu_Item_set", _wrap_Fl_Menu_Item_set, METH_VARARGS, (char *)"Fl_Menu_Item_set(Fl_Menu_Item self)"}, { (char *)"Fl_Menu_Item_clear", _wrap_Fl_Menu_Item_clear, METH_VARARGS, (char *)"Fl_Menu_Item_clear(Fl_Menu_Item self)"}, { (char *)"Fl_Menu_Item_setonly", _wrap_Fl_Menu_Item_setonly, METH_VARARGS, (char *)"Fl_Menu_Item_setonly(Fl_Menu_Item self)"}, { (char *)"Fl_Menu_Item_visible", _wrap_Fl_Menu_Item_visible, METH_VARARGS, (char *)"Fl_Menu_Item_visible(Fl_Menu_Item self) -> int"}, { (char *)"Fl_Menu_Item_show", _wrap_Fl_Menu_Item_show, METH_VARARGS, (char *)"Fl_Menu_Item_show(Fl_Menu_Item self)"}, { (char *)"Fl_Menu_Item_hide", _wrap_Fl_Menu_Item_hide, METH_VARARGS, (char *)"Fl_Menu_Item_hide(Fl_Menu_Item self)"}, { (char *)"Fl_Menu_Item_active", _wrap_Fl_Menu_Item_active, METH_VARARGS, (char *)"Fl_Menu_Item_active(Fl_Menu_Item self) -> int"}, { (char *)"Fl_Menu_Item_activate", _wrap_Fl_Menu_Item_activate, METH_VARARGS, (char *)"Fl_Menu_Item_activate(Fl_Menu_Item self)"}, { (char *)"Fl_Menu_Item_deactivate", _wrap_Fl_Menu_Item_deactivate, METH_VARARGS, (char *)"Fl_Menu_Item_deactivate(Fl_Menu_Item self)"}, { (char *)"Fl_Menu_Item_activevisible", _wrap_Fl_Menu_Item_activevisible, METH_VARARGS, (char *)"Fl_Menu_Item_activevisible(Fl_Menu_Item self) -> int"}, { (char *)"Fl_Menu_Item_image", _wrap_Fl_Menu_Item_image, METH_VARARGS, (char *)"Fl_Menu_Item_image(Fl_Menu_Item self, Fl_Image a)"}, { (char *)"Fl_Menu_Item_measure", _wrap_Fl_Menu_Item_measure, METH_VARARGS, (char *)"Fl_Menu_Item_measure(Fl_Menu_Item self, int h, Fl_Menu_ arg2) -> int"}, { (char *)"Fl_Menu_Item_draw", _wrap_Fl_Menu_Item_draw, METH_VARARGS, (char *)"\n" "Fl_Menu_Item_draw(Fl_Menu_Item self, int x, int y, int w, int h, Fl_Menu_ arg5, \n" " int t = 0)\n" ""}, { (char *)"Fl_Menu_Item_popup", _wrap_Fl_Menu_Item_popup, METH_VARARGS, (char *)"\n" "Fl_Menu_Item_popup(Fl_Menu_Item self, int X, int Y, char title = None, \n" " Fl_Menu_Item picked = None, Fl_Menu_ arg5 = None) -> Fl_Menu_Item\n" ""}, { (char *)"Fl_Menu_Item_pulldown", _wrap_Fl_Menu_Item_pulldown, METH_VARARGS, (char *)"\n" "Fl_Menu_Item_pulldown(Fl_Menu_Item self, int X, int Y, int W, int H, Fl_Menu_Item picked = None, \n" " Fl_Menu_ arg6 = None, \n" " Fl_Menu_Item title = None, int menubar = 0) -> Fl_Menu_Item\n" ""}, { (char *)"Fl_Menu_Item_test_shortcut", _wrap_Fl_Menu_Item_test_shortcut, METH_VARARGS, (char *)"Fl_Menu_Item_test_shortcut(Fl_Menu_Item self) -> Fl_Menu_Item"}, { (char *)"Fl_Menu_Item_find_shortcut", _wrap_Fl_Menu_Item_find_shortcut, METH_VARARGS, (char *)"Fl_Menu_Item_find_shortcut(Fl_Menu_Item self, int ip = None, bool require_alt = False) -> Fl_Menu_Item"}, { (char *)"Fl_Menu_Item_do_callback", _wrap_Fl_Menu_Item_do_callback, METH_VARARGS, (char *)"\n" "do_callback(Fl_Widget o)\n" "do_callback(Fl_Widget o, void arg)\n" "Fl_Menu_Item_do_callback(Fl_Menu_Item self, Fl_Widget o, long arg)\n" ""}, { (char *)"Fl_Menu_Item_checked", _wrap_Fl_Menu_Item_checked, METH_VARARGS, (char *)"Fl_Menu_Item_checked(Fl_Menu_Item self) -> int"}, { (char *)"Fl_Menu_Item_check", _wrap_Fl_Menu_Item_check, METH_VARARGS, (char *)"Fl_Menu_Item_check(Fl_Menu_Item self)"}, { (char *)"Fl_Menu_Item_uncheck", _wrap_Fl_Menu_Item_uncheck, METH_VARARGS, (char *)"Fl_Menu_Item_uncheck(Fl_Menu_Item self)"}, { (char *)"Fl_Menu_Item_insert", _wrap_Fl_Menu_Item_insert, METH_VARARGS, (char *)"\n" "Fl_Menu_Item_insert(Fl_Menu_Item self, int arg1, char arg2, int arg3, Fl_Callback arg4, \n" " void arg5 = None, int arg6 = 0) -> int\n" ""}, { (char *)"Fl_Menu_Item_add", _wrap_Fl_Menu_Item_add, METH_VARARGS, (char *)"\n" "add(char arg0, int shortcut, Fl_Callback arg2, void arg3 = None, \n" " int arg4 = 0) -> int\n" "Fl_Menu_Item_add(Fl_Menu_Item self, char a, char b, Fl_Callback c, void d = None, \n" " int e = 0) -> int\n" ""}, { (char *)"Fl_Menu_Item_size", _wrap_Fl_Menu_Item_size, METH_VARARGS, (char *)"Fl_Menu_Item_size(Fl_Menu_Item self) -> int"}, { (char *)"Fl_Menu_Item_callback", _wrap_Fl_Menu_Item_callback, METH_VARARGS, (char *)"\n" "callback(Fl_Callback c, void p)\n" "callback(Fl_Callback c)\n" "callback(Fl_Callback0 c)\n" "callback(Fl_Callback1 c, long p = 0)\n" "Fl_Menu_Item_callback(Fl_Menu_Item self) -> PyObject\n" ""}, { (char *)"Fl_Menu_Item_user_data", _wrap_Fl_Menu_Item_user_data, METH_VARARGS, (char *)"\n" "user_data()\n" "user_data(void v)\n" "Fl_Menu_Item_user_data(Fl_Menu_Item self) -> PyObject\n" ""}, { (char *)"new_Fl_Menu_Item", _wrap_new_Fl_Menu_Item, METH_VARARGS, (char *)"new_Fl_Menu_Item() -> Fl_Menu_Item"}, { (char *)"delete_Fl_Menu_Item", _wrap_delete_Fl_Menu_Item, METH_VARARGS, (char *)"delete_Fl_Menu_Item(Fl_Menu_Item self)"}, { (char *)"Fl_Menu_Item_swigregister", Fl_Menu_Item_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Single_Window_flush", _wrap_Fl_Single_Window_flush, METH_VARARGS, (char *)"Fl_Single_Window_flush(Fl_Single_Window self)"}, { (char *)"new_Fl_Single_Window", _wrap_new_Fl_Single_Window, METH_VARARGS, (char *)"\n" "Fl_Single_Window(int W, int H, char l = None)\n" "new_Fl_Single_Window(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Single_Window\n" ""}, { (char *)"Fl_Single_Window_show", _wrap_Fl_Single_Window_show, METH_VARARGS, (char *)"Fl_Single_Window_show(Fl_Single_Window self, PyObject count = None, PyObject data = None)"}, { (char *)"delete_Fl_Single_Window", _wrap_delete_Fl_Single_Window, METH_VARARGS, (char *)"delete_Fl_Single_Window(Fl_Single_Window self)"}, { (char *)"disown_Fl_Single_Window", _wrap_disown_Fl_Single_Window, METH_VARARGS, NULL}, { (char *)"Fl_Single_Window_draw", _wrap_Fl_Single_Window_draw, METH_VARARGS, (char *)"Fl_Single_Window_draw(Fl_Single_Window self)"}, { (char *)"Fl_Single_Window_swigregister", Fl_Single_Window_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Menu_Window_erase", _wrap_Fl_Menu_Window_erase, METH_VARARGS, (char *)"Fl_Menu_Window_erase(Fl_Menu_Window self)"}, { (char *)"Fl_Menu_Window_flush", _wrap_Fl_Menu_Window_flush, METH_VARARGS, (char *)"Fl_Menu_Window_flush(Fl_Menu_Window self)"}, { (char *)"Fl_Menu_Window_hide", _wrap_Fl_Menu_Window_hide, METH_VARARGS, (char *)"Fl_Menu_Window_hide(Fl_Menu_Window self)"}, { (char *)"Fl_Menu_Window_overlay", _wrap_Fl_Menu_Window_overlay, METH_VARARGS, (char *)"Fl_Menu_Window_overlay(Fl_Menu_Window self) -> unsigned int"}, { (char *)"Fl_Menu_Window_set_overlay", _wrap_Fl_Menu_Window_set_overlay, METH_VARARGS, (char *)"Fl_Menu_Window_set_overlay(Fl_Menu_Window self)"}, { (char *)"Fl_Menu_Window_clear_overlay", _wrap_Fl_Menu_Window_clear_overlay, METH_VARARGS, (char *)"Fl_Menu_Window_clear_overlay(Fl_Menu_Window self)"}, { (char *)"delete_Fl_Menu_Window", _wrap_delete_Fl_Menu_Window, METH_VARARGS, (char *)"delete_Fl_Menu_Window(Fl_Menu_Window self)"}, { (char *)"new_Fl_Menu_Window", _wrap_new_Fl_Menu_Window, METH_VARARGS, (char *)"\n" "Fl_Menu_Window(int W, int H, char l = None)\n" "new_Fl_Menu_Window(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Menu_Window\n" ""}, { (char *)"disown_Fl_Menu_Window", _wrap_disown_Fl_Menu_Window, METH_VARARGS, NULL}, { (char *)"Fl_Menu_Window_draw", _wrap_Fl_Menu_Window_draw, METH_VARARGS, (char *)"Fl_Menu_Window_draw(Fl_Menu_Window self)"}, { (char *)"Fl_Menu_Window_swigregister", Fl_Menu_Window_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Multiline_Input", _wrap_new_Fl_Multiline_Input, METH_VARARGS, (char *)"new_Fl_Multiline_Input(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Multiline_Input"}, { (char *)"delete_Fl_Multiline_Input", _wrap_delete_Fl_Multiline_Input, METH_VARARGS, (char *)"delete_Fl_Multiline_Input(Fl_Multiline_Input self)"}, { (char *)"disown_Fl_Multiline_Input", _wrap_disown_Fl_Multiline_Input, METH_VARARGS, NULL}, { (char *)"Fl_Multiline_Input_draw", _wrap_Fl_Multiline_Input_draw, METH_VARARGS, (char *)"Fl_Multiline_Input_draw(Fl_Multiline_Input self)"}, { (char *)"Fl_Multiline_Input_swigregister", Fl_Multiline_Input_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Output", _wrap_new_Fl_Output, METH_VARARGS, (char *)"new_Fl_Output(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Output"}, { (char *)"delete_Fl_Output", _wrap_delete_Fl_Output, METH_VARARGS, (char *)"delete_Fl_Output(Fl_Output self)"}, { (char *)"disown_Fl_Output", _wrap_disown_Fl_Output, METH_VARARGS, NULL}, { (char *)"Fl_Output_draw", _wrap_Fl_Output_draw, METH_VARARGS, (char *)"Fl_Output_draw(Fl_Output self)"}, { (char *)"Fl_Output_swigregister", Fl_Output_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Multiline_Output", _wrap_new_Fl_Multiline_Output, METH_VARARGS, (char *)"new_Fl_Multiline_Output(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Multiline_Output"}, { (char *)"delete_Fl_Multiline_Output", _wrap_delete_Fl_Multiline_Output, METH_VARARGS, (char *)"delete_Fl_Multiline_Output(Fl_Multiline_Output self)"}, { (char *)"disown_Fl_Multiline_Output", _wrap_disown_Fl_Multiline_Output, METH_VARARGS, NULL}, { (char *)"Fl_Multiline_Output_draw", _wrap_Fl_Multiline_Output_draw, METH_VARARGS, (char *)"Fl_Multiline_Output_draw(Fl_Multiline_Output self)"}, { (char *)"Fl_Multiline_Output_swigregister", Fl_Multiline_Output_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Multi_Browser", _wrap_new_Fl_Multi_Browser, METH_VARARGS, (char *)"new_Fl_Multi_Browser(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Multi_Browser"}, { (char *)"delete_Fl_Multi_Browser", _wrap_delete_Fl_Multi_Browser, METH_VARARGS, (char *)"delete_Fl_Multi_Browser(Fl_Multi_Browser self)"}, { (char *)"disown_Fl_Multi_Browser", _wrap_disown_Fl_Multi_Browser, METH_VARARGS, NULL}, { (char *)"Fl_Multi_Browser_draw", _wrap_Fl_Multi_Browser_draw, METH_VARARGS, (char *)"Fl_Multi_Browser_draw(Fl_Multi_Browser self)"}, { (char *)"Fl_Multi_Browser_item_first", _wrap_Fl_Multi_Browser_item_first, METH_VARARGS, (char *)"Fl_Multi_Browser_item_first(Fl_Multi_Browser self) -> void"}, { (char *)"Fl_Multi_Browser_item_next", _wrap_Fl_Multi_Browser_item_next, METH_VARARGS, (char *)"Fl_Multi_Browser_item_next(Fl_Multi_Browser self, void item) -> void"}, { (char *)"Fl_Multi_Browser_item_prev", _wrap_Fl_Multi_Browser_item_prev, METH_VARARGS, (char *)"Fl_Multi_Browser_item_prev(Fl_Multi_Browser self, void item) -> void"}, { (char *)"Fl_Multi_Browser_item_last", _wrap_Fl_Multi_Browser_item_last, METH_VARARGS, (char *)"Fl_Multi_Browser_item_last(Fl_Multi_Browser self) -> void"}, { (char *)"Fl_Multi_Browser_item_height", _wrap_Fl_Multi_Browser_item_height, METH_VARARGS, (char *)"Fl_Multi_Browser_item_height(Fl_Multi_Browser self, void item) -> int"}, { (char *)"Fl_Multi_Browser_item_width", _wrap_Fl_Multi_Browser_item_width, METH_VARARGS, (char *)"Fl_Multi_Browser_item_width(Fl_Multi_Browser self, void item) -> int"}, { (char *)"Fl_Multi_Browser_item_quick_height", _wrap_Fl_Multi_Browser_item_quick_height, METH_VARARGS, (char *)"Fl_Multi_Browser_item_quick_height(Fl_Multi_Browser self, void item) -> int"}, { (char *)"Fl_Multi_Browser_item_draw", _wrap_Fl_Multi_Browser_item_draw, METH_VARARGS, (char *)"\n" "Fl_Multi_Browser_item_draw(Fl_Multi_Browser self, void item, int X, int Y, int W, \n" " int H)\n" ""}, { (char *)"Fl_Multi_Browser_item_text", _wrap_Fl_Multi_Browser_item_text, METH_VARARGS, (char *)"Fl_Multi_Browser_item_text(Fl_Multi_Browser self, void item) -> char"}, { (char *)"Fl_Multi_Browser_item_swap", _wrap_Fl_Multi_Browser_item_swap, METH_VARARGS, (char *)"Fl_Multi_Browser_item_swap(Fl_Multi_Browser self, void a, void b)"}, { (char *)"Fl_Multi_Browser_item_at", _wrap_Fl_Multi_Browser_item_at, METH_VARARGS, (char *)"Fl_Multi_Browser_item_at(Fl_Multi_Browser self, int line) -> void"}, { (char *)"Fl_Multi_Browser_full_width", _wrap_Fl_Multi_Browser_full_width, METH_VARARGS, (char *)"Fl_Multi_Browser_full_width(Fl_Multi_Browser self) -> int"}, { (char *)"Fl_Multi_Browser_full_height", _wrap_Fl_Multi_Browser_full_height, METH_VARARGS, (char *)"Fl_Multi_Browser_full_height(Fl_Multi_Browser self) -> int"}, { (char *)"Fl_Multi_Browser_incr_height", _wrap_Fl_Multi_Browser_incr_height, METH_VARARGS, (char *)"Fl_Multi_Browser_incr_height(Fl_Multi_Browser self) -> int"}, { (char *)"Fl_Multi_Browser_item_select", _wrap_Fl_Multi_Browser_item_select, METH_VARARGS, (char *)"Fl_Multi_Browser_item_select(Fl_Multi_Browser self, void item, int val)"}, { (char *)"Fl_Multi_Browser_item_selected", _wrap_Fl_Multi_Browser_item_selected, METH_VARARGS, (char *)"Fl_Multi_Browser_item_selected(Fl_Multi_Browser self, void item) -> int"}, { (char *)"Fl_Multi_Browser_swigregister", Fl_Multi_Browser_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Multi_Label_label", _wrap_Fl_Multi_Label_label, METH_VARARGS, (char *)"\n" "label(Fl_Widget arg0)\n" "Fl_Multi_Label_label(Fl_Multi_Label self, Fl_Menu_Item arg1)\n" ""}, { (char *)"new_Fl_Multi_Label", _wrap_new_Fl_Multi_Label, METH_VARARGS, (char *)"new_Fl_Multi_Label() -> Fl_Multi_Label"}, { (char *)"delete_Fl_Multi_Label", _wrap_delete_Fl_Multi_Label, METH_VARARGS, (char *)"delete_Fl_Multi_Label(Fl_Multi_Label self)"}, { (char *)"Fl_Multi_Label_swigregister", Fl_Multi_Label_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Nice_Slider", _wrap_new_Fl_Nice_Slider, METH_VARARGS, (char *)"new_Fl_Nice_Slider(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Nice_Slider"}, { (char *)"delete_Fl_Nice_Slider", _wrap_delete_Fl_Nice_Slider, METH_VARARGS, (char *)"delete_Fl_Nice_Slider(Fl_Nice_Slider self)"}, { (char *)"disown_Fl_Nice_Slider", _wrap_disown_Fl_Nice_Slider, METH_VARARGS, NULL}, { (char *)"Fl_Nice_Slider_draw", _wrap_Fl_Nice_Slider_draw, METH_VARARGS, (char *)"Fl_Nice_Slider_draw(Fl_Nice_Slider self)"}, { (char *)"Fl_Nice_Slider_swigregister", Fl_Nice_Slider_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Overlay_Window_flush", _wrap_Fl_Overlay_Window_flush, METH_VARARGS, (char *)"Fl_Overlay_Window_flush(Fl_Overlay_Window self)"}, { (char *)"Fl_Overlay_Window_hide", _wrap_Fl_Overlay_Window_hide, METH_VARARGS, (char *)"Fl_Overlay_Window_hide(Fl_Overlay_Window self)"}, { (char *)"Fl_Overlay_Window_resize", _wrap_Fl_Overlay_Window_resize, METH_VARARGS, (char *)"\n" "Fl_Overlay_Window_resize(Fl_Overlay_Window self, int arg0, int arg1, int arg2, \n" " int arg3)\n" ""}, { (char *)"delete_Fl_Overlay_Window", _wrap_delete_Fl_Overlay_Window, METH_VARARGS, (char *)"delete_Fl_Overlay_Window(Fl_Overlay_Window self)"}, { (char *)"Fl_Overlay_Window_can_do_overlay", _wrap_Fl_Overlay_Window_can_do_overlay, METH_VARARGS, (char *)"Fl_Overlay_Window_can_do_overlay(Fl_Overlay_Window self) -> int"}, { (char *)"Fl_Overlay_Window_redraw_overlay", _wrap_Fl_Overlay_Window_redraw_overlay, METH_VARARGS, (char *)"Fl_Overlay_Window_redraw_overlay(Fl_Overlay_Window self)"}, { (char *)"Fl_Overlay_Window_show", _wrap_Fl_Overlay_Window_show, METH_VARARGS, (char *)"Fl_Overlay_Window_show(Fl_Overlay_Window self, PyObject count = None, PyObject data = None)"}, { (char *)"disown_Fl_Overlay_Window", _wrap_disown_Fl_Overlay_Window, METH_VARARGS, NULL}, { (char *)"Fl_Overlay_Window_draw", _wrap_Fl_Overlay_Window_draw, METH_VARARGS, (char *)"Fl_Overlay_Window_draw(Fl_Overlay_Window self)"}, { (char *)"Fl_Overlay_Window_swigregister", Fl_Overlay_Window_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Pack_draw", _wrap_Fl_Pack_draw, METH_VARARGS, (char *)"Fl_Pack_draw(Fl_Pack self)"}, { (char *)"new_Fl_Pack", _wrap_new_Fl_Pack, METH_VARARGS, (char *)"new_Fl_Pack(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Pack"}, { (char *)"Fl_Pack_spacing", _wrap_Fl_Pack_spacing, METH_VARARGS, (char *)"\n" "spacing() -> int\n" "Fl_Pack_spacing(Fl_Pack self, int i)\n" ""}, { (char *)"Fl_Pack_horizontal", _wrap_Fl_Pack_horizontal, METH_VARARGS, (char *)"Fl_Pack_horizontal(Fl_Pack self) -> uchar"}, { (char *)"delete_Fl_Pack", _wrap_delete_Fl_Pack, METH_VARARGS, (char *)"delete_Fl_Pack(Fl_Pack self)"}, { (char *)"disown_Fl_Pack", _wrap_disown_Fl_Pack, METH_VARARGS, NULL}, { (char *)"Fl_Pack_swigregister", Fl_Pack_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_PNG_Image", _wrap_new_Fl_PNG_Image, METH_VARARGS, (char *)"\n" "Fl_PNG_Image(char filename)\n" "new_Fl_PNG_Image(PyObject self, char name_png, unsigned char buffer, \n" " int datasize) -> Fl_PNG_Image\n" ""}, { (char *)"delete_Fl_PNG_Image", _wrap_delete_Fl_PNG_Image, METH_VARARGS, (char *)"delete_Fl_PNG_Image(Fl_PNG_Image self)"}, { (char *)"disown_Fl_PNG_Image", _wrap_disown_Fl_PNG_Image, METH_VARARGS, NULL}, { (char *)"Fl_PNG_Image_swigregister", Fl_PNG_Image_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_PNM_Image", _wrap_new_Fl_PNM_Image, METH_VARARGS, (char *)"new_Fl_PNM_Image(PyObject self, char filename) -> Fl_PNM_Image"}, { (char *)"delete_Fl_PNM_Image", _wrap_delete_Fl_PNM_Image, METH_VARARGS, (char *)"delete_Fl_PNM_Image(Fl_PNM_Image self)"}, { (char *)"disown_Fl_PNM_Image", _wrap_disown_Fl_PNM_Image, METH_VARARGS, NULL}, { (char *)"Fl_PNM_Image_swigregister", Fl_PNM_Image_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Positioner_draw", _wrap_Fl_Positioner_draw, METH_VARARGS, (char *)"Fl_Positioner_draw(Fl_Positioner self)"}, { (char *)"Fl_Positioner_handle", _wrap_Fl_Positioner_handle, METH_VARARGS, (char *)"Fl_Positioner_handle(Fl_Positioner self, int arg0) -> int"}, { (char *)"new_Fl_Positioner", _wrap_new_Fl_Positioner, METH_VARARGS, (char *)"new_Fl_Positioner(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Positioner"}, { (char *)"Fl_Positioner_xvalue", _wrap_Fl_Positioner_xvalue, METH_VARARGS, (char *)"\n" "xvalue() -> double\n" "Fl_Positioner_xvalue(Fl_Positioner self, double arg1) -> int\n" ""}, { (char *)"Fl_Positioner_yvalue", _wrap_Fl_Positioner_yvalue, METH_VARARGS, (char *)"\n" "yvalue() -> double\n" "Fl_Positioner_yvalue(Fl_Positioner self, double arg1) -> int\n" ""}, { (char *)"Fl_Positioner_value", _wrap_Fl_Positioner_value, METH_VARARGS, (char *)"Fl_Positioner_value(Fl_Positioner self, double arg1, double arg2) -> int"}, { (char *)"Fl_Positioner_xbounds", _wrap_Fl_Positioner_xbounds, METH_VARARGS, (char *)"Fl_Positioner_xbounds(Fl_Positioner self, double arg1, double arg2)"}, { (char *)"Fl_Positioner_xminimum", _wrap_Fl_Positioner_xminimum, METH_VARARGS, (char *)"\n" "xminimum() -> double\n" "Fl_Positioner_xminimum(Fl_Positioner self, double a)\n" ""}, { (char *)"Fl_Positioner_xmaximum", _wrap_Fl_Positioner_xmaximum, METH_VARARGS, (char *)"\n" "xmaximum() -> double\n" "Fl_Positioner_xmaximum(Fl_Positioner self, double a)\n" ""}, { (char *)"Fl_Positioner_ybounds", _wrap_Fl_Positioner_ybounds, METH_VARARGS, (char *)"Fl_Positioner_ybounds(Fl_Positioner self, double arg1, double arg2)"}, { (char *)"Fl_Positioner_yminimum", _wrap_Fl_Positioner_yminimum, METH_VARARGS, (char *)"\n" "yminimum() -> double\n" "Fl_Positioner_yminimum(Fl_Positioner self, double a)\n" ""}, { (char *)"Fl_Positioner_ymaximum", _wrap_Fl_Positioner_ymaximum, METH_VARARGS, (char *)"\n" "ymaximum() -> double\n" "Fl_Positioner_ymaximum(Fl_Positioner self, double a)\n" ""}, { (char *)"Fl_Positioner_xstep", _wrap_Fl_Positioner_xstep, METH_VARARGS, (char *)"Fl_Positioner_xstep(Fl_Positioner self, double a)"}, { (char *)"Fl_Positioner_ystep", _wrap_Fl_Positioner_ystep, METH_VARARGS, (char *)"Fl_Positioner_ystep(Fl_Positioner self, double a)"}, { (char *)"delete_Fl_Positioner", _wrap_delete_Fl_Positioner, METH_VARARGS, (char *)"delete_Fl_Positioner(Fl_Positioner self)"}, { (char *)"disown_Fl_Positioner", _wrap_disown_Fl_Positioner, METH_VARARGS, NULL}, { (char *)"Fl_Positioner_swigregister", Fl_Positioner_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Preferences", _wrap_new_Fl_Preferences, METH_VARARGS, (char *)"\n" "Fl_Preferences(Root root, char vendor, char application)\n" "Fl_Preferences(char path, char vendor, char application)\n" "new_Fl_Preferences(Fl_Preferences arg0, char group) -> Fl_Preferences\n" ""}, { (char *)"delete_Fl_Preferences", _wrap_delete_Fl_Preferences, METH_VARARGS, (char *)"delete_Fl_Preferences(Fl_Preferences self)"}, { (char *)"Fl_Preferences_groups", _wrap_Fl_Preferences_groups, METH_VARARGS, (char *)"Fl_Preferences_groups(Fl_Preferences self) -> int"}, { (char *)"Fl_Preferences_group", _wrap_Fl_Preferences_group, METH_VARARGS, (char *)"Fl_Preferences_group(Fl_Preferences self, int arg1) -> char"}, { (char *)"Fl_Preferences_groupExists", _wrap_Fl_Preferences_groupExists, METH_VARARGS, (char *)"Fl_Preferences_groupExists(Fl_Preferences self, char group) -> char"}, { (char *)"Fl_Preferences_deleteGroup", _wrap_Fl_Preferences_deleteGroup, METH_VARARGS, (char *)"Fl_Preferences_deleteGroup(Fl_Preferences self, char group) -> char"}, { (char *)"Fl_Preferences_entries", _wrap_Fl_Preferences_entries, METH_VARARGS, (char *)"Fl_Preferences_entries(Fl_Preferences self) -> int"}, { (char *)"Fl_Preferences_entry", _wrap_Fl_Preferences_entry, METH_VARARGS, (char *)"Fl_Preferences_entry(Fl_Preferences self, int arg1) -> char"}, { (char *)"Fl_Preferences_entryExists", _wrap_Fl_Preferences_entryExists, METH_VARARGS, (char *)"Fl_Preferences_entryExists(Fl_Preferences self, char entry) -> char"}, { (char *)"Fl_Preferences_deleteEntry", _wrap_Fl_Preferences_deleteEntry, METH_VARARGS, (char *)"Fl_Preferences_deleteEntry(Fl_Preferences self, char entry) -> char"}, { (char *)"Fl_Preferences_set", _wrap_Fl_Preferences_set, METH_VARARGS, (char *)"\n" "set(char entry, int value) -> char\n" "set(char entry, float value, int precision) -> char\n" "set(char entry, double value) -> char\n" "set(char entry, double value, int precision) -> char\n" "set(char entry, char cvalue) -> char\n" "Fl_Preferences_set(Fl_Preferences self, char entry, void cvalue, int size) -> char\n" ""}, { (char *)"Fl_Preferences_get", _wrap_Fl_Preferences_get, METH_VARARGS, (char *)"\n" "get(char entry, int defaultValue) -> char\n" "get(char entry, float defaultValue) -> char\n" "get(char entry, double defaultValue) -> char\n" "get(char entry, char defaultValue, int maxSize) -> char\n" "Fl_Preferences_get(Fl_Preferences self, char entry, void value, void defaultValue, \n" " int defaultSize, int maxSize) -> char\n" ""}, { (char *)"Fl_Preferences_size", _wrap_Fl_Preferences_size, METH_VARARGS, (char *)"Fl_Preferences_size(Fl_Preferences self, char entry) -> int"}, { (char *)"Fl_Preferences_getUserdataPath", _wrap_Fl_Preferences_getUserdataPath, METH_VARARGS, (char *)"Fl_Preferences_getUserdataPath(Fl_Preferences self, char path) -> char"}, { (char *)"Fl_Preferences_flush", _wrap_Fl_Preferences_flush, METH_VARARGS, (char *)"Fl_Preferences_flush(Fl_Preferences self)"}, { (char *)"Fl_Preferences_swigregister", Fl_Preferences_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Progress_draw", _wrap_Fl_Progress_draw, METH_VARARGS, (char *)"Fl_Progress_draw(Fl_Progress self)"}, { (char *)"new_Fl_Progress", _wrap_new_Fl_Progress, METH_VARARGS, (char *)"new_Fl_Progress(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Progress"}, { (char *)"Fl_Progress_maximum", _wrap_Fl_Progress_maximum, METH_VARARGS, (char *)"\n" "maximum(float v)\n" "Fl_Progress_maximum(Fl_Progress self) -> float\n" ""}, { (char *)"Fl_Progress_minimum", _wrap_Fl_Progress_minimum, METH_VARARGS, (char *)"\n" "minimum(float v)\n" "Fl_Progress_minimum(Fl_Progress self) -> float\n" ""}, { (char *)"Fl_Progress_value", _wrap_Fl_Progress_value, METH_VARARGS, (char *)"\n" "value(float v)\n" "Fl_Progress_value(Fl_Progress self) -> float\n" ""}, { (char *)"delete_Fl_Progress", _wrap_delete_Fl_Progress, METH_VARARGS, (char *)"delete_Fl_Progress(Fl_Progress self)"}, { (char *)"disown_Fl_Progress", _wrap_disown_Fl_Progress, METH_VARARGS, NULL}, { (char *)"Fl_Progress_swigregister", Fl_Progress_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Radio_Button", _wrap_new_Fl_Radio_Button, METH_VARARGS, (char *)"new_Fl_Radio_Button(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Radio_Button"}, { (char *)"delete_Fl_Radio_Button", _wrap_delete_Fl_Radio_Button, METH_VARARGS, (char *)"delete_Fl_Radio_Button(Fl_Radio_Button self)"}, { (char *)"disown_Fl_Radio_Button", _wrap_disown_Fl_Radio_Button, METH_VARARGS, NULL}, { (char *)"Fl_Radio_Button_draw", _wrap_Fl_Radio_Button_draw, METH_VARARGS, (char *)"Fl_Radio_Button_draw(Fl_Radio_Button self)"}, { (char *)"Fl_Radio_Button_swigregister", Fl_Radio_Button_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Radio_Light_Button", _wrap_new_Fl_Radio_Light_Button, METH_VARARGS, (char *)"new_Fl_Radio_Light_Button(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Radio_Light_Button"}, { (char *)"delete_Fl_Radio_Light_Button", _wrap_delete_Fl_Radio_Light_Button, METH_VARARGS, (char *)"delete_Fl_Radio_Light_Button(Fl_Radio_Light_Button self)"}, { (char *)"disown_Fl_Radio_Light_Button", _wrap_disown_Fl_Radio_Light_Button, METH_VARARGS, NULL}, { (char *)"Fl_Radio_Light_Button_draw", _wrap_Fl_Radio_Light_Button_draw, METH_VARARGS, (char *)"Fl_Radio_Light_Button_draw(Fl_Radio_Light_Button self)"}, { (char *)"Fl_Radio_Light_Button_swigregister", Fl_Radio_Light_Button_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Round_Button", _wrap_new_Fl_Round_Button, METH_VARARGS, (char *)"new_Fl_Round_Button(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Round_Button"}, { (char *)"delete_Fl_Round_Button", _wrap_delete_Fl_Round_Button, METH_VARARGS, (char *)"delete_Fl_Round_Button(Fl_Round_Button self)"}, { (char *)"disown_Fl_Round_Button", _wrap_disown_Fl_Round_Button, METH_VARARGS, NULL}, { (char *)"Fl_Round_Button_draw", _wrap_Fl_Round_Button_draw, METH_VARARGS, (char *)"Fl_Round_Button_draw(Fl_Round_Button self)"}, { (char *)"Fl_Round_Button_swigregister", Fl_Round_Button_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Radio_Round_Button", _wrap_new_Fl_Radio_Round_Button, METH_VARARGS, (char *)"new_Fl_Radio_Round_Button(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Radio_Round_Button"}, { (char *)"delete_Fl_Radio_Round_Button", _wrap_delete_Fl_Radio_Round_Button, METH_VARARGS, (char *)"delete_Fl_Radio_Round_Button(Fl_Radio_Round_Button self)"}, { (char *)"disown_Fl_Radio_Round_Button", _wrap_disown_Fl_Radio_Round_Button, METH_VARARGS, NULL}, { (char *)"Fl_Radio_Round_Button_draw", _wrap_Fl_Radio_Round_Button_draw, METH_VARARGS, (char *)"Fl_Radio_Round_Button_draw(Fl_Radio_Round_Button self)"}, { (char *)"Fl_Radio_Round_Button_swigregister", Fl_Radio_Round_Button_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Repeat_Button_handle", _wrap_Fl_Repeat_Button_handle, METH_VARARGS, (char *)"Fl_Repeat_Button_handle(Fl_Repeat_Button self, int arg0) -> int"}, { (char *)"new_Fl_Repeat_Button", _wrap_new_Fl_Repeat_Button, METH_VARARGS, (char *)"new_Fl_Repeat_Button(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Repeat_Button"}, { (char *)"Fl_Repeat_Button_deactivate", _wrap_Fl_Repeat_Button_deactivate, METH_VARARGS, (char *)"Fl_Repeat_Button_deactivate(Fl_Repeat_Button self)"}, { (char *)"delete_Fl_Repeat_Button", _wrap_delete_Fl_Repeat_Button, METH_VARARGS, (char *)"delete_Fl_Repeat_Button(Fl_Repeat_Button self)"}, { (char *)"disown_Fl_Repeat_Button", _wrap_disown_Fl_Repeat_Button, METH_VARARGS, NULL}, { (char *)"Fl_Repeat_Button_draw", _wrap_Fl_Repeat_Button_draw, METH_VARARGS, (char *)"Fl_Repeat_Button_draw(Fl_Repeat_Button self)"}, { (char *)"Fl_Repeat_Button_swigregister", Fl_Repeat_Button_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Return_Button_draw", _wrap_Fl_Return_Button_draw, METH_VARARGS, (char *)"Fl_Return_Button_draw(Fl_Return_Button self)"}, { (char *)"Fl_Return_Button_handle", _wrap_Fl_Return_Button_handle, METH_VARARGS, (char *)"Fl_Return_Button_handle(Fl_Return_Button self, int arg0) -> int"}, { (char *)"new_Fl_Return_Button", _wrap_new_Fl_Return_Button, METH_VARARGS, (char *)"new_Fl_Return_Button(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Return_Button"}, { (char *)"delete_Fl_Return_Button", _wrap_delete_Fl_Return_Button, METH_VARARGS, (char *)"delete_Fl_Return_Button(Fl_Return_Button self)"}, { (char *)"disown_Fl_Return_Button", _wrap_disown_Fl_Return_Button, METH_VARARGS, NULL}, { (char *)"Fl_Return_Button_swigregister", Fl_Return_Button_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Roller_draw", _wrap_Fl_Roller_draw, METH_VARARGS, (char *)"Fl_Roller_draw(Fl_Roller self)"}, { (char *)"Fl_Roller_handle", _wrap_Fl_Roller_handle, METH_VARARGS, (char *)"Fl_Roller_handle(Fl_Roller self, int arg0) -> int"}, { (char *)"new_Fl_Roller", _wrap_new_Fl_Roller, METH_VARARGS, (char *)"new_Fl_Roller(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Roller"}, { (char *)"delete_Fl_Roller", _wrap_delete_Fl_Roller, METH_VARARGS, (char *)"delete_Fl_Roller(Fl_Roller self)"}, { (char *)"disown_Fl_Roller", _wrap_disown_Fl_Roller, METH_VARARGS, NULL}, { (char *)"Fl_Roller_swigregister", Fl_Roller_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Round_Clock", _wrap_new_Fl_Round_Clock, METH_VARARGS, (char *)"new_Fl_Round_Clock(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Round_Clock"}, { (char *)"delete_Fl_Round_Clock", _wrap_delete_Fl_Round_Clock, METH_VARARGS, (char *)"delete_Fl_Round_Clock(Fl_Round_Clock self)"}, { (char *)"disown_Fl_Round_Clock", _wrap_disown_Fl_Round_Clock, METH_VARARGS, NULL}, { (char *)"Fl_Round_Clock_draw", _wrap_Fl_Round_Clock_draw, METH_VARARGS, (char *)"Fl_Round_Clock_draw(Fl_Round_Clock self)"}, { (char *)"Fl_Round_Clock_swigregister", Fl_Round_Clock_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Scroll_draw", _wrap_Fl_Scroll_draw, METH_VARARGS, (char *)"Fl_Scroll_draw(Fl_Scroll self)"}, { (char *)"Fl_Scroll_resize", _wrap_Fl_Scroll_resize, METH_VARARGS, (char *)"Fl_Scroll_resize(Fl_Scroll self, int arg0, int arg1, int arg2, int arg3)"}, { (char *)"Fl_Scroll_handle", _wrap_Fl_Scroll_handle, METH_VARARGS, (char *)"Fl_Scroll_handle(Fl_Scroll self, int arg0) -> int"}, { (char *)"new_Fl_Scroll", _wrap_new_Fl_Scroll, METH_VARARGS, (char *)"new_Fl_Scroll(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Scroll"}, { (char *)"Fl_Scroll_xposition", _wrap_Fl_Scroll_xposition, METH_VARARGS, (char *)"Fl_Scroll_xposition(Fl_Scroll self) -> int"}, { (char *)"Fl_Scroll_yposition", _wrap_Fl_Scroll_yposition, METH_VARARGS, (char *)"Fl_Scroll_yposition(Fl_Scroll self) -> int"}, { (char *)"Fl_Scroll_scroll_to", _wrap_Fl_Scroll_scroll_to, METH_VARARGS, (char *)"Fl_Scroll_scroll_to(Fl_Scroll self, int arg1, int arg2)"}, { (char *)"Fl_Scroll_clear", _wrap_Fl_Scroll_clear, METH_VARARGS, (char *)"Fl_Scroll_clear(Fl_Scroll self)"}, { (char *)"Fl_Scroll_scrollbar_size", _wrap_Fl_Scroll_scrollbar_size, METH_VARARGS, (char *)"\n" "scrollbar_size() -> int\n" "Fl_Scroll_scrollbar_size(Fl_Scroll self, int size)\n" ""}, { (char *)"Fl_Scroll_getScrollbar", _wrap_Fl_Scroll_getScrollbar, METH_VARARGS, (char *)"Fl_Scroll_getScrollbar(Fl_Scroll self) -> Fl_Scrollbar"}, { (char *)"Fl_Scroll_getHScrollbar", _wrap_Fl_Scroll_getHScrollbar, METH_VARARGS, (char *)"Fl_Scroll_getHScrollbar(Fl_Scroll self) -> Fl_Scrollbar"}, { (char *)"delete_Fl_Scroll", _wrap_delete_Fl_Scroll, METH_VARARGS, (char *)"delete_Fl_Scroll(Fl_Scroll self)"}, { (char *)"disown_Fl_Scroll", _wrap_disown_Fl_Scroll, METH_VARARGS, NULL}, { (char *)"Fl_Scroll_swigregister", Fl_Scroll_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Scrollbar_draw", _wrap_Fl_Scrollbar_draw, METH_VARARGS, (char *)"Fl_Scrollbar_draw(Fl_Scrollbar self)"}, { (char *)"new_Fl_Scrollbar", _wrap_new_Fl_Scrollbar, METH_VARARGS, (char *)"new_Fl_Scrollbar(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Scrollbar"}, { (char *)"delete_Fl_Scrollbar", _wrap_delete_Fl_Scrollbar, METH_VARARGS, (char *)"delete_Fl_Scrollbar(Fl_Scrollbar self)"}, { (char *)"Fl_Scrollbar_handle", _wrap_Fl_Scrollbar_handle, METH_VARARGS, (char *)"Fl_Scrollbar_handle(Fl_Scrollbar self, int arg0) -> int"}, { (char *)"Fl_Scrollbar_value", _wrap_Fl_Scrollbar_value, METH_VARARGS, (char *)"\n" "value() -> int\n" "value(int p) -> int\n" "Fl_Scrollbar_value(Fl_Scrollbar self, int pos, int size, int first, int total) -> int\n" ""}, { (char *)"Fl_Scrollbar_linesize", _wrap_Fl_Scrollbar_linesize, METH_VARARGS, (char *)"\n" "linesize() -> int\n" "Fl_Scrollbar_linesize(Fl_Scrollbar self, int i)\n" ""}, { (char *)"disown_Fl_Scrollbar", _wrap_disown_Fl_Scrollbar, METH_VARARGS, NULL}, { (char *)"Fl_Scrollbar_swigregister", Fl_Scrollbar_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Secret_Input", _wrap_new_Fl_Secret_Input, METH_VARARGS, (char *)"new_Fl_Secret_Input(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Secret_Input"}, { (char *)"delete_Fl_Secret_Input", _wrap_delete_Fl_Secret_Input, METH_VARARGS, (char *)"delete_Fl_Secret_Input(Fl_Secret_Input self)"}, { (char *)"disown_Fl_Secret_Input", _wrap_disown_Fl_Secret_Input, METH_VARARGS, NULL}, { (char *)"Fl_Secret_Input_draw", _wrap_Fl_Secret_Input_draw, METH_VARARGS, (char *)"Fl_Secret_Input_draw(Fl_Secret_Input self)"}, { (char *)"Fl_Secret_Input_swigregister", Fl_Secret_Input_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Select_Browser", _wrap_new_Fl_Select_Browser, METH_VARARGS, (char *)"new_Fl_Select_Browser(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Select_Browser"}, { (char *)"delete_Fl_Select_Browser", _wrap_delete_Fl_Select_Browser, METH_VARARGS, (char *)"delete_Fl_Select_Browser(Fl_Select_Browser self)"}, { (char *)"disown_Fl_Select_Browser", _wrap_disown_Fl_Select_Browser, METH_VARARGS, NULL}, { (char *)"Fl_Select_Browser_draw", _wrap_Fl_Select_Browser_draw, METH_VARARGS, (char *)"Fl_Select_Browser_draw(Fl_Select_Browser self)"}, { (char *)"Fl_Select_Browser_item_first", _wrap_Fl_Select_Browser_item_first, METH_VARARGS, (char *)"Fl_Select_Browser_item_first(Fl_Select_Browser self) -> void"}, { (char *)"Fl_Select_Browser_item_next", _wrap_Fl_Select_Browser_item_next, METH_VARARGS, (char *)"Fl_Select_Browser_item_next(Fl_Select_Browser self, void item) -> void"}, { (char *)"Fl_Select_Browser_item_prev", _wrap_Fl_Select_Browser_item_prev, METH_VARARGS, (char *)"Fl_Select_Browser_item_prev(Fl_Select_Browser self, void item) -> void"}, { (char *)"Fl_Select_Browser_item_last", _wrap_Fl_Select_Browser_item_last, METH_VARARGS, (char *)"Fl_Select_Browser_item_last(Fl_Select_Browser self) -> void"}, { (char *)"Fl_Select_Browser_item_height", _wrap_Fl_Select_Browser_item_height, METH_VARARGS, (char *)"Fl_Select_Browser_item_height(Fl_Select_Browser self, void item) -> int"}, { (char *)"Fl_Select_Browser_item_width", _wrap_Fl_Select_Browser_item_width, METH_VARARGS, (char *)"Fl_Select_Browser_item_width(Fl_Select_Browser self, void item) -> int"}, { (char *)"Fl_Select_Browser_item_quick_height", _wrap_Fl_Select_Browser_item_quick_height, METH_VARARGS, (char *)"Fl_Select_Browser_item_quick_height(Fl_Select_Browser self, void item) -> int"}, { (char *)"Fl_Select_Browser_item_draw", _wrap_Fl_Select_Browser_item_draw, METH_VARARGS, (char *)"\n" "Fl_Select_Browser_item_draw(Fl_Select_Browser self, void item, int X, int Y, int W, \n" " int H)\n" ""}, { (char *)"Fl_Select_Browser_item_text", _wrap_Fl_Select_Browser_item_text, METH_VARARGS, (char *)"Fl_Select_Browser_item_text(Fl_Select_Browser self, void item) -> char"}, { (char *)"Fl_Select_Browser_item_swap", _wrap_Fl_Select_Browser_item_swap, METH_VARARGS, (char *)"Fl_Select_Browser_item_swap(Fl_Select_Browser self, void a, void b)"}, { (char *)"Fl_Select_Browser_item_at", _wrap_Fl_Select_Browser_item_at, METH_VARARGS, (char *)"Fl_Select_Browser_item_at(Fl_Select_Browser self, int line) -> void"}, { (char *)"Fl_Select_Browser_full_width", _wrap_Fl_Select_Browser_full_width, METH_VARARGS, (char *)"Fl_Select_Browser_full_width(Fl_Select_Browser self) -> int"}, { (char *)"Fl_Select_Browser_full_height", _wrap_Fl_Select_Browser_full_height, METH_VARARGS, (char *)"Fl_Select_Browser_full_height(Fl_Select_Browser self) -> int"}, { (char *)"Fl_Select_Browser_incr_height", _wrap_Fl_Select_Browser_incr_height, METH_VARARGS, (char *)"Fl_Select_Browser_incr_height(Fl_Select_Browser self) -> int"}, { (char *)"Fl_Select_Browser_item_select", _wrap_Fl_Select_Browser_item_select, METH_VARARGS, (char *)"Fl_Select_Browser_item_select(Fl_Select_Browser self, void item, int val)"}, { (char *)"Fl_Select_Browser_item_selected", _wrap_Fl_Select_Browser_item_selected, METH_VARARGS, (char *)"Fl_Select_Browser_item_selected(Fl_Select_Browser self, void item) -> int"}, { (char *)"Fl_Select_Browser_swigregister", Fl_Select_Browser_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Shared_Image", _wrap_new_Fl_Shared_Image, METH_VARARGS, (char *)"\n" "Fl_Shared_Image()\n" "new_Fl_Shared_Image(PyObject self, char n, Fl_Image img = None) -> Fl_Shared_Image\n" ""}, { (char *)"Fl_Shared_Image_name", _wrap_Fl_Shared_Image_name, METH_VARARGS, (char *)"Fl_Shared_Image_name(Fl_Shared_Image self) -> char"}, { (char *)"Fl_Shared_Image_refcount", _wrap_Fl_Shared_Image_refcount, METH_VARARGS, (char *)"Fl_Shared_Image_refcount(Fl_Shared_Image self) -> int"}, { (char *)"Fl_Shared_Image_release", _wrap_Fl_Shared_Image_release, METH_VARARGS, (char *)"Fl_Shared_Image_release(Fl_Shared_Image self)"}, { (char *)"Fl_Shared_Image_reload", _wrap_Fl_Shared_Image_reload, METH_VARARGS, (char *)"Fl_Shared_Image_reload(Fl_Shared_Image self)"}, { (char *)"Fl_Shared_Image_copy", _wrap_Fl_Shared_Image_copy, METH_VARARGS, (char *)"\n" "copy(int W, int H) -> Fl_Image\n" "Fl_Shared_Image_copy(Fl_Shared_Image self) -> Fl_Image\n" ""}, { (char *)"Fl_Shared_Image_color_average", _wrap_Fl_Shared_Image_color_average, METH_VARARGS, (char *)"Fl_Shared_Image_color_average(Fl_Shared_Image self, Fl_Color c, float i)"}, { (char *)"Fl_Shared_Image_desaturate", _wrap_Fl_Shared_Image_desaturate, METH_VARARGS, (char *)"Fl_Shared_Image_desaturate(Fl_Shared_Image self)"}, { (char *)"Fl_Shared_Image_draw", _wrap_Fl_Shared_Image_draw, METH_VARARGS, (char *)"\n" "draw(int X, int Y, int W, int H, int cx, int cy)\n" "Fl_Shared_Image_draw(Fl_Shared_Image self, int X, int Y)\n" ""}, { (char *)"Fl_Shared_Image_uncache", _wrap_Fl_Shared_Image_uncache, METH_VARARGS, (char *)"Fl_Shared_Image_uncache(Fl_Shared_Image self)"}, { (char *)"Fl_Shared_Image_find", _wrap_Fl_Shared_Image_find, METH_VARARGS, (char *)"Fl_Shared_Image_find(char n, int W = 0, int H = 0) -> Fl_Shared_Image"}, { (char *)"Fl_Shared_Image_get", _wrap_Fl_Shared_Image_get, METH_VARARGS, (char *)"Fl_Shared_Image_get(char n, int W = 0, int H = 0) -> Fl_Shared_Image"}, { (char *)"Fl_Shared_Image_images", _wrap_Fl_Shared_Image_images, METH_VARARGS, (char *)"Fl_Shared_Image_images() -> Fl_Shared_Image"}, { (char *)"Fl_Shared_Image_num_images", _wrap_Fl_Shared_Image_num_images, METH_VARARGS, (char *)"Fl_Shared_Image_num_images() -> int"}, { (char *)"Fl_Shared_Image_add_handler", _wrap_Fl_Shared_Image_add_handler, METH_VARARGS, (char *)"Fl_Shared_Image_add_handler(Fl_Shared_Handler f)"}, { (char *)"Fl_Shared_Image_remove_handler", _wrap_Fl_Shared_Image_remove_handler, METH_VARARGS, (char *)"Fl_Shared_Image_remove_handler(Fl_Shared_Handler f)"}, { (char *)"disown_Fl_Shared_Image", _wrap_disown_Fl_Shared_Image, METH_VARARGS, NULL}, { (char *)"Fl_Shared_Image_swigregister", Fl_Shared_Image_swigregister, METH_VARARGS, NULL}, { (char *)"fl_register_images", _wrap_fl_register_images, METH_VARARGS, (char *)"fl_register_images()"}, { (char *)"new_Fl_Spinner", _wrap_new_Fl_Spinner, METH_VARARGS, (char *)"new_Fl_Spinner(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Spinner"}, { (char *)"Fl_Spinner_format", _wrap_Fl_Spinner_format, METH_VARARGS, (char *)"\n" "format() -> char\n" "Fl_Spinner_format(Fl_Spinner self, char f)\n" ""}, { (char *)"Fl_Spinner_handle", _wrap_Fl_Spinner_handle, METH_VARARGS, (char *)"Fl_Spinner_handle(Fl_Spinner self, int event) -> int"}, { (char *)"Fl_Spinner_maxinum", _wrap_Fl_Spinner_maxinum, METH_VARARGS, (char *)"Fl_Spinner_maxinum(Fl_Spinner self) -> double"}, { (char *)"Fl_Spinner_mininum", _wrap_Fl_Spinner_mininum, METH_VARARGS, (char *)"Fl_Spinner_mininum(Fl_Spinner self) -> double"}, { (char *)"Fl_Spinner_range", _wrap_Fl_Spinner_range, METH_VARARGS, (char *)"Fl_Spinner_range(Fl_Spinner self, double a, double b)"}, { (char *)"Fl_Spinner_resize", _wrap_Fl_Spinner_resize, METH_VARARGS, (char *)"Fl_Spinner_resize(Fl_Spinner self, int X, int Y, int W, int H)"}, { (char *)"Fl_Spinner_step", _wrap_Fl_Spinner_step, METH_VARARGS, (char *)"\n" "step() -> double\n" "Fl_Spinner_step(Fl_Spinner self, double s)\n" ""}, { (char *)"Fl_Spinner_textcolor", _wrap_Fl_Spinner_textcolor, METH_VARARGS, (char *)"\n" "textcolor() -> Fl_Color\n" "Fl_Spinner_textcolor(Fl_Spinner self, Fl_Color c)\n" ""}, { (char *)"Fl_Spinner_textfont", _wrap_Fl_Spinner_textfont, METH_VARARGS, (char *)"\n" "textfont() -> Fl_Font\n" "Fl_Spinner_textfont(Fl_Spinner self, Fl_Font f)\n" ""}, { (char *)"Fl_Spinner_textsize", _wrap_Fl_Spinner_textsize, METH_VARARGS, (char *)"\n" "textsize() -> Fl_Fontsize\n" "Fl_Spinner_textsize(Fl_Spinner self, Fl_Fontsize s)\n" ""}, { (char *)"Fl_Spinner_type", _wrap_Fl_Spinner_type, METH_VARARGS, (char *)"\n" "type() -> uchar\n" "Fl_Spinner_type(Fl_Spinner self, uchar v)\n" ""}, { (char *)"Fl_Spinner_value", _wrap_Fl_Spinner_value, METH_VARARGS, (char *)"\n" "value() -> double\n" "Fl_Spinner_value(Fl_Spinner self, double v)\n" ""}, { (char *)"Fl_Spinner_minimum", _wrap_Fl_Spinner_minimum, METH_VARARGS, (char *)"\n" "minimum(double m)\n" "Fl_Spinner_minimum(Fl_Spinner self) -> double\n" ""}, { (char *)"Fl_Spinner_maximum", _wrap_Fl_Spinner_maximum, METH_VARARGS, (char *)"\n" "maximum(double m)\n" "Fl_Spinner_maximum(Fl_Spinner self) -> double\n" ""}, { (char *)"delete_Fl_Spinner", _wrap_delete_Fl_Spinner, METH_VARARGS, (char *)"delete_Fl_Spinner(Fl_Spinner self)"}, { (char *)"disown_Fl_Spinner", _wrap_disown_Fl_Spinner, METH_VARARGS, NULL}, { (char *)"Fl_Spinner_draw", _wrap_Fl_Spinner_draw, METH_VARARGS, (char *)"Fl_Spinner_draw(Fl_Spinner self)"}, { (char *)"Fl_Spinner_swigregister", Fl_Spinner_swigregister, METH_VARARGS, NULL}, { (char *)"fl_show_colormap", _wrap_fl_show_colormap, METH_VARARGS, (char *)"fl_show_colormap(Fl_Color oldcol) -> Fl_Color"}, { (char *)"new_Fl_Simple_Counter", _wrap_new_Fl_Simple_Counter, METH_VARARGS, (char *)"new_Fl_Simple_Counter(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Simple_Counter"}, { (char *)"delete_Fl_Simple_Counter", _wrap_delete_Fl_Simple_Counter, METH_VARARGS, (char *)"delete_Fl_Simple_Counter(Fl_Simple_Counter self)"}, { (char *)"disown_Fl_Simple_Counter", _wrap_disown_Fl_Simple_Counter, METH_VARARGS, NULL}, { (char *)"Fl_Simple_Counter_draw", _wrap_Fl_Simple_Counter_draw, METH_VARARGS, (char *)"Fl_Simple_Counter_draw(Fl_Simple_Counter self)"}, { (char *)"Fl_Simple_Counter_swigregister", Fl_Simple_Counter_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Tabs_draw", _wrap_Fl_Tabs_draw, METH_VARARGS, (char *)"Fl_Tabs_draw(Fl_Tabs self)"}, { (char *)"Fl_Tabs_handle", _wrap_Fl_Tabs_handle, METH_VARARGS, (char *)"Fl_Tabs_handle(Fl_Tabs self, int arg0) -> int"}, { (char *)"Fl_Tabs_value", _wrap_Fl_Tabs_value, METH_VARARGS, (char *)"\n" "value() -> Fl_Widget\n" "Fl_Tabs_value(Fl_Tabs self, Fl_Widget arg1) -> int\n" ""}, { (char *)"Fl_Tabs_push", _wrap_Fl_Tabs_push, METH_VARARGS, (char *)"\n" "push() -> Fl_Widget\n" "Fl_Tabs_push(Fl_Tabs self, Fl_Widget arg1) -> int\n" ""}, { (char *)"new_Fl_Tabs", _wrap_new_Fl_Tabs, METH_VARARGS, (char *)"\n" "new_Fl_Tabs(PyObject self, int arg1, int arg2, int arg3, int arg4, \n" " char arg5 = None) -> Fl_Tabs\n" ""}, { (char *)"Fl_Tabs_which", _wrap_Fl_Tabs_which, METH_VARARGS, (char *)"Fl_Tabs_which(Fl_Tabs self, int event_x, int event_y) -> Fl_Widget"}, { (char *)"delete_Fl_Tabs", _wrap_delete_Fl_Tabs, METH_VARARGS, (char *)"delete_Fl_Tabs(Fl_Tabs self)"}, { (char *)"Fl_Tabs_client_area", _wrap_Fl_Tabs_client_area, METH_VARARGS, (char *)"Fl_Tabs_client_area(Fl_Tabs self, int tabh = 0)"}, { (char *)"disown_Fl_Tabs", _wrap_disown_Fl_Tabs, METH_VARARGS, NULL}, { (char *)"Fl_Tabs_swigregister", Fl_Tabs_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Text_Selection_set", _wrap_Fl_Text_Selection_set, METH_VARARGS, (char *)"Fl_Text_Selection_set(Fl_Text_Selection self, int start, int end)"}, { (char *)"Fl_Text_Selection_update", _wrap_Fl_Text_Selection_update, METH_VARARGS, (char *)"Fl_Text_Selection_update(Fl_Text_Selection self, int pos, int nDeleted, int nInserted)"}, { (char *)"Fl_Text_Selection_start", _wrap_Fl_Text_Selection_start, METH_VARARGS, (char *)"Fl_Text_Selection_start(Fl_Text_Selection self) -> int"}, { (char *)"Fl_Text_Selection_end", _wrap_Fl_Text_Selection_end, METH_VARARGS, (char *)"Fl_Text_Selection_end(Fl_Text_Selection self) -> int"}, { (char *)"Fl_Text_Selection_selected", _wrap_Fl_Text_Selection_selected, METH_VARARGS, (char *)"\n" "selected() -> bool\n" "Fl_Text_Selection_selected(Fl_Text_Selection self, bool b)\n" ""}, { (char *)"Fl_Text_Selection_includes", _wrap_Fl_Text_Selection_includes, METH_VARARGS, (char *)"Fl_Text_Selection_includes(Fl_Text_Selection self, int pos) -> int"}, { (char *)"Fl_Text_Selection_position", _wrap_Fl_Text_Selection_position, METH_VARARGS, (char *)"Fl_Text_Selection_position(Fl_Text_Selection self, int start, int end) -> int"}, { (char *)"new_Fl_Text_Selection", _wrap_new_Fl_Text_Selection, METH_VARARGS, (char *)"new_Fl_Text_Selection() -> Fl_Text_Selection"}, { (char *)"delete_Fl_Text_Selection", _wrap_delete_Fl_Text_Selection, METH_VARARGS, (char *)"delete_Fl_Text_Selection(Fl_Text_Selection self)"}, { (char *)"Fl_Text_Selection_swigregister", Fl_Text_Selection_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Text_Buffer", _wrap_new_Fl_Text_Buffer, METH_VARARGS, (char *)"new_Fl_Text_Buffer(int requestedSize = 0, int preferredGapSize = 1024) -> Fl_Text_Buffer"}, { (char *)"delete_Fl_Text_Buffer", _wrap_delete_Fl_Text_Buffer, METH_VARARGS, (char *)"delete_Fl_Text_Buffer(Fl_Text_Buffer self)"}, { (char *)"Fl_Text_Buffer_length", _wrap_Fl_Text_Buffer_length, METH_VARARGS, (char *)"Fl_Text_Buffer_length(Fl_Text_Buffer self) -> int"}, { (char *)"Fl_Text_Buffer_text", _wrap_Fl_Text_Buffer_text, METH_VARARGS, (char *)"\n" "text() -> char\n" "Fl_Text_Buffer_text(Fl_Text_Buffer self, char text)\n" ""}, { (char *)"Fl_Text_Buffer_text_range", _wrap_Fl_Text_Buffer_text_range, METH_VARARGS, (char *)"Fl_Text_Buffer_text_range(Fl_Text_Buffer self, int start, int end) -> char"}, { (char *)"Fl_Text_Buffer_char_at", _wrap_Fl_Text_Buffer_char_at, METH_VARARGS, (char *)"Fl_Text_Buffer_char_at(Fl_Text_Buffer self, int pos) -> unsigned int"}, { (char *)"Fl_Text_Buffer_byte_at", _wrap_Fl_Text_Buffer_byte_at, METH_VARARGS, (char *)"Fl_Text_Buffer_byte_at(Fl_Text_Buffer self, int pos) -> char"}, { (char *)"Fl_Text_Buffer_address", _wrap_Fl_Text_Buffer_address, METH_VARARGS, (char *)"\n" "address(int pos) -> char\n" "Fl_Text_Buffer_address(Fl_Text_Buffer self, int pos) -> char\n" ""}, { (char *)"Fl_Text_Buffer_insert", _wrap_Fl_Text_Buffer_insert, METH_VARARGS, (char *)"Fl_Text_Buffer_insert(Fl_Text_Buffer self, int pos, char text)"}, { (char *)"Fl_Text_Buffer_append", _wrap_Fl_Text_Buffer_append, METH_VARARGS, (char *)"Fl_Text_Buffer_append(Fl_Text_Buffer self, char t)"}, { (char *)"Fl_Text_Buffer_remove", _wrap_Fl_Text_Buffer_remove, METH_VARARGS, (char *)"Fl_Text_Buffer_remove(Fl_Text_Buffer self, int start, int end)"}, { (char *)"Fl_Text_Buffer_replace", _wrap_Fl_Text_Buffer_replace, METH_VARARGS, (char *)"Fl_Text_Buffer_replace(Fl_Text_Buffer self, int start, int end, char text)"}, { (char *)"Fl_Text_Buffer_copy", _wrap_Fl_Text_Buffer_copy, METH_VARARGS, (char *)"\n" "Fl_Text_Buffer_copy(Fl_Text_Buffer self, Fl_Text_Buffer fromBuf, int fromStart, \n" " int fromEnd, int toPos)\n" ""}, { (char *)"Fl_Text_Buffer_undo", _wrap_Fl_Text_Buffer_undo, METH_VARARGS, (char *)"Fl_Text_Buffer_undo(Fl_Text_Buffer self, int cp = None) -> int"}, { (char *)"Fl_Text_Buffer_canUndo", _wrap_Fl_Text_Buffer_canUndo, METH_VARARGS, (char *)"Fl_Text_Buffer_canUndo(Fl_Text_Buffer self, char flag = 1)"}, { (char *)"Fl_Text_Buffer_insertfile", _wrap_Fl_Text_Buffer_insertfile, METH_VARARGS, (char *)"Fl_Text_Buffer_insertfile(Fl_Text_Buffer self, char file, int pos, int buflen = 128*1024) -> int"}, { (char *)"Fl_Text_Buffer_appendfile", _wrap_Fl_Text_Buffer_appendfile, METH_VARARGS, (char *)"Fl_Text_Buffer_appendfile(Fl_Text_Buffer self, char file, int buflen = 128*1024) -> int"}, { (char *)"Fl_Text_Buffer_loadfile", _wrap_Fl_Text_Buffer_loadfile, METH_VARARGS, (char *)"Fl_Text_Buffer_loadfile(Fl_Text_Buffer self, char file, int buflen = 128*1024) -> int"}, { (char *)"Fl_Text_Buffer_outputfile", _wrap_Fl_Text_Buffer_outputfile, METH_VARARGS, (char *)"\n" "Fl_Text_Buffer_outputfile(Fl_Text_Buffer self, char file, int start, int end, \n" " int buflen = 128*1024) -> int\n" ""}, { (char *)"Fl_Text_Buffer_savefile", _wrap_Fl_Text_Buffer_savefile, METH_VARARGS, (char *)"Fl_Text_Buffer_savefile(Fl_Text_Buffer self, char file, int buflen = 128*1024) -> int"}, { (char *)"Fl_Text_Buffer_tab_distance", _wrap_Fl_Text_Buffer_tab_distance, METH_VARARGS, (char *)"\n" "tab_distance() -> int\n" "Fl_Text_Buffer_tab_distance(Fl_Text_Buffer self, int tabDist)\n" ""}, { (char *)"Fl_Text_Buffer_select", _wrap_Fl_Text_Buffer_select, METH_VARARGS, (char *)"Fl_Text_Buffer_select(Fl_Text_Buffer self, int start, int end)"}, { (char *)"Fl_Text_Buffer_selected", _wrap_Fl_Text_Buffer_selected, METH_VARARGS, (char *)"Fl_Text_Buffer_selected(Fl_Text_Buffer self) -> int"}, { (char *)"Fl_Text_Buffer_unselect", _wrap_Fl_Text_Buffer_unselect, METH_VARARGS, (char *)"Fl_Text_Buffer_unselect(Fl_Text_Buffer self)"}, { (char *)"Fl_Text_Buffer_selection_position", _wrap_Fl_Text_Buffer_selection_position, METH_VARARGS, (char *)"Fl_Text_Buffer_selection_position(Fl_Text_Buffer self, int start, int end) -> int"}, { (char *)"Fl_Text_Buffer_selection_text", _wrap_Fl_Text_Buffer_selection_text, METH_VARARGS, (char *)"Fl_Text_Buffer_selection_text(Fl_Text_Buffer self) -> char"}, { (char *)"Fl_Text_Buffer_remove_selection", _wrap_Fl_Text_Buffer_remove_selection, METH_VARARGS, (char *)"Fl_Text_Buffer_remove_selection(Fl_Text_Buffer self)"}, { (char *)"Fl_Text_Buffer_replace_selection", _wrap_Fl_Text_Buffer_replace_selection, METH_VARARGS, (char *)"Fl_Text_Buffer_replace_selection(Fl_Text_Buffer self, char text)"}, { (char *)"Fl_Text_Buffer_secondary_select", _wrap_Fl_Text_Buffer_secondary_select, METH_VARARGS, (char *)"Fl_Text_Buffer_secondary_select(Fl_Text_Buffer self, int start, int end)"}, { (char *)"Fl_Text_Buffer_secondary_selected", _wrap_Fl_Text_Buffer_secondary_selected, METH_VARARGS, (char *)"Fl_Text_Buffer_secondary_selected(Fl_Text_Buffer self) -> int"}, { (char *)"Fl_Text_Buffer_secondary_unselect", _wrap_Fl_Text_Buffer_secondary_unselect, METH_VARARGS, (char *)"Fl_Text_Buffer_secondary_unselect(Fl_Text_Buffer self)"}, { (char *)"Fl_Text_Buffer_secondary_selection_position", _wrap_Fl_Text_Buffer_secondary_selection_position, METH_VARARGS, (char *)"Fl_Text_Buffer_secondary_selection_position(Fl_Text_Buffer self, int start, int end) -> int"}, { (char *)"Fl_Text_Buffer_secondary_selection_text", _wrap_Fl_Text_Buffer_secondary_selection_text, METH_VARARGS, (char *)"Fl_Text_Buffer_secondary_selection_text(Fl_Text_Buffer self) -> char"}, { (char *)"Fl_Text_Buffer_remove_secondary_selection", _wrap_Fl_Text_Buffer_remove_secondary_selection, METH_VARARGS, (char *)"Fl_Text_Buffer_remove_secondary_selection(Fl_Text_Buffer self)"}, { (char *)"Fl_Text_Buffer_replace_secondary_selection", _wrap_Fl_Text_Buffer_replace_secondary_selection, METH_VARARGS, (char *)"Fl_Text_Buffer_replace_secondary_selection(Fl_Text_Buffer self, char text)"}, { (char *)"Fl_Text_Buffer_highlight", _wrap_Fl_Text_Buffer_highlight, METH_VARARGS, (char *)"\n" "highlight(int start, int end)\n" "Fl_Text_Buffer_highlight(Fl_Text_Buffer self) -> int\n" ""}, { (char *)"Fl_Text_Buffer_unhighlight", _wrap_Fl_Text_Buffer_unhighlight, METH_VARARGS, (char *)"Fl_Text_Buffer_unhighlight(Fl_Text_Buffer self)"}, { (char *)"Fl_Text_Buffer_highlight_position", _wrap_Fl_Text_Buffer_highlight_position, METH_VARARGS, (char *)"Fl_Text_Buffer_highlight_position(Fl_Text_Buffer self, int start, int end) -> int"}, { (char *)"Fl_Text_Buffer_highlight_text", _wrap_Fl_Text_Buffer_highlight_text, METH_VARARGS, (char *)"Fl_Text_Buffer_highlight_text(Fl_Text_Buffer self) -> char"}, { (char *)"Fl_Text_Buffer_call_modify_callbacks", _wrap_Fl_Text_Buffer_call_modify_callbacks, METH_VARARGS, (char *)"Fl_Text_Buffer_call_modify_callbacks(Fl_Text_Buffer self)"}, { (char *)"Fl_Text_Buffer_add_predelete_callback", _wrap_Fl_Text_Buffer_add_predelete_callback, METH_VARARGS, (char *)"\n" "Fl_Text_Buffer_add_predelete_callback(Fl_Text_Buffer self, Fl_Text_Predelete_Cb bufPredelCB, \n" " void cbArg)\n" ""}, { (char *)"Fl_Text_Buffer_remove_predelete_callback", _wrap_Fl_Text_Buffer_remove_predelete_callback, METH_VARARGS, (char *)"\n" "Fl_Text_Buffer_remove_predelete_callback(Fl_Text_Buffer self, Fl_Text_Predelete_Cb predelCB, \n" " void cbArg)\n" ""}, { (char *)"Fl_Text_Buffer_call_predelete_callbacks", _wrap_Fl_Text_Buffer_call_predelete_callbacks, METH_VARARGS, (char *)"Fl_Text_Buffer_call_predelete_callbacks(Fl_Text_Buffer self)"}, { (char *)"Fl_Text_Buffer_line_text", _wrap_Fl_Text_Buffer_line_text, METH_VARARGS, (char *)"Fl_Text_Buffer_line_text(Fl_Text_Buffer self, int pos) -> char"}, { (char *)"Fl_Text_Buffer_line_start", _wrap_Fl_Text_Buffer_line_start, METH_VARARGS, (char *)"Fl_Text_Buffer_line_start(Fl_Text_Buffer self, int pos) -> int"}, { (char *)"Fl_Text_Buffer_line_end", _wrap_Fl_Text_Buffer_line_end, METH_VARARGS, (char *)"Fl_Text_Buffer_line_end(Fl_Text_Buffer self, int pos) -> int"}, { (char *)"Fl_Text_Buffer_word_start", _wrap_Fl_Text_Buffer_word_start, METH_VARARGS, (char *)"Fl_Text_Buffer_word_start(Fl_Text_Buffer self, int pos) -> int"}, { (char *)"Fl_Text_Buffer_word_end", _wrap_Fl_Text_Buffer_word_end, METH_VARARGS, (char *)"Fl_Text_Buffer_word_end(Fl_Text_Buffer self, int pos) -> int"}, { (char *)"Fl_Text_Buffer_count_displayed_characters", _wrap_Fl_Text_Buffer_count_displayed_characters, METH_VARARGS, (char *)"Fl_Text_Buffer_count_displayed_characters(Fl_Text_Buffer self, int lineStartPos, int targetPos) -> int"}, { (char *)"Fl_Text_Buffer_skip_displayed_characters", _wrap_Fl_Text_Buffer_skip_displayed_characters, METH_VARARGS, (char *)"Fl_Text_Buffer_skip_displayed_characters(Fl_Text_Buffer self, int lineStartPos, int nChars) -> int"}, { (char *)"Fl_Text_Buffer_count_lines", _wrap_Fl_Text_Buffer_count_lines, METH_VARARGS, (char *)"Fl_Text_Buffer_count_lines(Fl_Text_Buffer self, int startPos, int endPos) -> int"}, { (char *)"Fl_Text_Buffer_skip_lines", _wrap_Fl_Text_Buffer_skip_lines, METH_VARARGS, (char *)"Fl_Text_Buffer_skip_lines(Fl_Text_Buffer self, int startPos, int nLines) -> int"}, { (char *)"Fl_Text_Buffer_rewind_lines", _wrap_Fl_Text_Buffer_rewind_lines, METH_VARARGS, (char *)"Fl_Text_Buffer_rewind_lines(Fl_Text_Buffer self, int startPos, int nLines) -> int"}, { (char *)"Fl_Text_Buffer_findchar_forward", _wrap_Fl_Text_Buffer_findchar_forward, METH_VARARGS, (char *)"Fl_Text_Buffer_findchar_forward(Fl_Text_Buffer self, int startPos, unsigned int searchChar) -> int"}, { (char *)"Fl_Text_Buffer_findchar_backward", _wrap_Fl_Text_Buffer_findchar_backward, METH_VARARGS, (char *)"Fl_Text_Buffer_findchar_backward(Fl_Text_Buffer self, int startPos, unsigned int searchChar) -> int"}, { (char *)"Fl_Text_Buffer_search_forward", _wrap_Fl_Text_Buffer_search_forward, METH_VARARGS, (char *)"\n" "Fl_Text_Buffer_search_forward(Fl_Text_Buffer self, int startPos, char searchString, \n" " int matchCase = 0) -> int\n" ""}, { (char *)"Fl_Text_Buffer_search_backward", _wrap_Fl_Text_Buffer_search_backward, METH_VARARGS, (char *)"\n" "Fl_Text_Buffer_search_backward(Fl_Text_Buffer self, int startPos, char searchString, \n" " int matchCase = 0) -> int\n" ""}, { (char *)"Fl_Text_Buffer_primary_selection", _wrap_Fl_Text_Buffer_primary_selection, METH_VARARGS, (char *)"\n" "primary_selection() -> Fl_Text_Selection\n" "Fl_Text_Buffer_primary_selection(Fl_Text_Buffer self) -> Fl_Text_Selection\n" ""}, { (char *)"Fl_Text_Buffer_secondary_selection", _wrap_Fl_Text_Buffer_secondary_selection, METH_VARARGS, (char *)"Fl_Text_Buffer_secondary_selection(Fl_Text_Buffer self) -> Fl_Text_Selection"}, { (char *)"Fl_Text_Buffer_highlight_selection", _wrap_Fl_Text_Buffer_highlight_selection, METH_VARARGS, (char *)"Fl_Text_Buffer_highlight_selection(Fl_Text_Buffer self) -> Fl_Text_Selection"}, { (char *)"Fl_Text_Buffer_prev_char", _wrap_Fl_Text_Buffer_prev_char, METH_VARARGS, (char *)"Fl_Text_Buffer_prev_char(Fl_Text_Buffer self, int ix) -> int"}, { (char *)"Fl_Text_Buffer_prev_char_clipped", _wrap_Fl_Text_Buffer_prev_char_clipped, METH_VARARGS, (char *)"Fl_Text_Buffer_prev_char_clipped(Fl_Text_Buffer self, int ix) -> int"}, { (char *)"Fl_Text_Buffer_next_char", _wrap_Fl_Text_Buffer_next_char, METH_VARARGS, (char *)"Fl_Text_Buffer_next_char(Fl_Text_Buffer self, int ix) -> int"}, { (char *)"Fl_Text_Buffer_next_char_clipped", _wrap_Fl_Text_Buffer_next_char_clipped, METH_VARARGS, (char *)"Fl_Text_Buffer_next_char_clipped(Fl_Text_Buffer self, int ix) -> int"}, { (char *)"Fl_Text_Buffer_utf8_align", _wrap_Fl_Text_Buffer_utf8_align, METH_VARARGS, (char *)"Fl_Text_Buffer_utf8_align(Fl_Text_Buffer self, int arg1) -> int"}, { (char *)"Fl_Text_Buffer_add_modify_callback", _wrap_Fl_Text_Buffer_add_modify_callback, METH_VARARGS, (char *)"\n" "add_modify_callback(Fl_Text_Modify_Cb bufModifiedCB, void cbArg)\n" "Fl_Text_Buffer_add_modify_callback(Fl_Text_Buffer self, PyObject PyFunc, PyObject PyTarget = None)\n" ""}, { (char *)"Fl_Text_Buffer_remove_modify_callback", _wrap_Fl_Text_Buffer_remove_modify_callback, METH_VARARGS, (char *)"\n" "remove_modify_callback(Fl_Text_Modify_Cb bufModifiedCB, void cbArg)\n" "Fl_Text_Buffer_remove_modify_callback(Fl_Text_Buffer self, PyObject PyFunc, PyObject PyWidget, \n" " PyObject PyTarget)\n" ""}, { (char *)"Fl_Text_Buffer_swigregister", Fl_Text_Buffer_swigregister, METH_VARARGS, NULL}, { (char *)"new_Style_Table_Entry", _wrap_new_Style_Table_Entry, METH_VARARGS, (char *)"new_Style_Table_Entry() -> Style_Table_Entry"}, { (char *)"delete_Style_Table_Entry", _wrap_delete_Style_Table_Entry, METH_VARARGS, (char *)"delete_Style_Table_Entry(Style_Table_Entry self)"}, { (char *)"Style_Table_Entry_swigregister", Style_Table_Entry_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Text_Display", _wrap_new_Fl_Text_Display, METH_VARARGS, (char *)"new_Fl_Text_Display(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Text_Display"}, { (char *)"delete_Fl_Text_Display", _wrap_delete_Fl_Text_Display, METH_VARARGS, (char *)"delete_Fl_Text_Display(Fl_Text_Display self)"}, { (char *)"Fl_Text_Display_handle", _wrap_Fl_Text_Display_handle, METH_VARARGS, (char *)"Fl_Text_Display_handle(Fl_Text_Display self, int e) -> int"}, { (char *)"Fl_Text_Display_buffer", _wrap_Fl_Text_Display_buffer, METH_VARARGS, (char *)"\n" "buffer(Fl_Text_Buffer buf)\n" "Fl_Text_Display_buffer(Fl_Text_Display self) -> Fl_Text_Buffer\n" ""}, { (char *)"Fl_Text_Display_redisplay_range", _wrap_Fl_Text_Display_redisplay_range, METH_VARARGS, (char *)"Fl_Text_Display_redisplay_range(Fl_Text_Display self, int start, int end)"}, { (char *)"Fl_Text_Display_scroll", _wrap_Fl_Text_Display_scroll, METH_VARARGS, (char *)"Fl_Text_Display_scroll(Fl_Text_Display self, int topLineNum, int horizOffset)"}, { (char *)"Fl_Text_Display_insert", _wrap_Fl_Text_Display_insert, METH_VARARGS, (char *)"Fl_Text_Display_insert(Fl_Text_Display self, char text)"}, { (char *)"Fl_Text_Display_overstrike", _wrap_Fl_Text_Display_overstrike, METH_VARARGS, (char *)"Fl_Text_Display_overstrike(Fl_Text_Display self, char text)"}, { (char *)"Fl_Text_Display_insert_position", _wrap_Fl_Text_Display_insert_position, METH_VARARGS, (char *)"\n" "insert_position(int newPos)\n" "Fl_Text_Display_insert_position(Fl_Text_Display self) -> int\n" ""}, { (char *)"Fl_Text_Display_position_to_xy", _wrap_Fl_Text_Display_position_to_xy, METH_VARARGS, (char *)"Fl_Text_Display_position_to_xy(Fl_Text_Display self, int pos, int x, int y) -> int"}, { (char *)"Fl_Text_Display_in_selection", _wrap_Fl_Text_Display_in_selection, METH_VARARGS, (char *)"Fl_Text_Display_in_selection(Fl_Text_Display self, int x, int y) -> int"}, { (char *)"Fl_Text_Display_show_insert_position", _wrap_Fl_Text_Display_show_insert_position, METH_VARARGS, (char *)"Fl_Text_Display_show_insert_position(Fl_Text_Display self)"}, { (char *)"Fl_Text_Display_move_right", _wrap_Fl_Text_Display_move_right, METH_VARARGS, (char *)"Fl_Text_Display_move_right(Fl_Text_Display self) -> int"}, { (char *)"Fl_Text_Display_move_left", _wrap_Fl_Text_Display_move_left, METH_VARARGS, (char *)"Fl_Text_Display_move_left(Fl_Text_Display self) -> int"}, { (char *)"Fl_Text_Display_move_up", _wrap_Fl_Text_Display_move_up, METH_VARARGS, (char *)"Fl_Text_Display_move_up(Fl_Text_Display self) -> int"}, { (char *)"Fl_Text_Display_move_down", _wrap_Fl_Text_Display_move_down, METH_VARARGS, (char *)"Fl_Text_Display_move_down(Fl_Text_Display self) -> int"}, { (char *)"Fl_Text_Display_count_lines", _wrap_Fl_Text_Display_count_lines, METH_VARARGS, (char *)"Fl_Text_Display_count_lines(Fl_Text_Display self, int start, int end, bool start_pos_is_line_start) -> int"}, { (char *)"Fl_Text_Display_line_start", _wrap_Fl_Text_Display_line_start, METH_VARARGS, (char *)"Fl_Text_Display_line_start(Fl_Text_Display self, int pos) -> int"}, { (char *)"Fl_Text_Display_line_end", _wrap_Fl_Text_Display_line_end, METH_VARARGS, (char *)"Fl_Text_Display_line_end(Fl_Text_Display self, int startPos, bool startPosIsLineStart) -> int"}, { (char *)"Fl_Text_Display_skip_lines", _wrap_Fl_Text_Display_skip_lines, METH_VARARGS, (char *)"Fl_Text_Display_skip_lines(Fl_Text_Display self, int startPos, int nLines, bool startPosIsLineStart) -> int"}, { (char *)"Fl_Text_Display_rewind_lines", _wrap_Fl_Text_Display_rewind_lines, METH_VARARGS, (char *)"Fl_Text_Display_rewind_lines(Fl_Text_Display self, int startPos, int nLines) -> int"}, { (char *)"Fl_Text_Display_next_word", _wrap_Fl_Text_Display_next_word, METH_VARARGS, (char *)"Fl_Text_Display_next_word(Fl_Text_Display self)"}, { (char *)"Fl_Text_Display_previous_word", _wrap_Fl_Text_Display_previous_word, METH_VARARGS, (char *)"Fl_Text_Display_previous_word(Fl_Text_Display self)"}, { (char *)"Fl_Text_Display_show_cursor", _wrap_Fl_Text_Display_show_cursor, METH_VARARGS, (char *)"Fl_Text_Display_show_cursor(Fl_Text_Display self, int b = 1)"}, { (char *)"Fl_Text_Display_hide_cursor", _wrap_Fl_Text_Display_hide_cursor, METH_VARARGS, (char *)"Fl_Text_Display_hide_cursor(Fl_Text_Display self)"}, { (char *)"Fl_Text_Display_cursor_style", _wrap_Fl_Text_Display_cursor_style, METH_VARARGS, (char *)"Fl_Text_Display_cursor_style(Fl_Text_Display self, int style)"}, { (char *)"Fl_Text_Display_cursor_color", _wrap_Fl_Text_Display_cursor_color, METH_VARARGS, (char *)"\n" "cursor_color() -> Fl_Color\n" "Fl_Text_Display_cursor_color(Fl_Text_Display self, Fl_Color n)\n" ""}, { (char *)"Fl_Text_Display_scrollbar_width", _wrap_Fl_Text_Display_scrollbar_width, METH_VARARGS, (char *)"\n" "scrollbar_width() -> int\n" "Fl_Text_Display_scrollbar_width(Fl_Text_Display self, int W)\n" ""}, { (char *)"Fl_Text_Display_scrollbar_align", _wrap_Fl_Text_Display_scrollbar_align, METH_VARARGS, (char *)"\n" "scrollbar_align() -> Fl_Align\n" "Fl_Text_Display_scrollbar_align(Fl_Text_Display self, Fl_Align a)\n" ""}, { (char *)"Fl_Text_Display_word_start", _wrap_Fl_Text_Display_word_start, METH_VARARGS, (char *)"Fl_Text_Display_word_start(Fl_Text_Display self, int pos) -> int"}, { (char *)"Fl_Text_Display_word_end", _wrap_Fl_Text_Display_word_end, METH_VARARGS, (char *)"Fl_Text_Display_word_end(Fl_Text_Display self, int pos) -> int"}, { (char *)"Fl_Text_Display_position_style", _wrap_Fl_Text_Display_position_style, METH_VARARGS, (char *)"\n" "Fl_Text_Display_position_style(Fl_Text_Display self, int lineStartPos, int lineLen, \n" " int lineIndex) -> int\n" ""}, { (char *)"Fl_Text_Display_shortcut", _wrap_Fl_Text_Display_shortcut, METH_VARARGS, (char *)"\n" "shortcut() -> int\n" "Fl_Text_Display_shortcut(Fl_Text_Display self, int s)\n" ""}, { (char *)"Fl_Text_Display_textfont", _wrap_Fl_Text_Display_textfont, METH_VARARGS, (char *)"\n" "textfont() -> Fl_Font\n" "Fl_Text_Display_textfont(Fl_Text_Display self, Fl_Font s)\n" ""}, { (char *)"Fl_Text_Display_textsize", _wrap_Fl_Text_Display_textsize, METH_VARARGS, (char *)"\n" "textsize() -> Fl_Fontsize\n" "Fl_Text_Display_textsize(Fl_Text_Display self, Fl_Fontsize s)\n" ""}, { (char *)"Fl_Text_Display_textcolor", _wrap_Fl_Text_Display_textcolor, METH_VARARGS, (char *)"\n" "textcolor() -> Fl_Color\n" "Fl_Text_Display_textcolor(Fl_Text_Display self, Fl_Color n)\n" ""}, { (char *)"Fl_Text_Display_wrapped_column", _wrap_Fl_Text_Display_wrapped_column, METH_VARARGS, (char *)"Fl_Text_Display_wrapped_column(Fl_Text_Display self, int row, int column) -> int"}, { (char *)"Fl_Text_Display_wrapped_row", _wrap_Fl_Text_Display_wrapped_row, METH_VARARGS, (char *)"Fl_Text_Display_wrapped_row(Fl_Text_Display self, int row) -> int"}, { (char *)"Fl_Text_Display_wrap_mode", _wrap_Fl_Text_Display_wrap_mode, METH_VARARGS, (char *)"Fl_Text_Display_wrap_mode(Fl_Text_Display self, int wrap, int wrap_margin)"}, { (char *)"Fl_Text_Display_resize", _wrap_Fl_Text_Display_resize, METH_VARARGS, (char *)"Fl_Text_Display_resize(Fl_Text_Display self, int X, int Y, int W, int H)"}, { (char *)"Fl_Text_Display_x_to_col", _wrap_Fl_Text_Display_x_to_col, METH_VARARGS, (char *)"Fl_Text_Display_x_to_col(Fl_Text_Display self, double x) -> double"}, { (char *)"Fl_Text_Display_col_to_x", _wrap_Fl_Text_Display_col_to_x, METH_VARARGS, (char *)"Fl_Text_Display_col_to_x(Fl_Text_Display self, double col) -> double"}, { (char *)"Fl_Text_Display_draw", _wrap_Fl_Text_Display_draw, METH_VARARGS, (char *)"Fl_Text_Display_draw(Fl_Text_Display self)"}, { (char *)"Fl_Text_Display_highlight_data", _wrap_Fl_Text_Display_highlight_data, METH_VARARGS, (char *)"\n" "Fl_Text_Display_highlight_data(Fl_Text_Display self, Fl_Text_Buffer styleBuffer, styleTable, \n" " int nStyles, char unfinishedStyle, \n" " PyObject func, PyObject cbArg)\n" ""}, { (char *)"disown_Fl_Text_Display", _wrap_disown_Fl_Text_Display, METH_VARARGS, NULL}, { (char *)"Fl_Text_Display_swigregister", Fl_Text_Display_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Text_Editor", _wrap_new_Fl_Text_Editor, METH_VARARGS, (char *)"new_Fl_Text_Editor(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Text_Editor"}, { (char *)"delete_Fl_Text_Editor", _wrap_delete_Fl_Text_Editor, METH_VARARGS, (char *)"delete_Fl_Text_Editor(Fl_Text_Editor self)"}, { (char *)"Fl_Text_Editor_handle", _wrap_Fl_Text_Editor_handle, METH_VARARGS, (char *)"Fl_Text_Editor_handle(Fl_Text_Editor self, int e) -> int"}, { (char *)"Fl_Text_Editor_insert_mode", _wrap_Fl_Text_Editor_insert_mode, METH_VARARGS, (char *)"\n" "insert_mode(int b)\n" "Fl_Text_Editor_insert_mode(Fl_Text_Editor self) -> int\n" ""}, { (char *)"Fl_Text_Editor_add_key_binding", _wrap_Fl_Text_Editor_add_key_binding, METH_VARARGS, (char *)"Fl_Text_Editor_add_key_binding(Fl_Text_Editor self, int key, int state, Key_Func f)"}, { (char *)"Fl_Text_Editor_remove_key_binding", _wrap_Fl_Text_Editor_remove_key_binding, METH_VARARGS, (char *)"Fl_Text_Editor_remove_key_binding(Fl_Text_Editor self, int key, int state)"}, { (char *)"Fl_Text_Editor_remove_all_key_bindings", _wrap_Fl_Text_Editor_remove_all_key_bindings, METH_VARARGS, (char *)"Fl_Text_Editor_remove_all_key_bindings(Fl_Text_Editor self)"}, { (char *)"Fl_Text_Editor_bound_key_function", _wrap_Fl_Text_Editor_bound_key_function, METH_VARARGS, (char *)"Fl_Text_Editor_bound_key_function(Fl_Text_Editor self, int key, int state) -> Key_Func"}, { (char *)"Fl_Text_Editor_default_key_function", _wrap_Fl_Text_Editor_default_key_function, METH_VARARGS, (char *)"Fl_Text_Editor_default_key_function(Fl_Text_Editor self, Key_Func f)"}, { (char *)"Fl_Text_Editor_kf_default", _wrap_Fl_Text_Editor_kf_default, METH_VARARGS, (char *)"Fl_Text_Editor_kf_default(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_ignore", _wrap_Fl_Text_Editor_kf_ignore, METH_VARARGS, (char *)"Fl_Text_Editor_kf_ignore(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_backspace", _wrap_Fl_Text_Editor_kf_backspace, METH_VARARGS, (char *)"Fl_Text_Editor_kf_backspace(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_enter", _wrap_Fl_Text_Editor_kf_enter, METH_VARARGS, (char *)"Fl_Text_Editor_kf_enter(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_move", _wrap_Fl_Text_Editor_kf_move, METH_VARARGS, (char *)"Fl_Text_Editor_kf_move(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_shift_move", _wrap_Fl_Text_Editor_kf_shift_move, METH_VARARGS, (char *)"Fl_Text_Editor_kf_shift_move(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_ctrl_move", _wrap_Fl_Text_Editor_kf_ctrl_move, METH_VARARGS, (char *)"Fl_Text_Editor_kf_ctrl_move(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_c_s_move", _wrap_Fl_Text_Editor_kf_c_s_move, METH_VARARGS, (char *)"Fl_Text_Editor_kf_c_s_move(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_meta_move", _wrap_Fl_Text_Editor_kf_meta_move, METH_VARARGS, (char *)"Fl_Text_Editor_kf_meta_move(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_m_s_move", _wrap_Fl_Text_Editor_kf_m_s_move, METH_VARARGS, (char *)"Fl_Text_Editor_kf_m_s_move(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_home", _wrap_Fl_Text_Editor_kf_home, METH_VARARGS, (char *)"Fl_Text_Editor_kf_home(int arg0, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_end", _wrap_Fl_Text_Editor_kf_end, METH_VARARGS, (char *)"Fl_Text_Editor_kf_end(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_left", _wrap_Fl_Text_Editor_kf_left, METH_VARARGS, (char *)"Fl_Text_Editor_kf_left(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_up", _wrap_Fl_Text_Editor_kf_up, METH_VARARGS, (char *)"Fl_Text_Editor_kf_up(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_right", _wrap_Fl_Text_Editor_kf_right, METH_VARARGS, (char *)"Fl_Text_Editor_kf_right(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_down", _wrap_Fl_Text_Editor_kf_down, METH_VARARGS, (char *)"Fl_Text_Editor_kf_down(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_page_up", _wrap_Fl_Text_Editor_kf_page_up, METH_VARARGS, (char *)"Fl_Text_Editor_kf_page_up(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_page_down", _wrap_Fl_Text_Editor_kf_page_down, METH_VARARGS, (char *)"Fl_Text_Editor_kf_page_down(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_insert", _wrap_Fl_Text_Editor_kf_insert, METH_VARARGS, (char *)"Fl_Text_Editor_kf_insert(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_delete", _wrap_Fl_Text_Editor_kf_delete, METH_VARARGS, (char *)"Fl_Text_Editor_kf_delete(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_copy", _wrap_Fl_Text_Editor_kf_copy, METH_VARARGS, (char *)"Fl_Text_Editor_kf_copy(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_cut", _wrap_Fl_Text_Editor_kf_cut, METH_VARARGS, (char *)"Fl_Text_Editor_kf_cut(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_paste", _wrap_Fl_Text_Editor_kf_paste, METH_VARARGS, (char *)"Fl_Text_Editor_kf_paste(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_select_all", _wrap_Fl_Text_Editor_kf_select_all, METH_VARARGS, (char *)"Fl_Text_Editor_kf_select_all(int c, Fl_Text_Editor e) -> int"}, { (char *)"Fl_Text_Editor_kf_undo", _wrap_Fl_Text_Editor_kf_undo, METH_VARARGS, (char *)"Fl_Text_Editor_kf_undo(int c, Fl_Text_Editor e) -> int"}, { (char *)"disown_Fl_Text_Editor", _wrap_disown_Fl_Text_Editor, METH_VARARGS, NULL}, { (char *)"Fl_Text_Editor_draw", _wrap_Fl_Text_Editor_draw, METH_VARARGS, (char *)"Fl_Text_Editor_draw(Fl_Text_Editor self)"}, { (char *)"Fl_Text_Editor_swigregister", Fl_Text_Editor_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Tile_handle", _wrap_Fl_Tile_handle, METH_VARARGS, (char *)"Fl_Tile_handle(Fl_Tile self, int arg0) -> int"}, { (char *)"new_Fl_Tile", _wrap_new_Fl_Tile, METH_VARARGS, (char *)"new_Fl_Tile(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Tile"}, { (char *)"Fl_Tile_resize", _wrap_Fl_Tile_resize, METH_VARARGS, (char *)"Fl_Tile_resize(Fl_Tile self, int arg0, int arg1, int arg2, int arg3)"}, { (char *)"Fl_Tile_position", _wrap_Fl_Tile_position, METH_VARARGS, (char *)"Fl_Tile_position(Fl_Tile self, int arg1, int arg2, int arg3, int arg4)"}, { (char *)"delete_Fl_Tile", _wrap_delete_Fl_Tile, METH_VARARGS, (char *)"delete_Fl_Tile(Fl_Tile self)"}, { (char *)"disown_Fl_Tile", _wrap_disown_Fl_Tile, METH_VARARGS, NULL}, { (char *)"Fl_Tile_draw", _wrap_Fl_Tile_draw, METH_VARARGS, (char *)"Fl_Tile_draw(Fl_Tile self)"}, { (char *)"Fl_Tile_swigregister", Fl_Tile_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Tiled_Image", _wrap_new_Fl_Tiled_Image, METH_VARARGS, (char *)"new_Fl_Tiled_Image(PyObject self, Fl_Image i, int W = 0, int H = 0) -> Fl_Tiled_Image"}, { (char *)"delete_Fl_Tiled_Image", _wrap_delete_Fl_Tiled_Image, METH_VARARGS, (char *)"delete_Fl_Tiled_Image(Fl_Tiled_Image self)"}, { (char *)"Fl_Tiled_Image_copy", _wrap_Fl_Tiled_Image_copy, METH_VARARGS, (char *)"\n" "copy(int W, int H) -> Fl_Image\n" "Fl_Tiled_Image_copy(Fl_Tiled_Image self) -> Fl_Image\n" ""}, { (char *)"Fl_Tiled_Image_color_average", _wrap_Fl_Tiled_Image_color_average, METH_VARARGS, (char *)"Fl_Tiled_Image_color_average(Fl_Tiled_Image self, Fl_Color c, float i)"}, { (char *)"Fl_Tiled_Image_desaturate", _wrap_Fl_Tiled_Image_desaturate, METH_VARARGS, (char *)"Fl_Tiled_Image_desaturate(Fl_Tiled_Image self)"}, { (char *)"Fl_Tiled_Image_draw", _wrap_Fl_Tiled_Image_draw, METH_VARARGS, (char *)"\n" "draw(int X, int Y, int W, int H, int cx, int cy)\n" "Fl_Tiled_Image_draw(Fl_Tiled_Image self, int X, int Y)\n" ""}, { (char *)"Fl_Tiled_Image_image", _wrap_Fl_Tiled_Image_image, METH_VARARGS, (char *)"Fl_Tiled_Image_image(Fl_Tiled_Image self) -> Fl_Image"}, { (char *)"disown_Fl_Tiled_Image", _wrap_disown_Fl_Tiled_Image, METH_VARARGS, NULL}, { (char *)"Fl_Tiled_Image_swigregister", Fl_Tiled_Image_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Timer_draw", _wrap_Fl_Timer_draw, METH_VARARGS, (char *)"Fl_Timer_draw(Fl_Timer self)"}, { (char *)"Fl_Timer_handle", _wrap_Fl_Timer_handle, METH_VARARGS, (char *)"Fl_Timer_handle(Fl_Timer self, int arg0) -> int"}, { (char *)"new_Fl_Timer", _wrap_new_Fl_Timer, METH_VARARGS, (char *)"\n" "new_Fl_Timer(PyObject self, uchar t, int x, int y, int w, int h, \n" " char l) -> Fl_Timer\n" ""}, { (char *)"delete_Fl_Timer", _wrap_delete_Fl_Timer, METH_VARARGS, (char *)"delete_Fl_Timer(Fl_Timer self)"}, { (char *)"Fl_Timer_value", _wrap_Fl_Timer_value, METH_VARARGS, (char *)"\n" "value(double arg0)\n" "Fl_Timer_value(Fl_Timer self) -> double\n" ""}, { (char *)"Fl_Timer_direction", _wrap_Fl_Timer_direction, METH_VARARGS, (char *)"\n" "direction() -> char\n" "Fl_Timer_direction(Fl_Timer self, char d)\n" ""}, { (char *)"Fl_Timer_suspended", _wrap_Fl_Timer_suspended, METH_VARARGS, (char *)"\n" "suspended() -> char\n" "Fl_Timer_suspended(Fl_Timer self, char d)\n" ""}, { (char *)"disown_Fl_Timer", _wrap_disown_Fl_Timer, METH_VARARGS, NULL}, { (char *)"Fl_Timer_swigregister", Fl_Timer_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Toggle_Button", _wrap_new_Fl_Toggle_Button, METH_VARARGS, (char *)"new_Fl_Toggle_Button(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Toggle_Button"}, { (char *)"delete_Fl_Toggle_Button", _wrap_delete_Fl_Toggle_Button, METH_VARARGS, (char *)"delete_Fl_Toggle_Button(Fl_Toggle_Button self)"}, { (char *)"disown_Fl_Toggle_Button", _wrap_disown_Fl_Toggle_Button, METH_VARARGS, NULL}, { (char *)"Fl_Toggle_Button_draw", _wrap_Fl_Toggle_Button_draw, METH_VARARGS, (char *)"Fl_Toggle_Button_draw(Fl_Toggle_Button self)"}, { (char *)"Fl_Toggle_Button_swigregister", Fl_Toggle_Button_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Tooltip_delay", _wrap_Fl_Tooltip_delay, METH_VARARGS, (char *)"\n" "delay() -> float\n" "Fl_Tooltip_delay(float f)\n" ""}, { (char *)"Fl_Tooltip_hoverdelay", _wrap_Fl_Tooltip_hoverdelay, METH_VARARGS, (char *)"\n" "hoverdelay() -> float\n" "Fl_Tooltip_hoverdelay(float f)\n" ""}, { (char *)"Fl_Tooltip_enabled", _wrap_Fl_Tooltip_enabled, METH_VARARGS, (char *)"Fl_Tooltip_enabled() -> int"}, { (char *)"Fl_Tooltip_enable", _wrap_Fl_Tooltip_enable, METH_VARARGS, (char *)"Fl_Tooltip_enable(int b = 1)"}, { (char *)"Fl_Tooltip_disable", _wrap_Fl_Tooltip_disable, METH_VARARGS, (char *)"Fl_Tooltip_disable()"}, { (char *)"Fl_Tooltip_enter_area", _wrap_Fl_Tooltip_enter_area, METH_VARARGS, (char *)"Fl_Tooltip_enter_area(Fl_Widget w, int X, int Y, int W, int H, char tip)"}, { (char *)"Fl_Tooltip_current", _wrap_Fl_Tooltip_current, METH_VARARGS, (char *)"\n" "current() -> Fl_Widget\n" "Fl_Tooltip_current(Fl_Widget arg0)\n" ""}, { (char *)"Fl_Tooltip_font", _wrap_Fl_Tooltip_font, METH_VARARGS, (char *)"\n" "font() -> Fl_Font\n" "Fl_Tooltip_font(Fl_Font i)\n" ""}, { (char *)"Fl_Tooltip_size", _wrap_Fl_Tooltip_size, METH_VARARGS, (char *)"\n" "size() -> Fl_Fontsize\n" "Fl_Tooltip_size(Fl_Fontsize s)\n" ""}, { (char *)"Fl_Tooltip_color", _wrap_Fl_Tooltip_color, METH_VARARGS, (char *)"\n" "color() -> Fl_Color\n" "Fl_Tooltip_color(Fl_Color c)\n" ""}, { (char *)"Fl_Tooltip_textcolor", _wrap_Fl_Tooltip_textcolor, METH_VARARGS, (char *)"\n" "textcolor() -> Fl_Color\n" "Fl_Tooltip_textcolor(Fl_Color c)\n" ""}, { (char *)"new_Fl_Tooltip", _wrap_new_Fl_Tooltip, METH_VARARGS, (char *)"new_Fl_Tooltip() -> Fl_Tooltip"}, { (char *)"delete_Fl_Tooltip", _wrap_delete_Fl_Tooltip, METH_VARARGS, (char *)"delete_Fl_Tooltip(Fl_Tooltip self)"}, { (char *)"Fl_Tooltip_swigregister", Fl_Tooltip_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Value_Output_draw", _wrap_Fl_Value_Output_draw, METH_VARARGS, (char *)"Fl_Value_Output_draw(Fl_Value_Output self)"}, { (char *)"Fl_Value_Output_handle", _wrap_Fl_Value_Output_handle, METH_VARARGS, (char *)"Fl_Value_Output_handle(Fl_Value_Output self, int arg0) -> int"}, { (char *)"new_Fl_Value_Output", _wrap_new_Fl_Value_Output, METH_VARARGS, (char *)"new_Fl_Value_Output(PyObject self, int x, int y, int w, int h, char l = None) -> Fl_Value_Output"}, { (char *)"Fl_Value_Output_soft", _wrap_Fl_Value_Output_soft, METH_VARARGS, (char *)"\n" "soft(uchar s)\n" "Fl_Value_Output_soft(Fl_Value_Output self) -> uchar\n" ""}, { (char *)"Fl_Value_Output_textfont", _wrap_Fl_Value_Output_textfont, METH_VARARGS, (char *)"\n" "textfont() -> Fl_Font\n" "Fl_Value_Output_textfont(Fl_Value_Output self, Fl_Font s)\n" ""}, { (char *)"Fl_Value_Output_textsize", _wrap_Fl_Value_Output_textsize, METH_VARARGS, (char *)"\n" "textsize() -> Fl_Fontsize\n" "Fl_Value_Output_textsize(Fl_Value_Output self, Fl_Fontsize s)\n" ""}, { (char *)"Fl_Value_Output_textcolor", _wrap_Fl_Value_Output_textcolor, METH_VARARGS, (char *)"\n" "textcolor() -> Fl_Color\n" "Fl_Value_Output_textcolor(Fl_Value_Output self, Fl_Color s)\n" ""}, { (char *)"delete_Fl_Value_Output", _wrap_delete_Fl_Value_Output, METH_VARARGS, (char *)"delete_Fl_Value_Output(Fl_Value_Output self)"}, { (char *)"disown_Fl_Value_Output", _wrap_disown_Fl_Value_Output, METH_VARARGS, NULL}, { (char *)"Fl_Value_Output_swigregister", Fl_Value_Output_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Wizard", _wrap_new_Fl_Wizard, METH_VARARGS, (char *)"\n" "new_Fl_Wizard(PyObject self, int arg1, int arg2, int arg3, int arg4, \n" " char arg5 = None) -> Fl_Wizard\n" ""}, { (char *)"Fl_Wizard_next", _wrap_Fl_Wizard_next, METH_VARARGS, (char *)"Fl_Wizard_next(Fl_Wizard self)"}, { (char *)"Fl_Wizard_prev", _wrap_Fl_Wizard_prev, METH_VARARGS, (char *)"Fl_Wizard_prev(Fl_Wizard self)"}, { (char *)"Fl_Wizard_value", _wrap_Fl_Wizard_value, METH_VARARGS, (char *)"\n" "value() -> Fl_Widget\n" "Fl_Wizard_value(Fl_Wizard self, Fl_Widget arg1)\n" ""}, { (char *)"delete_Fl_Wizard", _wrap_delete_Fl_Wizard, METH_VARARGS, (char *)"delete_Fl_Wizard(Fl_Wizard self)"}, { (char *)"disown_Fl_Wizard", _wrap_disown_Fl_Wizard, METH_VARARGS, NULL}, { (char *)"Fl_Wizard_draw", _wrap_Fl_Wizard_draw, METH_VARARGS, (char *)"Fl_Wizard_draw(Fl_Wizard self)"}, { (char *)"Fl_Wizard_swigregister", Fl_Wizard_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_XBM_Image", _wrap_new_Fl_XBM_Image, METH_VARARGS, (char *)"new_Fl_XBM_Image(PyObject self, char filename) -> Fl_XBM_Image"}, { (char *)"delete_Fl_XBM_Image", _wrap_delete_Fl_XBM_Image, METH_VARARGS, (char *)"delete_Fl_XBM_Image(Fl_XBM_Image self)"}, { (char *)"disown_Fl_XBM_Image", _wrap_disown_Fl_XBM_Image, METH_VARARGS, NULL}, { (char *)"Fl_XBM_Image_swigregister", Fl_XBM_Image_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_XPM_Image", _wrap_new_Fl_XPM_Image, METH_VARARGS, (char *)"new_Fl_XPM_Image(PyObject self, char filename) -> Fl_XPM_Image"}, { (char *)"delete_Fl_XPM_Image", _wrap_delete_Fl_XPM_Image, METH_VARARGS, (char *)"delete_Fl_XPM_Image(Fl_XPM_Image self)"}, { (char *)"disown_Fl_XPM_Image", _wrap_disown_Fl_XPM_Image, METH_VARARGS, NULL}, { (char *)"Fl_XPM_Image_swigregister", Fl_XPM_Image_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Tree_Prefs", _wrap_new_Fl_Tree_Prefs, METH_VARARGS, (char *)"new_Fl_Tree_Prefs() -> Fl_Tree_Prefs"}, { (char *)"Fl_Tree_Prefs_labelfont", _wrap_Fl_Tree_Prefs_labelfont, METH_VARARGS, (char *)"\n" "labelfont() -> Fl_Font\n" "Fl_Tree_Prefs_labelfont(Fl_Tree_Prefs self, Fl_Font val)\n" ""}, { (char *)"Fl_Tree_Prefs_labelsize", _wrap_Fl_Tree_Prefs_labelsize, METH_VARARGS, (char *)"\n" "labelsize() -> Fl_Fontsize\n" "Fl_Tree_Prefs_labelsize(Fl_Tree_Prefs self, Fl_Fontsize val)\n" ""}, { (char *)"Fl_Tree_Prefs_marginleft", _wrap_Fl_Tree_Prefs_marginleft, METH_VARARGS, (char *)"\n" "marginleft() -> int\n" "Fl_Tree_Prefs_marginleft(Fl_Tree_Prefs self, int val)\n" ""}, { (char *)"Fl_Tree_Prefs_margintop", _wrap_Fl_Tree_Prefs_margintop, METH_VARARGS, (char *)"\n" "margintop() -> int\n" "Fl_Tree_Prefs_margintop(Fl_Tree_Prefs self, int val)\n" ""}, { (char *)"Fl_Tree_Prefs_openchild_marginbottom", _wrap_Fl_Tree_Prefs_openchild_marginbottom, METH_VARARGS, (char *)"\n" "openchild_marginbottom() -> int\n" "Fl_Tree_Prefs_openchild_marginbottom(Fl_Tree_Prefs self, int val)\n" ""}, { (char *)"Fl_Tree_Prefs_usericonmarginleft", _wrap_Fl_Tree_Prefs_usericonmarginleft, METH_VARARGS, (char *)"\n" "usericonmarginleft() -> int\n" "Fl_Tree_Prefs_usericonmarginleft(Fl_Tree_Prefs self, int val)\n" ""}, { (char *)"Fl_Tree_Prefs_labelmarginleft", _wrap_Fl_Tree_Prefs_labelmarginleft, METH_VARARGS, (char *)"\n" "labelmarginleft() -> int\n" "Fl_Tree_Prefs_labelmarginleft(Fl_Tree_Prefs self, int val)\n" ""}, { (char *)"Fl_Tree_Prefs_linespacing", _wrap_Fl_Tree_Prefs_linespacing, METH_VARARGS, (char *)"\n" "linespacing() -> int\n" "Fl_Tree_Prefs_linespacing(Fl_Tree_Prefs self, int val)\n" ""}, { (char *)"Fl_Tree_Prefs_labelfgcolor", _wrap_Fl_Tree_Prefs_labelfgcolor, METH_VARARGS, (char *)"\n" "labelfgcolor() -> Fl_Color\n" "Fl_Tree_Prefs_labelfgcolor(Fl_Tree_Prefs self, Fl_Color val)\n" ""}, { (char *)"Fl_Tree_Prefs_labelbgcolor", _wrap_Fl_Tree_Prefs_labelbgcolor, METH_VARARGS, (char *)"\n" "labelbgcolor() -> Fl_Color\n" "Fl_Tree_Prefs_labelbgcolor(Fl_Tree_Prefs self, Fl_Color val)\n" ""}, { (char *)"Fl_Tree_Prefs_connectorcolor", _wrap_Fl_Tree_Prefs_connectorcolor, METH_VARARGS, (char *)"\n" "connectorcolor() -> Fl_Color\n" "Fl_Tree_Prefs_connectorcolor(Fl_Tree_Prefs self, Fl_Color val)\n" ""}, { (char *)"Fl_Tree_Prefs_connectorstyle", _wrap_Fl_Tree_Prefs_connectorstyle, METH_VARARGS, (char *)"\n" "connectorstyle() -> Fl_Tree_Connector\n" "connectorstyle(Fl_Tree_Connector val)\n" "Fl_Tree_Prefs_connectorstyle(Fl_Tree_Prefs self, int val)\n" ""}, { (char *)"Fl_Tree_Prefs_connectorwidth", _wrap_Fl_Tree_Prefs_connectorwidth, METH_VARARGS, (char *)"\n" "connectorwidth() -> int\n" "Fl_Tree_Prefs_connectorwidth(Fl_Tree_Prefs self, int val)\n" ""}, { (char *)"Fl_Tree_Prefs_openicon", _wrap_Fl_Tree_Prefs_openicon, METH_VARARGS, (char *)"\n" "openicon() -> Fl_Image\n" "Fl_Tree_Prefs_openicon(Fl_Tree_Prefs self, Fl_Image val)\n" ""}, { (char *)"Fl_Tree_Prefs_closeicon", _wrap_Fl_Tree_Prefs_closeicon, METH_VARARGS, (char *)"\n" "closeicon() -> Fl_Image\n" "Fl_Tree_Prefs_closeicon(Fl_Tree_Prefs self, Fl_Image val)\n" ""}, { (char *)"Fl_Tree_Prefs_usericon", _wrap_Fl_Tree_Prefs_usericon, METH_VARARGS, (char *)"\n" "usericon() -> Fl_Image\n" "Fl_Tree_Prefs_usericon(Fl_Tree_Prefs self, Fl_Image val)\n" ""}, { (char *)"Fl_Tree_Prefs_showcollapse", _wrap_Fl_Tree_Prefs_showcollapse, METH_VARARGS, (char *)"\n" "showcollapse() -> char\n" "Fl_Tree_Prefs_showcollapse(Fl_Tree_Prefs self, int val)\n" ""}, { (char *)"Fl_Tree_Prefs_sortorder", _wrap_Fl_Tree_Prefs_sortorder, METH_VARARGS, (char *)"\n" "sortorder() -> Fl_Tree_Sort\n" "Fl_Tree_Prefs_sortorder(Fl_Tree_Prefs self, Fl_Tree_Sort val)\n" ""}, { (char *)"Fl_Tree_Prefs_selectbox", _wrap_Fl_Tree_Prefs_selectbox, METH_VARARGS, (char *)"\n" "selectbox() -> Fl_Boxtype\n" "Fl_Tree_Prefs_selectbox(Fl_Tree_Prefs self, Fl_Boxtype val)\n" ""}, { (char *)"Fl_Tree_Prefs_showroot", _wrap_Fl_Tree_Prefs_showroot, METH_VARARGS, (char *)"\n" "showroot() -> int\n" "Fl_Tree_Prefs_showroot(Fl_Tree_Prefs self, int val)\n" ""}, { (char *)"Fl_Tree_Prefs_selectmode", _wrap_Fl_Tree_Prefs_selectmode, METH_VARARGS, (char *)"\n" "selectmode() -> Fl_Tree_Select\n" "Fl_Tree_Prefs_selectmode(Fl_Tree_Prefs self, Fl_Tree_Select val)\n" ""}, { (char *)"delete_Fl_Tree_Prefs", _wrap_delete_Fl_Tree_Prefs, METH_VARARGS, (char *)"delete_Fl_Tree_Prefs(Fl_Tree_Prefs self)"}, { (char *)"Fl_Tree_Prefs_swigregister", Fl_Tree_Prefs_swigregister, METH_VARARGS, NULL}, { (char *)"delete_Fl_Tree_Item_Array", _wrap_delete_Fl_Tree_Item_Array, METH_VARARGS, (char *)"delete_Fl_Tree_Item_Array(Fl_Tree_Item_Array self)"}, { (char *)"new_Fl_Tree_Item_Array", _wrap_new_Fl_Tree_Item_Array, METH_VARARGS, (char *)"\n" "Fl_Tree_Item_Array(int new_chunksize = 10)\n" "new_Fl_Tree_Item_Array(Fl_Tree_Item_Array o) -> Fl_Tree_Item_Array\n" ""}, { (char *)"Fl_Tree_Item_Array_total", _wrap_Fl_Tree_Item_Array_total, METH_VARARGS, (char *)"Fl_Tree_Item_Array_total(Fl_Tree_Item_Array self) -> int"}, { (char *)"Fl_Tree_Item_Array_swap", _wrap_Fl_Tree_Item_Array_swap, METH_VARARGS, (char *)"Fl_Tree_Item_Array_swap(Fl_Tree_Item_Array self, int ax, int bx)"}, { (char *)"Fl_Tree_Item_Array_clear", _wrap_Fl_Tree_Item_Array_clear, METH_VARARGS, (char *)"Fl_Tree_Item_Array_clear(Fl_Tree_Item_Array self)"}, { (char *)"Fl_Tree_Item_Array_add", _wrap_Fl_Tree_Item_Array_add, METH_VARARGS, (char *)"Fl_Tree_Item_Array_add(Fl_Tree_Item_Array self, Fl_Tree_Item val)"}, { (char *)"Fl_Tree_Item_Array_insert", _wrap_Fl_Tree_Item_Array_insert, METH_VARARGS, (char *)"Fl_Tree_Item_Array_insert(Fl_Tree_Item_Array self, int pos, Fl_Tree_Item new_item)"}, { (char *)"Fl_Tree_Item_Array_remove", _wrap_Fl_Tree_Item_Array_remove, METH_VARARGS, (char *)"\n" "remove(int index)\n" "Fl_Tree_Item_Array_remove(Fl_Tree_Item_Array self, Fl_Tree_Item item) -> int\n" ""}, { (char *)"Fl_Tree_Item_Array_swigregister", Fl_Tree_Item_Array_swigregister, METH_VARARGS, NULL}, { (char *)"delete_Fl_Tree_Item", _wrap_delete_Fl_Tree_Item, METH_VARARGS, (char *)"delete_Fl_Tree_Item(Fl_Tree_Item self)"}, { (char *)"new_Fl_Tree_Item", _wrap_new_Fl_Tree_Item, METH_VARARGS, (char *)"\n" "Fl_Tree_Item(Fl_Tree_Prefs prefs)\n" "new_Fl_Tree_Item(Fl_Tree_Item o) -> Fl_Tree_Item\n" ""}, { (char *)"Fl_Tree_Item_x", _wrap_Fl_Tree_Item_x, METH_VARARGS, (char *)"Fl_Tree_Item_x(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_y", _wrap_Fl_Tree_Item_y, METH_VARARGS, (char *)"Fl_Tree_Item_y(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_w", _wrap_Fl_Tree_Item_w, METH_VARARGS, (char *)"Fl_Tree_Item_w(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_h", _wrap_Fl_Tree_Item_h, METH_VARARGS, (char *)"Fl_Tree_Item_h(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_draw", _wrap_Fl_Tree_Item_draw, METH_VARARGS, (char *)"\n" "Fl_Tree_Item_draw(Fl_Tree_Item self, int X, int W, Fl_Widget tree, Fl_Tree_Item itemfocus, \n" " Fl_Tree_Prefs prefs, int lastchild = 1)\n" ""}, { (char *)"Fl_Tree_Item_show_self", _wrap_Fl_Tree_Item_show_self, METH_VARARGS, (char *)"Fl_Tree_Item_show_self(Fl_Tree_Item self, char indent = \"\")"}, { (char *)"Fl_Tree_Item_label", _wrap_Fl_Tree_Item_label, METH_VARARGS, (char *)"\n" "label(char val)\n" "Fl_Tree_Item_label(Fl_Tree_Item self) -> char\n" ""}, { (char *)"Fl_Tree_Item_user_data", _wrap_Fl_Tree_Item_user_data, METH_VARARGS, (char *)"\n" "user_data(void data)\n" "Fl_Tree_Item_user_data(Fl_Tree_Item self) -> void\n" ""}, { (char *)"Fl_Tree_Item_labelfont", _wrap_Fl_Tree_Item_labelfont, METH_VARARGS, (char *)"\n" "labelfont(Fl_Font val)\n" "Fl_Tree_Item_labelfont(Fl_Tree_Item self) -> Fl_Font\n" ""}, { (char *)"Fl_Tree_Item_labelsize", _wrap_Fl_Tree_Item_labelsize, METH_VARARGS, (char *)"\n" "labelsize(Fl_Fontsize val)\n" "Fl_Tree_Item_labelsize(Fl_Tree_Item self) -> Fl_Fontsize\n" ""}, { (char *)"Fl_Tree_Item_labelcolor", _wrap_Fl_Tree_Item_labelcolor, METH_VARARGS, (char *)"\n" "labelcolor(Fl_Color val)\n" "Fl_Tree_Item_labelcolor(Fl_Tree_Item self) -> Fl_Color\n" ""}, { (char *)"Fl_Tree_Item_labelfgcolor", _wrap_Fl_Tree_Item_labelfgcolor, METH_VARARGS, (char *)"\n" "labelfgcolor(Fl_Color val)\n" "Fl_Tree_Item_labelfgcolor(Fl_Tree_Item self) -> Fl_Color\n" ""}, { (char *)"Fl_Tree_Item_labelbgcolor", _wrap_Fl_Tree_Item_labelbgcolor, METH_VARARGS, (char *)"\n" "labelbgcolor(Fl_Color val)\n" "Fl_Tree_Item_labelbgcolor(Fl_Tree_Item self) -> Fl_Color\n" ""}, { (char *)"Fl_Tree_Item_widget", _wrap_Fl_Tree_Item_widget, METH_VARARGS, (char *)"\n" "widget(Fl_Widget val)\n" "Fl_Tree_Item_widget(Fl_Tree_Item self) -> Fl_Widget\n" ""}, { (char *)"Fl_Tree_Item_children", _wrap_Fl_Tree_Item_children, METH_VARARGS, (char *)"Fl_Tree_Item_children(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_child", _wrap_Fl_Tree_Item_child, METH_VARARGS, (char *)"\n" "child(int index) -> Fl_Tree_Item\n" "Fl_Tree_Item_child(Fl_Tree_Item self, int t) -> Fl_Tree_Item\n" ""}, { (char *)"Fl_Tree_Item_has_children", _wrap_Fl_Tree_Item_has_children, METH_VARARGS, (char *)"Fl_Tree_Item_has_children(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_find_child", _wrap_Fl_Tree_Item_find_child, METH_VARARGS, (char *)"\n" "find_child(char name) -> int\n" "Fl_Tree_Item_find_child(Fl_Tree_Item self, Fl_Tree_Item item) -> int\n" ""}, { (char *)"Fl_Tree_Item_remove_child", _wrap_Fl_Tree_Item_remove_child, METH_VARARGS, (char *)"\n" "remove_child(Fl_Tree_Item item) -> int\n" "Fl_Tree_Item_remove_child(Fl_Tree_Item self, char new_label) -> int\n" ""}, { (char *)"Fl_Tree_Item_clear_children", _wrap_Fl_Tree_Item_clear_children, METH_VARARGS, (char *)"Fl_Tree_Item_clear_children(Fl_Tree_Item self)"}, { (char *)"Fl_Tree_Item_swap_children", _wrap_Fl_Tree_Item_swap_children, METH_VARARGS, (char *)"\n" "swap_children(int ax, int bx)\n" "Fl_Tree_Item_swap_children(Fl_Tree_Item self, Fl_Tree_Item a, Fl_Tree_Item b) -> int\n" ""}, { (char *)"Fl_Tree_Item_find_child_item", _wrap_Fl_Tree_Item_find_child_item, METH_VARARGS, (char *)"\n" "find_child_item(char arr) -> Fl_Tree_Item\n" "Fl_Tree_Item_find_child_item(Fl_Tree_Item self, char arr) -> Fl_Tree_Item\n" ""}, { (char *)"Fl_Tree_Item_find_item", _wrap_Fl_Tree_Item_find_item, METH_VARARGS, (char *)"\n" "find_item(char arr) -> Fl_Tree_Item\n" "Fl_Tree_Item_find_item(Fl_Tree_Item self, char arr) -> Fl_Tree_Item\n" ""}, { (char *)"Fl_Tree_Item_add", _wrap_Fl_Tree_Item_add, METH_VARARGS, (char *)"\n" "add(Fl_Tree_Prefs prefs, char new_label) -> Fl_Tree_Item\n" "Fl_Tree_Item_add(Fl_Tree_Item self, Fl_Tree_Prefs prefs, char arr) -> Fl_Tree_Item\n" ""}, { (char *)"Fl_Tree_Item_insert", _wrap_Fl_Tree_Item_insert, METH_VARARGS, (char *)"\n" "Fl_Tree_Item_insert(Fl_Tree_Item self, Fl_Tree_Prefs prefs, char new_label, \n" " int pos = 0) -> Fl_Tree_Item\n" ""}, { (char *)"Fl_Tree_Item_insert_above", _wrap_Fl_Tree_Item_insert_above, METH_VARARGS, (char *)"Fl_Tree_Item_insert_above(Fl_Tree_Item self, Fl_Tree_Prefs prefs, char new_label) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_Item_depth", _wrap_Fl_Tree_Item_depth, METH_VARARGS, (char *)"Fl_Tree_Item_depth(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_prev", _wrap_Fl_Tree_Item_prev, METH_VARARGS, (char *)"Fl_Tree_Item_prev(Fl_Tree_Item self) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_Item_next", _wrap_Fl_Tree_Item_next, METH_VARARGS, (char *)"Fl_Tree_Item_next(Fl_Tree_Item self) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_Item_next_sibling", _wrap_Fl_Tree_Item_next_sibling, METH_VARARGS, (char *)"Fl_Tree_Item_next_sibling(Fl_Tree_Item self) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_Item_prev_sibling", _wrap_Fl_Tree_Item_prev_sibling, METH_VARARGS, (char *)"Fl_Tree_Item_prev_sibling(Fl_Tree_Item self) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_Item_next_displayed", _wrap_Fl_Tree_Item_next_displayed, METH_VARARGS, (char *)"Fl_Tree_Item_next_displayed(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_Item_prev_displayed", _wrap_Fl_Tree_Item_prev_displayed, METH_VARARGS, (char *)"Fl_Tree_Item_prev_displayed(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_Item_parent", _wrap_Fl_Tree_Item_parent, METH_VARARGS, (char *)"\n" "parent() -> Fl_Tree_Item\n" "parent() -> Fl_Tree_Item\n" "Fl_Tree_Item_parent(Fl_Tree_Item self, Fl_Tree_Item val)\n" ""}, { (char *)"Fl_Tree_Item_open", _wrap_Fl_Tree_Item_open, METH_VARARGS, (char *)"Fl_Tree_Item_open(Fl_Tree_Item self)"}, { (char *)"Fl_Tree_Item_close", _wrap_Fl_Tree_Item_close, METH_VARARGS, (char *)"Fl_Tree_Item_close(Fl_Tree_Item self)"}, { (char *)"Fl_Tree_Item_is_open", _wrap_Fl_Tree_Item_is_open, METH_VARARGS, (char *)"Fl_Tree_Item_is_open(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_is_close", _wrap_Fl_Tree_Item_is_close, METH_VARARGS, (char *)"Fl_Tree_Item_is_close(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_open_toggle", _wrap_Fl_Tree_Item_open_toggle, METH_VARARGS, (char *)"Fl_Tree_Item_open_toggle(Fl_Tree_Item self)"}, { (char *)"Fl_Tree_Item_select", _wrap_Fl_Tree_Item_select, METH_VARARGS, (char *)"Fl_Tree_Item_select(Fl_Tree_Item self, int val = 1)"}, { (char *)"Fl_Tree_Item_select_toggle", _wrap_Fl_Tree_Item_select_toggle, METH_VARARGS, (char *)"Fl_Tree_Item_select_toggle(Fl_Tree_Item self)"}, { (char *)"Fl_Tree_Item_select_all", _wrap_Fl_Tree_Item_select_all, METH_VARARGS, (char *)"Fl_Tree_Item_select_all(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_deselect", _wrap_Fl_Tree_Item_deselect, METH_VARARGS, (char *)"Fl_Tree_Item_deselect(Fl_Tree_Item self)"}, { (char *)"Fl_Tree_Item_deselect_all", _wrap_Fl_Tree_Item_deselect_all, METH_VARARGS, (char *)"Fl_Tree_Item_deselect_all(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_is_selected", _wrap_Fl_Tree_Item_is_selected, METH_VARARGS, (char *)"Fl_Tree_Item_is_selected(Fl_Tree_Item self) -> char"}, { (char *)"Fl_Tree_Item_activate", _wrap_Fl_Tree_Item_activate, METH_VARARGS, (char *)"Fl_Tree_Item_activate(Fl_Tree_Item self, int val = 1)"}, { (char *)"Fl_Tree_Item_deactivate", _wrap_Fl_Tree_Item_deactivate, METH_VARARGS, (char *)"Fl_Tree_Item_deactivate(Fl_Tree_Item self)"}, { (char *)"Fl_Tree_Item_is_activated", _wrap_Fl_Tree_Item_is_activated, METH_VARARGS, (char *)"Fl_Tree_Item_is_activated(Fl_Tree_Item self) -> char"}, { (char *)"Fl_Tree_Item_is_active", _wrap_Fl_Tree_Item_is_active, METH_VARARGS, (char *)"Fl_Tree_Item_is_active(Fl_Tree_Item self) -> char"}, { (char *)"Fl_Tree_Item_visible", _wrap_Fl_Tree_Item_visible, METH_VARARGS, (char *)"Fl_Tree_Item_visible(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_visible_r", _wrap_Fl_Tree_Item_visible_r, METH_VARARGS, (char *)"Fl_Tree_Item_visible_r(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_usericon", _wrap_Fl_Tree_Item_usericon, METH_VARARGS, (char *)"\n" "usericon(Fl_Image val)\n" "Fl_Tree_Item_usericon(Fl_Tree_Item self) -> Fl_Image\n" ""}, { (char *)"Fl_Tree_Item_find_clicked", _wrap_Fl_Tree_Item_find_clicked, METH_VARARGS, (char *)"\n" "find_clicked(Fl_Tree_Prefs prefs) -> Fl_Tree_Item\n" "Fl_Tree_Item_find_clicked(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item\n" ""}, { (char *)"Fl_Tree_Item_event_on_collapse_icon", _wrap_Fl_Tree_Item_event_on_collapse_icon, METH_VARARGS, (char *)"Fl_Tree_Item_event_on_collapse_icon(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> int"}, { (char *)"Fl_Tree_Item_event_on_label", _wrap_Fl_Tree_Item_event_on_label, METH_VARARGS, (char *)"Fl_Tree_Item_event_on_label(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> int"}, { (char *)"Fl_Tree_Item_is_root", _wrap_Fl_Tree_Item_is_root, METH_VARARGS, (char *)"Fl_Tree_Item_is_root(Fl_Tree_Item self) -> int"}, { (char *)"Fl_Tree_Item_swigregister", Fl_Tree_Item_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Tree", _wrap_new_Fl_Tree, METH_VARARGS, (char *)"new_Fl_Tree(PyObject self, int X, int Y, int W, int H, char L = None) -> Fl_Tree"}, { (char *)"delete_Fl_Tree", _wrap_delete_Fl_Tree, METH_VARARGS, (char *)"delete_Fl_Tree(Fl_Tree self)"}, { (char *)"Fl_Tree_handle", _wrap_Fl_Tree_handle, METH_VARARGS, (char *)"Fl_Tree_handle(Fl_Tree self, int e) -> int"}, { (char *)"Fl_Tree_draw", _wrap_Fl_Tree_draw, METH_VARARGS, (char *)"Fl_Tree_draw(Fl_Tree self)"}, { (char *)"Fl_Tree_root_label", _wrap_Fl_Tree_root_label, METH_VARARGS, (char *)"Fl_Tree_root_label(Fl_Tree self, char new_label)"}, { (char *)"Fl_Tree_root", _wrap_Fl_Tree_root, METH_VARARGS, (char *)"Fl_Tree_root(Fl_Tree self) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_add", _wrap_Fl_Tree_add, METH_VARARGS, (char *)"\n" "add(char path) -> Fl_Tree_Item\n" "Fl_Tree_add(Fl_Tree self, Fl_Tree_Item item, char name) -> Fl_Tree_Item\n" ""}, { (char *)"Fl_Tree_insert_above", _wrap_Fl_Tree_insert_above, METH_VARARGS, (char *)"Fl_Tree_insert_above(Fl_Tree self, Fl_Tree_Item above, char name) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_insert", _wrap_Fl_Tree_insert, METH_VARARGS, (char *)"Fl_Tree_insert(Fl_Tree self, Fl_Tree_Item item, char name, int pos) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_remove", _wrap_Fl_Tree_remove, METH_VARARGS, (char *)"Fl_Tree_remove(Fl_Tree self, Fl_Tree_Item item) -> int"}, { (char *)"Fl_Tree_clear", _wrap_Fl_Tree_clear, METH_VARARGS, (char *)"Fl_Tree_clear(Fl_Tree self)"}, { (char *)"Fl_Tree_clear_children", _wrap_Fl_Tree_clear_children, METH_VARARGS, (char *)"Fl_Tree_clear_children(Fl_Tree self, Fl_Tree_Item item)"}, { (char *)"Fl_Tree_find_item", _wrap_Fl_Tree_find_item, METH_VARARGS, (char *)"\n" "find_item(char path) -> Fl_Tree_Item\n" "Fl_Tree_find_item(Fl_Tree self, char path) -> Fl_Tree_Item\n" ""}, { (char *)"Fl_Tree_item_pathname", _wrap_Fl_Tree_item_pathname, METH_VARARGS, (char *)"Fl_Tree_item_pathname(Fl_Tree self, char pathname, int pathnamelen, Fl_Tree_Item item) -> int"}, { (char *)"Fl_Tree_find_clicked", _wrap_Fl_Tree_find_clicked, METH_VARARGS, (char *)"Fl_Tree_find_clicked(Fl_Tree self) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_item_clicked", _wrap_Fl_Tree_item_clicked, METH_VARARGS, (char *)"Fl_Tree_item_clicked(Fl_Tree self) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_first", _wrap_Fl_Tree_first, METH_VARARGS, (char *)"Fl_Tree_first(Fl_Tree self) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_next", _wrap_Fl_Tree_next, METH_VARARGS, (char *)"Fl_Tree_next(Fl_Tree self, Fl_Tree_Item item = None) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_prev", _wrap_Fl_Tree_prev, METH_VARARGS, (char *)"Fl_Tree_prev(Fl_Tree self, Fl_Tree_Item item = None) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_last", _wrap_Fl_Tree_last, METH_VARARGS, (char *)"Fl_Tree_last(Fl_Tree self) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_first_selected_item", _wrap_Fl_Tree_first_selected_item, METH_VARARGS, (char *)"Fl_Tree_first_selected_item(Fl_Tree self) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_next_selected_item", _wrap_Fl_Tree_next_selected_item, METH_VARARGS, (char *)"Fl_Tree_next_selected_item(Fl_Tree self, Fl_Tree_Item item = None) -> Fl_Tree_Item"}, { (char *)"Fl_Tree_open", _wrap_Fl_Tree_open, METH_VARARGS, (char *)"\n" "open(Fl_Tree_Item item, int docallback = 1) -> int\n" "Fl_Tree_open(Fl_Tree self, char path, int docallback = 1) -> int\n" ""}, { (char *)"Fl_Tree_open_toggle", _wrap_Fl_Tree_open_toggle, METH_VARARGS, (char *)"Fl_Tree_open_toggle(Fl_Tree self, Fl_Tree_Item item, int docallback = 1)"}, { (char *)"Fl_Tree_close", _wrap_Fl_Tree_close, METH_VARARGS, (char *)"\n" "close(Fl_Tree_Item item, int docallback = 1) -> int\n" "Fl_Tree_close(Fl_Tree self, char path, int docallback = 1) -> int\n" ""}, { (char *)"Fl_Tree_is_open", _wrap_Fl_Tree_is_open, METH_VARARGS, (char *)"\n" "is_open(Fl_Tree_Item item) -> int\n" "Fl_Tree_is_open(Fl_Tree self, char path) -> int\n" ""}, { (char *)"Fl_Tree_is_close", _wrap_Fl_Tree_is_close, METH_VARARGS, (char *)"\n" "is_close(Fl_Tree_Item item) -> int\n" "Fl_Tree_is_close(Fl_Tree self, char path) -> int\n" ""}, { (char *)"Fl_Tree_select", _wrap_Fl_Tree_select, METH_VARARGS, (char *)"\n" "select(Fl_Tree_Item item, int docallback = 1) -> int\n" "Fl_Tree_select(Fl_Tree self, char path, int docallback = 1) -> int\n" ""}, { (char *)"Fl_Tree_select_toggle", _wrap_Fl_Tree_select_toggle, METH_VARARGS, (char *)"Fl_Tree_select_toggle(Fl_Tree self, Fl_Tree_Item item, int docallback = 1)"}, { (char *)"Fl_Tree_deselect", _wrap_Fl_Tree_deselect, METH_VARARGS, (char *)"\n" "deselect(Fl_Tree_Item item, int docallback = 1) -> int\n" "Fl_Tree_deselect(Fl_Tree self, char path, int docallback = 1) -> int\n" ""}, { (char *)"Fl_Tree_deselect_all", _wrap_Fl_Tree_deselect_all, METH_VARARGS, (char *)"Fl_Tree_deselect_all(Fl_Tree self, Fl_Tree_Item item = None, int docallback = 1) -> int"}, { (char *)"Fl_Tree_select_only", _wrap_Fl_Tree_select_only, METH_VARARGS, (char *)"Fl_Tree_select_only(Fl_Tree self, Fl_Tree_Item selitem, int docallback = 1) -> int"}, { (char *)"Fl_Tree_select_all", _wrap_Fl_Tree_select_all, METH_VARARGS, (char *)"Fl_Tree_select_all(Fl_Tree self, Fl_Tree_Item item = None, int docallback = 1) -> int"}, { (char *)"Fl_Tree_set_item_focus", _wrap_Fl_Tree_set_item_focus, METH_VARARGS, (char *)"Fl_Tree_set_item_focus(Fl_Tree self, Fl_Tree_Item o)"}, { (char *)"Fl_Tree_is_selected", _wrap_Fl_Tree_is_selected, METH_VARARGS, (char *)"\n" "is_selected(Fl_Tree_Item item) -> int\n" "Fl_Tree_is_selected(Fl_Tree self, char path) -> int\n" ""}, { (char *)"Fl_Tree_show_self", _wrap_Fl_Tree_show_self, METH_VARARGS, (char *)"Fl_Tree_show_self(Fl_Tree self)"}, { (char *)"Fl_Tree_item_labelsize", _wrap_Fl_Tree_item_labelsize, METH_VARARGS, (char *)"\n" "item_labelsize() -> Fl_Fontsize\n" "Fl_Tree_item_labelsize(Fl_Tree self, Fl_Fontsize val)\n" ""}, { (char *)"Fl_Tree_item_labelfont", _wrap_Fl_Tree_item_labelfont, METH_VARARGS, (char *)"\n" "item_labelfont() -> Fl_Font\n" "Fl_Tree_item_labelfont(Fl_Tree self, Fl_Font val)\n" ""}, { (char *)"Fl_Tree_item_labelfgcolor", _wrap_Fl_Tree_item_labelfgcolor, METH_VARARGS, (char *)"\n" "item_labelfgcolor() -> Fl_Color\n" "Fl_Tree_item_labelfgcolor(Fl_Tree self, Fl_Color val)\n" ""}, { (char *)"Fl_Tree_item_labelbgcolor", _wrap_Fl_Tree_item_labelbgcolor, METH_VARARGS, (char *)"\n" "item_labelbgcolor() -> Fl_Color\n" "Fl_Tree_item_labelbgcolor(Fl_Tree self, Fl_Color val)\n" ""}, { (char *)"Fl_Tree_connectorcolor", _wrap_Fl_Tree_connectorcolor, METH_VARARGS, (char *)"\n" "connectorcolor() -> Fl_Color\n" "Fl_Tree_connectorcolor(Fl_Tree self, Fl_Color val)\n" ""}, { (char *)"Fl_Tree_marginleft", _wrap_Fl_Tree_marginleft, METH_VARARGS, (char *)"\n" "marginleft() -> int\n" "Fl_Tree_marginleft(Fl_Tree self, int val)\n" ""}, { (char *)"Fl_Tree_margintop", _wrap_Fl_Tree_margintop, METH_VARARGS, (char *)"\n" "margintop() -> int\n" "Fl_Tree_margintop(Fl_Tree self, int val)\n" ""}, { (char *)"Fl_Tree_openchild_marginbottom", _wrap_Fl_Tree_openchild_marginbottom, METH_VARARGS, (char *)"\n" "openchild_marginbottom() -> int\n" "Fl_Tree_openchild_marginbottom(Fl_Tree self, int val)\n" ""}, { (char *)"Fl_Tree_connectorwidth", _wrap_Fl_Tree_connectorwidth, METH_VARARGS, (char *)"\n" "connectorwidth() -> int\n" "Fl_Tree_connectorwidth(Fl_Tree self, int val)\n" ""}, { (char *)"Fl_Tree_usericon", _wrap_Fl_Tree_usericon, METH_VARARGS, (char *)"\n" "usericon() -> Fl_Image\n" "Fl_Tree_usericon(Fl_Tree self, Fl_Image val)\n" ""}, { (char *)"Fl_Tree_openicon", _wrap_Fl_Tree_openicon, METH_VARARGS, (char *)"\n" "openicon() -> Fl_Image\n" "Fl_Tree_openicon(Fl_Tree self, Fl_Image val)\n" ""}, { (char *)"Fl_Tree_closeicon", _wrap_Fl_Tree_closeicon, METH_VARARGS, (char *)"\n" "closeicon() -> Fl_Image\n" "Fl_Tree_closeicon(Fl_Tree self, Fl_Image val)\n" ""}, { (char *)"Fl_Tree_showcollapse", _wrap_Fl_Tree_showcollapse, METH_VARARGS, (char *)"\n" "showcollapse() -> int\n" "Fl_Tree_showcollapse(Fl_Tree self, int val)\n" ""}, { (char *)"Fl_Tree_showroot", _wrap_Fl_Tree_showroot, METH_VARARGS, (char *)"\n" "showroot() -> int\n" "Fl_Tree_showroot(Fl_Tree self, int val)\n" ""}, { (char *)"Fl_Tree_connectorstyle", _wrap_Fl_Tree_connectorstyle, METH_VARARGS, (char *)"\n" "connectorstyle() -> Fl_Tree_Connector\n" "Fl_Tree_connectorstyle(Fl_Tree self, Fl_Tree_Connector val)\n" ""}, { (char *)"Fl_Tree_sortorder", _wrap_Fl_Tree_sortorder, METH_VARARGS, (char *)"\n" "sortorder() -> Fl_Tree_Sort\n" "Fl_Tree_sortorder(Fl_Tree self, Fl_Tree_Sort val)\n" ""}, { (char *)"Fl_Tree_selectbox", _wrap_Fl_Tree_selectbox, METH_VARARGS, (char *)"\n" "selectbox() -> Fl_Boxtype\n" "Fl_Tree_selectbox(Fl_Tree self, Fl_Boxtype val)\n" ""}, { (char *)"Fl_Tree_selectmode", _wrap_Fl_Tree_selectmode, METH_VARARGS, (char *)"\n" "selectmode() -> Fl_Tree_Select\n" "Fl_Tree_selectmode(Fl_Tree self, Fl_Tree_Select val)\n" ""}, { (char *)"Fl_Tree_displayed", _wrap_Fl_Tree_displayed, METH_VARARGS, (char *)"Fl_Tree_displayed(Fl_Tree self, Fl_Tree_Item item) -> int"}, { (char *)"Fl_Tree_show_item", _wrap_Fl_Tree_show_item, METH_VARARGS, (char *)"\n" "show_item(Fl_Tree_Item item, int yoff)\n" "Fl_Tree_show_item(Fl_Tree self, Fl_Tree_Item item)\n" ""}, { (char *)"Fl_Tree_show_item_bottom", _wrap_Fl_Tree_show_item_bottom, METH_VARARGS, (char *)"Fl_Tree_show_item_bottom(Fl_Tree self, Fl_Tree_Item item)"}, { (char *)"Fl_Tree_show_item_middle", _wrap_Fl_Tree_show_item_middle, METH_VARARGS, (char *)"Fl_Tree_show_item_middle(Fl_Tree self, Fl_Tree_Item item)"}, { (char *)"Fl_Tree_show_item_top", _wrap_Fl_Tree_show_item_top, METH_VARARGS, (char *)"Fl_Tree_show_item_top(Fl_Tree self, Fl_Tree_Item item)"}, { (char *)"Fl_Tree_display", _wrap_Fl_Tree_display, METH_VARARGS, (char *)"Fl_Tree_display(Fl_Tree self, Fl_Tree_Item item)"}, { (char *)"Fl_Tree_vposition", _wrap_Fl_Tree_vposition, METH_VARARGS, (char *)"\n" "vposition() -> int\n" "Fl_Tree_vposition(Fl_Tree self, int ypos)\n" ""}, { (char *)"Fl_Tree_is_scrollbar", _wrap_Fl_Tree_is_scrollbar, METH_VARARGS, (char *)"Fl_Tree_is_scrollbar(Fl_Tree self, Fl_Widget w) -> int"}, { (char *)"Fl_Tree_scrollbar_size", _wrap_Fl_Tree_scrollbar_size, METH_VARARGS, (char *)"\n" "scrollbar_size() -> int\n" "Fl_Tree_scrollbar_size(Fl_Tree self, int size)\n" ""}, { (char *)"Fl_Tree_callback_item", _wrap_Fl_Tree_callback_item, METH_VARARGS, (char *)"\n" "callback_item(Fl_Tree_Item item)\n" "Fl_Tree_callback_item(Fl_Tree self) -> Fl_Tree_Item\n" ""}, { (char *)"Fl_Tree_callback_reason", _wrap_Fl_Tree_callback_reason, METH_VARARGS, (char *)"\n" "callback_reason(Fl_Tree_Reason reason)\n" "Fl_Tree_callback_reason(Fl_Tree self) -> Fl_Tree_Reason\n" ""}, { (char *)"Fl_Tree_load", _wrap_Fl_Tree_load, METH_VARARGS, (char *)"Fl_Tree_load(Fl_Tree self, Fl_Preferences arg1)"}, { (char *)"disown_Fl_Tree", _wrap_disown_Fl_Tree, METH_VARARGS, NULL}, { (char *)"Fl_Tree_swigregister", Fl_Tree_swigregister, METH_VARARGS, NULL}, { (char *)"new_Fl_Paged_Device", _wrap_new_Fl_Paged_Device, METH_VARARGS, (char *)"new_Fl_Paged_Device(PyObject self) -> Fl_Paged_Device"}, { (char *)"Fl_Paged_Device_class_name", _wrap_Fl_Paged_Device_class_name, METH_VARARGS, (char *)"Fl_Paged_Device_class_name(Fl_Paged_Device self) -> char"}, { (char *)"Fl_Paged_Device_start_job", _wrap_Fl_Paged_Device_start_job, METH_VARARGS, (char *)"\n" "Fl_Paged_Device_start_job(Fl_Paged_Device self, int pagecount, int frompage = None, \n" " int topage = None) -> int\n" ""}, { (char *)"Fl_Paged_Device_start_page", _wrap_Fl_Paged_Device_start_page, METH_VARARGS, (char *)"Fl_Paged_Device_start_page(Fl_Paged_Device self) -> int"}, { (char *)"Fl_Paged_Device_printable_rect", _wrap_Fl_Paged_Device_printable_rect, METH_VARARGS, (char *)"Fl_Paged_Device_printable_rect(Fl_Paged_Device self, int w, int h) -> int"}, { (char *)"Fl_Paged_Device_margins", _wrap_Fl_Paged_Device_margins, METH_VARARGS, (char *)"\n" "Fl_Paged_Device_margins(Fl_Paged_Device self, int left, int top, int right, \n" " int bottom)\n" ""}, { (char *)"Fl_Paged_Device_origin", _wrap_Fl_Paged_Device_origin, METH_VARARGS, (char *)"\n" "origin(int x, int y)\n" "Fl_Paged_Device_origin(Fl_Paged_Device self, int x, int y)\n" ""}, { (char *)"Fl_Paged_Device_scale", _wrap_Fl_Paged_Device_scale, METH_VARARGS, (char *)"Fl_Paged_Device_scale(Fl_Paged_Device self, float scale_x, float scale_y = 0.)"}, { (char *)"Fl_Paged_Device_rotate", _wrap_Fl_Paged_Device_rotate, METH_VARARGS, (char *)"Fl_Paged_Device_rotate(Fl_Paged_Device self, float angle)"}, { (char *)"Fl_Paged_Device_translate", _wrap_Fl_Paged_Device_translate, METH_VARARGS, (char *)"Fl_Paged_Device_translate(Fl_Paged_Device self, int x, int y)"}, { (char *)"Fl_Paged_Device_untranslate", _wrap_Fl_Paged_Device_untranslate, METH_VARARGS, (char *)"Fl_Paged_Device_untranslate(Fl_Paged_Device self)"}, { (char *)"Fl_Paged_Device_print_widget", _wrap_Fl_Paged_Device_print_widget, METH_VARARGS, (char *)"\n" "Fl_Paged_Device_print_widget(Fl_Paged_Device self, Fl_Widget widget, int delta_x = 0, \n" " int delta_y = 0)\n" ""}, { (char *)"Fl_Paged_Device_print_window", _wrap_Fl_Paged_Device_print_window, METH_VARARGS, (char *)"\n" "Fl_Paged_Device_print_window(Fl_Paged_Device self, Fl_Window win, int x_offset = 0, \n" " int y_offset = 0)\n" ""}, { (char *)"Fl_Paged_Device_print_window_part", _wrap_Fl_Paged_Device_print_window_part, METH_VARARGS, (char *)"\n" "Fl_Paged_Device_print_window_part(Fl_Paged_Device self, Fl_Window win, int x, int y, \n" " int w, int h, int delta_x = 0, int delta_y = 0)\n" ""}, { (char *)"Fl_Paged_Device_end_page", _wrap_Fl_Paged_Device_end_page, METH_VARARGS, (char *)"Fl_Paged_Device_end_page(Fl_Paged_Device self) -> int"}, { (char *)"Fl_Paged_Device_end_job", _wrap_Fl_Paged_Device_end_job, METH_VARARGS, (char *)"Fl_Paged_Device_end_job(Fl_Paged_Device self)"}, { (char *)"disown_Fl_Paged_Device", _wrap_disown_Fl_Paged_Device, METH_VARARGS, NULL}, { (char *)"Fl_Paged_Device_swigregister", Fl_Paged_Device_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Printer_class_name", _wrap_Fl_Printer_class_name, METH_VARARGS, (char *)"Fl_Printer_class_name(Fl_Printer self) -> char"}, { (char *)"new_Fl_Printer", _wrap_new_Fl_Printer, METH_VARARGS, (char *)"new_Fl_Printer(PyObject self) -> Fl_Printer"}, { (char *)"Fl_Printer_start_job", _wrap_Fl_Printer_start_job, METH_VARARGS, (char *)"\n" "Fl_Printer_start_job(Fl_Printer self, int pagecount, int frompage = None, \n" " int topage = None) -> int\n" ""}, { (char *)"Fl_Printer_start_page", _wrap_Fl_Printer_start_page, METH_VARARGS, (char *)"Fl_Printer_start_page(Fl_Printer self) -> int"}, { (char *)"Fl_Printer_printable_rect", _wrap_Fl_Printer_printable_rect, METH_VARARGS, (char *)"Fl_Printer_printable_rect(Fl_Printer self, int w, int h) -> int"}, { (char *)"Fl_Printer_margins", _wrap_Fl_Printer_margins, METH_VARARGS, (char *)"Fl_Printer_margins(Fl_Printer self, int left, int top, int right, int bottom)"}, { (char *)"Fl_Printer_origin", _wrap_Fl_Printer_origin, METH_VARARGS, (char *)"\n" "origin(int x, int y)\n" "Fl_Printer_origin(Fl_Printer self, int x, int y)\n" ""}, { (char *)"Fl_Printer_scale", _wrap_Fl_Printer_scale, METH_VARARGS, (char *)"Fl_Printer_scale(Fl_Printer self, float scale_x, float scale_y = 0.)"}, { (char *)"Fl_Printer_rotate", _wrap_Fl_Printer_rotate, METH_VARARGS, (char *)"Fl_Printer_rotate(Fl_Printer self, float angle)"}, { (char *)"Fl_Printer_translate", _wrap_Fl_Printer_translate, METH_VARARGS, (char *)"Fl_Printer_translate(Fl_Printer self, int x, int y)"}, { (char *)"Fl_Printer_untranslate", _wrap_Fl_Printer_untranslate, METH_VARARGS, (char *)"Fl_Printer_untranslate(Fl_Printer self)"}, { (char *)"Fl_Printer_end_page", _wrap_Fl_Printer_end_page, METH_VARARGS, (char *)"Fl_Printer_end_page(Fl_Printer self) -> int"}, { (char *)"Fl_Printer_end_job", _wrap_Fl_Printer_end_job, METH_VARARGS, (char *)"Fl_Printer_end_job(Fl_Printer self)"}, { (char *)"Fl_Printer_print_widget", _wrap_Fl_Printer_print_widget, METH_VARARGS, (char *)"\n" "Fl_Printer_print_widget(Fl_Printer self, Fl_Widget widget, int delta_x = 0, \n" " int delta_y = 0)\n" ""}, { (char *)"Fl_Printer_print_window_part", _wrap_Fl_Printer_print_window_part, METH_VARARGS, (char *)"\n" "Fl_Printer_print_window_part(Fl_Printer self, Fl_Window win, int x, int y, int w, \n" " int h, int delta_x = 0, int delta_y = 0)\n" ""}, { (char *)"Fl_Printer_set_current", _wrap_Fl_Printer_set_current, METH_VARARGS, (char *)"Fl_Printer_set_current(Fl_Printer self)"}, { (char *)"Fl_Printer_driver", _wrap_Fl_Printer_driver, METH_VARARGS, (char *)"Fl_Printer_driver(Fl_Printer self) -> Fl_Graphics_Driver"}, { (char *)"delete_Fl_Printer", _wrap_delete_Fl_Printer, METH_VARARGS, (char *)"delete_Fl_Printer(Fl_Printer self)"}, { (char *)"disown_Fl_Printer", _wrap_disown_Fl_Printer, METH_VARARGS, NULL}, { (char *)"Fl_Printer_swigregister", Fl_Printer_swigregister, METH_VARARGS, NULL}, { (char *)"fl_utf8bytes", _wrap_fl_utf8bytes, METH_VARARGS, (char *)"fl_utf8bytes(unsigned int ucs) -> int"}, { (char *)"fl_utf8len", _wrap_fl_utf8len, METH_VARARGS, (char *)"fl_utf8len(char c) -> int"}, { (char *)"fl_utf_nb_char", _wrap_fl_utf_nb_char, METH_VARARGS, (char *)"fl_utf_nb_char(unsigned char buf, int len) -> int"}, { (char *)"fl_utf8decode", _wrap_fl_utf8decode, METH_VARARGS, (char *)"fl_utf8decode(char p, char end, int len) -> unsigned int"}, { (char *)"fl_utf8encode", _wrap_fl_utf8encode, METH_VARARGS, (char *)"fl_utf8encode(unsigned int ucs) -> int"}, { (char *)"fl_utf8fwd", _wrap_fl_utf8fwd, METH_VARARGS, (char *)"fl_utf8fwd(char p, char start, char end) -> char"}, { (char *)"fl_utf8back", _wrap_fl_utf8back, METH_VARARGS, (char *)"fl_utf8back(char p, char start, char end) -> char"}, { (char *)"fl_utf8toUtf16", _wrap_fl_utf8toUtf16, METH_VARARGS, (char *)"fl_utf8toUtf16(char src, unsigned int srclen, unsigned int dstlen) -> unsigned int"}, { (char *)"fl_utf8toa", _wrap_fl_utf8toa, METH_VARARGS, (char *)"fl_utf8toa(char src, unsigned int srclen, unsigned int arg2) -> unsigned int"}, { (char *)"fl_utf8froma", _wrap_fl_utf8froma, METH_VARARGS, (char *)"fl_utf8froma(char dst, unsigned int dstlen, char src, unsigned int srclen) -> unsigned int"}, { (char *)"fl_utf8locale", _wrap_fl_utf8locale, METH_VARARGS, (char *)"fl_utf8locale() -> int"}, { (char *)"fl_utf8test", _wrap_fl_utf8test, METH_VARARGS, (char *)"fl_utf8test(char src, unsigned int len) -> int"}, { (char *)"fl_nonspacing", _wrap_fl_nonspacing, METH_VARARGS, (char *)"fl_nonspacing(unsigned int ucs) -> unsigned int"}, { (char *)"fl_utf8to_mb", _wrap_fl_utf8to_mb, METH_VARARGS, (char *)"fl_utf8to_mb(char src, unsigned int srclen, char dst, unsigned int dstlen) -> unsigned int"}, { (char *)"fl_utf2mbcs", _wrap_fl_utf2mbcs, METH_VARARGS, (char *)"fl_utf2mbcs(char src) -> char"}, { (char *)"fl_utf8from_mb", _wrap_fl_utf8from_mb, METH_VARARGS, (char *)"fl_utf8from_mb(char dst, unsigned int dstlen, char src, unsigned int srclen) -> unsigned int"}, { (char *)"fl_utf_strncasecmp", _wrap_fl_utf_strncasecmp, METH_VARARGS, (char *)"fl_utf_strncasecmp(char s1, char s2, int n) -> int"}, { (char *)"fl_utf_strcasecmp", _wrap_fl_utf_strcasecmp, METH_VARARGS, (char *)"fl_utf_strcasecmp(char s1, char s2) -> int"}, { (char *)"fl_tolower", _wrap_fl_tolower, METH_VARARGS, (char *)"fl_tolower(unsigned int ucs) -> int"}, { (char *)"fl_toupper", _wrap_fl_toupper, METH_VARARGS, (char *)"fl_toupper(unsigned int ucs) -> int"}, { (char *)"fl_utf_tolower", _wrap_fl_utf_tolower, METH_VARARGS, (char *)"fl_utf_tolower(unsigned char str, int len) -> int"}, { (char *)"fl_utf_toupper", _wrap_fl_utf_toupper, METH_VARARGS, (char *)"fl_utf_toupper(unsigned char str, int len, char buf) -> int"}, { (char *)"fl_chmod", _wrap_fl_chmod, METH_VARARGS, (char *)"fl_chmod(char f, int mode) -> int"}, { (char *)"fl_access", _wrap_fl_access, METH_VARARGS, (char *)"fl_access(char f, int mode) -> int"}, { (char *)"fl_getcwd", _wrap_fl_getcwd, METH_VARARGS, (char *)"fl_getcwd(char buf, int maxlen) -> char"}, { (char *)"fl_fopen", _wrap_fl_fopen, METH_VARARGS, (char *)"fl_fopen(char f, char mode) -> FILE"}, { (char *)"fl_system", _wrap_fl_system, METH_VARARGS, (char *)"fl_system(char f) -> int"}, { (char *)"fl_execvp", _wrap_fl_execvp, METH_VARARGS, (char *)"fl_execvp(char file, char argv) -> int"}, { (char *)"fl_open", _wrap_fl_open, METH_VARARGS, (char *)"fl_open(char f, int o, v(...) *args) -> int"}, { (char *)"fl_unlink", _wrap_fl_unlink, METH_VARARGS, (char *)"fl_unlink(char f) -> int"}, { (char *)"fl_rmdir", _wrap_fl_rmdir, METH_VARARGS, (char *)"fl_rmdir(char f) -> int"}, { (char *)"fl_getenv", _wrap_fl_getenv, METH_VARARGS, (char *)"fl_getenv(char name) -> char"}, { (char *)"fl_mkdir", _wrap_fl_mkdir, METH_VARARGS, (char *)"fl_mkdir(char f, int mode) -> int"}, { (char *)"fl_rename", _wrap_fl_rename, METH_VARARGS, (char *)"fl_rename(char f, char t) -> int"}, { (char *)"fl_make_path_for_file", _wrap_fl_make_path_for_file, METH_VARARGS, (char *)"fl_make_path_for_file(char path)"}, { (char *)"fl_make_path", _wrap_fl_make_path, METH_VARARGS, (char *)"fl_make_path(char path) -> char"}, { (char *)"upCB", _wrap_upCB, METH_VARARGS, (char *)"upCB(Fl_Widget v, void arg1)"}, { (char *)"downCB", _wrap_downCB, METH_VARARGS, (char *)"downCB(Fl_Widget v, void arg1)"}, { (char *)"toggleCB", _wrap_toggleCB, METH_VARARGS, (char *)"toggleCB(Fl_Widget v, void arg1)"}, { (char *)"new_ListSelect", _wrap_new_ListSelect, METH_VARARGS, (char *)"\n" "new_ListSelect(PyObject self, int x, int y, int w, int h, char topLabel = None, \n" " char bottomLabel = None) -> ListSelect\n" ""}, { (char *)"ListSelect_getTopBrowser", _wrap_ListSelect_getTopBrowser, METH_VARARGS, (char *)"ListSelect_getTopBrowser(ListSelect self) -> Fl_Multi_Browser"}, { (char *)"ListSelect_getBottomBrowser", _wrap_ListSelect_getBottomBrowser, METH_VARARGS, (char *)"ListSelect_getBottomBrowser(ListSelect self) -> Fl_Multi_Browser"}, { (char *)"ListSelect_resize", _wrap_ListSelect_resize, METH_VARARGS, (char *)"ListSelect_resize(ListSelect self, int x, int y, int w, int h)"}, { (char *)"delete_ListSelect", _wrap_delete_ListSelect, METH_VARARGS, (char *)"delete_ListSelect(ListSelect self)"}, { (char *)"disown_ListSelect", _wrap_disown_ListSelect, METH_VARARGS, NULL}, { (char *)"ListSelect_draw", _wrap_ListSelect_draw, METH_VARARGS, (char *)"ListSelect_draw(ListSelect self)"}, { (char *)"ListSelect_swigregister", ListSelect_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Table_handle", _wrap_Fl_Table_handle, METH_VARARGS, (char *)"Fl_Table_handle(Fl_Table self, int e) -> int"}, { (char *)"Fl_Table_draw_cell", _wrap_Fl_Table_draw_cell, METH_VARARGS, (char *)"\n" "Fl_Table_draw_cell(Fl_Table self, TableContext context, int R = 0, int C = 0, \n" " int X = 0, int Y = 0, int W = 0, int H = 0)\n" ""}, { (char *)"new_Fl_Table", _wrap_new_Fl_Table, METH_VARARGS, (char *)"new_Fl_Table(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Table"}, { (char *)"delete_Fl_Table", _wrap_delete_Fl_Table, METH_VARARGS, (char *)"delete_Fl_Table(Fl_Table self)"}, { (char *)"Fl_Table_clear", _wrap_Fl_Table_clear, METH_VARARGS, (char *)"Fl_Table_clear(Fl_Table self)"}, { (char *)"Fl_Table_table_box", _wrap_Fl_Table_table_box, METH_VARARGS, (char *)"\n" "table_box(Fl_Boxtype val)\n" "Fl_Table_table_box(Fl_Table self) -> Fl_Boxtype\n" ""}, { (char *)"Fl_Table_rows", _wrap_Fl_Table_rows, METH_VARARGS, (char *)"\n" "rows(int val)\n" "Fl_Table_rows(Fl_Table self) -> int\n" ""}, { (char *)"Fl_Table_cols", _wrap_Fl_Table_cols, METH_VARARGS, (char *)"\n" "cols(int val)\n" "Fl_Table_cols(Fl_Table self) -> int\n" ""}, { (char *)"Fl_Table_visible_cells", _wrap_Fl_Table_visible_cells, METH_VARARGS, (char *)"Fl_Table_visible_cells(Fl_Table self)"}, { (char *)"Fl_Table_is_interactive_resize", _wrap_Fl_Table_is_interactive_resize, METH_VARARGS, (char *)"Fl_Table_is_interactive_resize(Fl_Table self) -> int"}, { (char *)"Fl_Table_row_resize", _wrap_Fl_Table_row_resize, METH_VARARGS, (char *)"\n" "row_resize() -> int\n" "Fl_Table_row_resize(Fl_Table self, int flag)\n" ""}, { (char *)"Fl_Table_col_resize", _wrap_Fl_Table_col_resize, METH_VARARGS, (char *)"\n" "col_resize() -> int\n" "Fl_Table_col_resize(Fl_Table self, int flag)\n" ""}, { (char *)"Fl_Table_col_resize_min", _wrap_Fl_Table_col_resize_min, METH_VARARGS, (char *)"\n" "col_resize_min() -> int\n" "Fl_Table_col_resize_min(Fl_Table self, int val)\n" ""}, { (char *)"Fl_Table_row_resize_min", _wrap_Fl_Table_row_resize_min, METH_VARARGS, (char *)"\n" "row_resize_min() -> int\n" "Fl_Table_row_resize_min(Fl_Table self, int val)\n" ""}, { (char *)"Fl_Table_row_header", _wrap_Fl_Table_row_header, METH_VARARGS, (char *)"\n" "row_header() -> int\n" "Fl_Table_row_header(Fl_Table self, int flag)\n" ""}, { (char *)"Fl_Table_col_header", _wrap_Fl_Table_col_header, METH_VARARGS, (char *)"\n" "col_header() -> int\n" "Fl_Table_col_header(Fl_Table self, int flag)\n" ""}, { (char *)"Fl_Table_col_header_height", _wrap_Fl_Table_col_header_height, METH_VARARGS, (char *)"\n" "col_header_height(int height)\n" "Fl_Table_col_header_height(Fl_Table self) -> int\n" ""}, { (char *)"Fl_Table_row_header_width", _wrap_Fl_Table_row_header_width, METH_VARARGS, (char *)"\n" "row_header_width(int width)\n" "Fl_Table_row_header_width(Fl_Table self) -> int\n" ""}, { (char *)"Fl_Table_row_header_color", _wrap_Fl_Table_row_header_color, METH_VARARGS, (char *)"\n" "row_header_color(Fl_Color val)\n" "Fl_Table_row_header_color(Fl_Table self) -> Fl_Color\n" ""}, { (char *)"Fl_Table_col_header_color", _wrap_Fl_Table_col_header_color, METH_VARARGS, (char *)"\n" "col_header_color(Fl_Color val)\n" "Fl_Table_col_header_color(Fl_Table self) -> Fl_Color\n" ""}, { (char *)"Fl_Table_row_height", _wrap_Fl_Table_row_height, METH_VARARGS, (char *)"\n" "row_height(int row, int height)\n" "Fl_Table_row_height(Fl_Table self, int row) -> int\n" ""}, { (char *)"Fl_Table_col_width", _wrap_Fl_Table_col_width, METH_VARARGS, (char *)"\n" "col_width(int col, int width)\n" "Fl_Table_col_width(Fl_Table self, int col) -> int\n" ""}, { (char *)"Fl_Table_row_height_all", _wrap_Fl_Table_row_height_all, METH_VARARGS, (char *)"Fl_Table_row_height_all(Fl_Table self, int height)"}, { (char *)"Fl_Table_col_width_all", _wrap_Fl_Table_col_width_all, METH_VARARGS, (char *)"Fl_Table_col_width_all(Fl_Table self, int width)"}, { (char *)"Fl_Table_row_position", _wrap_Fl_Table_row_position, METH_VARARGS, (char *)"\n" "row_position(int row)\n" "Fl_Table_row_position(Fl_Table self) -> int\n" ""}, { (char *)"Fl_Table_col_position", _wrap_Fl_Table_col_position, METH_VARARGS, (char *)"\n" "col_position(int col)\n" "Fl_Table_col_position(Fl_Table self) -> int\n" ""}, { (char *)"Fl_Table_top_row", _wrap_Fl_Table_top_row, METH_VARARGS, (char *)"\n" "top_row(int row)\n" "Fl_Table_top_row(Fl_Table self) -> int\n" ""}, { (char *)"Fl_Table_is_selected", _wrap_Fl_Table_is_selected, METH_VARARGS, (char *)"Fl_Table_is_selected(Fl_Table self, int r, int c) -> int"}, { (char *)"Fl_Table_get_selection", _wrap_Fl_Table_get_selection, METH_VARARGS, (char *)"Fl_Table_get_selection(Fl_Table self)"}, { (char *)"Fl_Table_set_selection", _wrap_Fl_Table_set_selection, METH_VARARGS, (char *)"\n" "Fl_Table_set_selection(Fl_Table self, int row_top, int col_left, int row_bot, \n" " int col_right)\n" ""}, { (char *)"Fl_Table_move_cursor", _wrap_Fl_Table_move_cursor, METH_VARARGS, (char *)"Fl_Table_move_cursor(Fl_Table self, int R, int C) -> int"}, { (char *)"Fl_Table_resize", _wrap_Fl_Table_resize, METH_VARARGS, (char *)"Fl_Table_resize(Fl_Table self, int X, int Y, int W, int H)"}, { (char *)"Fl_Table_draw", _wrap_Fl_Table_draw, METH_VARARGS, (char *)"Fl_Table_draw(Fl_Table self)"}, { (char *)"Fl_Table_init_sizes", _wrap_Fl_Table_init_sizes, METH_VARARGS, (char *)"Fl_Table_init_sizes(Fl_Table self)"}, { (char *)"Fl_Table_add", _wrap_Fl_Table_add, METH_VARARGS, (char *)"Fl_Table_add(Fl_Table self, Fl_Widget w)"}, { (char *)"Fl_Table_insert", _wrap_Fl_Table_insert, METH_VARARGS, (char *)"Fl_Table_insert(Fl_Table self, Fl_Widget w, int n)"}, { (char *)"Fl_Table_insert_before", _wrap_Fl_Table_insert_before, METH_VARARGS, (char *)"Fl_Table_insert_before(Fl_Table self, Fl_Widget w, Fl_Widget w2)"}, { (char *)"Fl_Table_begin", _wrap_Fl_Table_begin, METH_VARARGS, (char *)"Fl_Table_begin(Fl_Table self)"}, { (char *)"Fl_Table_end", _wrap_Fl_Table_end, METH_VARARGS, (char *)"Fl_Table_end(Fl_Table self)"}, { (char *)"Fl_Table_child", _wrap_Fl_Table_child, METH_VARARGS, (char *)"Fl_Table_child(Fl_Table self, int n) -> Fl_Widget"}, { (char *)"Fl_Table_children", _wrap_Fl_Table_children, METH_VARARGS, (char *)"Fl_Table_children(Fl_Table self) -> int"}, { (char *)"Fl_Table_find", _wrap_Fl_Table_find, METH_VARARGS, (char *)"Fl_Table_find(Fl_Table self, Fl_Widget w) -> int"}, { (char *)"Fl_Table_callback_row", _wrap_Fl_Table_callback_row, METH_VARARGS, (char *)"Fl_Table_callback_row(Fl_Table self) -> int"}, { (char *)"Fl_Table_callback_col", _wrap_Fl_Table_callback_col, METH_VARARGS, (char *)"Fl_Table_callback_col(Fl_Table self) -> int"}, { (char *)"Fl_Table_callback_context", _wrap_Fl_Table_callback_context, METH_VARARGS, (char *)"Fl_Table_callback_context(Fl_Table self) -> TableContext"}, { (char *)"Fl_Table_do_callback", _wrap_Fl_Table_do_callback, METH_VARARGS, (char *)"Fl_Table_do_callback(Fl_Table self, TableContext context, int row, int col)"}, { (char *)"disown_Fl_Table", _wrap_disown_Fl_Table, METH_VARARGS, NULL}, { (char *)"Fl_Table_swigregister", Fl_Table_swigregister, METH_VARARGS, NULL}, { (char *)"Fl_Table_Row_handle", _wrap_Fl_Table_Row_handle, METH_VARARGS, (char *)"Fl_Table_Row_handle(Fl_Table_Row self, int event) -> int"}, { (char *)"new_Fl_Table_Row", _wrap_new_Fl_Table_Row, METH_VARARGS, (char *)"new_Fl_Table_Row(PyObject self, int X, int Y, int W, int H, char l = None) -> Fl_Table_Row"}, { (char *)"delete_Fl_Table_Row", _wrap_delete_Fl_Table_Row, METH_VARARGS, (char *)"delete_Fl_Table_Row(Fl_Table_Row self)"}, { (char *)"Fl_Table_Row_rows", _wrap_Fl_Table_Row_rows, METH_VARARGS, (char *)"\n" "rows(int val)\n" "Fl_Table_Row_rows(Fl_Table_Row self) -> int\n" ""}, { (char *)"Fl_Table_Row_type", _wrap_Fl_Table_Row_type, METH_VARARGS, (char *)"\n" "type(TableRowSelectMode val)\n" "Fl_Table_Row_type(Fl_Table_Row self) -> TableRowSelectMode\n" ""}, { (char *)"Fl_Table_Row_row_selected", _wrap_Fl_Table_Row_row_selected, METH_VARARGS, (char *)"Fl_Table_Row_row_selected(Fl_Table_Row self, int row) -> int"}, { (char *)"Fl_Table_Row_select_row", _wrap_Fl_Table_Row_select_row, METH_VARARGS, (char *)"Fl_Table_Row_select_row(Fl_Table_Row self, int row, int flag = 1) -> int"}, { (char *)"Fl_Table_Row_select_all_rows", _wrap_Fl_Table_Row_select_all_rows, METH_VARARGS, (char *)"Fl_Table_Row_select_all_rows(Fl_Table_Row self, int flag = 1)"}, { (char *)"Fl_Table_Row_clear", _wrap_Fl_Table_Row_clear, METH_VARARGS, (char *)"Fl_Table_Row_clear(Fl_Table_Row self)"}, { (char *)"disown_Fl_Table_Row", _wrap_disown_Fl_Table_Row, METH_VARARGS, NULL}, { (char *)"Fl_Table_Row_draw_cell", _wrap_Fl_Table_Row_draw_cell, METH_VARARGS, (char *)"\n" "Fl_Table_Row_draw_cell(Fl_Table_Row self, TableContext context, int R = 0, \n" " int C = 0, int X = 0, int Y = 0, int W = 0, \n" " int H = 0)\n" ""}, { (char *)"Fl_Table_Row_swigregister", Fl_Table_Row_swigregister, METH_VARARGS, NULL}, { (char *)"glLoadIdentity", _wrap_glLoadIdentity, METH_VARARGS, (char *)"glLoadIdentity()"}, { (char *)"glViewport", _wrap_glViewport, METH_VARARGS, (char *)"glViewport(int x, int y, int width, int height)"}, { (char *)"glClear", _wrap_glClear, METH_VARARGS, (char *)"glClear(int mask)"}, { (char *)"glColor3f", _wrap_glColor3f, METH_VARARGS, (char *)"glColor3f(float red, float green, float blue)"}, { (char *)"glBegin", _wrap_glBegin, METH_VARARGS, (char *)"glBegin(int mode)"}, { (char *)"glEnd", _wrap_glEnd, METH_VARARGS, (char *)"glEnd()"}, { (char *)"glVertex3f", _wrap_glVertex3f, METH_VARARGS, (char *)"glVertex3f(float x, float y, float z)"}, { (char *)"setMenu", setMenu, METH_VARARGS, NULL}, { NULL, NULL, 0, NULL } }; /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ static void *_p_Fl_Multiline_OutputTo_p_Fl_Output(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Output *) ((Fl_Multiline_Output *) x)); } static void *_p_Fl_ClockTo_p_Fl_Clock_Output(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Clock_Output *) ((Fl_Clock *) x)); } static void *_p_Fl_Round_ClockTo_p_Fl_Clock_Output(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Clock_Output *) (Fl_Clock *) ((Fl_Round_Clock *) x)); } static void *_p_Fl_Menu_BarTo_p_Fl_Menu_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Menu_ *) ((Fl_Menu_Bar *) x)); } static void *_p_Fl_ChoiceTo_p_Fl_Menu_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Menu_ *) ((Fl_Choice *) x)); } static void *_p_Fl_Menu_ButtonTo_p_Fl_Menu_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Menu_ *) ((Fl_Menu_Button *) x)); } static void *_p_Fl_OutputTo_p_Fl_Input(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input *) ((Fl_Output *) x)); } static void *_p_Fl_Multiline_OutputTo_p_Fl_Input(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input *) (Fl_Output *) ((Fl_Multiline_Output *) x)); } static void *_p_Fl_File_InputTo_p_Fl_Input(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input *) ((Fl_File_Input *) x)); } static void *_p_Fl_Multiline_InputTo_p_Fl_Input(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input *) ((Fl_Multiline_Input *) x)); } static void *_p_Fl_Float_InputTo_p_Fl_Input(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input *) ((Fl_Float_Input *) x)); } static void *_p_Fl_Int_InputTo_p_Fl_Input(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input *) ((Fl_Int_Input *) x)); } static void *_p_Fl_Secret_InputTo_p_Fl_Input(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input *) ((Fl_Secret_Input *) x)); } static void *_p_Fl_XBM_ImageTo_p_Fl_Bitmap(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Bitmap *) ((Fl_XBM_Image *) x)); } static void *_p_Fl_BrowserTo_p_Fl_Browser_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Browser_ *) ((Fl_Browser *) x)); } static void *_p_Fl_File_BrowserTo_p_Fl_Browser_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Browser_ *) (Fl_Browser *) ((Fl_File_Browser *) x)); } static void *_p_Fl_Check_BrowserTo_p_Fl_Browser_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Browser_ *) ((Fl_Check_Browser *) x)); } static void *_p_Fl_Hold_BrowserTo_p_Fl_Browser_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Browser_ *) (Fl_Browser *) ((Fl_Hold_Browser *) x)); } static void *_p_Fl_Multi_BrowserTo_p_Fl_Browser_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Browser_ *) (Fl_Browser *) ((Fl_Multi_Browser *) x)); } static void *_p_Fl_Select_BrowserTo_p_Fl_Browser_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Browser_ *) (Fl_Browser *) ((Fl_Select_Browser *) x)); } static void *_p_Fl_File_BrowserTo_p_Fl_Browser(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Browser *) ((Fl_File_Browser *) x)); } static void *_p_Fl_Hold_BrowserTo_p_Fl_Browser(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Browser *) ((Fl_Hold_Browser *) x)); } static void *_p_Fl_Multi_BrowserTo_p_Fl_Browser(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Browser *) ((Fl_Multi_Browser *) x)); } static void *_p_Fl_Select_BrowserTo_p_Fl_Browser(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Browser *) ((Fl_Select_Browser *) x)); } static void *_p_Fl_Round_ClockTo_p_Fl_Clock(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Clock *) ((Fl_Round_Clock *) x)); } static void *_p_Fl_PrinterTo_p_Fl_Paged_Device(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Paged_Device *) ((Fl_Printer *) x)); } static void *_p_Fl_TreeTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Tree *) x)); } static void *_p_Fl_TableTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Table *) x)); } static void *_p_Fl_FreeTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_Free *) x)); } static void *_p_Fl_Menu_BarTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Menu_ *) ((Fl_Menu_Bar *) x)); } static void *_p_Fl_PositionerTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_Positioner *) x)); } static void *_p_Fl_GroupTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_Group *) x)); } static void *_p_Fl_Nice_SliderTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *)(Fl_Slider *) ((Fl_Nice_Slider *) x)); } static void *_p_Fl_Hor_Value_SliderTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *)(Fl_Slider *)(Fl_Value_Slider *) ((Fl_Hor_Value_Slider *) x)); } static void *_p_Fl_Value_SliderTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *)(Fl_Slider *) ((Fl_Value_Slider *) x)); } static void *_p_Fl_Hor_SliderTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *)(Fl_Slider *) ((Fl_Hor_Slider *) x)); } static void *_p_Fl_Hor_Nice_SliderTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *)(Fl_Slider *) ((Fl_Hor_Nice_Slider *) x)); } static void *_p_Fl_Hor_Fill_SliderTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *)(Fl_Slider *) ((Fl_Hor_Fill_Slider *) x)); } static void *_p_Fl_SliderTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *) ((Fl_Slider *) x)); } static void *_p_Fl_Fill_SliderTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *)(Fl_Slider *) ((Fl_Fill_Slider *) x)); } static void *_p_Fl_Text_DisplayTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Text_Display *) x)); } static void *_p_Fl_TileTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Tile *) x)); } static void *_p_Fl_ValuatorTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_Valuator *) x)); } static void *_p_Fl_TimerTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_Timer *) x)); } static void *_p_Fl_ChartTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_Chart *) x)); } static void *_p_Fl_DialTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *) ((Fl_Dial *) x)); } static void *_p_Fl_Fill_DialTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *)(Fl_Dial *) ((Fl_Fill_Dial *) x)); } static void *_p_Fl_Secret_InputTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Input_ *)(Fl_Input *) ((Fl_Secret_Input *) x)); } static void *_p_Fl_Int_InputTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Input_ *)(Fl_Input *) ((Fl_Int_Input *) x)); } static void *_p_Fl_InputTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Input_ *) ((Fl_Input *) x)); } static void *_p_Fl_Float_InputTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Input_ *)(Fl_Input *) ((Fl_Float_Input *) x)); } static void *_p_Fl_Return_ButtonTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Button *) ((Fl_Return_Button *) x)); } static void *_p_Fl_Repeat_ButtonTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Button *) ((Fl_Repeat_Button *) x)); } static void *_p_Fl_Radio_Round_ButtonTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Button *)(Fl_Light_Button *)(Fl_Round_Button *) ((Fl_Radio_Round_Button *) x)); } static void *_p_Fl_Round_ButtonTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Button *)(Fl_Light_Button *) ((Fl_Round_Button *) x)); } static void *_p_Fl_Radio_Light_ButtonTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Button *)(Fl_Light_Button *) ((Fl_Radio_Light_Button *) x)); } static void *_p_Fl_Radio_ButtonTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Button *) ((Fl_Radio_Button *) x)); } static void *_p_Fl_Menu_ButtonTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Menu_ *) ((Fl_Menu_Button *) x)); } static void *_p_Fl_Check_ButtonTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Button *)(Fl_Light_Button *) ((Fl_Check_Button *) x)); } static void *_p_Fl_Light_ButtonTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Button *) ((Fl_Light_Button *) x)); } static void *_p_Fl_ButtonTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_Button *) x)); } static void *_p_Fl_Toggle_ButtonTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Button *) ((Fl_Toggle_Button *) x)); } static void *_p_ListSelectTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((ListSelect *) x)); } static void *_p_Fl_Simple_CounterTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *)(Fl_Counter *) ((Fl_Simple_Counter *) x)); } static void *_p_Fl_CounterTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *) ((Fl_Counter *) x)); } static void *_p_Fl_Select_BrowserTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *)(Fl_Browser_ *)(Fl_Browser *) ((Fl_Select_Browser *) x)); } static void *_p_Fl_Multi_BrowserTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *)(Fl_Browser_ *)(Fl_Browser *) ((Fl_Multi_Browser *) x)); } static void *_p_Fl_Hold_BrowserTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *)(Fl_Browser_ *)(Fl_Browser *) ((Fl_Hold_Browser *) x)); } static void *_p_Fl_Check_BrowserTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *)(Fl_Browser_ *) ((Fl_Check_Browser *) x)); } static void *_p_Fl_File_BrowserTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *)(Fl_Browser_ *)(Fl_Browser *) ((Fl_File_Browser *) x)); } static void *_p_Fl_BrowserTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *)(Fl_Browser_ *) ((Fl_Browser *) x)); } static void *_p_Fl_Multiline_OutputTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Input_ *)(Fl_Input *)(Fl_Output *) ((Fl_Multiline_Output *) x)); } static void *_p_Fl_OutputTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Input_ *)(Fl_Input *) ((Fl_Output *) x)); } static void *_p_Fl_Clock_OutputTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_Clock_Output *) x)); } static void *_p_Flcc_ValueBoxTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Flcc_ValueBox *) x)); } static void *_p_Fl_Value_OutputTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *) ((Fl_Value_Output *) x)); } static void *_p_Flcc_HueBoxTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Flcc_HueBox *) x)); } static void *_p_Fl_ScrollbarTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *)(Fl_Slider *) ((Fl_Scrollbar *) x)); } static void *_p_Fl_Overlay_WindowTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *)(Fl_Window *)(Fl_Double_Window *) ((Fl_Overlay_Window *) x)); } static void *_p_Fl_Menu_WindowTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *)(Fl_Window *)(Fl_Single_Window *) ((Fl_Menu_Window *) x)); } static void *_p_Fl_Single_WindowTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *)(Fl_Window *) ((Fl_Single_Window *) x)); } static void *_p_Fl_Gl_WindowTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *)(Fl_Window *) ((Fl_Gl_Window *) x)); } static void *_p_Fl_WindowTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Window *) x)); } static void *_p_Fl_Double_WindowTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *)(Fl_Window *) ((Fl_Double_Window *) x)); } static void *_p_Fl_Menu_To_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_Menu_ *) x)); } static void *_p_Fl_FormsBitmapTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_FormsBitmap *) x)); } static void *_p_Fl_ScrollTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Scroll *) x)); } static void *_p_Fl_Multiline_InputTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Input_ *)(Fl_Input *) ((Fl_Multiline_Input *) x)); } static void *_p_Fl_Value_InputTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *) ((Fl_Value_Input *) x)); } static void *_p_Flcc_Value_InputTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *)(Fl_Value_Input *) ((Flcc_Value_Input *) x)); } static void *_p_Fl_File_InputTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Input_ *)(Fl_Input *) ((Fl_File_Input *) x)); } static void *_p_Fl_TabsTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Tabs *) x)); } static void *_p_Fl_Input_To_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_Input_ *) x)); } static void *_p_Fl_AdjusterTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *) ((Fl_Adjuster *) x)); } static void *_p_Fl_Round_ClockTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Clock_Output *)(Fl_Clock *) ((Fl_Round_Clock *) x)); } static void *_p_Fl_ClockTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Clock_Output *) ((Fl_Clock *) x)); } static void *_p_Fl_Text_EditorTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *)(Fl_Text_Display *) ((Fl_Text_Editor *) x)); } static void *_p_Fl_FormsPixmapTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_FormsPixmap *) x)); } static void *_p_Fl_Browser_To_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Browser_ *) x)); } static void *_p_Fl_BoxTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_Box *) x)); } static void *_p_Fl_Help_ViewTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Help_View *) x)); } static void *_p_Fl_ProgressTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) ((Fl_Progress *) x)); } static void *_p_Fl_Line_DialTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *)(Fl_Dial *) ((Fl_Line_Dial *) x)); } static void *_p_Fl_PackTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Pack *) x)); } static void *_p_Fl_SpinnerTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Spinner *) x)); } static void *_p_Fl_Table_RowTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *)(Fl_Table *) ((Fl_Table_Row *) x)); } static void *_p_Fl_Color_ChooserTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Color_Chooser *) x)); } static void *_p_Fl_RollerTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Valuator *) ((Fl_Roller *) x)); } static void *_p_Fl_Input_ChoiceTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Input_Choice *) x)); } static void *_p_Fl_ChoiceTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Menu_ *) ((Fl_Choice *) x)); } static void *_p_Fl_WizardTo_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget *) (Fl_Group *) ((Fl_Wizard *) x)); } static void *_p_p_Fl_TreeTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Tree **) x)); } static void *_p_p_Fl_TableTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Table **) x)); } static void *_p_p_Fl_FreeTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_Free **) x)); } static void *_p_p_Fl_Menu_BarTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Menu_ *) ((Fl_Menu_Bar **) x)); } static void *_p_p_Fl_PositionerTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_Positioner **) x)); } static void *_p_p_Fl_GroupTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_Group **) x)); } static void *_p_p_Fl_Nice_SliderTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *)(Fl_Slider *) ((Fl_Nice_Slider **) x)); } static void *_p_p_Fl_Hor_Value_SliderTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *)(Fl_Slider *)(Fl_Value_Slider *) ((Fl_Hor_Value_Slider **) x)); } static void *_p_p_Fl_Value_SliderTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *)(Fl_Slider *) ((Fl_Value_Slider **) x)); } static void *_p_p_Fl_Hor_SliderTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *)(Fl_Slider *) ((Fl_Hor_Slider **) x)); } static void *_p_p_Fl_Hor_Nice_SliderTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *)(Fl_Slider *) ((Fl_Hor_Nice_Slider **) x)); } static void *_p_p_Fl_Hor_Fill_SliderTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *)(Fl_Slider *) ((Fl_Hor_Fill_Slider **) x)); } static void *_p_p_Fl_SliderTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *) ((Fl_Slider **) x)); } static void *_p_p_Fl_Fill_SliderTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *)(Fl_Slider *) ((Fl_Fill_Slider **) x)); } static void *_p_p_Fl_Text_DisplayTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Text_Display **) x)); } static void *_p_p_Fl_TileTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Tile **) x)); } static void *_p_p_Fl_ValuatorTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_Valuator **) x)); } static void *_p_p_Fl_TimerTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_Timer **) x)); } static void *_p_p_Fl_ChartTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_Chart **) x)); } static void *_p_p_Fl_DialTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *) ((Fl_Dial **) x)); } static void *_p_p_Fl_Fill_DialTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *)(Fl_Dial *) ((Fl_Fill_Dial **) x)); } static void *_p_p_Fl_Secret_InputTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Input_ *)(Fl_Input *) ((Fl_Secret_Input **) x)); } static void *_p_p_Fl_Int_InputTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Input_ *)(Fl_Input *) ((Fl_Int_Input **) x)); } static void *_p_p_Fl_InputTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Input_ *) ((Fl_Input **) x)); } static void *_p_p_Fl_Float_InputTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Input_ *)(Fl_Input *) ((Fl_Float_Input **) x)); } static void *_p_p_Fl_Return_ButtonTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Button *) ((Fl_Return_Button **) x)); } static void *_p_p_Fl_Repeat_ButtonTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Button *) ((Fl_Repeat_Button **) x)); } static void *_p_p_Fl_Radio_Round_ButtonTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Button *)(Fl_Light_Button *)(Fl_Round_Button *) ((Fl_Radio_Round_Button **) x)); } static void *_p_p_Fl_Round_ButtonTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Button *)(Fl_Light_Button *) ((Fl_Round_Button **) x)); } static void *_p_p_Fl_Radio_Light_ButtonTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Button *)(Fl_Light_Button *) ((Fl_Radio_Light_Button **) x)); } static void *_p_p_Fl_Radio_ButtonTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Button *) ((Fl_Radio_Button **) x)); } static void *_p_p_Fl_Menu_ButtonTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Menu_ *) ((Fl_Menu_Button **) x)); } static void *_p_p_Fl_Check_ButtonTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Button *)(Fl_Light_Button *) ((Fl_Check_Button **) x)); } static void *_p_p_Fl_Light_ButtonTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Button *) ((Fl_Light_Button **) x)); } static void *_p_p_Fl_ButtonTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_Button **) x)); } static void *_p_p_Fl_Toggle_ButtonTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Button *) ((Fl_Toggle_Button **) x)); } static void *_p_p_ListSelectTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((ListSelect **) x)); } static void *_p_p_Fl_Simple_CounterTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *)(Fl_Counter *) ((Fl_Simple_Counter **) x)); } static void *_p_p_Fl_CounterTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *) ((Fl_Counter **) x)); } static void *_p_p_Fl_Select_BrowserTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *)(Fl_Browser_ *)(Fl_Browser *) ((Fl_Select_Browser **) x)); } static void *_p_p_Fl_Multi_BrowserTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *)(Fl_Browser_ *)(Fl_Browser *) ((Fl_Multi_Browser **) x)); } static void *_p_p_Fl_Hold_BrowserTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *)(Fl_Browser_ *)(Fl_Browser *) ((Fl_Hold_Browser **) x)); } static void *_p_p_Fl_Check_BrowserTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *)(Fl_Browser_ *) ((Fl_Check_Browser **) x)); } static void *_p_p_Fl_File_BrowserTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *)(Fl_Browser_ *)(Fl_Browser *) ((Fl_File_Browser **) x)); } static void *_p_p_Fl_BrowserTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *)(Fl_Browser_ *) ((Fl_Browser **) x)); } static void *_p_p_Fl_Multiline_OutputTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Input_ *)(Fl_Input *)(Fl_Output *) ((Fl_Multiline_Output **) x)); } static void *_p_p_Fl_OutputTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Input_ *)(Fl_Input *) ((Fl_Output **) x)); } static void *_p_p_Fl_Clock_OutputTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_Clock_Output **) x)); } static void *_p_p_Flcc_ValueBoxTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Flcc_ValueBox **) x)); } static void *_p_p_Fl_Value_OutputTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *) ((Fl_Value_Output **) x)); } static void *_p_p_Flcc_HueBoxTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Flcc_HueBox **) x)); } static void *_p_p_Fl_ScrollbarTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *)(Fl_Slider *) ((Fl_Scrollbar **) x)); } static void *_p_p_Fl_Overlay_WindowTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *)(Fl_Window *)(Fl_Double_Window *) ((Fl_Overlay_Window **) x)); } static void *_p_p_Fl_Menu_WindowTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *)(Fl_Window *)(Fl_Single_Window *) ((Fl_Menu_Window **) x)); } static void *_p_p_Fl_Single_WindowTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *)(Fl_Window *) ((Fl_Single_Window **) x)); } static void *_p_p_Fl_Gl_WindowTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *)(Fl_Window *) ((Fl_Gl_Window **) x)); } static void *_p_p_Fl_WindowTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Window **) x)); } static void *_p_p_Fl_Double_WindowTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *)(Fl_Window *) ((Fl_Double_Window **) x)); } static void *_p_p_Fl_Menu_To_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_Menu_ **) x)); } static void *_p_p_Fl_FormsBitmapTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_FormsBitmap **) x)); } static void *_p_p_Fl_ScrollTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Scroll **) x)); } static void *_p_p_Fl_Multiline_InputTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Input_ *)(Fl_Input *) ((Fl_Multiline_Input **) x)); } static void *_p_p_Fl_Value_InputTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *) ((Fl_Value_Input **) x)); } static void *_p_p_Flcc_Value_InputTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *)(Fl_Value_Input *) ((Flcc_Value_Input **) x)); } static void *_p_p_Fl_File_InputTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Input_ *)(Fl_Input *) ((Fl_File_Input **) x)); } static void *_p_p_Fl_TabsTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Tabs **) x)); } static void *_p_p_Fl_Input_To_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_Input_ **) x)); } static void *_p_p_Fl_AdjusterTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *) ((Fl_Adjuster **) x)); } static void *_p_p_Fl_Round_ClockTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Clock_Output *)(Fl_Clock *) ((Fl_Round_Clock **) x)); } static void *_p_p_Fl_ClockTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Clock_Output *) ((Fl_Clock **) x)); } static void *_p_p_Fl_Text_EditorTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *)(Fl_Text_Display *) ((Fl_Text_Editor **) x)); } static void *_p_p_Fl_FormsPixmapTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_FormsPixmap **) x)); } static void *_p_p_Fl_Browser_To_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Browser_ **) x)); } static void *_p_p_Fl_BoxTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_Box **) x)); } static void *_p_p_Fl_Help_ViewTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Help_View **) x)); } static void *_p_p_Fl_ProgressTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) ((Fl_Progress **) x)); } static void *_p_p_Fl_Line_DialTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *)(Fl_Dial *) ((Fl_Line_Dial **) x)); } static void *_p_p_Fl_PackTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Pack **) x)); } static void *_p_p_Fl_SpinnerTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Spinner **) x)); } static void *_p_p_Fl_Table_RowTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *)(Fl_Table *) ((Fl_Table_Row **) x)); } static void *_p_p_Fl_Color_ChooserTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Color_Chooser **) x)); } static void *_p_p_Fl_RollerTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Valuator *) ((Fl_Roller **) x)); } static void *_p_p_Fl_Input_ChoiceTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Input_Choice **) x)); } static void *_p_p_Fl_ChoiceTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Menu_ *) ((Fl_Choice **) x)); } static void *_p_p_Fl_WizardTo_p_p_Fl_Widget(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Widget **) (Fl_Group *) ((Fl_Wizard **) x)); } static void *_p_Fl_Text_EditorTo_p_Fl_Text_Display(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Text_Display *) ((Fl_Text_Editor *) x)); } static void *_p_Fl_Radio_Round_ButtonTo_p_Fl_Round_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Round_Button *) ((Fl_Radio_Round_Button *) x)); } static void *_p_Fl_Light_ButtonTo_p_Fl_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Button *) ((Fl_Light_Button *) x)); } static void *_p_Fl_Check_ButtonTo_p_Fl_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Button *) (Fl_Light_Button *) ((Fl_Check_Button *) x)); } static void *_p_Fl_Radio_ButtonTo_p_Fl_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Button *) ((Fl_Radio_Button *) x)); } static void *_p_Fl_Radio_Light_ButtonTo_p_Fl_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Button *) (Fl_Light_Button *) ((Fl_Radio_Light_Button *) x)); } static void *_p_Fl_Round_ButtonTo_p_Fl_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Button *) (Fl_Light_Button *) ((Fl_Round_Button *) x)); } static void *_p_Fl_Radio_Round_ButtonTo_p_Fl_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Button *) (Fl_Light_Button *)(Fl_Round_Button *) ((Fl_Radio_Round_Button *) x)); } static void *_p_Fl_Repeat_ButtonTo_p_Fl_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Button *) ((Fl_Repeat_Button *) x)); } static void *_p_Fl_Return_ButtonTo_p_Fl_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Button *) ((Fl_Return_Button *) x)); } static void *_p_Fl_Toggle_ButtonTo_p_Fl_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Button *) ((Fl_Toggle_Button *) x)); } static void *_p_Fl_Check_ButtonTo_p_Fl_Light_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Light_Button *) ((Fl_Check_Button *) x)); } static void *_p_Fl_Radio_Light_ButtonTo_p_Fl_Light_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Light_Button *) ((Fl_Radio_Light_Button *) x)); } static void *_p_Fl_Round_ButtonTo_p_Fl_Light_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Light_Button *) ((Fl_Round_Button *) x)); } static void *_p_Fl_Radio_Round_ButtonTo_p_Fl_Light_Button(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Light_Button *) (Fl_Round_Button *) ((Fl_Radio_Round_Button *) x)); } static void *_p_Fl_OutputTo_p_Fl_Input_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input_ *) (Fl_Input *) ((Fl_Output *) x)); } static void *_p_Fl_Multiline_OutputTo_p_Fl_Input_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input_ *) (Fl_Input *)(Fl_Output *) ((Fl_Multiline_Output *) x)); } static void *_p_Fl_File_InputTo_p_Fl_Input_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input_ *) (Fl_Input *) ((Fl_File_Input *) x)); } static void *_p_Fl_Multiline_InputTo_p_Fl_Input_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input_ *) (Fl_Input *) ((Fl_Multiline_Input *) x)); } static void *_p_Fl_InputTo_p_Fl_Input_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input_ *) ((Fl_Input *) x)); } static void *_p_Fl_Float_InputTo_p_Fl_Input_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input_ *) (Fl_Input *) ((Fl_Float_Input *) x)); } static void *_p_Fl_Int_InputTo_p_Fl_Input_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input_ *) (Fl_Input *) ((Fl_Int_Input *) x)); } static void *_p_Fl_Secret_InputTo_p_Fl_Input_(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Input_ *) (Fl_Input *) ((Fl_Secret_Input *) x)); } static void *_p_Fl_Simple_CounterTo_p_Fl_Counter(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Counter *) ((Fl_Simple_Counter *) x)); } static void *_p_Fl_Table_RowTo_p_Fl_Table(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Table *) ((Fl_Table_Row *) x)); } static void *_p_Fl_Fill_DialTo_p_Fl_Dial(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Dial *) ((Fl_Fill_Dial *) x)); } static void *_p_Fl_Line_DialTo_p_Fl_Dial(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Dial *) ((Fl_Line_Dial *) x)); } static void *_p_Fl_Overlay_WindowTo_p_Fl_Double_Window(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Double_Window *) ((Fl_Overlay_Window *) x)); } static void *_p_Fl_Menu_WindowTo_p_Fl_Single_Window(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Single_Window *) ((Fl_Menu_Window *) x)); } static void *_p_Fl_Double_WindowTo_p_Fl_Window(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Window *) ((Fl_Double_Window *) x)); } static void *_p_Fl_Gl_WindowTo_p_Fl_Window(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Window *) ((Fl_Gl_Window *) x)); } static void *_p_Fl_Single_WindowTo_p_Fl_Window(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Window *) ((Fl_Single_Window *) x)); } static void *_p_Fl_Menu_WindowTo_p_Fl_Window(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Window *) (Fl_Single_Window *) ((Fl_Menu_Window *) x)); } static void *_p_Fl_Overlay_WindowTo_p_Fl_Window(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Window *) (Fl_Double_Window *) ((Fl_Overlay_Window *) x)); } static void *_p_Flcc_Value_InputTo_p_Fl_Value_Input(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Value_Input *) ((Flcc_Value_Input *) x)); } static void *_p_Fl_Menu_WindowTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) (Fl_Window *)(Fl_Single_Window *) ((Fl_Menu_Window *) x)); } static void *_p_Fl_Single_WindowTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) (Fl_Window *) ((Fl_Single_Window *) x)); } static void *_p_Fl_Gl_WindowTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) (Fl_Window *) ((Fl_Gl_Window *) x)); } static void *_p_Fl_Double_WindowTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) (Fl_Window *) ((Fl_Double_Window *) x)); } static void *_p_Fl_WindowTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Window *) x)); } static void *_p_Fl_Overlay_WindowTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) (Fl_Window *)(Fl_Double_Window *) ((Fl_Overlay_Window *) x)); } static void *_p_Fl_Text_EditorTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) (Fl_Text_Display *) ((Fl_Text_Editor *) x)); } static void *_p_Fl_TileTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Tile *) x)); } static void *_p_Fl_Color_ChooserTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Color_Chooser *) x)); } static void *_p_Fl_TabsTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Tabs *) x)); } static void *_p_Fl_WizardTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Wizard *) x)); } static void *_p_Fl_Multi_BrowserTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) (Fl_Browser_ *)(Fl_Browser *) ((Fl_Multi_Browser *) x)); } static void *_p_Fl_Hold_BrowserTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) (Fl_Browser_ *)(Fl_Browser *) ((Fl_Hold_Browser *) x)); } static void *_p_Fl_Check_BrowserTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) (Fl_Browser_ *) ((Fl_Check_Browser *) x)); } static void *_p_Fl_File_BrowserTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) (Fl_Browser_ *)(Fl_Browser *) ((Fl_File_Browser *) x)); } static void *_p_Fl_BrowserTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) (Fl_Browser_ *) ((Fl_Browser *) x)); } static void *_p_Fl_Select_BrowserTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) (Fl_Browser_ *)(Fl_Browser *) ((Fl_Select_Browser *) x)); } static void *_p_Fl_ScrollTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Scroll *) x)); } static void *_p_Fl_Browser_To_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Browser_ *) x)); } static void *_p_Fl_TableTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Table *) x)); } static void *_p_Fl_Help_ViewTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Help_View *) x)); } static void *_p_Fl_PackTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Pack *) x)); } static void *_p_ListSelectTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((ListSelect *) x)); } static void *_p_Fl_Text_DisplayTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Text_Display *) x)); } static void *_p_Fl_SpinnerTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Spinner *) x)); } static void *_p_Fl_Input_ChoiceTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Input_Choice *) x)); } static void *_p_Fl_Table_RowTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) (Fl_Table *) ((Fl_Table_Row *) x)); } static void *_p_Fl_TreeTo_p_Fl_Group(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Group *) ((Fl_Tree *) x)); } static void *_p_Fl_Hor_Value_SliderTo_p_Fl_Value_Slider(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Value_Slider *) ((Fl_Hor_Value_Slider *) x)); } static void *_p_Fl_ScrollbarTo_p_Fl_Slider(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Slider *) ((Fl_Scrollbar *) x)); } static void *_p_Fl_Fill_SliderTo_p_Fl_Slider(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Slider *) ((Fl_Fill_Slider *) x)); } static void *_p_Fl_Hor_Fill_SliderTo_p_Fl_Slider(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Slider *) ((Fl_Hor_Fill_Slider *) x)); } static void *_p_Fl_Hor_Nice_SliderTo_p_Fl_Slider(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Slider *) ((Fl_Hor_Nice_Slider *) x)); } static void *_p_Fl_Hor_SliderTo_p_Fl_Slider(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Slider *) ((Fl_Hor_Slider *) x)); } static void *_p_Fl_Value_SliderTo_p_Fl_Slider(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Slider *) ((Fl_Value_Slider *) x)); } static void *_p_Fl_Hor_Value_SliderTo_p_Fl_Slider(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Slider *) (Fl_Value_Slider *) ((Fl_Hor_Value_Slider *) x)); } static void *_p_Fl_Nice_SliderTo_p_Fl_Slider(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Slider *) ((Fl_Nice_Slider *) x)); } static void *_p_f_p_q_const__char_p_uchar_int__p_Fl_JPEG_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *(*)(char const *,uchar *,int)) (Fl_RGB_Image *) ((Fl_JPEG_Image *(*)(char const *,uchar *,int)) x)); } static void *_p_f_p_q_const__char_p_uchar_int__p_Fl_PNG_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *(*)(char const *,uchar *,int)) (Fl_RGB_Image *) ((Fl_PNG_Image *(*)(char const *,uchar *,int)) x)); } static void *_p_f_p_q_const__char_p_uchar_int__p_Fl_PNM_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *(*)(char const *,uchar *,int)) (Fl_RGB_Image *) ((Fl_PNM_Image *(*)(char const *,uchar *,int)) x)); } static void *_p_f_p_q_const__char_p_uchar_int__p_Fl_XBM_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *(*)(char const *,uchar *,int)) (Fl_Bitmap *) ((Fl_XBM_Image *(*)(char const *,uchar *,int)) x)); } static void *_p_f_p_q_const__char_p_uchar_int__p_Fl_XPM_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *(*)(char const *,uchar *,int)) (Fl_Pixmap *) ((Fl_XPM_Image *(*)(char const *,uchar *,int)) x)); } static void *_p_f_p_q_const__char_p_uchar_int__p_Fl_RGB_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *(*)(char const *,uchar *,int)) ((Fl_RGB_Image *(*)(char const *,uchar *,int)) x)); } static void *_p_f_p_q_const__char_p_uchar_int__p_Fl_BMP_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *(*)(char const *,uchar *,int)) (Fl_RGB_Image *) ((Fl_BMP_Image *(*)(char const *,uchar *,int)) x)); } static void *_p_f_p_q_const__char_p_uchar_int__p_Fl_GIF_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *(*)(char const *,uchar *,int)) (Fl_Pixmap *) ((Fl_GIF_Image *(*)(char const *,uchar *,int)) x)); } static void *_p_f_p_q_const__char_p_uchar_int__p_Fl_Shared_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *(*)(char const *,uchar *,int)) ((Fl_Shared_Image *(*)(char const *,uchar *,int)) x)); } static void *_p_f_p_q_const__char_p_uchar_int__p_Fl_Tiled_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *(*)(char const *,uchar *,int)) ((Fl_Tiled_Image *(*)(char const *,uchar *,int)) x)); } static void *_p_f_p_q_const__char_p_uchar_int__p_Fl_PixmapTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *(*)(char const *,uchar *,int)) ((Fl_Pixmap *(*)(char const *,uchar *,int)) x)); } static void *_p_f_p_q_const__char_p_uchar_int__p_Fl_BitmapTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *(*)(char const *,uchar *,int)) ((Fl_Bitmap *(*)(char const *,uchar *,int)) x)); } static void *_p_Fl_JPEG_ImageTo_p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *) (Fl_RGB_Image *) ((Fl_JPEG_Image *) x)); } static void *_p_Fl_PNG_ImageTo_p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *) (Fl_RGB_Image *) ((Fl_PNG_Image *) x)); } static void *_p_Fl_PNM_ImageTo_p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *) (Fl_RGB_Image *) ((Fl_PNM_Image *) x)); } static void *_p_Fl_XBM_ImageTo_p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *) (Fl_Bitmap *) ((Fl_XBM_Image *) x)); } static void *_p_Fl_XPM_ImageTo_p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *) (Fl_Pixmap *) ((Fl_XPM_Image *) x)); } static void *_p_Fl_RGB_ImageTo_p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *) ((Fl_RGB_Image *) x)); } static void *_p_Fl_BMP_ImageTo_p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *) (Fl_RGB_Image *) ((Fl_BMP_Image *) x)); } static void *_p_Fl_GIF_ImageTo_p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *) (Fl_Pixmap *) ((Fl_GIF_Image *) x)); } static void *_p_Fl_Shared_ImageTo_p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *) ((Fl_Shared_Image *) x)); } static void *_p_Fl_Tiled_ImageTo_p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *) ((Fl_Tiled_Image *) x)); } static void *_p_Fl_PixmapTo_p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *) ((Fl_Pixmap *) x)); } static void *_p_Fl_BitmapTo_p_Fl_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Image *) ((Fl_Bitmap *) x)); } static void *_p_Fl_JPEG_ImageTo_p_Fl_RGB_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_RGB_Image *) ((Fl_JPEG_Image *) x)); } static void *_p_Fl_PNG_ImageTo_p_Fl_RGB_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_RGB_Image *) ((Fl_PNG_Image *) x)); } static void *_p_Fl_PNM_ImageTo_p_Fl_RGB_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_RGB_Image *) ((Fl_PNM_Image *) x)); } static void *_p_Fl_BMP_ImageTo_p_Fl_RGB_Image(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_RGB_Image *) ((Fl_BMP_Image *) x)); } static void *_p_Fl_XPM_ImageTo_p_Fl_Pixmap(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Pixmap *) ((Fl_XPM_Image *) x)); } static void *_p_Fl_GIF_ImageTo_p_Fl_Pixmap(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Pixmap *) ((Fl_GIF_Image *) x)); } static void *_p_Fl_AdjusterTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) ((Fl_Adjuster *) x)); } static void *_p_Flcc_Value_InputTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) (Fl_Value_Input *) ((Flcc_Value_Input *) x)); } static void *_p_Fl_Value_InputTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) ((Fl_Value_Input *) x)); } static void *_p_Fl_Fill_DialTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) (Fl_Dial *) ((Fl_Fill_Dial *) x)); } static void *_p_Fl_DialTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) ((Fl_Dial *) x)); } static void *_p_Fl_CounterTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) ((Fl_Counter *) x)); } static void *_p_Fl_Simple_CounterTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) (Fl_Counter *) ((Fl_Simple_Counter *) x)); } static void *_p_Fl_Line_DialTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) (Fl_Dial *) ((Fl_Line_Dial *) x)); } static void *_p_Fl_Value_OutputTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) ((Fl_Value_Output *) x)); } static void *_p_Fl_Hor_Value_SliderTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) (Fl_Slider *)(Fl_Value_Slider *) ((Fl_Hor_Value_Slider *) x)); } static void *_p_Fl_Value_SliderTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) (Fl_Slider *) ((Fl_Value_Slider *) x)); } static void *_p_Fl_Hor_SliderTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) (Fl_Slider *) ((Fl_Hor_Slider *) x)); } static void *_p_Fl_Hor_Nice_SliderTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) (Fl_Slider *) ((Fl_Hor_Nice_Slider *) x)); } static void *_p_Fl_Hor_Fill_SliderTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) (Fl_Slider *) ((Fl_Hor_Fill_Slider *) x)); } static void *_p_Fl_Fill_SliderTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) (Fl_Slider *) ((Fl_Fill_Slider *) x)); } static void *_p_Fl_SliderTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) ((Fl_Slider *) x)); } static void *_p_Fl_Nice_SliderTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) (Fl_Slider *) ((Fl_Nice_Slider *) x)); } static void *_p_Fl_ScrollbarTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) (Fl_Slider *) ((Fl_Scrollbar *) x)); } static void *_p_Fl_RollerTo_p_Fl_Valuator(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((Fl_Valuator *) ((Fl_Roller *) x)); } static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FL_CHART_ENTRY = {"_p_FL_CHART_ENTRY", "FL_CHART_ENTRY *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl = {"_p_Fl", "Fl *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Adjuster = {"_p_Fl_Adjuster", "Fl_Adjuster *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_BMP_Image = {"_p_Fl_BMP_Image", "Fl_BMP_Image *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Bitmap = {"_p_Fl_Bitmap", "Fl_Bitmap *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Box = {"_p_Fl_Box", "Fl_Box *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Browser = {"_p_Fl_Browser", "Fl_Browser *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Browser_ = {"_p_Fl_Browser_", "Fl_Browser_ *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Button = {"_p_Fl_Button", "Fl_Button *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Chart = {"_p_Fl_Chart", "Fl_Chart *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Check_Browser = {"_p_Fl_Check_Browser", "Fl_Check_Browser *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Check_Button = {"_p_Fl_Check_Button", "Fl_Check_Button *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Choice = {"_p_Fl_Choice", "Fl_Choice *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Clock = {"_p_Fl_Clock", "Fl_Clock *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Clock_Output = {"_p_Fl_Clock_Output", "Fl_Clock_Output *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Color_Chooser = {"_p_Fl_Color_Chooser", "Fl_Color_Chooser *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Counter = {"_p_Fl_Counter", "Fl_Counter *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Dial = {"_p_Fl_Dial", "Fl_Dial *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Double_Window = {"_p_Fl_Double_Window", "Fl_Double_Window *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_End = {"_p_Fl_End", "Fl_End *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_File_Browser = {"_p_Fl_File_Browser", "Fl_File_Browser *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_File_Chooser = {"_p_Fl_File_Chooser", "Fl_File_Chooser *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_File_Icon = {"_p_Fl_File_Icon", "Fl_File_Icon *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_File_Input = {"_p_Fl_File_Input", "Fl_File_Input *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Fill_Dial = {"_p_Fl_Fill_Dial", "Fl_Fill_Dial *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Fill_Slider = {"_p_Fl_Fill_Slider", "Fl_Fill_Slider *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Float_Input = {"_p_Fl_Float_Input", "Fl_Float_Input *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_FormsBitmap = {"_p_Fl_FormsBitmap", "Fl_FormsBitmap *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_FormsPixmap = {"_p_Fl_FormsPixmap", "Fl_FormsPixmap *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Free = {"_p_Fl_Free", "Fl_Free *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_GIF_Image = {"_p_Fl_GIF_Image", "Fl_GIF_Image *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Gl_Window = {"_p_Fl_Gl_Window", "Fl_Gl_Window *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Graphics_Driver = {"_p_Fl_Graphics_Driver", "Fl_Graphics_Driver *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Group = {"_p_Fl_Group", "Fl_Group *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Help_Block = {"_p_Fl_Help_Block", "Fl_Help_Block *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Help_Dialog = {"_p_Fl_Help_Dialog", "Fl_Help_Dialog *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Help_Font_Stack = {"_p_Fl_Help_Font_Stack", "Fl_Help_Font_Stack *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Help_Font_Style = {"_p_Fl_Help_Font_Style", "Fl_Help_Font_Style *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Help_Link = {"_p_Fl_Help_Link", "Fl_Help_Link *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Help_Target = {"_p_Fl_Help_Target", "Fl_Help_Target *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Help_View = {"_p_Fl_Help_View", "Fl_Help_View *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Hold_Browser = {"_p_Fl_Hold_Browser", "Fl_Hold_Browser *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Hor_Fill_Slider = {"_p_Fl_Hor_Fill_Slider", "Fl_Hor_Fill_Slider *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Hor_Nice_Slider = {"_p_Fl_Hor_Nice_Slider", "Fl_Hor_Nice_Slider *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Hor_Slider = {"_p_Fl_Hor_Slider", "Fl_Hor_Slider *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Hor_Value_Slider = {"_p_Fl_Hor_Value_Slider", "Fl_Hor_Value_Slider *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Image = {"_p_Fl_Image", "Fl_Image *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Input = {"_p_Fl_Input", "Fl_Input *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Input_ = {"_p_Fl_Input_", "Fl_Input_ *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Input_Choice = {"_p_Fl_Input_Choice", "Fl_Input_Choice *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Int_Input = {"_p_Fl_Int_Input", "Fl_Int_Input *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_JPEG_Image = {"_p_Fl_JPEG_Image", "Fl_JPEG_Image *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Label = {"_p_Fl_Label", "Fl_Label *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Light_Button = {"_p_Fl_Light_Button", "Fl_Light_Button *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Line_Dial = {"_p_Fl_Line_Dial", "Fl_Line_Dial *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Menu_ = {"_p_Fl_Menu_", "Fl_Menu_ *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Menu_Bar = {"_p_Fl_Menu_Bar", "Fl_Menu_Bar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Menu_Button = {"_p_Fl_Menu_Button", "Fl_Menu_Button *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Menu_Item = {"_p_Fl_Menu_Item", "Fl_Menu *|Fl_Menu_Item *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Menu_Window = {"_p_Fl_Menu_Window", "Fl_Menu_Window *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Multi_Browser = {"_p_Fl_Multi_Browser", "Fl_Multi_Browser *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Multi_Label = {"_p_Fl_Multi_Label", "Fl_Multi_Label *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Multiline_Input = {"_p_Fl_Multiline_Input", "Fl_Multiline_Input *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Multiline_Output = {"_p_Fl_Multiline_Output", "Fl_Multiline_Output *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Nice_Slider = {"_p_Fl_Nice_Slider", "Fl_Nice_Slider *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Option = {"_p_Fl_Option", "Fl_Option *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Output = {"_p_Fl_Output", "Fl_Output *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Overlay_Window = {"_p_Fl_Overlay_Window", "Fl_Overlay_Window *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_PNG_Image = {"_p_Fl_PNG_Image", "Fl_PNG_Image *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_PNM_Image = {"_p_Fl_PNM_Image", "Fl_PNM_Image *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Pack = {"_p_Fl_Pack", "Fl_Pack *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Paged_Device = {"_p_Fl_Paged_Device", "Fl_Paged_Device *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Pixmap = {"_p_Fl_Pixmap", "Fl_Pixmap *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Positioner = {"_p_Fl_Positioner", "Fl_Positioner *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Preferences = {"_p_Fl_Preferences", "Fl_Preferences *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Printer = {"_p_Fl_Printer", "Fl_Printer *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Progress = {"_p_Fl_Progress", "Fl_Progress *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_RGB_Image = {"_p_Fl_RGB_Image", "Fl_RGB_Image *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Radio_Button = {"_p_Fl_Radio_Button", "Fl_Radio_Button *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Radio_Light_Button = {"_p_Fl_Radio_Light_Button", "Fl_Radio_Light_Button *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Radio_Round_Button = {"_p_Fl_Radio_Round_Button", "Fl_Radio_Round_Button *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Region = {"_p_Fl_Region", "Fl_Region *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Repeat_Button = {"_p_Fl_Repeat_Button", "Fl_Repeat_Button *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Return_Button = {"_p_Fl_Return_Button", "Fl_Return_Button *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Roller = {"_p_Fl_Roller", "Fl_Roller *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Round_Button = {"_p_Fl_Round_Button", "Fl_Round_Button *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Round_Clock = {"_p_Fl_Round_Clock", "Fl_Round_Clock *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Scroll = {"_p_Fl_Scroll", "Fl_Scroll *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Scrollbar = {"_p_Fl_Scrollbar", "Fl_Scrollbar *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Secret_Input = {"_p_Fl_Secret_Input", "Fl_Secret_Input *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Select_Browser = {"_p_Fl_Select_Browser", "Fl_Select_Browser *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Shared_Image = {"_p_Fl_Shared_Image", "Fl_Shared_Image *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Simple_Counter = {"_p_Fl_Simple_Counter", "Fl_Simple_Counter *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Single_Window = {"_p_Fl_Single_Window", "Fl_Single_Window *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Slider = {"_p_Fl_Slider", "Fl_Slider *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Spinner = {"_p_Fl_Spinner", "Fl_Spinner *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Table = {"_p_Fl_Table", "Fl_Table *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Table_Row = {"_p_Fl_Table_Row", "Fl_Table_Row *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Tabs = {"_p_Fl_Tabs", "Fl_Tabs *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Text_Buffer = {"_p_Fl_Text_Buffer", "Fl_Text_Buffer *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Text_Display = {"_p_Fl_Text_Display", "Fl_Text_Display *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Text_Display__Style_Table_Entry = {"_p_Fl_Text_Display__Style_Table_Entry", "Fl_Text_Display::Style_Table_Entry *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Text_Editor = {"_p_Fl_Text_Editor", "Fl_Text_Editor *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Text_Selection = {"_p_Fl_Text_Selection", "Fl_Text_Selection *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Tile = {"_p_Fl_Tile", "Fl_Tile *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Tiled_Image = {"_p_Fl_Tiled_Image", "Fl_Tiled_Image *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Timer = {"_p_Fl_Timer", "Fl_Timer *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Toggle_Button = {"_p_Fl_Toggle_Button", "Fl_Toggle_Button *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Tooltip = {"_p_Fl_Tooltip", "Fl_Tooltip *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Tree = {"_p_Fl_Tree", "Fl_Tree *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Tree_Item = {"_p_Fl_Tree_Item", "Fl_Tree_Item *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Tree_Item_Array = {"_p_Fl_Tree_Item_Array", "Fl_Tree_Item_Array *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Tree_Prefs = {"_p_Fl_Tree_Prefs", "Fl_Tree_Prefs *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Valuator = {"_p_Fl_Valuator", "Fl_Valuator *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Value_Input = {"_p_Fl_Value_Input", "Fl_Value_Input *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Value_Output = {"_p_Fl_Value_Output", "Fl_Value_Output *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Value_Slider = {"_p_Fl_Value_Slider", "Fl_Value_Slider *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Widget = {"_p_Fl_Widget", "Fl_Widget *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Widget_Tracker = {"_p_Fl_Widget_Tracker", "Fl_Widget_Tracker *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Window = {"_p_Fl_Window", "Fl_Window *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_Wizard = {"_p_Fl_Wizard", "Fl_Wizard *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_XBM_Image = {"_p_Fl_XBM_Image", "Fl_XBM_Image *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Fl_XPM_Image = {"_p_Fl_XPM_Image", "Fl_XPM_Image *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Flcc_HueBox = {"_p_Flcc_HueBox", "Flcc_HueBox *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Flcc_ValueBox = {"_p_Flcc_ValueBox", "Flcc_ValueBox *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Flcc_Value_Input = {"_p_Flcc_Value_Input", "Flcc_Value_Input *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_ListSelect = {"_p_ListSelect", "ListSelect *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Style_Table_Entry = {"_p_Style_Table_Entry", "Style_Table_Entry *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f___void = {"_p_f___void", "void (*)()|Fl_Old_Idle_Handler", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_int_int_int_int_p_q_const__char_p_void__void = {"_p_f_int_int_int_int_p_q_const__char_p_void__void", "void (*)(int,int,int,int,char const *,void *)|Fl_Text_Modify_Cb", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_int_int_int_int_unsigned_int__void = {"_p_f_int_int_int_int_unsigned_int__void", "void (*)(int,int,int,int,unsigned int)|Fl_Box_Draw_F *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_int_int_p_void__void = {"_p_f_int_int_p_void__void", "void (*)(int,int,void *)|Fl_Text_Predelete_Cb", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_int_p_Fl_Text_Editor__int = {"_p_f_int_p_Fl_Text_Editor__int", "int (*)(int,Fl_Text_Editor *)|Fl_Text_Editor::Key_Func", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_int_p_Fl_Window__int = {"_p_f_int_p_Fl_Window__int", "int (*)(int,Fl_Window *)|Fl_Event_Dispatch", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_int_p_p_char_r_int__int = {"_p_f_int_p_p_char_r_int__int", "Fl_Args_Handler|int (*)(int,char **,int &)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_Fl_File_Chooser_p_void__void = {"_p_f_p_Fl_File_Chooser_p_void__void", "void (*)(Fl_File_Chooser *,void *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_Fl_Widget__void = {"_p_f_p_Fl_Widget__void", "Fl_Callback0 *|void (*)(Fl_Widget *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_Fl_Widget_int_float_float_char__int = {"_p_f_p_Fl_Widget_int_float_float_char__int", "FL_HANDLEPTR|int (*)(Fl_Widget *,int,float,float,char)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_Fl_Widget_long__void = {"_p_f_p_Fl_Widget_long__void", "void (*)(Fl_Widget *,long)|Fl_Callback1 *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_Fl_Widget_p_q_const__char__p_char = {"_p_f_p_Fl_Widget_p_q_const__char__p_char", "Fl_Help_Func *|char *(*)(Fl_Widget *,char const *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_Fl_Widget_p_void__void = {"_p_f_p_Fl_Widget_p_void__void", "Fl_Callback_p|Fl_Callback *|void (*)(Fl_Widget *,void *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_Fl_Window_p_void__void = {"_p_f_p_Fl_Window_p_void__void", "Fl_Atclose_Handler|void (*)(Fl_Window *,void *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_q_const__Fl_Label_int_int_int_int_unsigned_int__void = {"_p_f_p_q_const__Fl_Label_int_int_int_int_unsigned_int__void", "Fl_Label_Draw_F *|void (*)(Fl_Label const *,int,int,int,int,unsigned int)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_q_const__Fl_Label_r_int_r_int__void = {"_p_f_p_q_const__Fl_Label_r_int_r_int__void", "Fl_Label_Measure_F *|void (*)(Fl_Label const *,int &,int &)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_q_const__char__void = {"_p_f_p_q_const__char__void", "void (*)(char const *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_int_int_int__void = {"_p_f_p_q_const__char_int_int_int__void", "void (*)(char const *,int,int,int)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Image = {"_p_f_p_q_const__char_p_uchar_int__p_Fl_Image", "Fl_Shared_Handler|Fl_Image *(*)(char const *,uchar *,int)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_JPEG_Image = {"_p_f_p_q_const__char_p_uchar_int__p_Fl_JPEG_Image", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_PNG_Image = {"_p_f_p_q_const__char_p_uchar_int__p_Fl_PNG_Image", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_PNM_Image = {"_p_f_p_q_const__char_p_uchar_int__p_Fl_PNM_Image", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_XBM_Image = {"_p_f_p_q_const__char_p_uchar_int__p_Fl_XBM_Image", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_XPM_Image = {"_p_f_p_q_const__char_p_uchar_int__p_Fl_XPM_Image", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_RGB_Image = {"_p_f_p_q_const__char_p_uchar_int__p_Fl_RGB_Image", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_BMP_Image = {"_p_f_p_q_const__char_p_uchar_int__p_Fl_BMP_Image", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_GIF_Image = {"_p_f_p_q_const__char_p_uchar_int__p_Fl_GIF_Image", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Shared_Image = {"_p_f_p_q_const__char_p_uchar_int__p_Fl_Shared_Image", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Tiled_Image = {"_p_f_p_q_const__char_p_uchar_int__p_Fl_Tiled_Image", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Pixmap = {"_p_f_p_q_const__char_p_uchar_int__p_Fl_Pixmap", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Bitmap = {"_p_f_p_q_const__char_p_uchar_int__p_Fl_Bitmap", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_p_q_const__char_v_______void = {"_p_f_p_q_const__char_v_______void", "void (*)(char const *,...)|Fl_Abort_Handler", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_void__void = {"_p_f_p_void__void", "Fl_Awake_Handler|Fl_Timeout_Handler|Fl_Idle_Handler|void (*)(void *)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_p_void_int_int_int_int__void = {"_p_f_p_void_int_int_int_int__void", "void (*)(void *,int,int,int,int)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_unsigned_int__void = {"_p_f_unsigned_int__void", "void (*)(unsigned int)|void (*)(Fl_Color)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_int = {"_p_int", "int *|Fl_Fontsize *|Fl_Font *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_long = {"_p_long", "fl_intptr_t *|long *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_Fl_Shared_Image = {"_p_p_Fl_Shared_Image", "Fl_Shared_Image **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_Fl_Widget = {"_p_p_Fl_Widget", "Fl_Widget **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_Fl_Tree = {"_p_p_Fl_Tree", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Table = {"_p_p_Fl_Table", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Free = {"_p_p_Fl_Free", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Menu_Bar = {"_p_p_Fl_Menu_Bar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Positioner = {"_p_p_Fl_Positioner", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Group = {"_p_p_Fl_Group", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Tile = {"_p_p_Fl_Tile", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Text_Display = {"_p_p_Fl_Text_Display", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Value_Slider = {"_p_p_Fl_Value_Slider", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Hor_Slider = {"_p_p_Fl_Hor_Slider", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Hor_Nice_Slider = {"_p_p_Fl_Hor_Nice_Slider", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Hor_Fill_Slider = {"_p_p_Fl_Hor_Fill_Slider", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Slider = {"_p_p_Fl_Slider", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Hor_Value_Slider = {"_p_p_Fl_Hor_Value_Slider", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Nice_Slider = {"_p_p_Fl_Nice_Slider", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Fill_Slider = {"_p_p_Fl_Fill_Slider", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Valuator = {"_p_p_Fl_Valuator", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Timer = {"_p_p_Fl_Timer", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Chart = {"_p_p_Fl_Chart", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Dial = {"_p_p_Fl_Dial", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Fill_Dial = {"_p_p_Fl_Fill_Dial", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_ListSelect = {"_p_p_ListSelect", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Secret_Input = {"_p_p_Fl_Secret_Input", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Int_Input = {"_p_p_Fl_Int_Input", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Input = {"_p_p_Fl_Input", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Float_Input = {"_p_p_Fl_Float_Input", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Check_Button = {"_p_p_Fl_Check_Button", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Menu_Button = {"_p_p_Fl_Menu_Button", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Radio_Button = {"_p_p_Fl_Radio_Button", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Radio_Light_Button = {"_p_p_Fl_Radio_Light_Button", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Toggle_Button = {"_p_p_Fl_Toggle_Button", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Button = {"_p_p_Fl_Button", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Light_Button = {"_p_p_Fl_Light_Button", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Return_Button = {"_p_p_Fl_Return_Button", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Repeat_Button = {"_p_p_Fl_Repeat_Button", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Radio_Round_Button = {"_p_p_Fl_Radio_Round_Button", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Round_Button = {"_p_p_Fl_Round_Button", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Simple_Counter = {"_p_p_Fl_Simple_Counter", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Counter = {"_p_p_Fl_Counter", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Select_Browser = {"_p_p_Fl_Select_Browser", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Multi_Browser = {"_p_p_Fl_Multi_Browser", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Hold_Browser = {"_p_p_Fl_Hold_Browser", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Check_Browser = {"_p_p_Fl_Check_Browser", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_File_Browser = {"_p_p_Fl_File_Browser", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Browser = {"_p_p_Fl_Browser", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Multiline_Output = {"_p_p_Fl_Multiline_Output", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Output = {"_p_p_Fl_Output", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Clock_Output = {"_p_p_Fl_Clock_Output", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Value_Output = {"_p_p_Fl_Value_Output", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Flcc_ValueBox = {"_p_p_Flcc_ValueBox", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Box = {"_p_p_Fl_Box", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Flcc_HueBox = {"_p_p_Flcc_HueBox", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Scrollbar = {"_p_p_Fl_Scrollbar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Overlay_Window = {"_p_p_Fl_Overlay_Window", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Menu_Window = {"_p_p_Fl_Menu_Window", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Single_Window = {"_p_p_Fl_Single_Window", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Gl_Window = {"_p_p_Fl_Gl_Window", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Window = {"_p_p_Fl_Window", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Double_Window = {"_p_p_Fl_Double_Window", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Menu_ = {"_p_p_Fl_Menu_", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_FormsBitmap = {"_p_p_Fl_FormsBitmap", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Scroll = {"_p_p_Fl_Scroll", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Multiline_Input = {"_p_p_Fl_Multiline_Input", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Value_Input = {"_p_p_Fl_Value_Input", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Flcc_Value_Input = {"_p_p_Flcc_Value_Input", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_File_Input = {"_p_p_Fl_File_Input", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Tabs = {"_p_p_Fl_Tabs", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Input_ = {"_p_p_Fl_Input_", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Adjuster = {"_p_p_Fl_Adjuster", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Round_Clock = {"_p_p_Fl_Round_Clock", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Clock = {"_p_p_Fl_Clock", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Text_Editor = {"_p_p_Fl_Text_Editor", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_FormsPixmap = {"_p_p_Fl_FormsPixmap", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Browser_ = {"_p_p_Fl_Browser_", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Help_View = {"_p_p_Fl_Help_View", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Progress = {"_p_p_Fl_Progress", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Line_Dial = {"_p_p_Fl_Line_Dial", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Pack = {"_p_p_Fl_Pack", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Spinner = {"_p_p_Fl_Spinner", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Table_Row = {"_p_p_Fl_Table_Row", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Color_Chooser = {"_p_p_Fl_Color_Chooser", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Roller = {"_p_p_Fl_Roller", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Input_Choice = {"_p_p_Fl_Input_Choice", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Choice = {"_p_p_Fl_Choice", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_Fl_Wizard = {"_p_p_Fl_Wizard", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_p_dirent = {"_p_p_p_dirent", "dirent ***", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_short = {"_p_short", "short *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "uchar *|unsigned char *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "Fl_Char *|unsigned int *|Fl_Shortcut *|Fl_Color *|Fl_Align *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "fl_uintptr_t *|ulong *|unsigned long *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wchar_t = {"_p_wchar_t", "wchar_t *", 0, 0, (void*)0, 0}; static swig_type_info *swig_type_initial[] = { &_swigt__p_FILE, &_swigt__p_FL_CHART_ENTRY, &_swigt__p_Fl, &_swigt__p_Fl_Adjuster, &_swigt__p_Fl_BMP_Image, &_swigt__p_Fl_Bitmap, &_swigt__p_Fl_Box, &_swigt__p_Fl_Browser, &_swigt__p_Fl_Browser_, &_swigt__p_Fl_Button, &_swigt__p_Fl_Chart, &_swigt__p_Fl_Check_Browser, &_swigt__p_Fl_Check_Button, &_swigt__p_Fl_Choice, &_swigt__p_Fl_Clock, &_swigt__p_Fl_Clock_Output, &_swigt__p_Fl_Color_Chooser, &_swigt__p_Fl_Counter, &_swigt__p_Fl_Dial, &_swigt__p_Fl_Double_Window, &_swigt__p_Fl_End, &_swigt__p_Fl_File_Browser, &_swigt__p_Fl_File_Chooser, &_swigt__p_Fl_File_Icon, &_swigt__p_Fl_File_Input, &_swigt__p_Fl_Fill_Dial, &_swigt__p_Fl_Fill_Slider, &_swigt__p_Fl_Float_Input, &_swigt__p_Fl_FormsBitmap, &_swigt__p_Fl_FormsPixmap, &_swigt__p_Fl_Free, &_swigt__p_Fl_GIF_Image, &_swigt__p_Fl_Gl_Window, &_swigt__p_Fl_Graphics_Driver, &_swigt__p_Fl_Group, &_swigt__p_Fl_Help_Block, &_swigt__p_Fl_Help_Dialog, &_swigt__p_Fl_Help_Font_Stack, &_swigt__p_Fl_Help_Font_Style, &_swigt__p_Fl_Help_Link, &_swigt__p_Fl_Help_Target, &_swigt__p_Fl_Help_View, &_swigt__p_Fl_Hold_Browser, &_swigt__p_Fl_Hor_Fill_Slider, &_swigt__p_Fl_Hor_Nice_Slider, &_swigt__p_Fl_Hor_Slider, &_swigt__p_Fl_Hor_Value_Slider, &_swigt__p_Fl_Image, &_swigt__p_Fl_Input, &_swigt__p_Fl_Input_, &_swigt__p_Fl_Input_Choice, &_swigt__p_Fl_Int_Input, &_swigt__p_Fl_JPEG_Image, &_swigt__p_Fl_Label, &_swigt__p_Fl_Light_Button, &_swigt__p_Fl_Line_Dial, &_swigt__p_Fl_Menu_, &_swigt__p_Fl_Menu_Bar, &_swigt__p_Fl_Menu_Button, &_swigt__p_Fl_Menu_Item, &_swigt__p_Fl_Menu_Window, &_swigt__p_Fl_Multi_Browser, &_swigt__p_Fl_Multi_Label, &_swigt__p_Fl_Multiline_Input, &_swigt__p_Fl_Multiline_Output, &_swigt__p_Fl_Nice_Slider, &_swigt__p_Fl_Option, &_swigt__p_Fl_Output, &_swigt__p_Fl_Overlay_Window, &_swigt__p_Fl_PNG_Image, &_swigt__p_Fl_PNM_Image, &_swigt__p_Fl_Pack, &_swigt__p_Fl_Paged_Device, &_swigt__p_Fl_Pixmap, &_swigt__p_Fl_Positioner, &_swigt__p_Fl_Preferences, &_swigt__p_Fl_Printer, &_swigt__p_Fl_Progress, &_swigt__p_Fl_RGB_Image, &_swigt__p_Fl_Radio_Button, &_swigt__p_Fl_Radio_Light_Button, &_swigt__p_Fl_Radio_Round_Button, &_swigt__p_Fl_Region, &_swigt__p_Fl_Repeat_Button, &_swigt__p_Fl_Return_Button, &_swigt__p_Fl_Roller, &_swigt__p_Fl_Round_Button, &_swigt__p_Fl_Round_Clock, &_swigt__p_Fl_Scroll, &_swigt__p_Fl_Scrollbar, &_swigt__p_Fl_Secret_Input, &_swigt__p_Fl_Select_Browser, &_swigt__p_Fl_Shared_Image, &_swigt__p_Fl_Simple_Counter, &_swigt__p_Fl_Single_Window, &_swigt__p_Fl_Slider, &_swigt__p_Fl_Spinner, &_swigt__p_Fl_Table, &_swigt__p_Fl_Table_Row, &_swigt__p_Fl_Tabs, &_swigt__p_Fl_Text_Buffer, &_swigt__p_Fl_Text_Display, &_swigt__p_Fl_Text_Display__Style_Table_Entry, &_swigt__p_Fl_Text_Editor, &_swigt__p_Fl_Text_Selection, &_swigt__p_Fl_Tile, &_swigt__p_Fl_Tiled_Image, &_swigt__p_Fl_Timer, &_swigt__p_Fl_Toggle_Button, &_swigt__p_Fl_Tooltip, &_swigt__p_Fl_Tree, &_swigt__p_Fl_Tree_Item, &_swigt__p_Fl_Tree_Item_Array, &_swigt__p_Fl_Tree_Prefs, &_swigt__p_Fl_Valuator, &_swigt__p_Fl_Value_Input, &_swigt__p_Fl_Value_Output, &_swigt__p_Fl_Value_Slider, &_swigt__p_Fl_Widget, &_swigt__p_Fl_Widget_Tracker, &_swigt__p_Fl_Window, &_swigt__p_Fl_Wizard, &_swigt__p_Fl_XBM_Image, &_swigt__p_Fl_XPM_Image, &_swigt__p_Flcc_HueBox, &_swigt__p_Flcc_ValueBox, &_swigt__p_Flcc_Value_Input, &_swigt__p_ListSelect, &_swigt__p_Style_Table_Entry, &_swigt__p_char, &_swigt__p_double, &_swigt__p_f___void, &_swigt__p_f_int_int_int_int_p_q_const__char_p_void__void, &_swigt__p_f_int_int_int_int_unsigned_int__void, &_swigt__p_f_int_int_p_void__void, &_swigt__p_f_int_p_Fl_Text_Editor__int, &_swigt__p_f_int_p_Fl_Window__int, &_swigt__p_f_int_p_p_char_r_int__int, &_swigt__p_f_p_Fl_File_Chooser_p_void__void, &_swigt__p_f_p_Fl_Widget__void, &_swigt__p_f_p_Fl_Widget_int_float_float_char__int, &_swigt__p_f_p_Fl_Widget_long__void, &_swigt__p_f_p_Fl_Widget_p_q_const__char__p_char, &_swigt__p_f_p_Fl_Widget_p_void__void, &_swigt__p_f_p_Fl_Window_p_void__void, &_swigt__p_f_p_q_const__Fl_Label_int_int_int_int_unsigned_int__void, &_swigt__p_f_p_q_const__Fl_Label_r_int_r_int__void, &_swigt__p_f_p_q_const__char__void, &_swigt__p_f_p_q_const__char_int_int_int__void, &_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_BMP_Image, &_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Bitmap, &_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_GIF_Image, &_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Image, &_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_JPEG_Image, &_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_PNG_Image, &_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_PNM_Image, &_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Pixmap, &_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_RGB_Image, &_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Shared_Image, &_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Tiled_Image, &_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_XBM_Image, &_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_XPM_Image, &_swigt__p_f_p_q_const__char_v_______void, &_swigt__p_f_p_void__void, &_swigt__p_f_p_void_int_int_int_int__void, &_swigt__p_f_unsigned_int__void, &_swigt__p_float, &_swigt__p_int, &_swigt__p_long, &_swigt__p_p_Fl_Adjuster, &_swigt__p_p_Fl_Box, &_swigt__p_p_Fl_Browser, &_swigt__p_p_Fl_Browser_, &_swigt__p_p_Fl_Button, &_swigt__p_p_Fl_Chart, &_swigt__p_p_Fl_Check_Browser, &_swigt__p_p_Fl_Check_Button, &_swigt__p_p_Fl_Choice, &_swigt__p_p_Fl_Clock, &_swigt__p_p_Fl_Clock_Output, &_swigt__p_p_Fl_Color_Chooser, &_swigt__p_p_Fl_Counter, &_swigt__p_p_Fl_Dial, &_swigt__p_p_Fl_Double_Window, &_swigt__p_p_Fl_File_Browser, &_swigt__p_p_Fl_File_Input, &_swigt__p_p_Fl_Fill_Dial, &_swigt__p_p_Fl_Fill_Slider, &_swigt__p_p_Fl_Float_Input, &_swigt__p_p_Fl_FormsBitmap, &_swigt__p_p_Fl_FormsPixmap, &_swigt__p_p_Fl_Free, &_swigt__p_p_Fl_Gl_Window, &_swigt__p_p_Fl_Group, &_swigt__p_p_Fl_Help_View, &_swigt__p_p_Fl_Hold_Browser, &_swigt__p_p_Fl_Hor_Fill_Slider, &_swigt__p_p_Fl_Hor_Nice_Slider, &_swigt__p_p_Fl_Hor_Slider, &_swigt__p_p_Fl_Hor_Value_Slider, &_swigt__p_p_Fl_Input, &_swigt__p_p_Fl_Input_, &_swigt__p_p_Fl_Input_Choice, &_swigt__p_p_Fl_Int_Input, &_swigt__p_p_Fl_Light_Button, &_swigt__p_p_Fl_Line_Dial, &_swigt__p_p_Fl_Menu_, &_swigt__p_p_Fl_Menu_Bar, &_swigt__p_p_Fl_Menu_Button, &_swigt__p_p_Fl_Menu_Window, &_swigt__p_p_Fl_Multi_Browser, &_swigt__p_p_Fl_Multiline_Input, &_swigt__p_p_Fl_Multiline_Output, &_swigt__p_p_Fl_Nice_Slider, &_swigt__p_p_Fl_Output, &_swigt__p_p_Fl_Overlay_Window, &_swigt__p_p_Fl_Pack, &_swigt__p_p_Fl_Positioner, &_swigt__p_p_Fl_Progress, &_swigt__p_p_Fl_Radio_Button, &_swigt__p_p_Fl_Radio_Light_Button, &_swigt__p_p_Fl_Radio_Round_Button, &_swigt__p_p_Fl_Repeat_Button, &_swigt__p_p_Fl_Return_Button, &_swigt__p_p_Fl_Roller, &_swigt__p_p_Fl_Round_Button, &_swigt__p_p_Fl_Round_Clock, &_swigt__p_p_Fl_Scroll, &_swigt__p_p_Fl_Scrollbar, &_swigt__p_p_Fl_Secret_Input, &_swigt__p_p_Fl_Select_Browser, &_swigt__p_p_Fl_Shared_Image, &_swigt__p_p_Fl_Simple_Counter, &_swigt__p_p_Fl_Single_Window, &_swigt__p_p_Fl_Slider, &_swigt__p_p_Fl_Spinner, &_swigt__p_p_Fl_Table, &_swigt__p_p_Fl_Table_Row, &_swigt__p_p_Fl_Tabs, &_swigt__p_p_Fl_Text_Display, &_swigt__p_p_Fl_Text_Editor, &_swigt__p_p_Fl_Tile, &_swigt__p_p_Fl_Timer, &_swigt__p_p_Fl_Toggle_Button, &_swigt__p_p_Fl_Tree, &_swigt__p_p_Fl_Valuator, &_swigt__p_p_Fl_Value_Input, &_swigt__p_p_Fl_Value_Output, &_swigt__p_p_Fl_Value_Slider, &_swigt__p_p_Fl_Widget, &_swigt__p_p_Fl_Window, &_swigt__p_p_Fl_Wizard, &_swigt__p_p_Flcc_HueBox, &_swigt__p_p_Flcc_ValueBox, &_swigt__p_p_Flcc_Value_Input, &_swigt__p_p_ListSelect, &_swigt__p_p_char, &_swigt__p_p_p_dirent, &_swigt__p_short, &_swigt__p_unsigned_char, &_swigt__p_unsigned_int, &_swigt__p_unsigned_long, &_swigt__p_unsigned_short, &_swigt__p_void, &_swigt__p_wchar_t, }; static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FL_CHART_ENTRY[] = { {&_swigt__p_FL_CHART_ENTRY, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl[] = { {&_swigt__p_Fl, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Adjuster[] = { {&_swigt__p_Fl_Adjuster, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_BMP_Image[] = { {&_swigt__p_Fl_BMP_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Bitmap[] = { {&_swigt__p_Fl_XBM_Image, _p_Fl_XBM_ImageTo_p_Fl_Bitmap, 0, 0}, {&_swigt__p_Fl_Bitmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Box[] = { {&_swigt__p_Fl_Box, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Browser[] = { {&_swigt__p_Fl_Browser, 0, 0, 0}, {&_swigt__p_Fl_File_Browser, _p_Fl_File_BrowserTo_p_Fl_Browser, 0, 0}, {&_swigt__p_Fl_Hold_Browser, _p_Fl_Hold_BrowserTo_p_Fl_Browser, 0, 0}, {&_swigt__p_Fl_Multi_Browser, _p_Fl_Multi_BrowserTo_p_Fl_Browser, 0, 0}, {&_swigt__p_Fl_Select_Browser, _p_Fl_Select_BrowserTo_p_Fl_Browser, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Browser_[] = { {&_swigt__p_Fl_Browser_, 0, 0, 0}, {&_swigt__p_Fl_Browser, _p_Fl_BrowserTo_p_Fl_Browser_, 0, 0}, {&_swigt__p_Fl_File_Browser, _p_Fl_File_BrowserTo_p_Fl_Browser_, 0, 0}, {&_swigt__p_Fl_Hold_Browser, _p_Fl_Hold_BrowserTo_p_Fl_Browser_, 0, 0}, {&_swigt__p_Fl_Multi_Browser, _p_Fl_Multi_BrowserTo_p_Fl_Browser_, 0, 0}, {&_swigt__p_Fl_Select_Browser, _p_Fl_Select_BrowserTo_p_Fl_Browser_, 0, 0}, {&_swigt__p_Fl_Check_Browser, _p_Fl_Check_BrowserTo_p_Fl_Browser_, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Button[] = { {&_swigt__p_Fl_Button, 0, 0, 0}, {&_swigt__p_Fl_Light_Button, _p_Fl_Light_ButtonTo_p_Fl_Button, 0, 0}, {&_swigt__p_Fl_Check_Button, _p_Fl_Check_ButtonTo_p_Fl_Button, 0, 0}, {&_swigt__p_Fl_Radio_Light_Button, _p_Fl_Radio_Light_ButtonTo_p_Fl_Button, 0, 0}, {&_swigt__p_Fl_Round_Button, _p_Fl_Round_ButtonTo_p_Fl_Button, 0, 0}, {&_swigt__p_Fl_Radio_Round_Button, _p_Fl_Radio_Round_ButtonTo_p_Fl_Button, 0, 0}, {&_swigt__p_Fl_Radio_Button, _p_Fl_Radio_ButtonTo_p_Fl_Button, 0, 0}, {&_swigt__p_Fl_Repeat_Button, _p_Fl_Repeat_ButtonTo_p_Fl_Button, 0, 0}, {&_swigt__p_Fl_Return_Button, _p_Fl_Return_ButtonTo_p_Fl_Button, 0, 0}, {&_swigt__p_Fl_Toggle_Button, _p_Fl_Toggle_ButtonTo_p_Fl_Button, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Chart[] = { {&_swigt__p_Fl_Chart, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Check_Browser[] = { {&_swigt__p_Fl_Check_Browser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Check_Button[] = { {&_swigt__p_Fl_Check_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Choice[] = { {&_swigt__p_Fl_Choice, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Clock[] = { {&_swigt__p_Fl_Clock, 0, 0, 0}, {&_swigt__p_Fl_Round_Clock, _p_Fl_Round_ClockTo_p_Fl_Clock, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Clock_Output[] = { {&_swigt__p_Fl_Clock, _p_Fl_ClockTo_p_Fl_Clock_Output, 0, 0}, {&_swigt__p_Fl_Round_Clock, _p_Fl_Round_ClockTo_p_Fl_Clock_Output, 0, 0}, {&_swigt__p_Fl_Clock_Output, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Color_Chooser[] = { {&_swigt__p_Fl_Color_Chooser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Counter[] = { {&_swigt__p_Fl_Counter, 0, 0, 0}, {&_swigt__p_Fl_Simple_Counter, _p_Fl_Simple_CounterTo_p_Fl_Counter, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Dial[] = { {&_swigt__p_Fl_Dial, 0, 0, 0}, {&_swigt__p_Fl_Fill_Dial, _p_Fl_Fill_DialTo_p_Fl_Dial, 0, 0}, {&_swigt__p_Fl_Line_Dial, _p_Fl_Line_DialTo_p_Fl_Dial, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Double_Window[] = { {&_swigt__p_Fl_Double_Window, 0, 0, 0}, {&_swigt__p_Fl_Overlay_Window, _p_Fl_Overlay_WindowTo_p_Fl_Double_Window, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_End[] = { {&_swigt__p_Fl_End, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_File_Browser[] = { {&_swigt__p_Fl_File_Browser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_File_Chooser[] = { {&_swigt__p_Fl_File_Chooser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_File_Icon[] = { {&_swigt__p_Fl_File_Icon, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_File_Input[] = { {&_swigt__p_Fl_File_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Fill_Dial[] = { {&_swigt__p_Fl_Fill_Dial, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Fill_Slider[] = { {&_swigt__p_Fl_Fill_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Float_Input[] = { {&_swigt__p_Fl_Float_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_FormsBitmap[] = { {&_swigt__p_Fl_FormsBitmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_FormsPixmap[] = { {&_swigt__p_Fl_FormsPixmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Free[] = { {&_swigt__p_Fl_Free, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_GIF_Image[] = { {&_swigt__p_Fl_GIF_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Gl_Window[] = { {&_swigt__p_Fl_Gl_Window, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Graphics_Driver[] = { {&_swigt__p_Fl_Graphics_Driver, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Group[] = { {&_swigt__p_Fl_Text_Editor, _p_Fl_Text_EditorTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Menu_Window, _p_Fl_Menu_WindowTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Single_Window, _p_Fl_Single_WindowTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Gl_Window, _p_Fl_Gl_WindowTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Double_Window, _p_Fl_Double_WindowTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Window, _p_Fl_WindowTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Overlay_Window, _p_Fl_Overlay_WindowTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Tile, _p_Fl_TileTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Color_Chooser, _p_Fl_Color_ChooserTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Tabs, _p_Fl_TabsTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Wizard, _p_Fl_WizardTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Multi_Browser, _p_Fl_Multi_BrowserTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Hold_Browser, _p_Fl_Hold_BrowserTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Check_Browser, _p_Fl_Check_BrowserTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_File_Browser, _p_Fl_File_BrowserTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Browser, _p_Fl_BrowserTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Select_Browser, _p_Fl_Select_BrowserTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Scroll, _p_Fl_ScrollTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Browser_, _p_Fl_Browser_To_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Table, _p_Fl_TableTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Help_View, _p_Fl_Help_ViewTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Pack, _p_Fl_PackTo_p_Fl_Group, 0, 0}, {&_swigt__p_ListSelect, _p_ListSelectTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Text_Display, _p_Fl_Text_DisplayTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Spinner, _p_Fl_SpinnerTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Group, 0, 0, 0}, {&_swigt__p_Fl_Table_Row, _p_Fl_Table_RowTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Input_Choice, _p_Fl_Input_ChoiceTo_p_Fl_Group, 0, 0}, {&_swigt__p_Fl_Tree, _p_Fl_TreeTo_p_Fl_Group, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Help_Block[] = { {&_swigt__p_Fl_Help_Block, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Help_Dialog[] = { {&_swigt__p_Fl_Help_Dialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Help_Font_Stack[] = { {&_swigt__p_Fl_Help_Font_Stack, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Help_Font_Style[] = { {&_swigt__p_Fl_Help_Font_Style, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Help_Link[] = { {&_swigt__p_Fl_Help_Link, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Help_Target[] = { {&_swigt__p_Fl_Help_Target, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Help_View[] = { {&_swigt__p_Fl_Help_View, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Hold_Browser[] = { {&_swigt__p_Fl_Hold_Browser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Hor_Fill_Slider[] = { {&_swigt__p_Fl_Hor_Fill_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Hor_Nice_Slider[] = { {&_swigt__p_Fl_Hor_Nice_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Hor_Slider[] = { {&_swigt__p_Fl_Hor_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Hor_Value_Slider[] = { {&_swigt__p_Fl_Hor_Value_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Image[] = { {&_swigt__p_Fl_JPEG_Image, _p_Fl_JPEG_ImageTo_p_Fl_Image, 0, 0}, {&_swigt__p_Fl_PNG_Image, _p_Fl_PNG_ImageTo_p_Fl_Image, 0, 0}, {&_swigt__p_Fl_PNM_Image, _p_Fl_PNM_ImageTo_p_Fl_Image, 0, 0}, {&_swigt__p_Fl_XBM_Image, _p_Fl_XBM_ImageTo_p_Fl_Image, 0, 0}, {&_swigt__p_Fl_XPM_Image, _p_Fl_XPM_ImageTo_p_Fl_Image, 0, 0}, {&_swigt__p_Fl_Image, 0, 0, 0}, {&_swigt__p_Fl_RGB_Image, _p_Fl_RGB_ImageTo_p_Fl_Image, 0, 0}, {&_swigt__p_Fl_BMP_Image, _p_Fl_BMP_ImageTo_p_Fl_Image, 0, 0}, {&_swigt__p_Fl_GIF_Image, _p_Fl_GIF_ImageTo_p_Fl_Image, 0, 0}, {&_swigt__p_Fl_Shared_Image, _p_Fl_Shared_ImageTo_p_Fl_Image, 0, 0}, {&_swigt__p_Fl_Tiled_Image, _p_Fl_Tiled_ImageTo_p_Fl_Image, 0, 0}, {&_swigt__p_Fl_Pixmap, _p_Fl_PixmapTo_p_Fl_Image, 0, 0}, {&_swigt__p_Fl_Bitmap, _p_Fl_BitmapTo_p_Fl_Image, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Input[] = { {&_swigt__p_Fl_Output, _p_Fl_OutputTo_p_Fl_Input, 0, 0}, {&_swigt__p_Fl_Multiline_Output, _p_Fl_Multiline_OutputTo_p_Fl_Input, 0, 0}, {&_swigt__p_Fl_File_Input, _p_Fl_File_InputTo_p_Fl_Input, 0, 0}, {&_swigt__p_Fl_Multiline_Input, _p_Fl_Multiline_InputTo_p_Fl_Input, 0, 0}, {&_swigt__p_Fl_Input, 0, 0, 0}, {&_swigt__p_Fl_Float_Input, _p_Fl_Float_InputTo_p_Fl_Input, 0, 0}, {&_swigt__p_Fl_Int_Input, _p_Fl_Int_InputTo_p_Fl_Input, 0, 0}, {&_swigt__p_Fl_Secret_Input, _p_Fl_Secret_InputTo_p_Fl_Input, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Input_[] = { {&_swigt__p_Fl_Output, _p_Fl_OutputTo_p_Fl_Input_, 0, 0}, {&_swigt__p_Fl_Multiline_Output, _p_Fl_Multiline_OutputTo_p_Fl_Input_, 0, 0}, {&_swigt__p_Fl_File_Input, _p_Fl_File_InputTo_p_Fl_Input_, 0, 0}, {&_swigt__p_Fl_Multiline_Input, _p_Fl_Multiline_InputTo_p_Fl_Input_, 0, 0}, {&_swigt__p_Fl_Input, _p_Fl_InputTo_p_Fl_Input_, 0, 0}, {&_swigt__p_Fl_Float_Input, _p_Fl_Float_InputTo_p_Fl_Input_, 0, 0}, {&_swigt__p_Fl_Int_Input, _p_Fl_Int_InputTo_p_Fl_Input_, 0, 0}, {&_swigt__p_Fl_Secret_Input, _p_Fl_Secret_InputTo_p_Fl_Input_, 0, 0}, {&_swigt__p_Fl_Input_, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Input_Choice[] = { {&_swigt__p_Fl_Input_Choice, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Int_Input[] = { {&_swigt__p_Fl_Int_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_JPEG_Image[] = { {&_swigt__p_Fl_JPEG_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Label[] = { {&_swigt__p_Fl_Label, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Light_Button[] = { {&_swigt__p_Fl_Light_Button, 0, 0, 0}, {&_swigt__p_Fl_Check_Button, _p_Fl_Check_ButtonTo_p_Fl_Light_Button, 0, 0}, {&_swigt__p_Fl_Radio_Light_Button, _p_Fl_Radio_Light_ButtonTo_p_Fl_Light_Button, 0, 0}, {&_swigt__p_Fl_Round_Button, _p_Fl_Round_ButtonTo_p_Fl_Light_Button, 0, 0}, {&_swigt__p_Fl_Radio_Round_Button, _p_Fl_Radio_Round_ButtonTo_p_Fl_Light_Button, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Line_Dial[] = { {&_swigt__p_Fl_Line_Dial, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Menu_[] = { {&_swigt__p_Fl_Menu_Bar, _p_Fl_Menu_BarTo_p_Fl_Menu_, 0, 0}, {&_swigt__p_Fl_Menu_, 0, 0, 0}, {&_swigt__p_Fl_Choice, _p_Fl_ChoiceTo_p_Fl_Menu_, 0, 0}, {&_swigt__p_Fl_Menu_Button, _p_Fl_Menu_ButtonTo_p_Fl_Menu_, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Menu_Bar[] = { {&_swigt__p_Fl_Menu_Bar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Menu_Button[] = { {&_swigt__p_Fl_Menu_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Menu_Item[] = { {&_swigt__p_Fl_Menu_Item, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Menu_Window[] = { {&_swigt__p_Fl_Menu_Window, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Multi_Browser[] = { {&_swigt__p_Fl_Multi_Browser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Multi_Label[] = { {&_swigt__p_Fl_Multi_Label, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Multiline_Input[] = { {&_swigt__p_Fl_Multiline_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Multiline_Output[] = { {&_swigt__p_Fl_Multiline_Output, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Nice_Slider[] = { {&_swigt__p_Fl_Nice_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Option[] = { {&_swigt__p_Fl_Option, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Output[] = { {&_swigt__p_Fl_Output, 0, 0, 0}, {&_swigt__p_Fl_Multiline_Output, _p_Fl_Multiline_OutputTo_p_Fl_Output, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Overlay_Window[] = { {&_swigt__p_Fl_Overlay_Window, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_PNG_Image[] = { {&_swigt__p_Fl_PNG_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_PNM_Image[] = { {&_swigt__p_Fl_PNM_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Pack[] = { {&_swigt__p_Fl_Pack, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Paged_Device[] = { {&_swigt__p_Fl_Printer, _p_Fl_PrinterTo_p_Fl_Paged_Device, 0, 0}, {&_swigt__p_Fl_Paged_Device, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Pixmap[] = { {&_swigt__p_Fl_XPM_Image, _p_Fl_XPM_ImageTo_p_Fl_Pixmap, 0, 0}, {&_swigt__p_Fl_GIF_Image, _p_Fl_GIF_ImageTo_p_Fl_Pixmap, 0, 0}, {&_swigt__p_Fl_Pixmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Positioner[] = { {&_swigt__p_Fl_Positioner, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Preferences[] = { {&_swigt__p_Fl_Preferences, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Printer[] = { {&_swigt__p_Fl_Printer, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Progress[] = { {&_swigt__p_Fl_Progress, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_RGB_Image[] = { {&_swigt__p_Fl_JPEG_Image, _p_Fl_JPEG_ImageTo_p_Fl_RGB_Image, 0, 0}, {&_swigt__p_Fl_PNG_Image, _p_Fl_PNG_ImageTo_p_Fl_RGB_Image, 0, 0}, {&_swigt__p_Fl_PNM_Image, _p_Fl_PNM_ImageTo_p_Fl_RGB_Image, 0, 0}, {&_swigt__p_Fl_RGB_Image, 0, 0, 0}, {&_swigt__p_Fl_BMP_Image, _p_Fl_BMP_ImageTo_p_Fl_RGB_Image, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Radio_Button[] = { {&_swigt__p_Fl_Radio_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Radio_Light_Button[] = { {&_swigt__p_Fl_Radio_Light_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Radio_Round_Button[] = { {&_swigt__p_Fl_Radio_Round_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Region[] = { {&_swigt__p_Fl_Region, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Repeat_Button[] = { {&_swigt__p_Fl_Repeat_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Return_Button[] = { {&_swigt__p_Fl_Return_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Roller[] = { {&_swigt__p_Fl_Roller, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Round_Button[] = { {&_swigt__p_Fl_Round_Button, 0, 0, 0}, {&_swigt__p_Fl_Radio_Round_Button, _p_Fl_Radio_Round_ButtonTo_p_Fl_Round_Button, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Round_Clock[] = { {&_swigt__p_Fl_Round_Clock, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Scroll[] = { {&_swigt__p_Fl_Scroll, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Scrollbar[] = { {&_swigt__p_Fl_Scrollbar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Secret_Input[] = { {&_swigt__p_Fl_Secret_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Select_Browser[] = { {&_swigt__p_Fl_Select_Browser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Shared_Image[] = { {&_swigt__p_Fl_Shared_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Simple_Counter[] = { {&_swigt__p_Fl_Simple_Counter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Single_Window[] = { {&_swigt__p_Fl_Single_Window, 0, 0, 0}, {&_swigt__p_Fl_Menu_Window, _p_Fl_Menu_WindowTo_p_Fl_Single_Window, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Slider[] = { {&_swigt__p_Fl_Scrollbar, _p_Fl_ScrollbarTo_p_Fl_Slider, 0, 0}, {&_swigt__p_Fl_Slider, 0, 0, 0}, {&_swigt__p_Fl_Fill_Slider, _p_Fl_Fill_SliderTo_p_Fl_Slider, 0, 0}, {&_swigt__p_Fl_Hor_Fill_Slider, _p_Fl_Hor_Fill_SliderTo_p_Fl_Slider, 0, 0}, {&_swigt__p_Fl_Hor_Nice_Slider, _p_Fl_Hor_Nice_SliderTo_p_Fl_Slider, 0, 0}, {&_swigt__p_Fl_Hor_Slider, _p_Fl_Hor_SliderTo_p_Fl_Slider, 0, 0}, {&_swigt__p_Fl_Value_Slider, _p_Fl_Value_SliderTo_p_Fl_Slider, 0, 0}, {&_swigt__p_Fl_Hor_Value_Slider, _p_Fl_Hor_Value_SliderTo_p_Fl_Slider, 0, 0}, {&_swigt__p_Fl_Nice_Slider, _p_Fl_Nice_SliderTo_p_Fl_Slider, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Spinner[] = { {&_swigt__p_Fl_Spinner, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Table[] = { {&_swigt__p_Fl_Table_Row, _p_Fl_Table_RowTo_p_Fl_Table, 0, 0}, {&_swigt__p_Fl_Table, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Table_Row[] = { {&_swigt__p_Fl_Table_Row, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Tabs[] = { {&_swigt__p_Fl_Tabs, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Text_Buffer[] = { {&_swigt__p_Fl_Text_Buffer, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Text_Display[] = { {&_swigt__p_Fl_Text_Display, 0, 0, 0}, {&_swigt__p_Fl_Text_Editor, _p_Fl_Text_EditorTo_p_Fl_Text_Display, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Text_Display__Style_Table_Entry[] = { {&_swigt__p_Fl_Text_Display__Style_Table_Entry, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Text_Editor[] = { {&_swigt__p_Fl_Text_Editor, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Text_Selection[] = { {&_swigt__p_Fl_Text_Selection, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Tile[] = { {&_swigt__p_Fl_Tile, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Tiled_Image[] = { {&_swigt__p_Fl_Tiled_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Timer[] = { {&_swigt__p_Fl_Timer, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Toggle_Button[] = { {&_swigt__p_Fl_Toggle_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Tooltip[] = { {&_swigt__p_Fl_Tooltip, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Tree[] = { {&_swigt__p_Fl_Tree, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Tree_Item[] = { {&_swigt__p_Fl_Tree_Item, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Tree_Item_Array[] = { {&_swigt__p_Fl_Tree_Item_Array, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Tree_Prefs[] = { {&_swigt__p_Fl_Tree_Prefs, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Valuator[] = { {&_swigt__p_Fl_Adjuster, _p_Fl_AdjusterTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Flcc_Value_Input, _p_Flcc_Value_InputTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Value_Input, _p_Fl_Value_InputTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Fill_Dial, _p_Fl_Fill_DialTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Dial, _p_Fl_DialTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Counter, _p_Fl_CounterTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Simple_Counter, _p_Fl_Simple_CounterTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Line_Dial, _p_Fl_Line_DialTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Value_Output, _p_Fl_Value_OutputTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Hor_Value_Slider, _p_Fl_Hor_Value_SliderTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Value_Slider, _p_Fl_Value_SliderTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Hor_Slider, _p_Fl_Hor_SliderTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Hor_Nice_Slider, _p_Fl_Hor_Nice_SliderTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Hor_Fill_Slider, _p_Fl_Hor_Fill_SliderTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Fill_Slider, _p_Fl_Fill_SliderTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Slider, _p_Fl_SliderTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Nice_Slider, _p_Fl_Nice_SliderTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Scrollbar, _p_Fl_ScrollbarTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Roller, _p_Fl_RollerTo_p_Fl_Valuator, 0, 0}, {&_swigt__p_Fl_Valuator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Value_Input[] = { {&_swigt__p_Fl_Value_Input, 0, 0, 0}, {&_swigt__p_Flcc_Value_Input, _p_Flcc_Value_InputTo_p_Fl_Value_Input, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Value_Output[] = { {&_swigt__p_Fl_Value_Output, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Value_Slider[] = { {&_swigt__p_Fl_Value_Slider, 0, 0, 0}, {&_swigt__p_Fl_Hor_Value_Slider, _p_Fl_Hor_Value_SliderTo_p_Fl_Value_Slider, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Widget[] = { {&_swigt__p_Fl_Tree, _p_Fl_TreeTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Table, _p_Fl_TableTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Free, _p_Fl_FreeTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Menu_Bar, _p_Fl_Menu_BarTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Positioner, _p_Fl_PositionerTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Group, _p_Fl_GroupTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Tile, _p_Fl_TileTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Text_Display, _p_Fl_Text_DisplayTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Nice_Slider, _p_Fl_Nice_SliderTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Hor_Value_Slider, _p_Fl_Hor_Value_SliderTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Value_Slider, _p_Fl_Value_SliderTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Hor_Slider, _p_Fl_Hor_SliderTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Hor_Nice_Slider, _p_Fl_Hor_Nice_SliderTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Hor_Fill_Slider, _p_Fl_Hor_Fill_SliderTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Fill_Slider, _p_Fl_Fill_SliderTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Slider, _p_Fl_SliderTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Valuator, _p_Fl_ValuatorTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Timer, _p_Fl_TimerTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Chart, _p_Fl_ChartTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Fill_Dial, _p_Fl_Fill_DialTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Dial, _p_Fl_DialTo_p_Fl_Widget, 0, 0}, {&_swigt__p_ListSelect, _p_ListSelectTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Float_Input, _p_Fl_Float_InputTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Input, _p_Fl_InputTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Int_Input, _p_Fl_Int_InputTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Secret_Input, _p_Fl_Secret_InputTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Menu_Button, _p_Fl_Menu_ButtonTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Return_Button, _p_Fl_Return_ButtonTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Repeat_Button, _p_Fl_Repeat_ButtonTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Radio_Button, _p_Fl_Radio_ButtonTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Radio_Round_Button, _p_Fl_Radio_Round_ButtonTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Round_Button, _p_Fl_Round_ButtonTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Radio_Light_Button, _p_Fl_Radio_Light_ButtonTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Check_Button, _p_Fl_Check_ButtonTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Light_Button, _p_Fl_Light_ButtonTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Button, _p_Fl_ButtonTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Toggle_Button, _p_Fl_Toggle_ButtonTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Counter, _p_Fl_CounterTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Simple_Counter, _p_Fl_Simple_CounterTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Hold_Browser, _p_Fl_Hold_BrowserTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Multi_Browser, _p_Fl_Multi_BrowserTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Check_Browser, _p_Fl_Check_BrowserTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_File_Browser, _p_Fl_File_BrowserTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Browser, _p_Fl_BrowserTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Select_Browser, _p_Fl_Select_BrowserTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Multiline_Output, _p_Fl_Multiline_OutputTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Output, _p_Fl_OutputTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Value_Output, _p_Fl_Value_OutputTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Clock_Output, _p_Fl_Clock_OutputTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Flcc_ValueBox, _p_Flcc_ValueBoxTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Box, _p_Fl_BoxTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Flcc_HueBox, _p_Flcc_HueBoxTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Widget, 0, 0, 0}, {&_swigt__p_Fl_Scrollbar, _p_Fl_ScrollbarTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Single_Window, _p_Fl_Single_WindowTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Gl_Window, _p_Fl_Gl_WindowTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Double_Window, _p_Fl_Double_WindowTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Window, _p_Fl_WindowTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Overlay_Window, _p_Fl_Overlay_WindowTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Menu_Window, _p_Fl_Menu_WindowTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Menu_, _p_Fl_Menu_To_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_FormsBitmap, _p_Fl_FormsBitmapTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Scroll, _p_Fl_ScrollTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Multiline_Input, _p_Fl_Multiline_InputTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_File_Input, _p_Fl_File_InputTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Flcc_Value_Input, _p_Flcc_Value_InputTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Value_Input, _p_Fl_Value_InputTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Tabs, _p_Fl_TabsTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Adjuster, _p_Fl_AdjusterTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Clock, _p_Fl_ClockTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Round_Clock, _p_Fl_Round_ClockTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Input_, _p_Fl_Input_To_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Text_Editor, _p_Fl_Text_EditorTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Browser_, _p_Fl_Browser_To_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_FormsPixmap, _p_Fl_FormsPixmapTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Help_View, _p_Fl_Help_ViewTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Line_Dial, _p_Fl_Line_DialTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Progress, _p_Fl_ProgressTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Pack, _p_Fl_PackTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Spinner, _p_Fl_SpinnerTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Table_Row, _p_Fl_Table_RowTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Color_Chooser, _p_Fl_Color_ChooserTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Roller, _p_Fl_RollerTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Input_Choice, _p_Fl_Input_ChoiceTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Choice, _p_Fl_ChoiceTo_p_Fl_Widget, 0, 0}, {&_swigt__p_Fl_Wizard, _p_Fl_WizardTo_p_Fl_Widget, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Widget_Tracker[] = { {&_swigt__p_Fl_Widget_Tracker, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Window[] = { {&_swigt__p_Fl_Window, 0, 0, 0}, {&_swigt__p_Fl_Double_Window, _p_Fl_Double_WindowTo_p_Fl_Window, 0, 0}, {&_swigt__p_Fl_Overlay_Window, _p_Fl_Overlay_WindowTo_p_Fl_Window, 0, 0}, {&_swigt__p_Fl_Gl_Window, _p_Fl_Gl_WindowTo_p_Fl_Window, 0, 0}, {&_swigt__p_Fl_Single_Window, _p_Fl_Single_WindowTo_p_Fl_Window, 0, 0}, {&_swigt__p_Fl_Menu_Window, _p_Fl_Menu_WindowTo_p_Fl_Window, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_Wizard[] = { {&_swigt__p_Fl_Wizard, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_XBM_Image[] = { {&_swigt__p_Fl_XBM_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Fl_XPM_Image[] = { {&_swigt__p_Fl_XPM_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Flcc_HueBox[] = { {&_swigt__p_Flcc_HueBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Flcc_ValueBox[] = { {&_swigt__p_Flcc_ValueBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Flcc_Value_Input[] = { {&_swigt__p_Flcc_Value_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_ListSelect[] = { {&_swigt__p_ListSelect, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Style_Table_Entry[] = { {&_swigt__p_Style_Table_Entry, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f___void[] = { {&_swigt__p_f___void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_int_int_int_int_p_q_const__char_p_void__void[] = { {&_swigt__p_f_int_int_int_int_p_q_const__char_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_int_int_int_int_unsigned_int__void[] = { {&_swigt__p_f_int_int_int_int_unsigned_int__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_int_int_p_void__void[] = { {&_swigt__p_f_int_int_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_int_p_Fl_Text_Editor__int[] = { {&_swigt__p_f_int_p_Fl_Text_Editor__int, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_int_p_Fl_Window__int[] = { {&_swigt__p_f_int_p_Fl_Window__int, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_int_p_p_char_r_int__int[] = { {&_swigt__p_f_int_p_p_char_r_int__int, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_Fl_File_Chooser_p_void__void[] = { {&_swigt__p_f_p_Fl_File_Chooser_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_Fl_Widget__void[] = { {&_swigt__p_f_p_Fl_Widget__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_Fl_Widget_int_float_float_char__int[] = { {&_swigt__p_f_p_Fl_Widget_int_float_float_char__int, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_Fl_Widget_long__void[] = { {&_swigt__p_f_p_Fl_Widget_long__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_Fl_Widget_p_q_const__char__p_char[] = { {&_swigt__p_f_p_Fl_Widget_p_q_const__char__p_char, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_Fl_Widget_p_void__void[] = { {&_swigt__p_f_p_Fl_Widget_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_Fl_Window_p_void__void[] = { {&_swigt__p_f_p_Fl_Window_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__Fl_Label_int_int_int_int_unsigned_int__void[] = { {&_swigt__p_f_p_q_const__Fl_Label_int_int_int_int_unsigned_int__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__Fl_Label_r_int_r_int__void[] = { {&_swigt__p_f_p_q_const__Fl_Label_r_int_r_int__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char__void[] = { {&_swigt__p_f_p_q_const__char__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_int_int_int__void[] = { {&_swigt__p_f_p_q_const__char_int_int_int__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_JPEG_Image[] = {{&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_JPEG_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_PNG_Image[] = {{&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_PNG_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_PNM_Image[] = {{&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_PNM_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_XBM_Image[] = {{&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_XBM_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_XPM_Image[] = {{&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_XPM_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_RGB_Image[] = {{&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_RGB_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_BMP_Image[] = {{&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_BMP_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_GIF_Image[] = {{&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_GIF_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_Shared_Image[] = {{&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Shared_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_Tiled_Image[] = {{&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Tiled_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_Pixmap[] = {{&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Pixmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_Bitmap[] = {{&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Bitmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_Image[] = { {&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_JPEG_Image, _p_f_p_q_const__char_p_uchar_int__p_Fl_JPEG_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image, 0, 0}, {&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_PNG_Image, _p_f_p_q_const__char_p_uchar_int__p_Fl_PNG_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image, 0, 0}, {&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_PNM_Image, _p_f_p_q_const__char_p_uchar_int__p_Fl_PNM_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image, 0, 0}, {&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_XBM_Image, _p_f_p_q_const__char_p_uchar_int__p_Fl_XBM_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image, 0, 0}, {&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_XPM_Image, _p_f_p_q_const__char_p_uchar_int__p_Fl_XPM_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image, 0, 0}, {&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Image, 0, 0, 0}, {&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_RGB_Image, _p_f_p_q_const__char_p_uchar_int__p_Fl_RGB_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image, 0, 0}, {&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_BMP_Image, _p_f_p_q_const__char_p_uchar_int__p_Fl_BMP_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image, 0, 0}, {&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_GIF_Image, _p_f_p_q_const__char_p_uchar_int__p_Fl_GIF_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image, 0, 0}, {&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Shared_Image, _p_f_p_q_const__char_p_uchar_int__p_Fl_Shared_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image, 0, 0}, {&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Tiled_Image, _p_f_p_q_const__char_p_uchar_int__p_Fl_Tiled_ImageTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image, 0, 0}, {&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Pixmap, _p_f_p_q_const__char_p_uchar_int__p_Fl_PixmapTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image, 0, 0}, {&_swigt__p_f_p_q_const__char_p_uchar_int__p_Fl_Bitmap, _p_f_p_q_const__char_p_uchar_int__p_Fl_BitmapTo_p_f_p_q_const__char_p_uchar_int__p_Fl_Image, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_q_const__char_v_______void[] = { {&_swigt__p_f_p_q_const__char_v_______void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_void__void[] = { {&_swigt__p_f_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_p_void_int_int_int_int__void[] = { {&_swigt__p_f_p_void_int_int_int_int__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_unsigned_int__void[] = { {&_swigt__p_f_unsigned_int__void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Shared_Image[] = { {&_swigt__p_p_Fl_Shared_Image, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Tree[] = {{&_swigt__p_p_Fl_Tree, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Table[] = {{&_swigt__p_p_Fl_Table, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Free[] = {{&_swigt__p_p_Fl_Free, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Menu_Bar[] = {{&_swigt__p_p_Fl_Menu_Bar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Positioner[] = {{&_swigt__p_p_Fl_Positioner, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Group[] = {{&_swigt__p_p_Fl_Group, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Tile[] = {{&_swigt__p_p_Fl_Tile, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Text_Display[] = {{&_swigt__p_p_Fl_Text_Display, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Value_Slider[] = {{&_swigt__p_p_Fl_Value_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Hor_Slider[] = {{&_swigt__p_p_Fl_Hor_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Hor_Nice_Slider[] = {{&_swigt__p_p_Fl_Hor_Nice_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Hor_Fill_Slider[] = {{&_swigt__p_p_Fl_Hor_Fill_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Slider[] = {{&_swigt__p_p_Fl_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Hor_Value_Slider[] = {{&_swigt__p_p_Fl_Hor_Value_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Nice_Slider[] = {{&_swigt__p_p_Fl_Nice_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Fill_Slider[] = {{&_swigt__p_p_Fl_Fill_Slider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Valuator[] = {{&_swigt__p_p_Fl_Valuator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Timer[] = {{&_swigt__p_p_Fl_Timer, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Chart[] = {{&_swigt__p_p_Fl_Chart, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Dial[] = {{&_swigt__p_p_Fl_Dial, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Fill_Dial[] = {{&_swigt__p_p_Fl_Fill_Dial, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_ListSelect[] = {{&_swigt__p_p_ListSelect, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Secret_Input[] = {{&_swigt__p_p_Fl_Secret_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Int_Input[] = {{&_swigt__p_p_Fl_Int_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Input[] = {{&_swigt__p_p_Fl_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Float_Input[] = {{&_swigt__p_p_Fl_Float_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Check_Button[] = {{&_swigt__p_p_Fl_Check_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Menu_Button[] = {{&_swigt__p_p_Fl_Menu_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Radio_Button[] = {{&_swigt__p_p_Fl_Radio_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Radio_Light_Button[] = {{&_swigt__p_p_Fl_Radio_Light_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Toggle_Button[] = {{&_swigt__p_p_Fl_Toggle_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Button[] = {{&_swigt__p_p_Fl_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Light_Button[] = {{&_swigt__p_p_Fl_Light_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Return_Button[] = {{&_swigt__p_p_Fl_Return_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Repeat_Button[] = {{&_swigt__p_p_Fl_Repeat_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Radio_Round_Button[] = {{&_swigt__p_p_Fl_Radio_Round_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Round_Button[] = {{&_swigt__p_p_Fl_Round_Button, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Simple_Counter[] = {{&_swigt__p_p_Fl_Simple_Counter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Counter[] = {{&_swigt__p_p_Fl_Counter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Select_Browser[] = {{&_swigt__p_p_Fl_Select_Browser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Multi_Browser[] = {{&_swigt__p_p_Fl_Multi_Browser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Hold_Browser[] = {{&_swigt__p_p_Fl_Hold_Browser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Check_Browser[] = {{&_swigt__p_p_Fl_Check_Browser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_File_Browser[] = {{&_swigt__p_p_Fl_File_Browser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Browser[] = {{&_swigt__p_p_Fl_Browser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Multiline_Output[] = {{&_swigt__p_p_Fl_Multiline_Output, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Output[] = {{&_swigt__p_p_Fl_Output, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Clock_Output[] = {{&_swigt__p_p_Fl_Clock_Output, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Value_Output[] = {{&_swigt__p_p_Fl_Value_Output, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Flcc_ValueBox[] = {{&_swigt__p_p_Flcc_ValueBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Box[] = {{&_swigt__p_p_Fl_Box, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Flcc_HueBox[] = {{&_swigt__p_p_Flcc_HueBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Scrollbar[] = {{&_swigt__p_p_Fl_Scrollbar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Overlay_Window[] = {{&_swigt__p_p_Fl_Overlay_Window, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Menu_Window[] = {{&_swigt__p_p_Fl_Menu_Window, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Single_Window[] = {{&_swigt__p_p_Fl_Single_Window, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Gl_Window[] = {{&_swigt__p_p_Fl_Gl_Window, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Window[] = {{&_swigt__p_p_Fl_Window, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Double_Window[] = {{&_swigt__p_p_Fl_Double_Window, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Menu_[] = {{&_swigt__p_p_Fl_Menu_, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_FormsBitmap[] = {{&_swigt__p_p_Fl_FormsBitmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Scroll[] = {{&_swigt__p_p_Fl_Scroll, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Multiline_Input[] = {{&_swigt__p_p_Fl_Multiline_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Value_Input[] = {{&_swigt__p_p_Fl_Value_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Flcc_Value_Input[] = {{&_swigt__p_p_Flcc_Value_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_File_Input[] = {{&_swigt__p_p_Fl_File_Input, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Tabs[] = {{&_swigt__p_p_Fl_Tabs, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Input_[] = {{&_swigt__p_p_Fl_Input_, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Adjuster[] = {{&_swigt__p_p_Fl_Adjuster, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Round_Clock[] = {{&_swigt__p_p_Fl_Round_Clock, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Clock[] = {{&_swigt__p_p_Fl_Clock, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Text_Editor[] = {{&_swigt__p_p_Fl_Text_Editor, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_FormsPixmap[] = {{&_swigt__p_p_Fl_FormsPixmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Browser_[] = {{&_swigt__p_p_Fl_Browser_, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Help_View[] = {{&_swigt__p_p_Fl_Help_View, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Progress[] = {{&_swigt__p_p_Fl_Progress, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Line_Dial[] = {{&_swigt__p_p_Fl_Line_Dial, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Pack[] = {{&_swigt__p_p_Fl_Pack, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Spinner[] = {{&_swigt__p_p_Fl_Spinner, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Table_Row[] = {{&_swigt__p_p_Fl_Table_Row, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Color_Chooser[] = {{&_swigt__p_p_Fl_Color_Chooser, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Roller[] = {{&_swigt__p_p_Fl_Roller, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Input_Choice[] = {{&_swigt__p_p_Fl_Input_Choice, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Choice[] = {{&_swigt__p_p_Fl_Choice, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Wizard[] = {{&_swigt__p_p_Fl_Wizard, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_Fl_Widget[] = { {&_swigt__p_p_Fl_Tree, _p_p_Fl_TreeTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Table, _p_p_Fl_TableTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Free, _p_p_Fl_FreeTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Menu_Bar, _p_p_Fl_Menu_BarTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Positioner, _p_p_Fl_PositionerTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Group, _p_p_Fl_GroupTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Tile, _p_p_Fl_TileTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Text_Display, _p_p_Fl_Text_DisplayTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Value_Slider, _p_p_Fl_Value_SliderTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Hor_Slider, _p_p_Fl_Hor_SliderTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Hor_Nice_Slider, _p_p_Fl_Hor_Nice_SliderTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Hor_Fill_Slider, _p_p_Fl_Hor_Fill_SliderTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Slider, _p_p_Fl_SliderTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Hor_Value_Slider, _p_p_Fl_Hor_Value_SliderTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Nice_Slider, _p_p_Fl_Nice_SliderTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Fill_Slider, _p_p_Fl_Fill_SliderTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Valuator, _p_p_Fl_ValuatorTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Timer, _p_p_Fl_TimerTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Chart, _p_p_Fl_ChartTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Dial, _p_p_Fl_DialTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Fill_Dial, _p_p_Fl_Fill_DialTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_ListSelect, _p_p_ListSelectTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Secret_Input, _p_p_Fl_Secret_InputTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Int_Input, _p_p_Fl_Int_InputTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Input, _p_p_Fl_InputTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Float_Input, _p_p_Fl_Float_InputTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Check_Button, _p_p_Fl_Check_ButtonTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Menu_Button, _p_p_Fl_Menu_ButtonTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Radio_Button, _p_p_Fl_Radio_ButtonTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Radio_Light_Button, _p_p_Fl_Radio_Light_ButtonTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Toggle_Button, _p_p_Fl_Toggle_ButtonTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Button, _p_p_Fl_ButtonTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Light_Button, _p_p_Fl_Light_ButtonTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Return_Button, _p_p_Fl_Return_ButtonTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Repeat_Button, _p_p_Fl_Repeat_ButtonTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Radio_Round_Button, _p_p_Fl_Radio_Round_ButtonTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Round_Button, _p_p_Fl_Round_ButtonTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Simple_Counter, _p_p_Fl_Simple_CounterTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Counter, _p_p_Fl_CounterTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Select_Browser, _p_p_Fl_Select_BrowserTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Multi_Browser, _p_p_Fl_Multi_BrowserTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Hold_Browser, _p_p_Fl_Hold_BrowserTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Check_Browser, _p_p_Fl_Check_BrowserTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_File_Browser, _p_p_Fl_File_BrowserTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Browser, _p_p_Fl_BrowserTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Multiline_Output, _p_p_Fl_Multiline_OutputTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Output, _p_p_Fl_OutputTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Clock_Output, _p_p_Fl_Clock_OutputTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Value_Output, _p_p_Fl_Value_OutputTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Flcc_ValueBox, _p_p_Flcc_ValueBoxTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Box, _p_p_Fl_BoxTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Flcc_HueBox, _p_p_Flcc_HueBoxTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Widget, 0, 0, 0}, {&_swigt__p_p_Fl_Scrollbar, _p_p_Fl_ScrollbarTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Overlay_Window, _p_p_Fl_Overlay_WindowTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Menu_Window, _p_p_Fl_Menu_WindowTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Single_Window, _p_p_Fl_Single_WindowTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Gl_Window, _p_p_Fl_Gl_WindowTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Window, _p_p_Fl_WindowTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Double_Window, _p_p_Fl_Double_WindowTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Menu_, _p_p_Fl_Menu_To_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_FormsBitmap, _p_p_Fl_FormsBitmapTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Scroll, _p_p_Fl_ScrollTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Multiline_Input, _p_p_Fl_Multiline_InputTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Value_Input, _p_p_Fl_Value_InputTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Flcc_Value_Input, _p_p_Flcc_Value_InputTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_File_Input, _p_p_Fl_File_InputTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Tabs, _p_p_Fl_TabsTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Input_, _p_p_Fl_Input_To_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Adjuster, _p_p_Fl_AdjusterTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Round_Clock, _p_p_Fl_Round_ClockTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Clock, _p_p_Fl_ClockTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Text_Editor, _p_p_Fl_Text_EditorTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_FormsPixmap, _p_p_Fl_FormsPixmapTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Browser_, _p_p_Fl_Browser_To_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Help_View, _p_p_Fl_Help_ViewTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Progress, _p_p_Fl_ProgressTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Line_Dial, _p_p_Fl_Line_DialTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Pack, _p_p_Fl_PackTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Spinner, _p_p_Fl_SpinnerTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Table_Row, _p_p_Fl_Table_RowTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Color_Chooser, _p_p_Fl_Color_ChooserTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Roller, _p_p_Fl_RollerTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Input_Choice, _p_p_Fl_Input_ChoiceTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Choice, _p_p_Fl_ChoiceTo_p_p_Fl_Widget, 0, 0}, {&_swigt__p_p_Fl_Wizard, _p_p_Fl_WizardTo_p_p_Fl_Widget, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_p_dirent[] = { {&_swigt__p_p_p_dirent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_short[] = { {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wchar_t[] = { {&_swigt__p_wchar_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info *swig_cast_initial[] = { _swigc__p_FILE, _swigc__p_FL_CHART_ENTRY, _swigc__p_Fl, _swigc__p_Fl_Adjuster, _swigc__p_Fl_BMP_Image, _swigc__p_Fl_Bitmap, _swigc__p_Fl_Box, _swigc__p_Fl_Browser, _swigc__p_Fl_Browser_, _swigc__p_Fl_Button, _swigc__p_Fl_Chart, _swigc__p_Fl_Check_Browser, _swigc__p_Fl_Check_Button, _swigc__p_Fl_Choice, _swigc__p_Fl_Clock, _swigc__p_Fl_Clock_Output, _swigc__p_Fl_Color_Chooser, _swigc__p_Fl_Counter, _swigc__p_Fl_Dial, _swigc__p_Fl_Double_Window, _swigc__p_Fl_End, _swigc__p_Fl_File_Browser, _swigc__p_Fl_File_Chooser, _swigc__p_Fl_File_Icon, _swigc__p_Fl_File_Input, _swigc__p_Fl_Fill_Dial, _swigc__p_Fl_Fill_Slider, _swigc__p_Fl_Float_Input, _swigc__p_Fl_FormsBitmap, _swigc__p_Fl_FormsPixmap, _swigc__p_Fl_Free, _swigc__p_Fl_GIF_Image, _swigc__p_Fl_Gl_Window, _swigc__p_Fl_Graphics_Driver, _swigc__p_Fl_Group, _swigc__p_Fl_Help_Block, _swigc__p_Fl_Help_Dialog, _swigc__p_Fl_Help_Font_Stack, _swigc__p_Fl_Help_Font_Style, _swigc__p_Fl_Help_Link, _swigc__p_Fl_Help_Target, _swigc__p_Fl_Help_View, _swigc__p_Fl_Hold_Browser, _swigc__p_Fl_Hor_Fill_Slider, _swigc__p_Fl_Hor_Nice_Slider, _swigc__p_Fl_Hor_Slider, _swigc__p_Fl_Hor_Value_Slider, _swigc__p_Fl_Image, _swigc__p_Fl_Input, _swigc__p_Fl_Input_, _swigc__p_Fl_Input_Choice, _swigc__p_Fl_Int_Input, _swigc__p_Fl_JPEG_Image, _swigc__p_Fl_Label, _swigc__p_Fl_Light_Button, _swigc__p_Fl_Line_Dial, _swigc__p_Fl_Menu_, _swigc__p_Fl_Menu_Bar, _swigc__p_Fl_Menu_Button, _swigc__p_Fl_Menu_Item, _swigc__p_Fl_Menu_Window, _swigc__p_Fl_Multi_Browser, _swigc__p_Fl_Multi_Label, _swigc__p_Fl_Multiline_Input, _swigc__p_Fl_Multiline_Output, _swigc__p_Fl_Nice_Slider, _swigc__p_Fl_Option, _swigc__p_Fl_Output, _swigc__p_Fl_Overlay_Window, _swigc__p_Fl_PNG_Image, _swigc__p_Fl_PNM_Image, _swigc__p_Fl_Pack, _swigc__p_Fl_Paged_Device, _swigc__p_Fl_Pixmap, _swigc__p_Fl_Positioner, _swigc__p_Fl_Preferences, _swigc__p_Fl_Printer, _swigc__p_Fl_Progress, _swigc__p_Fl_RGB_Image, _swigc__p_Fl_Radio_Button, _swigc__p_Fl_Radio_Light_Button, _swigc__p_Fl_Radio_Round_Button, _swigc__p_Fl_Region, _swigc__p_Fl_Repeat_Button, _swigc__p_Fl_Return_Button, _swigc__p_Fl_Roller, _swigc__p_Fl_Round_Button, _swigc__p_Fl_Round_Clock, _swigc__p_Fl_Scroll, _swigc__p_Fl_Scrollbar, _swigc__p_Fl_Secret_Input, _swigc__p_Fl_Select_Browser, _swigc__p_Fl_Shared_Image, _swigc__p_Fl_Simple_Counter, _swigc__p_Fl_Single_Window, _swigc__p_Fl_Slider, _swigc__p_Fl_Spinner, _swigc__p_Fl_Table, _swigc__p_Fl_Table_Row, _swigc__p_Fl_Tabs, _swigc__p_Fl_Text_Buffer, _swigc__p_Fl_Text_Display, _swigc__p_Fl_Text_Display__Style_Table_Entry, _swigc__p_Fl_Text_Editor, _swigc__p_Fl_Text_Selection, _swigc__p_Fl_Tile, _swigc__p_Fl_Tiled_Image, _swigc__p_Fl_Timer, _swigc__p_Fl_Toggle_Button, _swigc__p_Fl_Tooltip, _swigc__p_Fl_Tree, _swigc__p_Fl_Tree_Item, _swigc__p_Fl_Tree_Item_Array, _swigc__p_Fl_Tree_Prefs, _swigc__p_Fl_Valuator, _swigc__p_Fl_Value_Input, _swigc__p_Fl_Value_Output, _swigc__p_Fl_Value_Slider, _swigc__p_Fl_Widget, _swigc__p_Fl_Widget_Tracker, _swigc__p_Fl_Window, _swigc__p_Fl_Wizard, _swigc__p_Fl_XBM_Image, _swigc__p_Fl_XPM_Image, _swigc__p_Flcc_HueBox, _swigc__p_Flcc_ValueBox, _swigc__p_Flcc_Value_Input, _swigc__p_ListSelect, _swigc__p_Style_Table_Entry, _swigc__p_char, _swigc__p_double, _swigc__p_f___void, _swigc__p_f_int_int_int_int_p_q_const__char_p_void__void, _swigc__p_f_int_int_int_int_unsigned_int__void, _swigc__p_f_int_int_p_void__void, _swigc__p_f_int_p_Fl_Text_Editor__int, _swigc__p_f_int_p_Fl_Window__int, _swigc__p_f_int_p_p_char_r_int__int, _swigc__p_f_p_Fl_File_Chooser_p_void__void, _swigc__p_f_p_Fl_Widget__void, _swigc__p_f_p_Fl_Widget_int_float_float_char__int, _swigc__p_f_p_Fl_Widget_long__void, _swigc__p_f_p_Fl_Widget_p_q_const__char__p_char, _swigc__p_f_p_Fl_Widget_p_void__void, _swigc__p_f_p_Fl_Window_p_void__void, _swigc__p_f_p_q_const__Fl_Label_int_int_int_int_unsigned_int__void, _swigc__p_f_p_q_const__Fl_Label_r_int_r_int__void, _swigc__p_f_p_q_const__char__void, _swigc__p_f_p_q_const__char_int_int_int__void, _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_BMP_Image, _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_Bitmap, _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_GIF_Image, _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_Image, _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_JPEG_Image, _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_PNG_Image, _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_PNM_Image, _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_Pixmap, _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_RGB_Image, _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_Shared_Image, _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_Tiled_Image, _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_XBM_Image, _swigc__p_f_p_q_const__char_p_uchar_int__p_Fl_XPM_Image, _swigc__p_f_p_q_const__char_v_______void, _swigc__p_f_p_void__void, _swigc__p_f_p_void_int_int_int_int__void, _swigc__p_f_unsigned_int__void, _swigc__p_float, _swigc__p_int, _swigc__p_long, _swigc__p_p_Fl_Adjuster, _swigc__p_p_Fl_Box, _swigc__p_p_Fl_Browser, _swigc__p_p_Fl_Browser_, _swigc__p_p_Fl_Button, _swigc__p_p_Fl_Chart, _swigc__p_p_Fl_Check_Browser, _swigc__p_p_Fl_Check_Button, _swigc__p_p_Fl_Choice, _swigc__p_p_Fl_Clock, _swigc__p_p_Fl_Clock_Output, _swigc__p_p_Fl_Color_Chooser, _swigc__p_p_Fl_Counter, _swigc__p_p_Fl_Dial, _swigc__p_p_Fl_Double_Window, _swigc__p_p_Fl_File_Browser, _swigc__p_p_Fl_File_Input, _swigc__p_p_Fl_Fill_Dial, _swigc__p_p_Fl_Fill_Slider, _swigc__p_p_Fl_Float_Input, _swigc__p_p_Fl_FormsBitmap, _swigc__p_p_Fl_FormsPixmap, _swigc__p_p_Fl_Free, _swigc__p_p_Fl_Gl_Window, _swigc__p_p_Fl_Group, _swigc__p_p_Fl_Help_View, _swigc__p_p_Fl_Hold_Browser, _swigc__p_p_Fl_Hor_Fill_Slider, _swigc__p_p_Fl_Hor_Nice_Slider, _swigc__p_p_Fl_Hor_Slider, _swigc__p_p_Fl_Hor_Value_Slider, _swigc__p_p_Fl_Input, _swigc__p_p_Fl_Input_, _swigc__p_p_Fl_Input_Choice, _swigc__p_p_Fl_Int_Input, _swigc__p_p_Fl_Light_Button, _swigc__p_p_Fl_Line_Dial, _swigc__p_p_Fl_Menu_, _swigc__p_p_Fl_Menu_Bar, _swigc__p_p_Fl_Menu_Button, _swigc__p_p_Fl_Menu_Window, _swigc__p_p_Fl_Multi_Browser, _swigc__p_p_Fl_Multiline_Input, _swigc__p_p_Fl_Multiline_Output, _swigc__p_p_Fl_Nice_Slider, _swigc__p_p_Fl_Output, _swigc__p_p_Fl_Overlay_Window, _swigc__p_p_Fl_Pack, _swigc__p_p_Fl_Positioner, _swigc__p_p_Fl_Progress, _swigc__p_p_Fl_Radio_Button, _swigc__p_p_Fl_Radio_Light_Button, _swigc__p_p_Fl_Radio_Round_Button, _swigc__p_p_Fl_Repeat_Button, _swigc__p_p_Fl_Return_Button, _swigc__p_p_Fl_Roller, _swigc__p_p_Fl_Round_Button, _swigc__p_p_Fl_Round_Clock, _swigc__p_p_Fl_Scroll, _swigc__p_p_Fl_Scrollbar, _swigc__p_p_Fl_Secret_Input, _swigc__p_p_Fl_Select_Browser, _swigc__p_p_Fl_Shared_Image, _swigc__p_p_Fl_Simple_Counter, _swigc__p_p_Fl_Single_Window, _swigc__p_p_Fl_Slider, _swigc__p_p_Fl_Spinner, _swigc__p_p_Fl_Table, _swigc__p_p_Fl_Table_Row, _swigc__p_p_Fl_Tabs, _swigc__p_p_Fl_Text_Display, _swigc__p_p_Fl_Text_Editor, _swigc__p_p_Fl_Tile, _swigc__p_p_Fl_Timer, _swigc__p_p_Fl_Toggle_Button, _swigc__p_p_Fl_Tree, _swigc__p_p_Fl_Valuator, _swigc__p_p_Fl_Value_Input, _swigc__p_p_Fl_Value_Output, _swigc__p_p_Fl_Value_Slider, _swigc__p_p_Fl_Widget, _swigc__p_p_Fl_Window, _swigc__p_p_Fl_Wizard, _swigc__p_p_Flcc_HueBox, _swigc__p_p_Flcc_ValueBox, _swigc__p_p_Flcc_Value_Input, _swigc__p_p_ListSelect, _swigc__p_p_char, _swigc__p_p_p_dirent, _swigc__p_short, _swigc__p_unsigned_char, _swigc__p_unsigned_int, _swigc__p_unsigned_long, _swigc__p_unsigned_short, _swigc__p_void, _swigc__p_wchar_t, }; /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ static swig_const_info swig_const_table[] = { {0, 0, 0, 0.0, 0, 0}}; #ifdef __cplusplus } #endif /* ----------------------------------------------------------------------------- * Type initialization: * This problem is tough by the requirement that no dynamic * memory is used. Also, since swig_type_info structures store pointers to * swig_cast_info structures and swig_cast_info structures store pointers back * to swig_type_info structures, we need some lookup code at initialization. * The idea is that swig generates all the structures that are needed. * The runtime then collects these partially filled structures. * The SWIG_InitializeModule function takes these initial arrays out of * swig_module, and does all the lookup, filling in the swig_module.types * array with the correct data and linking the correct swig_cast_info * structures together. * * The generated swig_type_info structures are assigned staticly to an initial * array. We just loop through that array, and handle each type individually. * First we lookup if this type has been already loaded, and if so, use the * loaded structure instead of the generated one. Then we have to fill in the * cast linked list. The cast data is initially stored in something like a * two-dimensional array. Each row corresponds to a type (there are the same * number of rows as there are in the swig_type_initial array). Each entry in * a column is one of the swig_cast_info structures for that type. * The cast_initial array is actually an array of arrays, because each row has * a variable number of columns. So to actually build the cast linked list, * we find the array of casts associated with the type, and loop through it * adding the casts to the list. The one last trick we need to do is making * sure the type pointer in the swig_cast_info struct is correct. * * First off, we lookup the cast->type name to see if it is already loaded. * There are three cases to handle: * 1) If the cast->type has already been loaded AND the type we are adding * casting info to has not been loaded (it is in this module), THEN we * replace the cast->type pointer with the type pointer that has already * been loaded. * 2) If BOTH types (the one we are adding casting info to, and the * cast->type) are loaded, THEN the cast info has already been loaded by * the previous module so we just ignore it. * 3) Finally, if cast->type has not already been loaded, then we add that * swig_cast_info to the linked list (because the cast->type) pointer will * be correct. * ----------------------------------------------------------------------------- */ #ifdef __cplusplus extern "C" { #if 0 } /* c-mode */ #endif #endif #if 0 #define SWIGRUNTIME_DEBUG #endif SWIGRUNTIME void SWIG_InitializeModule(void *clientdata) { size_t i; swig_module_info *module_head, *iter; int found, init; clientdata = clientdata; /* check to see if the circular list has been setup, if not, set it up */ if (swig_module.next==0) { /* Initialize the swig_module */ swig_module.type_initial = swig_type_initial; swig_module.cast_initial = swig_cast_initial; swig_module.next = &swig_module; init = 1; } else { init = 0; } /* Try and load any already created modules */ module_head = SWIG_GetModule(clientdata); if (!module_head) { /* This is the first module loaded for this interpreter */ /* so set the swig module into the interpreter */ SWIG_SetModule(clientdata, &swig_module); module_head = &swig_module; } else { /* the interpreter has loaded a SWIG module, but has it loaded this one? */ found=0; iter=module_head; do { if (iter==&swig_module) { found=1; break; } iter=iter->next; } while (iter!= module_head); /* if the is found in the list, then all is done and we may leave */ if (found) return; /* otherwise we must add out module into the list */ swig_module.next = module_head->next; module_head->next = &swig_module; } /* When multiple interpeters are used, a module could have already been initialized in a different interpreter, but not yet have a pointer in this interpreter. In this case, we do not want to continue adding types... everything should be set up already */ if (init == 0) return; /* Now work on filling in swig_module.types */ #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: size %d\n", swig_module.size); #endif for (i = 0; i < swig_module.size; ++i) { swig_type_info *type = 0; swig_type_info *ret; swig_cast_info *cast; #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); #endif /* if there is another module already loaded */ if (swig_module.next != &swig_module) { type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); } if (type) { /* Overwrite clientdata field */ #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: found type %s\n", type->name); #endif if (swig_module.type_initial[i]->clientdata) { type->clientdata = swig_module.type_initial[i]->clientdata; #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); #endif } } else { type = swig_module.type_initial[i]; } /* Insert casting types */ cast = swig_module.cast_initial[i]; while (cast->type) { /* Don't need to add information already in the list */ ret = 0; #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); #endif if (swig_module.next != &swig_module) { ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); #ifdef SWIGRUNTIME_DEBUG if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); #endif } if (ret) { if (type == swig_module.type_initial[i]) { #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: skip old type %s\n", ret->name); #endif cast->type = ret; ret = 0; } else { /* Check for casting already in the list */ swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); #ifdef SWIGRUNTIME_DEBUG if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); #endif if (!ocast) ret = 0; } } if (!ret) { #ifdef SWIGRUNTIME_DEBUG printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); #endif if (type->cast) { type->cast->prev = cast; cast->next = type->cast; } type->cast = cast; } cast++; } /* Set entry in modules->types array equal to the type */ swig_module.types[i] = type; } swig_module.types[i] = 0; #ifdef SWIGRUNTIME_DEBUG printf("**** SWIG_InitializeModule: Cast List ******\n"); for (i = 0; i < swig_module.size; ++i) { int j = 0; swig_cast_info *cast = swig_module.cast_initial[i]; printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); while (cast->type) { printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); cast++; ++j; } printf("---- Total casts: %d\n",j); } printf("**** SWIG_InitializeModule: Cast List ******\n"); #endif } /* This function will propagate the clientdata field of type to * any new swig_type_info structures that have been added into the list * of equivalent types. It is like calling * SWIG_TypeClientData(type, clientdata) a second time. */ SWIGRUNTIME void SWIG_PropagateClientData(void) { size_t i; swig_cast_info *equiv; static int init_run = 0; if (init_run) return; init_run = 1; for (i = 0; i < swig_module.size; i++) { if (swig_module.types[i]->clientdata) { equiv = swig_module.types[i]->cast; while (equiv) { if (!equiv->converter) { if (equiv->type && !equiv->type->clientdata) SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); } equiv = equiv->next; } } } } #ifdef __cplusplus #if 0 { /* c-mode */ #endif } #endif #ifdef __cplusplus extern "C" { #endif /* Python-specific SWIG API */ #define SWIG_newvarlink() SWIG_Python_newvarlink() #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) /* ----------------------------------------------------------------------------- * global variable support code. * ----------------------------------------------------------------------------- */ typedef struct swig_globalvar { char *name; /* Name of global variable */ PyObject *(*get_attr)(void); /* Return the current value */ int (*set_attr)(PyObject *); /* Set the value */ struct swig_globalvar *next; } swig_globalvar; typedef struct swig_varlinkobject { PyObject_HEAD swig_globalvar *vars; } swig_varlinkobject; SWIGINTERN PyObject * swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { #if PY_VERSION_HEX >= 0x03000000 return PyUnicode_InternFromString(""); #else return PyString_FromString(""); #endif } SWIGINTERN PyObject * swig_varlink_str(swig_varlinkobject *v) { #if PY_VERSION_HEX >= 0x03000000 PyObject *str = PyUnicode_InternFromString("("); PyObject *tail; PyObject *joined; swig_globalvar *var; for (var = v->vars; var; var=var->next) { tail = PyUnicode_FromString(var->name); joined = PyUnicode_Concat(str, tail); Py_DecRef(str); Py_DecRef(tail); str = joined; if (var->next) { tail = PyUnicode_InternFromString(", "); joined = PyUnicode_Concat(str, tail); Py_DecRef(str); Py_DecRef(tail); str = joined; } } tail = PyUnicode_InternFromString(")"); joined = PyUnicode_Concat(str, tail); Py_DecRef(str); Py_DecRef(tail); str = joined; #else PyObject *str = PyString_FromString("("); swig_globalvar *var; for (var = v->vars; var; var=var->next) { PyString_ConcatAndDel(&str,PyString_FromString(var->name)); if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); } PyString_ConcatAndDel(&str,PyString_FromString(")")); #endif return str; } SWIGINTERN int swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { char *tmp; PyObject *str = swig_varlink_str(v); fprintf(fp,"Swig global variables "); fprintf(fp,"%s\n", tmp = SWIG_Python_str_AsChar(str)); SWIG_Python_str_DelForPy3(tmp); Py_DECREF(str); return 0; } SWIGINTERN void swig_varlink_dealloc(swig_varlinkobject *v) { swig_globalvar *var = v->vars; while (var) { swig_globalvar *n = var->next; free(var->name); free(var); var = n; } } SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { PyObject *res = NULL; swig_globalvar *var = v->vars; while (var) { if (strcmp(var->name,n) == 0) { res = (*var->get_attr)(); break; } var = var->next; } if (res == NULL && !PyErr_Occurred()) { PyErr_SetString(PyExc_NameError,"Unknown C global variable"); } return res; } SWIGINTERN int swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { int res = 1; swig_globalvar *var = v->vars; while (var) { if (strcmp(var->name,n) == 0) { res = (*var->set_attr)(p); break; } var = var->next; } if (res == 1 && !PyErr_Occurred()) { PyErr_SetString(PyExc_NameError,"Unknown C global variable"); } return res; } SWIGINTERN PyTypeObject* swig_varlink_type(void) { static char varlink__doc__[] = "Swig var link object"; static PyTypeObject varlink_type; static int type_init = 0; if (!type_init) { const PyTypeObject tmp = { /* PyObject header changed in Python 3 */ #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) #else PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif (char *)"swigvarlink", /* tp_name */ sizeof(swig_varlinkobject), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor) swig_varlink_dealloc, /* tp_dealloc */ (printfunc) swig_varlink_print, /* tp_print */ (getattrfunc) swig_varlink_getattr, /* tp_getattr */ (setattrfunc) swig_varlink_setattr, /* tp_setattr */ 0, /* tp_compare */ (reprfunc) swig_varlink_repr, /* tp_repr */ 0, /* tp_as_number */ 0, /* tp_as_sequence */ 0, /* tp_as_mapping */ 0, /* tp_hash */ 0, /* tp_call */ (reprfunc) swig_varlink_str, /* tp_str */ 0, /* tp_getattro */ 0, /* tp_setattro */ 0, /* tp_as_buffer */ 0, /* tp_flags */ varlink__doc__, /* tp_doc */ 0, /* tp_traverse */ 0, /* tp_clear */ 0, /* tp_richcompare */ 0, /* tp_weaklistoffset */ #if PY_VERSION_HEX >= 0x02020000 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ #endif #if PY_VERSION_HEX >= 0x02030000 0, /* tp_del */ #endif #if PY_VERSION_HEX >= 0x02060000 0, /* tp_version */ #endif #ifdef COUNT_ALLOCS 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; varlink_type = tmp; type_init = 1; #if PY_VERSION_HEX < 0x02020000 varlink_type.ob_type = &PyType_Type; #else if (PyType_Ready(&varlink_type) < 0) return NULL; #endif } return &varlink_type; } /* Create a variable linking object for use later */ SWIGINTERN PyObject * SWIG_Python_newvarlink(void) { swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); if (result) { result->vars = 0; } return ((PyObject*) result); } SWIGINTERN void SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { swig_varlinkobject *v = (swig_varlinkobject *) p; swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); if (gv) { size_t size = strlen(name)+1; gv->name = (char *)malloc(size); if (gv->name) { strncpy(gv->name,name,size); gv->get_attr = get_attr; gv->set_attr = set_attr; gv->next = v->vars; } } v->vars = gv; } SWIGINTERN PyObject * SWIG_globals(void) { static PyObject *_SWIG_globals = 0; if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); return _SWIG_globals; } /* ----------------------------------------------------------------------------- * constants/methods manipulation * ----------------------------------------------------------------------------- */ /* Install Constants */ SWIGINTERN void SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { PyObject *obj = 0; size_t i; for (i = 0; constants[i].type; ++i) { switch(constants[i].type) { case SWIG_PY_POINTER: obj = SWIG_InternalNewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); break; case SWIG_PY_BINARY: obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); break; default: obj = 0; break; } if (obj) { PyDict_SetItemString(d, constants[i].name, obj); Py_DECREF(obj); } } } /* -----------------------------------------------------------------------------*/ /* Fix SwigMethods to carry the callback ptrs when needed */ /* -----------------------------------------------------------------------------*/ SWIGINTERN void SWIG_Python_FixMethods(PyMethodDef *methods, swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial) { size_t i; for (i = 0; methods[i].ml_name; ++i) { const char *c = methods[i].ml_doc; if (c && (c = strstr(c, "swig_ptr: "))) { int j; swig_const_info *ci = 0; const char *name = c + 10; for (j = 0; const_table[j].type; ++j) { if (strncmp(const_table[j].name, name, strlen(const_table[j].name)) == 0) { ci = &(const_table[j]); break; } } if (ci) { void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; if (ptr) { size_t shift = (ci->ptype) - types; swig_type_info *ty = types_initial[shift]; size_t ldoc = (c - methods[i].ml_doc); size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; char *ndoc = (char*)malloc(ldoc + lptr + 10); if (ndoc) { char *buff = ndoc; strncpy(buff, methods[i].ml_doc, ldoc); buff += ldoc; strncpy(buff, "swig_ptr: ", 10); buff += 10; SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); methods[i].ml_doc = ndoc; } } } } } } #ifdef __cplusplus } #endif /* -----------------------------------------------------------------------------* * Partial Init method * -----------------------------------------------------------------------------*/ #ifdef __cplusplus extern "C" #endif SWIGEXPORT #if PY_VERSION_HEX >= 0x03000000 PyObject* #else void #endif SWIG_init(void) { PyObject *m, *d, *md; #if PY_VERSION_HEX >= 0x03000000 static struct PyModuleDef SWIG_module = { # if PY_VERSION_HEX >= 0x03020000 PyModuleDef_HEAD_INIT, # else { PyObject_HEAD_INIT(NULL) NULL, /* m_init */ 0, /* m_index */ NULL, /* m_copy */ }, # endif (char *) SWIG_name, NULL, -1, SwigMethods, NULL, NULL, NULL, NULL }; #endif #if defined(SWIGPYTHON_BUILTIN) static SwigPyClientData SwigPyObject_clientdata = { 0, 0, 0, 0, 0, 0, 0 }; static PyGetSetDef this_getset_def = { (char *)"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL }; static SwigPyGetSet thisown_getset_closure = { (PyCFunction) SwigPyObject_own, (PyCFunction) SwigPyObject_own }; static PyGetSetDef thisown_getset_def = { (char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure }; PyObject *metatype_args; PyTypeObject *builtin_pytype; int builtin_base_count; swig_type_info *builtin_basetype; PyObject *tuple; PyGetSetDescrObject *static_getset; PyTypeObject *metatype; SwigPyClientData *cd; PyObject *public_interface, *public_symbol; PyObject *this_descr; PyObject *thisown_descr; int i; (void)builtin_pytype; (void)builtin_base_count; (void)builtin_basetype; (void)tuple; (void)static_getset; /* metatype is used to implement static member variables. */ metatype_args = Py_BuildValue("(s(O){})", "SwigPyObjectType", &PyType_Type); assert(metatype_args); metatype = (PyTypeObject *) PyType_Type.tp_call((PyObject *) &PyType_Type, metatype_args, NULL); assert(metatype); Py_DECREF(metatype_args); metatype->tp_setattro = (setattrofunc) &SwigPyObjectType_setattro; assert(PyType_Ready(metatype) >= 0); #endif /* Fix SwigMethods to carry the callback ptrs when needed */ SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); #if PY_VERSION_HEX >= 0x03000000 m = PyModule_Create(&SWIG_module); #else m = Py_InitModule((char *) SWIG_name, SwigMethods); #endif md = d = PyModule_GetDict(m); SWIG_InitializeModule(0); #ifdef SWIGPYTHON_BUILTIN SwigPyObject_stype = SWIG_MangledTypeQuery("_p_SwigPyObject"); assert(SwigPyObject_stype); cd = (SwigPyClientData*) SwigPyObject_stype->clientdata; if (!cd) { SwigPyObject_stype->clientdata = &SwigPyObject_clientdata; SwigPyObject_clientdata.pytype = SwigPyObject_TypeOnce(); } else if (SwigPyObject_TypeOnce()->tp_basicsize != cd->pytype->tp_basicsize) { PyErr_SetString(PyExc_RuntimeError, "Import error: attempted to load two incompatible swig-generated modules."); # if PY_VERSION_HEX >= 0x03000000 return NULL; # else return; # endif } /* All objects have a 'this' attribute */ this_descr = PyDescr_NewGetSet(SwigPyObject_type(), &this_getset_def); (void)this_descr; /* All objects have a 'thisown' attribute */ thisown_descr = PyDescr_NewGetSet(SwigPyObject_type(), &thisown_getset_def); (void)thisown_descr; public_interface = PyList_New(0); public_symbol = 0; (void)public_symbol; PyDict_SetItemString(md, "__all__", public_interface); Py_DECREF(public_interface); for (i = 0; SwigMethods[i].ml_name != NULL; ++i) SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name); for (i = 0; swig_const_table[i].name != 0; ++i) SwigPyBuiltin_AddPublicSymbol(public_interface, swig_const_table[i].name); #endif SWIG_InstallConstants(d,swig_const_table); // Patch 1767434, interactive pyFltk if (PyOS_InputHook==NULL) PyOS_InputHook = _run_loop_interactive; else PyErr_Warn(PyExc_RuntimeWarning, "PyOS_InputHook is not available for interactive use of pyFltk"); // End of patch 1767434, interactive pyFltk SWIG_Python_SetConstant(d, "FL_MAJOR_VERSION",SWIG_From_int(static_cast< int >(1))); SWIG_Python_SetConstant(d, "FL_MINOR_VERSION",SWIG_From_int(static_cast< int >(3))); SWIG_Python_SetConstant(d, "FL_PATCH_VERSION",SWIG_From_int(static_cast< int >(0))); SWIG_Python_SetConstant(d, "FL_NO_EVENT",SWIG_From_int(static_cast< int >(FL_NO_EVENT))); SWIG_Python_SetConstant(d, "FL_PUSH",SWIG_From_int(static_cast< int >(FL_PUSH))); SWIG_Python_SetConstant(d, "FL_RELEASE",SWIG_From_int(static_cast< int >(FL_RELEASE))); SWIG_Python_SetConstant(d, "FL_ENTER",SWIG_From_int(static_cast< int >(FL_ENTER))); SWIG_Python_SetConstant(d, "FL_LEAVE",SWIG_From_int(static_cast< int >(FL_LEAVE))); SWIG_Python_SetConstant(d, "FL_DRAG",SWIG_From_int(static_cast< int >(FL_DRAG))); SWIG_Python_SetConstant(d, "FL_FOCUS",SWIG_From_int(static_cast< int >(FL_FOCUS))); SWIG_Python_SetConstant(d, "FL_UNFOCUS",SWIG_From_int(static_cast< int >(FL_UNFOCUS))); SWIG_Python_SetConstant(d, "FL_KEYDOWN",SWIG_From_int(static_cast< int >(FL_KEYDOWN))); SWIG_Python_SetConstant(d, "FL_KEYBOARD",SWIG_From_int(static_cast< int >(FL_KEYBOARD))); SWIG_Python_SetConstant(d, "FL_KEYUP",SWIG_From_int(static_cast< int >(FL_KEYUP))); SWIG_Python_SetConstant(d, "FL_CLOSE",SWIG_From_int(static_cast< int >(FL_CLOSE))); SWIG_Python_SetConstant(d, "FL_MOVE",SWIG_From_int(static_cast< int >(FL_MOVE))); SWIG_Python_SetConstant(d, "FL_SHORTCUT",SWIG_From_int(static_cast< int >(FL_SHORTCUT))); SWIG_Python_SetConstant(d, "FL_DEACTIVATE",SWIG_From_int(static_cast< int >(FL_DEACTIVATE))); SWIG_Python_SetConstant(d, "FL_ACTIVATE",SWIG_From_int(static_cast< int >(FL_ACTIVATE))); SWIG_Python_SetConstant(d, "FL_HIDE",SWIG_From_int(static_cast< int >(FL_HIDE))); SWIG_Python_SetConstant(d, "FL_SHOW",SWIG_From_int(static_cast< int >(FL_SHOW))); SWIG_Python_SetConstant(d, "FL_PASTE",SWIG_From_int(static_cast< int >(FL_PASTE))); SWIG_Python_SetConstant(d, "FL_SELECTIONCLEAR",SWIG_From_int(static_cast< int >(FL_SELECTIONCLEAR))); SWIG_Python_SetConstant(d, "FL_MOUSEWHEEL",SWIG_From_int(static_cast< int >(FL_MOUSEWHEEL))); SWIG_Python_SetConstant(d, "FL_DND_ENTER",SWIG_From_int(static_cast< int >(FL_DND_ENTER))); SWIG_Python_SetConstant(d, "FL_DND_DRAG",SWIG_From_int(static_cast< int >(FL_DND_DRAG))); SWIG_Python_SetConstant(d, "FL_DND_LEAVE",SWIG_From_int(static_cast< int >(FL_DND_LEAVE))); SWIG_Python_SetConstant(d, "FL_DND_RELEASE",SWIG_From_int(static_cast< int >(FL_DND_RELEASE))); SWIG_Python_SetConstant(d, "FL_WHEN_NEVER",SWIG_From_int(static_cast< int >(FL_WHEN_NEVER))); SWIG_Python_SetConstant(d, "FL_WHEN_CHANGED",SWIG_From_int(static_cast< int >(FL_WHEN_CHANGED))); SWIG_Python_SetConstant(d, "FL_WHEN_NOT_CHANGED",SWIG_From_int(static_cast< int >(FL_WHEN_NOT_CHANGED))); SWIG_Python_SetConstant(d, "FL_WHEN_RELEASE",SWIG_From_int(static_cast< int >(FL_WHEN_RELEASE))); SWIG_Python_SetConstant(d, "FL_WHEN_RELEASE_ALWAYS",SWIG_From_int(static_cast< int >(FL_WHEN_RELEASE_ALWAYS))); SWIG_Python_SetConstant(d, "FL_WHEN_ENTER_KEY",SWIG_From_int(static_cast< int >(FL_WHEN_ENTER_KEY))); SWIG_Python_SetConstant(d, "FL_WHEN_ENTER_KEY_ALWAYS",SWIG_From_int(static_cast< int >(FL_WHEN_ENTER_KEY_ALWAYS))); SWIG_Python_SetConstant(d, "FL_WHEN_ENTER_KEY_CHANGED",SWIG_From_int(static_cast< int >(FL_WHEN_ENTER_KEY_CHANGED))); SWIG_Python_SetConstant(d, "FL_Button",SWIG_From_int(static_cast< int >(0xfee8))); SWIG_Python_SetConstant(d, "FL_BackSpace",SWIG_From_int(static_cast< int >(0xff08))); SWIG_Python_SetConstant(d, "FL_Tab",SWIG_From_int(static_cast< int >(0xff09))); SWIG_Python_SetConstant(d, "FL_Enter",SWIG_From_int(static_cast< int >(0xff0d))); SWIG_Python_SetConstant(d, "FL_Pause",SWIG_From_int(static_cast< int >(0xff13))); SWIG_Python_SetConstant(d, "FL_Scroll_Lock",SWIG_From_int(static_cast< int >(0xff14))); SWIG_Python_SetConstant(d, "FL_Escape",SWIG_From_int(static_cast< int >(0xff1b))); SWIG_Python_SetConstant(d, "FL_Home",SWIG_From_int(static_cast< int >(0xff50))); SWIG_Python_SetConstant(d, "FL_Left",SWIG_From_int(static_cast< int >(0xff51))); SWIG_Python_SetConstant(d, "FL_Up",SWIG_From_int(static_cast< int >(0xff52))); SWIG_Python_SetConstant(d, "FL_Right",SWIG_From_int(static_cast< int >(0xff53))); SWIG_Python_SetConstant(d, "FL_Down",SWIG_From_int(static_cast< int >(0xff54))); SWIG_Python_SetConstant(d, "FL_Page_Up",SWIG_From_int(static_cast< int >(0xff55))); SWIG_Python_SetConstant(d, "FL_Page_Down",SWIG_From_int(static_cast< int >(0xff56))); SWIG_Python_SetConstant(d, "FL_End",SWIG_From_int(static_cast< int >(0xff57))); SWIG_Python_SetConstant(d, "FL_Print",SWIG_From_int(static_cast< int >(0xff61))); SWIG_Python_SetConstant(d, "FL_Insert",SWIG_From_int(static_cast< int >(0xff63))); SWIG_Python_SetConstant(d, "FL_Menu",SWIG_From_int(static_cast< int >(0xff67))); SWIG_Python_SetConstant(d, "FL_Help",SWIG_From_int(static_cast< int >(0xff68))); SWIG_Python_SetConstant(d, "FL_Num_Lock",SWIG_From_int(static_cast< int >(0xff7f))); SWIG_Python_SetConstant(d, "FL_KP",SWIG_From_int(static_cast< int >(0xff80))); SWIG_Python_SetConstant(d, "FL_KP_Enter",SWIG_From_int(static_cast< int >(0xff8d))); SWIG_Python_SetConstant(d, "FL_KP_Last",SWIG_From_int(static_cast< int >(0xffbd))); SWIG_Python_SetConstant(d, "FL_F",SWIG_From_int(static_cast< int >(0xffbd))); SWIG_Python_SetConstant(d, "FL_F_Last",SWIG_From_int(static_cast< int >(0xffe0))); SWIG_Python_SetConstant(d, "FL_Shift_L",SWIG_From_int(static_cast< int >(0xffe1))); SWIG_Python_SetConstant(d, "FL_Shift_R",SWIG_From_int(static_cast< int >(0xffe2))); SWIG_Python_SetConstant(d, "FL_Control_L",SWIG_From_int(static_cast< int >(0xffe3))); SWIG_Python_SetConstant(d, "FL_Control_R",SWIG_From_int(static_cast< int >(0xffe4))); SWIG_Python_SetConstant(d, "FL_Caps_Lock",SWIG_From_int(static_cast< int >(0xffe5))); SWIG_Python_SetConstant(d, "FL_Meta_L",SWIG_From_int(static_cast< int >(0xffe7))); SWIG_Python_SetConstant(d, "FL_Meta_R",SWIG_From_int(static_cast< int >(0xffe8))); SWIG_Python_SetConstant(d, "FL_Alt_L",SWIG_From_int(static_cast< int >(0xffe9))); SWIG_Python_SetConstant(d, "FL_Alt_R",SWIG_From_int(static_cast< int >(0xffea))); SWIG_Python_SetConstant(d, "FL_Delete",SWIG_From_int(static_cast< int >(0xffff))); SWIG_Python_SetConstant(d, "FL_Volume_Down",SWIG_From_int(static_cast< int >(0xEF11))); SWIG_Python_SetConstant(d, "FL_Volume_Mute",SWIG_From_int(static_cast< int >(0xEF12))); SWIG_Python_SetConstant(d, "FL_Volume_Up",SWIG_From_int(static_cast< int >(0xEF13))); SWIG_Python_SetConstant(d, "FL_Media_Play",SWIG_From_int(static_cast< int >(0xEF14))); SWIG_Python_SetConstant(d, "FL_Media_Stop",SWIG_From_int(static_cast< int >(0xEF15))); SWIG_Python_SetConstant(d, "FL_Media_Prev",SWIG_From_int(static_cast< int >(0xEF16))); SWIG_Python_SetConstant(d, "FL_Media_Next",SWIG_From_int(static_cast< int >(0xEF17))); SWIG_Python_SetConstant(d, "FL_Home_Page",SWIG_From_int(static_cast< int >(0xEF18))); SWIG_Python_SetConstant(d, "FL_Mail",SWIG_From_int(static_cast< int >(0xEF19))); SWIG_Python_SetConstant(d, "FL_Search",SWIG_From_int(static_cast< int >(0xEF1B))); SWIG_Python_SetConstant(d, "FL_Back",SWIG_From_int(static_cast< int >(0xEF26))); SWIG_Python_SetConstant(d, "FL_Forward",SWIG_From_int(static_cast< int >(0xEF27))); SWIG_Python_SetConstant(d, "FL_Stop",SWIG_From_int(static_cast< int >(0xEF28))); SWIG_Python_SetConstant(d, "FL_Refresh",SWIG_From_int(static_cast< int >(0xEF29))); SWIG_Python_SetConstant(d, "FL_Sleep",SWIG_From_int(static_cast< int >(0xEF2F))); SWIG_Python_SetConstant(d, "FL_Favorites",SWIG_From_int(static_cast< int >(0xEF30))); SWIG_Python_SetConstant(d, "FL_LEFT_MOUSE",SWIG_From_int(static_cast< int >(1))); SWIG_Python_SetConstant(d, "FL_MIDDLE_MOUSE",SWIG_From_int(static_cast< int >(2))); SWIG_Python_SetConstant(d, "FL_RIGHT_MOUSE",SWIG_From_int(static_cast< int >(3))); SWIG_Python_SetConstant(d, "FL_SHIFT",SWIG_From_int(static_cast< int >(0x00010000))); SWIG_Python_SetConstant(d, "FL_CAPS_LOCK",SWIG_From_int(static_cast< int >(0x00020000))); SWIG_Python_SetConstant(d, "FL_CTRL",SWIG_From_int(static_cast< int >(0x00040000))); SWIG_Python_SetConstant(d, "FL_ALT",SWIG_From_int(static_cast< int >(0x00080000))); SWIG_Python_SetConstant(d, "FL_NUM_LOCK",SWIG_From_int(static_cast< int >(0x00100000))); SWIG_Python_SetConstant(d, "FL_META",SWIG_From_int(static_cast< int >(0x00400000))); SWIG_Python_SetConstant(d, "FL_SCROLL_LOCK",SWIG_From_int(static_cast< int >(0x00800000))); SWIG_Python_SetConstant(d, "FL_BUTTON1",SWIG_From_int(static_cast< int >(0x01000000))); SWIG_Python_SetConstant(d, "FL_BUTTON2",SWIG_From_int(static_cast< int >(0x02000000))); SWIG_Python_SetConstant(d, "FL_BUTTON3",SWIG_From_int(static_cast< int >(0x04000000))); SWIG_Python_SetConstant(d, "FL_BUTTONS",SWIG_From_int(static_cast< int >(0x7f000000))); SWIG_Python_SetConstant(d, "FL_KEY_MASK",SWIG_From_int(static_cast< int >(0x0000ffff))); SWIG_Python_SetConstant(d, "FL_COMMAND",SWIG_From_int(static_cast< int >(0x00040000))); SWIG_Python_SetConstant(d, "FL_CONTROL",SWIG_From_int(static_cast< int >(0x00400000))); SWIG_Python_SetConstant(d, "FL_NO_BOX",SWIG_From_int(static_cast< int >(FL_NO_BOX))); SWIG_Python_SetConstant(d, "FL_FLAT_BOX",SWIG_From_int(static_cast< int >(FL_FLAT_BOX))); SWIG_Python_SetConstant(d, "FL_UP_BOX",SWIG_From_int(static_cast< int >(FL_UP_BOX))); SWIG_Python_SetConstant(d, "FL_DOWN_BOX",SWIG_From_int(static_cast< int >(FL_DOWN_BOX))); SWIG_Python_SetConstant(d, "FL_UP_FRAME",SWIG_From_int(static_cast< int >(FL_UP_FRAME))); SWIG_Python_SetConstant(d, "FL_DOWN_FRAME",SWIG_From_int(static_cast< int >(FL_DOWN_FRAME))); SWIG_Python_SetConstant(d, "FL_THIN_UP_BOX",SWIG_From_int(static_cast< int >(FL_THIN_UP_BOX))); SWIG_Python_SetConstant(d, "FL_THIN_DOWN_BOX",SWIG_From_int(static_cast< int >(FL_THIN_DOWN_BOX))); SWIG_Python_SetConstant(d, "FL_THIN_UP_FRAME",SWIG_From_int(static_cast< int >(FL_THIN_UP_FRAME))); SWIG_Python_SetConstant(d, "FL_THIN_DOWN_FRAME",SWIG_From_int(static_cast< int >(FL_THIN_DOWN_FRAME))); SWIG_Python_SetConstant(d, "FL_ENGRAVED_BOX",SWIG_From_int(static_cast< int >(FL_ENGRAVED_BOX))); SWIG_Python_SetConstant(d, "FL_EMBOSSED_BOX",SWIG_From_int(static_cast< int >(FL_EMBOSSED_BOX))); SWIG_Python_SetConstant(d, "FL_ENGRAVED_FRAME",SWIG_From_int(static_cast< int >(FL_ENGRAVED_FRAME))); SWIG_Python_SetConstant(d, "FL_EMBOSSED_FRAME",SWIG_From_int(static_cast< int >(FL_EMBOSSED_FRAME))); SWIG_Python_SetConstant(d, "FL_BORDER_BOX",SWIG_From_int(static_cast< int >(FL_BORDER_BOX))); SWIG_Python_SetConstant(d, "_FL_SHADOW_BOX",SWIG_From_int(static_cast< int >(_FL_SHADOW_BOX))); SWIG_Python_SetConstant(d, "FL_BORDER_FRAME",SWIG_From_int(static_cast< int >(FL_BORDER_FRAME))); SWIG_Python_SetConstant(d, "_FL_SHADOW_FRAME",SWIG_From_int(static_cast< int >(_FL_SHADOW_FRAME))); SWIG_Python_SetConstant(d, "_FL_ROUNDED_BOX",SWIG_From_int(static_cast< int >(_FL_ROUNDED_BOX))); SWIG_Python_SetConstant(d, "_FL_RSHADOW_BOX",SWIG_From_int(static_cast< int >(_FL_RSHADOW_BOX))); SWIG_Python_SetConstant(d, "_FL_ROUNDED_FRAME",SWIG_From_int(static_cast< int >(_FL_ROUNDED_FRAME))); SWIG_Python_SetConstant(d, "_FL_RFLAT_BOX",SWIG_From_int(static_cast< int >(_FL_RFLAT_BOX))); SWIG_Python_SetConstant(d, "_FL_ROUND_UP_BOX",SWIG_From_int(static_cast< int >(_FL_ROUND_UP_BOX))); SWIG_Python_SetConstant(d, "_FL_ROUND_DOWN_BOX",SWIG_From_int(static_cast< int >(_FL_ROUND_DOWN_BOX))); SWIG_Python_SetConstant(d, "_FL_DIAMOND_UP_BOX",SWIG_From_int(static_cast< int >(_FL_DIAMOND_UP_BOX))); SWIG_Python_SetConstant(d, "_FL_DIAMOND_DOWN_BOX",SWIG_From_int(static_cast< int >(_FL_DIAMOND_DOWN_BOX))); SWIG_Python_SetConstant(d, "_FL_OVAL_BOX",SWIG_From_int(static_cast< int >(_FL_OVAL_BOX))); SWIG_Python_SetConstant(d, "_FL_OSHADOW_BOX",SWIG_From_int(static_cast< int >(_FL_OSHADOW_BOX))); SWIG_Python_SetConstant(d, "_FL_OVAL_FRAME",SWIG_From_int(static_cast< int >(_FL_OVAL_FRAME))); SWIG_Python_SetConstant(d, "_FL_OFLAT_BOX",SWIG_From_int(static_cast< int >(_FL_OFLAT_BOX))); SWIG_Python_SetConstant(d, "_FL_PLASTIC_UP_BOX",SWIG_From_int(static_cast< int >(_FL_PLASTIC_UP_BOX))); SWIG_Python_SetConstant(d, "_FL_PLASTIC_DOWN_BOX",SWIG_From_int(static_cast< int >(_FL_PLASTIC_DOWN_BOX))); SWIG_Python_SetConstant(d, "_FL_PLASTIC_UP_FRAME",SWIG_From_int(static_cast< int >(_FL_PLASTIC_UP_FRAME))); SWIG_Python_SetConstant(d, "_FL_PLASTIC_DOWN_FRAME",SWIG_From_int(static_cast< int >(_FL_PLASTIC_DOWN_FRAME))); SWIG_Python_SetConstant(d, "_FL_PLASTIC_THIN_UP_BOX",SWIG_From_int(static_cast< int >(_FL_PLASTIC_THIN_UP_BOX))); SWIG_Python_SetConstant(d, "_FL_PLASTIC_THIN_DOWN_BOX",SWIG_From_int(static_cast< int >(_FL_PLASTIC_THIN_DOWN_BOX))); SWIG_Python_SetConstant(d, "_FL_PLASTIC_ROUND_UP_BOX",SWIG_From_int(static_cast< int >(_FL_PLASTIC_ROUND_UP_BOX))); SWIG_Python_SetConstant(d, "_FL_PLASTIC_ROUND_DOWN_BOX",SWIG_From_int(static_cast< int >(_FL_PLASTIC_ROUND_DOWN_BOX))); SWIG_Python_SetConstant(d, "_FL_GTK_UP_BOX",SWIG_From_int(static_cast< int >(_FL_GTK_UP_BOX))); SWIG_Python_SetConstant(d, "_FL_GTK_DOWN_BOX",SWIG_From_int(static_cast< int >(_FL_GTK_DOWN_BOX))); SWIG_Python_SetConstant(d, "_FL_GTK_UP_FRAME",SWIG_From_int(static_cast< int >(_FL_GTK_UP_FRAME))); SWIG_Python_SetConstant(d, "_FL_GTK_DOWN_FRAME",SWIG_From_int(static_cast< int >(_FL_GTK_DOWN_FRAME))); SWIG_Python_SetConstant(d, "_FL_GTK_THIN_UP_BOX",SWIG_From_int(static_cast< int >(_FL_GTK_THIN_UP_BOX))); SWIG_Python_SetConstant(d, "_FL_GTK_THIN_DOWN_BOX",SWIG_From_int(static_cast< int >(_FL_GTK_THIN_DOWN_BOX))); SWIG_Python_SetConstant(d, "_FL_GTK_THIN_UP_FRAME",SWIG_From_int(static_cast< int >(_FL_GTK_THIN_UP_FRAME))); SWIG_Python_SetConstant(d, "_FL_GTK_THIN_DOWN_FRAME",SWIG_From_int(static_cast< int >(_FL_GTK_THIN_DOWN_FRAME))); SWIG_Python_SetConstant(d, "_FL_GTK_ROUND_UP_BOX",SWIG_From_int(static_cast< int >(_FL_GTK_ROUND_UP_BOX))); SWIG_Python_SetConstant(d, "_FL_GTK_ROUND_DOWN_BOX",SWIG_From_int(static_cast< int >(_FL_GTK_ROUND_DOWN_BOX))); SWIG_Python_SetConstant(d, "FL_FREE_BOXTYPE",SWIG_From_int(static_cast< int >(FL_FREE_BOXTYPE))); SWIG_Python_SetConstant(d, "FL_NORMAL_LABEL",SWIG_From_int(static_cast< int >(FL_NORMAL_LABEL))); SWIG_Python_SetConstant(d, "FL_NO_LABEL",SWIG_From_int(static_cast< int >(FL_NO_LABEL))); SWIG_Python_SetConstant(d, "_FL_SHADOW_LABEL",SWIG_From_int(static_cast< int >(_FL_SHADOW_LABEL))); SWIG_Python_SetConstant(d, "_FL_ENGRAVED_LABEL",SWIG_From_int(static_cast< int >(_FL_ENGRAVED_LABEL))); SWIG_Python_SetConstant(d, "_FL_EMBOSSED_LABEL",SWIG_From_int(static_cast< int >(_FL_EMBOSSED_LABEL))); SWIG_Python_SetConstant(d, "_FL_MULTI_LABEL",SWIG_From_int(static_cast< int >(_FL_MULTI_LABEL))); SWIG_Python_SetConstant(d, "_FL_ICON_LABEL",SWIG_From_int(static_cast< int >(_FL_ICON_LABEL))); SWIG_Python_SetConstant(d, "_FL_IMAGE_LABEL",SWIG_From_int(static_cast< int >(_FL_IMAGE_LABEL))); SWIG_Python_SetConstant(d, "FL_FREE_LABELTYPE",SWIG_From_int(static_cast< int >(FL_FREE_LABELTYPE))); SWIG_Python_SetConstant(d, "FL_NUM_FREE_COLOR",SWIG_From_int(static_cast< int >(16))); SWIG_Python_SetConstant(d, "FL_NUM_GRAY",SWIG_From_int(static_cast< int >(24))); SWIG_Python_SetConstant(d, "FL_NUM_RED",SWIG_From_int(static_cast< int >(5))); SWIG_Python_SetConstant(d, "FL_NUM_GREEN",SWIG_From_int(static_cast< int >(8))); SWIG_Python_SetConstant(d, "FL_NUM_BLUE",SWIG_From_int(static_cast< int >(5))); SWIG_Python_SetConstant(d, "FL_CURSOR_DEFAULT",SWIG_From_int(static_cast< int >(FL_CURSOR_DEFAULT))); SWIG_Python_SetConstant(d, "FL_CURSOR_ARROW",SWIG_From_int(static_cast< int >(FL_CURSOR_ARROW))); SWIG_Python_SetConstant(d, "FL_CURSOR_CROSS",SWIG_From_int(static_cast< int >(FL_CURSOR_CROSS))); SWIG_Python_SetConstant(d, "FL_CURSOR_WAIT",SWIG_From_int(static_cast< int >(FL_CURSOR_WAIT))); SWIG_Python_SetConstant(d, "FL_CURSOR_INSERT",SWIG_From_int(static_cast< int >(FL_CURSOR_INSERT))); SWIG_Python_SetConstant(d, "FL_CURSOR_HAND",SWIG_From_int(static_cast< int >(FL_CURSOR_HAND))); SWIG_Python_SetConstant(d, "FL_CURSOR_HELP",SWIG_From_int(static_cast< int >(FL_CURSOR_HELP))); SWIG_Python_SetConstant(d, "FL_CURSOR_MOVE",SWIG_From_int(static_cast< int >(FL_CURSOR_MOVE))); SWIG_Python_SetConstant(d, "FL_CURSOR_NS",SWIG_From_int(static_cast< int >(FL_CURSOR_NS))); SWIG_Python_SetConstant(d, "FL_CURSOR_WE",SWIG_From_int(static_cast< int >(FL_CURSOR_WE))); SWIG_Python_SetConstant(d, "FL_CURSOR_NWSE",SWIG_From_int(static_cast< int >(FL_CURSOR_NWSE))); SWIG_Python_SetConstant(d, "FL_CURSOR_NESW",SWIG_From_int(static_cast< int >(FL_CURSOR_NESW))); SWIG_Python_SetConstant(d, "FL_CURSOR_NONE",SWIG_From_int(static_cast< int >(FL_CURSOR_NONE))); SWIG_Python_SetConstant(d, "FL_CURSOR_N",SWIG_From_int(static_cast< int >(FL_CURSOR_N))); SWIG_Python_SetConstant(d, "FL_CURSOR_NE",SWIG_From_int(static_cast< int >(FL_CURSOR_NE))); SWIG_Python_SetConstant(d, "FL_CURSOR_E",SWIG_From_int(static_cast< int >(FL_CURSOR_E))); SWIG_Python_SetConstant(d, "FL_CURSOR_SE",SWIG_From_int(static_cast< int >(FL_CURSOR_SE))); SWIG_Python_SetConstant(d, "FL_CURSOR_S",SWIG_From_int(static_cast< int >(FL_CURSOR_S))); SWIG_Python_SetConstant(d, "FL_CURSOR_SW",SWIG_From_int(static_cast< int >(FL_CURSOR_SW))); SWIG_Python_SetConstant(d, "FL_CURSOR_W",SWIG_From_int(static_cast< int >(FL_CURSOR_W))); SWIG_Python_SetConstant(d, "FL_CURSOR_NW",SWIG_From_int(static_cast< int >(FL_CURSOR_NW))); SWIG_Python_SetConstant(d, "FL_READ",SWIG_From_int(static_cast< int >(FL_READ))); SWIG_Python_SetConstant(d, "FL_WRITE",SWIG_From_int(static_cast< int >(FL_WRITE))); SWIG_Python_SetConstant(d, "FL_EXCEPT",SWIG_From_int(static_cast< int >(FL_EXCEPT))); SWIG_Python_SetConstant(d, "FL_RGB",SWIG_From_int(static_cast< int >(FL_RGB))); SWIG_Python_SetConstant(d, "FL_INDEX",SWIG_From_int(static_cast< int >(FL_INDEX))); SWIG_Python_SetConstant(d, "FL_SINGLE",SWIG_From_int(static_cast< int >(FL_SINGLE))); SWIG_Python_SetConstant(d, "FL_DOUBLE",SWIG_From_int(static_cast< int >(FL_DOUBLE))); SWIG_Python_SetConstant(d, "FL_ACCUM",SWIG_From_int(static_cast< int >(FL_ACCUM))); SWIG_Python_SetConstant(d, "FL_ALPHA",SWIG_From_int(static_cast< int >(FL_ALPHA))); SWIG_Python_SetConstant(d, "FL_DEPTH",SWIG_From_int(static_cast< int >(FL_DEPTH))); SWIG_Python_SetConstant(d, "FL_STENCIL",SWIG_From_int(static_cast< int >(FL_STENCIL))); SWIG_Python_SetConstant(d, "FL_RGB8",SWIG_From_int(static_cast< int >(FL_RGB8))); SWIG_Python_SetConstant(d, "FL_MULTISAMPLE",SWIG_From_int(static_cast< int >(FL_MULTISAMPLE))); SWIG_Python_SetConstant(d, "FL_STEREO",SWIG_From_int(static_cast< int >(FL_STEREO))); SWIG_Python_SetConstant(d, "FL_FAKE_SINGLE",SWIG_From_int(static_cast< int >(FL_FAKE_SINGLE))); SWIG_Python_SetConstant(d, "FL_IMAGE_WITH_ALPHA",SWIG_From_int(static_cast< int >(0x40000000))); SWIG_Python_SetConstant(d, "FL_DAMAGE_CHILD",SWIG_From_int(static_cast< int >(FL_DAMAGE_CHILD))); SWIG_Python_SetConstant(d, "FL_DAMAGE_EXPOSE",SWIG_From_int(static_cast< int >(FL_DAMAGE_EXPOSE))); SWIG_Python_SetConstant(d, "FL_DAMAGE_SCROLL",SWIG_From_int(static_cast< int >(FL_DAMAGE_SCROLL))); SWIG_Python_SetConstant(d, "FL_DAMAGE_OVERLAY",SWIG_From_int(static_cast< int >(FL_DAMAGE_OVERLAY))); SWIG_Python_SetConstant(d, "FL_DAMAGE_USER1",SWIG_From_int(static_cast< int >(FL_DAMAGE_USER1))); SWIG_Python_SetConstant(d, "FL_DAMAGE_USER2",SWIG_From_int(static_cast< int >(FL_DAMAGE_USER2))); SWIG_Python_SetConstant(d, "FL_DAMAGE_ALL",SWIG_From_int(static_cast< int >(FL_DAMAGE_ALL))); SWIG_Python_SetConstant(d, "FL_RESERVED_TYPE",SWIG_From_int(static_cast< int >(100))); SWIG_Python_SetConstant(d, "FL_NORMAL_BROWSER",SWIG_From_int(static_cast< int >(0))); SWIG_Python_SetConstant(d, "FL_SELECT_BROWSER",SWIG_From_int(static_cast< int >(1))); SWIG_Python_SetConstant(d, "FL_HOLD_BROWSER",SWIG_From_int(static_cast< int >(2))); SWIG_Python_SetConstant(d, "FL_MULTI_BROWSER",SWIG_From_int(static_cast< int >(3))); SWIG_Python_SetConstant(d, "FL_SORT_ASCENDING",SWIG_From_int(static_cast< int >(0))); SWIG_Python_SetConstant(d, "FL_SORT_DESCENDING",SWIG_From_int(static_cast< int >(1))); SWIG_Python_SetConstant(d, "Fl_Browser__HORIZONTAL",SWIG_From_int(static_cast< int >(Fl_Browser_::HORIZONTAL))); SWIG_Python_SetConstant(d, "Fl_Browser__VERTICAL",SWIG_From_int(static_cast< int >(Fl_Browser_::VERTICAL))); SWIG_Python_SetConstant(d, "Fl_Browser__BOTH",SWIG_From_int(static_cast< int >(Fl_Browser_::BOTH))); SWIG_Python_SetConstant(d, "Fl_Browser__ALWAYS_ON",SWIG_From_int(static_cast< int >(Fl_Browser_::ALWAYS_ON))); SWIG_Python_SetConstant(d, "Fl_Browser__HORIZONTAL_ALWAYS",SWIG_From_int(static_cast< int >(Fl_Browser_::HORIZONTAL_ALWAYS))); SWIG_Python_SetConstant(d, "Fl_Browser__VERTICAL_ALWAYS",SWIG_From_int(static_cast< int >(Fl_Browser_::VERTICAL_ALWAYS))); SWIG_Python_SetConstant(d, "Fl_Browser__BOTH_ALWAYS",SWIG_From_int(static_cast< int >(Fl_Browser_::BOTH_ALWAYS))); SWIG_Python_SetConstant(d, "Fl_Browser_TOP",SWIG_From_int(static_cast< int >(Fl_Browser::TOP))); SWIG_Python_SetConstant(d, "Fl_Browser_BOTTOM",SWIG_From_int(static_cast< int >(Fl_Browser::BOTTOM))); SWIG_Python_SetConstant(d, "Fl_Browser_MIDDLE",SWIG_From_int(static_cast< int >(Fl_Browser::MIDDLE))); SWIG_Python_SetConstant(d, "Fl_File_Browser_FILES",SWIG_From_int(static_cast< int >(Fl_File_Browser::FILES))); SWIG_Python_SetConstant(d, "Fl_File_Browser_DIRECTORIES",SWIG_From_int(static_cast< int >(Fl_File_Browser::DIRECTORIES))); SWIG_Python_SetConstant(d, "FL_ALPHASORT",SWIG_From_int(static_cast< int >(FL_ALPHASORT))); SWIG_Python_SetConstant(d, "FL_CASEALPHASORT",SWIG_From_int(static_cast< int >(FL_CASEALPHASORT))); SWIG_Python_SetConstant(d, "FL_CASENUMERICSORT",SWIG_From_int(static_cast< int >(FL_CASENUMERICSORT))); SWIG_Python_SetConstant(d, "FL_NUMERICSORT",SWIG_From_int(static_cast< int >(FL_NUMERICSORT))); SWIG_Python_SetConstant(d, "Fl_File_Icon_ANY",SWIG_From_int(static_cast< int >(Fl_File_Icon::ANY))); SWIG_Python_SetConstant(d, "Fl_File_Icon_PLAIN",SWIG_From_int(static_cast< int >(Fl_File_Icon::PLAIN))); SWIG_Python_SetConstant(d, "Fl_File_Icon_FIFO",SWIG_From_int(static_cast< int >(Fl_File_Icon::FIFO))); SWIG_Python_SetConstant(d, "Fl_File_Icon_DEVICE",SWIG_From_int(static_cast< int >(Fl_File_Icon::DEVICE))); SWIG_Python_SetConstant(d, "Fl_File_Icon_LINK",SWIG_From_int(static_cast< int >(Fl_File_Icon::LINK))); SWIG_Python_SetConstant(d, "Fl_File_Icon_DIRECTORY",SWIG_From_int(static_cast< int >(Fl_File_Icon::DIRECTORY))); SWIG_Python_SetConstant(d, "Fl_File_Icon_END",SWIG_From_int(static_cast< int >(Fl_File_Icon::END))); SWIG_Python_SetConstant(d, "Fl_File_Icon_COLOR",SWIG_From_int(static_cast< int >(Fl_File_Icon::COLOR))); SWIG_Python_SetConstant(d, "Fl_File_Icon_LINE",SWIG_From_int(static_cast< int >(Fl_File_Icon::LINE))); SWIG_Python_SetConstant(d, "Fl_File_Icon_CLOSEDLINE",SWIG_From_int(static_cast< int >(Fl_File_Icon::CLOSEDLINE))); SWIG_Python_SetConstant(d, "Fl_File_Icon_POLYGON",SWIG_From_int(static_cast< int >(Fl_File_Icon::POLYGON))); SWIG_Python_SetConstant(d, "Fl_File_Icon_OUTLINEPOLYGON",SWIG_From_int(static_cast< int >(Fl_File_Icon::OUTLINEPOLYGON))); SWIG_Python_SetConstant(d, "Fl_File_Icon_VERTEX",SWIG_From_int(static_cast< int >(Fl_File_Icon::VERTEX))); SWIG_Python_SetConstant(d, "Fl_File_Chooser_SINGLE",SWIG_From_int(static_cast< int >(Fl_File_Chooser::SINGLE))); SWIG_Python_SetConstant(d, "Fl_File_Chooser_MULTI",SWIG_From_int(static_cast< int >(Fl_File_Chooser::MULTI))); SWIG_Python_SetConstant(d, "Fl_File_Chooser_CREATE",SWIG_From_int(static_cast< int >(Fl_File_Chooser::CREATE))); SWIG_Python_SetConstant(d, "Fl_File_Chooser_DIRECTORY",SWIG_From_int(static_cast< int >(Fl_File_Chooser::DIRECTORY))); SWIG_Python_SetConstant(d, "Fl_OPTION_ARROW_FOCUS",SWIG_From_int(static_cast< int >(Fl::OPTION_ARROW_FOCUS))); SWIG_Python_SetConstant(d, "Fl_OPTION_VISIBLE_FOCUS",SWIG_From_int(static_cast< int >(Fl::OPTION_VISIBLE_FOCUS))); SWIG_Python_SetConstant(d, "Fl_OPTION_DND_TEXT",SWIG_From_int(static_cast< int >(Fl::OPTION_DND_TEXT))); SWIG_Python_SetConstant(d, "Fl_OPTION_SHOW_TOOLTIPS",SWIG_From_int(static_cast< int >(Fl::OPTION_SHOW_TOOLTIPS))); SWIG_Python_SetConstant(d, "Fl_OPTION_LAST",SWIG_From_int(static_cast< int >(Fl::OPTION_LAST))); SWIG_Python_SetConstant(d, "FL_PATH_MAX",SWIG_From_int(static_cast< int >(2048))); SWIG_Python_SetConstant(d, "FL_BEEP_DEFAULT",SWIG_From_int(static_cast< int >(FL_BEEP_DEFAULT))); SWIG_Python_SetConstant(d, "FL_BEEP_MESSAGE",SWIG_From_int(static_cast< int >(FL_BEEP_MESSAGE))); SWIG_Python_SetConstant(d, "FL_BEEP_ERROR",SWIG_From_int(static_cast< int >(FL_BEEP_ERROR))); SWIG_Python_SetConstant(d, "FL_BEEP_QUESTION",SWIG_From_int(static_cast< int >(FL_BEEP_QUESTION))); SWIG_Python_SetConstant(d, "FL_BEEP_PASSWORD",SWIG_From_int(static_cast< int >(FL_BEEP_PASSWORD))); SWIG_Python_SetConstant(d, "FL_BEEP_NOTIFICATION",SWIG_From_int(static_cast< int >(FL_BEEP_NOTIFICATION))); SWIG_Python_SetConstant(d, "FL_NORMAL_BUTTON",SWIG_From_int(static_cast< int >(0))); SWIG_Python_SetConstant(d, "FL_TOGGLE_BUTTON",SWIG_From_int(static_cast< int >(1))); SWIG_Python_SetConstant(d, "FL_RADIO_BUTTON",SWIG_From_int(static_cast< int >((100+2)))); SWIG_Python_SetConstant(d, "FL_HIDDEN_BUTTON",SWIG_From_int(static_cast< int >(3))); SWIG_Python_SetConstant(d, "FL_BAR_CHART",SWIG_From_int(static_cast< int >(0))); SWIG_Python_SetConstant(d, "FL_HORBAR_CHART",SWIG_From_int(static_cast< int >(1))); SWIG_Python_SetConstant(d, "FL_LINE_CHART",SWIG_From_int(static_cast< int >(2))); SWIG_Python_SetConstant(d, "FL_FILL_CHART",SWIG_From_int(static_cast< int >(3))); SWIG_Python_SetConstant(d, "FL_SPIKE_CHART",SWIG_From_int(static_cast< int >(4))); SWIG_Python_SetConstant(d, "FL_PIE_CHART",SWIG_From_int(static_cast< int >(5))); SWIG_Python_SetConstant(d, "FL_SPECIALPIE_CHART",SWIG_From_int(static_cast< int >(6))); SWIG_Python_SetConstant(d, "FL_FILLED_CHART",SWIG_From_int(static_cast< int >(3))); SWIG_Python_SetConstant(d, "FL_CHART_MAX",SWIG_From_int(static_cast< int >(128))); SWIG_Python_SetConstant(d, "FL_CHART_LABEL_MAX",SWIG_From_int(static_cast< int >(18))); SWIG_Python_SetConstant(d, "FL_SQUARE_CLOCK",SWIG_From_int(static_cast< int >(0))); SWIG_Python_SetConstant(d, "FL_ROUND_CLOCK",SWIG_From_int(static_cast< int >(1))); SWIG_Python_SetConstant(d, "FL_ANALOG_CLOCK",SWIG_From_int(static_cast< int >(0))); SWIG_Python_SetConstant(d, "FL_DIGITAL_CLOCK",SWIG_From_int(static_cast< int >(0))); SWIG_Python_SetConstant(d, "FL_NORMAL_COUNTER",SWIG_From_int(static_cast< int >(0))); SWIG_Python_SetConstant(d, "FL_SIMPLE_COUNTER",SWIG_From_int(static_cast< int >(1))); SWIG_Python_SetConstant(d, "FL_NORMAL_DIAL",SWIG_From_int(static_cast< int >(0))); SWIG_Python_SetConstant(d, "FL_LINE_DIAL",SWIG_From_int(static_cast< int >(1))); SWIG_Python_SetConstant(d, "FL_FILL_DIAL",SWIG_From_int(static_cast< int >(2))); SWIG_Python_SetConstant(d, "FL_WINDOW",SWIG_From_int(static_cast< int >(0xF0))); SWIG_Python_SetConstant(d, "FL_DOUBLE_WINDOW",SWIG_From_int(static_cast< int >(0xF1))); SWIG_Python_SetConstant(d, "FL_SOLID",SWIG_From_int(static_cast< int >(FL_SOLID))); SWIG_Python_SetConstant(d, "FL_DASH",SWIG_From_int(static_cast< int >(FL_DASH))); SWIG_Python_SetConstant(d, "FL_DOT",SWIG_From_int(static_cast< int >(FL_DOT))); SWIG_Python_SetConstant(d, "FL_DASHDOT",SWIG_From_int(static_cast< int >(FL_DASHDOT))); SWIG_Python_SetConstant(d, "FL_DASHDOTDOT",SWIG_From_int(static_cast< int >(FL_DASHDOTDOT))); SWIG_Python_SetConstant(d, "FL_CAP_FLAT",SWIG_From_int(static_cast< int >(FL_CAP_FLAT))); SWIG_Python_SetConstant(d, "FL_CAP_ROUND",SWIG_From_int(static_cast< int >(FL_CAP_ROUND))); SWIG_Python_SetConstant(d, "FL_CAP_SQUARE",SWIG_From_int(static_cast< int >(FL_CAP_SQUARE))); SWIG_Python_SetConstant(d, "FL_JOIN_MITER",SWIG_From_int(static_cast< int >(FL_JOIN_MITER))); SWIG_Python_SetConstant(d, "FL_JOIN_ROUND",SWIG_From_int(static_cast< int >(FL_JOIN_ROUND))); SWIG_Python_SetConstant(d, "FL_JOIN_BEVEL",SWIG_From_int(static_cast< int >(FL_JOIN_BEVEL))); SWIG_Python_SetConstant(d, "FL_NORMAL_INPUT",SWIG_From_int(static_cast< int >(0))); SWIG_Python_SetConstant(d, "FL_FLOAT_INPUT",SWIG_From_int(static_cast< int >(1))); SWIG_Python_SetConstant(d, "FL_INT_INPUT",SWIG_From_int(static_cast< int >(2))); SWIG_Python_SetConstant(d, "FL_HIDDEN_INPUT",SWIG_From_int(static_cast< int >(3))); SWIG_Python_SetConstant(d, "FL_MULTILINE_INPUT",SWIG_From_int(static_cast< int >(4))); SWIG_Python_SetConstant(d, "FL_SECRET_INPUT",SWIG_From_int(static_cast< int >(5))); SWIG_Python_SetConstant(d, "FL_INPUT_TYPE",SWIG_From_int(static_cast< int >(7))); SWIG_Python_SetConstant(d, "FL_INPUT_READONLY",SWIG_From_int(static_cast< int >(8))); SWIG_Python_SetConstant(d, "FL_NORMAL_OUTPUT",SWIG_From_int(static_cast< int >((0|8)))); SWIG_Python_SetConstant(d, "FL_MULTILINE_OUTPUT",SWIG_From_int(static_cast< int >((4|8)))); SWIG_Python_SetConstant(d, "FL_INPUT_WRAP",SWIG_From_int(static_cast< int >(16))); SWIG_Python_SetConstant(d, "FL_MULTILINE_INPUT_WRAP",SWIG_From_int(static_cast< int >((4|16)))); SWIG_Python_SetConstant(d, "FL_MULTILINE_OUTPUT_WRAP",SWIG_From_int(static_cast< int >((4|8|16)))); SWIG_Python_SetConstant(d, "FL_VERT_SLIDER",SWIG_From_int(static_cast< int >(0))); SWIG_Python_SetConstant(d, "FL_HOR_SLIDER",SWIG_From_int(static_cast< int >(1))); SWIG_Python_SetConstant(d, "FL_VERT_FILL_SLIDER",SWIG_From_int(static_cast< int >(2))); SWIG_Python_SetConstant(d, "FL_HOR_FILL_SLIDER",SWIG_From_int(static_cast< int >(3))); SWIG_Python_SetConstant(d, "FL_VERT_NICE_SLIDER",SWIG_From_int(static_cast< int >(4))); SWIG_Python_SetConstant(d, "FL_HOR_NICE_SLIDER",SWIG_From_int(static_cast< int >(5))); SWIG_Python_SetConstant(d, "FL_NORMAL_FREE",SWIG_From_int(static_cast< int >(1))); SWIG_Python_SetConstant(d, "FL_SLEEPING_FREE",SWIG_From_int(static_cast< int >(2))); SWIG_Python_SetConstant(d, "FL_INPUT_FREE",SWIG_From_int(static_cast< int >(3))); SWIG_Python_SetConstant(d, "FL_CONTINUOUS_FREE",SWIG_From_int(static_cast< int >(4))); SWIG_Python_SetConstant(d, "FL_ALL_FREE",SWIG_From_int(static_cast< int >(5))); SWIG_Python_SetConstant(d, "FL_DRAW",SWIG_From_int(static_cast< int >(100))); SWIG_Python_SetConstant(d, "FL_STEP",SWIG_From_int(static_cast< int >(101))); SWIG_Python_SetConstant(d, "FL_FREEMEM",SWIG_From_int(static_cast< int >(102))); SWIG_Python_SetConstant(d, "FL_FREEZE",SWIG_From_int(static_cast< int >(103))); SWIG_Python_SetConstant(d, "FL_THAW",SWIG_From_int(static_cast< int >(104))); SWIG_Python_SetConstant(d, "Fl_Menu_Button_POPUP1",SWIG_From_int(static_cast< int >(Fl_Menu_Button::POPUP1))); SWIG_Python_SetConstant(d, "Fl_Menu_Button_POPUP2",SWIG_From_int(static_cast< int >(Fl_Menu_Button::POPUP2))); SWIG_Python_SetConstant(d, "Fl_Menu_Button_POPUP12",SWIG_From_int(static_cast< int >(Fl_Menu_Button::POPUP12))); SWIG_Python_SetConstant(d, "Fl_Menu_Button_POPUP3",SWIG_From_int(static_cast< int >(Fl_Menu_Button::POPUP3))); SWIG_Python_SetConstant(d, "Fl_Menu_Button_POPUP13",SWIG_From_int(static_cast< int >(Fl_Menu_Button::POPUP13))); SWIG_Python_SetConstant(d, "Fl_Menu_Button_POPUP23",SWIG_From_int(static_cast< int >(Fl_Menu_Button::POPUP23))); SWIG_Python_SetConstant(d, "Fl_Menu_Button_POPUP123",SWIG_From_int(static_cast< int >(Fl_Menu_Button::POPUP123))); SWIG_Python_SetConstant(d, "FL_MENU_INACTIVE",SWIG_From_int(static_cast< int >(FL_MENU_INACTIVE))); SWIG_Python_SetConstant(d, "FL_MENU_TOGGLE",SWIG_From_int(static_cast< int >(FL_MENU_TOGGLE))); SWIG_Python_SetConstant(d, "FL_MENU_VALUE",SWIG_From_int(static_cast< int >(FL_MENU_VALUE))); SWIG_Python_SetConstant(d, "FL_MENU_RADIO",SWIG_From_int(static_cast< int >(FL_MENU_RADIO))); SWIG_Python_SetConstant(d, "FL_MENU_INVISIBLE",SWIG_From_int(static_cast< int >(FL_MENU_INVISIBLE))); SWIG_Python_SetConstant(d, "FL_SUBMENU_POINTER",SWIG_From_int(static_cast< int >(FL_SUBMENU_POINTER))); SWIG_Python_SetConstant(d, "FL_SUBMENU",SWIG_From_int(static_cast< int >(FL_SUBMENU))); SWIG_Python_SetConstant(d, "FL_MENU_DIVIDER",SWIG_From_int(static_cast< int >(FL_MENU_DIVIDER))); SWIG_Python_SetConstant(d, "FL_MENU_HORIZONTAL",SWIG_From_int(static_cast< int >(FL_MENU_HORIZONTAL))); SWIG_Python_SetConstant(d, "FL_PUP_NONE",SWIG_From_int(static_cast< int >(FL_PUP_NONE))); SWIG_Python_SetConstant(d, "FL_PUP_GREY",SWIG_From_int(static_cast< int >(FL_PUP_GREY))); SWIG_Python_SetConstant(d, "FL_PUP_GRAY",SWIG_From_int(static_cast< int >(FL_PUP_GRAY))); SWIG_Python_SetConstant(d, "FL_MENU_BOX",SWIG_From_int(static_cast< int >(FL_MENU_BOX))); SWIG_Python_SetConstant(d, "FL_PUP_BOX",SWIG_From_int(static_cast< int >(FL_PUP_BOX))); SWIG_Python_SetConstant(d, "FL_MENU_CHECK",SWIG_From_int(static_cast< int >(FL_MENU_CHECK))); SWIG_Python_SetConstant(d, "FL_PUP_CHECK",SWIG_From_int(static_cast< int >(FL_PUP_CHECK))); SWIG_Python_SetConstant(d, "FL_PUP_RADIO",SWIG_From_int(static_cast< int >(FL_PUP_RADIO))); SWIG_Python_SetConstant(d, "FL_PUP_INVISIBLE",SWIG_From_int(static_cast< int >(FL_PUP_INVISIBLE))); SWIG_Python_SetConstant(d, "FL_PUP_SUBMENU",SWIG_From_int(static_cast< int >(FL_PUP_SUBMENU))); SWIG_Python_SetConstant(d, "Fl_Pack_VERTICAL",SWIG_From_int(static_cast< int >(Fl_Pack::VERTICAL))); SWIG_Python_SetConstant(d, "Fl_Pack_HORIZONTAL",SWIG_From_int(static_cast< int >(Fl_Pack::HORIZONTAL))); SWIG_Python_SetConstant(d, "Fl_Preferences_SYSTEM",SWIG_From_int(static_cast< int >(Fl_Preferences::SYSTEM))); SWIG_Python_SetConstant(d, "Fl_Preferences_USER",SWIG_From_int(static_cast< int >(Fl_Preferences::USER))); SWIG_Python_SetConstant(d, "Fl_Scroll_HORIZONTAL",SWIG_From_int(static_cast< int >(Fl_Scroll::HORIZONTAL))); SWIG_Python_SetConstant(d, "Fl_Scroll_VERTICAL",SWIG_From_int(static_cast< int >(Fl_Scroll::VERTICAL))); SWIG_Python_SetConstant(d, "Fl_Scroll_BOTH",SWIG_From_int(static_cast< int >(Fl_Scroll::BOTH))); SWIG_Python_SetConstant(d, "Fl_Scroll_ALWAYS_ON",SWIG_From_int(static_cast< int >(Fl_Scroll::ALWAYS_ON))); SWIG_Python_SetConstant(d, "Fl_Scroll_HORIZONTAL_ALWAYS",SWIG_From_int(static_cast< int >(Fl_Scroll::HORIZONTAL_ALWAYS))); SWIG_Python_SetConstant(d, "Fl_Scroll_VERTICAL_ALWAYS",SWIG_From_int(static_cast< int >(Fl_Scroll::VERTICAL_ALWAYS))); SWIG_Python_SetConstant(d, "Fl_Scroll_BOTH_ALWAYS",SWIG_From_int(static_cast< int >(Fl_Scroll::BOTH_ALWAYS))); SWIG_Python_SetConstant(d, "FL_TEXT_MAX_EXP_CHAR_LEN",SWIG_From_int(static_cast< int >(20))); SWIG_Python_SetConstant(d, "Fl_Text_Display_NORMAL_CURSOR",SWIG_From_int(static_cast< int >(Fl_Text_Display::NORMAL_CURSOR))); SWIG_Python_SetConstant(d, "Fl_Text_Display_CARET_CURSOR",SWIG_From_int(static_cast< int >(Fl_Text_Display::CARET_CURSOR))); SWIG_Python_SetConstant(d, "Fl_Text_Display_DIM_CURSOR",SWIG_From_int(static_cast< int >(Fl_Text_Display::DIM_CURSOR))); SWIG_Python_SetConstant(d, "Fl_Text_Display_BLOCK_CURSOR",SWIG_From_int(static_cast< int >(Fl_Text_Display::BLOCK_CURSOR))); SWIG_Python_SetConstant(d, "Fl_Text_Display_HEAVY_CURSOR",SWIG_From_int(static_cast< int >(Fl_Text_Display::HEAVY_CURSOR))); SWIG_Python_SetConstant(d, "Fl_Text_Display_CURSOR_POS",SWIG_From_int(static_cast< int >(Fl_Text_Display::CURSOR_POS))); SWIG_Python_SetConstant(d, "Fl_Text_Display_CHARACTER_POS",SWIG_From_int(static_cast< int >(Fl_Text_Display::CHARACTER_POS))); SWIG_Python_SetConstant(d, "Fl_Text_Display_DRAG_NONE",SWIG_From_int(static_cast< int >(Fl_Text_Display::DRAG_NONE))); SWIG_Python_SetConstant(d, "Fl_Text_Display_DRAG_START_DND",SWIG_From_int(static_cast< int >(Fl_Text_Display::DRAG_START_DND))); SWIG_Python_SetConstant(d, "Fl_Text_Display_DRAG_CHAR",SWIG_From_int(static_cast< int >(Fl_Text_Display::DRAG_CHAR))); SWIG_Python_SetConstant(d, "Fl_Text_Display_DRAG_WORD",SWIG_From_int(static_cast< int >(Fl_Text_Display::DRAG_WORD))); SWIG_Python_SetConstant(d, "Fl_Text_Display_DRAG_LINE",SWIG_From_int(static_cast< int >(Fl_Text_Display::DRAG_LINE))); SWIG_Python_SetConstant(d, "Fl_Text_Display_WRAP_NONE",SWIG_From_int(static_cast< int >(Fl_Text_Display::WRAP_NONE))); SWIG_Python_SetConstant(d, "Fl_Text_Display_WRAP_AT_COLUMN",SWIG_From_int(static_cast< int >(Fl_Text_Display::WRAP_AT_COLUMN))); SWIG_Python_SetConstant(d, "Fl_Text_Display_WRAP_AT_PIXEL",SWIG_From_int(static_cast< int >(Fl_Text_Display::WRAP_AT_PIXEL))); SWIG_Python_SetConstant(d, "Fl_Text_Display_WRAP_AT_BOUNDS",SWIG_From_int(static_cast< int >(Fl_Text_Display::WRAP_AT_BOUNDS))); SWIG_Python_SetConstant(d, "FL_TEXT_EDITOR_ANY_STATE",SWIG_From_long(static_cast< long >((-1L)))); SWIG_Python_SetConstant(d, "FL_NORMAL_TIMER",SWIG_From_int(static_cast< int >(0))); SWIG_Python_SetConstant(d, "FL_VALUE_TIMER",SWIG_From_int(static_cast< int >(1))); SWIG_Python_SetConstant(d, "FL_HIDDEN_TIMER",SWIG_From_int(static_cast< int >(2))); SWIG_Python_SetConstant(d, "FL_TREE_SORT_NONE",SWIG_From_int(static_cast< int >(FL_TREE_SORT_NONE))); SWIG_Python_SetConstant(d, "FL_TREE_SORT_ASCENDING",SWIG_From_int(static_cast< int >(FL_TREE_SORT_ASCENDING))); SWIG_Python_SetConstant(d, "FL_TREE_SORT_DESCENDING",SWIG_From_int(static_cast< int >(FL_TREE_SORT_DESCENDING))); SWIG_Python_SetConstant(d, "FL_TREE_CONNECTOR_NONE",SWIG_From_int(static_cast< int >(FL_TREE_CONNECTOR_NONE))); SWIG_Python_SetConstant(d, "FL_TREE_CONNECTOR_DOTTED",SWIG_From_int(static_cast< int >(FL_TREE_CONNECTOR_DOTTED))); SWIG_Python_SetConstant(d, "FL_TREE_CONNECTOR_SOLID",SWIG_From_int(static_cast< int >(FL_TREE_CONNECTOR_SOLID))); SWIG_Python_SetConstant(d, "FL_TREE_SELECT_NONE",SWIG_From_int(static_cast< int >(FL_TREE_SELECT_NONE))); SWIG_Python_SetConstant(d, "FL_TREE_SELECT_SINGLE",SWIG_From_int(static_cast< int >(FL_TREE_SELECT_SINGLE))); SWIG_Python_SetConstant(d, "FL_TREE_SELECT_MULTI",SWIG_From_int(static_cast< int >(FL_TREE_SELECT_MULTI))); SWIG_Python_SetConstant(d, "FL_TREE_REASON_NONE",SWIG_From_int(static_cast< int >(FL_TREE_REASON_NONE))); SWIG_Python_SetConstant(d, "FL_TREE_REASON_SELECTED",SWIG_From_int(static_cast< int >(FL_TREE_REASON_SELECTED))); SWIG_Python_SetConstant(d, "FL_TREE_REASON_DESELECTED",SWIG_From_int(static_cast< int >(FL_TREE_REASON_DESELECTED))); SWIG_Python_SetConstant(d, "FL_TREE_REASON_OPENED",SWIG_From_int(static_cast< int >(FL_TREE_REASON_OPENED))); SWIG_Python_SetConstant(d, "FL_TREE_REASON_CLOSED",SWIG_From_int(static_cast< int >(FL_TREE_REASON_CLOSED))); SWIG_Python_SetConstant(d, "NO_PAGE_FORMATS",SWIG_From_int(static_cast< int >(30))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_A0",SWIG_From_int(static_cast< int >(Fl_Paged_Device::A0))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_A1",SWIG_From_int(static_cast< int >(Fl_Paged_Device::A1))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_A2",SWIG_From_int(static_cast< int >(Fl_Paged_Device::A2))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_A3",SWIG_From_int(static_cast< int >(Fl_Paged_Device::A3))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_A4",SWIG_From_int(static_cast< int >(Fl_Paged_Device::A4))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_A5",SWIG_From_int(static_cast< int >(Fl_Paged_Device::A5))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_A6",SWIG_From_int(static_cast< int >(Fl_Paged_Device::A6))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_A7",SWIG_From_int(static_cast< int >(Fl_Paged_Device::A7))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_A8",SWIG_From_int(static_cast< int >(Fl_Paged_Device::A8))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_A9",SWIG_From_int(static_cast< int >(Fl_Paged_Device::A9))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_B0",SWIG_From_int(static_cast< int >(Fl_Paged_Device::B0))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_B1",SWIG_From_int(static_cast< int >(Fl_Paged_Device::B1))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_B2",SWIG_From_int(static_cast< int >(Fl_Paged_Device::B2))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_B3",SWIG_From_int(static_cast< int >(Fl_Paged_Device::B3))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_B4",SWIG_From_int(static_cast< int >(Fl_Paged_Device::B4))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_B5",SWIG_From_int(static_cast< int >(Fl_Paged_Device::B5))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_B6",SWIG_From_int(static_cast< int >(Fl_Paged_Device::B6))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_B7",SWIG_From_int(static_cast< int >(Fl_Paged_Device::B7))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_B8",SWIG_From_int(static_cast< int >(Fl_Paged_Device::B8))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_B9",SWIG_From_int(static_cast< int >(Fl_Paged_Device::B9))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_B10",SWIG_From_int(static_cast< int >(Fl_Paged_Device::B10))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_C5E",SWIG_From_int(static_cast< int >(Fl_Paged_Device::C5E))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_DLE",SWIG_From_int(static_cast< int >(Fl_Paged_Device::DLE))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_EXECUTIVE",SWIG_From_int(static_cast< int >(Fl_Paged_Device::EXECUTIVE))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_FOLIO",SWIG_From_int(static_cast< int >(Fl_Paged_Device::FOLIO))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_LEDGER",SWIG_From_int(static_cast< int >(Fl_Paged_Device::LEDGER))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_LEGAL",SWIG_From_int(static_cast< int >(Fl_Paged_Device::LEGAL))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_LETTER",SWIG_From_int(static_cast< int >(Fl_Paged_Device::LETTER))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_TABLOID",SWIG_From_int(static_cast< int >(Fl_Paged_Device::TABLOID))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_ENVELOPE",SWIG_From_int(static_cast< int >(Fl_Paged_Device::ENVELOPE))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_MEDIA",SWIG_From_int(static_cast< int >(Fl_Paged_Device::MEDIA))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_PORTRAIT",SWIG_From_int(static_cast< int >(Fl_Paged_Device::PORTRAIT))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_LANDSCAPE",SWIG_From_int(static_cast< int >(Fl_Paged_Device::LANDSCAPE))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_REVERSED",SWIG_From_int(static_cast< int >(Fl_Paged_Device::REVERSED))); SWIG_Python_SetConstant(d, "Fl_Paged_Device_ORIENTATION",SWIG_From_int(static_cast< int >(Fl_Paged_Device::ORIENTATION))); SWIG_Python_SetConstant(d, "Fl_Table_CONTEXT_NONE",SWIG_From_int(static_cast< int >(Fl_Table::CONTEXT_NONE))); SWIG_Python_SetConstant(d, "Fl_Table_CONTEXT_STARTPAGE",SWIG_From_int(static_cast< int >(Fl_Table::CONTEXT_STARTPAGE))); SWIG_Python_SetConstant(d, "Fl_Table_CONTEXT_ENDPAGE",SWIG_From_int(static_cast< int >(Fl_Table::CONTEXT_ENDPAGE))); SWIG_Python_SetConstant(d, "Fl_Table_CONTEXT_ROW_HEADER",SWIG_From_int(static_cast< int >(Fl_Table::CONTEXT_ROW_HEADER))); SWIG_Python_SetConstant(d, "Fl_Table_CONTEXT_COL_HEADER",SWIG_From_int(static_cast< int >(Fl_Table::CONTEXT_COL_HEADER))); SWIG_Python_SetConstant(d, "Fl_Table_CONTEXT_CELL",SWIG_From_int(static_cast< int >(Fl_Table::CONTEXT_CELL))); SWIG_Python_SetConstant(d, "Fl_Table_CONTEXT_TABLE",SWIG_From_int(static_cast< int >(Fl_Table::CONTEXT_TABLE))); SWIG_Python_SetConstant(d, "Fl_Table_CONTEXT_RC_RESIZE",SWIG_From_int(static_cast< int >(Fl_Table::CONTEXT_RC_RESIZE))); SWIG_Python_SetConstant(d, "Fl_Table_Row_SELECT_NONE",SWIG_From_int(static_cast< int >(Fl_Table_Row::SELECT_NONE))); SWIG_Python_SetConstant(d, "Fl_Table_Row_SELECT_SINGLE",SWIG_From_int(static_cast< int >(Fl_Table_Row::SELECT_SINGLE))); SWIG_Python_SetConstant(d, "Fl_Table_Row_SELECT_MULTI",SWIG_From_int(static_cast< int >(Fl_Table_Row::SELECT_MULTI))); SWIG_Python_SetConstant(d, "M_PI",SWIG_From_double(static_cast< double >(3.14159265358979323846))); SWIG_Python_SetConstant(d, "M_PI_2",SWIG_From_double(static_cast< double >(1.57079632679489661923))); SWIG_Python_SetConstant(d, "M_PI_4",SWIG_From_double(static_cast< double >(0.78539816339744830962))); SWIG_Python_SetConstant(d, "M_1_PI",SWIG_From_double(static_cast< double >(0.31830988618379067154))); SWIG_Python_SetConstant(d, "M_2_PI",SWIG_From_double(static_cast< double >(0.63661977236758134308))); SWIG_Python_SetConstant(d, "M_SQRT2",SWIG_From_double(static_cast< double >(1.41421356237309504880))); SWIG_Python_SetConstant(d, "M_SQRT1_2",SWIG_From_double(static_cast< double >(0.70710678118654752440))); #if PY_VERSION_HEX >= 0x03000000 return m; #else return; #endif } pyFltk-1.3.0/python/fltk_wrap.h0000644000175100017510000057611411651413735015107 0ustar heldheld/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.4 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make * changes to this file unless you know what you are doing--modify the SWIG * interface file instead. * ----------------------------------------------------------------------------- */ #ifndef SWIG_fltk_WRAP_H_ #define SWIG_fltk_WRAP_H_ #include #include class SwigDirector_Fl_Widget : public Fl_Widget, public Swig::Director { public: SwigDirector_Fl_Widget(PyObject *self, int x, int y, int w, int h, char const *label = 0L); virtual ~SwigDirector_Fl_Widget(); virtual void draw(); virtual int handle(int event); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Widget doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Group : public Fl_Group, public Swig::Director { public: SwigDirector_Fl_Group(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4 = 0); virtual ~SwigDirector_Fl_Group(); virtual void draw(); virtual void drawSwigPublic() { Fl_Group::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Group doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Browser_ : public Fl_Browser_, public Swig::Director { public: SwigDirector_Fl_Browser_(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Browser_(); virtual void draw(); virtual void drawSwigPublic() { Fl_Browser_::draw(); } virtual int handle(int event); virtual void resize(int X, int Y, int W, int H); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void *item_first() const; virtual void *item_next(void *item) const; virtual void *item_prev(void *item) const; virtual void *item_last() const; virtual void *item_lastSwigPublic() const { return Fl_Browser_::item_last(); } virtual int item_height(void *item) const; virtual int item_width(void *item) const; virtual int item_quick_height(void *item) const; virtual int item_quick_heightSwigPublic(void *item) const { return Fl_Browser_::item_quick_height(item); } virtual void item_draw(void *item, int X, int Y, int W, int H) const; virtual char const *item_text(void *item) const; virtual char const *item_textSwigPublic(void *item) const { return Fl_Browser_::item_text(item); } virtual void item_swap(void *a, void *b); virtual void item_swapSwigPublic(void *a, void *b) { Fl_Browser_::item_swap(a,b); } virtual void *item_at(int index) const; virtual void *item_atSwigPublic(int index) const { return Fl_Browser_::item_at(index); } virtual int full_width() const; virtual int full_widthSwigPublic() const { return Fl_Browser_::full_width(); } virtual int full_height() const; virtual int full_heightSwigPublic() const { return Fl_Browser_::full_height(); } virtual int incr_height() const; virtual int incr_heightSwigPublic() const { return Fl_Browser_::incr_height(); } virtual void item_select(void *item, int val = 1); virtual void item_selectSwigPublic(void *item, int val = 1) { Fl_Browser_::item_select(item,val); } virtual int item_selected(void *item) const; virtual int item_selectedSwigPublic(void *item) const { return Fl_Browser_::item_selected(item); } /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Browser_ doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[24]; #endif }; class SwigDirector_Fl_Browser : public Fl_Browser, public Swig::Director { public: SwigDirector_Fl_Browser(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Browser(); virtual void draw(); virtual void drawSwigPublic() { Fl_Browser_::draw(); } virtual int handle(int event); virtual void resize(int X, int Y, int W, int H); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void *item_first() const; virtual void *item_firstSwigPublic() const { return Fl_Browser::item_first(); } virtual void *item_next(void *item) const; virtual void *item_nextSwigPublic(void *item) const { return Fl_Browser::item_next(item); } virtual void *item_prev(void *item) const; virtual void *item_prevSwigPublic(void *item) const { return Fl_Browser::item_prev(item); } virtual void *item_last() const; virtual void *item_lastSwigPublic() const { return Fl_Browser::item_last(); } virtual int item_height(void *item) const; virtual int item_heightSwigPublic(void *item) const { return Fl_Browser::item_height(item); } virtual int item_width(void *item) const; virtual int item_widthSwigPublic(void *item) const { return Fl_Browser::item_width(item); } virtual int item_quick_height(void *item) const; virtual int item_quick_heightSwigPublic(void *item) const { return Fl_Browser_::item_quick_height(item); } virtual void item_draw(void *item, int X, int Y, int W, int H) const; virtual void item_drawSwigPublic(void *item, int X, int Y, int W, int H) const { Fl_Browser::item_draw(item,X,Y,W,H); } virtual char const *item_text(void *item) const; virtual char const *item_textSwigPublic(void *item) const { return Fl_Browser::item_text(item); } virtual void item_swap(void *a, void *b); virtual void item_swapSwigPublic(void *a, void *b) { Fl_Browser::item_swap(a,b); } virtual void *item_at(int line) const; virtual void *item_atSwigPublic(int line) const { return Fl_Browser::item_at(line); } virtual int full_width() const; virtual int full_widthSwigPublic() const { return Fl_Browser_::full_width(); } virtual int full_height() const; virtual int full_heightSwigPublic() const { return Fl_Browser::full_height(); } virtual int incr_height() const; virtual int incr_heightSwigPublic() const { return Fl_Browser::incr_height(); } virtual void item_select(void *item, int val); virtual void item_selectSwigPublic(void *item, int val) { Fl_Browser::item_select(item,val); } virtual int item_selected(void *item) const; virtual int item_selectedSwigPublic(void *item) const { return Fl_Browser::item_selected(item); } /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Browser doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[24]; #endif }; class SwigDirector_Fl_File_Browser : public Fl_File_Browser, public Swig::Director { public: SwigDirector_Fl_File_Browser(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4 = 0); virtual ~SwigDirector_Fl_File_Browser(); virtual void draw(); virtual void drawSwigPublic() { Fl_Browser_::draw(); } virtual int handle(int event); virtual void resize(int X, int Y, int W, int H); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void *item_first() const; virtual void *item_firstSwigPublic() const { return Fl_Browser::item_first(); } virtual void *item_next(void *item) const; virtual void *item_nextSwigPublic(void *item) const { return Fl_Browser::item_next(item); } virtual void *item_prev(void *item) const; virtual void *item_prevSwigPublic(void *item) const { return Fl_Browser::item_prev(item); } virtual void *item_last() const; virtual void *item_lastSwigPublic() const { return Fl_Browser::item_last(); } virtual int item_height(void *item) const; virtual int item_heightSwigPublic(void *item) const { return Fl_Browser::item_height(item); } virtual int item_width(void *item) const; virtual int item_widthSwigPublic(void *item) const { return Fl_Browser::item_width(item); } virtual int item_quick_height(void *item) const; virtual int item_quick_heightSwigPublic(void *item) const { return Fl_Browser_::item_quick_height(item); } virtual void item_draw(void *item, int X, int Y, int W, int H) const; virtual void item_drawSwigPublic(void *item, int X, int Y, int W, int H) const { Fl_Browser::item_draw(item,X,Y,W,H); } virtual char const *item_text(void *item) const; virtual char const *item_textSwigPublic(void *item) const { return Fl_Browser::item_text(item); } virtual void item_swap(void *a, void *b); virtual void item_swapSwigPublic(void *a, void *b) { Fl_Browser::item_swap(a,b); } virtual void *item_at(int line) const; virtual void *item_atSwigPublic(int line) const { return Fl_Browser::item_at(line); } virtual int full_width() const; virtual int full_widthSwigPublic() const { return Fl_Browser_::full_width(); } virtual int full_height() const; virtual int full_heightSwigPublic() const { return Fl_Browser::full_height(); } virtual int incr_height() const; virtual int incr_heightSwigPublic() const { return Fl_Browser::incr_height(); } virtual void item_select(void *item, int val); virtual void item_selectSwigPublic(void *item, int val) { Fl_Browser::item_select(item,val); } virtual int item_selected(void *item) const; virtual int item_selectedSwigPublic(void *item) const { return Fl_Browser::item_selected(item); } /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_File_Browser doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[24]; #endif }; class SwigDirector_Fl_Adjuster : public Fl_Adjuster, public Swig::Director { public: SwigDirector_Fl_Adjuster(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Adjuster(); virtual void draw(); virtual void drawSwigPublic() { Fl_Adjuster::draw(); } virtual int handle(int arg0); virtual int handleSwigPublic(int arg0) { return Fl_Adjuster::handle(arg0); } virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Adjuster doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Image : public Fl_Image, public Swig::Director { public: SwigDirector_Fl_Image(PyObject *self, int W, int H, int D); virtual ~SwigDirector_Fl_Image(); virtual Fl_Image *copy(int W, int H); virtual void color_average(Fl_Color c, float i); virtual void desaturate(); virtual void label(Fl_Widget *w); virtual void label(Fl_Menu_Item *m); virtual void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0); virtual void uncache(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Image doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[7]; #endif }; class SwigDirector_Fl_RGB_Image : public Fl_RGB_Image, public Swig::Director { public: SwigDirector_Fl_RGB_Image(PyObject *self, uchar const *bits, int W, int H, int D = 3, int LD = 0); virtual ~SwigDirector_Fl_RGB_Image(); virtual Fl_Image *copy(int W, int H); virtual void color_average(Fl_Color c, float i); virtual void desaturate(); virtual void label(Fl_Widget *w); virtual void label(Fl_Menu_Item *m); virtual void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0); virtual void uncache(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_RGB_Image doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[7]; #endif }; class SwigDirector_Fl_Bitmap : public Fl_Bitmap, public Swig::Director { public: SwigDirector_Fl_Bitmap(PyObject *self, uchar const *bits, int W, int H); SwigDirector_Fl_Bitmap(PyObject *self, char const *bits, int W, int H); virtual ~SwigDirector_Fl_Bitmap(); virtual Fl_Image *copy(int W, int H); virtual void color_average(Fl_Color c, float i); virtual void desaturate(); virtual void label(Fl_Widget *w); virtual void label(Fl_Menu_Item *m); virtual void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0); virtual void uncache(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Bitmap doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[7]; #endif }; class SwigDirector_Fl_BMP_Image : public Fl_BMP_Image, public Swig::Director { public: SwigDirector_Fl_BMP_Image(PyObject *self, char const *filename); virtual ~SwigDirector_Fl_BMP_Image(); virtual Fl_Image *copy(int W, int H); virtual void color_average(Fl_Color c, float i); virtual void desaturate(); virtual void label(Fl_Widget *w); virtual void label(Fl_Menu_Item *m); virtual void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0); virtual void uncache(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_BMP_Image doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[7]; #endif }; class SwigDirector_Fl_Box : public Fl_Box, public Swig::Director { public: SwigDirector_Fl_Box(PyObject *self, int X, int Y, int W, int H, char const *l = 0); SwigDirector_Fl_Box(PyObject *self, Fl_Boxtype b, int X, int Y, int W, int H, char const *l); virtual ~SwigDirector_Fl_Box(); virtual void draw(); virtual void drawSwigPublic() { Fl_Box::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Box doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Button : public Fl_Button, public Swig::Director { public: SwigDirector_Fl_Button(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Button(); virtual void draw(); virtual void drawSwigPublic() { Fl_Button::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Button doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Chart : public Fl_Chart, public Swig::Director { public: SwigDirector_Fl_Chart(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Chart(); virtual void draw(); virtual void drawSwigPublic() { Fl_Chart::draw(); } virtual int handle(int event); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Chart doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Check_Browser : public Fl_Check_Browser, public Swig::Director { public: SwigDirector_Fl_Check_Browser(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Check_Browser(); virtual void draw(); virtual void drawSwigPublic() { Fl_Browser_::draw(); } virtual int handle(int arg0); virtual int handleSwigPublic(int arg0) { return Fl_Check_Browser::handle(arg0); } virtual void resize(int X, int Y, int W, int H); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void *item_first() const; virtual void *item_next(void *item) const; virtual void *item_prev(void *item) const; virtual void *item_last() const; virtual void *item_lastSwigPublic() const { return Fl_Browser_::item_last(); } virtual int item_height(void *item) const; virtual int item_width(void *item) const; virtual int item_quick_height(void *item) const; virtual int item_quick_heightSwigPublic(void *item) const { return Fl_Browser_::item_quick_height(item); } virtual void item_draw(void *item, int X, int Y, int W, int H) const; virtual char const *item_text(void *item) const; virtual char const *item_textSwigPublic(void *item) const { return Fl_Browser_::item_text(item); } virtual void item_swap(void *a, void *b); virtual void item_swapSwigPublic(void *a, void *b) { Fl_Browser_::item_swap(a,b); } virtual void *item_at(int index) const; virtual void *item_atSwigPublic(int index) const { return Fl_Browser_::item_at(index); } virtual int full_width() const; virtual int full_widthSwigPublic() const { return Fl_Browser_::full_width(); } virtual int full_height() const; virtual int full_heightSwigPublic() const { return Fl_Browser_::full_height(); } virtual int incr_height() const; virtual int incr_heightSwigPublic() const { return Fl_Browser_::incr_height(); } virtual void item_select(void *item, int val = 1); virtual void item_selectSwigPublic(void *item, int val = 1) { Fl_Browser_::item_select(item,val); } virtual int item_selected(void *item) const; virtual int item_selectedSwigPublic(void *item) const { return Fl_Browser_::item_selected(item); } /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Check_Browser doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[24]; #endif }; class SwigDirector_Fl_Light_Button : public Fl_Light_Button, public Swig::Director { public: SwigDirector_Fl_Light_Button(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Light_Button(); virtual void draw(); virtual void drawSwigPublic() { Fl_Light_Button::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Light_Button doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Check_Button : public Fl_Check_Button, public Swig::Director { public: SwigDirector_Fl_Check_Button(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Check_Button(); virtual void draw(); virtual void drawSwigPublic() { Fl_Light_Button::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Check_Button doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Menu_ : public Fl_Menu_, public Swig::Director { public: SwigDirector_Fl_Menu_(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4 = 0); virtual ~SwigDirector_Fl_Menu_(); virtual void draw(); virtual int handle(int event); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Menu_ doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Choice : public Fl_Choice, public Swig::Director { public: SwigDirector_Fl_Choice(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Choice(); virtual void draw(); virtual void drawSwigPublic() { Fl_Choice::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Choice doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Clock_Output : public Fl_Clock_Output, public Swig::Director { public: SwigDirector_Fl_Clock_Output(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Clock_Output(); virtual void draw(); virtual void drawSwigPublic() { Fl_Clock_Output::draw(); } virtual int handle(int event); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Clock_Output doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Clock : public Fl_Clock, public Swig::Director { public: SwigDirector_Fl_Clock(PyObject *self, int X, int Y, int W, int H, char const *L = 0); SwigDirector_Fl_Clock(PyObject *self, uchar t, int X, int Y, int W, int H, char const *L); virtual ~SwigDirector_Fl_Clock(); virtual void draw(); virtual void drawSwigPublic() { Fl_Clock_Output::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Clock doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Value_Input : public Fl_Value_Input, public Swig::Director { public: SwigDirector_Fl_Value_Input(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Value_Input(); virtual void draw(); virtual void drawSwigPublic() { Fl_Value_Input::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Value_Input doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Flcc_HueBox : public Flcc_HueBox, public Swig::Director { public: SwigDirector_Flcc_HueBox(PyObject *self, int X, int Y, int W, int H); virtual ~SwigDirector_Flcc_HueBox(); virtual void draw(); virtual void drawSwigPublic() { Flcc_HueBox::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Flcc_HueBox doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Flcc_ValueBox : public Flcc_ValueBox, public Swig::Director { public: SwigDirector_Flcc_ValueBox(PyObject *self, int X, int Y, int W, int H); virtual ~SwigDirector_Flcc_ValueBox(); virtual void draw(); virtual void drawSwigPublic() { Flcc_ValueBox::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Flcc_ValueBox doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Flcc_Value_Input : public Flcc_Value_Input, public Swig::Director { public: SwigDirector_Flcc_Value_Input(PyObject *self, int X, int Y, int W, int H); virtual ~SwigDirector_Flcc_Value_Input(); virtual void draw(); virtual void drawSwigPublic() { Fl_Value_Input::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *arg0); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Flcc_Value_Input doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Color_Chooser : public Fl_Color_Chooser, public Swig::Director { public: SwigDirector_Fl_Color_Chooser(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Color_Chooser(); virtual void draw(); virtual void drawSwigPublic() { Fl_Group::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Color_Chooser doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Counter : public Fl_Counter, public Swig::Director { public: SwigDirector_Fl_Counter(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Counter(); virtual void draw(); virtual void drawSwigPublic() { Fl_Counter::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Counter doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Dial : public Fl_Dial, public Swig::Director { public: SwigDirector_Fl_Dial(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Dial(); virtual void draw(); virtual void drawSwigPublic() { Fl_Dial::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Dial doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Window : public Fl_Window, public Swig::Director { public: SwigDirector_Fl_Window(PyObject *self, int w, int h, char const *title = 0); SwigDirector_Fl_Window(PyObject *self, int x, int y, int w, int h, char const *title = 0); virtual ~SwigDirector_Fl_Window(); virtual void draw(); virtual void drawSwigPublic() { Fl_Window::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void flush(); virtual void flushSwigPublic() { Fl_Window::flush(); } /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Window doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Double_Window : public Fl_Double_Window, public Swig::Director { public: SwigDirector_Fl_Double_Window(PyObject *self, int W, int H, char const *l = 0); SwigDirector_Fl_Double_Window(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Double_Window(); virtual void draw(); virtual void drawSwigPublic() { Fl_Window::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void flush(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Double_Window doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Input_ : public Fl_Input_, public Swig::Director { public: SwigDirector_Fl_Input_(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4 = 0); virtual ~SwigDirector_Fl_Input_(); virtual void draw(); virtual int handle(int event); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Input_ doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Input : public Fl_Input, public Swig::Director { public: SwigDirector_Fl_Input(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4 = 0); virtual ~SwigDirector_Fl_Input(); virtual void draw(); virtual void drawSwigPublic() { Fl_Input::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Input doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_File_Input : public Fl_File_Input, public Swig::Director { public: SwigDirector_Fl_File_Input(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_File_Input(); virtual void draw(); virtual void drawSwigPublic() { Fl_File_Input::draw(); } virtual int handle(int event); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_File_Input doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Fill_Dial : public Fl_Fill_Dial, public Swig::Director { public: SwigDirector_Fl_Fill_Dial(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Fill_Dial(); virtual void draw(); virtual void drawSwigPublic() { Fl_Dial::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Fill_Dial doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Slider : public Fl_Slider, public Swig::Director { public: SwigDirector_Fl_Slider(PyObject *self, int X, int Y, int W, int H, char const *L = 0); SwigDirector_Fl_Slider(PyObject *self, uchar t, int X, int Y, int W, int H, char const *L); virtual ~SwigDirector_Fl_Slider(); virtual void draw(); virtual void drawSwigPublic() { Fl_Slider::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Slider doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Fill_Slider : public Fl_Fill_Slider, public Swig::Director { public: SwigDirector_Fl_Fill_Slider(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Fill_Slider(); virtual void draw(); virtual void drawSwigPublic() { Fl_Slider::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Fill_Slider doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Float_Input : public Fl_Float_Input, public Swig::Director { public: SwigDirector_Fl_Float_Input(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Float_Input(); virtual void draw(); virtual void drawSwigPublic() { Fl_Input::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Float_Input doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_FormsBitmap : public Fl_FormsBitmap, public Swig::Director { public: SwigDirector_Fl_FormsBitmap(PyObject *self, Fl_Boxtype arg0, int arg1, int arg2, int arg3, int arg4, char const *arg5 = 0); virtual ~SwigDirector_Fl_FormsBitmap(); virtual void draw(); virtual void drawSwigPublic() { Fl_FormsBitmap::draw(); } virtual int handle(int event); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_FormsBitmap doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_FormsPixmap : public Fl_FormsPixmap, public Swig::Director { public: SwigDirector_Fl_FormsPixmap(PyObject *self, Fl_Boxtype t, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_FormsPixmap(); virtual void draw(); virtual void drawSwigPublic() { Fl_FormsPixmap::draw(); } virtual int handle(int event); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_FormsPixmap doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Free : public Fl_Free, public Swig::Director { public: SwigDirector_Fl_Free(PyObject *self, uchar t, int X, int Y, int W, int H, char const *L, FL_HANDLEPTR hdl); virtual ~SwigDirector_Fl_Free(); virtual void draw(); virtual void drawSwigPublic() { Fl_Free::draw(); } virtual int handle(int e); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Free doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Pixmap : public Fl_Pixmap, public Swig::Director { public: SwigDirector_Fl_Pixmap(PyObject *self, char *const *D); SwigDirector_Fl_Pixmap(PyObject *self, uchar *const *D); SwigDirector_Fl_Pixmap(PyObject *self, char const *const *D); SwigDirector_Fl_Pixmap(PyObject *self, uchar const *const *D); virtual ~SwigDirector_Fl_Pixmap(); virtual Fl_Image *copy(int W, int H); virtual void color_average(Fl_Color c, float i); virtual void desaturate(); virtual void label(Fl_Widget *w); virtual void label(Fl_Menu_Item *m); virtual void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0); virtual void uncache(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Pixmap doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[7]; #endif }; class SwigDirector_Fl_GIF_Image : public Fl_GIF_Image, public Swig::Director { public: SwigDirector_Fl_GIF_Image(PyObject *self, char const *filename); virtual ~SwigDirector_Fl_GIF_Image(); virtual Fl_Image *copy(int W, int H); virtual void color_average(Fl_Color c, float i); virtual void desaturate(); virtual void label(Fl_Widget *w); virtual void label(Fl_Menu_Item *m); virtual void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0); virtual void uncache(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_GIF_Image doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[7]; #endif }; class SwigDirector_Fl_Gl_Window : public Fl_Gl_Window, public Swig::Director { public: SwigDirector_Fl_Gl_Window(PyObject *self, int W, int H, char const *l = 0); SwigDirector_Fl_Gl_Window(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Gl_Window(); virtual void draw(); virtual void drawSwigPublic() { Fl_Gl_Window::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void flush(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Gl_Window doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Help_View : public Fl_Help_View, public Swig::Director { public: SwigDirector_Fl_Help_View(PyObject *self, int xx, int yy, int ww, int hh, char const *l = 0); virtual ~SwigDirector_Fl_Help_View(); virtual void draw(); virtual void drawSwigPublic() { Fl_Group::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Help_View doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Hold_Browser : public Fl_Hold_Browser, public Swig::Director { public: SwigDirector_Fl_Hold_Browser(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Hold_Browser(); virtual void draw(); virtual void drawSwigPublic() { Fl_Browser_::draw(); } virtual int handle(int event); virtual void resize(int X, int Y, int W, int H); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void *item_first() const; virtual void *item_firstSwigPublic() const { return Fl_Browser::item_first(); } virtual void *item_next(void *item) const; virtual void *item_nextSwigPublic(void *item) const { return Fl_Browser::item_next(item); } virtual void *item_prev(void *item) const; virtual void *item_prevSwigPublic(void *item) const { return Fl_Browser::item_prev(item); } virtual void *item_last() const; virtual void *item_lastSwigPublic() const { return Fl_Browser::item_last(); } virtual int item_height(void *item) const; virtual int item_heightSwigPublic(void *item) const { return Fl_Browser::item_height(item); } virtual int item_width(void *item) const; virtual int item_widthSwigPublic(void *item) const { return Fl_Browser::item_width(item); } virtual int item_quick_height(void *item) const; virtual int item_quick_heightSwigPublic(void *item) const { return Fl_Browser_::item_quick_height(item); } virtual void item_draw(void *item, int X, int Y, int W, int H) const; virtual void item_drawSwigPublic(void *item, int X, int Y, int W, int H) const { Fl_Browser::item_draw(item,X,Y,W,H); } virtual char const *item_text(void *item) const; virtual char const *item_textSwigPublic(void *item) const { return Fl_Browser::item_text(item); } virtual void item_swap(void *a, void *b); virtual void item_swapSwigPublic(void *a, void *b) { Fl_Browser::item_swap(a,b); } virtual void *item_at(int line) const; virtual void *item_atSwigPublic(int line) const { return Fl_Browser::item_at(line); } virtual int full_width() const; virtual int full_widthSwigPublic() const { return Fl_Browser_::full_width(); } virtual int full_height() const; virtual int full_heightSwigPublic() const { return Fl_Browser::full_height(); } virtual int incr_height() const; virtual int incr_heightSwigPublic() const { return Fl_Browser::incr_height(); } virtual void item_select(void *item, int val); virtual void item_selectSwigPublic(void *item, int val) { Fl_Browser::item_select(item,val); } virtual int item_selected(void *item) const; virtual int item_selectedSwigPublic(void *item) const { return Fl_Browser::item_selected(item); } /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Hold_Browser doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[24]; #endif }; class SwigDirector_Fl_Hor_Fill_Slider : public Fl_Hor_Fill_Slider, public Swig::Director { public: SwigDirector_Fl_Hor_Fill_Slider(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Hor_Fill_Slider(); virtual void draw(); virtual void drawSwigPublic() { Fl_Slider::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Hor_Fill_Slider doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Hor_Nice_Slider : public Fl_Hor_Nice_Slider, public Swig::Director { public: SwigDirector_Fl_Hor_Nice_Slider(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Hor_Nice_Slider(); virtual void draw(); virtual void drawSwigPublic() { Fl_Slider::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Hor_Nice_Slider doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Hor_Slider : public Fl_Hor_Slider, public Swig::Director { public: SwigDirector_Fl_Hor_Slider(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Hor_Slider(); virtual void draw(); virtual void drawSwigPublic() { Fl_Slider::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Hor_Slider doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Value_Slider : public Fl_Value_Slider, public Swig::Director { public: SwigDirector_Fl_Value_Slider(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Value_Slider(); virtual void draw(); virtual void drawSwigPublic() { Fl_Value_Slider::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Value_Slider doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Hor_Value_Slider : public Fl_Hor_Value_Slider, public Swig::Director { public: SwigDirector_Fl_Hor_Value_Slider(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Hor_Value_Slider(); virtual void draw(); virtual void drawSwigPublic() { Fl_Value_Slider::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Hor_Value_Slider doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Int_Input : public Fl_Int_Input, public Swig::Director { public: SwigDirector_Fl_Int_Input(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Int_Input(); virtual void draw(); virtual void drawSwigPublic() { Fl_Input::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Int_Input doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Input_Choice : public Fl_Input_Choice, public Swig::Director { public: SwigDirector_Fl_Input_Choice(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Input_Choice(); virtual void draw(); virtual void drawSwigPublic() { Fl_Group::draw(); } virtual int handle(int arg0); virtual void resize(int X, int Y, int W, int H); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Input_Choice doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_JPEG_Image : public Fl_JPEG_Image, public Swig::Director { public: SwigDirector_Fl_JPEG_Image(PyObject *self, char const *filename); SwigDirector_Fl_JPEG_Image(PyObject *self, char const *name, unsigned char const *data); virtual ~SwigDirector_Fl_JPEG_Image(); virtual Fl_Image *copy(int W, int H); virtual void color_average(Fl_Color c, float i); virtual void desaturate(); virtual void label(Fl_Widget *w); virtual void label(Fl_Menu_Item *m); virtual void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0); virtual void uncache(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_JPEG_Image doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[7]; #endif }; class SwigDirector_Fl_Line_Dial : public Fl_Line_Dial, public Swig::Director { public: SwigDirector_Fl_Line_Dial(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Line_Dial(); virtual void draw(); virtual void drawSwigPublic() { Fl_Dial::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Line_Dial doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Menu_Bar : public Fl_Menu_Bar, public Swig::Director { public: SwigDirector_Fl_Menu_Bar(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Menu_Bar(); virtual void draw(); virtual void drawSwigPublic() { Fl_Menu_Bar::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Menu_Bar doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Menu_Button : public Fl_Menu_Button, public Swig::Director { public: SwigDirector_Fl_Menu_Button(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4 = 0); virtual ~SwigDirector_Fl_Menu_Button(); virtual void draw(); virtual void drawSwigPublic() { Fl_Menu_Button::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Menu_Button doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Single_Window : public Fl_Single_Window, public Swig::Director { public: SwigDirector_Fl_Single_Window(PyObject *self, int W, int H, char const *l = 0); SwigDirector_Fl_Single_Window(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Single_Window(); virtual void draw(); virtual void drawSwigPublic() { Fl_Window::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void flush(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Single_Window doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Menu_Window : public Fl_Menu_Window, public Swig::Director { public: SwigDirector_Fl_Menu_Window(PyObject *self, int W, int H, char const *l = 0); SwigDirector_Fl_Menu_Window(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Menu_Window(); virtual void draw(); virtual void drawSwigPublic() { Fl_Window::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void flush(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Menu_Window doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Multiline_Input : public Fl_Multiline_Input, public Swig::Director { public: SwigDirector_Fl_Multiline_Input(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Multiline_Input(); virtual void draw(); virtual void drawSwigPublic() { Fl_Input::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Multiline_Input doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Output : public Fl_Output, public Swig::Director { public: SwigDirector_Fl_Output(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Output(); virtual void draw(); virtual void drawSwigPublic() { Fl_Input::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Output doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Multiline_Output : public Fl_Multiline_Output, public Swig::Director { public: SwigDirector_Fl_Multiline_Output(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Multiline_Output(); virtual void draw(); virtual void drawSwigPublic() { Fl_Input::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Multiline_Output doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Multi_Browser : public Fl_Multi_Browser, public Swig::Director { public: SwigDirector_Fl_Multi_Browser(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Multi_Browser(); virtual void draw(); virtual void drawSwigPublic() { Fl_Browser_::draw(); } virtual int handle(int event); virtual void resize(int X, int Y, int W, int H); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void *item_first() const; virtual void *item_firstSwigPublic() const { return Fl_Browser::item_first(); } virtual void *item_next(void *item) const; virtual void *item_nextSwigPublic(void *item) const { return Fl_Browser::item_next(item); } virtual void *item_prev(void *item) const; virtual void *item_prevSwigPublic(void *item) const { return Fl_Browser::item_prev(item); } virtual void *item_last() const; virtual void *item_lastSwigPublic() const { return Fl_Browser::item_last(); } virtual int item_height(void *item) const; virtual int item_heightSwigPublic(void *item) const { return Fl_Browser::item_height(item); } virtual int item_width(void *item) const; virtual int item_widthSwigPublic(void *item) const { return Fl_Browser::item_width(item); } virtual int item_quick_height(void *item) const; virtual int item_quick_heightSwigPublic(void *item) const { return Fl_Browser_::item_quick_height(item); } virtual void item_draw(void *item, int X, int Y, int W, int H) const; virtual void item_drawSwigPublic(void *item, int X, int Y, int W, int H) const { Fl_Browser::item_draw(item,X,Y,W,H); } virtual char const *item_text(void *item) const; virtual char const *item_textSwigPublic(void *item) const { return Fl_Browser::item_text(item); } virtual void item_swap(void *a, void *b); virtual void item_swapSwigPublic(void *a, void *b) { Fl_Browser::item_swap(a,b); } virtual void *item_at(int line) const; virtual void *item_atSwigPublic(int line) const { return Fl_Browser::item_at(line); } virtual int full_width() const; virtual int full_widthSwigPublic() const { return Fl_Browser_::full_width(); } virtual int full_height() const; virtual int full_heightSwigPublic() const { return Fl_Browser::full_height(); } virtual int incr_height() const; virtual int incr_heightSwigPublic() const { return Fl_Browser::incr_height(); } virtual void item_select(void *item, int val); virtual void item_selectSwigPublic(void *item, int val) { Fl_Browser::item_select(item,val); } virtual int item_selected(void *item) const; virtual int item_selectedSwigPublic(void *item) const { return Fl_Browser::item_selected(item); } /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Multi_Browser doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[24]; #endif }; class SwigDirector_Fl_Nice_Slider : public Fl_Nice_Slider, public Swig::Director { public: SwigDirector_Fl_Nice_Slider(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Nice_Slider(); virtual void draw(); virtual void drawSwigPublic() { Fl_Slider::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Nice_Slider doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Overlay_Window : public Fl_Overlay_Window, public Swig::Director { public: SwigDirector_Fl_Overlay_Window(PyObject *self, int W, int H, char const *l = 0); SwigDirector_Fl_Overlay_Window(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Overlay_Window(); virtual void draw(); virtual void drawSwigPublic() { Fl_Window::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void flush(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Overlay_Window doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Pack : public Fl_Pack, public Swig::Director { public: SwigDirector_Fl_Pack(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Pack(); virtual void draw(); virtual void drawSwigPublic() { Fl_Pack::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Pack doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_PNG_Image : public Fl_PNG_Image, public Swig::Director { public: SwigDirector_Fl_PNG_Image(PyObject *self, char const *filename); SwigDirector_Fl_PNG_Image(PyObject *self, char const *name_png, unsigned char const *buffer, int datasize); virtual ~SwigDirector_Fl_PNG_Image(); virtual Fl_Image *copy(int W, int H); virtual void color_average(Fl_Color c, float i); virtual void desaturate(); virtual void label(Fl_Widget *w); virtual void label(Fl_Menu_Item *m); virtual void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0); virtual void uncache(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_PNG_Image doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[7]; #endif }; class SwigDirector_Fl_PNM_Image : public Fl_PNM_Image, public Swig::Director { public: SwigDirector_Fl_PNM_Image(PyObject *self, char const *filename); virtual ~SwigDirector_Fl_PNM_Image(); virtual Fl_Image *copy(int W, int H); virtual void color_average(Fl_Color c, float i); virtual void desaturate(); virtual void label(Fl_Widget *w); virtual void label(Fl_Menu_Item *m); virtual void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0); virtual void uncache(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_PNM_Image doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[7]; #endif }; class SwigDirector_Fl_Positioner : public Fl_Positioner, public Swig::Director { public: SwigDirector_Fl_Positioner(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Positioner(); virtual void draw(); virtual void drawSwigPublic() { Fl_Positioner::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Positioner doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Progress : public Fl_Progress, public Swig::Director { public: SwigDirector_Fl_Progress(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Progress(); virtual void draw(); virtual void drawSwigPublic() { Fl_Progress::draw(); } virtual int handle(int event); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Progress doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Radio_Button : public Fl_Radio_Button, public Swig::Director { public: SwigDirector_Fl_Radio_Button(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Radio_Button(); virtual void draw(); virtual void drawSwigPublic() { Fl_Button::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Radio_Button doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Radio_Light_Button : public Fl_Radio_Light_Button, public Swig::Director { public: SwigDirector_Fl_Radio_Light_Button(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Radio_Light_Button(); virtual void draw(); virtual void drawSwigPublic() { Fl_Light_Button::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Radio_Light_Button doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Round_Button : public Fl_Round_Button, public Swig::Director { public: SwigDirector_Fl_Round_Button(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Round_Button(); virtual void draw(); virtual void drawSwigPublic() { Fl_Light_Button::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Round_Button doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Radio_Round_Button : public Fl_Radio_Round_Button, public Swig::Director { public: SwigDirector_Fl_Radio_Round_Button(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Radio_Round_Button(); virtual void draw(); virtual void drawSwigPublic() { Fl_Light_Button::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Radio_Round_Button doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Repeat_Button : public Fl_Repeat_Button, public Swig::Director { public: SwigDirector_Fl_Repeat_Button(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Repeat_Button(); virtual void draw(); virtual void drawSwigPublic() { Fl_Button::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Repeat_Button doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Return_Button : public Fl_Return_Button, public Swig::Director { public: SwigDirector_Fl_Return_Button(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Return_Button(); virtual void draw(); virtual void drawSwigPublic() { Fl_Return_Button::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Return_Button doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Roller : public Fl_Roller, public Swig::Director { public: SwigDirector_Fl_Roller(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Roller(); virtual void draw(); virtual void drawSwigPublic() { Fl_Roller::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Roller doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Round_Clock : public Fl_Round_Clock, public Swig::Director { public: SwigDirector_Fl_Round_Clock(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Round_Clock(); virtual void draw(); virtual void drawSwigPublic() { Fl_Clock_Output::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Round_Clock doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Scroll : public Fl_Scroll, public Swig::Director { public: SwigDirector_Fl_Scroll(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Scroll(); virtual void draw(); virtual void drawSwigPublic() { Fl_Scroll::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Scroll doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Scrollbar : public Fl_Scrollbar, public Swig::Director { public: SwigDirector_Fl_Scrollbar(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Scrollbar(); virtual void draw(); virtual void drawSwigPublic() { Fl_Scrollbar::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Scrollbar doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Secret_Input : public Fl_Secret_Input, public Swig::Director { public: SwigDirector_Fl_Secret_Input(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Secret_Input(); virtual void draw(); virtual void drawSwigPublic() { Fl_Input::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Secret_Input doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Select_Browser : public Fl_Select_Browser, public Swig::Director { public: SwigDirector_Fl_Select_Browser(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Select_Browser(); virtual void draw(); virtual void drawSwigPublic() { Fl_Browser_::draw(); } virtual int handle(int event); virtual void resize(int X, int Y, int W, int H); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void *item_first() const; virtual void *item_firstSwigPublic() const { return Fl_Browser::item_first(); } virtual void *item_next(void *item) const; virtual void *item_nextSwigPublic(void *item) const { return Fl_Browser::item_next(item); } virtual void *item_prev(void *item) const; virtual void *item_prevSwigPublic(void *item) const { return Fl_Browser::item_prev(item); } virtual void *item_last() const; virtual void *item_lastSwigPublic() const { return Fl_Browser::item_last(); } virtual int item_height(void *item) const; virtual int item_heightSwigPublic(void *item) const { return Fl_Browser::item_height(item); } virtual int item_width(void *item) const; virtual int item_widthSwigPublic(void *item) const { return Fl_Browser::item_width(item); } virtual int item_quick_height(void *item) const; virtual int item_quick_heightSwigPublic(void *item) const { return Fl_Browser_::item_quick_height(item); } virtual void item_draw(void *item, int X, int Y, int W, int H) const; virtual void item_drawSwigPublic(void *item, int X, int Y, int W, int H) const { Fl_Browser::item_draw(item,X,Y,W,H); } virtual char const *item_text(void *item) const; virtual char const *item_textSwigPublic(void *item) const { return Fl_Browser::item_text(item); } virtual void item_swap(void *a, void *b); virtual void item_swapSwigPublic(void *a, void *b) { Fl_Browser::item_swap(a,b); } virtual void *item_at(int line) const; virtual void *item_atSwigPublic(int line) const { return Fl_Browser::item_at(line); } virtual int full_width() const; virtual int full_widthSwigPublic() const { return Fl_Browser_::full_width(); } virtual int full_height() const; virtual int full_heightSwigPublic() const { return Fl_Browser::full_height(); } virtual int incr_height() const; virtual int incr_heightSwigPublic() const { return Fl_Browser::incr_height(); } virtual void item_select(void *item, int val); virtual void item_selectSwigPublic(void *item, int val) { Fl_Browser::item_select(item,val); } virtual int item_selected(void *item) const; virtual int item_selectedSwigPublic(void *item) const { return Fl_Browser::item_selected(item); } /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Select_Browser doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[24]; #endif }; class SwigDirector_Fl_Shared_Image : public Fl_Shared_Image, public Swig::Director { public: SwigDirector_Fl_Shared_Image(PyObject *self); SwigDirector_Fl_Shared_Image(PyObject *self, char const *n, Fl_Image *img = 0); virtual ~SwigDirector_Fl_Shared_Image(); virtual Fl_Image *copy(int W, int H); virtual void color_average(Fl_Color c, float i); virtual void desaturate(); virtual void label(Fl_Widget *w); virtual void label(Fl_Menu_Item *m); virtual void draw(int X, int Y, int W, int H, int cx, int cy); virtual void uncache(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Shared_Image doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[7]; #endif }; class SwigDirector_Fl_Spinner : public Fl_Spinner, public Swig::Director { public: SwigDirector_Fl_Spinner(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Spinner(); virtual void draw(); virtual void drawSwigPublic() { Fl_Group::draw(); } virtual int handle(int event); virtual void resize(int X, int Y, int W, int H); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Spinner doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Simple_Counter : public Fl_Simple_Counter, public Swig::Director { public: SwigDirector_Fl_Simple_Counter(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Simple_Counter(); virtual void draw(); virtual void drawSwigPublic() { Fl_Counter::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Simple_Counter doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Tabs : public Fl_Tabs, public Swig::Director { public: SwigDirector_Fl_Tabs(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4 = 0); virtual ~SwigDirector_Fl_Tabs(); virtual void draw(); virtual void drawSwigPublic() { Fl_Tabs::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Tabs doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Text_Display : public Fl_Text_Display, public Swig::Director { public: SwigDirector_Fl_Text_Display(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Text_Display(); virtual void draw(); virtual void drawSwigPublic() { Fl_Text_Display::draw(); } virtual int handle(int e); virtual void resize(int X, int Y, int W, int H); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Text_Display doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Text_Editor : public Fl_Text_Editor, public Swig::Director { public: SwigDirector_Fl_Text_Editor(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Text_Editor(); virtual void draw(); virtual void drawSwigPublic() { Fl_Text_Display::draw(); } virtual int handle(int e); virtual void resize(int X, int Y, int W, int H); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Text_Editor doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Tile : public Fl_Tile, public Swig::Director { public: SwigDirector_Fl_Tile(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Tile(); virtual void draw(); virtual void drawSwigPublic() { Fl_Group::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Tile doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Tiled_Image : public Fl_Tiled_Image, public Swig::Director { public: SwigDirector_Fl_Tiled_Image(PyObject *self, Fl_Image *i, int W = 0, int H = 0); virtual ~SwigDirector_Fl_Tiled_Image(); virtual Fl_Image *copy(int W, int H); virtual void color_average(Fl_Color c, float i); virtual void desaturate(); virtual void label(Fl_Widget *w); virtual void label(Fl_Menu_Item *m); virtual void draw(int X, int Y, int W, int H, int cx, int cy); virtual void uncache(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Tiled_Image doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[7]; #endif }; class SwigDirector_Fl_Timer : public Fl_Timer, public Swig::Director { public: SwigDirector_Fl_Timer(PyObject *self, uchar t, int x, int y, int w, int h, char const *l); virtual ~SwigDirector_Fl_Timer(); virtual void draw(); virtual void drawSwigPublic() { Fl_Timer::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Timer doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Toggle_Button : public Fl_Toggle_Button, public Swig::Director { public: SwigDirector_Fl_Toggle_Button(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Toggle_Button(); virtual void draw(); virtual void drawSwigPublic() { Fl_Button::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Toggle_Button doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Value_Output : public Fl_Value_Output, public Swig::Director { public: SwigDirector_Fl_Value_Output(PyObject *self, int x, int y, int w, int h, char const *l = 0); virtual ~SwigDirector_Fl_Value_Output(); virtual void draw(); virtual void drawSwigPublic() { Fl_Value_Output::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual int format(char *format_string); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Value_Output doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[9]; #endif }; class SwigDirector_Fl_Wizard : public Fl_Wizard, public Swig::Director { public: SwigDirector_Fl_Wizard(PyObject *self, int arg0, int arg1, int arg2, int arg3, char const *arg4 = 0); virtual ~SwigDirector_Fl_Wizard(); virtual void draw(); virtual void drawSwigPublic() { Fl_Group::draw(); } virtual int handle(int arg0); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Wizard doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_XBM_Image : public Fl_XBM_Image, public Swig::Director { public: SwigDirector_Fl_XBM_Image(PyObject *self, char const *filename); virtual ~SwigDirector_Fl_XBM_Image(); virtual Fl_Image *copy(int W, int H); virtual void color_average(Fl_Color c, float i); virtual void desaturate(); virtual void label(Fl_Widget *w); virtual void label(Fl_Menu_Item *m); virtual void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0); virtual void uncache(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_XBM_Image doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[7]; #endif }; class SwigDirector_Fl_XPM_Image : public Fl_XPM_Image, public Swig::Director { public: SwigDirector_Fl_XPM_Image(PyObject *self, char const *filename); virtual ~SwigDirector_Fl_XPM_Image(); virtual Fl_Image *copy(int W, int H); virtual void color_average(Fl_Color c, float i); virtual void desaturate(); virtual void label(Fl_Widget *w); virtual void label(Fl_Menu_Item *m); virtual void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0); virtual void uncache(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_XPM_Image doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[7]; #endif }; class SwigDirector_Fl_Tree : public Fl_Tree, public Swig::Director { public: SwigDirector_Fl_Tree(PyObject *self, int X, int Y, int W, int H, char const *L = 0); virtual ~SwigDirector_Fl_Tree(); virtual void draw(); virtual int handle(int e); virtual void resize(int arg0, int arg1, int arg2, int arg3); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Tree doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Paged_Device : public Fl_Paged_Device, public Swig::Director { public: SwigDirector_Fl_Paged_Device(PyObject *self); virtual ~SwigDirector_Fl_Paged_Device(); virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL); virtual int start_page(); virtual int printable_rect(int *w, int *h); virtual void margins(int *left, int *top, int *right, int *bottom); virtual void origin(int x, int y); virtual void origin(int *x, int *y); virtual void scale(float scale_x, float scale_y = 0.); virtual void rotate(float angle); virtual void translate(int x, int y); virtual void untranslate(); virtual void print_widget(Fl_Widget *widget, int delta_x = 0, int delta_y = 0); virtual void print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x = 0, int delta_y = 0); virtual int end_page(); virtual void end_job(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Paged_Device doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[14]; #endif }; class SwigDirector_Fl_Printer : public Fl_Printer, public Swig::Director { public: SwigDirector_Fl_Printer(PyObject *self); virtual ~SwigDirector_Fl_Printer(); virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL); virtual int start_page(); virtual int printable_rect(int *w, int *h); virtual void margins(int *left, int *top, int *right, int *bottom); virtual void origin(int x, int y); virtual void origin(int *x, int *y); virtual void scale(float scale_x, float scale_y = 0.); virtual void rotate(float angle); virtual void translate(int x, int y); virtual void untranslate(); virtual void print_widget(Fl_Widget *widget, int delta_x = 0, int delta_y = 0); virtual void print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x = 0, int delta_y = 0); virtual int end_page(); virtual void end_job(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Printer doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[14]; #endif }; class SwigDirector_ListSelect : public ListSelect, public Swig::Director { public: SwigDirector_ListSelect(PyObject *self, int x, int y, int w, int h, char *topLabel = 0, char *bottomLabel = 0); virtual ~SwigDirector_ListSelect(); virtual void draw(); virtual void drawSwigPublic() { Fl_Group::draw(); } virtual int handle(int arg0); virtual void resize(int x, int y, int w, int h); virtual void resizeSwigPublic(int x, int y, int w, int h) { ListSelect::resize(x,y,w,h); } virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class ListSelect doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[8]; #endif }; class SwigDirector_Fl_Table : public Fl_Table, public Swig::Director { public: SwigDirector_Fl_Table(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Table(); virtual void draw(); virtual int handle(int e); virtual int handleSwigPublic(int e) { return Fl_Table::handle(e); } virtual void resize(int X, int Y, int W, int H); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void draw_cell(Fl_Table::TableContext context, int R = 0, int C = 0, int X = 0, int Y = 0, int W = 0, int H = 0); virtual void draw_cellSwigPublic(Fl_Table::TableContext context, int R = 0, int C = 0, int X = 0, int Y = 0, int W = 0, int H = 0) { Fl_Table::draw_cell(context,R,C,X,Y,W,H); } virtual void clear(); virtual void rows(int val); virtual void cols(int val); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Table doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[12]; #endif }; class SwigDirector_Fl_Table_Row : public Fl_Table_Row, public Swig::Director { public: SwigDirector_Fl_Table_Row(PyObject *self, int X, int Y, int W, int H, char const *l = 0); virtual ~SwigDirector_Fl_Table_Row(); virtual void draw(); virtual int handle(int event); virtual int handleSwigPublic(int event) { return Fl_Table_Row::handle(event); } virtual void resize(int X, int Y, int W, int H); virtual void show(); virtual void hide(); virtual Fl_Group *as_group(); virtual Fl_Window *as_window(); virtual Fl_Gl_Window *as_gl_window(); virtual void draw_cell(Fl_Table::TableContext context, int R = 0, int C = 0, int X = 0, int Y = 0, int W = 0, int H = 0); virtual void draw_cellSwigPublic(Fl_Table::TableContext context, int R = 0, int C = 0, int X = 0, int Y = 0, int W = 0, int H = 0) { Fl_Table::draw_cell(context,R,C,X,Y,W,H); } virtual void clear(); virtual void rows(int val); virtual void cols(int val); /* Internal Director utilities */ public: bool swig_get_inner(const char* swig_protected_method_name) const { std::map::const_iterator iv = swig_inner.find(swig_protected_method_name); return (iv != swig_inner.end() ? iv->second : false); } void swig_set_inner(const char* swig_protected_method_name, bool val) const { swig_inner[swig_protected_method_name] = val;} private: mutable std::map swig_inner; #if defined(SWIG_PYTHON_DIRECTOR_VTABLE) /* VTable implementation */ PyObject *swig_get_method(size_t method_index, const char *method_name) const { PyObject *method = vtable[method_index]; if (!method) { swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name); method = PyObject_GetAttr(swig_get_self(), name); if (!method) { std::string msg = "Method in class Fl_Table_Row doesn't exist, undefined "; msg += method_name; Swig::DirectorMethodException::raise(msg.c_str()); } vtable[method_index] = method; }; return method; } private: mutable swig::SwigVar_PyObject vtable[12]; #endif }; #endif pyFltk-1.3.0/python/MakeSwig.py0000644000175100017510000000564311517202043015005 0ustar heldheldimport os, os.path, sys, string, shutil, glob # this file defines the commands for updating the init # methods (constructors) of the widget classes for pyFLTK # run this before issuing the SWIG command PythonOwns = ['Fl_Preferences'] def is_msys_mingw(): if os.environ.has_key("MSYSTEM"): if os.environ["MSYSTEM"] == "MINGW32": return True return False if __name__=='__main__': # call SWIG include = ['-I/usr/include'] try: fltk_dir = os.environ['FLTK_HOME'] include.insert(0, "-I%s"%fltk_dir) except: print "Using default location for FLTK!" if is_msys_mingw(): result = os.popen('sh fltk-config --cxxflags').readlines() else: result = os.popen('fltk-config --cxxflags').readlines() #print result if len(result) > 0: p_inc = map(lambda x: x.strip(), result[0].split(' ')) for item in p_inc: if string.find(item, '-I') == 0: include.insert(0, item) else: print "FLTK not found!" sys.exit(0) add_incl = string.join(include, ' ') # command line for swig-1.3.28 or later cmd_line = "swig -w312 -w451 -w473 -I../swig %s -DFL_EXPORT -DPYTHON -module fltk -c++ -python -shadow -modern -fastdispatch -o fltk_wrap.cpp ../swig/fltk.i "%add_incl # command line for swig-1.3.27 # cmd_line = "swig -w312 -w451 -w473 -I../swig %s -DFL_EXPORT -DPYTHON -module fltk -c++ -python -shadow -modern -dirprot -o fltk_wrap.cpp ../swig/fltk.i "%add_incl if is_msys_mingw(): # adjust the paths so that MinGW can understand it cmd_line = cmd_line.replace("\\", "/") cmd_line = cmd_line.replace("c:", "/c") cmd_line = cmd_line.replace("C:", "/c") import tempfile tmpfn = tempfile.mktemp(suffix='run_swig') tmpf = open(tmpfn, "w+b") tmpf.write(cmd_line) tmpf.close() r = os.system("sh %s" % tmpfn) os.remove(tmpfn) if r != 0: raise DistutilsExecError, \ "command '%s' failed with exit status :%d: command was :%s:. " % (cmd[0], r, cmpl) print "return value of the command is :%s:" % r else: print cmd_line os.system(cmd_line) #print "Copy fltk.py" if os.path.isdir("../fltk"): shutil.rmtree("../fltk"); os.mkdir("../fltk"); os.mkdir("../fltk/test"); os.mkdir("../fltk/docs"); shutil.copyfile("fltk.py", "../fltk/__init__.py") map(lambda x: shutil.copy(x, "../fltk/test"), glob.glob("../test/*.py")) map(lambda x: shutil.copy(x, "../fltk/test"), glob.glob("../test/*.html")) map(lambda x: shutil.copy(x, "../fltk/test"), glob.glob("../test/*.gif")) map(lambda x: shutil.copy(x, "../fltk/docs"), glob.glob("../docs/*.html")) map(lambda x: shutil.copy(x, "../fltk/docs"), glob.glob("../docs/*.jpg"))