| |
- __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(__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 ?, void ?) -> 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 ?, char ?, int ?) -> int
- args(*args)
- args(int ?, char ?, int ?, int ?=0) -> int
args(int ?, char ?)
- awake(*args)
- awake(Fl_Awake_Handler cb, void message=0) -> int
awake(void message=0)
- background(*args)
- background(uchar ?, uchar ?, uchar ?)
- background2(*args)
- background2(uchar ?, uchar ?, uchar ?)
- belowmouse(*args)
- belowmouse() -> Fl_Widget
belowmouse(Fl_Widget ?)
- box_dh(*args)
- box_dh(Fl_Boxtype ?) -> int
- box_dw(*args)
- box_dw(Fl_Boxtype ?) -> int
- box_dx(*args)
- box_dx(Fl_Boxtype ?) -> int
- box_dy(*args)
- box_dy(Fl_Boxtype ?) -> 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 ?, void ?)
- delete_widget(*args)
- delete_widget(Fl_Widget w)
- display(*args)
- display(char ?)
- 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 ?, int ?, int ?, int ?) -> int
event_inside(Fl_Widget ?) -> int
- event_is_click(*args)
- event_is_click() -> int
event_is_click(int i)
- event_key(*args)
- event_key() -> int
event_key(int ?) -> 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 ?)
- flush(*args)
- flush()
- focus(*args)
- focus() -> Fl_Widget
focus(Fl_Widget ?)
- foreground(*args)
- foreground(uchar ?, uchar ?, uchar ?)
- free_color(*args)
- free_color(Fl_Color ?, int overlay=0)
- get_awake_handler_(*args)
- get_awake_handler_(Fl_Awake_Handler ?, void ?) -> int
- get_boxtype(*args)
- get_boxtype(Fl_Boxtype ?) -> Fl_Box_Draw_F
- get_color(*args)
- get_color(Fl_Color ?, uchar ?, uchar ?, uchar ?)
- get_font(*args)
- get_font(Fl_Font ?) -> char
- get_font_name(*args)
- get_font_name(Fl_Font ?, int attributes=0) -> char
- get_font_sizes(*args)
- get_font_sizes(Fl_Font ?, int sizep) -> int
- get_key(*args)
- get_key(int ?) -> int
- get_mouse(*args)
- get_mouse(int ?, int ?)
- get_system_colors(*args)
- get_system_colors()
- grab(*args)
- grab() -> Fl_Window
grab(Fl_Window ?)
- h(*args)
- h() -> int
- handle(*args)
- handle(int ?, Fl_Window ?) -> int
- has_idle(*args)
- has_idle(void cb, void ?=0) -> int
- has_timeout(*args)
- has_timeout(Fl_Timeout_Handler ?, void ?=0) -> int
- lock(*args)
- lock()
- modal(*args)
- modal() -> Fl_Window
- mt_run = Fl_mt_run(window)
- next_window(*args)
- next_window(Fl_Window ?) -> 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 ?)
- 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 ?) -> 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 ?, int len)
- selection_owner(*args)
- selection_owner() -> Fl_Widget
selection_owner(Fl_Widget ?)
- set_abort(*args)
- set_abort(void f)
- set_atclose(*args)
- set_atclose(void f)
- set_boxtype(*args)
- set_boxtype(Fl_Boxtype ?, Fl_Box_Draw_F ?, uchar ?, uchar ?, uchar ?,
uchar ?)
set_boxtype(Fl_Boxtype ?, Fl_Boxtype from)
- set_color(*args)
- set_color(Fl_Color ?, uchar ?, uchar ?, uchar ?)
set_color(Fl_Color ?, unsigned int ?)
- set_font(*args)
- set_font(Fl_Font ?, char ?)
set_font(Fl_Font ?, Fl_Font ?)
- set_fonts(*args)
- set_fonts(char ?=0) -> Fl_Font
- set_labeltype(*args)
- set_labeltype(Fl_Labeltype ?, Fl_Label_Draw_F ?, Fl_Label_Measure_F ?)
- test_shortcut(*args)
- test_shortcut(int ?) -> 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 ?) -> 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=0) -> Fl_Adjuster
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- soft(*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(*args)
- bounds(self, double a, double b)
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- color_average(self, Fl_Color c, float i)
- copy(*args)
- copy(self, int W, int H) -> Fl_Image
copy(self) -> Fl_Image
- desaturate(*args)
- desaturate(self)
- draw(*args)
- draw(self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(self, int X, int Y)
- label(*args)
- label(self, Fl_Widget w)
label(self, Fl_Menu_Item m)
- uncache(*args)
- uncache(self)
Methods inherited from Fl_Image:
- count(*args)
- count(self) -> int
- d(*args)
- d(self) -> int
- data(*args)
- data(self) -> char
- h(*args)
- h(self) -> int
- inactive(*args)
- inactive(self)
- ld(*args)
- ld(self) -> int
- w(*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(*args)
- copy(self, int W, int H) -> Fl_Image
copy(self) -> Fl_Image
- draw(*args)
- draw(self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(self, int X, int Y)
- label(*args)
- label(self, Fl_Widget w)
label(self, Fl_Menu_Item m)
- uncache(*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(*args)
- color_average(self, Fl_Color c, float i)
- count(*args)
- count(self) -> int
- d(*args)
- d(self) -> int
- data(*args)
- data(self) -> char
- desaturate(*args)
- desaturate(self)
- h(*args)
- h(self) -> int
- inactive(*args)
- inactive(self)
- ld(*args)
- ld(self) -> int
- w(*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=0) -> Fl_Box
__init__(self, Fl_Boxtype b, int X, int Y, int W, int H, char l) -> Fl_Box
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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_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_. |
|
- 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Browser
- __repr__ = _swig_repr(self)
- add(*args)
- add(self, char text, PyObject data=0)
- bottomline(*args)
- bottomline(self, int l)
- clear(*args)
- clear(self)
- column_char(*args)
- column_char(self) -> char
column_char(self, char c)
- column_widths(*args)
- column_widths(self) -> int
column_widths(self, PyObject widths)
- data(*args)
- data(self, int index, PyObject data=0) -> PyObject
- display(*args)
- display(self, int ?, int ?=1)
- displayed(*args)
- displayed(self, int n) -> int
- draw(*args)
- draw(self)
- format_char(*args)
- format_char(self) -> char
format_char(self, char c)
- full_height(*args)
- full_height(self) -> int
- full_width(*args)
- full_width(self) -> int
- get_data(*args)
- get_data(self, int index) -> PyObject
- hide(*args)
- hide(self, int n)
hide(self)
- incr_height(*args)
- incr_height(self) -> int
- insert(*args)
- insert(self, int index, char text, PyObject data=0)
- item_draw(*args)
- item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
- item_first(*args)
- item_first(self) -> void
- item_height(*args)
- item_height(self, void arg0) -> int
- item_next(*args)
- item_next(self, void arg0) -> void
- item_prev(*args)
- item_prev(self, void arg0) -> void
- item_quick_height(*args)
- item_quick_height(self, void arg0) -> int
- item_select(*args)
- item_select(self, void arg0, int arg1)
- item_selected(*args)
- item_selected(self, void arg0) -> int
- item_width(*args)
- item_width(self, void arg0) -> int
- lineposition(*args)
- lineposition(self, int ?, Fl_Line_Position ?)
- load(*args)
- load(self, char filename) -> int
- make_visible(*args)
- make_visible(self, int n)
- middleline(*args)
- middleline(self, int l)
- move(*args)
- move(self, int to, int from)
- remove(*args)
- remove(self, int ?)
- replace(*args)
- replace(self, int a, char b)
- select(*args)
- select(self, int ?, int ?=1) -> int
- selected(*args)
- selected(self, int ?) -> int
- show(*args)
- show(self, int n)
show(self)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- swap(*args)
- swap(self, int a, int b)
- text(*args)
- text(self, int ?) -> char
text(self, int ?, char ?)
- topline(*args)
- topline(self) -> int
topline(self, int l)
- value(*args)
- value(self) -> int
value(self, int v)
- visible(*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(*args)
- deselect(self, int docallbacks=0) -> int
- getHScrollbar(*args)
- getHScrollbar(self) -> Fl_Scrollbar
- getScrollbar(*args)
- getScrollbar(self) -> Fl_Scrollbar
- handle(*args)
- handle(self, int arg0) -> int
- has_scrollbar(*args)
- has_scrollbar(self) -> uchar
has_scrollbar(self, uchar i)
- hposition(*args)
- hposition(self) -> int
hposition(self, int ?)
- position(*args)
- position(self) -> int
position(self, int ?)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- scrollbar_left(*args)
- scrollbar_left(self)
- scrollbar_right(*args)
- scrollbar_right(self)
- select_only(*args)
- select_only(self, void ?, int docallbacks=0) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*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(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Browser_
- __repr__ = _swig_repr(self)
- deselect(*args)
- deselect(self, int docallbacks=0) -> int
- display(*args)
- display(self, void ?)
- draw(*args)
- draw(self)
- full_height(*args)
- full_height(self) -> int
- full_width(*args)
- full_width(self) -> int
- getHScrollbar(*args)
- getHScrollbar(self) -> Fl_Scrollbar
- getScrollbar(*args)
- getScrollbar(self) -> Fl_Scrollbar
- handle(*args)
- handle(self, int arg0) -> int
- has_scrollbar(*args)
- has_scrollbar(self) -> uchar
has_scrollbar(self, uchar i)
- hposition(*args)
- hposition(self) -> int
hposition(self, int ?)
- incr_height(*args)
- incr_height(self) -> int
- item_draw(*args)
- item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
- item_first(*args)
- item_first(self) -> void
- item_height(*args)
- item_height(self, void arg0) -> int
- item_next(*args)
- item_next(self, void arg0) -> void
- item_prev(*args)
- item_prev(self, void arg0) -> void
- item_quick_height(*args)
- item_quick_height(self, void arg0) -> int
- item_select(*args)
- item_select(self, void arg0, int arg1=1)
- item_selected(*args)
- item_selected(self, void arg0) -> int
- item_width(*args)
- item_width(self, void arg0) -> int
- position(*args)
- position(self) -> int
position(self, int ?)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- scrollbar_left(*args)
- scrollbar_left(self)
- scrollbar_right(*args)
- scrollbar_right(self)
- select(*args)
- select(self, void ?, int ?=1, int docallbacks=0) -> int
- select_only(*args)
- select_only(self, void ?, int docallbacks=0) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*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(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Button
- __repr__ = _swig_repr(self)
- clear(*args)
- clear(self) -> int
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- set(*args)
- set(self) -> int
- setonly(*args)
- setonly(self)
- shortcut(*args)
- shortcut(self) -> int
shortcut(self, int s)
shortcut(self, char s)
- value(*args)
- value(self, int ?) -> 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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Chart
- __repr__ = _swig_repr(self)
- add(*args)
- add(self, double ?, char ?=0, unsigned int ?=0)
- autosize(*args)
- autosize(self) -> uchar
autosize(self, uchar n)
- bounds(*args)
- bounds(self, double a, double b)
bounds(self, double a, double b)
- clear(*args)
- clear(self)
- draw(*args)
- draw(self)
- insert(*args)
- insert(self, int ?, double ?, char ?=0, unsigned int ?=0)
- maxsize(*args)
- maxsize(self) -> int
maxsize(self, int ?)
- replace(*args)
- replace(self, int ?, double ?, char ?=0, unsigned int ?=0)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- handle(*args)
- handle(self, int arg0) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Check_Browser
- __repr__ = _swig_repr(self)
- add(*args)
- add(self, char s) -> int
add(self, char s, int b) -> int
- check_all(*args)
- check_all(self)
- check_none(*args)
- check_none(self)
- checked(*args)
- checked(self, int item) -> int
checked(self, int item, int b)
- clear(*args)
- clear(self)
- draw(*args)
- draw(self)
- full_height(*args)
- full_height(self) -> int
- full_width(*args)
- full_width(self) -> int
- handle(*args)
- handle(self, int arg0) -> int
- incr_height(*args)
- incr_height(self) -> int
- item_draw(*args)
- item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
- item_first(*args)
- item_first(self) -> void
- item_height(*args)
- item_height(self, void arg0) -> int
- item_next(*args)
- item_next(self, void arg0) -> void
- item_prev(*args)
- item_prev(self, void arg0) -> void
- item_quick_height(*args)
- item_quick_height(self, void arg0) -> int
- item_select(*args)
- item_select(self, void arg0, int arg1=1)
- item_selected(*args)
- item_selected(self, void arg0) -> int
- item_width(*args)
- item_width(self, void arg0) -> int
- nchecked(*args)
- nchecked(self) -> int
- nitems(*args)
- nitems(self) -> int
- remove(*args)
- remove(self, int item) -> int
- set_checked(*args)
- set_checked(self, int item)
- text(*args)
- text(self, int item) -> char
- value(*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(*args)
- deselect(self, int docallbacks=0) -> int
- display(*args)
- display(self, void ?)
- getHScrollbar(*args)
- getHScrollbar(self) -> Fl_Scrollbar
- getScrollbar(*args)
- getScrollbar(self) -> Fl_Scrollbar
- has_scrollbar(*args)
- has_scrollbar(self) -> uchar
has_scrollbar(self, uchar i)
- hposition(*args)
- hposition(self) -> int
hposition(self, int ?)
- position(*args)
- position(self) -> int
position(self, int ?)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- scrollbar_left(*args)
- scrollbar_left(self)
- scrollbar_right(*args)
- scrollbar_right(self)
- select(*args)
- select(self, void ?, int ?=1, int docallbacks=0) -> int
- select_only(*args)
- select_only(self, void ?, int docallbacks=0) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*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(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Check_Button
- __repr__ = _swig_repr(self)
- draw(*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(*args)
- handle(self, int arg0) -> int
Methods inherited from Fl_Button:
- clear(*args)
- clear(self) -> int
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- set(*args)
- set(self) -> int
- setonly(*args)
- setonly(self)
- shortcut(*args)
- shortcut(self) -> int
shortcut(self, int s)
shortcut(self, char s)
- value(*args)
- value(self, int ?) -> int
value(self) -> char
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Choice
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- value(*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(*args)
- add(self, char ?, int shortcut, Fl_Callback ?, void ?=0, int ?=0) -> int
add(self, char ?) -> int
add(self, PyObject lObj, PyObject sObj, PyObject cObj, PyObject uObj=0,
PyObject fObj=0) -> int
- clear(*args)
- clear(self)
- copy(*args)
- copy(self, Fl_Menu_Item m, void user_data=0)
copy(self, PyObject args, PyObject user_data=0)
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- find_item(*args)
- find_item(self, char name) -> Fl_Menu_Item
- item_pathname(*args)
- item_pathname(self, char name, int namelen, Fl_Menu_Item finditem=0) -> int
- menu(*args)
- menu(self) -> Fl_Menu_Item
menu(self, PyObject args)
menu(self) -> PyObject
- mode(*args)
- mode(self, int i, int fl)
mode(self, int i) -> int
- mvalue(*args)
- mvalue(self) -> Fl_Menu_Item
- picked(*args)
- picked(self, Fl_Menu_Item ?) -> Fl_Menu_Item
- remove(*args)
- remove(self, int ?)
- replace(*args)
- replace(self, int ?, char ?)
- shortcut(*args)
- shortcut(self, int i, int s)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- test_shortcut(*args)
- test_shortcut(self) -> Fl_Menu_Item
- text(*args)
- text(self) -> char
text(self, int i) -> char
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int c)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar c)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar c)
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- 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=0) -> Fl_Clock
__init__(self, uchar t, int x, int y, int w, int h, char l) -> Fl_Clock
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*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(*args)
- hour(self) -> int
- minute(*args)
- minute(self) -> int
- second(*args)
- second(self) -> int
- value(*args)
- value(self, ulong v)
value(self, int ?, int ?, int ?)
value(self) -> ulong
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Clock_Output
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- hour(*args)
- hour(self) -> int
- minute(*args)
- minute(self) -> int
- second(*args)
- second(self) -> int
- value(*args)
- value(self, ulong v)
value(self, int ?, int ?, int ?)
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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- handle(*args)
- handle(self, int arg0) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Color_Chooser
- __repr__ = _swig_repr(self)
- b(*args)
- b(self) -> double
- draw(*args)
- draw(self)
- g(*args)
- g(self) -> double
- hsv(*args)
- hsv(self, double ?, double ?, double ?) -> int
- hue(*args)
- hue(self) -> double
- mode(*args)
- mode(self) -> int
- r(*args)
- r(self) -> double
- rgb(*args)
- rgb(self, double ?, double ?, double ?) -> int
- saturation(*args)
- saturation(self) -> double
- value(*args)
- value(self) -> double
Static methods defined here:
- hsv2rgb(*args)
- hsv2rgb(double ?, double ?, double ?, double ?, double ?, double ?)
- rgb2hsv(*args)
- rgb2hsv(double ?, double ?, double ?, double ?, double ?, double ?)
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(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- handle(*args)
- handle(self, int arg0) -> int
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*args)
- resizable(self, Fl_Widget o)
resizable(self) -> Fl_Widget
- resize(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Counter
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- lstep(*args)
- lstep(self, double a)
- step(*args)
- step(self, double a, double b)
step(self, double a)
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int s)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*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(*args)
- bounds(self, double a, double b)
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Dial
- __repr__ = _swig_repr(self)
- angle1(*args)
- angle1(self) -> short
angle1(self, short a)
- angle2(*args)
- angle2(self) -> short
angle2(self, short a)
- angles(*args)
- angles(self, short a, short b)
- draw(*args)
- draw(self)
- handle(*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(*args)
- bounds(self, double a, double b)
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Double_Window
__init__(self, int X, int Y, int W, int H, char l=0) -> Fl_Double_Window
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- flush(*args)
- flush(self)
- hide(*args)
- hide(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- show(*args)
- show(self, PyObject count=0, PyObject data=0)
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(*args)
- border(self, int b)
border(self) -> int
- clear_border(*args)
- clear_border(self)
- copy_label(*args)
- copy_label(self, char a)
- cursor(*args)
- cursor(self, Fl_Cursor ?, Fl_Color ?=FL_BLACK, Fl_Color ?=FL_WHITE)
- default_cursor(*args)
- default_cursor(self, Fl_Cursor ?, Fl_Color ?=FL_BLACK, Fl_Color ?=FL_WHITE)
- free_position(*args)
- free_position(self)
- fullscreen(*args)
- fullscreen(self)
- fullscreen_off(*args)
- fullscreen_off(self, int ?, int ?, int ?, int ?)
- handle(*args)
- handle(self, int arg0) -> int
- hotspot(*args)
- hotspot(self, int x, int y, int offscreen=0)
hotspot(self, Fl_Widget ?, int offscreen=0)
- icon(*args)
- icon(self) -> void
icon(self, void ic)
- iconize(*args)
- iconize(self)
- iconlabel(*args)
- iconlabel(self) -> char
iconlabel(self, char ?)
- label(*args)
- label(self) -> char
label(self, char ?)
label(self, char label, char iconlabel)
- make_current(*args)
- make_current(self)
- modal(*args)
- modal(self) -> int
- non_modal(*args)
- non_modal(self) -> int
- override(*args)
- override(self) -> int
- set_modal(*args)
- set_modal(self)
- set_non_modal(*args)
- set_non_modal(self)
- set_override(*args)
- set_override(self)
- shown(*args)
- shown(self) -> int
- size_range(*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(*args)
- x_root(self) -> int
- xclass(*args)
- xclass(self) -> char
xclass(self, char c)
- y_root(*args)
- y_root(self) -> int
Static methods inherited from Fl_Window:
- current(*args)
- current() -> Fl_Window
- default_callback(*args)
- default_callback(Fl_Window ?, void v)
Methods inherited from Fl_Group:
- add(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*args)
- resizable(self, Fl_Widget o)
resizable(self) -> Fl_Widget
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*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 ?) -> 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_File_Browser
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- filetype(*args)
- filetype(self) -> int
filetype(self, int t)
- filter(*args)
- filter(self, char pattern)
filter(self) -> char
- full_height(*args)
- full_height(self) -> int
- full_width(*args)
- full_width(self) -> int
- iconsize(*args)
- iconsize(self) -> uchar
iconsize(self, uchar s)
- incr_height(*args)
- incr_height(self) -> int
- item_draw(*args)
- item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
- item_first(*args)
- item_first(self) -> void
- item_height(*args)
- item_height(self, void arg0) -> int
- item_next(*args)
- item_next(self, void arg0) -> void
- item_prev(*args)
- item_prev(self, void arg0) -> void
- item_quick_height(*args)
- item_quick_height(self, void arg0) -> int
- item_select(*args)
- item_select(self, void arg0, int arg1)
- item_selected(*args)
- item_selected(self, void arg0) -> int
- item_width(*args)
- item_width(self, void arg0) -> int
- load(*args)
- load(self, PyObject dObj, PyObject sObj) -> int
- textsize(*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(*args)
- add(self, char text, PyObject data=0)
- bottomline(*args)
- bottomline(self, int l)
- clear(*args)
- clear(self)
- column_char(*args)
- column_char(self) -> char
column_char(self, char c)
- column_widths(*args)
- column_widths(self) -> int
column_widths(self, PyObject widths)
- data(*args)
- data(self, int index, PyObject data=0) -> PyObject
- display(*args)
- display(self, int ?, int ?=1)
- displayed(*args)
- displayed(self, int n) -> int
- format_char(*args)
- format_char(self) -> char
format_char(self, char c)
- get_data(*args)
- get_data(self, int index) -> PyObject
- hide(*args)
- hide(self, int n)
hide(self)
- insert(*args)
- insert(self, int index, char text, PyObject data=0)
- lineposition(*args)
- lineposition(self, int ?, Fl_Line_Position ?)
- make_visible(*args)
- make_visible(self, int n)
- middleline(*args)
- middleline(self, int l)
- move(*args)
- move(self, int to, int from)
- remove(*args)
- remove(self, int ?)
- replace(*args)
- replace(self, int a, char b)
- select(*args)
- select(self, int ?, int ?=1) -> int
- selected(*args)
- selected(self, int ?) -> int
- show(*args)
- show(self, int n)
show(self)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- swap(*args)
- swap(self, int a, int b)
- text(*args)
- text(self, int ?) -> char
text(self, int ?, char ?)
- topline(*args)
- topline(self) -> int
topline(self, int l)
- value(*args)
- value(self) -> int
value(self, int v)
- visible(*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(*args)
- deselect(self, int docallbacks=0) -> int
- getHScrollbar(*args)
- getHScrollbar(self) -> Fl_Scrollbar
- getScrollbar(*args)
- getScrollbar(self) -> Fl_Scrollbar
- handle(*args)
- handle(self, int arg0) -> int
- has_scrollbar(*args)
- has_scrollbar(self) -> uchar
has_scrollbar(self, uchar i)
- hposition(*args)
- hposition(self) -> int
hposition(self, int ?)
- position(*args)
- position(self) -> int
position(self, int ?)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- scrollbar_left(*args)
- scrollbar_left(self)
- scrollbar_right(*args)
- scrollbar_right(self)
- select_only(*args)
- select_only(self, void ?, int docallbacks=0) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*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(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- color(self, Fl_Color c)
color(self) -> Fl_Color
- count(*args)
- count(self) -> int
- directory(*args)
- directory(self, char d)
directory(self) -> char
- filter(*args)
- filter(self, char p)
filter(self) -> char
- filter_value(*args)
- filter_value(self) -> int
filter_value(self, int f)
- hide(*args)
- hide(self)
- iconsize(*args)
- iconsize(self, uchar s)
iconsize(self) -> uchar
- label(*args)
- label(self, char l)
label(self) -> char
- ok_label(*args)
- ok_label(self, char l)
ok_label(self) -> char
- preview(*args)
- preview(self, int e)
preview(self) -> int
- rescan(*args)
- rescan(self)
- show(*args)
- show(self)
- shown(*args)
- shown(self) -> int
- textcolor(*args)
- textcolor(self, Fl_Color c)
textcolor(self) -> Fl_Color
- textfont(*args)
- textfont(self, uchar f)
textfont(self) -> uchar
- textsize(*args)
- textsize(self, uchar s)
textsize(self) -> uchar
- type(*args)
- type(self, int t)
type(self) -> int
- user_data(*args)
- user_data(self)
user_data(self, void d)
- value(*args)
- value(self, int f=1) -> char
value(self, char filename)
- visible(*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=0) -> Fl_File_Icon
- __repr__ = _swig_repr(self)
- add(*args)
- add(self, short d) -> short
- add_color(*args)
- add_color(self, Fl_Color c) -> short
- add_vertex(*args)
- add_vertex(self, int x, int y) -> short
add_vertex(self, float x, float y) -> short
- clear(*args)
- clear(self)
- draw(*args)
- draw(self, int x, int y, int w, int h, Fl_Color ic, int active=1)
- label(*args)
- label(self, Fl_Widget w)
- load(*args)
- load(self, char f)
- load_fti(*args)
- load_fti(self, char fti) -> int
- load_image(*args)
- load_image(self, char i) -> int
- next(*args)
- next(self) -> Fl_File_Icon
- pattern(*args)
- pattern(self) -> char
- size(*args)
- size(self) -> int
- type(*args)
- type(self) -> int
- value(*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 ?, int ?, int ?, int ?, char t=0) -> Fl_File_Input
- __repr__ = _swig_repr(self)
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- draw(*args)
- draw(self)
- errorcolor(*args)
- errorcolor(self) -> Fl_Color
errorcolor(self, Fl_Color c)
- handle(*args)
- handle(self, int arg0) -> int
- value(*args)
- value(self, char ?) -> int
value(self, char ?, int ?) -> 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(*args)
- copy(self, int clipboard) -> int
- copy_cuts(*args)
- copy_cuts(self) -> int
- cursor_color(*args)
- cursor_color(self) -> Fl_Color
cursor_color(self, unsigned int n)
- cut(*args)
- cut(self) -> int
cut(self, int n) -> int
cut(self, int a, int b) -> int
- index(*args)
- index(self, int i) -> char
- input_type(*args)
- input_type(self) -> int
input_type(self, int t)
- insert(*args)
- insert(self, char t, int l=0) -> int
- mark(*args)
- mark(self) -> int
mark(self, int m) -> int
- maximum_size(*args)
- maximum_size(self) -> int
maximum_size(self, int m)
- position(*args)
- position(self) -> int
position(self, int p, int m) -> int
position(self, int p) -> int
- readonly(*args)
- readonly(self) -> int
readonly(self, int b)
- replace(*args)
- replace(self, int ?, int ?, char ?, int ?=0) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- static_value(*args)
- static_value(self, char ?) -> int
static_value(self, char ?, int ?) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
- undo(*args)
- undo(self) -> int
- wrap(*args)
- wrap(self) -> int
wrap(self, int b)
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Fill_Dial
- __repr__ = _swig_repr(self)
- draw(*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(*args)
- angle1(self) -> short
angle1(self, short a)
- angle2(*args)
- angle2(self) -> short
angle2(self, short a)
- angles(*args)
- angles(self, short a, short b)
- handle(*args)
- handle(self, int arg0) -> int
Methods inherited from Fl_Valuator:
- bounds(*args)
- bounds(self, double a, double b)
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> 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(*args)
- bounds(self, double a, double b)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- scrollvalue(*args)
- scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
- slider(*args)
- slider(self) -> Fl_Boxtype
slider(self, Fl_Boxtype c)
- slider_size(*args)
- slider_size(self) -> float
slider_size(self, double v)
Methods inherited from Fl_Valuator:
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> 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(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
Methods inherited from Fl_Input_:
- copy(*args)
- copy(self, int clipboard) -> int
- copy_cuts(*args)
- copy_cuts(self) -> int
- cursor_color(*args)
- cursor_color(self) -> Fl_Color
cursor_color(self, unsigned int n)
- cut(*args)
- cut(self) -> int
cut(self, int n) -> int
cut(self, int a, int b) -> int
- index(*args)
- index(self, int i) -> char
- input_type(*args)
- input_type(self) -> int
input_type(self, int t)
- insert(*args)
- insert(self, char t, int l=0) -> int
- mark(*args)
- mark(self) -> int
mark(self, int m) -> int
- maximum_size(*args)
- maximum_size(self) -> int
maximum_size(self, int m)
- position(*args)
- position(self) -> int
position(self, int p, int m) -> int
position(self, int p) -> int
- readonly(*args)
- readonly(self) -> int
readonly(self, int b)
- replace(*args)
- replace(self, int ?, int ?, char ?, int ?=0) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- static_value(*args)
- static_value(self, char ?) -> int
static_value(self, char ?, int ?) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
- undo(*args)
- undo(self) -> int
- value(*args)
- value(self, char ?) -> int
value(self, char ?, int ?) -> int
value(self) -> char
- wrap(*args)
- wrap(self) -> int
wrap(self, int b)
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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 ?, int ?, int ?, int ?, int ?, char ?=0) -> Fl_FormsBitmap
- __repr__ = _swig_repr(self)
- bitmap(*args)
- bitmap(self, Fl_Bitmap B)
bitmap(self) -> Fl_Bitmap
- draw(*args)
- draw(self)
- set(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- handle(*args)
- handle(self, int arg0) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- Pixmap(self, Fl_Pixmap B)
Pixmap(self) -> Fl_Pixmap
- __del__ lambda self
- __disown__(self)
- __init__(self, *args)
- __init__(self, Fl_Boxtype ?, int ?, int ?, int ?, int ?, char ?=0) -> Fl_FormsPixmap
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- set(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- handle(*args)
- handle(self, int arg0) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- draw(self)
- handle(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- color_average(self, Fl_Color c, float i)
- copy(*args)
- copy(self, int W, int H) -> Fl_Image
copy(self) -> Fl_Image
- desaturate(*args)
- desaturate(self)
- draw(*args)
- draw(self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(self, int X, int Y)
- label(*args)
- label(self, Fl_Widget w)
label(self, Fl_Menu_Item m)
- uncache(*args)
- uncache(self)
Methods inherited from Fl_Image:
- count(*args)
- count(self) -> int
- d(*args)
- d(self) -> int
- data(*args)
- data(self) -> char
- h(*args)
- h(self) -> int
- inactive(*args)
- inactive(self)
- ld(*args)
- ld(self) -> int
- w(*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=0) -> Fl_Gl_Window
__init__(self, int X, int Y, int W, int H, char l=0) -> Fl_Gl_Window
- __repr__ = _swig_repr(self)
- can_do(*args)
- can_do(self, int m) -> int
can_do(self, int m) -> int
can_do(self) -> int
- can_do_overlay(*args)
- can_do_overlay(self) -> int
- context(*args)
- context(self)
context(self, void ?, int destroy_flag=0)
- context_valid(*args)
- context_valid(self) -> char
context_valid(self, char v)
- draw(*args)
- draw(self)
- drawPixels(*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(*args)
- flush(self)
- hide(*args)
- hide(self)
- hide_overlay(*args)
- hide_overlay(self)
- invalidate(*args)
- invalidate(self)
- make_current(*args)
- make_current(self)
- make_overlay_current(*args)
- make_overlay_current(self)
- mode(*args)
- mode(self) -> Fl_Mode
mode(self, int a) -> int
mode(self, int a) -> int
- ortho(*args)
- ortho(self)
- redraw_overlay(*args)
- redraw_overlay(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- show(*args)
- show(self, PyObject count=0, PyObject data=0)
- swap_buffers(*args)
- swap_buffers(self)
- valid(*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(*args)
- border(self, int b)
border(self) -> int
- clear_border(*args)
- clear_border(self)
- copy_label(*args)
- copy_label(self, char a)
- cursor(*args)
- cursor(self, Fl_Cursor ?, Fl_Color ?=FL_BLACK, Fl_Color ?=FL_WHITE)
- default_cursor(*args)
- default_cursor(self, Fl_Cursor ?, Fl_Color ?=FL_BLACK, Fl_Color ?=FL_WHITE)
- free_position(*args)
- free_position(self)
- fullscreen(*args)
- fullscreen(self)
- fullscreen_off(*args)
- fullscreen_off(self, int ?, int ?, int ?, int ?)
- handle(*args)
- handle(self, int arg0) -> int
- hotspot(*args)
- hotspot(self, int x, int y, int offscreen=0)
hotspot(self, Fl_Widget ?, int offscreen=0)
- icon(*args)
- icon(self) -> void
icon(self, void ic)
- iconize(*args)
- iconize(self)
- iconlabel(*args)
- iconlabel(self) -> char
iconlabel(self, char ?)
- label(*args)
- label(self) -> char
label(self, char ?)
label(self, char label, char iconlabel)
- modal(*args)
- modal(self) -> int
- non_modal(*args)
- non_modal(self) -> int
- override(*args)
- override(self) -> int
- set_modal(*args)
- set_modal(self)
- set_non_modal(*args)
- set_non_modal(self)
- set_override(*args)
- set_override(self)
- shown(*args)
- shown(self) -> int
- size_range(*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(*args)
- x_root(self) -> int
- xclass(*args)
- xclass(self) -> char
xclass(self, char c)
- y_root(*args)
- y_root(self) -> int
Static methods inherited from Fl_Window:
- current(*args)
- current() -> Fl_Window
- default_callback(*args)
- default_callback(Fl_Window ?, void v)
Methods inherited from Fl_Group:
- add(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*args)
- resizable(self, Fl_Widget o)
resizable(self) -> Fl_Widget
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*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 ?) -> 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Group
- __repr__ = _swig_repr(self)
- add(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- draw(*args)
- draw(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- handle(*args)
- handle(self, int arg0) -> int
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*args)
- resizable(self, Fl_Widget o)
resizable(self) -> Fl_Widget
- resize(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- load(*args)
- load(self, char f)
- position(*args)
- position(self, int xx, int yy)
- resize(*args)
- resize(self, int xx, int yy, int ww, int hh)
- show(*args)
- show(self)
show(self, int argc, char argv)
- textsize(*args)
- textsize(self, uchar s)
textsize(self) -> uchar
- topline(*args)
- topline(self, char n)
topline(self, int n)
- value(*args)
- value(self, char f)
value(self) -> char
- visible(*args)
- visible(self) -> int
- w(*args)
- w(self) -> int
- x(*args)
- x(self) -> int
- y(*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_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=0) -> Fl_Help_View
- __repr__ = _swig_repr(self)
- clear_selection(*args)
- clear_selection(self)
- directory(*args)
- directory(self) -> char
- draw(*args)
- draw(self)
- filename(*args)
- filename(self) -> char
- find(*args)
- find(self, char s, int p=0) -> int
- leftline(*args)
- leftline(self, int ?)
leftline(self) -> int
- link = __Fl_Help_ViewLink(self, *args)
- load(*args)
- load(self, char f) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- select_all(*args)
- select_all(self)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- textcolor(*args)
- textcolor(self, Fl_Color c)
textcolor(self) -> Fl_Color
- textfont(*args)
- textfont(self, uchar f)
textfont(self) -> uchar
- textsize(*args)
- textsize(self, uchar s)
textsize(self) -> uchar
- title(*args)
- title(self) -> char
- topline(*args)
- topline(self, char n)
topline(self, int ?)
topline(self) -> int
- value(*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(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- handle(*args)
- handle(self, int arg0) -> int
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Hold_Browser
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- full_height(*args)
- full_height(self) -> int
- full_width(*args)
- full_width(self) -> int
- incr_height(*args)
- incr_height(self) -> int
- item_draw(*args)
- item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
- item_first(*args)
- item_first(self) -> void
- item_height(*args)
- item_height(self, void arg0) -> int
- item_next(*args)
- item_next(self, void arg0) -> void
- item_prev(*args)
- item_prev(self, void arg0) -> void
- item_quick_height(*args)
- item_quick_height(self, void arg0) -> int
- item_select(*args)
- item_select(self, void arg0, int arg1)
- item_selected(*args)
- item_selected(self, void arg0) -> int
- item_width(*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(*args)
- add(self, char text, PyObject data=0)
- bottomline(*args)
- bottomline(self, int l)
- clear(*args)
- clear(self)
- column_char(*args)
- column_char(self) -> char
column_char(self, char c)
- column_widths(*args)
- column_widths(self) -> int
column_widths(self, PyObject widths)
- data(*args)
- data(self, int index, PyObject data=0) -> PyObject
- display(*args)
- display(self, int ?, int ?=1)
- displayed(*args)
- displayed(self, int n) -> int
- format_char(*args)
- format_char(self) -> char
format_char(self, char c)
- get_data(*args)
- get_data(self, int index) -> PyObject
- hide(*args)
- hide(self, int n)
hide(self)
- insert(*args)
- insert(self, int index, char text, PyObject data=0)
- lineposition(*args)
- lineposition(self, int ?, Fl_Line_Position ?)
- load(*args)
- load(self, char filename) -> int
- make_visible(*args)
- make_visible(self, int n)
- middleline(*args)
- middleline(self, int l)
- move(*args)
- move(self, int to, int from)
- remove(*args)
- remove(self, int ?)
- replace(*args)
- replace(self, int a, char b)
- select(*args)
- select(self, int ?, int ?=1) -> int
- selected(*args)
- selected(self, int ?) -> int
- show(*args)
- show(self, int n)
show(self)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- swap(*args)
- swap(self, int a, int b)
- text(*args)
- text(self, int ?) -> char
text(self, int ?, char ?)
- topline(*args)
- topline(self) -> int
topline(self, int l)
- value(*args)
- value(self) -> int
value(self, int v)
- visible(*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(*args)
- deselect(self, int docallbacks=0) -> int
- getHScrollbar(*args)
- getHScrollbar(self) -> Fl_Scrollbar
- getScrollbar(*args)
- getScrollbar(self) -> Fl_Scrollbar
- handle(*args)
- handle(self, int arg0) -> int
- has_scrollbar(*args)
- has_scrollbar(self) -> uchar
has_scrollbar(self, uchar i)
- hposition(*args)
- hposition(self) -> int
hposition(self, int ?)
- position(*args)
- position(self) -> int
position(self, int ?)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- scrollbar_left(*args)
- scrollbar_left(self)
- scrollbar_right(*args)
- scrollbar_right(self)
- select_only(*args)
- select_only(self, void ?, int docallbacks=0) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*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(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> 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(*args)
- bounds(self, double a, double b)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- scrollvalue(*args)
- scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
- slider(*args)
- slider(self) -> Fl_Boxtype
slider(self, Fl_Boxtype c)
- slider_size(*args)
- slider_size(self) -> float
slider_size(self, double v)
Methods inherited from Fl_Valuator:
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> 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(*args)
- bounds(self, double a, double b)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- scrollvalue(*args)
- scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
- slider(*args)
- slider(self) -> Fl_Boxtype
slider(self, Fl_Boxtype c)
- slider_size(*args)
- slider_size(self) -> float
slider_size(self, double v)
Methods inherited from Fl_Valuator:
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> 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(*args)
- bounds(self, double a, double b)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- scrollvalue(*args)
- scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
- slider(*args)
- slider(self) -> Fl_Boxtype
slider(self, Fl_Boxtype c)
- slider_size(*args)
- slider_size(self) -> float
slider_size(self, double v)
Methods inherited from Fl_Valuator:
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> 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(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int s)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
Methods inherited from Fl_Slider:
- bounds(*args)
- bounds(self, double a, double b)
- scrollvalue(*args)
- scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
- slider(*args)
- slider(self) -> Fl_Boxtype
slider(self, Fl_Boxtype c)
- slider_size(*args)
- slider_size(self) -> float
slider_size(self, double v)
Methods inherited from Fl_Valuator:
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- color_average(self, Fl_Color c, float i)
- copy(*args)
- copy(self, int W, int H) -> Fl_Image
copy(self) -> Fl_Image
- count(*args)
- count(self) -> int
- d(*args)
- d(self) -> int
- data(*args)
- data(self) -> char
- desaturate(*args)
- desaturate(self)
- draw(*args)
- draw(self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(self, int X, int Y)
- h(*args)
- h(self) -> int
- inactive(*args)
- inactive(self)
- label(*args)
- label(self, Fl_Widget w)
label(self, Fl_Menu_Item m)
- ld(*args)
- ld(self) -> int
- uncache(*args)
- uncache(self)
- w(*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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Input
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*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(*args)
- copy(self, int clipboard) -> int
- copy_cuts(*args)
- copy_cuts(self) -> int
- cursor_color(*args)
- cursor_color(self) -> Fl_Color
cursor_color(self, unsigned int n)
- cut(*args)
- cut(self) -> int
cut(self, int n) -> int
cut(self, int a, int b) -> int
- index(*args)
- index(self, int i) -> char
- input_type(*args)
- input_type(self) -> int
input_type(self, int t)
- insert(*args)
- insert(self, char t, int l=0) -> int
- mark(*args)
- mark(self) -> int
mark(self, int m) -> int
- maximum_size(*args)
- maximum_size(self) -> int
maximum_size(self, int m)
- position(*args)
- position(self) -> int
position(self, int p, int m) -> int
position(self, int p) -> int
- readonly(*args)
- readonly(self) -> int
readonly(self, int b)
- replace(*args)
- replace(self, int ?, int ?, char ?, int ?=0) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- static_value(*args)
- static_value(self, char ?) -> int
static_value(self, char ?, int ?) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
- undo(*args)
- undo(self) -> int
- value(*args)
- value(self, char ?) -> int
value(self, char ?, int ?) -> int
value(self) -> char
- wrap(*args)
- wrap(self) -> int
wrap(self, int b)
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Input_
- __repr__ = _swig_repr(self)
- copy(*args)
- copy(self, int clipboard) -> int
- copy_cuts(*args)
- copy_cuts(self) -> int
- cursor_color(*args)
- cursor_color(self) -> Fl_Color
cursor_color(self, unsigned int n)
- cut(*args)
- cut(self) -> int
cut(self, int n) -> int
cut(self, int a, int b) -> int
- index(*args)
- index(self, int i) -> char
- input_type(*args)
- input_type(self) -> int
input_type(self, int t)
- insert(*args)
- insert(self, char t, int l=0) -> int
- mark(*args)
- mark(self) -> int
mark(self, int m) -> int
- maximum_size(*args)
- maximum_size(self) -> int
maximum_size(self, int m)
- position(*args)
- position(self) -> int
position(self, int p, int m) -> int
position(self, int p) -> int
- readonly(*args)
- readonly(self) -> int
readonly(self, int b)
- replace(*args)
- replace(self, int ?, int ?, char ?, int ?=0) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- static_value(*args)
- static_value(self, char ?) -> int
static_value(self, char ?, int ?) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
- undo(*args)
- undo(self) -> int
- value(*args)
- value(self, char ?) -> int
value(self, char ?, int ?) -> int
value(self) -> char
- wrap(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw(*args)
- draw(self)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- handle(*args)
- handle(self, int arg0) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Input_Choice
- __repr__ = _swig_repr(self)
- add(*args)
- add(self, char s)
- changed(*args)
- changed(self) -> int
- clear(*args)
- clear(self)
- clear_changed(*args)
- clear_changed(self)
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- draw(*args)
- draw(self)
- input(*args)
- input(self) -> Fl_Input
- menu(*args)
- menu(self) -> Fl_Menu_Item
menu(self, Fl_Menu_Item m)
- menubutton(*args)
- menubutton(self) -> Fl_Menu_Button
- resize(*args)
- resize(self, int X, int Y, int W, int H)
- set_changed(*args)
- set_changed(self)
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, Fl_Color c)
- textfont(*args)
- textfont(self) -> uchar
textfont(self, uchar f)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
- value(*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(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- handle(*args)
- handle(self, int arg0) -> int
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> 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(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
Methods inherited from Fl_Input_:
- copy(*args)
- copy(self, int clipboard) -> int
- copy_cuts(*args)
- copy_cuts(self) -> int
- cursor_color(*args)
- cursor_color(self) -> Fl_Color
cursor_color(self, unsigned int n)
- cut(*args)
- cut(self) -> int
cut(self, int n) -> int
cut(self, int a, int b) -> int
- index(*args)
- index(self, int i) -> char
- input_type(*args)
- input_type(self) -> int
input_type(self, int t)
- insert(*args)
- insert(self, char t, int l=0) -> int
- mark(*args)
- mark(self) -> int
mark(self, int m) -> int
- maximum_size(*args)
- maximum_size(self) -> int
maximum_size(self, int m)
- position(*args)
- position(self) -> int
position(self, int p, int m) -> int
position(self, int p) -> int
- readonly(*args)
- readonly(self) -> int
readonly(self, int b)
- replace(*args)
- replace(self, int ?, int ?, char ?, int ?=0) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- static_value(*args)
- static_value(self, char ?) -> int
static_value(self, char ?, int ?) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
- undo(*args)
- undo(self) -> int
- value(*args)
- value(self, char ?) -> int
value(self, char ?, int ?) -> int
value(self) -> char
- wrap(*args)
- wrap(self) -> int
wrap(self, int b)
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- color_average(self, Fl_Color c, float i)
- copy(*args)
- copy(self, int W, int H) -> Fl_Image
copy(self) -> Fl_Image
- desaturate(*args)
- desaturate(self)
- draw(*args)
- draw(self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(self, int X, int Y)
- label(*args)
- label(self, Fl_Widget w)
label(self, Fl_Menu_Item m)
- uncache(*args)
- uncache(self)
Methods inherited from Fl_Image:
- count(*args)
- count(self) -> int
- d(*args)
- d(self) -> int
- data(*args)
- data(self) -> char
- h(*args)
- h(self) -> int
- inactive(*args)
- inactive(self)
- ld(*args)
- ld(self) -> int
- w(*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(*args)
- draw(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- measure(*args)
- measure(self, int ?, 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_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=0) -> Fl_Light_Button
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*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(*args)
- clear(self) -> int
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- set(*args)
- set(self) -> int
- setonly(*args)
- setonly(self)
- shortcut(*args)
- shortcut(self) -> int
shortcut(self, int s)
shortcut(self, char s)
- value(*args)
- value(self, int ?) -> int
value(self) -> char
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Line_Dial
- __repr__ = _swig_repr(self)
- draw(*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(*args)
- angle1(self) -> short
angle1(self, short a)
- angle2(*args)
- angle2(self) -> short
angle2(self, short a)
- angles(*args)
- angles(self, short a, short b)
- handle(*args)
- handle(self, int arg0) -> int
Methods inherited from Fl_Valuator:
- bounds(*args)
- bounds(self, double a, double b)
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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_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_. |
|
- Method resolution order:
- Fl_Menu_
- Fl_Widget
- __builtin__.object
Methods defined here:
- __del__ lambda self
- __disown__(self)
- __init__(self, *args)
- __init__(self, int ?, int ?, int ?, int ?, char ?=0) -> Fl_Menu_
- __repr__ = _swig_repr(self)
- add(*args)
- add(self, char ?, int shortcut, Fl_Callback ?, void ?=0, int ?=0) -> int
add(self, char ?) -> int
add(self, PyObject lObj, PyObject sObj, PyObject cObj, PyObject uObj=0,
PyObject fObj=0) -> int
- clear(*args)
- clear(self)
- copy(*args)
- copy(self, Fl_Menu_Item m, void user_data=0)
copy(self, PyObject args, PyObject user_data=0)
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- find_item(*args)
- find_item(self, char name) -> Fl_Menu_Item
- item_pathname(*args)
- item_pathname(self, char name, int namelen, Fl_Menu_Item finditem=0) -> int
- menu(*args)
- menu(self) -> Fl_Menu_Item
menu(self, PyObject args)
menu(self) -> PyObject
- mode(*args)
- mode(self, int i, int fl)
mode(self, int i) -> int
- mvalue(*args)
- mvalue(self) -> Fl_Menu_Item
- picked(*args)
- picked(self, Fl_Menu_Item ?) -> Fl_Menu_Item
- remove(*args)
- remove(self, int ?)
- replace(*args)
- replace(self, int ?, char ?)
- shortcut(*args)
- shortcut(self, int i, int s)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- test_shortcut(*args)
- test_shortcut(self) -> Fl_Menu_Item
- text(*args)
- text(self) -> char
text(self, int i) -> char
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int c)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar c)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar c)
- value(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw(*args)
- draw(self)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- handle(*args)
- handle(self, int arg0) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- 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=0) -> Fl_Menu_Bar
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*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(*args)
- add(self, char ?, int shortcut, Fl_Callback ?, void ?=0, int ?=0) -> int
add(self, char ?) -> int
add(self, PyObject lObj, PyObject sObj, PyObject cObj, PyObject uObj=0,
PyObject fObj=0) -> int
- clear(*args)
- clear(self)
- copy(*args)
- copy(self, Fl_Menu_Item m, void user_data=0)
copy(self, PyObject args, PyObject user_data=0)
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- find_item(*args)
- find_item(self, char name) -> Fl_Menu_Item
- item_pathname(*args)
- item_pathname(self, char name, int namelen, Fl_Menu_Item finditem=0) -> int
- menu(*args)
- menu(self) -> Fl_Menu_Item
menu(self, PyObject args)
menu(self) -> PyObject
- mode(*args)
- mode(self, int i, int fl)
mode(self, int i) -> int
- mvalue(*args)
- mvalue(self) -> Fl_Menu_Item
- picked(*args)
- picked(self, Fl_Menu_Item ?) -> Fl_Menu_Item
- remove(*args)
- remove(self, int ?)
- replace(*args)
- replace(self, int ?, char ?)
- shortcut(*args)
- shortcut(self, int i, int s)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- test_shortcut(*args)
- test_shortcut(self) -> Fl_Menu_Item
- text(*args)
- text(self) -> char
text(self, int i) -> char
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int c)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar c)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar c)
- value(*args)
- value(self) -> int
value(self, int i) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Menu_Button
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- popup(*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(*args)
- add(self, char ?, int shortcut, Fl_Callback ?, void ?=0, int ?=0) -> int
add(self, char ?) -> int
add(self, PyObject lObj, PyObject sObj, PyObject cObj, PyObject uObj=0,
PyObject fObj=0) -> int
- clear(*args)
- clear(self)
- copy(*args)
- copy(self, Fl_Menu_Item m, void user_data=0)
copy(self, PyObject args, PyObject user_data=0)
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- find_item(*args)
- find_item(self, char name) -> Fl_Menu_Item
- item_pathname(*args)
- item_pathname(self, char name, int namelen, Fl_Menu_Item finditem=0) -> int
- menu(*args)
- menu(self) -> Fl_Menu_Item
menu(self, PyObject args)
menu(self) -> PyObject
- mode(*args)
- mode(self, int i, int fl)
mode(self, int i) -> int
- mvalue(*args)
- mvalue(self) -> Fl_Menu_Item
- picked(*args)
- picked(self, Fl_Menu_Item ?) -> Fl_Menu_Item
- remove(*args)
- remove(self, int ?)
- replace(*args)
- replace(self, int ?, char ?)
- shortcut(*args)
- shortcut(self, int i, int s)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- test_shortcut(*args)
- test_shortcut(self) -> Fl_Menu_Item
- text(*args)
- text(self) -> char
text(self, int i) -> char
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int c)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar c)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar c)
- value(*args)
- value(self) -> int
value(self, int i) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- 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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- activevisible(*args)
- activevisible(self) -> int
- add(*args)
- add(self, char ?, int shortcut, Fl_Callback ?, void ?=0, int ?=0) -> int
add(self, char a, char b, Fl_Callback c, void d=0, int e=0) -> int
- argument(*args)
- argument(self) -> long
argument(self, long v)
- callback(*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(*args)
- check(self)
- checkbox(*args)
- checkbox(self) -> int
- checked(*args)
- checked(self) -> int
- clear(*args)
- clear(self)
- deactivate(*args)
- deactivate(self)
- do_callback(*args)
- do_callback(self, Fl_Widget o)
do_callback(self, Fl_Widget o, void arg)
do_callback(self, Fl_Widget o, long arg)
- draw(*args)
- draw(self, int x, int y, int w, int h, Fl_Menu_ ?, int t=0)
- find_shortcut(*args)
- find_shortcut(self, int ip=0) -> Fl_Menu_Item
- first(*args)
- first(self) -> Fl_Menu_Item
first(self) -> Fl_Menu_Item
- hide(*args)
- hide(self)
- image(*args)
- image(self, Fl_Image a)
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure(*args)
- measure(self, int h, Fl_Menu_ ?) -> int
- next(*args)
- next(self, int ?=1) -> Fl_Menu_Item
next(self, int i=1) -> Fl_Menu_Item
- popup(*args)
- popup(self, int X, int Y, char title=0, Fl_Menu_Item picked=0,
Fl_Menu_ ?=0) -> Fl_Menu_Item
- pulldown(*args)
- pulldown(self, int X, int Y, int W, int H, Fl_Menu_Item picked=0,
Fl_Menu_ ?=0, Fl_Menu_Item title=0, int menubar=0) -> Fl_Menu_Item
- radio(*args)
- radio(self) -> int
- set(*args)
- set(self)
- setonly(*args)
- setonly(self)
- shortcut(*args)
- shortcut(self) -> int
shortcut(self, int s)
- show(*args)
- show(self)
- size(*args)
- size(self) -> int
- submenu(*args)
- submenu(self) -> int
- test_shortcut(*args)
- test_shortcut(self) -> Fl_Menu_Item
- uncheck(*args)
- uncheck(self)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self) -> PyObject
- value(*args)
- value(self) -> int
- visible(*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=0) -> Fl_Menu_Window
__init__(self, int X, int Y, int W, int H, char l=0) -> Fl_Menu_Window
- __repr__ = _swig_repr(self)
- clear_overlay(*args)
- clear_overlay(self)
- draw(*args)
- draw(self)
- erase(*args)
- erase(self)
- flush(*args)
- flush(self)
- hide(*args)
- hide(self)
- overlay(*args)
- overlay(self) -> int
- set_overlay(*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(*args)
- show(self, PyObject count=0, PyObject data=0)
Methods inherited from Fl_Window:
- border(*args)
- border(self, int b)
border(self) -> int
- clear_border(*args)
- clear_border(self)
- copy_label(*args)
- copy_label(self, char a)
- cursor(*args)
- cursor(self, Fl_Cursor ?, Fl_Color ?=FL_BLACK, Fl_Color ?=FL_WHITE)
- default_cursor(*args)
- default_cursor(self, Fl_Cursor ?, Fl_Color ?=FL_BLACK, Fl_Color ?=FL_WHITE)
- free_position(*args)
- free_position(self)
- fullscreen(*args)
- fullscreen(self)
- fullscreen_off(*args)
- fullscreen_off(self, int ?, int ?, int ?, int ?)
- handle(*args)
- handle(self, int arg0) -> int
- hotspot(*args)
- hotspot(self, int x, int y, int offscreen=0)
hotspot(self, Fl_Widget ?, int offscreen=0)
- icon(*args)
- icon(self) -> void
icon(self, void ic)
- iconize(*args)
- iconize(self)
- iconlabel(*args)
- iconlabel(self) -> char
iconlabel(self, char ?)
- label(*args)
- label(self) -> char
label(self, char ?)
label(self, char label, char iconlabel)
- make_current(*args)
- make_current(self)
- modal(*args)
- modal(self) -> int
- non_modal(*args)
- non_modal(self) -> int
- override(*args)
- override(self) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- set_modal(*args)
- set_modal(self)
- set_non_modal(*args)
- set_non_modal(self)
- set_override(*args)
- set_override(self)
- shown(*args)
- shown(self) -> int
- size_range(*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(*args)
- x_root(self) -> int
- xclass(*args)
- xclass(self) -> char
xclass(self, char c)
- y_root(*args)
- y_root(self) -> int
Static methods inherited from Fl_Window:
- current(*args)
- current() -> Fl_Window
- default_callback(*args)
- default_callback(Fl_Window ?, void v)
Methods inherited from Fl_Group:
- add(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*args)
- resizable(self, Fl_Widget o)
resizable(self) -> Fl_Widget
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*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 ?) -> 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=0) -> Fl_Multi_Browser
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- full_height(*args)
- full_height(self) -> int
- full_width(*args)
- full_width(self) -> int
- incr_height(*args)
- incr_height(self) -> int
- item_draw(*args)
- item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
- item_first(*args)
- item_first(self) -> void
- item_height(*args)
- item_height(self, void arg0) -> int
- item_next(*args)
- item_next(self, void arg0) -> void
- item_prev(*args)
- item_prev(self, void arg0) -> void
- item_quick_height(*args)
- item_quick_height(self, void arg0) -> int
- item_select(*args)
- item_select(self, void arg0, int arg1)
- item_selected(*args)
- item_selected(self, void arg0) -> int
- item_width(*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(*args)
- add(self, char text, PyObject data=0)
- bottomline(*args)
- bottomline(self, int l)
- clear(*args)
- clear(self)
- column_char(*args)
- column_char(self) -> char
column_char(self, char c)
- column_widths(*args)
- column_widths(self) -> int
column_widths(self, PyObject widths)
- data(*args)
- data(self, int index, PyObject data=0) -> PyObject
- display(*args)
- display(self, int ?, int ?=1)
- displayed(*args)
- displayed(self, int n) -> int
- format_char(*args)
- format_char(self) -> char
format_char(self, char c)
- get_data(*args)
- get_data(self, int index) -> PyObject
- hide(*args)
- hide(self, int n)
hide(self)
- insert(*args)
- insert(self, int index, char text, PyObject data=0)
- lineposition(*args)
- lineposition(self, int ?, Fl_Line_Position ?)
- load(*args)
- load(self, char filename) -> int
- make_visible(*args)
- make_visible(self, int n)
- middleline(*args)
- middleline(self, int l)
- move(*args)
- move(self, int to, int from)
- remove(*args)
- remove(self, int ?)
- replace(*args)
- replace(self, int a, char b)
- select(*args)
- select(self, int ?, int ?=1) -> int
- selected(*args)
- selected(self, int ?) -> int
- show(*args)
- show(self, int n)
show(self)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- swap(*args)
- swap(self, int a, int b)
- text(*args)
- text(self, int ?) -> char
text(self, int ?, char ?)
- topline(*args)
- topline(self) -> int
topline(self, int l)
- value(*args)
- value(self) -> int
value(self, int v)
- visible(*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(*args)
- deselect(self, int docallbacks=0) -> int
- getHScrollbar(*args)
- getHScrollbar(self) -> Fl_Scrollbar
- getScrollbar(*args)
- getScrollbar(self) -> Fl_Scrollbar
- handle(*args)
- handle(self, int arg0) -> int
- has_scrollbar(*args)
- has_scrollbar(self) -> uchar
has_scrollbar(self, uchar i)
- hposition(*args)
- hposition(self) -> int
hposition(self, int ?)
- position(*args)
- position(self) -> int
position(self, int ?)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- scrollbar_left(*args)
- scrollbar_left(self)
- scrollbar_right(*args)
- scrollbar_right(self)
- select_only(*args)
- select_only(self, void ?, int docallbacks=0) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*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(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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_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=0) -> 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(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
Methods inherited from Fl_Input_:
- copy(*args)
- copy(self, int clipboard) -> int
- copy_cuts(*args)
- copy_cuts(self) -> int
- cursor_color(*args)
- cursor_color(self) -> Fl_Color
cursor_color(self, unsigned int n)
- cut(*args)
- cut(self) -> int
cut(self, int n) -> int
cut(self, int a, int b) -> int
- index(*args)
- index(self, int i) -> char
- input_type(*args)
- input_type(self) -> int
input_type(self, int t)
- insert(*args)
- insert(self, char t, int l=0) -> int
- mark(*args)
- mark(self) -> int
mark(self, int m) -> int
- maximum_size(*args)
- maximum_size(self) -> int
maximum_size(self, int m)
- position(*args)
- position(self) -> int
position(self, int p, int m) -> int
position(self, int p) -> int
- readonly(*args)
- readonly(self) -> int
readonly(self, int b)
- replace(*args)
- replace(self, int ?, int ?, char ?, int ?=0) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- static_value(*args)
- static_value(self, char ?) -> int
static_value(self, char ?, int ?) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
- undo(*args)
- undo(self) -> int
- value(*args)
- value(self, char ?) -> int
value(self, char ?, int ?) -> int
value(self) -> char
- wrap(*args)
- wrap(self) -> int
wrap(self, int b)
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> 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(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
Methods inherited from Fl_Input_:
- copy(*args)
- copy(self, int clipboard) -> int
- copy_cuts(*args)
- copy_cuts(self) -> int
- cursor_color(*args)
- cursor_color(self) -> Fl_Color
cursor_color(self, unsigned int n)
- cut(*args)
- cut(self) -> int
cut(self, int n) -> int
cut(self, int a, int b) -> int
- index(*args)
- index(self, int i) -> char
- input_type(*args)
- input_type(self) -> int
input_type(self, int t)
- insert(*args)
- insert(self, char t, int l=0) -> int
- mark(*args)
- mark(self) -> int
mark(self, int m) -> int
- maximum_size(*args)
- maximum_size(self) -> int
maximum_size(self, int m)
- position(*args)
- position(self) -> int
position(self, int p, int m) -> int
position(self, int p) -> int
- readonly(*args)
- readonly(self) -> int
readonly(self, int b)
- replace(*args)
- replace(self, int ?, int ?, char ?, int ?=0) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- static_value(*args)
- static_value(self, char ?) -> int
static_value(self, char ?, int ?) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
- undo(*args)
- undo(self) -> int
- value(*args)
- value(self, char ?) -> int
value(self, char ?, int ?) -> int
value(self) -> char
- wrap(*args)
- wrap(self) -> int
wrap(self, int b)
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> 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(*args)
- bounds(self, double a, double b)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- scrollvalue(*args)
- scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
- slider(*args)
- slider(self) -> Fl_Boxtype
slider(self, Fl_Boxtype c)
- slider_size(*args)
- slider_size(self) -> float
slider_size(self, double v)
Methods inherited from Fl_Valuator:
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> 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(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
Methods inherited from Fl_Input_:
- copy(*args)
- copy(self, int clipboard) -> int
- copy_cuts(*args)
- copy_cuts(self) -> int
- cursor_color(*args)
- cursor_color(self) -> Fl_Color
cursor_color(self, unsigned int n)
- cut(*args)
- cut(self) -> int
cut(self, int n) -> int
cut(self, int a, int b) -> int
- index(*args)
- index(self, int i) -> char
- input_type(*args)
- input_type(self) -> int
input_type(self, int t)
- insert(*args)
- insert(self, char t, int l=0) -> int
- mark(*args)
- mark(self) -> int
mark(self, int m) -> int
- maximum_size(*args)
- maximum_size(self) -> int
maximum_size(self, int m)
- position(*args)
- position(self) -> int
position(self, int p, int m) -> int
position(self, int p) -> int
- readonly(*args)
- readonly(self) -> int
readonly(self, int b)
- replace(*args)
- replace(self, int ?, int ?, char ?, int ?=0) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- static_value(*args)
- static_value(self, char ?) -> int
static_value(self, char ?, int ?) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
- undo(*args)
- undo(self) -> int
- value(*args)
- value(self, char ?) -> int
value(self, char ?, int ?) -> int
value(self) -> char
- wrap(*args)
- wrap(self) -> int
wrap(self, int b)
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- can_do_overlay(self) -> int
- draw(*args)
- draw(self)
- flush(*args)
- flush(self)
- hide(*args)
- hide(self)
- redraw_overlay(*args)
- redraw_overlay(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- show(*args)
- show(self, PyObject count=0, PyObject data=0)
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(*args)
- border(self, int b)
border(self) -> int
- clear_border(*args)
- clear_border(self)
- copy_label(*args)
- copy_label(self, char a)
- cursor(*args)
- cursor(self, Fl_Cursor ?, Fl_Color ?=FL_BLACK, Fl_Color ?=FL_WHITE)
- default_cursor(*args)
- default_cursor(self, Fl_Cursor ?, Fl_Color ?=FL_BLACK, Fl_Color ?=FL_WHITE)
- free_position(*args)
- free_position(self)
- fullscreen(*args)
- fullscreen(self)
- fullscreen_off(*args)
- fullscreen_off(self, int ?, int ?, int ?, int ?)
- handle(*args)
- handle(self, int arg0) -> int
- hotspot(*args)
- hotspot(self, int x, int y, int offscreen=0)
hotspot(self, Fl_Widget ?, int offscreen=0)
- icon(*args)
- icon(self) -> void
icon(self, void ic)
- iconize(*args)
- iconize(self)
- iconlabel(*args)
- iconlabel(self) -> char
iconlabel(self, char ?)
- label(*args)
- label(self) -> char
label(self, char ?)
label(self, char label, char iconlabel)
- make_current(*args)
- make_current(self)
- modal(*args)
- modal(self) -> int
- non_modal(*args)
- non_modal(self) -> int
- override(*args)
- override(self) -> int
- set_modal(*args)
- set_modal(self)
- set_non_modal(*args)
- set_non_modal(self)
- set_override(*args)
- set_override(self)
- shown(*args)
- shown(self) -> int
- size_range(*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(*args)
- x_root(self) -> int
- xclass(*args)
- xclass(self) -> char
xclass(self, char c)
- y_root(*args)
- y_root(self) -> int
Static methods inherited from Fl_Window:
- current(*args)
- current() -> Fl_Window
- default_callback(*args)
- default_callback(Fl_Window ?, void v)
Methods inherited from Fl_Group:
- add(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*args)
- resizable(self, Fl_Widget o)
resizable(self) -> Fl_Widget
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*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 ?) -> 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(*args)
- color_average(self, Fl_Color c, float i)
- copy(*args)
- copy(self, int W, int H) -> Fl_Image
copy(self) -> Fl_Image
- desaturate(*args)
- desaturate(self)
- draw(*args)
- draw(self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(self, int X, int Y)
- label(*args)
- label(self, Fl_Widget w)
label(self, Fl_Menu_Item m)
- uncache(*args)
- uncache(self)
Methods inherited from Fl_Image:
- count(*args)
- count(self) -> int
- d(*args)
- d(self) -> int
- data(*args)
- data(self) -> char
- h(*args)
- h(self) -> int
- inactive(*args)
- inactive(self)
- ld(*args)
- ld(self) -> int
- w(*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(*args)
- color_average(self, Fl_Color c, float i)
- copy(*args)
- copy(self, int W, int H) -> Fl_Image
copy(self) -> Fl_Image
- desaturate(*args)
- desaturate(self)
- draw(*args)
- draw(self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(self, int X, int Y)
- label(*args)
- label(self, Fl_Widget w)
label(self, Fl_Menu_Item m)
- uncache(*args)
- uncache(self)
Methods inherited from Fl_Image:
- count(*args)
- count(self) -> int
- d(*args)
- d(self) -> int
- data(*args)
- data(self) -> char
- h(*args)
- h(self) -> int
- inactive(*args)
- inactive(self)
- ld(*args)
- ld(self) -> int
- w(*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=0) -> Fl_Pack
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- horizontal(*args)
- horizontal(self) -> uchar
- spacing(*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(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- handle(*args)
- handle(self, int arg0) -> int
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*args)
- resizable(self, Fl_Widget o)
resizable(self) -> Fl_Widget
- resize(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- color_average(self, Fl_Color c, float i)
- copy(*args)
- copy(self, int W, int H) -> Fl_Image
copy(self) -> Fl_Image
- desaturate(*args)
- desaturate(self)
- draw(*args)
- draw(self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(self, int X, int Y)
- label(*args)
- label(self, Fl_Widget w)
label(self, Fl_Menu_Item m)
- uncache(*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(*args)
- count(self) -> int
- d(*args)
- d(self) -> int
- data(*args)
- data(self) -> char
- h(*args)
- h(self) -> int
- inactive(*args)
- inactive(self)
- ld(*args)
- ld(self) -> int
- w(*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=0) -> Fl_Positioner
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- value(*args)
- value(self, double ?, double ?) -> int
- xbounds(*args)
- xbounds(self, double ?, double ?)
- xmaximum(*args)
- xmaximum(self) -> double
xmaximum(self, double a)
- xminimum(*args)
- xminimum(self) -> double
xminimum(self, double a)
- xstep(*args)
- xstep(self, double a)
- xvalue(*args)
- xvalue(self) -> double
xvalue(self, double ?) -> int
- ybounds(*args)
- ybounds(self, double ?, double ?)
- ymaximum(*args)
- ymaximum(self) -> double
ymaximum(self, double a)
- yminimum(*args)
- yminimum(self) -> double
yminimum(self, double a)
- ystep(*args)
- ystep(self, double a)
- yvalue(*args)
- yvalue(self) -> double
yvalue(self, double ?) -> 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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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 ?, char group) -> Fl_Preferences
- __repr__ = _swig_repr(self)
- deleteEntry(*args)
- deleteEntry(self, char entry) -> char
- deleteGroup(*args)
- deleteGroup(self, char group) -> char
- entries(*args)
- entries(self) -> int
- entry(*args)
- entry(self, int ?) -> char
- entryExists(*args)
- entryExists(self, char entry) -> char
- flush(*args)
- flush(self)
- get(*args)
- get(self, char entry, int OUTPUT, int defaultValue) -> char
get(self, char entry, float OUTPUT, float defaultValue) -> char
get(self, char entry, double OUTPUT, double defaultValue) -> char
get(self, char entry, char value, char defaultValue, int maxSize) -> char
get(self, char entry, void value, void defaultValue, int defaultSize,
int maxSize) -> char
- getUserdataPath(*args)
- getUserdataPath(self, char path) -> char
- group(*args)
- group(self, int ?) -> char
- groupExists(*args)
- groupExists(self, char group) -> char
- groups(*args)
- groups(self) -> int
- set(*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(*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=0) -> Fl_Progress
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- maximum(*args)
- maximum(self, float v)
maximum(self) -> float
- minimum(*args)
- minimum(self, float v)
minimum(self) -> float
- value(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- handle(*args)
- handle(self, int arg0) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- color_average(self, Fl_Color c, float i)
- copy(*args)
- copy(self, int W, int H) -> Fl_Image
copy(self) -> Fl_Image
- desaturate(*args)
- desaturate(self)
- draw(*args)
- draw(self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(self, int X, int Y)
- label(*args)
- label(self, Fl_Widget w)
label(self, Fl_Menu_Item m)
- uncache(*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(*args)
- count(self) -> int
- d(*args)
- d(self) -> int
- data(*args)
- data(self) -> char
- h(*args)
- h(self) -> int
- inactive(*args)
- inactive(self)
- ld(*args)
- ld(self) -> int
- w(*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=0) -> Fl_Radio_Button
- __repr__ = _swig_repr(self)
- draw(*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(*args)
- clear(self) -> int
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- handle(*args)
- handle(self, int arg0) -> int
- set(*args)
- set(self) -> int
- setonly(*args)
- setonly(self)
- shortcut(*args)
- shortcut(self) -> int
shortcut(self, int s)
shortcut(self, char s)
- value(*args)
- value(self, int ?) -> int
value(self) -> char
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Radio_Light_Button
- __repr__ = _swig_repr(self)
- draw(*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(*args)
- handle(self, int arg0) -> int
Methods inherited from Fl_Button:
- clear(*args)
- clear(self) -> int
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- set(*args)
- set(self) -> int
- setonly(*args)
- setonly(self)
- shortcut(*args)
- shortcut(self) -> int
shortcut(self, int s)
shortcut(self, char s)
- value(*args)
- value(self, int ?) -> int
value(self) -> char
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Radio_Round_Button
- __repr__ = _swig_repr(self)
- draw(*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(*args)
- handle(self, int arg0) -> int
Methods inherited from Fl_Button:
- clear(*args)
- clear(self) -> int
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- set(*args)
- set(self) -> int
- setonly(*args)
- setonly(self)
- shortcut(*args)
- shortcut(self) -> int
shortcut(self, int s)
shortcut(self, char s)
- value(*args)
- value(self, int ?) -> int
value(self) -> char
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Repeat_Button
- __repr__ = _swig_repr(self)
- deactivate(*args)
- deactivate(self)
- draw(*args)
- draw(self)
- handle(*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(*args)
- clear(self) -> int
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- set(*args)
- set(self) -> int
- setonly(*args)
- setonly(self)
- shortcut(*args)
- shortcut(self) -> int
shortcut(self, int s)
shortcut(self, char s)
- value(*args)
- value(self, int ?) -> int
value(self) -> char
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Return_Button
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*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(*args)
- clear(self) -> int
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- set(*args)
- set(self) -> int
- setonly(*args)
- setonly(self)
- shortcut(*args)
- shortcut(self) -> int
shortcut(self, int s)
shortcut(self, char s)
- value(*args)
- value(self, int ?) -> int
value(self) -> char
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Roller
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*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(*args)
- bounds(self, double a, double b)
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Round_Button
- __repr__ = _swig_repr(self)
- draw(*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(*args)
- handle(self, int arg0) -> int
Methods inherited from Fl_Button:
- clear(*args)
- clear(self) -> int
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- set(*args)
- set(self) -> int
- setonly(*args)
- setonly(self)
- shortcut(*args)
- shortcut(self) -> int
shortcut(self, int s)
shortcut(self, char s)
- value(*args)
- value(self, int ?) -> int
value(self) -> char
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Round_Clock
- __repr__ = _swig_repr(self)
- draw(*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(*args)
- handle(self, int arg0) -> int
Methods inherited from Fl_Clock_Output:
- hour(*args)
- hour(self) -> int
- minute(*args)
- minute(self) -> int
- second(*args)
- second(self) -> int
- value(*args)
- value(self, ulong v)
value(self, int ?, int ?, int ?)
value(self) -> ulong
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Scroll
- __repr__ = _swig_repr(self)
- clear(*args)
- clear(self)
- draw(*args)
- draw(self)
- getHScrollbar(*args)
- getHScrollbar(self) -> Fl_Scrollbar
- getScrollbar(*args)
- getScrollbar(self) -> Fl_Scrollbar
- handle(*args)
- handle(self, int arg0) -> int
- position(*args)
- position(self, int ?, int ?)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- xposition(*args)
- xposition(self) -> int
- yposition(*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(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Scrollbar
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- linesize(*args)
- linesize(self) -> int
linesize(self, int i)
- value(*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(*args)
- bounds(self, double a, double b)
- scrollvalue(*args)
- scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
- slider(*args)
- slider(self) -> Fl_Boxtype
slider(self, Fl_Boxtype c)
- slider_size(*args)
- slider_size(self) -> float
slider_size(self, double v)
Methods inherited from Fl_Valuator:
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> 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(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
Methods inherited from Fl_Input_:
- copy(*args)
- copy(self, int clipboard) -> int
- copy_cuts(*args)
- copy_cuts(self) -> int
- cursor_color(*args)
- cursor_color(self) -> Fl_Color
cursor_color(self, unsigned int n)
- cut(*args)
- cut(self) -> int
cut(self, int n) -> int
cut(self, int a, int b) -> int
- index(*args)
- index(self, int i) -> char
- input_type(*args)
- input_type(self) -> int
input_type(self, int t)
- insert(*args)
- insert(self, char t, int l=0) -> int
- mark(*args)
- mark(self) -> int
mark(self, int m) -> int
- maximum_size(*args)
- maximum_size(self) -> int
maximum_size(self, int m)
- position(*args)
- position(self) -> int
position(self, int p, int m) -> int
position(self, int p) -> int
- readonly(*args)
- readonly(self) -> int
readonly(self, int b)
- replace(*args)
- replace(self, int ?, int ?, char ?, int ?=0) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- static_value(*args)
- static_value(self, char ?) -> int
static_value(self, char ?, int ?) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
- undo(*args)
- undo(self) -> int
- value(*args)
- value(self, char ?) -> int
value(self, char ?, int ?) -> int
value(self) -> char
- wrap(*args)
- wrap(self) -> int
wrap(self, int b)
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Select_Browser
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- full_height(*args)
- full_height(self) -> int
- full_width(*args)
- full_width(self) -> int
- incr_height(*args)
- incr_height(self) -> int
- item_draw(*args)
- item_draw(self, void arg0, int arg1, int arg2, int arg3, int arg4)
- item_first(*args)
- item_first(self) -> void
- item_height(*args)
- item_height(self, void arg0) -> int
- item_next(*args)
- item_next(self, void arg0) -> void
- item_prev(*args)
- item_prev(self, void arg0) -> void
- item_quick_height(*args)
- item_quick_height(self, void arg0) -> int
- item_select(*args)
- item_select(self, void arg0, int arg1)
- item_selected(*args)
- item_selected(self, void arg0) -> int
- item_width(*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(*args)
- add(self, char text, PyObject data=0)
- bottomline(*args)
- bottomline(self, int l)
- clear(*args)
- clear(self)
- column_char(*args)
- column_char(self) -> char
column_char(self, char c)
- column_widths(*args)
- column_widths(self) -> int
column_widths(self, PyObject widths)
- data(*args)
- data(self, int index, PyObject data=0) -> PyObject
- display(*args)
- display(self, int ?, int ?=1)
- displayed(*args)
- displayed(self, int n) -> int
- format_char(*args)
- format_char(self) -> char
format_char(self, char c)
- get_data(*args)
- get_data(self, int index) -> PyObject
- hide(*args)
- hide(self, int n)
hide(self)
- insert(*args)
- insert(self, int index, char text, PyObject data=0)
- lineposition(*args)
- lineposition(self, int ?, Fl_Line_Position ?)
- load(*args)
- load(self, char filename) -> int
- make_visible(*args)
- make_visible(self, int n)
- middleline(*args)
- middleline(self, int l)
- move(*args)
- move(self, int to, int from)
- remove(*args)
- remove(self, int ?)
- replace(*args)
- replace(self, int a, char b)
- select(*args)
- select(self, int ?, int ?=1) -> int
- selected(*args)
- selected(self, int ?) -> int
- show(*args)
- show(self, int n)
show(self)
- size(*args)
- size(self) -> int
size(self, int W, int H)
- swap(*args)
- swap(self, int a, int b)
- text(*args)
- text(self, int ?) -> char
text(self, int ?, char ?)
- topline(*args)
- topline(self) -> int
topline(self, int l)
- value(*args)
- value(self) -> int
value(self, int v)
- visible(*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(*args)
- deselect(self, int docallbacks=0) -> int
- getHScrollbar(*args)
- getHScrollbar(self) -> Fl_Scrollbar
- getScrollbar(*args)
- getScrollbar(self) -> Fl_Scrollbar
- handle(*args)
- handle(self, int arg0) -> int
- has_scrollbar(*args)
- has_scrollbar(self) -> uchar
has_scrollbar(self, uchar i)
- hposition(*args)
- hposition(self) -> int
hposition(self, int ?)
- position(*args)
- position(self) -> int
position(self, int ?)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- scrollbar_left(*args)
- scrollbar_left(self)
- scrollbar_right(*args)
- scrollbar_right(self)
- select_only(*args)
- select_only(self, void ?, int docallbacks=0) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*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(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Shared_Image
- __repr__ = _swig_repr(self)
- color_average(*args)
- color_average(self, Fl_Color c, float i)
- copy(*args)
- copy(self, int W, int H) -> Fl_Image
copy(self) -> Fl_Image
- desaturate(*args)
- desaturate(self)
- draw(*args)
- draw(self, int X, int Y, int W, int H, int cx, int cy)
draw(self, int X, int Y)
- name(*args)
- name(self) -> char
- refcount(*args)
- refcount(self) -> int
- release(*args)
- release(self)
- reload(*args)
- reload(self)
- uncache(*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(*args)
- count(self) -> int
- d(*args)
- d(self) -> int
- data(*args)
- data(self) -> char
- h(*args)
- h(self) -> int
- inactive(*args)
- inactive(self)
- label(*args)
- label(self, Fl_Widget w)
label(self, Fl_Menu_Item m)
- ld(*args)
- ld(self) -> int
- w(*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=0) -> Fl_Simple_Counter
- __repr__ = _swig_repr(self)
- draw(*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(*args)
- handle(self, int arg0) -> int
- lstep(*args)
- lstep(self, double a)
- step(*args)
- step(self, double a, double b)
step(self, double a)
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int s)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
Methods inherited from Fl_Valuator:
- bounds(*args)
- bounds(self, double a, double b)
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Single_Window
__init__(self, int X, int Y, int W, int H, char l=0) -> Fl_Single_Window
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- flush(*args)
- flush(self)
- show(*args)
- show(self, PyObject count=0, PyObject data=0)
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(*args)
- border(self, int b)
border(self) -> int
- clear_border(*args)
- clear_border(self)
- copy_label(*args)
- copy_label(self, char a)
- cursor(*args)
- cursor(self, Fl_Cursor ?, Fl_Color ?=FL_BLACK, Fl_Color ?=FL_WHITE)
- default_cursor(*args)
- default_cursor(self, Fl_Cursor ?, Fl_Color ?=FL_BLACK, Fl_Color ?=FL_WHITE)
- free_position(*args)
- free_position(self)
- fullscreen(*args)
- fullscreen(self)
- fullscreen_off(*args)
- fullscreen_off(self, int ?, int ?, int ?, int ?)
- handle(*args)
- handle(self, int arg0) -> int
- hide(*args)
- hide(self)
- hotspot(*args)
- hotspot(self, int x, int y, int offscreen=0)
hotspot(self, Fl_Widget ?, int offscreen=0)
- icon(*args)
- icon(self) -> void
icon(self, void ic)
- iconize(*args)
- iconize(self)
- iconlabel(*args)
- iconlabel(self) -> char
iconlabel(self, char ?)
- label(*args)
- label(self) -> char
label(self, char ?)
label(self, char label, char iconlabel)
- make_current(*args)
- make_current(self)
- modal(*args)
- modal(self) -> int
- non_modal(*args)
- non_modal(self) -> int
- override(*args)
- override(self) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- set_modal(*args)
- set_modal(self)
- set_non_modal(*args)
- set_non_modal(self)
- set_override(*args)
- set_override(self)
- shown(*args)
- shown(self) -> int
- size_range(*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(*args)
- x_root(self) -> int
- xclass(*args)
- xclass(self) -> char
xclass(self, char c)
- y_root(*args)
- y_root(self) -> int
Static methods inherited from Fl_Window:
- current(*args)
- current() -> Fl_Window
- default_callback(*args)
- default_callback(Fl_Window ?, void v)
Methods inherited from Fl_Group:
- add(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*args)
- resizable(self, Fl_Widget o)
resizable(self) -> Fl_Widget
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*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 ?) -> 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=0) -> Fl_Slider
__init__(self, uchar t, int x, int y, int w, int h, char l) -> Fl_Slider
- __repr__ = _swig_repr(self)
- bounds(*args)
- bounds(self, double a, double b)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- scrollvalue(*args)
- scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
- slider(*args)
- slider(self) -> Fl_Boxtype
slider(self, Fl_Boxtype c)
- slider_size(*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(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Spinner
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- format(*args)
- format(self) -> char
format(self, char f)
- handle(*args)
- handle(self, int event) -> int
- maximum(*args)
- maximum(self, double m)
maximum(self) -> double
- maxinum(*args)
- maxinum(self) -> double
- minimum(*args)
- minimum(self, double m)
minimum(self) -> double
- mininum(*args)
- mininum(self) -> double
- range(*args)
- range(self, double a, double b)
- resize(*args)
- resize(self, int X, int Y, int W, int H)
- step(*args)
- step(self) -> double
step(self, double s)
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, Fl_Color c)
- textfont(*args)
- textfont(self) -> uchar
textfont(self, uchar f)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
- type(*args)
- type(self) -> uchar
type(self, uchar v)
- value(*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(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Table
- __repr__ = _swig_repr(self)
- add(*args)
- add(self, Fl_Widget w)
- begin(*args)
- begin(self)
- callback_col(*args)
- callback_col(self) -> int
- callback_context(*args)
- callback_context(self) -> TableContext
- callback_row(*args)
- callback_row(self) -> int
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- col_header(*args)
- col_header(self) -> int
col_header(self, int flag)
- col_header_color(*args)
- col_header_color(self, Fl_Color val)
col_header_color(self) -> Fl_Color
- col_header_height(*args)
- col_header_height(self, int height)
col_header_height(self) -> int
- col_position(*args)
- col_position(self, int col)
col_position(self) -> int
- col_resize(*args)
- col_resize(self) -> int
col_resize(self, int flag)
- col_resize_min(*args)
- col_resize_min(self) -> int
col_resize_min(self, int val)
- col_width(*args)
- col_width(self, int col, int width)
col_width(self, int col) -> int
- col_width_all(*args)
- col_width_all(self, int width)
- cols(*args)
- cols(self, int val)
cols(self) -> int
- do_callback(*args)
- do_callback(self, TableContext context, int row, int col)
- draw(*args)
- draw(self)
- draw_cell(*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(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget w) -> int
- get_selection(*args)
- get_selection(self, int s_top, int s_left, int s_bottom, int s_right)
- handle(*args)
- handle(self, int e) -> int
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget w, int n)
- insert_before(*args)
- insert_before(self, Fl_Widget w, Fl_Widget w2)
- is_interactive_resize(*args)
- is_interactive_resize(self) -> int
- is_selected(*args)
- is_selected(self, int r, int c) -> int
- move_cursor(*args)
- move_cursor(self, int R, int C) -> int
- resize(*args)
- resize(self, int X, int Y, int W, int H)
- row_header(*args)
- row_header(self) -> int
row_header(self, int flag)
- row_header_color(*args)
- row_header_color(self, Fl_Color val)
row_header_color(self) -> Fl_Color
- row_header_width(*args)
- row_header_width(self, int width)
row_header_width(self) -> int
- row_height(*args)
- row_height(self, int row, int height)
row_height(self, int row) -> int
- row_height_all(*args)
- row_height_all(self, int height)
- row_position(*args)
- row_position(self, int row)
row_position(self) -> int
- row_resize(*args)
- row_resize(self) -> int
row_resize(self, int flag)
- row_resize_min(*args)
- row_resize_min(self) -> int
row_resize_min(self, int val)
- rows(*args)
- rows(self, int val)
rows(self) -> int
- set_selection(*args)
- set_selection(self, int s_top, int s_left, int s_bottom, int s_right)
- table_box(*args)
- table_box(self, Fl_Boxtype val)
table_box(self) -> Fl_Boxtype
- top_row(*args)
- top_row(self, int row)
top_row(self) -> int
- visible_cells(*args)
- visible_cells(self, int r1, int r2, int c1, int c2)
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(*args)
- add_resizable(self, Fl_Widget o)
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Table_Row
- __repr__ = _swig_repr(self)
- clear(*args)
- clear(self)
- draw_cell(*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(*args)
- find_cell(self, TableContext context, int R, int C, int X, int Y, int W,
int H) -> int
- handle(*args)
- handle(self, int event) -> int
- row_selected(*args)
- row_selected(self, int row) -> int
- rows(*args)
- rows(self, int val)
rows(self) -> int
- select_all_rows(*args)
- select_all_rows(self, int flag=1)
- select_row(*args)
- select_row(self, int row, int flag=1) -> int
- type(*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(*args)
- add(self, Fl_Widget w)
- begin(*args)
- begin(self)
- callback_col(*args)
- callback_col(self) -> int
- callback_context(*args)
- callback_context(self) -> TableContext
- callback_row(*args)
- callback_row(self) -> int
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- col_header(*args)
- col_header(self) -> int
col_header(self, int flag)
- col_header_color(*args)
- col_header_color(self, Fl_Color val)
col_header_color(self) -> Fl_Color
- col_header_height(*args)
- col_header_height(self, int height)
col_header_height(self) -> int
- col_position(*args)
- col_position(self, int col)
col_position(self) -> int
- col_resize(*args)
- col_resize(self) -> int
col_resize(self, int flag)
- col_resize_min(*args)
- col_resize_min(self) -> int
col_resize_min(self, int val)
- col_width(*args)
- col_width(self, int col, int width)
col_width(self, int col) -> int
- col_width_all(*args)
- col_width_all(self, int width)
- cols(*args)
- cols(self, int val)
cols(self) -> int
- do_callback(*args)
- do_callback(self, TableContext context, int row, int col)
- draw(*args)
- draw(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget w) -> int
- get_selection(*args)
- get_selection(self, int s_top, int s_left, int s_bottom, int s_right)
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget w, int n)
- insert_before(*args)
- insert_before(self, Fl_Widget w, Fl_Widget w2)
- is_interactive_resize(*args)
- is_interactive_resize(self) -> int
- is_selected(*args)
- is_selected(self, int r, int c) -> int
- move_cursor(*args)
- move_cursor(self, int R, int C) -> int
- resize(*args)
- resize(self, int X, int Y, int W, int H)
- row_header(*args)
- row_header(self) -> int
row_header(self, int flag)
- row_header_color(*args)
- row_header_color(self, Fl_Color val)
row_header_color(self) -> Fl_Color
- row_header_width(*args)
- row_header_width(self, int width)
row_header_width(self) -> int
- row_height(*args)
- row_height(self, int row, int height)
row_height(self, int row) -> int
- row_height_all(*args)
- row_height_all(self, int height)
- row_position(*args)
- row_position(self, int row)
row_position(self) -> int
- row_resize(*args)
- row_resize(self) -> int
row_resize(self, int flag)
- row_resize_min(*args)
- row_resize_min(self) -> int
row_resize_min(self, int val)
- set_selection(*args)
- set_selection(self, int s_top, int s_left, int s_bottom, int s_right)
- table_box(*args)
- table_box(self, Fl_Boxtype val)
table_box(self) -> Fl_Boxtype
- top_row(*args)
- top_row(self, int row)
top_row(self) -> int
- visible_cells(*args)
- visible_cells(self, int r1, int r2, int c1, int c2)
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(*args)
- add_resizable(self, Fl_Widget o)
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Tabs
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- push(*args)
- push(self) -> Fl_Widget
push(self, Fl_Widget ?) -> int
- value(*args)
- value(self) -> Fl_Widget
value(self, Fl_Widget ?) -> int
- which(*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(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*args)
- resizable(self, Fl_Widget o)
resizable(self) -> Fl_Widget
- resize(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- add_predelete_callback(self, Fl_Text_Predelete_Cb bufPredelCB, void cbArg)
- append(*args)
- append(self, char t)
- appendfile(*args)
- appendfile(self, char file, int buflen=128*1024) -> int
- call_modify_callbacks(*args)
- call_modify_callbacks(self)
- call_predelete_callbacks(*args)
- call_predelete_callbacks(self)
- canUndo(*args)
- canUndo(self, char flag=1)
- character(*args)
- character(self, int pos) -> char
- clear_rectangular(*args)
- clear_rectangular(self, int start, int end, int rectStart, int rectEnd)
- copy(*args)
- copy(self, Fl_Text_Buffer fromBuf, int fromStart, int fromEnd,
int toPos)
- count_displayed_characters(*args)
- count_displayed_characters(self, int lineStartPos, int targetPos) -> int
- count_lines(*args)
- count_lines(self, int startPos, int endPos) -> int
- findchar_backward(*args)
- findchar_backward(self, int startPos, char searchChar, int foundPos) -> int
- findchar_forward(*args)
- findchar_forward(self, int startPos, char searchChar, int foundPos) -> int
- findchars_backward(*args)
- findchars_backward(self, int startPos, char searchChars, int foundPos) -> int
- findchars_forward(*args)
- findchars_forward(self, int startPos, char searchChars, int foundPos) -> int
- highlight(*args)
- highlight(self, int start, int end)
highlight(self) -> int
- highlight_position(*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(*args)
- highlight_rectangular(self, int start, int end, int rectStart, int rectEnd)
- highlight_selection(*args)
- highlight_selection(self) -> Fl_Text_Selection
- highlight_text(*args)
- highlight_text(self) -> char
- insert(*args)
- insert(self, int pos, char text)
- insert_column(*args)
- insert_column(self, int column, int startPos, char text, int charsInserted,
int charsDeleted)
- insertfile(*args)
- insertfile(self, char file, int pos, int buflen=128*1024) -> int
- length(*args)
- length(self) -> int
- line_end(*args)
- line_end(self, int pos) -> int
- line_start(*args)
- line_start(self, int pos) -> int
- line_text(*args)
- line_text(self, int pos) -> char
- loadfile(*args)
- loadfile(self, char file, int buflen=128*1024) -> int
- null_substitution_character(*args)
- null_substitution_character(self) -> char
- outputfile(*args)
- outputfile(self, char file, int start, int end, int buflen=128*1024) -> int
- overlay_rectangular(*args)
- overlay_rectangular(self, int startPos, int rectStart, int rectEnd, char text,
int charsInserted, int charsDeleted)
- primary_selection(*args)
- primary_selection(self) -> Fl_Text_Selection
- remove(*args)
- remove(self, int start, int end)
- remove_modify_callback = __Fl_Text_BufferRemoveModifyCallback(self, *args)
- remove_predelete_callback(*args)
- remove_predelete_callback(self, Fl_Text_Predelete_Cb predelCB, void cbArg)
- remove_rectangular(*args)
- remove_rectangular(self, int start, int end, int rectStart, int rectEnd)
- remove_secondary_selection(*args)
- remove_secondary_selection(self)
- remove_selection(*args)
- remove_selection(self)
- replace(*args)
- replace(self, int start, int end, char text)
- replace_rectangular(*args)
- replace_rectangular(self, int start, int end, int rectStart, int rectEnd, char text)
- replace_secondary_selection(*args)
- replace_secondary_selection(self, char text)
- replace_selection(*args)
- replace_selection(self, char text)
- rewind_lines(*args)
- rewind_lines(self, int startPos, int nLines) -> int
- savefile(*args)
- savefile(self, char file, int buflen=128*1024) -> int
- search_backward(*args)
- search_backward(self, int startPos, char searchString, int foundPos, int matchCase=0) -> int
- search_forward(*args)
- search_forward(self, int startPos, char searchString, int foundPos, int matchCase=0) -> int
- secondary_select(*args)
- secondary_select(self, int start, int end)
- secondary_select_rectangular(*args)
- secondary_select_rectangular(self, int start, int end, int rectStart, int rectEnd)
- secondary_selected(*args)
- secondary_selected(self) -> int
- secondary_selection(*args)
- secondary_selection(self) -> Fl_Text_Selection
- secondary_selection_position(*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(*args)
- secondary_selection_text(self) -> char
- secondary_unselect(*args)
- secondary_unselect(self)
- select(*args)
- select(self, int start, int end)
- select_rectangular(*args)
- select_rectangular(self, int start, int end, int rectStart, int rectEnd)
- selected(*args)
- selected(self) -> int
- selection_position(*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(*args)
- selection_text(self) -> char
- skip_displayed_characters(*args)
- skip_displayed_characters(self, int lineStartPos, int nChars) -> int
- skip_lines(*args)
- skip_lines(self, int startPos, int nLines) -> int
- substitute_null_characters(*args)
- substitute_null_characters(self, char string, int length) -> int
- tab_distance(*args)
- tab_distance(self) -> int
tab_distance(self, int tabDist)
- text(*args)
- text(self) -> char
text(self, char text)
- text_in_rectangle(*args)
- text_in_rectangle(self, int start, int end, int rectStart, int rectEnd) -> char
- text_range(*args)
- text_range(self, int start, int end) -> char
- undo(*args)
- undo(self, int cp=0) -> int
- unhighlight(*args)
- unhighlight(self)
- unselect(*args)
- unselect(self)
- unsubstitute_null_characters(*args)
- unsubstitute_null_characters(self, char string)
- word_end(*args)
- word_end(self, int pos) -> int
- word_start(*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=0) -> Fl_Text_Display
- __repr__ = _swig_repr(self)
- buffer(*args)
- buffer(self, Fl_Text_Buffer buf)
buffer(self) -> Fl_Text_Buffer
- count_lines(*args)
- count_lines(self, int start, int end, bool start_pos_is_line_start) -> int
- cursor_color(*args)
- cursor_color(self) -> Fl_Color
cursor_color(self, Fl_Color n)
- cursor_style(*args)
- cursor_style(self, int style)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int e) -> int
- hide_cursor(*args)
- hide_cursor(self)
- highlight_data(*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(*args)
- in_selection(self, int x, int y) -> int
- insert(*args)
- insert(self, char text)
- insert_position(*args)
- insert_position(self, int newPos)
insert_position(self) -> int
- line_end(*args)
- line_end(self, int pos, bool start_pos_is_line_start) -> int
- line_start(*args)
- line_start(self, int pos) -> int
- move_down(*args)
- move_down(self) -> int
- move_left(*args)
- move_left(self) -> int
- move_right(*args)
- move_right(self) -> int
- move_up(*args)
- move_up(self) -> int
- next_word(*args)
- next_word(self)
- overstrike(*args)
- overstrike(self, char text)
- position_style(*args)
- position_style(self, int lineStartPos, int lineLen, int lineIndex, int dispIndex) -> int
- previous_word(*args)
- previous_word(self)
- redisplay_range(*args)
- redisplay_range(self, int start, int end)
- resize(*args)
- resize(self, int X, int Y, int W, int H)
- rewind_lines(*args)
- rewind_lines(self, int startPos, int nLines) -> int
- scroll(*args)
- scroll(self, int topLineNum, int horizOffset)
- scrollbar_align(*args)
- scrollbar_align(self) -> Fl_Align
scrollbar_align(self, Fl_Align a)
- scrollbar_width(*args)
- scrollbar_width(self) -> int
scrollbar_width(self, int W)
- show_cursor(*args)
- show_cursor(self, int b=1)
- show_insert_position(*args)
- show_insert_position(self)
- skip_lines(*args)
- skip_lines(self, int startPos, int nLines, bool startPosIsLineStart) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
- word_end(*args)
- word_end(self, int pos) -> int
- word_start(*args)
- word_start(self, int pos) -> int
- wrap_mode(*args)
- wrap_mode(self, int wrap, int wrap_margin)
- wrapped_column(*args)
- wrapped_column(self, int row, int column) -> int
- wrapped_row(*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(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Text_Editor
- __repr__ = _swig_repr(self)
- add_key_binding(*args)
- add_key_binding(self, int key, int state, Key_Func f)
- bound_key_function(*args)
- bound_key_function(self, int key, int state) -> Key_Func
- default_key_function(*args)
- default_key_function(self, Key_Func f)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int e) -> int
- insert_mode(*args)
- insert_mode(self, int b)
insert_mode(self) -> int
- remove_all_key_bindings(*args)
- remove_all_key_bindings(self)
- remove_key_binding(*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 ?, 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(*args)
- buffer(self, Fl_Text_Buffer buf)
buffer(self) -> Fl_Text_Buffer
- count_lines(*args)
- count_lines(self, int start, int end, bool start_pos_is_line_start) -> int
- cursor_color(*args)
- cursor_color(self) -> Fl_Color
cursor_color(self, Fl_Color n)
- cursor_style(*args)
- cursor_style(self, int style)
- hide_cursor(*args)
- hide_cursor(self)
- highlight_data(*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(*args)
- in_selection(self, int x, int y) -> int
- insert(*args)
- insert(self, char text)
- insert_position(*args)
- insert_position(self, int newPos)
insert_position(self) -> int
- line_end(*args)
- line_end(self, int pos, bool start_pos_is_line_start) -> int
- line_start(*args)
- line_start(self, int pos) -> int
- move_down(*args)
- move_down(self) -> int
- move_left(*args)
- move_left(self) -> int
- move_right(*args)
- move_right(self) -> int
- move_up(*args)
- move_up(self) -> int
- next_word(*args)
- next_word(self)
- overstrike(*args)
- overstrike(self, char text)
- position_style(*args)
- position_style(self, int lineStartPos, int lineLen, int lineIndex, int dispIndex) -> int
- previous_word(*args)
- previous_word(self)
- redisplay_range(*args)
- redisplay_range(self, int start, int end)
- resize(*args)
- resize(self, int X, int Y, int W, int H)
- rewind_lines(*args)
- rewind_lines(self, int startPos, int nLines) -> int
- scroll(*args)
- scroll(self, int topLineNum, int horizOffset)
- scrollbar_align(*args)
- scrollbar_align(self) -> Fl_Align
scrollbar_align(self, Fl_Align a)
- scrollbar_width(*args)
- scrollbar_width(self) -> int
scrollbar_width(self, int W)
- show_cursor(*args)
- show_cursor(self, int b=1)
- show_insert_position(*args)
- show_insert_position(self)
- skip_lines(*args)
- skip_lines(self, int startPos, int nLines, bool startPosIsLineStart) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
- word_end(*args)
- word_end(self, int pos) -> int
- word_start(*args)
- word_start(self, int pos) -> int
- wrap_mode(*args)
- wrap_mode(self, int wrap, int wrap_margin)
- wrapped_column(*args)
- wrapped_column(self, int row, int column) -> int
- wrapped_row(*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(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- end(self) -> int
- includes(*args)
- includes(self, int pos, int lineStartPos, int dispIndex) -> int
- position(*args)
- position(self, int start, int end) -> int
position(self, int start, int end, int isRect, int rectStart, int rectEnd) -> int
- rect_end(*args)
- rect_end(self) -> int
- rect_start(*args)
- rect_start(self) -> int
- rectangular(*args)
- rectangular(self) -> char
- selected(*args)
- selected(self) -> char
selected(self, char b)
- set(*args)
- set(self, int start, int end)
- set_rectangular(*args)
- set_rectangular(self, int start, int end, int rectStart, int rectEnd)
- start(*args)
- start(self) -> int
- update(*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=0) -> Fl_Tile
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- position(*args)
- position(self, int ?, int ?, int ?, int ?)
- resize(*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(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- color_average(self, Fl_Color c, float i)
- copy(*args)
- copy(self, int W, int H) -> Fl_Image
copy(self) -> Fl_Image
- desaturate(*args)
- desaturate(self)
- draw(*args)
- draw(self, int X, int Y, int W, int H, int cx, int cy)
draw(self, int X, int Y)
- image(*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(*args)
- count(self) -> int
- d(*args)
- d(self) -> int
- data(*args)
- data(self) -> char
- h(*args)
- h(self) -> int
- inactive(*args)
- inactive(self)
- label(*args)
- label(self, Fl_Widget w)
label(self, Fl_Menu_Item m)
- ld(*args)
- ld(self) -> int
- uncache(*args)
- uncache(self)
- w(*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(*args)
- direction(self) -> char
direction(self, char d)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- suspended(*args)
- suspended(self) -> char
suspended(self, char d)
- value(*args)
- value(self, double ?)
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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Toggle_Button
- __repr__ = _swig_repr(self)
- draw(*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(*args)
- clear(self) -> int
- down_box(*args)
- down_box(self) -> Fl_Boxtype
down_box(self, Fl_Boxtype b)
- down_color(*args)
- down_color(self) -> Fl_Color
down_color(self, unsigned int c)
- handle(*args)
- handle(self, int arg0) -> int
- set(*args)
- set(self) -> int
- setonly(*args)
- setonly(self)
- shortcut(*args)
- shortcut(self) -> int
shortcut(self, int s)
shortcut(self, char s)
- value(*args)
- value(self, int ?) -> int
value(self) -> char
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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_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(*args)
- bounds(self, double a, double b)
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> 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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw(*args)
- draw(self)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- handle(*args)
- handle(self, int arg0) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Value_Input
- __repr__ = _swig_repr(self)
- cursor_color(*args)
- cursor_color(self) -> Fl_Color
cursor_color(self, unsigned int n)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- soft(*args)
- soft(self, char s)
soft(self) -> char
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*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(*args)
- bounds(self, double a, double b)
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Value_Output
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- soft(*args)
- soft(self, uchar s)
soft(self) -> uchar
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int s)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*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(*args)
- bounds(self, double a, double b)
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0) -> Fl_Value_Slider
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int s)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*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(*args)
- bounds(self, double a, double b)
- scrollvalue(*args)
- scrollvalue(self, int windowtop, int windowsize, int first, int totalsize) -> int
- slider(*args)
- slider(self) -> Fl_Boxtype
slider(self, Fl_Boxtype c)
- slider_size(*args)
- slider_size(self) -> float
slider_size(self, double v)
Methods inherited from Fl_Valuator:
- clamp(*args)
- clamp(self, double ?) -> double
- format(*args)
- format(self, char format_string) -> int
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Widget
- __repr__ = _swig_repr(self)
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw(*args)
- draw(self)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- handle(*args)
- handle(self, int arg0) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods defined here:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Window
__init__(self, int ?, int ?, char ?=0) -> Fl_Window
- __repr__ = _swig_repr(self)
- border(*args)
- border(self, int b)
border(self) -> int
- clear_border(*args)
- clear_border(self)
- copy_label(*args)
- copy_label(self, char a)
- cursor(*args)
- cursor(self, Fl_Cursor ?, Fl_Color ?=FL_BLACK, Fl_Color ?=FL_WHITE)
- default_cursor(*args)
- default_cursor(self, Fl_Cursor ?, Fl_Color ?=FL_BLACK, Fl_Color ?=FL_WHITE)
- draw(*args)
- draw(self)
- flush(*args)
- flush(self)
- free_position(*args)
- free_position(self)
- fullscreen(*args)
- fullscreen(self)
- fullscreen_off(*args)
- fullscreen_off(self, int ?, int ?, int ?, int ?)
- handle(*args)
- handle(self, int arg0) -> int
- hide(*args)
- hide(self)
- hotspot(*args)
- hotspot(self, int x, int y, int offscreen=0)
hotspot(self, Fl_Widget ?, int offscreen=0)
- icon(*args)
- icon(self) -> void
icon(self, void ic)
- iconize(*args)
- iconize(self)
- iconlabel(*args)
- iconlabel(self) -> char
iconlabel(self, char ?)
- label(*args)
- label(self) -> char
label(self, char ?)
label(self, char label, char iconlabel)
- make_current(*args)
- make_current(self)
- modal(*args)
- modal(self) -> int
- non_modal(*args)
- non_modal(self) -> int
- override(*args)
- override(self) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- set_modal(*args)
- set_modal(self)
- set_non_modal(*args)
- set_non_modal(self)
- set_override(*args)
- set_override(self)
- show(*args)
- show(self, PyObject count=0, PyObject data=0)
- shown(*args)
- shown(self) -> int
- size_range(*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(*args)
- x_root(self) -> int
- xclass(*args)
- xclass(self) -> char
xclass(self, char c)
- y_root(*args)
- y_root(self) -> int
Static methods defined here:
- current(*args)
- current() -> Fl_Window
- default_callback(*args)
- default_callback(Fl_Window ?, 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(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*args)
- resizable(self, Fl_Widget o)
resizable(self) -> Fl_Widget
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*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 ?) -> 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 ?, int ?, int ?, int ?, char ?=0) -> Fl_Wizard
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- next(*args)
- next(self)
- prev(*args)
- prev(self)
- value(*args)
- value(self) -> Fl_Widget
value(self, Fl_Widget ?)
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(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- handle(*args)
- handle(self, int arg0) -> int
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*args)
- resizable(self, Fl_Widget o)
resizable(self) -> Fl_Widget
- resize(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- copy(self, int W, int H) -> Fl_Image
copy(self) -> Fl_Image
- draw(*args)
- draw(self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(self, int X, int Y)
- label(*args)
- label(self, Fl_Widget w)
label(self, Fl_Menu_Item m)
- uncache(*args)
- uncache(self)
Methods inherited from Fl_Image:
- color_average(*args)
- color_average(self, Fl_Color c, float i)
- count(*args)
- count(self) -> int
- d(*args)
- d(self) -> int
- data(*args)
- data(self) -> char
- desaturate(*args)
- desaturate(self)
- h(*args)
- h(self) -> int
- inactive(*args)
- inactive(self)
- ld(*args)
- ld(self) -> int
- w(*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(*args)
- color_average(self, Fl_Color c, float i)
- copy(*args)
- copy(self, int W, int H) -> Fl_Image
copy(self) -> Fl_Image
- desaturate(*args)
- desaturate(self)
- draw(*args)
- draw(self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(self, int X, int Y)
- label(*args)
- label(self, Fl_Widget w)
label(self, Fl_Menu_Item m)
- uncache(*args)
- uncache(self)
Methods inherited from Fl_Image:
- count(*args)
- count(self) -> int
- d(*args)
- d(self) -> int
- data(*args)
- data(self) -> char
- h(*args)
- h(self) -> int
- inactive(*args)
- inactive(self)
- ld(*args)
- ld(self) -> int
- w(*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(*args)
- draw(self)
- handle(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*args)
- draw(self)
- handle(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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(*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(*args)
- cursor_color(self) -> Fl_Color
cursor_color(self, unsigned int n)
- draw(*args)
- draw(self)
- handle(*args)
- handle(self, int arg0) -> int
- resize(*args)
- resize(self, int arg0, int arg1, int arg2, int arg3)
- soft(*args)
- soft(self, char s)
soft(self) -> char
- textcolor(*args)
- textcolor(self) -> Fl_Color
textcolor(self, unsigned int n)
- textfont(*args)
- textfont(self) -> Fl_Font
textfont(self, uchar s)
- textsize(*args)
- textsize(self) -> uchar
textsize(self, uchar s)
Methods inherited from Fl_Valuator:
- bounds(*args)
- bounds(self, double a, double b)
- clamp(*args)
- clamp(self, double ?) -> double
- increment(*args)
- increment(self, double ?, int ?) -> double
- maximum(*args)
- maximum(self) -> double
maximum(self, double a)
- minimum(*args)
- minimum(self) -> double
minimum(self, double a)
- precision(*args)
- precision(self, int ?)
- range(*args)
- range(self, double a, double b)
- round(*args)
- round(self, double ?) -> double
- step(*args)
- step(self, int a)
step(self, double a, int b)
step(self, double s)
step(self) -> double
- value(*args)
- value(self) -> double
value(self, double ?) -> int
Methods inherited from Fl_Widget:
- activate(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> 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=0, char bottomLabel=0) -> ListSelect
- __repr__ = _swig_repr(self)
- draw(*args)
- draw(self)
- getBottomBrowser(*args)
- getBottomBrowser(self) -> Fl_Multi_Browser
- getTopBrowser(*args)
- getTopBrowser(self) -> Fl_Multi_Browser
- resize(*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(*args)
- add(self, Fl_Widget o)
- add_resizable(*args)
- add_resizable(self, Fl_Widget o)
- begin(*args)
- begin(self)
- child(*args)
- child(self, int n) -> Fl_Widget
- children(*args)
- children(self) -> int
- clear(*args)
- clear(self)
- end(*args)
- end(self)
- find(*args)
- find(self, Fl_Widget o) -> int
- focus(*args)
- focus(self, Fl_Widget o)
- forms_end(*args)
- forms_end(self)
- handle(*args)
- handle(self, int arg0) -> int
- init_sizes(*args)
- init_sizes(self)
- insert(*args)
- insert(self, Fl_Widget ?, int i)
- insert_before(*args)
- insert_before(self, Fl_Widget o, Fl_Widget before)
- remove(*args)
- remove(self, Fl_Widget o)
- resizable(*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(*args)
- activate(self)
- active(*args)
- active(self) -> int
- active_r(*args)
- active_r(self) -> int
- align(*args)
- align(self) -> Fl_Align
align(self, uchar a)
- argument(*args)
- argument(self) -> long
argument(self, long v)
- box(*args)
- box(self) -> Fl_Boxtype
box(self, Fl_Boxtype a)
- callback = __Fl_WidgetCallback(self, *args)
- changed(*args)
- changed(self) -> int
- clear_changed(*args)
- clear_changed(self)
- clear_damage(*args)
- clear_damage(self, uchar c=0)
- clear_output(*args)
- clear_output(self)
- clear_visible(*args)
- clear_visible(self)
- clear_visible_focus(*args)
- clear_visible_focus(self)
- color(*args)
- color(self) -> Fl_Color
color(self, unsigned int a)
color(self, unsigned int a, unsigned int b)
- color2(*args)
- color2(self) -> Fl_Color
color2(self, unsigned int a)
- contains(*args)
- contains(self, Fl_Widget ?) -> int
- copy_label(*args)
- copy_label(self, char a)
- damage(*args)
- damage(self) -> uchar
damage(self, uchar c)
damage(self, uchar c, int ?, int ?, int ?, int ?)
- damage_resize(*args)
- damage_resize(self, int ?, int ?, int ?, int ?) -> int
- deactivate(*args)
- deactivate(self)
- deimage(*args)
- deimage(self) -> Fl_Image
deimage(self, Fl_Image a)
- do_callback(*args)
- do_callback(self)
do_callback(self, Fl_Widget o, void arg=0)
do_callback(self, Fl_Widget o, long arg)
- draw_label(*args)
- draw_label(self, int ?, int ?, int ?, int ?, Fl_Align ?)
- h(*args)
- h(self) -> int
- hide(*args)
- hide(self)
- image(*args)
- image(self) -> Fl_Image
image(self, Fl_Image a)
- inside(*args)
- inside(self, Fl_Widget o) -> int
- label(*args)
- label(self) -> char
label(self, char a)
label(self, Fl_Labeltype a, char b)
- labelcolor(*args)
- labelcolor(self) -> Fl_Color
labelcolor(self, unsigned int a)
- labelfont(*args)
- labelfont(self) -> Fl_Font
labelfont(self, uchar a)
- labelsize(*args)
- labelsize(self) -> uchar
labelsize(self, uchar a)
- labeltype(*args)
- labeltype(self) -> Fl_Labeltype
labeltype(self, Fl_Labeltype a)
- measure_label(*args)
- measure_label(self, int xx, int yy)
- output(*args)
- output(self) -> int
- parent(*args)
- parent(self) -> Fl_Group
parent(self, Fl_Group p)
- position(*args)
- position(self, int X, int Y)
- redraw(*args)
- redraw(self)
- redraw_label(*args)
- redraw_label(self)
- selection_color(*args)
- selection_color(self) -> Fl_Color
selection_color(self, unsigned int a)
- set_changed(*args)
- set_changed(self)
- set_output(*args)
- set_output(self)
- set_visible(*args)
- set_visible(self)
- set_visible_focus(*args)
- set_visible_focus(self)
- show(*args)
- show(self)
- size(*args)
- size(self, int W, int H)
- take_focus(*args)
- take_focus(self) -> int
- takesevents(*args)
- takesevents(self) -> int
- tooltip(*args)
- tooltip(self) -> char
tooltip(self, char t)
- type(*args)
- type(self) -> uchar
type(self, uchar t)
- user_data(*args)
- user_data(self)
user_data(self, void v)
user_data(self, PyObject PyData)
user_data(self) -> PyObject
- visible(*args)
- visible(self) -> int
- visible_focus(*args)
- visible_focus(self, int v)
visible_focus(self) -> int
- visible_r(*args)
- visible_r(self) -> int
- w(*args)
- w(self) -> int
- when(*args)
- when(self) -> Fl_When
when(self, uchar i)
- window(*args)
- window(self) -> Fl_Window
- x(*args)
- x(self) -> int
- y(*args)
- y(self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget ?, void ?)
- label_shortcut(*args)
- label_shortcut(char t) -> char
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char ?) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
|