| |
- builtins.object
-
- FL_CHART_ENTRY
- Fl
- Fl_End
- Fl_File_Chooser
- Fl_File_Icon
- Fl_Help_Block
- Fl_Help_Dialog
- Fl_Help_Font_Stack
- Fl_Help_Font_Style
- 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_Paged_Device
-
- Fl_Printer
- Fl_Preferences
- Fl_Text_Buffer
- Fl_Text_Selection
- Fl_Tooltip
- Fl_Tree_Item
- Fl_Tree_Item_Array
- Fl_Tree_Prefs
- 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_Tree
- 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
- Fl_Widget_Tracker
- Fl_X
- Fl_XFont_On_Demand
- Style_Table_Entry
class Fl(builtins.object) |
|
Fl(*args, **kwargs)
The Fl class is the FLTK global (static) class containing state
information and global methods for the current application. |
|
Methods defined here:
- __init__(self, *args, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __repr__ = _swig_repr(self)
Static methods defined here:
- __swig_destroy__ = delete_Fl(...)
- delete_Fl(Fl self)
- abi_check(*args)
- abi_check(int const val=(1*10000+3*100)) -> int
- abi_version(*args)
- abi_version() -> int
- add_awake_handler_(*args)
- add_awake_handler_(Fl_Awake_Handler arg1, void * arg2) -> int
- add_check = Fl_add_check(...)
- add_clipboard_notify(*args)
- add_clipboard_notify(Fl_Clipboard_Notify_Handler h, void * data=None)
- add_fd = Fl_add_fd(...)
- add_handler = Fl_add_handler(...)
- add_idle = Fl_add_idle(func, data=None)
- add_system_handler(*args)
- add_system_handler(Fl_System_Handler h, void * data)
- add_timeout = Fl_add_timeout(...)
- api_version(*args)
- api_version() -> int
- arg(*args)
- arg(int argc, char ** argv, int & i) -> int
- args(*args)
- args(int argc, char ** argv, int & i, Fl_Args_Handler cb=None) -> int
args(int argc, char ** argv)
- awake(*args)
- awake(void * message=None)
awake(Fl_Awake_Handler cb, void * message=None) -> int
- background(*args)
- background(uchar arg1, uchar arg2, uchar arg3)
- background2(*args)
- background2(uchar arg1, uchar arg2, uchar arg3)
- belowmouse(*args)
- belowmouse() -> Fl_Widget
belowmouse(Fl_Widget arg1)
- box_color(*args)
- box_color(Fl_Color arg1) -> Fl_Color
- box_dh(*args)
- box_dh(Fl_Boxtype arg1) -> int
- box_dw(*args)
- box_dw(Fl_Boxtype arg1) -> int
- box_dx(*args)
- box_dx(Fl_Boxtype arg1) -> int
- box_dy(*args)
- box_dy(Fl_Boxtype arg1) -> int
- call_screen_init(*args)
- call_screen_init()
- check(*args)
- check() -> int
- clear_widget_pointer(*args)
- clear_widget_pointer(Fl_Widget w)
- clipboard_contains(*args)
- clipboard_contains(char const * type) -> int
- compose(*args)
- compose(int & _del) -> int
- compose_reset(*args)
- compose_reset()
- copy(*args)
- copy(char const * stuff, int len, int destination, char const * type)
copy(char const * stuff, int len, int destination=0)
- damage(*args)
- damage(int d)
damage() -> int
- default_atclose(*args)
- default_atclose(Fl_Window arg1, void * arg2)
- delete_widget(*args)
- delete_widget(Fl_Widget w)
- disable_im(*args)
- disable_im()
- display(*args)
- display(char const * arg1)
- 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
- enable_im(*args)
- enable_im()
- 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_clipboard(*args)
- event_clipboard() -> void *
- event_clipboard_type(*args)
- event_clipboard_type() -> char const *
- event_command(*args)
- event_command() -> int
- event_ctrl(*args)
- event_ctrl() -> int
- event_dispatch(*args)
- event_dispatch(Fl_Event_Dispatch d)
event_dispatch() -> Fl_Event_Dispatch
- event_dx(*args)
- event_dx() -> int
- event_dy(*args)
- event_dy() -> int
- event_inside(*args)
- event_inside(int arg1, int arg2, int arg3, int arg4) -> int
event_inside(Fl_Widget arg1) -> int
- event_is_click(*args)
- event_is_click() -> int
event_is_click(int i)
- event_key(*args)
- event_key() -> int
event_key(int key) -> 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 mask) -> int
- event_text(*args)
- event_text() -> char const *
- 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 arg1)
- fltk_exit(*args)
- fltk_exit()
- flush(*args)
- flush()
- focus(*args)
- focus() -> Fl_Widget
focus(Fl_Widget arg1)
- foreground(*args)
- foreground(uchar arg1, uchar arg2, uchar arg3)
- free_color(*args)
- free_color(Fl_Color i, int overlay=0)
- get_boxtype(*args)
- get_boxtype(Fl_Boxtype arg1) -> Fl_Box_Draw_F *
- get_color(*args)
- get_color(Fl_Color i)
- get_font(*args)
- get_font(Fl_Font arg1) -> char const *
- get_font_name(*args)
- get_font_name(Fl_Font arg1) -> char const *
- get_font_sizes = Fl_get_font_sizes_tmp(...)
- get_key(*args)
- get_key(int key) -> int
- get_mouse(*args)
- get_mouse(int & arg1, int & arg2)
- get_system_colors(*args)
- get_system_colors()
- grab(*args)
- grab() -> Fl_Window
grab(Fl_Window arg1)
- h(*args)
- h() -> int
- handle(*args)
- handle(int arg1, Fl_Window arg2) -> int
- handle_(*args)
- handle_(int arg1, Fl_Window arg2) -> int
- has_idle(*args)
- has_idle(Fl_Idle_Handler cb, void * data=None) -> int
- has_timeout(*args)
- has_timeout(Fl_Timeout_Handler arg1, void * arg2=None) -> int
- is_scheme(*args)
- is_scheme(char const * name) -> int
- lock(*args)
- lock() -> int
- modal(*args)
- modal() -> Fl_Window
- mt_run = Fl_mt_run(window)
- next_window(*args)
- next_window(Fl_Window arg1) -> Fl_Window
- option(*args)
- option(Fl::Fl_Option opt) -> bool
option(Fl::Fl_Option opt, bool val)
- own_colormap(*args)
- own_colormap()
- paste(*args)
- paste(Fl_Widget receiver, int source, char const * type)
paste(Fl_Widget receiver, int source)
paste(Fl_Widget receiver)
- pushed(*args)
- pushed() -> Fl_Widget
pushed(Fl_Widget arg1)
- 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_clipboard_notify(*args)
- remove_clipboard_notify(Fl_Clipboard_Notify_Handler h)
- remove_fd = Fl_remove_fd(...)
- remove_handler = Fl_remove_handler(...)
- remove_idle = Fl_remove_idle(func, data=None)
- remove_system_handler(*args)
- remove_system_handler(Fl_System_Handler h)
- remove_timeout = Fl_remove_timeout(...)
- repeat_timeout = Fl_repeat_timeout(...)
- run(*args)
- run() -> int
- scheme(*args)
- scheme(char const * name) -> int
scheme() -> char const *
- screen_count(*args)
- screen_count() -> int
- screen_dpi(*args)
- screen_dpi(float & h, float & v, int n=0)
- screen_num(*args)
- screen_num(int x, int y) -> int
screen_num(int x, int y, int w, int h) -> int
- screen_work_area(*args)
- screen_work_area(int & X, int & Y, int & W, int & H, int mx, int my)
screen_work_area(int & X, int & Y, int & W, int & H, int n)
screen_work_area(int & X, int & Y, int & W, int & H)
- screen_xywh(*args)
- screen_xywh(int & X, int & Y, int & W, int & H)
screen_xywh(int & X, int & Y, int & W, int & H, int mx, int my)
screen_xywh(int & X, int & Y, int & W, int & H, int n)
screen_xywh(int & X, int & Y, int & W, int & H, int mx, int my, int mw, int mh)
- scrollbar_size(*args)
- scrollbar_size() -> int
scrollbar_size(int W)
- selection(*args)
- selection(Fl_Widget owner, char const * arg2, int len)
- selection_owner(*args)
- selection_owner() -> Fl_Widget
selection_owner(Fl_Widget arg1)
- set_abort(*args)
- set_abort(Fl_Abort_Handler f)
- set_atclose(*args)
- set_atclose(Fl_Atclose_Handler f)
- set_box_color(*args)
- set_box_color(Fl_Color arg1)
- set_boxtype(*args)
- set_boxtype(Fl_Boxtype arg1, Fl_Box_Draw_F * arg2, uchar arg3, uchar arg4, uchar arg5, uchar arg6)
set_boxtype(Fl_Boxtype arg1, Fl_Boxtype _from)
- set_color(*args)
- set_color(Fl_Color arg1, uchar arg2, uchar arg3, uchar arg4)
set_color(Fl_Color i, unsigned int c)
- set_font(*args)
- set_font(Fl_Font arg1, char const * arg2)
set_font(Fl_Font arg1, Fl_Font arg2)
- set_fonts(*args)
- set_fonts(char const * arg1=None) -> Fl_Font
- set_idle(*args)
- set_idle(Fl_Old_Idle_Handler cb)
- set_labeltype(*args)
- set_labeltype(Fl_Labeltype arg1, Fl_Label_Draw_F * arg2, Fl_Label_Measure_F * arg3)
- test_shortcut(*args)
- test_shortcut(Fl_Shortcut arg1) -> int
- thread_message(*args)
- thread_message() -> void *
- unlock(*args)
- unlock()
- use_high_res_GL(*args)
- use_high_res_GL(int val)
use_high_res_GL() -> int
- version(*args)
- version() -> double
- visible_focus(*args)
- visible_focus(int v)
visible_focus() -> int
- visual(*args)
- visual(int arg1) -> 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
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
Data and other attributes defined here:
- OPTION_ARROW_FOCUS = 0
- OPTION_DND_TEXT = 2
- OPTION_FNFC_USES_GTK = 4
- OPTION_LAST = 5
- OPTION_SHOW_TOOLTIPS = 3
- OPTION_VISIBLE_FOCUS = 1
|
class Fl_Adjuster(Fl_Valuator) |
|
Fl_Adjuster(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Adjuster self, int X, int Y, int W, int H, char const * l=None) -> Fl_Adjuster
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Adjuster self)
- handle(self, *args)
- handle(Fl_Adjuster self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Adjuster self, char * Fl_Adjuster)
- soft(self, *args)
- soft(Fl_Adjuster self, int s)
soft(Fl_Adjuster self) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Adjuster(...)
- delete_Fl_Adjuster(Fl_Adjuster self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Valuator:
- bounds(self, *args)
- bounds(Fl_Valuator self, double a, double b)
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_BMP_Image(Fl_RGB_Image) |
|
Fl_BMP_Image(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_BMP_Image self, char const * filename) -> Fl_BMP_Image
- __repr__ = _swig_repr(self)
Static methods defined here:
- __swig_destroy__ = delete_Fl_BMP_Image(...)
- delete_Fl_BMP_Image(Fl_BMP_Image self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_RGB_Image:
- color_average(self, *args)
- color_average(Fl_RGB_Image self, Fl_Color c, float i)
- copy(self, *args)
- copy(Fl_RGB_Image self, int W, int H) -> Fl_Image
copy(Fl_RGB_Image self) -> Fl_Image
- desaturate(self, *args)
- desaturate(Fl_RGB_Image self)
- draw(self, *args)
- draw(Fl_RGB_Image self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(Fl_RGB_Image self, int X, int Y)
- label(self, *args)
- label(Fl_RGB_Image self, Fl_Widget w)
label(Fl_RGB_Image self, Fl_Menu_Item m)
- uncache(self, *args)
- uncache(Fl_RGB_Image self)
Static methods inherited from Fl_RGB_Image:
- max_size(*args)
- max_size(size_t size)
max_size() -> size_t
Methods inherited from Fl_Image:
- count(self, *args)
- count(Fl_Image self) -> int
- d(self, *args)
- d(Fl_Image self) -> int
- data(self, *args)
- data(Fl_Image self) -> char const *const *
- fail(self, *args)
- fail(Fl_Image self) -> int
- h(self, *args)
- h(Fl_Image self) -> int
- inactive(self, *args)
- inactive(Fl_Image self)
- ld(self, *args)
- ld(Fl_Image self) -> int
- w(self, *args)
- w(Fl_Image self) -> int
Static methods inherited from Fl_Image:
- RGB_scaling(*args)
- RGB_scaling(Fl_RGB_Scaling arg1)
RGB_scaling() -> Fl_RGB_Scaling
Data descriptors inherited from Fl_Image:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Bitmap(Fl_Image) |
|
Fl_Bitmap(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Bitmap self, uchar const * bits, int W, int H) -> Fl_Bitmap
- __repr__ = _swig_repr(self)
- copy(self, *args)
- copy(Fl_Bitmap self, int W, int H) -> Fl_Image
copy(Fl_Bitmap self) -> Fl_Image
- draw(self, *args)
- draw(Fl_Bitmap self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(Fl_Bitmap self, int X, int Y)
- label(self, *args)
- label(Fl_Bitmap self, Fl_Widget w)
label(Fl_Bitmap self, Fl_Menu_Item m)
- uncache(self, *args)
- uncache(Fl_Bitmap self)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Bitmap(...)
- delete_Fl_Bitmap(Fl_Bitmap self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Image:
- color_average(self, *args)
- color_average(Fl_Image self, Fl_Color c, float i)
- count(self, *args)
- count(Fl_Image self) -> int
- d(self, *args)
- d(Fl_Image self) -> int
- data(self, *args)
- data(Fl_Image self) -> char const *const *
- desaturate(self, *args)
- desaturate(Fl_Image self)
- fail(self, *args)
- fail(Fl_Image self) -> int
- h(self, *args)
- h(Fl_Image self) -> int
- inactive(self, *args)
- inactive(Fl_Image self)
- ld(self, *args)
- ld(Fl_Image self) -> int
- w(self, *args)
- w(Fl_Image self) -> int
Static methods inherited from Fl_Image:
- RGB_scaling(*args)
- RGB_scaling(Fl_RGB_Scaling arg1)
RGB_scaling() -> Fl_RGB_Scaling
Data descriptors inherited from Fl_Image:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Box(Fl_Widget) |
|
Fl_Box(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Box self, int X, int Y, int W, int H, char const * l=None) -> Fl_Box
__init__(Fl_Box self, Fl_Boxtype b, int X, int Y, int W, int H, char const * l) -> Fl_Box
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Box self)
- handle(self, *args)
- handle(Fl_Box self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Box self, char * Fl_Box)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Box(...)
- delete_Fl_Box(Fl_Box self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Browser(Fl_Browser_) |
|
Fl_Browser(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Browser self, int X, int Y, int W, int H, char const * L=None) -> Fl_Browser
- __repr__ = _swig_repr(self)
- add(self, *args)
- add(Fl_Browser self, char const * text, PyObject * data=None)
- bottomline(self, *args)
- bottomline(Fl_Browser self, int line)
- clear(self, *args)
- clear(Fl_Browser self)
- column_char(self, *args)
- column_char(Fl_Browser self) -> char
column_char(Fl_Browser self, char c)
- column_widths(self, *args)
- column_widths(Fl_Browser self) -> int const
column_widths(Fl_Browser self, PyObject * widths)
- data(self, *args)
- data(Fl_Browser self, int index, PyObject * data=None) -> PyObject *
- display(self, *args)
- display(Fl_Browser self, int line, int val=1)
- displayed(self, *args)
- displayed(Fl_Browser self, int line) -> int
- draw(self, *args)
- draw(Fl_Browser self)
- format_char(self, *args)
- format_char(Fl_Browser self) -> char
format_char(Fl_Browser self, char c)
- full_height(self, *args)
- full_height(Fl_Browser self) -> int
- full_width(self, *args)
- full_width(Fl_Browser self) -> int
- get_data(self, *args)
- get_data(Fl_Browser self, int index) -> PyObject *
- hide(self, *args)
- hide(Fl_Browser self, int line)
hide(Fl_Browser self)
- icon(self, *args)
- icon(Fl_Browser self, int line, Fl_Image icon)
icon(Fl_Browser self, int line) -> Fl_Image
- incr_height(self, *args)
- incr_height(Fl_Browser self) -> int
- init_type(self, *args)
- init_type(Fl_Browser self, char * Fl_Browser)
- insert(self, *args)
- insert(Fl_Browser self, int index, char const * text, PyObject * data=None)
- item_at(self, *args)
- item_at(Fl_Browser self, int line) -> void *
- item_draw(self, *args)
- item_draw(Fl_Browser self, void * item, int X, int Y, int W, int H)
- item_first(self, *args)
- item_first(Fl_Browser self) -> void *
- item_height(self, *args)
- item_height(Fl_Browser self, void * item) -> int
- item_last(self, *args)
- item_last(Fl_Browser self) -> void *
- item_next(self, *args)
- item_next(Fl_Browser self, void * item) -> void *
- item_prev(self, *args)
- item_prev(Fl_Browser self, void * item) -> void *
- item_quick_height(self, *args)
- item_quick_height(Fl_Browser self, void * item) -> int
- item_select(self, *args)
- item_select(Fl_Browser self, void * item, int val)
- item_selected(self, *args)
- item_selected(Fl_Browser self, void * item) -> int
- item_swap(self, *args)
- item_swap(Fl_Browser self, void * a, void * b)
- item_text(self, *args)
- item_text(Fl_Browser self, void * item) -> char const *
- item_width(self, *args)
- item_width(Fl_Browser self, void * item) -> int
- lineposition(self, *args)
- lineposition(Fl_Browser self, int line, Fl_Browser::Fl_Line_Position pos)
- load(self, *args)
- load(Fl_Browser self, char const * filename) -> int
- make_visible(self, *args)
- make_visible(Fl_Browser self, int line)
- middleline(self, *args)
- middleline(Fl_Browser self, int line)
- move(self, *args)
- move(Fl_Browser self, int to, int _from)
- remove(self, *args)
- remove(Fl_Browser self, int line)
- remove_icon(self, *args)
- remove_icon(Fl_Browser self, int line)
- replace(self, *args)
- replace(Fl_Browser self, int a, char const * b)
- select(self, *args)
- select(Fl_Browser self, int line, int val=1) -> int
- selected(self, *args)
- selected(Fl_Browser self, int line) -> int
- show(self, *args)
- show(Fl_Browser self, int line)
show(Fl_Browser self)
- size(self, *args)
- size(Fl_Browser self) -> int
size(Fl_Browser self, int W, int H)
- swap(self, *args)
- swap(Fl_Browser self, int a, int b)
- text(self, *args)
- text(Fl_Browser self, int line) -> char const
text(Fl_Browser self, int line, char const * newtext)
- textsize(self, *args)
- textsize(Fl_Browser self) -> Fl_Fontsize
textsize(Fl_Browser self, Fl_Fontsize newSize)
- topline(self, *args)
- topline(Fl_Browser self) -> int
topline(Fl_Browser self, int line)
- value(self, *args)
- value(Fl_Browser self) -> int
value(Fl_Browser self, int line)
- visible(self, *args)
- visible(Fl_Browser self, int line) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Browser(...)
- delete_Fl_Browser(Fl_Browser self)
Data descriptors defined here:
- thisown
- The membership flag
Data and other attributes defined here:
- BOTTOM = 1
- MIDDLE = 2
- TOP = 0
Methods inherited from Fl_Browser_:
- deselect(self, *args)
- deselect(Fl_Browser_ self, int docallbacks=0) -> int
- getHScrollbar(self, *args)
- getHScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- getScrollbar(self, *args)
- getScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- handle(self, *args)
- handle(Fl_Browser_ self, int event) -> int
- has_scrollbar(self, *args)
- has_scrollbar(Fl_Browser_ self) -> uchar
has_scrollbar(Fl_Browser_ self, uchar mode)
- hposition(self, *args)
- hposition(Fl_Browser_ self) -> int
hposition(Fl_Browser_ self, int arg2)
- position(self, *args)
- position(Fl_Browser_ self) -> int
position(Fl_Browser_ self, int pos)
- resize(self, *args)
- resize(Fl_Browser_ self, int X, int Y, int W, int H)
- scrollbar_left(self, *args)
- scrollbar_left(Fl_Browser_ self)
- scrollbar_right(self, *args)
- scrollbar_right(Fl_Browser_ self)
- scrollbar_size(self, *args)
- scrollbar_size(Fl_Browser_ self) -> int
scrollbar_size(Fl_Browser_ self, int newSize)
- scrollbar_width(self, *args)
- scrollbar_width(Fl_Browser_ self) -> int
scrollbar_width(Fl_Browser_ self, int width)
- select_only(self, *args)
- select_only(Fl_Browser_ self, void * item, int docallbacks=0) -> int
- sort(self, *args)
- sort(Fl_Browser_ self, int flags=0)
- textcolor(self, *args)
- textcolor(Fl_Browser_ self) -> Fl_Color
textcolor(Fl_Browser_ self, Fl_Color col)
- textfont(self, *args)
- textfont(Fl_Browser_ self) -> Fl_Font
textfont(Fl_Browser_ self, Fl_Font font)
Data and other attributes inherited from Fl_Browser_:
- ALWAYS_ON = 4
- BOTH = 3
- BOTH_ALWAYS = 7
- HORIZONTAL = 1
- HORIZONTAL_ALWAYS = 5
- VERTICAL = 2
- VERTICAL_ALWAYS = 6
Methods inherited from Fl_Group:
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Browser_(Fl_Group) |
|
Fl_Browser_(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Browser_ self, int X, int Y, int W, int H, char const * L=None) -> Fl_Browser_
- __repr__ = _swig_repr(self)
- deselect(self, *args)
- deselect(Fl_Browser_ self, int docallbacks=0) -> int
- display(self, *args)
- display(Fl_Browser_ self, void * item)
- draw(self, *args)
- draw(Fl_Browser_ self)
- full_height(self, *args)
- full_height(Fl_Browser_ self) -> int
- full_width(self, *args)
- full_width(Fl_Browser_ self) -> int
- getHScrollbar(self, *args)
- getHScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- getScrollbar(self, *args)
- getScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- handle(self, *args)
- handle(Fl_Browser_ self, int event) -> int
- has_scrollbar(self, *args)
- has_scrollbar(Fl_Browser_ self) -> uchar
has_scrollbar(Fl_Browser_ self, uchar mode)
- hposition(self, *args)
- hposition(Fl_Browser_ self) -> int
hposition(Fl_Browser_ self, int arg2)
- incr_height(self, *args)
- incr_height(Fl_Browser_ self) -> int
- init_type(self, *args)
- init_type(Fl_Browser_ self, char * Fl_Browser_)
- item_at(self, *args)
- item_at(Fl_Browser_ self, int index) -> void *
- item_draw(self, *args)
- item_draw(Fl_Browser_ self, void * item, int X, int Y, int W, int H)
- item_first(self, *args)
- item_first(Fl_Browser_ self) -> void *
- item_height(self, *args)
- item_height(Fl_Browser_ self, void * item) -> int
- item_last(self, *args)
- item_last(Fl_Browser_ self) -> void *
- item_next(self, *args)
- item_next(Fl_Browser_ self, void * item) -> void *
- item_prev(self, *args)
- item_prev(Fl_Browser_ self, void * item) -> void *
- item_quick_height(self, *args)
- item_quick_height(Fl_Browser_ self, void * item) -> int
- item_select(self, *args)
- item_select(Fl_Browser_ self, void * item, int val=1)
- item_selected(self, *args)
- item_selected(Fl_Browser_ self, void * item) -> int
- item_swap(self, *args)
- item_swap(Fl_Browser_ self, void * a, void * b)
- item_text(self, *args)
- item_text(Fl_Browser_ self, void * item) -> char const *
- item_width(self, *args)
- item_width(Fl_Browser_ self, void * item) -> int
- position(self, *args)
- position(Fl_Browser_ self) -> int
position(Fl_Browser_ self, int pos)
- resize(self, *args)
- resize(Fl_Browser_ self, int X, int Y, int W, int H)
- scrollbar_left(self, *args)
- scrollbar_left(Fl_Browser_ self)
- scrollbar_right(self, *args)
- scrollbar_right(Fl_Browser_ self)
- scrollbar_size(self, *args)
- scrollbar_size(Fl_Browser_ self) -> int
scrollbar_size(Fl_Browser_ self, int newSize)
- scrollbar_width(self, *args)
- scrollbar_width(Fl_Browser_ self) -> int
scrollbar_width(Fl_Browser_ self, int width)
- select(self, *args)
- select(Fl_Browser_ self, void * item, int val=1, int docallbacks=0) -> int
- select_only(self, *args)
- select_only(Fl_Browser_ self, void * item, int docallbacks=0) -> int
- sort(self, *args)
- sort(Fl_Browser_ self, int flags=0)
- textcolor(self, *args)
- textcolor(Fl_Browser_ self) -> Fl_Color
textcolor(Fl_Browser_ self, Fl_Color col)
- textfont(self, *args)
- textfont(Fl_Browser_ self) -> Fl_Font
textfont(Fl_Browser_ self, Fl_Font font)
- textsize(self, *args)
- textsize(Fl_Browser_ self) -> Fl_Fontsize
textsize(Fl_Browser_ self, Fl_Fontsize newSize)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Browser_(...)
- delete_Fl_Browser_(Fl_Browser_ self)
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
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Button(Fl_Widget) |
|
Fl_Button(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Button self, int X, int Y, int W, int H, char const * L=None) -> Fl_Button
- __repr__ = _swig_repr(self)
- clear(self, *args)
- clear(Fl_Button self) -> int
- down_box(self, *args)
- down_box(Fl_Button self) -> Fl_Boxtype
down_box(Fl_Button self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Button self) -> Fl_Color
down_color(Fl_Button self, unsigned int c)
- draw(self, *args)
- draw(Fl_Button self)
- handle(self, *args)
- handle(Fl_Button self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Button self, char * Fl_Button)
- set(self, *args)
- set(Fl_Button self) -> int
- setonly(self, *args)
- setonly(Fl_Button self)
- shortcut(self, *args)
- shortcut(Fl_Button self) -> int
shortcut(Fl_Button self, int s)
shortcut(Fl_Button self, char const * s)
- value(self, *args)
- value(Fl_Button self, int v) -> int
value(Fl_Button self) -> char
Static methods defined here:
- __swig_destroy__ = delete_Fl_Button(...)
- delete_Fl_Button(Fl_Button self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Chart(Fl_Widget) |
|
Fl_Chart(*args)
This widget displays simple charts and is provided for Forms compatibility. |
|
- Method resolution order:
- Fl_Chart
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Chart self, int X, int Y, int W, int H, char const * L=None) -> Fl_Chart
- __repr__ = _swig_repr(self)
- add(self, *args)
- add(Fl_Chart self, double val, char const * str=None, unsigned int col=0)
- autosize(self, *args)
- autosize(Fl_Chart self) -> uchar
autosize(Fl_Chart self, uchar n)
- bounds(self, *args)
- bounds(Fl_Chart self, double * a, double * b)
bounds(Fl_Chart self, double a, double b)
- clear(self, *args)
- clear(Fl_Chart self)
- draw(self, *args)
- draw(Fl_Chart self)
- init_type(self, *args)
- init_type(Fl_Chart self, char * Fl_Chart)
- insert(self, *args)
- insert(Fl_Chart self, int ind, double val, char const * str=None, unsigned int col=0)
- maxsize(self, *args)
- maxsize(Fl_Chart self) -> int
maxsize(Fl_Chart self, int m)
- replace(self, *args)
- replace(Fl_Chart self, int ind, double val, char const * str=None, unsigned int col=0)
- size(self, *args)
- size(Fl_Chart self) -> int
size(Fl_Chart self, int W, int H)
- textcolor(self, *args)
- textcolor(Fl_Chart self) -> Fl_Color
textcolor(Fl_Chart self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Chart self) -> Fl_Font
textfont(Fl_Chart self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Chart self) -> Fl_Fontsize
textsize(Fl_Chart self, Fl_Fontsize s)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Chart(...)
- delete_Fl_Chart(Fl_Chart self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- handle(self, *args)
- handle(Fl_Widget self, int event) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Check_Browser(Fl_Browser_) |
|
Fl_Check_Browser(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Check_Browser self, int x, int y, int w, int h, char const * l=None) -> Fl_Check_Browser
- __repr__ = _swig_repr(self)
- add(self, *args)
- add(Fl_Check_Browser self, char const * s) -> int
add(Fl_Check_Browser self, char const * s, int b) -> int
- check_all(self, *args)
- check_all(Fl_Check_Browser self)
- check_none(self, *args)
- check_none(Fl_Check_Browser self)
- checked(self, *args)
- checked(Fl_Check_Browser self, int item) -> int
checked(Fl_Check_Browser self, int item, int b)
- clear(self, *args)
- clear(Fl_Check_Browser self)
- draw(self, *args)
- draw(Fl_Check_Browser self)
- full_height(self, *args)
- full_height(Fl_Check_Browser self) -> int
- full_width(self, *args)
- full_width(Fl_Check_Browser self) -> int
- handle(self, *args)
- handle(Fl_Check_Browser self, int arg0) -> int
- incr_height(self, *args)
- incr_height(Fl_Check_Browser self) -> int
- init_type(self, *args)
- init_type(Fl_Check_Browser self, char * Fl_Check_Browser)
- item_at(self, *args)
- item_at(Fl_Check_Browser self, int index) -> void *
- item_draw(self, *args)
- item_draw(Fl_Check_Browser self, void * item, int X, int Y, int W, int H)
- item_first(self, *args)
- item_first(Fl_Check_Browser self) -> void *
- item_height(self, *args)
- item_height(Fl_Check_Browser self, void * item) -> int
- item_last(self, *args)
- item_last(Fl_Check_Browser self) -> void *
- item_next(self, *args)
- item_next(Fl_Check_Browser self, void * item) -> void *
- item_prev(self, *args)
- item_prev(Fl_Check_Browser self, void * item) -> void *
- item_quick_height(self, *args)
- item_quick_height(Fl_Check_Browser self, void * item) -> int
- item_select(self, *args)
- item_select(Fl_Check_Browser self, void * item, int val=1)
- item_selected(self, *args)
- item_selected(Fl_Check_Browser self, void * item) -> int
- item_swap(self, *args)
- item_swap(Fl_Check_Browser self, void * a, void * b)
- item_text(self, *args)
- item_text(Fl_Check_Browser self, void * item) -> char const *
- item_width(self, *args)
- item_width(Fl_Check_Browser self, void * item) -> int
- nchecked(self, *args)
- nchecked(Fl_Check_Browser self) -> int
- nitems(self, *args)
- nitems(Fl_Check_Browser self) -> int
- remove(self, *args)
- remove(Fl_Check_Browser self, int item) -> int
- set_checked(self, *args)
- set_checked(Fl_Check_Browser self, int item)
- text(self, *args)
- text(Fl_Check_Browser self, int item) -> char *
- value(self, *args)
- value(Fl_Check_Browser self) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Check_Browser(...)
- delete_Fl_Check_Browser(Fl_Check_Browser self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Browser_:
- deselect(self, *args)
- deselect(Fl_Browser_ self, int docallbacks=0) -> int
- display(self, *args)
- display(Fl_Browser_ self, void * item)
- getHScrollbar(self, *args)
- getHScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- getScrollbar(self, *args)
- getScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- has_scrollbar(self, *args)
- has_scrollbar(Fl_Browser_ self) -> uchar
has_scrollbar(Fl_Browser_ self, uchar mode)
- hposition(self, *args)
- hposition(Fl_Browser_ self) -> int
hposition(Fl_Browser_ self, int arg2)
- position(self, *args)
- position(Fl_Browser_ self) -> int
position(Fl_Browser_ self, int pos)
- resize(self, *args)
- resize(Fl_Browser_ self, int X, int Y, int W, int H)
- scrollbar_left(self, *args)
- scrollbar_left(Fl_Browser_ self)
- scrollbar_right(self, *args)
- scrollbar_right(Fl_Browser_ self)
- scrollbar_size(self, *args)
- scrollbar_size(Fl_Browser_ self) -> int
scrollbar_size(Fl_Browser_ self, int newSize)
- scrollbar_width(self, *args)
- scrollbar_width(Fl_Browser_ self) -> int
scrollbar_width(Fl_Browser_ self, int width)
- select(self, *args)
- select(Fl_Browser_ self, void * item, int val=1, int docallbacks=0) -> int
- select_only(self, *args)
- select_only(Fl_Browser_ self, void * item, int docallbacks=0) -> int
- sort(self, *args)
- sort(Fl_Browser_ self, int flags=0)
- textcolor(self, *args)
- textcolor(Fl_Browser_ self) -> Fl_Color
textcolor(Fl_Browser_ self, Fl_Color col)
- textfont(self, *args)
- textfont(Fl_Browser_ self) -> Fl_Font
textfont(Fl_Browser_ self, Fl_Font font)
- textsize(self, *args)
- textsize(Fl_Browser_ self) -> Fl_Fontsize
textsize(Fl_Browser_ self, Fl_Fontsize newSize)
Data and other attributes inherited from Fl_Browser_:
- ALWAYS_ON = 4
- BOTH = 3
- BOTH_ALWAYS = 7
- HORIZONTAL = 1
- HORIZONTAL_ALWAYS = 5
- VERTICAL = 2
- VERTICAL_ALWAYS = 6
Methods inherited from Fl_Group:
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Check_Button(Fl_Light_Button) |
|
Fl_Check_Button(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Check_Button self, int X, int Y, int W, int H, char const * L=None) -> Fl_Check_Button
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Check_Button self)
- init_type(self, *args)
- init_type(Fl_Check_Button self, char * Fl_Check_Button)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Check_Button(...)
- delete_Fl_Check_Button(Fl_Check_Button self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Light_Button:
- handle(self, *args)
- handle(Fl_Light_Button self, int arg0) -> int
Methods inherited from Fl_Button:
- clear(self, *args)
- clear(Fl_Button self) -> int
- down_box(self, *args)
- down_box(Fl_Button self) -> Fl_Boxtype
down_box(Fl_Button self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Button self) -> Fl_Color
down_color(Fl_Button self, unsigned int c)
- set(self, *args)
- set(Fl_Button self) -> int
- setonly(self, *args)
- setonly(Fl_Button self)
- shortcut(self, *args)
- shortcut(Fl_Button self) -> int
shortcut(Fl_Button self, int s)
shortcut(Fl_Button self, char const * s)
- value(self, *args)
- value(Fl_Button self, int v) -> int
value(Fl_Button self) -> char
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Choice(Fl_Menu_) |
|
Fl_Choice(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Choice self, int X, int Y, int W, int H, char const * L=None) -> Fl_Choice
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Choice self)
- handle(self, *args)
- handle(Fl_Choice self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Choice self, char * Fl_Choice)
- value(self, *args)
- value(Fl_Choice self) -> int
value(Fl_Choice self, int v) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Choice(...)
- delete_Fl_Choice(Fl_Choice self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Menu_:
- add(self, *args)
- add(Fl_Menu_ self, char const * arg2, int shortcut, Fl_Callback * arg4, void * arg5=None, int arg6=0) -> int
add(Fl_Menu_ self, char const * arg2) -> int
add(Fl_Menu_ self, PyObject * lObj, PyObject * sObj, PyObject * cObj, PyObject * uObj=None, PyObject * fObj=None) -> int
- clear(self, *args)
- clear(Fl_Menu_ self)
- clear_submenu(self, *args)
- clear_submenu(Fl_Menu_ self, int index) -> int
- copy(self, *args)
- copy(Fl_Menu_ self, Fl_Menu_Item m, void * user_data=None)
copy(Fl_Menu_ self, PyObject * args, PyObject * user_data=None)
- down_box(self, *args)
- down_box(Fl_Menu_ self) -> Fl_Boxtype
down_box(Fl_Menu_ self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Menu_ self) -> Fl_Color
down_color(Fl_Menu_ self, unsigned int c)
- find_index(self, *args)
- find_index(Fl_Menu_ self, char const * name) -> int
find_index(Fl_Menu_ self, Fl_Menu_Item item) -> int
find_index(Fl_Menu_ self, Fl_Callback * cb) -> int
- find_item(self, *args)
- find_item(Fl_Menu_ self, char const * name) -> Fl_Menu_Item
find_item(Fl_Menu_ self, Fl_Callback * arg2) -> Fl_Menu_Item
- insert(self, *args)
- insert(Fl_Menu_ self, int index, char const * arg3, int shortcut, Fl_Callback * arg5, void * arg6=None, int arg7=0) -> int
insert(Fl_Menu_ self, int index, char const * a, char const * b, Fl_Callback * c, void * d=None, int e=0) -> int
- item_pathname(self, *args)
- item_pathname(Fl_Menu_ self, char * name, int namelen, Fl_Menu_Item finditem=None) -> int
- menu(self, *args)
- menu(Fl_Menu_ self) -> Fl_Menu_Item
menu(Fl_Menu_ self, PyObject * args)
menu(Fl_Menu_ self) -> PyObject *
- mode(self, *args)
- mode(Fl_Menu_ self, int i, int fl)
mode(Fl_Menu_ self, int i) -> int
- mvalue(self, *args)
- mvalue(Fl_Menu_ self) -> Fl_Menu_Item
- picked(self, *args)
- picked(Fl_Menu_ self, Fl_Menu_Item arg2) -> Fl_Menu_Item
- remove(self, *args)
- remove(Fl_Menu_ self, int arg2)
- replace(self, *args)
- replace(Fl_Menu_ self, int arg2, char const * arg3)
- setonly(self, *args)
- setonly(Fl_Menu_ self, Fl_Menu_Item item)
- shortcut(self, *args)
- shortcut(Fl_Menu_ self, int i, int s)
- size(self, *args)
- size(Fl_Menu_ self) -> int
size(Fl_Menu_ self, int W, int H)
- test_shortcut(self, *args)
- test_shortcut(Fl_Menu_ self) -> Fl_Menu_Item
- text(self, *args)
- text(Fl_Menu_ self) -> char const
text(Fl_Menu_ self, int i) -> char const *
- textcolor(self, *args)
- textcolor(Fl_Menu_ self) -> Fl_Color
textcolor(Fl_Menu_ self, Fl_Color c)
- textfont(self, *args)
- textfont(Fl_Menu_ self) -> Fl_Font
textfont(Fl_Menu_ self, Fl_Font c)
- textsize(self, *args)
- textsize(Fl_Menu_ self) -> Fl_Fontsize
textsize(Fl_Menu_ self, Fl_Fontsize c)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Clock(Fl_Clock_Output) |
|
Fl_Clock(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Clock self, int X, int Y, int W, int H, char const * L=None) -> Fl_Clock
__init__(Fl_Clock self, uchar t, int X, int Y, int W, int H, char const * L) -> Fl_Clock
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Clock self)
- handle(self, *args)
- handle(Fl_Clock self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Clock self, char * Fl_Clock)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Clock(...)
- delete_Fl_Clock(Fl_Clock self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Clock_Output:
- hour(self, *args)
- hour(Fl_Clock_Output self) -> int
- minute(self, *args)
- minute(Fl_Clock_Output self) -> int
- second(self, *args)
- second(Fl_Clock_Output self) -> int
- value(self, *args)
- value(Fl_Clock_Output self, ulong v)
value(Fl_Clock_Output self, int H, int m, int s)
value(Fl_Clock_Output self) -> ulong
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Clock_Output(Fl_Widget) |
|
Fl_Clock_Output(*args)
Proxy of C++ Fl_Clock_Output class. |
|
- Method resolution order:
- Fl_Clock_Output
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Clock_Output self, int X, int Y, int W, int H, char const * L=None) -> Fl_Clock_Output
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Clock_Output self)
- hour(self, *args)
- hour(Fl_Clock_Output self) -> int
- init_type(self, *args)
- init_type(Fl_Clock_Output self, char * Fl_Clock_Output)
- minute(self, *args)
- minute(Fl_Clock_Output self) -> int
- second(self, *args)
- second(Fl_Clock_Output self) -> int
- value(self, *args)
- value(Fl_Clock_Output self, ulong v)
value(Fl_Clock_Output self, int H, int m, int s)
value(Fl_Clock_Output self) -> ulong
Static methods defined here:
- __swig_destroy__ = delete_Fl_Clock_Output(...)
- delete_Fl_Clock_Output(Fl_Clock_Output self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- handle(self, *args)
- handle(Fl_Widget self, int event) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Color_Chooser(Fl_Group) |
|
Fl_Color_Chooser(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Color_Chooser self, int X, int Y, int W, int H, char const * L=None) -> Fl_Color_Chooser
- __repr__ = _swig_repr(self)
- b(self, *args)
- b(Fl_Color_Chooser self) -> double
- draw(self, *args)
- draw(Fl_Color_Chooser self)
- g(self, *args)
- g(Fl_Color_Chooser self) -> double
- hsv(self, *args)
- hsv(Fl_Color_Chooser self, double H, double S, double V) -> int
- hue(self, *args)
- hue(Fl_Color_Chooser self) -> double
- init_type(self, *args)
- init_type(Fl_Color_Chooser self, char * Fl_Color_Chooser)
- mode(self, *args)
- mode(Fl_Color_Chooser self) -> int
mode(Fl_Color_Chooser self, int newMode)
- r(self, *args)
- r(Fl_Color_Chooser self) -> double
- rgb(self, *args)
- rgb(Fl_Color_Chooser self, double R, double G, double B) -> int
- saturation(self, *args)
- saturation(Fl_Color_Chooser self) -> double
- value(self, *args)
- value(Fl_Color_Chooser self) -> double
Static methods defined here:
- __swig_destroy__ = delete_Fl_Color_Chooser(...)
- delete_Fl_Color_Chooser(Fl_Color_Chooser self)
- hsv2rgb(*args)
- hsv2rgb(double H, double S, double V, double & R, double & G, double & B)
- rgb2hsv(*args)
- rgb2hsv(double R, double G, double B, double & H, double & S, double & V)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- handle(self, *args)
- handle(Fl_Group self, int arg0) -> int
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
- resize(self, *args)
- resize(Fl_Group self, int arg0, int arg1, int arg2, int arg3)
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Counter(Fl_Valuator) |
|
Fl_Counter(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Counter self, int X, int Y, int W, int H, char const * L=None) -> Fl_Counter
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Counter self)
- handle(self, *args)
- handle(Fl_Counter self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Counter self, char * Fl_Counter)
- lstep(self, *args)
- lstep(Fl_Counter self, double a)
- step(self, *args)
- step(Fl_Counter self, double a, double b)
step(Fl_Counter self, double a)
step(Fl_Counter self) -> double
- textcolor(self, *args)
- textcolor(Fl_Counter self) -> Fl_Color
textcolor(Fl_Counter self, Fl_Color s)
- textfont(self, *args)
- textfont(Fl_Counter self) -> Fl_Font
textfont(Fl_Counter self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Counter self) -> Fl_Fontsize
textsize(Fl_Counter self, Fl_Fontsize s)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Counter(...)
- delete_Fl_Counter(Fl_Counter self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Valuator:
- bounds(self, *args)
- bounds(Fl_Valuator self, double a, double b)
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Dial(Fl_Valuator) |
|
Fl_Dial(*args)
The Fl_Dial widget provides a circular dial to control a single floating
point value. |
|
- Method resolution order:
- Fl_Dial
- Fl_Valuator
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Dial self, int x, int y, int w, int h, char const * l=None) -> Fl_Dial
- __repr__ = _swig_repr(self)
- angle1(self, *args)
- angle1(Fl_Dial self) -> short
angle1(Fl_Dial self, short a)
- angle2(self, *args)
- angle2(Fl_Dial self) -> short
angle2(Fl_Dial self, short a)
- angles(self, *args)
- angles(Fl_Dial self, short a, short b)
- draw(self, *args)
- draw(Fl_Dial self)
- handle(self, *args)
- handle(Fl_Dial self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Dial self, char * Fl_Dial)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Dial(...)
- delete_Fl_Dial(Fl_Dial self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Valuator:
- bounds(self, *args)
- bounds(Fl_Valuator self, double a, double b)
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Double_Window(Fl_Window) |
|
Fl_Double_Window(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Double_Window self, int W, int H, char const * l=None) -> Fl_Double_Window
__init__(Fl_Double_Window self, int X, int Y, int W, int H, char const * l=None) -> Fl_Double_Window
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Double_Window self)
- flush(self, *args)
- flush(Fl_Double_Window self)
- hide(self, *args)
- hide(Fl_Double_Window self)
- init_type(self, *args)
- init_type(Fl_Double_Window self, char * Fl_Double_Window)
- resize(self, *args)
- resize(Fl_Double_Window self, int arg0, int arg1, int arg2, int arg3)
- show(self, *args)
- show(Fl_Double_Window self, PyObject * count=None, PyObject * data=None)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Double_Window(...)
- delete_Fl_Double_Window(Fl_Double_Window self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Window:
- as_window(self, *args)
- as_window(Fl_Window self) -> Fl_Window
- border(self, *args)
- border(Fl_Window self, int b)
border(Fl_Window self) -> unsigned int
- clear_border(self, *args)
- clear_border(Fl_Window self)
- clear_modal_states(self, *args)
- clear_modal_states(Fl_Window self)
- copy_label(self, *args)
- copy_label(Fl_Window self, char const * a)
- cursor(self, *args)
- cursor(Fl_Window self, Fl_Cursor arg2)
cursor(Fl_Window self, Fl_RGB_Image arg2, int arg3, int arg4)
cursor(Fl_Window self, Fl_Cursor c, Fl_Color arg3, Fl_Color arg4=)
- decorated_h(self, *args)
- decorated_h(Fl_Window self) -> int
- decorated_w(self, *args)
- decorated_w(Fl_Window self) -> int
- default_cursor(self, *args)
- default_cursor(Fl_Window self, Fl_Cursor arg2)
default_cursor(Fl_Window self, Fl_Cursor c, Fl_Color arg3, Fl_Color arg4=)
- free_position(self, *args)
- free_position(Fl_Window self)
- fullscreen(self, *args)
- fullscreen(Fl_Window self)
- fullscreen_active(self, *args)
- fullscreen_active(Fl_Window self) -> unsigned int
- fullscreen_off(self, *args)
- fullscreen_off(Fl_Window self)
fullscreen_off(Fl_Window self, int X, int Y, int W, int H)
- fullscreen_screens(self, *args)
- fullscreen_screens(Fl_Window self, int top, int bottom, int left, int right)
- handle(self, *args)
- handle(Fl_Window self, int arg0) -> int
- hotspot(self, *args)
- hotspot(Fl_Window self, int x, int y, int offscreen=0)
hotspot(Fl_Window self, Fl_Widget arg2, int offscreen=0)
- icon(self, *args)
- icon(Fl_Window self, Fl_RGB_Image arg2)
icon(Fl_Window self) -> void const
icon(Fl_Window self, void const * ic)
- iconize(self, *args)
- iconize(Fl_Window self)
- iconlabel(self, *args)
- iconlabel(Fl_Window self) -> char const
iconlabel(Fl_Window self, char const * arg2)
- icons(self, *args)
- icons(Fl_Window self, Fl_RGB_Image const *[] arg2, int arg3)
- label(self, *args)
- label(Fl_Window self) -> char const
label(Fl_Window self, char const * arg2)
label(Fl_Window self, char const * label, char const * iconlabel)
- make_current(self, *args)
- make_current(Fl_Window self)
- menu_window(self, *args)
- menu_window(Fl_Window self) -> unsigned int
- modal(self, *args)
- modal(Fl_Window self) -> unsigned int
- non_modal(self, *args)
- non_modal(Fl_Window self) -> unsigned int
- override(self, *args)
- override(Fl_Window self) -> unsigned int
- set_menu_window(self, *args)
- set_menu_window(Fl_Window self)
- set_modal(self, *args)
- set_modal(Fl_Window self)
- set_non_modal(self, *args)
- set_non_modal(Fl_Window self)
- set_override(self, *args)
- set_override(Fl_Window self)
- set_tooltip_window(self, *args)
- set_tooltip_window(Fl_Window self)
- shape(self, *args)
- shape(Fl_Window self, Fl_Image img)
shape(Fl_Window self, Fl_Image b)
- shown(self, *args)
- shown(Fl_Window self) -> int
- size_range(self, *args)
- size_range(Fl_Window self, int minw, int minh, int maxw=0, int maxh=0, int dw=0, int dh=0, int aspect=0)
- tooltip_window(self, *args)
- tooltip_window(Fl_Window self) -> unsigned int
- wait_for_expose(self, *args)
- wait_for_expose(Fl_Window self)
- x_root(self, *args)
- x_root(Fl_Window self) -> int
- xclass(self, *args)
- xclass(Fl_Window self) -> char const
xclass(Fl_Window self, char const * c)
- y_root(self, *args)
- y_root(Fl_Window self) -> int
Static methods inherited from Fl_Window:
- current(*args)
- current() -> Fl_Window
- default_callback(*args)
- default_callback(Fl_Window arg1, void * v)
- default_icon(*args)
- default_icon(Fl_RGB_Image arg1)
- default_icons(*args)
- default_icons(Fl_RGB_Image const *[] arg1, int arg2)
- default_xclass(*args)
- default_xclass(char const * arg1)
default_xclass() -> char const *
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_File_Browser(Fl_Browser) |
|
Fl_File_Browser(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_File_Browser self, int arg2, int arg3, int arg4, int arg5, char const * arg6=None) -> Fl_File_Browser
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_File_Browser self)
- filetype(self, *args)
- filetype(Fl_File_Browser self) -> int
filetype(Fl_File_Browser self, int t)
- filter(self, *args)
- filter(Fl_File_Browser self, char const * pattern)
filter(Fl_File_Browser self) -> char const *
- full_height(self, *args)
- full_height(Fl_File_Browser self) -> int
- full_width(self, *args)
- full_width(Fl_File_Browser self) -> int
- iconsize(self, *args)
- iconsize(Fl_File_Browser self) -> uchar
iconsize(Fl_File_Browser self, uchar s)
- incr_height(self, *args)
- incr_height(Fl_File_Browser self) -> int
- init_type(self, *args)
- init_type(Fl_File_Browser self, char * Fl_File_Browser)
- item_at(self, *args)
- item_at(Fl_File_Browser self, int line) -> void *
- item_draw(self, *args)
- item_draw(Fl_File_Browser self, void * item, int X, int Y, int W, int H)
- item_first(self, *args)
- item_first(Fl_File_Browser self) -> void *
- item_height(self, *args)
- item_height(Fl_File_Browser self, void * item) -> int
- item_last(self, *args)
- item_last(Fl_File_Browser self) -> void *
- item_next(self, *args)
- item_next(Fl_File_Browser self, void * item) -> void *
- item_prev(self, *args)
- item_prev(Fl_File_Browser self, void * item) -> void *
- item_quick_height(self, *args)
- item_quick_height(Fl_File_Browser self, void * item) -> int
- item_select(self, *args)
- item_select(Fl_File_Browser self, void * item, int val)
- item_selected(self, *args)
- item_selected(Fl_File_Browser self, void * item) -> int
- item_swap(self, *args)
- item_swap(Fl_File_Browser self, void * a, void * b)
- item_text(self, *args)
- item_text(Fl_File_Browser self, void * item) -> char const *
- item_width(self, *args)
- item_width(Fl_File_Browser self, void * item) -> int
- load(self, *args)
- load(Fl_File_Browser self, PyObject * dObj, PyObject * sObj) -> int
- textsize(self, *args)
- textsize(Fl_File_Browser self) -> Fl_Fontsize
textsize(Fl_File_Browser self, Fl_Fontsize s)
Static methods defined here:
- __swig_destroy__ = delete_Fl_File_Browser(...)
- delete_Fl_File_Browser(Fl_File_Browser self)
Data descriptors defined here:
- thisown
- The membership flag
Data and other attributes defined here:
- DIRECTORIES = 1
- FILES = 0
Methods inherited from Fl_Browser:
- add(self, *args)
- add(Fl_Browser self, char const * text, PyObject * data=None)
- bottomline(self, *args)
- bottomline(Fl_Browser self, int line)
- clear(self, *args)
- clear(Fl_Browser self)
- column_char(self, *args)
- column_char(Fl_Browser self) -> char
column_char(Fl_Browser self, char c)
- column_widths(self, *args)
- column_widths(Fl_Browser self) -> int const
column_widths(Fl_Browser self, PyObject * widths)
- data(self, *args)
- data(Fl_Browser self, int index, PyObject * data=None) -> PyObject *
- display(self, *args)
- display(Fl_Browser self, int line, int val=1)
- displayed(self, *args)
- displayed(Fl_Browser self, int line) -> int
- format_char(self, *args)
- format_char(Fl_Browser self) -> char
format_char(Fl_Browser self, char c)
- get_data(self, *args)
- get_data(Fl_Browser self, int index) -> PyObject *
- hide(self, *args)
- hide(Fl_Browser self, int line)
hide(Fl_Browser self)
- icon(self, *args)
- icon(Fl_Browser self, int line, Fl_Image icon)
icon(Fl_Browser self, int line) -> Fl_Image
- insert(self, *args)
- insert(Fl_Browser self, int index, char const * text, PyObject * data=None)
- lineposition(self, *args)
- lineposition(Fl_Browser self, int line, Fl_Browser::Fl_Line_Position pos)
- make_visible(self, *args)
- make_visible(Fl_Browser self, int line)
- middleline(self, *args)
- middleline(Fl_Browser self, int line)
- move(self, *args)
- move(Fl_Browser self, int to, int _from)
- remove(self, *args)
- remove(Fl_Browser self, int line)
- remove_icon(self, *args)
- remove_icon(Fl_Browser self, int line)
- replace(self, *args)
- replace(Fl_Browser self, int a, char const * b)
- select(self, *args)
- select(Fl_Browser self, int line, int val=1) -> int
- selected(self, *args)
- selected(Fl_Browser self, int line) -> int
- show(self, *args)
- show(Fl_Browser self, int line)
show(Fl_Browser self)
- size(self, *args)
- size(Fl_Browser self) -> int
size(Fl_Browser self, int W, int H)
- swap(self, *args)
- swap(Fl_Browser self, int a, int b)
- text(self, *args)
- text(Fl_Browser self, int line) -> char const
text(Fl_Browser self, int line, char const * newtext)
- topline(self, *args)
- topline(Fl_Browser self) -> int
topline(Fl_Browser self, int line)
- value(self, *args)
- value(Fl_Browser self) -> int
value(Fl_Browser self, int line)
- visible(self, *args)
- visible(Fl_Browser self, int line) -> int
Data and other attributes inherited from Fl_Browser:
- BOTTOM = 1
- MIDDLE = 2
- TOP = 0
Methods inherited from Fl_Browser_:
- deselect(self, *args)
- deselect(Fl_Browser_ self, int docallbacks=0) -> int
- getHScrollbar(self, *args)
- getHScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- getScrollbar(self, *args)
- getScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- handle(self, *args)
- handle(Fl_Browser_ self, int event) -> int
- has_scrollbar(self, *args)
- has_scrollbar(Fl_Browser_ self) -> uchar
has_scrollbar(Fl_Browser_ self, uchar mode)
- hposition(self, *args)
- hposition(Fl_Browser_ self) -> int
hposition(Fl_Browser_ self, int arg2)
- position(self, *args)
- position(Fl_Browser_ self) -> int
position(Fl_Browser_ self, int pos)
- resize(self, *args)
- resize(Fl_Browser_ self, int X, int Y, int W, int H)
- scrollbar_left(self, *args)
- scrollbar_left(Fl_Browser_ self)
- scrollbar_right(self, *args)
- scrollbar_right(Fl_Browser_ self)
- scrollbar_size(self, *args)
- scrollbar_size(Fl_Browser_ self) -> int
scrollbar_size(Fl_Browser_ self, int newSize)
- scrollbar_width(self, *args)
- scrollbar_width(Fl_Browser_ self) -> int
scrollbar_width(Fl_Browser_ self, int width)
- select_only(self, *args)
- select_only(Fl_Browser_ self, void * item, int docallbacks=0) -> int
- sort(self, *args)
- sort(Fl_Browser_ self, int flags=0)
- textcolor(self, *args)
- textcolor(Fl_Browser_ self) -> Fl_Color
textcolor(Fl_Browser_ self, Fl_Color col)
- textfont(self, *args)
- textfont(Fl_Browser_ self) -> Fl_Font
textfont(Fl_Browser_ self, Fl_Font font)
Data and other attributes inherited from Fl_Browser_:
- ALWAYS_ON = 4
- BOTH = 3
- BOTH_ALWAYS = 7
- HORIZONTAL = 1
- HORIZONTAL_ALWAYS = 5
- VERTICAL = 2
- VERTICAL_ALWAYS = 6
Methods inherited from Fl_Group:
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_File_Chooser(builtins.object) |
|
Fl_File_Chooser(*args)
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:
- __init__(self, *args)
- __init__(Fl_File_Chooser self, char const * d, char const * p, int t, char const * title) -> Fl_File_Chooser
- __repr__ = _swig_repr(self)
- add_extra(self, *args)
- add_extra(Fl_File_Chooser self, Fl_Widget gr) -> Fl_Widget
- callback = __Fl_File_ChooserCallback(self, *args)
- # override the implementation of Fl_File_Chooser.callback
- color(self, *args)
- color(Fl_File_Chooser self, Fl_Color c)
color(Fl_File_Chooser self) -> Fl_Color
- count(self, *args)
- count(Fl_File_Chooser self) -> int
- directory(self, *args)
- directory(Fl_File_Chooser self, char const * d)
directory(Fl_File_Chooser self) -> char *
- filter(self, *args)
- filter(Fl_File_Chooser self, char const * p)
filter(Fl_File_Chooser self) -> char const *
- filter_value(self, *args)
- filter_value(Fl_File_Chooser self) -> int
filter_value(Fl_File_Chooser self, int f)
- hide(self, *args)
- hide(Fl_File_Chooser self)
- iconsize(self, *args)
- iconsize(Fl_File_Chooser self, uchar s)
iconsize(Fl_File_Chooser self) -> uchar
- label(self, *args)
- label(Fl_File_Chooser self, char const * l)
label(Fl_File_Chooser self) -> char const *
- ok_label(self, *args)
- ok_label(Fl_File_Chooser self, char const * l)
ok_label(Fl_File_Chooser self) -> char const *
- preview(self, *args)
- preview(Fl_File_Chooser self, int e)
preview(Fl_File_Chooser self) -> int
- rescan(self, *args)
- rescan(Fl_File_Chooser self)
- show(self, *args)
- show(Fl_File_Chooser self)
- shown(self, *args)
- shown(Fl_File_Chooser self) -> int
- textcolor(self, *args)
- textcolor(Fl_File_Chooser self, Fl_Color c)
textcolor(Fl_File_Chooser self) -> Fl_Color
- textfont(self, *args)
- textfont(Fl_File_Chooser self, Fl_Font f)
textfont(Fl_File_Chooser self) -> Fl_Font
- textsize(self, *args)
- textsize(Fl_File_Chooser self, Fl_Fontsize s)
textsize(Fl_File_Chooser self) -> Fl_Fontsize
- type(self, *args)
- type(Fl_File_Chooser self, int t)
type(Fl_File_Chooser self) -> int
- user_data(self, *args)
- user_data(Fl_File_Chooser self, PyObject * PyData)
user_data(Fl_File_Chooser self) -> PyObject *
- value(self, *args)
- value(Fl_File_Chooser self, int f=1) -> char const
value(Fl_File_Chooser self, char const * filename)
- visible(self, *args)
- visible(Fl_File_Chooser self) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_File_Chooser(...)
- delete_Fl_File_Chooser(Fl_File_Chooser self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
Data and other attributes defined here:
- CREATE = 2
- DIRECTORY = 4
- MULTI = 1
- SINGLE = 0
|
class Fl_File_Icon(builtins.object) |
|
Fl_File_Icon(*args)
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:
- __init__(self, *args)
- __init__(Fl_File_Icon self, char const * p, int t, int nd=0, short * d=None) -> Fl_File_Icon
- __repr__ = _swig_repr(self)
- add(self, *args)
- add(Fl_File_Icon self, short d) -> short *
- add_color(self, *args)
- add_color(Fl_File_Icon self, Fl_Color c) -> short *
- add_vertex(self, *args)
- add_vertex(Fl_File_Icon self, int x, int y) -> short
add_vertex(Fl_File_Icon self, float x, float y) -> short *
- clear(self, *args)
- clear(Fl_File_Icon self)
- draw(self, *args)
- draw(Fl_File_Icon self, int x, int y, int w, int h, Fl_Color ic, int active=1)
- label(self, *args)
- label(Fl_File_Icon self, Fl_Widget w)
- load(self, *args)
- load(Fl_File_Icon self, char const * f)
- load_fti(self, *args)
- load_fti(Fl_File_Icon self, char const * fti) -> int
- load_image(self, *args)
- load_image(Fl_File_Icon self, char const * i) -> int
- next(self, *args)
- next(Fl_File_Icon self) -> Fl_File_Icon
- pattern(self, *args)
- pattern(Fl_File_Icon self) -> char const *
- size(self, *args)
- size(Fl_File_Icon self) -> int
- type(self, *args)
- type(Fl_File_Icon self) -> int
- value(self, *args)
- value(Fl_File_Icon self) -> short *
Static methods defined here:
- __swig_destroy__ = delete_Fl_File_Icon(...)
- delete_Fl_File_Icon(Fl_File_Icon self)
- find(*args)
- find(char const * 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
- __weakref__
- list of weak references to the object
- 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
|
class Fl_File_Input(Fl_Input) |
|
Fl_File_Input(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_File_Input self, int X, int Y, int W, int H, char const * L=None) -> Fl_File_Input
- __repr__ = _swig_repr(self)
- down_box(self, *args)
- down_box(Fl_File_Input self) -> Fl_Boxtype
down_box(Fl_File_Input self, Fl_Boxtype b)
- draw(self, *args)
- draw(Fl_File_Input self)
- errorcolor(self, *args)
- errorcolor(Fl_File_Input self) -> Fl_Color
errorcolor(Fl_File_Input self, Fl_Color c)
- handle(self, *args)
- handle(Fl_File_Input self, int event) -> int
- init_type(self, *args)
- init_type(Fl_File_Input self, char * Fl_File_Input)
- value(self, *args)
- value(Fl_File_Input self, char const * str) -> int
value(Fl_File_Input self, char const * str, int len) -> int
value(Fl_File_Input self) -> char const *
Static methods defined here:
- __swig_destroy__ = delete_Fl_File_Input(...)
- delete_Fl_File_Input(Fl_File_Input self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Input_:
- copy(self, *args)
- copy(Fl_Input_ self, int clipboard) -> int
- copy_cuts(self, *args)
- copy_cuts(Fl_Input_ self) -> int
- cursor_color(self, *args)
- cursor_color(Fl_Input_ self) -> Fl_Color
cursor_color(Fl_Input_ self, Fl_Color n)
- cut(self, *args)
- cut(Fl_Input_ self) -> int
cut(Fl_Input_ self, int n) -> int
cut(Fl_Input_ self, int a, int b) -> int
- index(self, *args)
- index(Fl_Input_ self, int i) -> Fl_Char
- input_type(self, *args)
- input_type(Fl_Input_ self) -> int
input_type(Fl_Input_ self, int t)
- insert(self, *args)
- insert(Fl_Input_ self, char const * t, int l=0) -> int
- mark(self, *args)
- mark(Fl_Input_ self) -> int
mark(Fl_Input_ self, int m) -> int
- maximum_size(self, *args)
- maximum_size(Fl_Input_ self) -> int
maximum_size(Fl_Input_ self, int m)
- position(self, *args)
- position(Fl_Input_ self) -> int
position(Fl_Input_ self, int p, int m) -> int
position(Fl_Input_ self, int p) -> int
- readonly(self, *args)
- readonly(Fl_Input_ self) -> int
readonly(Fl_Input_ self, int b)
- replace(self, *args)
- replace(Fl_Input_ self, int b, int e, char const * text, int ilen=0) -> int
- resize(self, *args)
- resize(Fl_Input_ self, int arg0, int arg1, int arg2, int arg3)
- shortcut(self, *args)
- shortcut(Fl_Input_ self) -> int
shortcut(Fl_Input_ self, int s)
- size(self, *args)
- size(Fl_Input_ self) -> int
size(Fl_Input_ self, int W, int H)
- static_value(self, *args)
- static_value(Fl_Input_ self, char const * arg2) -> int
static_value(Fl_Input_ self, char const * arg2, int arg3) -> int
- tab_nav(self, *args)
- tab_nav(Fl_Input_ self, int val)
tab_nav(Fl_Input_ self) -> int
- textcolor(self, *args)
- textcolor(Fl_Input_ self) -> Fl_Color
textcolor(Fl_Input_ self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Input_ self) -> Fl_Font
textfont(Fl_Input_ self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Input_ self) -> Fl_Fontsize
textsize(Fl_Input_ self, Fl_Fontsize s)
- undo(self, *args)
- undo(Fl_Input_ self) -> int
- wrap(self, *args)
- wrap(Fl_Input_ self) -> int
wrap(Fl_Input_ self, int b)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Fill_Dial(Fl_Dial) |
|
Fl_Fill_Dial(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Fill_Dial self, int X, int Y, int W, int H, char const * L) -> Fl_Fill_Dial
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Fill_Dial self)
- init_type(self, *args)
- init_type(Fl_Fill_Dial self, char * Fl_Fill_Dial)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Fill_Dial(...)
- delete_Fl_Fill_Dial(Fl_Fill_Dial self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Dial:
- angle1(self, *args)
- angle1(Fl_Dial self) -> short
angle1(Fl_Dial self, short a)
- angle2(self, *args)
- angle2(Fl_Dial self) -> short
angle2(Fl_Dial self, short a)
- angles(self, *args)
- angles(Fl_Dial self, short a, short b)
- handle(self, *args)
- handle(Fl_Dial self, int arg0) -> int
Methods inherited from Fl_Valuator:
- bounds(self, *args)
- bounds(Fl_Valuator self, double a, double b)
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Fill_Slider(Fl_Slider) |
|
Fl_Fill_Slider(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Fill_Slider self, int X, int Y, int W, int H, char const * L=None) -> Fl_Fill_Slider
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Fill_Slider self)
- init_type(self, *args)
- init_type(Fl_Fill_Slider self, char * Fl_Fill_Slider)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Fill_Slider(...)
- delete_Fl_Fill_Slider(Fl_Fill_Slider self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Slider:
- bounds(self, *args)
- bounds(Fl_Slider self, double a, double b)
- handle(self, *args)
- handle(Fl_Slider self, int arg0) -> int
- scrollvalue(self, *args)
- scrollvalue(Fl_Slider self, int pos, int size, int first, int total) -> int
- slider(self, *args)
- slider(Fl_Slider self) -> Fl_Boxtype
slider(Fl_Slider self, Fl_Boxtype c)
- slider_size(self, *args)
- slider_size(Fl_Slider self) -> float
slider_size(Fl_Slider self, double v)
Methods inherited from Fl_Valuator:
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Float_Input(Fl_Input) |
|
Fl_Float_Input(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Float_Input self, int X, int Y, int W, int H, char const * l=None) -> Fl_Float_Input
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Float_Input self)
- init_type(self, *args)
- init_type(Fl_Float_Input self, char * Fl_Float_Input)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Float_Input(...)
- delete_Fl_Float_Input(Fl_Float_Input self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Input:
- handle(self, *args)
- handle(Fl_Input self, int arg0) -> int
Methods inherited from Fl_Input_:
- copy(self, *args)
- copy(Fl_Input_ self, int clipboard) -> int
- copy_cuts(self, *args)
- copy_cuts(Fl_Input_ self) -> int
- cursor_color(self, *args)
- cursor_color(Fl_Input_ self) -> Fl_Color
cursor_color(Fl_Input_ self, Fl_Color n)
- cut(self, *args)
- cut(Fl_Input_ self) -> int
cut(Fl_Input_ self, int n) -> int
cut(Fl_Input_ self, int a, int b) -> int
- index(self, *args)
- index(Fl_Input_ self, int i) -> Fl_Char
- input_type(self, *args)
- input_type(Fl_Input_ self) -> int
input_type(Fl_Input_ self, int t)
- insert(self, *args)
- insert(Fl_Input_ self, char const * t, int l=0) -> int
- mark(self, *args)
- mark(Fl_Input_ self) -> int
mark(Fl_Input_ self, int m) -> int
- maximum_size(self, *args)
- maximum_size(Fl_Input_ self) -> int
maximum_size(Fl_Input_ self, int m)
- position(self, *args)
- position(Fl_Input_ self) -> int
position(Fl_Input_ self, int p, int m) -> int
position(Fl_Input_ self, int p) -> int
- readonly(self, *args)
- readonly(Fl_Input_ self) -> int
readonly(Fl_Input_ self, int b)
- replace(self, *args)
- replace(Fl_Input_ self, int b, int e, char const * text, int ilen=0) -> int
- resize(self, *args)
- resize(Fl_Input_ self, int arg0, int arg1, int arg2, int arg3)
- shortcut(self, *args)
- shortcut(Fl_Input_ self) -> int
shortcut(Fl_Input_ self, int s)
- size(self, *args)
- size(Fl_Input_ self) -> int
size(Fl_Input_ self, int W, int H)
- static_value(self, *args)
- static_value(Fl_Input_ self, char const * arg2) -> int
static_value(Fl_Input_ self, char const * arg2, int arg3) -> int
- tab_nav(self, *args)
- tab_nav(Fl_Input_ self, int val)
tab_nav(Fl_Input_ self) -> int
- textcolor(self, *args)
- textcolor(Fl_Input_ self) -> Fl_Color
textcolor(Fl_Input_ self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Input_ self) -> Fl_Font
textfont(Fl_Input_ self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Input_ self) -> Fl_Fontsize
textsize(Fl_Input_ self, Fl_Fontsize s)
- undo(self, *args)
- undo(Fl_Input_ self) -> int
- value(self, *args)
- value(Fl_Input_ self, char const * arg2) -> int
value(Fl_Input_ self, char const * arg2, int arg3) -> int
value(Fl_Input_ self) -> char const *
- wrap(self, *args)
- wrap(Fl_Input_ self) -> int
wrap(Fl_Input_ self, int b)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_FormsBitmap(Fl_Widget) |
|
Fl_FormsBitmap(*args)
Proxy of C++ Fl_FormsBitmap class. |
|
- Method resolution order:
- Fl_FormsBitmap
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_FormsBitmap self, Fl_Boxtype arg2, int arg3, int arg4, int arg5, int arg6, char const * arg7=None) -> Fl_FormsBitmap
- __repr__ = _swig_repr(self)
- bitmap(self, *args)
- bitmap(Fl_FormsBitmap self, Fl_Bitmap B)
bitmap(Fl_FormsBitmap self) -> Fl_Bitmap
- draw(self, *args)
- draw(Fl_FormsBitmap self)
- init_type(self, *args)
- init_type(Fl_FormsBitmap self, char * Fl_FormsBitmap)
- set(self, *args)
- set(Fl_FormsBitmap self, int W, int H, uchar const * bits)
Static methods defined here:
- __swig_destroy__ = delete_Fl_FormsBitmap(...)
- delete_Fl_FormsBitmap(Fl_FormsBitmap self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- handle(self, *args)
- handle(Fl_Widget self, int event) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_FormsPixmap(Fl_Widget) |
|
Fl_FormsPixmap(*args)
Proxy of C++ Fl_FormsPixmap class. |
|
- Method resolution order:
- Fl_FormsPixmap
- Fl_Widget
- builtins.object
Methods defined here:
- Pixmap(self, *args)
- Pixmap(Fl_FormsPixmap self, Fl_Pixmap B)
Pixmap(Fl_FormsPixmap self) -> Fl_Pixmap
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_FormsPixmap self, Fl_Boxtype t, int X, int Y, int W, int H, char const * L=None) -> Fl_FormsPixmap
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_FormsPixmap self)
- init_type(self, *args)
- init_type(Fl_FormsPixmap self, char * Fl_FormsPixmap)
- set(self, *args)
- set(Fl_FormsPixmap self, char *const * bits)
Static methods defined here:
- __swig_destroy__ = delete_Fl_FormsPixmap(...)
- delete_Fl_FormsPixmap(Fl_FormsPixmap self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- handle(self, *args)
- handle(Fl_Widget self, int event) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Free(Fl_Widget) |
|
Fl_Free(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Free self, uchar t, int X, int Y, int W, int H, char const * L, FL_HANDLEPTR hdl) -> Fl_Free
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Free self)
- handle(self, *args)
- handle(Fl_Free self, int e) -> int
- init_type(self, *args)
- init_type(Fl_Free self, char * Fl_Free)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Free(...)
- delete_Fl_Free(Fl_Free self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_GIF_Image(Fl_Pixmap) |
|
Fl_GIF_Image(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_GIF_Image self, char const * filename) -> Fl_GIF_Image
- __repr__ = _swig_repr(self)
Static methods defined here:
- __swig_destroy__ = delete_Fl_GIF_Image(...)
- delete_Fl_GIF_Image(Fl_GIF_Image self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Pixmap:
- color_average(self, *args)
- color_average(Fl_Pixmap self, Fl_Color c, float i)
- copy(self, *args)
- copy(Fl_Pixmap self, int W, int H) -> Fl_Image
copy(Fl_Pixmap self) -> Fl_Image
- desaturate(self, *args)
- desaturate(Fl_Pixmap self)
- draw(self, *args)
- draw(Fl_Pixmap self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(Fl_Pixmap self, int X, int Y)
- label(self, *args)
- label(Fl_Pixmap self, Fl_Widget w)
label(Fl_Pixmap self, Fl_Menu_Item m)
- uncache(self, *args)
- uncache(Fl_Pixmap self)
Methods inherited from Fl_Image:
- count(self, *args)
- count(Fl_Image self) -> int
- d(self, *args)
- d(Fl_Image self) -> int
- data(self, *args)
- data(Fl_Image self) -> char const *const *
- fail(self, *args)
- fail(Fl_Image self) -> int
- h(self, *args)
- h(Fl_Image self) -> int
- inactive(self, *args)
- inactive(Fl_Image self)
- ld(self, *args)
- ld(Fl_Image self) -> int
- w(self, *args)
- w(Fl_Image self) -> int
Static methods inherited from Fl_Image:
- RGB_scaling(*args)
- RGB_scaling(Fl_RGB_Scaling arg1)
RGB_scaling() -> Fl_RGB_Scaling
Data descriptors inherited from Fl_Image:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Gl_Window(Fl_Window) |
|
Fl_Gl_Window(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Gl_Window self, int W, int H, char const * l=None) -> Fl_Gl_Window
__init__(Fl_Gl_Window self, int X, int Y, int W, int H, char const * l=None) -> Fl_Gl_Window
- __repr__ = _swig_repr(self)
- as_gl_window(self, *args)
- as_gl_window(Fl_Gl_Window self) -> Fl_Gl_Window
- can_do(self, *args)
- can_do(Fl_Gl_Window self, int m) -> int
can_do(Fl_Gl_Window self, int const * m) -> int
can_do(Fl_Gl_Window self) -> int
- can_do_overlay(self, *args)
- can_do_overlay(Fl_Gl_Window self) -> int
- context(self, *args)
- context(Fl_Gl_Window self)
context(Fl_Gl_Window self, void * arg2, int destroy_flag=0)
- context_valid(self, *args)
- context_valid(Fl_Gl_Window self) -> char
context_valid(Fl_Gl_Window self, char v)
- draw(self, *args)
- draw(Fl_Gl_Window self)
- drawPixels(self, *args)
- drawPixels(Fl_Gl_Window self, PyObject * rgb_py)
Writes a raw RGB string to the canvas.
Arguments:
- rgb - a string of width * height * 3 bytes, comprising
the raw image in RGB format
- flush(self, *args)
- flush(Fl_Gl_Window self)
- handle(self, *args)
- handle(Fl_Gl_Window self, int arg0) -> int
- hide(self, *args)
- hide(Fl_Gl_Window self)
- hide_overlay(self, *args)
- hide_overlay(Fl_Gl_Window self)
- init_type(self, *args)
- init_type(Fl_Gl_Window self, char * Fl_Gl_Window)
- invalidate(self, *args)
- invalidate(Fl_Gl_Window self)
- make_current(self, *args)
- make_current(Fl_Gl_Window self)
- make_overlay_current(self, *args)
- make_overlay_current(Fl_Gl_Window self)
- mode(self, *args)
- mode(Fl_Gl_Window self) -> Fl_Mode
mode(Fl_Gl_Window self, int a) -> int
mode(Fl_Gl_Window self, int const * a) -> int
- ortho(self, *args)
- ortho(Fl_Gl_Window self)
- pixel_h(self, *args)
- pixel_h(Fl_Gl_Window self) -> int
- pixel_w(self, *args)
- pixel_w(Fl_Gl_Window self) -> int
- pixels_per_unit(self, *args)
- pixels_per_unit(Fl_Gl_Window self) -> float
- redraw_overlay(self, *args)
- redraw_overlay(Fl_Gl_Window self)
- resize(self, *args)
- resize(Fl_Gl_Window self, int arg0, int arg1, int arg2, int arg3)
- show(self, *args)
- show(Fl_Gl_Window self, PyObject * count=None, PyObject * data=None)
- swap_buffers(self, *args)
- swap_buffers(Fl_Gl_Window self)
- valid(self, *args)
- valid(Fl_Gl_Window self) -> char
valid(Fl_Gl_Window self, char v)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Gl_Window(...)
- delete_Fl_Gl_Window(Fl_Gl_Window self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Window:
- as_window(self, *args)
- as_window(Fl_Window self) -> Fl_Window
- border(self, *args)
- border(Fl_Window self, int b)
border(Fl_Window self) -> unsigned int
- clear_border(self, *args)
- clear_border(Fl_Window self)
- clear_modal_states(self, *args)
- clear_modal_states(Fl_Window self)
- copy_label(self, *args)
- copy_label(Fl_Window self, char const * a)
- cursor(self, *args)
- cursor(Fl_Window self, Fl_Cursor arg2)
cursor(Fl_Window self, Fl_RGB_Image arg2, int arg3, int arg4)
cursor(Fl_Window self, Fl_Cursor c, Fl_Color arg3, Fl_Color arg4=)
- decorated_h(self, *args)
- decorated_h(Fl_Window self) -> int
- decorated_w(self, *args)
- decorated_w(Fl_Window self) -> int
- default_cursor(self, *args)
- default_cursor(Fl_Window self, Fl_Cursor arg2)
default_cursor(Fl_Window self, Fl_Cursor c, Fl_Color arg3, Fl_Color arg4=)
- free_position(self, *args)
- free_position(Fl_Window self)
- fullscreen(self, *args)
- fullscreen(Fl_Window self)
- fullscreen_active(self, *args)
- fullscreen_active(Fl_Window self) -> unsigned int
- fullscreen_off(self, *args)
- fullscreen_off(Fl_Window self)
fullscreen_off(Fl_Window self, int X, int Y, int W, int H)
- fullscreen_screens(self, *args)
- fullscreen_screens(Fl_Window self, int top, int bottom, int left, int right)
- hotspot(self, *args)
- hotspot(Fl_Window self, int x, int y, int offscreen=0)
hotspot(Fl_Window self, Fl_Widget arg2, int offscreen=0)
- icon(self, *args)
- icon(Fl_Window self, Fl_RGB_Image arg2)
icon(Fl_Window self) -> void const
icon(Fl_Window self, void const * ic)
- iconize(self, *args)
- iconize(Fl_Window self)
- iconlabel(self, *args)
- iconlabel(Fl_Window self) -> char const
iconlabel(Fl_Window self, char const * arg2)
- icons(self, *args)
- icons(Fl_Window self, Fl_RGB_Image const *[] arg2, int arg3)
- label(self, *args)
- label(Fl_Window self) -> char const
label(Fl_Window self, char const * arg2)
label(Fl_Window self, char const * label, char const * iconlabel)
- menu_window(self, *args)
- menu_window(Fl_Window self) -> unsigned int
- modal(self, *args)
- modal(Fl_Window self) -> unsigned int
- non_modal(self, *args)
- non_modal(Fl_Window self) -> unsigned int
- override(self, *args)
- override(Fl_Window self) -> unsigned int
- set_menu_window(self, *args)
- set_menu_window(Fl_Window self)
- set_modal(self, *args)
- set_modal(Fl_Window self)
- set_non_modal(self, *args)
- set_non_modal(Fl_Window self)
- set_override(self, *args)
- set_override(Fl_Window self)
- set_tooltip_window(self, *args)
- set_tooltip_window(Fl_Window self)
- shape(self, *args)
- shape(Fl_Window self, Fl_Image img)
shape(Fl_Window self, Fl_Image b)
- shown(self, *args)
- shown(Fl_Window self) -> int
- size_range(self, *args)
- size_range(Fl_Window self, int minw, int minh, int maxw=0, int maxh=0, int dw=0, int dh=0, int aspect=0)
- tooltip_window(self, *args)
- tooltip_window(Fl_Window self) -> unsigned int
- wait_for_expose(self, *args)
- wait_for_expose(Fl_Window self)
- x_root(self, *args)
- x_root(Fl_Window self) -> int
- xclass(self, *args)
- xclass(Fl_Window self) -> char const
xclass(Fl_Window self, char const * c)
- y_root(self, *args)
- y_root(Fl_Window self) -> int
Static methods inherited from Fl_Window:
- current(*args)
- current() -> Fl_Window
- default_callback(*args)
- default_callback(Fl_Window arg1, void * v)
- default_icon(*args)
- default_icon(Fl_RGB_Image arg1)
- default_icons(*args)
- default_icons(Fl_RGB_Image const *[] arg1, int arg2)
- default_xclass(*args)
- default_xclass(char const * arg1)
default_xclass() -> char const *
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Group(Fl_Widget) |
|
Fl_Group(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Group self, int arg2, int arg3, int arg4, int arg5, char const * arg6=None) -> Fl_Group
- __repr__ = _swig_repr(self)
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- draw(self, *args)
- draw(Fl_Group self)
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- handle(self, *args)
- handle(Fl_Group self, int arg0) -> int
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- init_type(self, *args)
- init_type(Fl_Group self, char * Fl_Group)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
- resize(self, *args)
- resize(Fl_Group self, int arg0, int arg1, int arg2, int arg3)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Group(...)
- delete_Fl_Group(Fl_Group self)
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Help_Dialog(builtins.object) |
|
Fl_Help_Dialog(*args)
The Fl_Help_Dialog widget displays a standard help dialog window using the
Fl_Help_View widget. |
|
Methods defined here:
- __init__(self, *args)
- __init__(Fl_Help_Dialog self) -> Fl_Help_Dialog
- __repr__ = _swig_repr(self)
- h(self, *args)
- h(Fl_Help_Dialog self) -> int
- hide(self, *args)
- hide(Fl_Help_Dialog self)
- load(self, *args)
- load(Fl_Help_Dialog self, char const * f)
- position(self, *args)
- position(Fl_Help_Dialog self, int xx, int yy)
- resize(self, *args)
- resize(Fl_Help_Dialog self, int xx, int yy, int ww, int hh)
- show(self, *args)
- show(Fl_Help_Dialog self)
show(Fl_Help_Dialog self, int argc, char ** argv)
- textsize(self, *args)
- textsize(Fl_Help_Dialog self, Fl_Fontsize s)
textsize(Fl_Help_Dialog self) -> Fl_Fontsize
- topline(self, *args)
- topline(Fl_Help_Dialog self, char const * n)
topline(Fl_Help_Dialog self, int n)
- value(self, *args)
- value(Fl_Help_Dialog self, char const * f)
value(Fl_Help_Dialog self) -> char const *
- visible(self, *args)
- visible(Fl_Help_Dialog self) -> int
- w(self, *args)
- w(Fl_Help_Dialog self) -> int
- x(self, *args)
- x(Fl_Help_Dialog self) -> int
- y(self, *args)
- y(Fl_Help_Dialog self) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Help_Dialog(...)
- delete_Fl_Help_Dialog(Fl_Help_Dialog self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
|
class Fl_Help_Font_Stack(builtins.object) |
|
Fl_Help_Font_Stack(*args)
Proxy of C++ Fl_Help_Font_Stack class. |
|
Methods defined here:
- __init__(self, *args)
- __init__(Fl_Help_Font_Stack self) -> Fl_Help_Font_Stack
- __repr__ = _swig_repr(self)
- count(self, *args)
- count(Fl_Help_Font_Stack self) -> size_t
- init(self, *args)
- init(Fl_Help_Font_Stack self, Fl_Font f, Fl_Fontsize s, Fl_Color c)
- pop(self, *args)
- pop(Fl_Help_Font_Stack self, Fl_Color & c)
- push(self, *args)
- push(Fl_Help_Font_Stack self, Fl_Font f, Fl_Fontsize s, Fl_Color c)
- top(self, *args)
- top(Fl_Help_Font_Stack self, Fl_Color & c)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Help_Font_Stack(...)
- delete_Fl_Help_Font_Stack(Fl_Help_Font_Stack self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
|
class Fl_Help_Font_Style(builtins.object) |
|
Fl_Help_Font_Style(*args)
Proxy of C++ Fl_Help_Font_Style class. |
|
Methods defined here:
- __init__(self, *args)
- __init__(Fl_Help_Font_Style self, Fl_Font afont, Fl_Fontsize asize, Fl_Color acolor) -> Fl_Help_Font_Style
__init__(Fl_Help_Font_Style self) -> Fl_Help_Font_Style
- __repr__ = _swig_repr(self)
- get(self, *args)
- get(Fl_Help_Font_Style self, Fl_Color & acolor)
- set(self, *args)
- set(Fl_Help_Font_Style self, Fl_Font afont, Fl_Fontsize asize, Fl_Color acolor)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Help_Font_Style(...)
- delete_Fl_Help_Font_Style(Fl_Help_Font_Style self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
|
class Fl_Help_View(Fl_Group) |
|
Fl_Help_View(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Help_View self, int xx, int yy, int ww, int hh, char const * l=None) -> Fl_Help_View
- __repr__ = _swig_repr(self)
- clear_selection(self, *args)
- clear_selection(Fl_Help_View self)
- directory(self, *args)
- directory(Fl_Help_View self) -> char const *
- draw(self, *args)
- draw(Fl_Help_View self)
- filename(self, *args)
- filename(Fl_Help_View self) -> char const *
- find(self, *args)
- find(Fl_Help_View self, char const * s, int p=0) -> int
- init_type(self, *args)
- init_type(Fl_Help_View self, char * Fl_Help_View)
- leftline(self, *args)
- leftline(Fl_Help_View self, int arg2)
leftline(Fl_Help_View self) -> int
- link = __Fl_Help_ViewLink(self, *args)
- # override the implementation of Fl_Help_View.link
- load(self, *args)
- load(Fl_Help_View self, char const * f) -> int
- resize(self, *args)
- resize(Fl_Help_View self, int arg0, int arg1, int arg2, int arg3)
- scrollbar_size(self, *args)
- scrollbar_size(Fl_Help_View self) -> int
scrollbar_size(Fl_Help_View self, int newSize)
- select_all(self, *args)
- select_all(Fl_Help_View self)
- size(self, *args)
- size(Fl_Help_View self) -> int
size(Fl_Help_View self, int W, int H)
- textcolor(self, *args)
- textcolor(Fl_Help_View self, Fl_Color c)
textcolor(Fl_Help_View self) -> Fl_Color
- textfont(self, *args)
- textfont(Fl_Help_View self, Fl_Font f)
textfont(Fl_Help_View self) -> Fl_Font
- textsize(self, *args)
- textsize(Fl_Help_View self, Fl_Fontsize s)
textsize(Fl_Help_View self) -> Fl_Fontsize
- title(self, *args)
- title(Fl_Help_View self) -> char const *
- topline(self, *args)
- topline(Fl_Help_View self, char const * n)
topline(Fl_Help_View self, int arg2)
topline(Fl_Help_View self) -> int
- value(self, *args)
- value(Fl_Help_View self, char const * val)
value(Fl_Help_View self) -> char const *
Static methods defined here:
- __swig_destroy__ = delete_Fl_Help_View(...)
- delete_Fl_Help_View(Fl_Help_View self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- handle(self, *args)
- handle(Fl_Group self, int arg0) -> int
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Hold_Browser(Fl_Browser) |
|
Fl_Hold_Browser(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Hold_Browser self, int X, int Y, int W, int H, char const * L=None) -> Fl_Hold_Browser
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Hold_Browser self)
- full_height(self, *args)
- full_height(Fl_Hold_Browser self) -> int
- full_width(self, *args)
- full_width(Fl_Hold_Browser self) -> int
- incr_height(self, *args)
- incr_height(Fl_Hold_Browser self) -> int
- init_type(self, *args)
- init_type(Fl_Hold_Browser self, char * Fl_Hold_Browser)
- item_at(self, *args)
- item_at(Fl_Hold_Browser self, int line) -> void *
- item_draw(self, *args)
- item_draw(Fl_Hold_Browser self, void * item, int X, int Y, int W, int H)
- item_first(self, *args)
- item_first(Fl_Hold_Browser self) -> void *
- item_height(self, *args)
- item_height(Fl_Hold_Browser self, void * item) -> int
- item_last(self, *args)
- item_last(Fl_Hold_Browser self) -> void *
- item_next(self, *args)
- item_next(Fl_Hold_Browser self, void * item) -> void *
- item_prev(self, *args)
- item_prev(Fl_Hold_Browser self, void * item) -> void *
- item_quick_height(self, *args)
- item_quick_height(Fl_Hold_Browser self, void * item) -> int
- item_select(self, *args)
- item_select(Fl_Hold_Browser self, void * item, int val)
- item_selected(self, *args)
- item_selected(Fl_Hold_Browser self, void * item) -> int
- item_swap(self, *args)
- item_swap(Fl_Hold_Browser self, void * a, void * b)
- item_text(self, *args)
- item_text(Fl_Hold_Browser self, void * item) -> char const *
- item_width(self, *args)
- item_width(Fl_Hold_Browser self, void * item) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Hold_Browser(...)
- delete_Fl_Hold_Browser(Fl_Hold_Browser self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Browser:
- add(self, *args)
- add(Fl_Browser self, char const * text, PyObject * data=None)
- bottomline(self, *args)
- bottomline(Fl_Browser self, int line)
- clear(self, *args)
- clear(Fl_Browser self)
- column_char(self, *args)
- column_char(Fl_Browser self) -> char
column_char(Fl_Browser self, char c)
- column_widths(self, *args)
- column_widths(Fl_Browser self) -> int const
column_widths(Fl_Browser self, PyObject * widths)
- data(self, *args)
- data(Fl_Browser self, int index, PyObject * data=None) -> PyObject *
- display(self, *args)
- display(Fl_Browser self, int line, int val=1)
- displayed(self, *args)
- displayed(Fl_Browser self, int line) -> int
- format_char(self, *args)
- format_char(Fl_Browser self) -> char
format_char(Fl_Browser self, char c)
- get_data(self, *args)
- get_data(Fl_Browser self, int index) -> PyObject *
- hide(self, *args)
- hide(Fl_Browser self, int line)
hide(Fl_Browser self)
- icon(self, *args)
- icon(Fl_Browser self, int line, Fl_Image icon)
icon(Fl_Browser self, int line) -> Fl_Image
- insert(self, *args)
- insert(Fl_Browser self, int index, char const * text, PyObject * data=None)
- lineposition(self, *args)
- lineposition(Fl_Browser self, int line, Fl_Browser::Fl_Line_Position pos)
- load(self, *args)
- load(Fl_Browser self, char const * filename) -> int
- make_visible(self, *args)
- make_visible(Fl_Browser self, int line)
- middleline(self, *args)
- middleline(Fl_Browser self, int line)
- move(self, *args)
- move(Fl_Browser self, int to, int _from)
- remove(self, *args)
- remove(Fl_Browser self, int line)
- remove_icon(self, *args)
- remove_icon(Fl_Browser self, int line)
- replace(self, *args)
- replace(Fl_Browser self, int a, char const * b)
- select(self, *args)
- select(Fl_Browser self, int line, int val=1) -> int
- selected(self, *args)
- selected(Fl_Browser self, int line) -> int
- show(self, *args)
- show(Fl_Browser self, int line)
show(Fl_Browser self)
- size(self, *args)
- size(Fl_Browser self) -> int
size(Fl_Browser self, int W, int H)
- swap(self, *args)
- swap(Fl_Browser self, int a, int b)
- text(self, *args)
- text(Fl_Browser self, int line) -> char const
text(Fl_Browser self, int line, char const * newtext)
- textsize(self, *args)
- textsize(Fl_Browser self) -> Fl_Fontsize
textsize(Fl_Browser self, Fl_Fontsize newSize)
- topline(self, *args)
- topline(Fl_Browser self) -> int
topline(Fl_Browser self, int line)
- value(self, *args)
- value(Fl_Browser self) -> int
value(Fl_Browser self, int line)
- visible(self, *args)
- visible(Fl_Browser self, int line) -> int
Data and other attributes inherited from Fl_Browser:
- BOTTOM = 1
- MIDDLE = 2
- TOP = 0
Methods inherited from Fl_Browser_:
- deselect(self, *args)
- deselect(Fl_Browser_ self, int docallbacks=0) -> int
- getHScrollbar(self, *args)
- getHScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- getScrollbar(self, *args)
- getScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- handle(self, *args)
- handle(Fl_Browser_ self, int event) -> int
- has_scrollbar(self, *args)
- has_scrollbar(Fl_Browser_ self) -> uchar
has_scrollbar(Fl_Browser_ self, uchar mode)
- hposition(self, *args)
- hposition(Fl_Browser_ self) -> int
hposition(Fl_Browser_ self, int arg2)
- position(self, *args)
- position(Fl_Browser_ self) -> int
position(Fl_Browser_ self, int pos)
- resize(self, *args)
- resize(Fl_Browser_ self, int X, int Y, int W, int H)
- scrollbar_left(self, *args)
- scrollbar_left(Fl_Browser_ self)
- scrollbar_right(self, *args)
- scrollbar_right(Fl_Browser_ self)
- scrollbar_size(self, *args)
- scrollbar_size(Fl_Browser_ self) -> int
scrollbar_size(Fl_Browser_ self, int newSize)
- scrollbar_width(self, *args)
- scrollbar_width(Fl_Browser_ self) -> int
scrollbar_width(Fl_Browser_ self, int width)
- select_only(self, *args)
- select_only(Fl_Browser_ self, void * item, int docallbacks=0) -> int
- sort(self, *args)
- sort(Fl_Browser_ self, int flags=0)
- textcolor(self, *args)
- textcolor(Fl_Browser_ self) -> Fl_Color
textcolor(Fl_Browser_ self, Fl_Color col)
- textfont(self, *args)
- textfont(Fl_Browser_ self) -> Fl_Font
textfont(Fl_Browser_ self, Fl_Font font)
Data and other attributes inherited from Fl_Browser_:
- ALWAYS_ON = 4
- BOTH = 3
- BOTH_ALWAYS = 7
- HORIZONTAL = 1
- HORIZONTAL_ALWAYS = 5
- VERTICAL = 2
- VERTICAL_ALWAYS = 6
Methods inherited from Fl_Group:
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Hor_Fill_Slider(Fl_Slider) |
|
Fl_Hor_Fill_Slider(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Hor_Fill_Slider self, int X, int Y, int W, int H, char const * L=None) -> Fl_Hor_Fill_Slider
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Hor_Fill_Slider self)
- init_type(self, *args)
- init_type(Fl_Hor_Fill_Slider self, char * Fl_Hor_Fill_Slider)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Hor_Fill_Slider(...)
- delete_Fl_Hor_Fill_Slider(Fl_Hor_Fill_Slider self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Slider:
- bounds(self, *args)
- bounds(Fl_Slider self, double a, double b)
- handle(self, *args)
- handle(Fl_Slider self, int arg0) -> int
- scrollvalue(self, *args)
- scrollvalue(Fl_Slider self, int pos, int size, int first, int total) -> int
- slider(self, *args)
- slider(Fl_Slider self) -> Fl_Boxtype
slider(Fl_Slider self, Fl_Boxtype c)
- slider_size(self, *args)
- slider_size(Fl_Slider self) -> float
slider_size(Fl_Slider self, double v)
Methods inherited from Fl_Valuator:
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Hor_Nice_Slider(Fl_Slider) |
|
Fl_Hor_Nice_Slider(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Hor_Nice_Slider self, int X, int Y, int W, int H, char const * L=None) -> Fl_Hor_Nice_Slider
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Hor_Nice_Slider self)
- init_type(self, *args)
- init_type(Fl_Hor_Nice_Slider self, char * Fl_Hor_Nice_Slider)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Hor_Nice_Slider(...)
- delete_Fl_Hor_Nice_Slider(Fl_Hor_Nice_Slider self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Slider:
- bounds(self, *args)
- bounds(Fl_Slider self, double a, double b)
- handle(self, *args)
- handle(Fl_Slider self, int arg0) -> int
- scrollvalue(self, *args)
- scrollvalue(Fl_Slider self, int pos, int size, int first, int total) -> int
- slider(self, *args)
- slider(Fl_Slider self) -> Fl_Boxtype
slider(Fl_Slider self, Fl_Boxtype c)
- slider_size(self, *args)
- slider_size(Fl_Slider self) -> float
slider_size(Fl_Slider self, double v)
Methods inherited from Fl_Valuator:
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Hor_Slider(Fl_Slider) |
|
Fl_Hor_Slider(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Hor_Slider self, int X, int Y, int W, int H, char const * l=None) -> Fl_Hor_Slider
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Hor_Slider self)
- init_type(self, *args)
- init_type(Fl_Hor_Slider self, char * Fl_Hor_Slider)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Hor_Slider(...)
- delete_Fl_Hor_Slider(Fl_Hor_Slider self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Slider:
- bounds(self, *args)
- bounds(Fl_Slider self, double a, double b)
- handle(self, *args)
- handle(Fl_Slider self, int arg0) -> int
- scrollvalue(self, *args)
- scrollvalue(Fl_Slider self, int pos, int size, int first, int total) -> int
- slider(self, *args)
- slider(Fl_Slider self) -> Fl_Boxtype
slider(Fl_Slider self, Fl_Boxtype c)
- slider_size(self, *args)
- slider_size(Fl_Slider self) -> float
slider_size(Fl_Slider self, double v)
Methods inherited from Fl_Valuator:
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Hor_Value_Slider(Fl_Value_Slider) |
|
Fl_Hor_Value_Slider(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Hor_Value_Slider self, int X, int Y, int W, int H, char const * l=None) -> Fl_Hor_Value_Slider
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Hor_Value_Slider self)
- init_type(self, *args)
- init_type(Fl_Hor_Value_Slider self, char * Fl_Hor_Value_Slider)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Hor_Value_Slider(...)
- delete_Fl_Hor_Value_Slider(Fl_Hor_Value_Slider self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Value_Slider:
- handle(self, *args)
- handle(Fl_Value_Slider self, int arg0) -> int
- textcolor(self, *args)
- textcolor(Fl_Value_Slider self) -> Fl_Color
textcolor(Fl_Value_Slider self, Fl_Color s)
- textfont(self, *args)
- textfont(Fl_Value_Slider self) -> Fl_Font
textfont(Fl_Value_Slider self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Value_Slider self) -> Fl_Fontsize
textsize(Fl_Value_Slider self, Fl_Fontsize s)
Methods inherited from Fl_Slider:
- bounds(self, *args)
- bounds(Fl_Slider self, double a, double b)
- scrollvalue(self, *args)
- scrollvalue(Fl_Slider self, int pos, int size, int first, int total) -> int
- slider(self, *args)
- slider(Fl_Slider self) -> Fl_Boxtype
slider(Fl_Slider self, Fl_Boxtype c)
- slider_size(self, *args)
- slider_size(Fl_Slider self) -> float
slider_size(Fl_Slider self, double v)
Methods inherited from Fl_Valuator:
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Image(builtins.object) |
|
Fl_Image(*args)
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:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Image self, int W, int H, int D) -> Fl_Image
- __repr__ = _swig_repr(self)
- color_average(self, *args)
- color_average(Fl_Image self, Fl_Color c, float i)
- copy(self, *args)
- copy(Fl_Image self, int W, int H) -> Fl_Image
copy(Fl_Image self) -> Fl_Image
- count(self, *args)
- count(Fl_Image self) -> int
- d(self, *args)
- d(Fl_Image self) -> int
- data(self, *args)
- data(Fl_Image self) -> char const *const *
- desaturate(self, *args)
- desaturate(Fl_Image self)
- draw(self, *args)
- draw(Fl_Image self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(Fl_Image self, int X, int Y)
- fail(self, *args)
- fail(Fl_Image self) -> int
- h(self, *args)
- h(Fl_Image self) -> int
- inactive(self, *args)
- inactive(Fl_Image self)
- label(self, *args)
- label(Fl_Image self, Fl_Widget w)
label(Fl_Image self, Fl_Menu_Item m)
- ld(self, *args)
- ld(Fl_Image self) -> int
- uncache(self, *args)
- uncache(Fl_Image self)
- w(self, *args)
- w(Fl_Image self) -> int
Static methods defined here:
- RGB_scaling(*args)
- RGB_scaling(Fl_RGB_Scaling arg1)
RGB_scaling() -> Fl_RGB_Scaling
- __swig_destroy__ = delete_Fl_Image(...)
- delete_Fl_Image(Fl_Image self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
|
class Fl_Input(Fl_Input_) |
|
Fl_Input(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Input self, int arg2, int arg3, int arg4, int arg5, char const * arg6=None) -> Fl_Input
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Input self)
- handle(self, *args)
- handle(Fl_Input self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Input self, char * Fl_Input)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Input(...)
- delete_Fl_Input(Fl_Input self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Input_:
- copy(self, *args)
- copy(Fl_Input_ self, int clipboard) -> int
- copy_cuts(self, *args)
- copy_cuts(Fl_Input_ self) -> int
- cursor_color(self, *args)
- cursor_color(Fl_Input_ self) -> Fl_Color
cursor_color(Fl_Input_ self, Fl_Color n)
- cut(self, *args)
- cut(Fl_Input_ self) -> int
cut(Fl_Input_ self, int n) -> int
cut(Fl_Input_ self, int a, int b) -> int
- index(self, *args)
- index(Fl_Input_ self, int i) -> Fl_Char
- input_type(self, *args)
- input_type(Fl_Input_ self) -> int
input_type(Fl_Input_ self, int t)
- insert(self, *args)
- insert(Fl_Input_ self, char const * t, int l=0) -> int
- mark(self, *args)
- mark(Fl_Input_ self) -> int
mark(Fl_Input_ self, int m) -> int
- maximum_size(self, *args)
- maximum_size(Fl_Input_ self) -> int
maximum_size(Fl_Input_ self, int m)
- position(self, *args)
- position(Fl_Input_ self) -> int
position(Fl_Input_ self, int p, int m) -> int
position(Fl_Input_ self, int p) -> int
- readonly(self, *args)
- readonly(Fl_Input_ self) -> int
readonly(Fl_Input_ self, int b)
- replace(self, *args)
- replace(Fl_Input_ self, int b, int e, char const * text, int ilen=0) -> int
- resize(self, *args)
- resize(Fl_Input_ self, int arg0, int arg1, int arg2, int arg3)
- shortcut(self, *args)
- shortcut(Fl_Input_ self) -> int
shortcut(Fl_Input_ self, int s)
- size(self, *args)
- size(Fl_Input_ self) -> int
size(Fl_Input_ self, int W, int H)
- static_value(self, *args)
- static_value(Fl_Input_ self, char const * arg2) -> int
static_value(Fl_Input_ self, char const * arg2, int arg3) -> int
- tab_nav(self, *args)
- tab_nav(Fl_Input_ self, int val)
tab_nav(Fl_Input_ self) -> int
- textcolor(self, *args)
- textcolor(Fl_Input_ self) -> Fl_Color
textcolor(Fl_Input_ self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Input_ self) -> Fl_Font
textfont(Fl_Input_ self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Input_ self) -> Fl_Fontsize
textsize(Fl_Input_ self, Fl_Fontsize s)
- undo(self, *args)
- undo(Fl_Input_ self) -> int
- value(self, *args)
- value(Fl_Input_ self, char const * arg2) -> int
value(Fl_Input_ self, char const * arg2, int arg3) -> int
value(Fl_Input_ self) -> char const *
- wrap(self, *args)
- wrap(Fl_Input_ self) -> int
wrap(Fl_Input_ self, int b)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Input_(Fl_Widget) |
|
Fl_Input_(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Input_ self, int arg2, int arg3, int arg4, int arg5, char const * arg6=None) -> Fl_Input_
- __repr__ = _swig_repr(self)
- copy(self, *args)
- copy(Fl_Input_ self, int clipboard) -> int
- copy_cuts(self, *args)
- copy_cuts(Fl_Input_ self) -> int
- cursor_color(self, *args)
- cursor_color(Fl_Input_ self) -> Fl_Color
cursor_color(Fl_Input_ self, Fl_Color n)
- cut(self, *args)
- cut(Fl_Input_ self) -> int
cut(Fl_Input_ self, int n) -> int
cut(Fl_Input_ self, int a, int b) -> int
- index(self, *args)
- index(Fl_Input_ self, int i) -> Fl_Char
- init_type(self, *args)
- init_type(Fl_Input_ self, char * Fl_Input_)
- input_type(self, *args)
- input_type(Fl_Input_ self) -> int
input_type(Fl_Input_ self, int t)
- insert(self, *args)
- insert(Fl_Input_ self, char const * t, int l=0) -> int
- mark(self, *args)
- mark(Fl_Input_ self) -> int
mark(Fl_Input_ self, int m) -> int
- maximum_size(self, *args)
- maximum_size(Fl_Input_ self) -> int
maximum_size(Fl_Input_ self, int m)
- position(self, *args)
- position(Fl_Input_ self) -> int
position(Fl_Input_ self, int p, int m) -> int
position(Fl_Input_ self, int p) -> int
- readonly(self, *args)
- readonly(Fl_Input_ self) -> int
readonly(Fl_Input_ self, int b)
- replace(self, *args)
- replace(Fl_Input_ self, int b, int e, char const * text, int ilen=0) -> int
- resize(self, *args)
- resize(Fl_Input_ self, int arg0, int arg1, int arg2, int arg3)
- shortcut(self, *args)
- shortcut(Fl_Input_ self) -> int
shortcut(Fl_Input_ self, int s)
- size(self, *args)
- size(Fl_Input_ self) -> int
size(Fl_Input_ self, int W, int H)
- static_value(self, *args)
- static_value(Fl_Input_ self, char const * arg2) -> int
static_value(Fl_Input_ self, char const * arg2, int arg3) -> int
- tab_nav(self, *args)
- tab_nav(Fl_Input_ self, int val)
tab_nav(Fl_Input_ self) -> int
- textcolor(self, *args)
- textcolor(Fl_Input_ self) -> Fl_Color
textcolor(Fl_Input_ self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Input_ self) -> Fl_Font
textfont(Fl_Input_ self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Input_ self) -> Fl_Fontsize
textsize(Fl_Input_ self, Fl_Fontsize s)
- undo(self, *args)
- undo(Fl_Input_ self) -> int
- value(self, *args)
- value(Fl_Input_ self, char const * arg2) -> int
value(Fl_Input_ self, char const * arg2, int arg3) -> int
value(Fl_Input_ self) -> char const *
- wrap(self, *args)
- wrap(Fl_Input_ self) -> int
wrap(Fl_Input_ self, int b)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Input_(...)
- delete_Fl_Input_(Fl_Input_ self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw(self, *args)
- draw(Fl_Widget self)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- handle(self, *args)
- handle(Fl_Widget self, int event) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Input_Choice(Fl_Group) |
|
Fl_Input_Choice(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Input_Choice self, int X, int Y, int W, int H, char const * L=None) -> Fl_Input_Choice
- __repr__ = _swig_repr(self)
- add(self, *args)
- add(Fl_Input_Choice self, char const * s)
- changed(self, *args)
- changed(Fl_Input_Choice self) -> int
- clear(self, *args)
- clear(Fl_Input_Choice self)
- clear_changed(self, *args)
- clear_changed(Fl_Input_Choice self)
- down_box(self, *args)
- down_box(Fl_Input_Choice self) -> Fl_Boxtype
down_box(Fl_Input_Choice self, Fl_Boxtype b)
- draw(self, *args)
- draw(Fl_Input_Choice self)
- init_type(self, *args)
- init_type(Fl_Input_Choice self, char * Fl_Input_Choice)
- input(self, *args)
- input(Fl_Input_Choice self) -> Fl_Input
- menu(self, *args)
- menu(Fl_Input_Choice self) -> Fl_Menu_Item
menu(Fl_Input_Choice self, Fl_Menu_Item m)
- menubutton(self, *args)
- menubutton(Fl_Input_Choice self) -> Fl_Menu_Button
- resize(self, *args)
- resize(Fl_Input_Choice self, int X, int Y, int W, int H)
- set_changed(self, *args)
- set_changed(Fl_Input_Choice self)
- textcolor(self, *args)
- textcolor(Fl_Input_Choice self) -> Fl_Color
textcolor(Fl_Input_Choice self, Fl_Color c)
- textfont(self, *args)
- textfont(Fl_Input_Choice self) -> Fl_Font
textfont(Fl_Input_Choice self, Fl_Font f)
- textsize(self, *args)
- textsize(Fl_Input_Choice self) -> Fl_Fontsize
textsize(Fl_Input_Choice self, Fl_Fontsize s)
- value(self, *args)
- value(Fl_Input_Choice self) -> char const
value(Fl_Input_Choice self, char const * val)
value(Fl_Input_Choice self, int val)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Input_Choice(...)
- delete_Fl_Input_Choice(Fl_Input_Choice self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Group:
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- handle(self, *args)
- handle(Fl_Group self, int arg0) -> int
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Int_Input(Fl_Input) |
|
Fl_Int_Input(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Int_Input self, int X, int Y, int W, int H, char const * l=None) -> Fl_Int_Input
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Int_Input self)
- init_type(self, *args)
- init_type(Fl_Int_Input self, char * Fl_Int_Input)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Int_Input(...)
- delete_Fl_Int_Input(Fl_Int_Input self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Input:
- handle(self, *args)
- handle(Fl_Input self, int arg0) -> int
Methods inherited from Fl_Input_:
- copy(self, *args)
- copy(Fl_Input_ self, int clipboard) -> int
- copy_cuts(self, *args)
- copy_cuts(Fl_Input_ self) -> int
- cursor_color(self, *args)
- cursor_color(Fl_Input_ self) -> Fl_Color
cursor_color(Fl_Input_ self, Fl_Color n)
- cut(self, *args)
- cut(Fl_Input_ self) -> int
cut(Fl_Input_ self, int n) -> int
cut(Fl_Input_ self, int a, int b) -> int
- index(self, *args)
- index(Fl_Input_ self, int i) -> Fl_Char
- input_type(self, *args)
- input_type(Fl_Input_ self) -> int
input_type(Fl_Input_ self, int t)
- insert(self, *args)
- insert(Fl_Input_ self, char const * t, int l=0) -> int
- mark(self, *args)
- mark(Fl_Input_ self) -> int
mark(Fl_Input_ self, int m) -> int
- maximum_size(self, *args)
- maximum_size(Fl_Input_ self) -> int
maximum_size(Fl_Input_ self, int m)
- position(self, *args)
- position(Fl_Input_ self) -> int
position(Fl_Input_ self, int p, int m) -> int
position(Fl_Input_ self, int p) -> int
- readonly(self, *args)
- readonly(Fl_Input_ self) -> int
readonly(Fl_Input_ self, int b)
- replace(self, *args)
- replace(Fl_Input_ self, int b, int e, char const * text, int ilen=0) -> int
- resize(self, *args)
- resize(Fl_Input_ self, int arg0, int arg1, int arg2, int arg3)
- shortcut(self, *args)
- shortcut(Fl_Input_ self) -> int
shortcut(Fl_Input_ self, int s)
- size(self, *args)
- size(Fl_Input_ self) -> int
size(Fl_Input_ self, int W, int H)
- static_value(self, *args)
- static_value(Fl_Input_ self, char const * arg2) -> int
static_value(Fl_Input_ self, char const * arg2, int arg3) -> int
- tab_nav(self, *args)
- tab_nav(Fl_Input_ self, int val)
tab_nav(Fl_Input_ self) -> int
- textcolor(self, *args)
- textcolor(Fl_Input_ self) -> Fl_Color
textcolor(Fl_Input_ self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Input_ self) -> Fl_Font
textfont(Fl_Input_ self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Input_ self) -> Fl_Fontsize
textsize(Fl_Input_ self, Fl_Fontsize s)
- undo(self, *args)
- undo(Fl_Input_ self) -> int
- value(self, *args)
- value(Fl_Input_ self, char const * arg2) -> int
value(Fl_Input_ self, char const * arg2, int arg3) -> int
value(Fl_Input_ self) -> char const *
- wrap(self, *args)
- wrap(Fl_Input_ self) -> int
wrap(Fl_Input_ self, int b)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_JPEG_Image(Fl_RGB_Image) |
|
Fl_JPEG_Image(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_JPEG_Image self, char const * filename) -> Fl_JPEG_Image
__init__(Fl_JPEG_Image self, char const * name, unsigned char const * data) -> Fl_JPEG_Image
- __repr__ = _swig_repr(self)
Static methods defined here:
- __swig_destroy__ = delete_Fl_JPEG_Image(...)
- delete_Fl_JPEG_Image(Fl_JPEG_Image self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_RGB_Image:
- color_average(self, *args)
- color_average(Fl_RGB_Image self, Fl_Color c, float i)
- copy(self, *args)
- copy(Fl_RGB_Image self, int W, int H) -> Fl_Image
copy(Fl_RGB_Image self) -> Fl_Image
- desaturate(self, *args)
- desaturate(Fl_RGB_Image self)
- draw(self, *args)
- draw(Fl_RGB_Image self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(Fl_RGB_Image self, int X, int Y)
- label(self, *args)
- label(Fl_RGB_Image self, Fl_Widget w)
label(Fl_RGB_Image self, Fl_Menu_Item m)
- uncache(self, *args)
- uncache(Fl_RGB_Image self)
Static methods inherited from Fl_RGB_Image:
- max_size(*args)
- max_size(size_t size)
max_size() -> size_t
Methods inherited from Fl_Image:
- count(self, *args)
- count(Fl_Image self) -> int
- d(self, *args)
- d(Fl_Image self) -> int
- data(self, *args)
- data(Fl_Image self) -> char const *const *
- fail(self, *args)
- fail(Fl_Image self) -> int
- h(self, *args)
- h(Fl_Image self) -> int
- inactive(self, *args)
- inactive(Fl_Image self)
- ld(self, *args)
- ld(Fl_Image self) -> int
- w(self, *args)
- w(Fl_Image self) -> int
Static methods inherited from Fl_Image:
- RGB_scaling(*args)
- RGB_scaling(Fl_RGB_Scaling arg1)
RGB_scaling() -> Fl_RGB_Scaling
Data descriptors inherited from Fl_Image:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Label(builtins.object) |
|
Fl_Label(*args)
Proxy of C++ Fl_Label class. |
|
Methods defined here:
- __init__(self, *args)
- __init__(Fl_Label self) -> Fl_Label
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Label self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
- measure(self, *args)
- measure(Fl_Label self, int & w, int & h)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Label(...)
- delete_Fl_Label(Fl_Label self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
|
class Fl_Light_Button(Fl_Button) |
|
Fl_Light_Button(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Light_Button self, int x, int y, int w, int h, char const * l=None) -> Fl_Light_Button
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Light_Button self)
- handle(self, *args)
- handle(Fl_Light_Button self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Light_Button self, char * Fl_Light_Button)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Light_Button(...)
- delete_Fl_Light_Button(Fl_Light_Button self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Button:
- clear(self, *args)
- clear(Fl_Button self) -> int
- down_box(self, *args)
- down_box(Fl_Button self) -> Fl_Boxtype
down_box(Fl_Button self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Button self) -> Fl_Color
down_color(Fl_Button self, unsigned int c)
- set(self, *args)
- set(Fl_Button self) -> int
- setonly(self, *args)
- setonly(Fl_Button self)
- shortcut(self, *args)
- shortcut(Fl_Button self) -> int
shortcut(Fl_Button self, int s)
shortcut(Fl_Button self, char const * s)
- value(self, *args)
- value(Fl_Button self, int v) -> int
value(Fl_Button self) -> char
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Line_Dial(Fl_Dial) |
|
Fl_Line_Dial(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Line_Dial self, int X, int Y, int W, int H, char const * L=None) -> Fl_Line_Dial
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Line_Dial self)
- init_type(self, *args)
- init_type(Fl_Line_Dial self, char * Fl_Line_Dial)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Line_Dial(...)
- delete_Fl_Line_Dial(Fl_Line_Dial self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Dial:
- angle1(self, *args)
- angle1(Fl_Dial self) -> short
angle1(Fl_Dial self, short a)
- angle2(self, *args)
- angle2(Fl_Dial self) -> short
angle2(Fl_Dial self, short a)
- angles(self, *args)
- angles(Fl_Dial self, short a, short b)
- handle(self, *args)
- handle(Fl_Dial self, int arg0) -> int
Methods inherited from Fl_Valuator:
- bounds(self, *args)
- bounds(Fl_Valuator self, double a, double b)
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Menu_(Fl_Widget) |
|
Fl_Menu_(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Menu_ self, int arg2, int arg3, int arg4, int arg5, char const * arg6=None) -> Fl_Menu_
- __repr__ = _swig_repr(self)
- add(self, *args)
- add(Fl_Menu_ self, char const * arg2, int shortcut, Fl_Callback * arg4, void * arg5=None, int arg6=0) -> int
add(Fl_Menu_ self, char const * arg2) -> int
add(Fl_Menu_ self, PyObject * lObj, PyObject * sObj, PyObject * cObj, PyObject * uObj=None, PyObject * fObj=None) -> int
- clear(self, *args)
- clear(Fl_Menu_ self)
- clear_submenu(self, *args)
- clear_submenu(Fl_Menu_ self, int index) -> int
- copy(self, *args)
- copy(Fl_Menu_ self, Fl_Menu_Item m, void * user_data=None)
copy(Fl_Menu_ self, PyObject * args, PyObject * user_data=None)
- down_box(self, *args)
- down_box(Fl_Menu_ self) -> Fl_Boxtype
down_box(Fl_Menu_ self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Menu_ self) -> Fl_Color
down_color(Fl_Menu_ self, unsigned int c)
- find_index(self, *args)
- find_index(Fl_Menu_ self, char const * name) -> int
find_index(Fl_Menu_ self, Fl_Menu_Item item) -> int
find_index(Fl_Menu_ self, Fl_Callback * cb) -> int
- find_item(self, *args)
- find_item(Fl_Menu_ self, char const * name) -> Fl_Menu_Item
find_item(Fl_Menu_ self, Fl_Callback * arg2) -> Fl_Menu_Item
- init_type(self, *args)
- init_type(Fl_Menu_ self, char * Fl_Menu_)
- insert(self, *args)
- insert(Fl_Menu_ self, int index, char const * arg3, int shortcut, Fl_Callback * arg5, void * arg6=None, int arg7=0) -> int
insert(Fl_Menu_ self, int index, char const * a, char const * b, Fl_Callback * c, void * d=None, int e=0) -> int
- item_pathname(self, *args)
- item_pathname(Fl_Menu_ self, char * name, int namelen, Fl_Menu_Item finditem=None) -> int
- menu(self, *args)
- menu(Fl_Menu_ self) -> Fl_Menu_Item
menu(Fl_Menu_ self, PyObject * args)
menu(Fl_Menu_ self) -> PyObject *
- mode(self, *args)
- mode(Fl_Menu_ self, int i, int fl)
mode(Fl_Menu_ self, int i) -> int
- mvalue(self, *args)
- mvalue(Fl_Menu_ self) -> Fl_Menu_Item
- picked(self, *args)
- picked(Fl_Menu_ self, Fl_Menu_Item arg2) -> Fl_Menu_Item
- remove(self, *args)
- remove(Fl_Menu_ self, int arg2)
- replace(self, *args)
- replace(Fl_Menu_ self, int arg2, char const * arg3)
- setonly(self, *args)
- setonly(Fl_Menu_ self, Fl_Menu_Item item)
- shortcut(self, *args)
- shortcut(Fl_Menu_ self, int i, int s)
- size(self, *args)
- size(Fl_Menu_ self) -> int
size(Fl_Menu_ self, int W, int H)
- test_shortcut(self, *args)
- test_shortcut(Fl_Menu_ self) -> Fl_Menu_Item
- text(self, *args)
- text(Fl_Menu_ self) -> char const
text(Fl_Menu_ self, int i) -> char const *
- textcolor(self, *args)
- textcolor(Fl_Menu_ self) -> Fl_Color
textcolor(Fl_Menu_ self, Fl_Color c)
- textfont(self, *args)
- textfont(Fl_Menu_ self) -> Fl_Font
textfont(Fl_Menu_ self, Fl_Font c)
- textsize(self, *args)
- textsize(Fl_Menu_ self) -> Fl_Fontsize
textsize(Fl_Menu_ self, Fl_Fontsize c)
- value(self, *args)
- value(Fl_Menu_ self) -> int
value(Fl_Menu_ self, int i) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Menu_(...)
- delete_Fl_Menu_(Fl_Menu_ self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw(self, *args)
- draw(Fl_Widget self)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- handle(self, *args)
- handle(Fl_Widget self, int event) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Menu_Bar(Fl_Menu_) |
|
Fl_Menu_Bar(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Menu_Bar self, int X, int Y, int W, int H, char const * l=None) -> Fl_Menu_Bar
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Menu_Bar self)
- handle(self, *args)
- handle(Fl_Menu_Bar self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Menu_Bar self, char * Fl_Menu_Bar)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Menu_Bar(...)
- delete_Fl_Menu_Bar(Fl_Menu_Bar self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Menu_:
- add(self, *args)
- add(Fl_Menu_ self, char const * arg2, int shortcut, Fl_Callback * arg4, void * arg5=None, int arg6=0) -> int
add(Fl_Menu_ self, char const * arg2) -> int
add(Fl_Menu_ self, PyObject * lObj, PyObject * sObj, PyObject * cObj, PyObject * uObj=None, PyObject * fObj=None) -> int
- clear(self, *args)
- clear(Fl_Menu_ self)
- clear_submenu(self, *args)
- clear_submenu(Fl_Menu_ self, int index) -> int
- copy(self, *args)
- copy(Fl_Menu_ self, Fl_Menu_Item m, void * user_data=None)
copy(Fl_Menu_ self, PyObject * args, PyObject * user_data=None)
- down_box(self, *args)
- down_box(Fl_Menu_ self) -> Fl_Boxtype
down_box(Fl_Menu_ self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Menu_ self) -> Fl_Color
down_color(Fl_Menu_ self, unsigned int c)
- find_index(self, *args)
- find_index(Fl_Menu_ self, char const * name) -> int
find_index(Fl_Menu_ self, Fl_Menu_Item item) -> int
find_index(Fl_Menu_ self, Fl_Callback * cb) -> int
- find_item(self, *args)
- find_item(Fl_Menu_ self, char const * name) -> Fl_Menu_Item
find_item(Fl_Menu_ self, Fl_Callback * arg2) -> Fl_Menu_Item
- insert(self, *args)
- insert(Fl_Menu_ self, int index, char const * arg3, int shortcut, Fl_Callback * arg5, void * arg6=None, int arg7=0) -> int
insert(Fl_Menu_ self, int index, char const * a, char const * b, Fl_Callback * c, void * d=None, int e=0) -> int
- item_pathname(self, *args)
- item_pathname(Fl_Menu_ self, char * name, int namelen, Fl_Menu_Item finditem=None) -> int
- menu(self, *args)
- menu(Fl_Menu_ self) -> Fl_Menu_Item
menu(Fl_Menu_ self, PyObject * args)
menu(Fl_Menu_ self) -> PyObject *
- mode(self, *args)
- mode(Fl_Menu_ self, int i, int fl)
mode(Fl_Menu_ self, int i) -> int
- mvalue(self, *args)
- mvalue(Fl_Menu_ self) -> Fl_Menu_Item
- picked(self, *args)
- picked(Fl_Menu_ self, Fl_Menu_Item arg2) -> Fl_Menu_Item
- remove(self, *args)
- remove(Fl_Menu_ self, int arg2)
- replace(self, *args)
- replace(Fl_Menu_ self, int arg2, char const * arg3)
- setonly(self, *args)
- setonly(Fl_Menu_ self, Fl_Menu_Item item)
- shortcut(self, *args)
- shortcut(Fl_Menu_ self, int i, int s)
- size(self, *args)
- size(Fl_Menu_ self) -> int
size(Fl_Menu_ self, int W, int H)
- test_shortcut(self, *args)
- test_shortcut(Fl_Menu_ self) -> Fl_Menu_Item
- text(self, *args)
- text(Fl_Menu_ self) -> char const
text(Fl_Menu_ self, int i) -> char const *
- textcolor(self, *args)
- textcolor(Fl_Menu_ self) -> Fl_Color
textcolor(Fl_Menu_ self, Fl_Color c)
- textfont(self, *args)
- textfont(Fl_Menu_ self) -> Fl_Font
textfont(Fl_Menu_ self, Fl_Font c)
- textsize(self, *args)
- textsize(Fl_Menu_ self) -> Fl_Fontsize
textsize(Fl_Menu_ self, Fl_Fontsize c)
- value(self, *args)
- value(Fl_Menu_ self) -> int
value(Fl_Menu_ self, int i) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Menu_Button(Fl_Menu_) |
|
Fl_Menu_Button(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Menu_Button self, int arg2, int arg3, int arg4, int arg5, char const * arg6=None) -> Fl_Menu_Button
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Menu_Button self)
- handle(self, *args)
- handle(Fl_Menu_Button self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Menu_Button self, char * Fl_Menu_Button)
- popup(self, *args)
- popup(Fl_Menu_Button self) -> Fl_Menu_Item
Static methods defined here:
- __swig_destroy__ = delete_Fl_Menu_Button(...)
- delete_Fl_Menu_Button(Fl_Menu_Button self)
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
Methods inherited from Fl_Menu_:
- add(self, *args)
- add(Fl_Menu_ self, char const * arg2, int shortcut, Fl_Callback * arg4, void * arg5=None, int arg6=0) -> int
add(Fl_Menu_ self, char const * arg2) -> int
add(Fl_Menu_ self, PyObject * lObj, PyObject * sObj, PyObject * cObj, PyObject * uObj=None, PyObject * fObj=None) -> int
- clear(self, *args)
- clear(Fl_Menu_ self)
- clear_submenu(self, *args)
- clear_submenu(Fl_Menu_ self, int index) -> int
- copy(self, *args)
- copy(Fl_Menu_ self, Fl_Menu_Item m, void * user_data=None)
copy(Fl_Menu_ self, PyObject * args, PyObject * user_data=None)
- down_box(self, *args)
- down_box(Fl_Menu_ self) -> Fl_Boxtype
down_box(Fl_Menu_ self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Menu_ self) -> Fl_Color
down_color(Fl_Menu_ self, unsigned int c)
- find_index(self, *args)
- find_index(Fl_Menu_ self, char const * name) -> int
find_index(Fl_Menu_ self, Fl_Menu_Item item) -> int
find_index(Fl_Menu_ self, Fl_Callback * cb) -> int
- find_item(self, *args)
- find_item(Fl_Menu_ self, char const * name) -> Fl_Menu_Item
find_item(Fl_Menu_ self, Fl_Callback * arg2) -> Fl_Menu_Item
- insert(self, *args)
- insert(Fl_Menu_ self, int index, char const * arg3, int shortcut, Fl_Callback * arg5, void * arg6=None, int arg7=0) -> int
insert(Fl_Menu_ self, int index, char const * a, char const * b, Fl_Callback * c, void * d=None, int e=0) -> int
- item_pathname(self, *args)
- item_pathname(Fl_Menu_ self, char * name, int namelen, Fl_Menu_Item finditem=None) -> int
- menu(self, *args)
- menu(Fl_Menu_ self) -> Fl_Menu_Item
menu(Fl_Menu_ self, PyObject * args)
menu(Fl_Menu_ self) -> PyObject *
- mode(self, *args)
- mode(Fl_Menu_ self, int i, int fl)
mode(Fl_Menu_ self, int i) -> int
- mvalue(self, *args)
- mvalue(Fl_Menu_ self) -> Fl_Menu_Item
- picked(self, *args)
- picked(Fl_Menu_ self, Fl_Menu_Item arg2) -> Fl_Menu_Item
- remove(self, *args)
- remove(Fl_Menu_ self, int arg2)
- replace(self, *args)
- replace(Fl_Menu_ self, int arg2, char const * arg3)
- setonly(self, *args)
- setonly(Fl_Menu_ self, Fl_Menu_Item item)
- shortcut(self, *args)
- shortcut(Fl_Menu_ self, int i, int s)
- size(self, *args)
- size(Fl_Menu_ self) -> int
size(Fl_Menu_ self, int W, int H)
- test_shortcut(self, *args)
- test_shortcut(Fl_Menu_ self) -> Fl_Menu_Item
- text(self, *args)
- text(Fl_Menu_ self) -> char const
text(Fl_Menu_ self, int i) -> char const *
- textcolor(self, *args)
- textcolor(Fl_Menu_ self) -> Fl_Color
textcolor(Fl_Menu_ self, Fl_Color c)
- textfont(self, *args)
- textfont(Fl_Menu_ self) -> Fl_Font
textfont(Fl_Menu_ self, Fl_Font c)
- textsize(self, *args)
- textsize(Fl_Menu_ self) -> Fl_Fontsize
textsize(Fl_Menu_ self, Fl_Fontsize c)
- value(self, *args)
- value(Fl_Menu_ self) -> int
value(Fl_Menu_ self, int i) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Menu_Item(builtins.object) |
|
Fl_Menu_Item(*args)
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:
- __init__(self, *args)
- __init__(Fl_Menu_Item self) -> Fl_Menu_Item
- __repr__ = _swig_repr(self)
- activate(self, *args)
- activate(Fl_Menu_Item self)
- active(self, *args)
- active(Fl_Menu_Item self) -> int
- activevisible(self, *args)
- activevisible(Fl_Menu_Item self) -> int
- add(self, *args)
- add(Fl_Menu_Item self, char const * arg2, int shortcut, Fl_Callback * arg4, void * arg5=None, int arg6=0) -> int
add(Fl_Menu_Item self, char const * a, char const * b, Fl_Callback * c, void * d=None, int e=0) -> int
- add_multi_label(self, *args)
- add_multi_label(Fl_Menu_Item self, Fl_Pixmap pixmap)
- argument(self, *args)
- argument(Fl_Menu_Item self) -> long
argument(Fl_Menu_Item self, long v)
- callback(self, *args)
- callback(Fl_Menu_Item self, Fl_Callback * c, void * p)
callback(Fl_Menu_Item self, Fl_Callback * c)
callback(Fl_Menu_Item self, Fl_Callback0 * c)
callback(Fl_Menu_Item self, Fl_Callback1 * c, long p=0)
callback(Fl_Menu_Item self) -> PyObject *
- check(self, *args)
- check(Fl_Menu_Item self)
- checkbox(self, *args)
- checkbox(Fl_Menu_Item self) -> int
- checked(self, *args)
- checked(Fl_Menu_Item self) -> int
- clear(self, *args)
- clear(Fl_Menu_Item self)
- deactivate(self, *args)
- deactivate(Fl_Menu_Item self)
- do_callback(self, *args)
- do_callback(Fl_Menu_Item self, Fl_Widget o)
do_callback(Fl_Menu_Item self, Fl_Widget o, void * arg)
do_callback(Fl_Menu_Item self, Fl_Widget o, long arg)
- draw(self, *args)
- draw(Fl_Menu_Item self, int x, int y, int w, int h, Fl_Menu_ arg6, int t=0)
- find_shortcut(self, *args)
- find_shortcut(Fl_Menu_Item self, int * ip=None, bool const require_alt=False) -> Fl_Menu_Item
- first(self, *args)
- first(Fl_Menu_Item self) -> Fl_Menu_Item
first(Fl_Menu_Item self) -> Fl_Menu_Item
- hide(self, *args)
- hide(Fl_Menu_Item self)
- image(self, *args)
- image(Fl_Menu_Item self, Fl_Image a)
image(Fl_Menu_Item self, Fl_Image a)
- insert(self, *args)
- insert(Fl_Menu_Item self, int arg2, char const * arg3, int arg4, Fl_Callback * arg5, void * arg6=None, int arg7=0) -> int
- label(self, *args)
- label(Fl_Menu_Item self) -> char const
label(Fl_Menu_Item self, char const * a)
label(Fl_Menu_Item self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Menu_Item self) -> Fl_Color
labelcolor(Fl_Menu_Item self, Fl_Color a)
- labelfont(self, *args)
- labelfont(Fl_Menu_Item self) -> Fl_Font
labelfont(Fl_Menu_Item self, Fl_Font a)
- labelsize(self, *args)
- labelsize(Fl_Menu_Item self) -> Fl_Fontsize
labelsize(Fl_Menu_Item self, Fl_Fontsize a)
- labeltype(self, *args)
- labeltype(Fl_Menu_Item self) -> Fl_Labeltype
labeltype(Fl_Menu_Item self, Fl_Labeltype a)
- measure(self, *args)
- measure(Fl_Menu_Item self, int * h, Fl_Menu_ arg3) -> int
- next(self, *args)
- next(Fl_Menu_Item self, int arg2=1) -> Fl_Menu_Item
next(Fl_Menu_Item self, int i=1) -> Fl_Menu_Item
- popup(self, *args)
- popup(Fl_Menu_Item self, int X, int Y, char const * title=None, Fl_Menu_Item picked=None, Fl_Menu_ arg6=None) -> Fl_Menu_Item
- pulldown(self, *args)
- pulldown(Fl_Menu_Item self, int X, int Y, int W, int H, Fl_Menu_Item picked=None, Fl_Menu_ arg7=None, Fl_Menu_Item title=None, int menubar=0) -> Fl_Menu_Item
- radio(self, *args)
- radio(Fl_Menu_Item self) -> int
- set(self, *args)
- set(Fl_Menu_Item self)
- setonly(self, *args)
- setonly(Fl_Menu_Item self)
- shortcut(self, *args)
- shortcut(Fl_Menu_Item self) -> int
shortcut(Fl_Menu_Item self, int s)
- show(self, *args)
- show(Fl_Menu_Item self)
- size(self, *args)
- size(Fl_Menu_Item self) -> int
- submenu(self, *args)
- submenu(Fl_Menu_Item self) -> int
- test_shortcut(self, *args)
- test_shortcut(Fl_Menu_Item self) -> Fl_Menu_Item
- uncheck(self, *args)
- uncheck(Fl_Menu_Item self)
- user_data(self, *args)
- user_data(Fl_Menu_Item self) -> PyObject *
- value(self, *args)
- value(Fl_Menu_Item self) -> int
- visible(self, *args)
- visible(Fl_Menu_Item self) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Menu_Item(...)
- delete_Fl_Menu_Item(Fl_Menu_Item self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
|
class Fl_Menu_Window(Fl_Single_Window) |
|
Fl_Menu_Window(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Menu_Window self, int W, int H, char const * l=None) -> Fl_Menu_Window
__init__(Fl_Menu_Window self, int X, int Y, int W, int H, char const * l=None) -> Fl_Menu_Window
- __repr__ = _swig_repr(self)
- clear_overlay(self, *args)
- clear_overlay(Fl_Menu_Window self)
- draw(self, *args)
- draw(Fl_Menu_Window self)
- erase(self, *args)
- erase(Fl_Menu_Window self)
- flush(self, *args)
- flush(Fl_Menu_Window self)
- hide(self, *args)
- hide(Fl_Menu_Window self)
- init_type(self, *args)
- init_type(Fl_Menu_Window self, char * Fl_Menu_Window)
- overlay(self, *args)
- overlay(Fl_Menu_Window self) -> unsigned int
- set_overlay(self, *args)
- set_overlay(Fl_Menu_Window self)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Menu_Window(...)
- delete_Fl_Menu_Window(Fl_Menu_Window self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Single_Window:
- show(self, *args)
- show(Fl_Single_Window self, PyObject * count=None, PyObject * data=None)
Methods inherited from Fl_Window:
- as_window(self, *args)
- as_window(Fl_Window self) -> Fl_Window
- border(self, *args)
- border(Fl_Window self, int b)
border(Fl_Window self) -> unsigned int
- clear_border(self, *args)
- clear_border(Fl_Window self)
- clear_modal_states(self, *args)
- clear_modal_states(Fl_Window self)
- copy_label(self, *args)
- copy_label(Fl_Window self, char const * a)
- cursor(self, *args)
- cursor(Fl_Window self, Fl_Cursor arg2)
cursor(Fl_Window self, Fl_RGB_Image arg2, int arg3, int arg4)
cursor(Fl_Window self, Fl_Cursor c, Fl_Color arg3, Fl_Color arg4=)
- decorated_h(self, *args)
- decorated_h(Fl_Window self) -> int
- decorated_w(self, *args)
- decorated_w(Fl_Window self) -> int
- default_cursor(self, *args)
- default_cursor(Fl_Window self, Fl_Cursor arg2)
default_cursor(Fl_Window self, Fl_Cursor c, Fl_Color arg3, Fl_Color arg4=)
- free_position(self, *args)
- free_position(Fl_Window self)
- fullscreen(self, *args)
- fullscreen(Fl_Window self)
- fullscreen_active(self, *args)
- fullscreen_active(Fl_Window self) -> unsigned int
- fullscreen_off(self, *args)
- fullscreen_off(Fl_Window self)
fullscreen_off(Fl_Window self, int X, int Y, int W, int H)
- fullscreen_screens(self, *args)
- fullscreen_screens(Fl_Window self, int top, int bottom, int left, int right)
- handle(self, *args)
- handle(Fl_Window self, int arg0) -> int
- hotspot(self, *args)
- hotspot(Fl_Window self, int x, int y, int offscreen=0)
hotspot(Fl_Window self, Fl_Widget arg2, int offscreen=0)
- icon(self, *args)
- icon(Fl_Window self, Fl_RGB_Image arg2)
icon(Fl_Window self) -> void const
icon(Fl_Window self, void const * ic)
- iconize(self, *args)
- iconize(Fl_Window self)
- iconlabel(self, *args)
- iconlabel(Fl_Window self) -> char const
iconlabel(Fl_Window self, char const * arg2)
- icons(self, *args)
- icons(Fl_Window self, Fl_RGB_Image const *[] arg2, int arg3)
- label(self, *args)
- label(Fl_Window self) -> char const
label(Fl_Window self, char const * arg2)
label(Fl_Window self, char const * label, char const * iconlabel)
- make_current(self, *args)
- make_current(Fl_Window self)
- menu_window(self, *args)
- menu_window(Fl_Window self) -> unsigned int
- modal(self, *args)
- modal(Fl_Window self) -> unsigned int
- non_modal(self, *args)
- non_modal(Fl_Window self) -> unsigned int
- override(self, *args)
- override(Fl_Window self) -> unsigned int
- resize(self, *args)
- resize(Fl_Window self, int X, int Y, int W, int H)
- set_menu_window(self, *args)
- set_menu_window(Fl_Window self)
- set_modal(self, *args)
- set_modal(Fl_Window self)
- set_non_modal(self, *args)
- set_non_modal(Fl_Window self)
- set_override(self, *args)
- set_override(Fl_Window self)
- set_tooltip_window(self, *args)
- set_tooltip_window(Fl_Window self)
- shape(self, *args)
- shape(Fl_Window self, Fl_Image img)
shape(Fl_Window self, Fl_Image b)
- shown(self, *args)
- shown(Fl_Window self) -> int
- size_range(self, *args)
- size_range(Fl_Window self, int minw, int minh, int maxw=0, int maxh=0, int dw=0, int dh=0, int aspect=0)
- tooltip_window(self, *args)
- tooltip_window(Fl_Window self) -> unsigned int
- wait_for_expose(self, *args)
- wait_for_expose(Fl_Window self)
- x_root(self, *args)
- x_root(Fl_Window self) -> int
- xclass(self, *args)
- xclass(Fl_Window self) -> char const
xclass(Fl_Window self, char const * c)
- y_root(self, *args)
- y_root(Fl_Window self) -> int
Static methods inherited from Fl_Window:
- current(*args)
- current() -> Fl_Window
- default_callback(*args)
- default_callback(Fl_Window arg1, void * v)
- default_icon(*args)
- default_icon(Fl_RGB_Image arg1)
- default_icons(*args)
- default_icons(Fl_RGB_Image const *[] arg1, int arg2)
- default_xclass(*args)
- default_xclass(char const * arg1)
default_xclass() -> char const *
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Multi_Browser(Fl_Browser) |
|
Fl_Multi_Browser(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Multi_Browser self, int X, int Y, int W, int H, char const * L=None) -> Fl_Multi_Browser
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Multi_Browser self)
- full_height(self, *args)
- full_height(Fl_Multi_Browser self) -> int
- full_width(self, *args)
- full_width(Fl_Multi_Browser self) -> int
- incr_height(self, *args)
- incr_height(Fl_Multi_Browser self) -> int
- init_type(self, *args)
- init_type(Fl_Multi_Browser self, char * Fl_Multi_Browser)
- item_at(self, *args)
- item_at(Fl_Multi_Browser self, int line) -> void *
- item_draw(self, *args)
- item_draw(Fl_Multi_Browser self, void * item, int X, int Y, int W, int H)
- item_first(self, *args)
- item_first(Fl_Multi_Browser self) -> void *
- item_height(self, *args)
- item_height(Fl_Multi_Browser self, void * item) -> int
- item_last(self, *args)
- item_last(Fl_Multi_Browser self) -> void *
- item_next(self, *args)
- item_next(Fl_Multi_Browser self, void * item) -> void *
- item_prev(self, *args)
- item_prev(Fl_Multi_Browser self, void * item) -> void *
- item_quick_height(self, *args)
- item_quick_height(Fl_Multi_Browser self, void * item) -> int
- item_select(self, *args)
- item_select(Fl_Multi_Browser self, void * item, int val)
- item_selected(self, *args)
- item_selected(Fl_Multi_Browser self, void * item) -> int
- item_swap(self, *args)
- item_swap(Fl_Multi_Browser self, void * a, void * b)
- item_text(self, *args)
- item_text(Fl_Multi_Browser self, void * item) -> char const *
- item_width(self, *args)
- item_width(Fl_Multi_Browser self, void * item) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Multi_Browser(...)
- delete_Fl_Multi_Browser(Fl_Multi_Browser self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Browser:
- add(self, *args)
- add(Fl_Browser self, char const * text, PyObject * data=None)
- bottomline(self, *args)
- bottomline(Fl_Browser self, int line)
- clear(self, *args)
- clear(Fl_Browser self)
- column_char(self, *args)
- column_char(Fl_Browser self) -> char
column_char(Fl_Browser self, char c)
- column_widths(self, *args)
- column_widths(Fl_Browser self) -> int const
column_widths(Fl_Browser self, PyObject * widths)
- data(self, *args)
- data(Fl_Browser self, int index, PyObject * data=None) -> PyObject *
- display(self, *args)
- display(Fl_Browser self, int line, int val=1)
- displayed(self, *args)
- displayed(Fl_Browser self, int line) -> int
- format_char(self, *args)
- format_char(Fl_Browser self) -> char
format_char(Fl_Browser self, char c)
- get_data(self, *args)
- get_data(Fl_Browser self, int index) -> PyObject *
- hide(self, *args)
- hide(Fl_Browser self, int line)
hide(Fl_Browser self)
- icon(self, *args)
- icon(Fl_Browser self, int line, Fl_Image icon)
icon(Fl_Browser self, int line) -> Fl_Image
- insert(self, *args)
- insert(Fl_Browser self, int index, char const * text, PyObject * data=None)
- lineposition(self, *args)
- lineposition(Fl_Browser self, int line, Fl_Browser::Fl_Line_Position pos)
- load(self, *args)
- load(Fl_Browser self, char const * filename) -> int
- make_visible(self, *args)
- make_visible(Fl_Browser self, int line)
- middleline(self, *args)
- middleline(Fl_Browser self, int line)
- move(self, *args)
- move(Fl_Browser self, int to, int _from)
- remove(self, *args)
- remove(Fl_Browser self, int line)
- remove_icon(self, *args)
- remove_icon(Fl_Browser self, int line)
- replace(self, *args)
- replace(Fl_Browser self, int a, char const * b)
- select(self, *args)
- select(Fl_Browser self, int line, int val=1) -> int
- selected(self, *args)
- selected(Fl_Browser self, int line) -> int
- show(self, *args)
- show(Fl_Browser self, int line)
show(Fl_Browser self)
- size(self, *args)
- size(Fl_Browser self) -> int
size(Fl_Browser self, int W, int H)
- swap(self, *args)
- swap(Fl_Browser self, int a, int b)
- text(self, *args)
- text(Fl_Browser self, int line) -> char const
text(Fl_Browser self, int line, char const * newtext)
- textsize(self, *args)
- textsize(Fl_Browser self) -> Fl_Fontsize
textsize(Fl_Browser self, Fl_Fontsize newSize)
- topline(self, *args)
- topline(Fl_Browser self) -> int
topline(Fl_Browser self, int line)
- value(self, *args)
- value(Fl_Browser self) -> int
value(Fl_Browser self, int line)
- visible(self, *args)
- visible(Fl_Browser self, int line) -> int
Data and other attributes inherited from Fl_Browser:
- BOTTOM = 1
- MIDDLE = 2
- TOP = 0
Methods inherited from Fl_Browser_:
- deselect(self, *args)
- deselect(Fl_Browser_ self, int docallbacks=0) -> int
- getHScrollbar(self, *args)
- getHScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- getScrollbar(self, *args)
- getScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- handle(self, *args)
- handle(Fl_Browser_ self, int event) -> int
- has_scrollbar(self, *args)
- has_scrollbar(Fl_Browser_ self) -> uchar
has_scrollbar(Fl_Browser_ self, uchar mode)
- hposition(self, *args)
- hposition(Fl_Browser_ self) -> int
hposition(Fl_Browser_ self, int arg2)
- position(self, *args)
- position(Fl_Browser_ self) -> int
position(Fl_Browser_ self, int pos)
- resize(self, *args)
- resize(Fl_Browser_ self, int X, int Y, int W, int H)
- scrollbar_left(self, *args)
- scrollbar_left(Fl_Browser_ self)
- scrollbar_right(self, *args)
- scrollbar_right(Fl_Browser_ self)
- scrollbar_size(self, *args)
- scrollbar_size(Fl_Browser_ self) -> int
scrollbar_size(Fl_Browser_ self, int newSize)
- scrollbar_width(self, *args)
- scrollbar_width(Fl_Browser_ self) -> int
scrollbar_width(Fl_Browser_ self, int width)
- select_only(self, *args)
- select_only(Fl_Browser_ self, void * item, int docallbacks=0) -> int
- sort(self, *args)
- sort(Fl_Browser_ self, int flags=0)
- textcolor(self, *args)
- textcolor(Fl_Browser_ self) -> Fl_Color
textcolor(Fl_Browser_ self, Fl_Color col)
- textfont(self, *args)
- textfont(Fl_Browser_ self) -> Fl_Font
textfont(Fl_Browser_ self, Fl_Font font)
Data and other attributes inherited from Fl_Browser_:
- ALWAYS_ON = 4
- BOTH = 3
- BOTH_ALWAYS = 7
- HORIZONTAL = 1
- HORIZONTAL_ALWAYS = 5
- VERTICAL = 2
- VERTICAL_ALWAYS = 6
Methods inherited from Fl_Group:
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Multiline_Input(Fl_Input) |
|
Fl_Multiline_Input(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Multiline_Input self, int X, int Y, int W, int H, char const * l=None) -> Fl_Multiline_Input
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Multiline_Input self)
- init_type(self, *args)
- init_type(Fl_Multiline_Input self, char * Fl_Multiline_Input)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Multiline_Input(...)
- delete_Fl_Multiline_Input(Fl_Multiline_Input self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Input:
- handle(self, *args)
- handle(Fl_Input self, int arg0) -> int
Methods inherited from Fl_Input_:
- copy(self, *args)
- copy(Fl_Input_ self, int clipboard) -> int
- copy_cuts(self, *args)
- copy_cuts(Fl_Input_ self) -> int
- cursor_color(self, *args)
- cursor_color(Fl_Input_ self) -> Fl_Color
cursor_color(Fl_Input_ self, Fl_Color n)
- cut(self, *args)
- cut(Fl_Input_ self) -> int
cut(Fl_Input_ self, int n) -> int
cut(Fl_Input_ self, int a, int b) -> int
- index(self, *args)
- index(Fl_Input_ self, int i) -> Fl_Char
- input_type(self, *args)
- input_type(Fl_Input_ self) -> int
input_type(Fl_Input_ self, int t)
- insert(self, *args)
- insert(Fl_Input_ self, char const * t, int l=0) -> int
- mark(self, *args)
- mark(Fl_Input_ self) -> int
mark(Fl_Input_ self, int m) -> int
- maximum_size(self, *args)
- maximum_size(Fl_Input_ self) -> int
maximum_size(Fl_Input_ self, int m)
- position(self, *args)
- position(Fl_Input_ self) -> int
position(Fl_Input_ self, int p, int m) -> int
position(Fl_Input_ self, int p) -> int
- readonly(self, *args)
- readonly(Fl_Input_ self) -> int
readonly(Fl_Input_ self, int b)
- replace(self, *args)
- replace(Fl_Input_ self, int b, int e, char const * text, int ilen=0) -> int
- resize(self, *args)
- resize(Fl_Input_ self, int arg0, int arg1, int arg2, int arg3)
- shortcut(self, *args)
- shortcut(Fl_Input_ self) -> int
shortcut(Fl_Input_ self, int s)
- size(self, *args)
- size(Fl_Input_ self) -> int
size(Fl_Input_ self, int W, int H)
- static_value(self, *args)
- static_value(Fl_Input_ self, char const * arg2) -> int
static_value(Fl_Input_ self, char const * arg2, int arg3) -> int
- tab_nav(self, *args)
- tab_nav(Fl_Input_ self, int val)
tab_nav(Fl_Input_ self) -> int
- textcolor(self, *args)
- textcolor(Fl_Input_ self) -> Fl_Color
textcolor(Fl_Input_ self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Input_ self) -> Fl_Font
textfont(Fl_Input_ self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Input_ self) -> Fl_Fontsize
textsize(Fl_Input_ self, Fl_Fontsize s)
- undo(self, *args)
- undo(Fl_Input_ self) -> int
- value(self, *args)
- value(Fl_Input_ self, char const * arg2) -> int
value(Fl_Input_ self, char const * arg2, int arg3) -> int
value(Fl_Input_ self) -> char const *
- wrap(self, *args)
- wrap(Fl_Input_ self) -> int
wrap(Fl_Input_ self, int b)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Multiline_Output(Fl_Output) |
|
Fl_Multiline_Output(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Multiline_Output self, int X, int Y, int W, int H, char const * l=None) -> Fl_Multiline_Output
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Multiline_Output self)
- init_type(self, *args)
- init_type(Fl_Multiline_Output self, char * Fl_Multiline_Output)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Multiline_Output(...)
- delete_Fl_Multiline_Output(Fl_Multiline_Output self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Input:
- handle(self, *args)
- handle(Fl_Input self, int arg0) -> int
Methods inherited from Fl_Input_:
- copy(self, *args)
- copy(Fl_Input_ self, int clipboard) -> int
- copy_cuts(self, *args)
- copy_cuts(Fl_Input_ self) -> int
- cursor_color(self, *args)
- cursor_color(Fl_Input_ self) -> Fl_Color
cursor_color(Fl_Input_ self, Fl_Color n)
- cut(self, *args)
- cut(Fl_Input_ self) -> int
cut(Fl_Input_ self, int n) -> int
cut(Fl_Input_ self, int a, int b) -> int
- index(self, *args)
- index(Fl_Input_ self, int i) -> Fl_Char
- input_type(self, *args)
- input_type(Fl_Input_ self) -> int
input_type(Fl_Input_ self, int t)
- insert(self, *args)
- insert(Fl_Input_ self, char const * t, int l=0) -> int
- mark(self, *args)
- mark(Fl_Input_ self) -> int
mark(Fl_Input_ self, int m) -> int
- maximum_size(self, *args)
- maximum_size(Fl_Input_ self) -> int
maximum_size(Fl_Input_ self, int m)
- position(self, *args)
- position(Fl_Input_ self) -> int
position(Fl_Input_ self, int p, int m) -> int
position(Fl_Input_ self, int p) -> int
- readonly(self, *args)
- readonly(Fl_Input_ self) -> int
readonly(Fl_Input_ self, int b)
- replace(self, *args)
- replace(Fl_Input_ self, int b, int e, char const * text, int ilen=0) -> int
- resize(self, *args)
- resize(Fl_Input_ self, int arg0, int arg1, int arg2, int arg3)
- shortcut(self, *args)
- shortcut(Fl_Input_ self) -> int
shortcut(Fl_Input_ self, int s)
- size(self, *args)
- size(Fl_Input_ self) -> int
size(Fl_Input_ self, int W, int H)
- static_value(self, *args)
- static_value(Fl_Input_ self, char const * arg2) -> int
static_value(Fl_Input_ self, char const * arg2, int arg3) -> int
- tab_nav(self, *args)
- tab_nav(Fl_Input_ self, int val)
tab_nav(Fl_Input_ self) -> int
- textcolor(self, *args)
- textcolor(Fl_Input_ self) -> Fl_Color
textcolor(Fl_Input_ self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Input_ self) -> Fl_Font
textfont(Fl_Input_ self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Input_ self) -> Fl_Fontsize
textsize(Fl_Input_ self, Fl_Fontsize s)
- undo(self, *args)
- undo(Fl_Input_ self) -> int
- value(self, *args)
- value(Fl_Input_ self, char const * arg2) -> int
value(Fl_Input_ self, char const * arg2, int arg3) -> int
value(Fl_Input_ self) -> char const *
- wrap(self, *args)
- wrap(Fl_Input_ self) -> int
wrap(Fl_Input_ self, int b)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Nice_Slider(Fl_Slider) |
|
Fl_Nice_Slider(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Nice_Slider self, int X, int Y, int W, int H, char const * L=None) -> Fl_Nice_Slider
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Nice_Slider self)
- init_type(self, *args)
- init_type(Fl_Nice_Slider self, char * Fl_Nice_Slider)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Nice_Slider(...)
- delete_Fl_Nice_Slider(Fl_Nice_Slider self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Slider:
- bounds(self, *args)
- bounds(Fl_Slider self, double a, double b)
- handle(self, *args)
- handle(Fl_Slider self, int arg0) -> int
- scrollvalue(self, *args)
- scrollvalue(Fl_Slider self, int pos, int size, int first, int total) -> int
- slider(self, *args)
- slider(Fl_Slider self) -> Fl_Boxtype
slider(Fl_Slider self, Fl_Boxtype c)
- slider_size(self, *args)
- slider_size(Fl_Slider self) -> float
slider_size(Fl_Slider self, double v)
Methods inherited from Fl_Valuator:
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Output(Fl_Input) |
|
Fl_Output(*args)
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
SWIG_SetErrorMsg(PyExc_RuntimeError,"accessing protected member item_last");
SWIG_fail;
}
upcall = (director && (director->swig_get_self()==swig_obj[0]));
try {
darg = dynamic_cast<SwigDirector_Fl_Hold_Browser |
|
- Method resolution order:
- Fl_Output
- Fl_Input
- Fl_Input_
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Output self, int X, int Y, int W, int H, char const * l=None) -> Fl_Output
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Output self)
- init_type(self, *args)
- init_type(Fl_Output self, char * Fl_Output)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Output(...)
- delete_Fl_Output(Fl_Output self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Input:
- handle(self, *args)
- handle(Fl_Input self, int arg0) -> int
Methods inherited from Fl_Input_:
- copy(self, *args)
- copy(Fl_Input_ self, int clipboard) -> int
- copy_cuts(self, *args)
- copy_cuts(Fl_Input_ self) -> int
- cursor_color(self, *args)
- cursor_color(Fl_Input_ self) -> Fl_Color
cursor_color(Fl_Input_ self, Fl_Color n)
- cut(self, *args)
- cut(Fl_Input_ self) -> int
cut(Fl_Input_ self, int n) -> int
cut(Fl_Input_ self, int a, int b) -> int
- index(self, *args)
- index(Fl_Input_ self, int i) -> Fl_Char
- input_type(self, *args)
- input_type(Fl_Input_ self) -> int
input_type(Fl_Input_ self, int t)
- insert(self, *args)
- insert(Fl_Input_ self, char const * t, int l=0) -> int
- mark(self, *args)
- mark(Fl_Input_ self) -> int
mark(Fl_Input_ self, int m) -> int
- maximum_size(self, *args)
- maximum_size(Fl_Input_ self) -> int
maximum_size(Fl_Input_ self, int m)
- position(self, *args)
- position(Fl_Input_ self) -> int
position(Fl_Input_ self, int p, int m) -> int
position(Fl_Input_ self, int p) -> int
- readonly(self, *args)
- readonly(Fl_Input_ self) -> int
readonly(Fl_Input_ self, int b)
- replace(self, *args)
- replace(Fl_Input_ self, int b, int e, char const * text, int ilen=0) -> int
- resize(self, *args)
- resize(Fl_Input_ self, int arg0, int arg1, int arg2, int arg3)
- shortcut(self, *args)
- shortcut(Fl_Input_ self) -> int
shortcut(Fl_Input_ self, int s)
- size(self, *args)
- size(Fl_Input_ self) -> int
size(Fl_Input_ self, int W, int H)
- static_value(self, *args)
- static_value(Fl_Input_ self, char const * arg2) -> int
static_value(Fl_Input_ self, char const * arg2, int arg3) -> int
- tab_nav(self, *args)
- tab_nav(Fl_Input_ self, int val)
tab_nav(Fl_Input_ self) -> int
- textcolor(self, *args)
- textcolor(Fl_Input_ self) -> Fl_Color
textcolor(Fl_Input_ self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Input_ self) -> Fl_Font
textfont(Fl_Input_ self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Input_ self) -> Fl_Fontsize
textsize(Fl_Input_ self, Fl_Fontsize s)
- undo(self, *args)
- undo(Fl_Input_ self) -> int
- value(self, *args)
- value(Fl_Input_ self, char const * arg2) -> int
value(Fl_Input_ self, char const * arg2, int arg3) -> int
value(Fl_Input_ self) -> char const *
- wrap(self, *args)
- wrap(Fl_Input_ self) -> int
wrap(Fl_Input_ self, int b)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Overlay_Window(Fl_Double_Window) |
|
Fl_Overlay_Window(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Overlay_Window self, int W, int H, char const * l=None) -> Fl_Overlay_Window
__init__(Fl_Overlay_Window self, int X, int Y, int W, int H, char const * l=None) -> Fl_Overlay_Window
- __repr__ = _swig_repr(self)
- can_do_overlay(self, *args)
- can_do_overlay(Fl_Overlay_Window self) -> int
- draw(self, *args)
- draw(Fl_Overlay_Window self)
- draw_overlay(self, *args)
- draw_overlay(Fl_Overlay_Window self)
- flush(self, *args)
- flush(Fl_Overlay_Window self)
- hide(self, *args)
- hide(Fl_Overlay_Window self)
- init_type(self, *args)
- init_type(Fl_Overlay_Window self, char * Fl_Overlay_Window)
- redraw_overlay(self, *args)
- redraw_overlay(Fl_Overlay_Window self)
- resize(self, *args)
- resize(Fl_Overlay_Window self, int arg0, int arg1, int arg2, int arg3)
- show(self, *args)
- show(Fl_Overlay_Window self, PyObject * count=None, PyObject * data=None)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Overlay_Window(...)
- delete_Fl_Overlay_Window(Fl_Overlay_Window self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Window:
- as_window(self, *args)
- as_window(Fl_Window self) -> Fl_Window
- border(self, *args)
- border(Fl_Window self, int b)
border(Fl_Window self) -> unsigned int
- clear_border(self, *args)
- clear_border(Fl_Window self)
- clear_modal_states(self, *args)
- clear_modal_states(Fl_Window self)
- copy_label(self, *args)
- copy_label(Fl_Window self, char const * a)
- cursor(self, *args)
- cursor(Fl_Window self, Fl_Cursor arg2)
cursor(Fl_Window self, Fl_RGB_Image arg2, int arg3, int arg4)
cursor(Fl_Window self, Fl_Cursor c, Fl_Color arg3, Fl_Color arg4=)
- decorated_h(self, *args)
- decorated_h(Fl_Window self) -> int
- decorated_w(self, *args)
- decorated_w(Fl_Window self) -> int
- default_cursor(self, *args)
- default_cursor(Fl_Window self, Fl_Cursor arg2)
default_cursor(Fl_Window self, Fl_Cursor c, Fl_Color arg3, Fl_Color arg4=)
- free_position(self, *args)
- free_position(Fl_Window self)
- fullscreen(self, *args)
- fullscreen(Fl_Window self)
- fullscreen_active(self, *args)
- fullscreen_active(Fl_Window self) -> unsigned int
- fullscreen_off(self, *args)
- fullscreen_off(Fl_Window self)
fullscreen_off(Fl_Window self, int X, int Y, int W, int H)
- fullscreen_screens(self, *args)
- fullscreen_screens(Fl_Window self, int top, int bottom, int left, int right)
- handle(self, *args)
- handle(Fl_Window self, int arg0) -> int
- hotspot(self, *args)
- hotspot(Fl_Window self, int x, int y, int offscreen=0)
hotspot(Fl_Window self, Fl_Widget arg2, int offscreen=0)
- icon(self, *args)
- icon(Fl_Window self, Fl_RGB_Image arg2)
icon(Fl_Window self) -> void const
icon(Fl_Window self, void const * ic)
- iconize(self, *args)
- iconize(Fl_Window self)
- iconlabel(self, *args)
- iconlabel(Fl_Window self) -> char const
iconlabel(Fl_Window self, char const * arg2)
- icons(self, *args)
- icons(Fl_Window self, Fl_RGB_Image const *[] arg2, int arg3)
- label(self, *args)
- label(Fl_Window self) -> char const
label(Fl_Window self, char const * arg2)
label(Fl_Window self, char const * label, char const * iconlabel)
- make_current(self, *args)
- make_current(Fl_Window self)
- menu_window(self, *args)
- menu_window(Fl_Window self) -> unsigned int
- modal(self, *args)
- modal(Fl_Window self) -> unsigned int
- non_modal(self, *args)
- non_modal(Fl_Window self) -> unsigned int
- override(self, *args)
- override(Fl_Window self) -> unsigned int
- set_menu_window(self, *args)
- set_menu_window(Fl_Window self)
- set_modal(self, *args)
- set_modal(Fl_Window self)
- set_non_modal(self, *args)
- set_non_modal(Fl_Window self)
- set_override(self, *args)
- set_override(Fl_Window self)
- set_tooltip_window(self, *args)
- set_tooltip_window(Fl_Window self)
- shape(self, *args)
- shape(Fl_Window self, Fl_Image img)
shape(Fl_Window self, Fl_Image b)
- shown(self, *args)
- shown(Fl_Window self) -> int
- size_range(self, *args)
- size_range(Fl_Window self, int minw, int minh, int maxw=0, int maxh=0, int dw=0, int dh=0, int aspect=0)
- tooltip_window(self, *args)
- tooltip_window(Fl_Window self) -> unsigned int
- wait_for_expose(self, *args)
- wait_for_expose(Fl_Window self)
- x_root(self, *args)
- x_root(Fl_Window self) -> int
- xclass(self, *args)
- xclass(Fl_Window self) -> char const
xclass(Fl_Window self, char const * c)
- y_root(self, *args)
- y_root(Fl_Window self) -> int
Static methods inherited from Fl_Window:
- current(*args)
- current() -> Fl_Window
- default_callback(*args)
- default_callback(Fl_Window arg1, void * v)
- default_icon(*args)
- default_icon(Fl_RGB_Image arg1)
- default_icons(*args)
- default_icons(Fl_RGB_Image const *[] arg1, int arg2)
- default_xclass(*args)
- default_xclass(char const * arg1)
default_xclass() -> char const *
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_PNG_Image(Fl_RGB_Image) |
|
Fl_PNG_Image(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_PNG_Image self, char const * filename) -> Fl_PNG_Image
__init__(Fl_PNG_Image self, char const * name_png, unsigned char const * buffer, int datasize) -> Fl_PNG_Image
- __repr__ = _swig_repr(self)
Static methods defined here:
- __swig_destroy__ = delete_Fl_PNG_Image(...)
- delete_Fl_PNG_Image(Fl_PNG_Image self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_RGB_Image:
- color_average(self, *args)
- color_average(Fl_RGB_Image self, Fl_Color c, float i)
- copy(self, *args)
- copy(Fl_RGB_Image self, int W, int H) -> Fl_Image
copy(Fl_RGB_Image self) -> Fl_Image
- desaturate(self, *args)
- desaturate(Fl_RGB_Image self)
- draw(self, *args)
- draw(Fl_RGB_Image self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(Fl_RGB_Image self, int X, int Y)
- label(self, *args)
- label(Fl_RGB_Image self, Fl_Widget w)
label(Fl_RGB_Image self, Fl_Menu_Item m)
- uncache(self, *args)
- uncache(Fl_RGB_Image self)
Static methods inherited from Fl_RGB_Image:
- max_size(*args)
- max_size(size_t size)
max_size() -> size_t
Methods inherited from Fl_Image:
- count(self, *args)
- count(Fl_Image self) -> int
- d(self, *args)
- d(Fl_Image self) -> int
- data(self, *args)
- data(Fl_Image self) -> char const *const *
- fail(self, *args)
- fail(Fl_Image self) -> int
- h(self, *args)
- h(Fl_Image self) -> int
- inactive(self, *args)
- inactive(Fl_Image self)
- ld(self, *args)
- ld(Fl_Image self) -> int
- w(self, *args)
- w(Fl_Image self) -> int
Static methods inherited from Fl_Image:
- RGB_scaling(*args)
- RGB_scaling(Fl_RGB_Scaling arg1)
RGB_scaling() -> Fl_RGB_Scaling
Data descriptors inherited from Fl_Image:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_PNM_Image(Fl_RGB_Image) |
|
Fl_PNM_Image(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_PNM_Image self, char const * filename) -> Fl_PNM_Image
- __repr__ = _swig_repr(self)
Static methods defined here:
- __swig_destroy__ = delete_Fl_PNM_Image(...)
- delete_Fl_PNM_Image(Fl_PNM_Image self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_RGB_Image:
- color_average(self, *args)
- color_average(Fl_RGB_Image self, Fl_Color c, float i)
- copy(self, *args)
- copy(Fl_RGB_Image self, int W, int H) -> Fl_Image
copy(Fl_RGB_Image self) -> Fl_Image
- desaturate(self, *args)
- desaturate(Fl_RGB_Image self)
- draw(self, *args)
- draw(Fl_RGB_Image self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(Fl_RGB_Image self, int X, int Y)
- label(self, *args)
- label(Fl_RGB_Image self, Fl_Widget w)
label(Fl_RGB_Image self, Fl_Menu_Item m)
- uncache(self, *args)
- uncache(Fl_RGB_Image self)
Static methods inherited from Fl_RGB_Image:
- max_size(*args)
- max_size(size_t size)
max_size() -> size_t
Methods inherited from Fl_Image:
- count(self, *args)
- count(Fl_Image self) -> int
- d(self, *args)
- d(Fl_Image self) -> int
- data(self, *args)
- data(Fl_Image self) -> char const *const *
- fail(self, *args)
- fail(Fl_Image self) -> int
- h(self, *args)
- h(Fl_Image self) -> int
- inactive(self, *args)
- inactive(Fl_Image self)
- ld(self, *args)
- ld(Fl_Image self) -> int
- w(self, *args)
- w(Fl_Image self) -> int
Static methods inherited from Fl_Image:
- RGB_scaling(*args)
- RGB_scaling(Fl_RGB_Scaling arg1)
RGB_scaling() -> Fl_RGB_Scaling
Data descriptors inherited from Fl_Image:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Pack(Fl_Group) |
|
Fl_Pack(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Pack self, int x, int y, int w, int h, char const * l=None) -> Fl_Pack
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Pack self)
- horizontal(self, *args)
- horizontal(Fl_Pack self) -> uchar
- init_type(self, *args)
- init_type(Fl_Pack self, char * Fl_Pack)
- spacing(self, *args)
- spacing(Fl_Pack self) -> int
spacing(Fl_Pack self, int i)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Pack(...)
- delete_Fl_Pack(Fl_Pack self)
Data descriptors defined here:
- thisown
- The membership flag
Data and other attributes defined here:
- HORIZONTAL = 1
- VERTICAL = 0
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- handle(self, *args)
- handle(Fl_Group self, int arg0) -> int
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
- resize(self, *args)
- resize(Fl_Group self, int arg0, int arg1, int arg2, int arg3)
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Paged_Device(builtins.object) |
|
Fl_Paged_Device(*args)
Represents page-structured drawing surfaces.
This class has no public constructor: don't instantiate it; use Fl_Printer
or Fl_PostScript_File_Device instead. |
|
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Paged_Device self) -> Fl_Paged_Device
- __repr__ = _swig_repr(self)
- class_name(self, *args)
- class_name(Fl_Paged_Device self) -> char const *
- end_job(self, *args)
- end_job(Fl_Paged_Device self)
- end_page(self, *args)
- end_page(Fl_Paged_Device self) -> int
- margins(self, *args)
- margins(Fl_Paged_Device self, int * left, int * top, int * right, int * bottom)
- origin(self, *args)
- origin(Fl_Paged_Device self, int x, int y)
origin(Fl_Paged_Device self, int * x, int * y)
- print_widget(self, *args)
- print_widget(Fl_Paged_Device self, Fl_Widget widget, int delta_x=0, int delta_y=0)
- print_window(self, *args)
- print_window(Fl_Paged_Device self, Fl_Window win, int x_offset=0, int y_offset=0)
- print_window_part(self, *args)
- print_window_part(Fl_Paged_Device self, Fl_Window win, int x, int y, int w, int h, int delta_x=0, int delta_y=0)
- printable_rect(self, *args)
- printable_rect(Fl_Paged_Device self, int * w, int * h) -> int
- rotate(self, *args)
- rotate(Fl_Paged_Device self, float angle)
- scale(self, *args)
- scale(Fl_Paged_Device self, float scale_x, float scale_y=0.)
- start_job(self, *args)
- start_job(Fl_Paged_Device self, int pagecount, int * frompage=None, int * topage=None) -> int
- start_page(self, *args)
- start_page(Fl_Paged_Device self) -> int
- translate(self, *args)
- translate(Fl_Paged_Device self, int x, int y)
- untranslate(self, *args)
- untranslate(Fl_Paged_Device self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
Data and other attributes defined here:
- A0 = 0
- A1 = 1
- A2 = 2
- A3 = 3
- A4 = 4
- A5 = 5
- A6 = 6
- A7 = 7
- A8 = 8
- A9 = 9
- B0 = 10
- B1 = 11
- B10 = 20
- B2 = 12
- B3 = 13
- B4 = 14
- B5 = 15
- B6 = 16
- B7 = 17
- B8 = 18
- B9 = 19
- C5E = 21
- DLE = 22
- ENVELOPE = 29
- EXECUTIVE = 23
- FOLIO = 24
- LANDSCAPE = 256
- LEDGER = 25
- LEGAL = 26
- LETTER = 27
- MEDIA = 4096
- ORIENTATION = 768
- PORTRAIT = 0
- REVERSED = 512
- TABLOID = 28
|
class Fl_Pixmap(Fl_Image) |
|
Fl_Pixmap(*args)
The Fl_Pixmap class supports caching and drawing of colormap (pixmap) images, including transparency. |
|
- Method resolution order:
- Fl_Pixmap
- Fl_Image
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Pixmap self, char const *const * D) -> Fl_Pixmap
- __repr__ = _swig_repr(self)
- color_average(self, *args)
- color_average(Fl_Pixmap self, Fl_Color c, float i)
- copy(self, *args)
- copy(Fl_Pixmap self, int W, int H) -> Fl_Image
copy(Fl_Pixmap self) -> Fl_Image
- desaturate(self, *args)
- desaturate(Fl_Pixmap self)
- draw(self, *args)
- draw(Fl_Pixmap self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(Fl_Pixmap self, int X, int Y)
- label(self, *args)
- label(Fl_Pixmap self, Fl_Widget w)
label(Fl_Pixmap self, Fl_Menu_Item m)
- uncache(self, *args)
- uncache(Fl_Pixmap self)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Pixmap(...)
- delete_Fl_Pixmap(Fl_Pixmap self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Image:
- count(self, *args)
- count(Fl_Image self) -> int
- d(self, *args)
- d(Fl_Image self) -> int
- data(self, *args)
- data(Fl_Image self) -> char const *const *
- fail(self, *args)
- fail(Fl_Image self) -> int
- h(self, *args)
- h(Fl_Image self) -> int
- inactive(self, *args)
- inactive(Fl_Image self)
- ld(self, *args)
- ld(Fl_Image self) -> int
- w(self, *args)
- w(Fl_Image self) -> int
Static methods inherited from Fl_Image:
- RGB_scaling(*args)
- RGB_scaling(Fl_RGB_Scaling arg1)
RGB_scaling() -> Fl_RGB_Scaling
Data descriptors inherited from Fl_Image:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Positioner(Fl_Widget) |
|
Fl_Positioner(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Positioner self, int x, int y, int w, int h, char const * l=None) -> Fl_Positioner
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Positioner self)
- handle(self, *args)
- handle(Fl_Positioner self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Positioner self, char * Fl_Positioner)
- value(self, *args)
- value(Fl_Positioner self, double arg2, double arg3) -> int
- xbounds(self, *args)
- xbounds(Fl_Positioner self, double arg2, double arg3)
- xmaximum(self, *args)
- xmaximum(Fl_Positioner self) -> double
xmaximum(Fl_Positioner self, double a)
- xminimum(self, *args)
- xminimum(Fl_Positioner self) -> double
xminimum(Fl_Positioner self, double a)
- xstep(self, *args)
- xstep(Fl_Positioner self, double a)
- xvalue(self, *args)
- xvalue(Fl_Positioner self) -> double
xvalue(Fl_Positioner self, double arg2) -> int
- ybounds(self, *args)
- ybounds(Fl_Positioner self, double arg2, double arg3)
- ymaximum(self, *args)
- ymaximum(Fl_Positioner self) -> double
ymaximum(Fl_Positioner self, double a)
- yminimum(self, *args)
- yminimum(Fl_Positioner self) -> double
yminimum(Fl_Positioner self, double a)
- ystep(self, *args)
- ystep(Fl_Positioner self, double a)
- yvalue(self, *args)
- yvalue(Fl_Positioner self) -> double
yvalue(Fl_Positioner self, double arg2) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Positioner(...)
- delete_Fl_Positioner(Fl_Positioner self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Preferences(builtins.object) |
|
Fl_Preferences(*args)
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:
- __init__(self, *args)
- __init__(Fl_Preferences self, Fl_Preferences::Root root, char const * vendor, char const * application) -> Fl_Preferences
__init__(Fl_Preferences self, char const * path, char const * vendor, char const * application) -> Fl_Preferences
__init__(Fl_Preferences self, Fl_Preferences arg2, char const * group) -> Fl_Preferences
- __repr__ = _swig_repr(self)
- deleteEntry(self, *args)
- deleteEntry(Fl_Preferences self, char const * entry) -> char
- deleteGroup(self, *args)
- deleteGroup(Fl_Preferences self, char const * group) -> char
- entries(self, *args)
- entries(Fl_Preferences self) -> int
- entry(self, *args)
- entry(Fl_Preferences self, int arg2) -> char const *
- entryExists(self, *args)
- entryExists(Fl_Preferences self, char const * entry) -> char
- flush(self, *args)
- flush(Fl_Preferences self)
- get(self, *args)
- get(Fl_Preferences self, char const * entry, int defaultValue) -> char
get(Fl_Preferences self, char const * entry, float defaultValue) -> char
get(Fl_Preferences self, char const * entry, double defaultValue) -> char
get(Fl_Preferences self, char const * entry, char const * defaultValue, int maxSize) -> char
get(Fl_Preferences self, char const * entry, void * value, void const * defaultValue, int defaultSize, int maxSize) -> char
- getUserdataPath(self, *args)
- getUserdataPath(Fl_Preferences self, char * path) -> char
- group(self, *args)
- group(Fl_Preferences self, int arg2) -> char const *
- groupExists(self, *args)
- groupExists(Fl_Preferences self, char const * group) -> char
- groups(self, *args)
- groups(Fl_Preferences self) -> int
- set(self, *args)
- set(Fl_Preferences self, char const * entry, int value) -> char
set(Fl_Preferences self, char const * entry, float value, int precision) -> char
set(Fl_Preferences self, char const * entry, double value) -> char
set(Fl_Preferences self, char const * entry, double value, int precision) -> char
set(Fl_Preferences self, char const * entry, char const * cvalue) -> char
set(Fl_Preferences self, char const * entry, void const * cvalue, int size) -> char
- size(self, *args)
- size(Fl_Preferences self, char const * entry) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Preferences(...)
- delete_Fl_Preferences(Fl_Preferences self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
Data and other attributes defined here:
- SYSTEM = 0
- USER = 1
|
class Fl_Printer(Fl_Paged_Device) |
|
Fl_Printer(*args)
Declaration of classes Fl_Printer, Fl_System_Printer and Fl_PostScript_Printer. |
|
- Method resolution order:
- Fl_Printer
- Fl_Paged_Device
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Printer self) -> Fl_Printer
- __repr__ = _swig_repr(self)
- class_name(self, *args)
- class_name(Fl_Printer self) -> char const *
- driver(self, *args)
- driver(Fl_Printer self) -> Fl_Graphics_Driver *
- end_job(self, *args)
- end_job(Fl_Printer self)
- end_page(self, *args)
- end_page(Fl_Printer self) -> int
- margins(self, *args)
- margins(Fl_Printer self, int * left, int * top, int * right, int * bottom)
- origin(self, *args)
- origin(Fl_Printer self, int * x, int * y)
origin(Fl_Printer self, int x, int y)
- print_widget(self, *args)
- print_widget(Fl_Printer self, Fl_Widget widget, int delta_x=0, int delta_y=0)
- print_window_part(self, *args)
- print_window_part(Fl_Printer self, Fl_Window win, int x, int y, int w, int h, int delta_x=0, int delta_y=0)
- printable_rect(self, *args)
- printable_rect(Fl_Printer self, int * w, int * h) -> int
- rotate(self, *args)
- rotate(Fl_Printer self, float angle)
- scale(self, *args)
- scale(Fl_Printer self, float scale_x, float scale_y=0.)
- set_current(self, *args)
- set_current(Fl_Printer self)
- start_job(self, *args)
- start_job(Fl_Printer self, int pagecount, int * frompage=None, int * topage=None) -> int
- start_page(self, *args)
- start_page(Fl_Printer self) -> int
- translate(self, *args)
- translate(Fl_Printer self, int x, int y)
- untranslate(self, *args)
- untranslate(Fl_Printer self)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Printer(...)
- delete_Fl_Printer(Fl_Printer self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Paged_Device:
- print_window(self, *args)
- print_window(Fl_Paged_Device self, Fl_Window win, int x_offset=0, int y_offset=0)
Data descriptors inherited from Fl_Paged_Device:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
Data and other attributes inherited from Fl_Paged_Device:
- A0 = 0
- A1 = 1
- A2 = 2
- A3 = 3
- A4 = 4
- A5 = 5
- A6 = 6
- A7 = 7
- A8 = 8
- A9 = 9
- B0 = 10
- B1 = 11
- B10 = 20
- B2 = 12
- B3 = 13
- B4 = 14
- B5 = 15
- B6 = 16
- B7 = 17
- B8 = 18
- B9 = 19
- C5E = 21
- DLE = 22
- ENVELOPE = 29
- EXECUTIVE = 23
- FOLIO = 24
- LANDSCAPE = 256
- LEDGER = 25
- LEGAL = 26
- LETTER = 27
- MEDIA = 4096
- ORIENTATION = 768
- PORTRAIT = 0
- REVERSED = 512
- TABLOID = 28
|
class Fl_Progress(Fl_Widget) |
|
Fl_Progress(*args)
The Fl_Progress widget displays a progress bar for the user. |
|
- Method resolution order:
- Fl_Progress
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Progress self, int x, int y, int w, int h, char const * l=None) -> Fl_Progress
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Progress self)
- init_type(self, *args)
- init_type(Fl_Progress self, char * Fl_Progress)
- maximum(self, *args)
- maximum(Fl_Progress self, float v)
maximum(Fl_Progress self) -> float
- minimum(self, *args)
- minimum(Fl_Progress self, float v)
minimum(Fl_Progress self) -> float
- value(self, *args)
- value(Fl_Progress self, float v)
value(Fl_Progress self) -> float
Static methods defined here:
- __swig_destroy__ = delete_Fl_Progress(...)
- delete_Fl_Progress(Fl_Progress self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- handle(self, *args)
- handle(Fl_Widget self, int event) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_RGB_Image(Fl_Image) |
|
Fl_RGB_Image(*args)
Proxy of C++ Fl_RGB_Image class. |
|
- Method resolution order:
- Fl_RGB_Image
- Fl_Image
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_RGB_Image self, uchar const * bits, int W, int H, int D=3, int LD=0) -> Fl_RGB_Image
__init__(Fl_RGB_Image self, Fl_Pixmap pxm, Fl_Color bg=) -> Fl_RGB_Image
- __repr__ = _swig_repr(self)
- color_average(self, *args)
- color_average(Fl_RGB_Image self, Fl_Color c, float i)
- copy(self, *args)
- copy(Fl_RGB_Image self, int W, int H) -> Fl_Image
copy(Fl_RGB_Image self) -> Fl_Image
- desaturate(self, *args)
- desaturate(Fl_RGB_Image self)
- draw(self, *args)
- draw(Fl_RGB_Image self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(Fl_RGB_Image self, int X, int Y)
- label(self, *args)
- label(Fl_RGB_Image self, Fl_Widget w)
label(Fl_RGB_Image self, Fl_Menu_Item m)
- uncache(self, *args)
- uncache(Fl_RGB_Image self)
Static methods defined here:
- __swig_destroy__ = delete_Fl_RGB_Image(...)
- delete_Fl_RGB_Image(Fl_RGB_Image self)
- max_size(*args)
- max_size(size_t size)
max_size() -> size_t
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Image:
- count(self, *args)
- count(Fl_Image self) -> int
- d(self, *args)
- d(Fl_Image self) -> int
- data(self, *args)
- data(Fl_Image self) -> char const *const *
- fail(self, *args)
- fail(Fl_Image self) -> int
- h(self, *args)
- h(Fl_Image self) -> int
- inactive(self, *args)
- inactive(Fl_Image self)
- ld(self, *args)
- ld(Fl_Image self) -> int
- w(self, *args)
- w(Fl_Image self) -> int
Static methods inherited from Fl_Image:
- RGB_scaling(*args)
- RGB_scaling(Fl_RGB_Scaling arg1)
RGB_scaling() -> Fl_RGB_Scaling
Data descriptors inherited from Fl_Image:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Radio_Button(Fl_Button) |
|
Fl_Radio_Button(*args)
Proxy of C++ Fl_Radio_Button class. |
|
- Method resolution order:
- Fl_Radio_Button
- Fl_Button
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Radio_Button self, int X, int Y, int W, int H, char const * L=None) -> Fl_Radio_Button
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Radio_Button self)
- init_type(self, *args)
- init_type(Fl_Radio_Button self, char * Fl_Radio_Button)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Radio_Button(...)
- delete_Fl_Radio_Button(Fl_Radio_Button self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Button:
- clear(self, *args)
- clear(Fl_Button self) -> int
- down_box(self, *args)
- down_box(Fl_Button self) -> Fl_Boxtype
down_box(Fl_Button self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Button self) -> Fl_Color
down_color(Fl_Button self, unsigned int c)
- handle(self, *args)
- handle(Fl_Button self, int arg0) -> int
- set(self, *args)
- set(Fl_Button self) -> int
- setonly(self, *args)
- setonly(Fl_Button self)
- shortcut(self, *args)
- shortcut(Fl_Button self) -> int
shortcut(Fl_Button self, int s)
shortcut(Fl_Button self, char const * s)
- value(self, *args)
- value(Fl_Button self, int v) -> int
value(Fl_Button self) -> char
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Radio_Light_Button(Fl_Light_Button) |
|
Fl_Radio_Light_Button(*args)
Proxy of C++ Fl_Radio_Light_Button class. |
|
- Method resolution order:
- Fl_Radio_Light_Button
- Fl_Light_Button
- Fl_Button
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Radio_Light_Button self, int X, int Y, int W, int H, char const * l=None) -> Fl_Radio_Light_Button
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Radio_Light_Button self)
- init_type(self, *args)
- init_type(Fl_Radio_Light_Button self, char * Fl_Radio_Light_Button)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Radio_Light_Button(...)
- delete_Fl_Radio_Light_Button(Fl_Radio_Light_Button self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Light_Button:
- handle(self, *args)
- handle(Fl_Light_Button self, int arg0) -> int
Methods inherited from Fl_Button:
- clear(self, *args)
- clear(Fl_Button self) -> int
- down_box(self, *args)
- down_box(Fl_Button self) -> Fl_Boxtype
down_box(Fl_Button self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Button self) -> Fl_Color
down_color(Fl_Button self, unsigned int c)
- set(self, *args)
- set(Fl_Button self) -> int
- setonly(self, *args)
- setonly(Fl_Button self)
- shortcut(self, *args)
- shortcut(Fl_Button self) -> int
shortcut(Fl_Button self, int s)
shortcut(Fl_Button self, char const * s)
- value(self, *args)
- value(Fl_Button self, int v) -> int
value(Fl_Button self) -> char
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Radio_Round_Button(Fl_Round_Button) |
|
Fl_Radio_Round_Button(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Radio_Round_Button self, int X, int Y, int W, int H, char const * L=None) -> Fl_Radio_Round_Button
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Radio_Round_Button self)
- init_type(self, *args)
- init_type(Fl_Radio_Round_Button self, char * Fl_Radio_Round_Button)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Radio_Round_Button(...)
- delete_Fl_Radio_Round_Button(Fl_Radio_Round_Button self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Light_Button:
- handle(self, *args)
- handle(Fl_Light_Button self, int arg0) -> int
Methods inherited from Fl_Button:
- clear(self, *args)
- clear(Fl_Button self) -> int
- down_box(self, *args)
- down_box(Fl_Button self) -> Fl_Boxtype
down_box(Fl_Button self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Button self) -> Fl_Color
down_color(Fl_Button self, unsigned int c)
- set(self, *args)
- set(Fl_Button self) -> int
- setonly(self, *args)
- setonly(Fl_Button self)
- shortcut(self, *args)
- shortcut(Fl_Button self) -> int
shortcut(Fl_Button self, int s)
shortcut(Fl_Button self, char const * s)
- value(self, *args)
- value(Fl_Button self, int v) -> int
value(Fl_Button self) -> char
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Repeat_Button(Fl_Button) |
|
Fl_Repeat_Button(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Repeat_Button self, int X, int Y, int W, int H, char const * l=None) -> Fl_Repeat_Button
- __repr__ = _swig_repr(self)
- deactivate(self, *args)
- deactivate(Fl_Repeat_Button self)
- draw(self, *args)
- draw(Fl_Repeat_Button self)
- handle(self, *args)
- handle(Fl_Repeat_Button self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Repeat_Button self, char * Fl_Repeat_Button)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Repeat_Button(...)
- delete_Fl_Repeat_Button(Fl_Repeat_Button self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Button:
- clear(self, *args)
- clear(Fl_Button self) -> int
- down_box(self, *args)
- down_box(Fl_Button self) -> Fl_Boxtype
down_box(Fl_Button self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Button self) -> Fl_Color
down_color(Fl_Button self, unsigned int c)
- set(self, *args)
- set(Fl_Button self) -> int
- setonly(self, *args)
- setonly(Fl_Button self)
- shortcut(self, *args)
- shortcut(Fl_Button self) -> int
shortcut(Fl_Button self, int s)
shortcut(Fl_Button self, char const * s)
- value(self, *args)
- value(Fl_Button self, int v) -> int
value(Fl_Button self) -> char
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Return_Button(Fl_Button) |
|
Fl_Return_Button(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Return_Button self, int X, int Y, int W, int H, char const * l=None) -> Fl_Return_Button
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Return_Button self)
- handle(self, *args)
- handle(Fl_Return_Button self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Return_Button self, char * Fl_Return_Button)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Return_Button(...)
- delete_Fl_Return_Button(Fl_Return_Button self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Button:
- clear(self, *args)
- clear(Fl_Button self) -> int
- down_box(self, *args)
- down_box(Fl_Button self) -> Fl_Boxtype
down_box(Fl_Button self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Button self) -> Fl_Color
down_color(Fl_Button self, unsigned int c)
- set(self, *args)
- set(Fl_Button self) -> int
- setonly(self, *args)
- setonly(Fl_Button self)
- shortcut(self, *args)
- shortcut(Fl_Button self) -> int
shortcut(Fl_Button self, int s)
shortcut(Fl_Button self, char const * s)
- value(self, *args)
- value(Fl_Button self, int v) -> int
value(Fl_Button self) -> char
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Roller(Fl_Valuator) |
|
Fl_Roller(*args)
The Fl_Roller widget is a 'dolly' control commonly used to move 3D objects. |
|
- Method resolution order:
- Fl_Roller
- Fl_Valuator
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Roller self, int X, int Y, int W, int H, char const * L=None) -> Fl_Roller
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Roller self)
- handle(self, *args)
- handle(Fl_Roller self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Roller self, char * Fl_Roller)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Roller(...)
- delete_Fl_Roller(Fl_Roller self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Valuator:
- bounds(self, *args)
- bounds(Fl_Valuator self, double a, double b)
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Round_Button(Fl_Light_Button) |
|
Fl_Round_Button(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Round_Button self, int x, int y, int w, int h, char const * l=None) -> Fl_Round_Button
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Round_Button self)
- init_type(self, *args)
- init_type(Fl_Round_Button self, char * Fl_Round_Button)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Round_Button(...)
- delete_Fl_Round_Button(Fl_Round_Button self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Light_Button:
- handle(self, *args)
- handle(Fl_Light_Button self, int arg0) -> int
Methods inherited from Fl_Button:
- clear(self, *args)
- clear(Fl_Button self) -> int
- down_box(self, *args)
- down_box(Fl_Button self) -> Fl_Boxtype
down_box(Fl_Button self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Button self) -> Fl_Color
down_color(Fl_Button self, unsigned int c)
- set(self, *args)
- set(Fl_Button self) -> int
- setonly(self, *args)
- setonly(Fl_Button self)
- shortcut(self, *args)
- shortcut(Fl_Button self) -> int
shortcut(Fl_Button self, int s)
shortcut(Fl_Button self, char const * s)
- value(self, *args)
- value(Fl_Button self, int v) -> int
value(Fl_Button self) -> char
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Round_Clock(Fl_Clock) |
|
Fl_Round_Clock(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Round_Clock self, int X, int Y, int W, int H, char const * L=None) -> Fl_Round_Clock
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Round_Clock self)
- init_type(self, *args)
- init_type(Fl_Round_Clock self, char * Fl_Round_Clock)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Round_Clock(...)
- delete_Fl_Round_Clock(Fl_Round_Clock self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Clock:
- handle(self, *args)
- handle(Fl_Clock self, int arg0) -> int
Methods inherited from Fl_Clock_Output:
- hour(self, *args)
- hour(Fl_Clock_Output self) -> int
- minute(self, *args)
- minute(Fl_Clock_Output self) -> int
- second(self, *args)
- second(Fl_Clock_Output self) -> int
- value(self, *args)
- value(Fl_Clock_Output self, ulong v)
value(Fl_Clock_Output self, int H, int m, int s)
value(Fl_Clock_Output self) -> ulong
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Scroll(Fl_Group) |
|
Fl_Scroll(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Scroll self, int X, int Y, int W, int H, char const * l=None) -> Fl_Scroll
- __repr__ = _swig_repr(self)
- clear(self, *args)
- clear(Fl_Scroll self)
- draw(self, *args)
- draw(Fl_Scroll self)
- getHScrollbar(self, *args)
- getHScrollbar(Fl_Scroll self) -> Fl_Scrollbar
- getScrollbar(self, *args)
- getScrollbar(Fl_Scroll self) -> Fl_Scrollbar
- handle(self, *args)
- handle(Fl_Scroll self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Scroll self, char * Fl_Scroll)
- resize(self, *args)
- resize(Fl_Scroll self, int X, int Y, int W, int H)
- scroll_to(self, *args)
- scroll_to(Fl_Scroll self, int arg2, int arg3)
- scrollbar_size(self, *args)
- scrollbar_size(Fl_Scroll self) -> int
scrollbar_size(Fl_Scroll self, int newSize)
- xposition(self, *args)
- xposition(Fl_Scroll self) -> int
- yposition(self, *args)
- yposition(Fl_Scroll self) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Scroll(...)
- delete_Fl_Scroll(Fl_Scroll self)
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
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Scrollbar(Fl_Slider) |
|
Fl_Scrollbar(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Scrollbar self, int X, int Y, int W, int H, char const * L=None) -> Fl_Scrollbar
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Scrollbar self)
- handle(self, *args)
- handle(Fl_Scrollbar self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Scrollbar self, char * Fl_Scrollbar)
- linesize(self, *args)
- linesize(Fl_Scrollbar self) -> int
linesize(Fl_Scrollbar self, int i)
- value(self, *args)
- value(Fl_Scrollbar self) -> int
value(Fl_Scrollbar self, int p) -> int
value(Fl_Scrollbar self, int pos, int windowSize, int first, int total) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Scrollbar(...)
- delete_Fl_Scrollbar(Fl_Scrollbar self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Slider:
- bounds(self, *args)
- bounds(Fl_Slider self, double a, double b)
- scrollvalue(self, *args)
- scrollvalue(Fl_Slider self, int pos, int size, int first, int total) -> int
- slider(self, *args)
- slider(Fl_Slider self) -> Fl_Boxtype
slider(Fl_Slider self, Fl_Boxtype c)
- slider_size(self, *args)
- slider_size(Fl_Slider self) -> float
slider_size(Fl_Slider self, double v)
Methods inherited from Fl_Valuator:
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Secret_Input(Fl_Input) |
|
Fl_Secret_Input(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Secret_Input self, int X, int Y, int W, int H, char const * l=None) -> Fl_Secret_Input
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Secret_Input self)
- handle(self, *args)
- handle(Fl_Secret_Input self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Secret_Input self, char * Fl_Secret_Input)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Secret_Input(...)
- delete_Fl_Secret_Input(Fl_Secret_Input self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Input_:
- copy(self, *args)
- copy(Fl_Input_ self, int clipboard) -> int
- copy_cuts(self, *args)
- copy_cuts(Fl_Input_ self) -> int
- cursor_color(self, *args)
- cursor_color(Fl_Input_ self) -> Fl_Color
cursor_color(Fl_Input_ self, Fl_Color n)
- cut(self, *args)
- cut(Fl_Input_ self) -> int
cut(Fl_Input_ self, int n) -> int
cut(Fl_Input_ self, int a, int b) -> int
- index(self, *args)
- index(Fl_Input_ self, int i) -> Fl_Char
- input_type(self, *args)
- input_type(Fl_Input_ self) -> int
input_type(Fl_Input_ self, int t)
- insert(self, *args)
- insert(Fl_Input_ self, char const * t, int l=0) -> int
- mark(self, *args)
- mark(Fl_Input_ self) -> int
mark(Fl_Input_ self, int m) -> int
- maximum_size(self, *args)
- maximum_size(Fl_Input_ self) -> int
maximum_size(Fl_Input_ self, int m)
- position(self, *args)
- position(Fl_Input_ self) -> int
position(Fl_Input_ self, int p, int m) -> int
position(Fl_Input_ self, int p) -> int
- readonly(self, *args)
- readonly(Fl_Input_ self) -> int
readonly(Fl_Input_ self, int b)
- replace(self, *args)
- replace(Fl_Input_ self, int b, int e, char const * text, int ilen=0) -> int
- resize(self, *args)
- resize(Fl_Input_ self, int arg0, int arg1, int arg2, int arg3)
- shortcut(self, *args)
- shortcut(Fl_Input_ self) -> int
shortcut(Fl_Input_ self, int s)
- size(self, *args)
- size(Fl_Input_ self) -> int
size(Fl_Input_ self, int W, int H)
- static_value(self, *args)
- static_value(Fl_Input_ self, char const * arg2) -> int
static_value(Fl_Input_ self, char const * arg2, int arg3) -> int
- tab_nav(self, *args)
- tab_nav(Fl_Input_ self, int val)
tab_nav(Fl_Input_ self) -> int
- textcolor(self, *args)
- textcolor(Fl_Input_ self) -> Fl_Color
textcolor(Fl_Input_ self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Input_ self) -> Fl_Font
textfont(Fl_Input_ self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Input_ self) -> Fl_Fontsize
textsize(Fl_Input_ self, Fl_Fontsize s)
- undo(self, *args)
- undo(Fl_Input_ self) -> int
- value(self, *args)
- value(Fl_Input_ self, char const * arg2) -> int
value(Fl_Input_ self, char const * arg2, int arg3) -> int
value(Fl_Input_ self) -> char const *
- wrap(self, *args)
- wrap(Fl_Input_ self) -> int
wrap(Fl_Input_ self, int b)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Select_Browser(Fl_Browser) |
|
Fl_Select_Browser(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Select_Browser self, int X, int Y, int W, int H, char const * L=None) -> Fl_Select_Browser
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Select_Browser self)
- full_height(self, *args)
- full_height(Fl_Select_Browser self) -> int
- full_width(self, *args)
- full_width(Fl_Select_Browser self) -> int
- incr_height(self, *args)
- incr_height(Fl_Select_Browser self) -> int
- init_type(self, *args)
- init_type(Fl_Select_Browser self, char * Fl_Select_Browser)
- item_at(self, *args)
- item_at(Fl_Select_Browser self, int line) -> void *
- item_draw(self, *args)
- item_draw(Fl_Select_Browser self, void * item, int X, int Y, int W, int H)
- item_first(self, *args)
- item_first(Fl_Select_Browser self) -> void *
- item_height(self, *args)
- item_height(Fl_Select_Browser self, void * item) -> int
- item_last(self, *args)
- item_last(Fl_Select_Browser self) -> void *
- item_next(self, *args)
- item_next(Fl_Select_Browser self, void * item) -> void *
- item_prev(self, *args)
- item_prev(Fl_Select_Browser self, void * item) -> void *
- item_quick_height(self, *args)
- item_quick_height(Fl_Select_Browser self, void * item) -> int
- item_select(self, *args)
- item_select(Fl_Select_Browser self, void * item, int val)
- item_selected(self, *args)
- item_selected(Fl_Select_Browser self, void * item) -> int
- item_swap(self, *args)
- item_swap(Fl_Select_Browser self, void * a, void * b)
- item_text(self, *args)
- item_text(Fl_Select_Browser self, void * item) -> char const *
- item_width(self, *args)
- item_width(Fl_Select_Browser self, void * item) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Select_Browser(...)
- delete_Fl_Select_Browser(Fl_Select_Browser self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Browser:
- add(self, *args)
- add(Fl_Browser self, char const * text, PyObject * data=None)
- bottomline(self, *args)
- bottomline(Fl_Browser self, int line)
- clear(self, *args)
- clear(Fl_Browser self)
- column_char(self, *args)
- column_char(Fl_Browser self) -> char
column_char(Fl_Browser self, char c)
- column_widths(self, *args)
- column_widths(Fl_Browser self) -> int const
column_widths(Fl_Browser self, PyObject * widths)
- data(self, *args)
- data(Fl_Browser self, int index, PyObject * data=None) -> PyObject *
- display(self, *args)
- display(Fl_Browser self, int line, int val=1)
- displayed(self, *args)
- displayed(Fl_Browser self, int line) -> int
- format_char(self, *args)
- format_char(Fl_Browser self) -> char
format_char(Fl_Browser self, char c)
- get_data(self, *args)
- get_data(Fl_Browser self, int index) -> PyObject *
- hide(self, *args)
- hide(Fl_Browser self, int line)
hide(Fl_Browser self)
- icon(self, *args)
- icon(Fl_Browser self, int line, Fl_Image icon)
icon(Fl_Browser self, int line) -> Fl_Image
- insert(self, *args)
- insert(Fl_Browser self, int index, char const * text, PyObject * data=None)
- lineposition(self, *args)
- lineposition(Fl_Browser self, int line, Fl_Browser::Fl_Line_Position pos)
- load(self, *args)
- load(Fl_Browser self, char const * filename) -> int
- make_visible(self, *args)
- make_visible(Fl_Browser self, int line)
- middleline(self, *args)
- middleline(Fl_Browser self, int line)
- move(self, *args)
- move(Fl_Browser self, int to, int _from)
- remove(self, *args)
- remove(Fl_Browser self, int line)
- remove_icon(self, *args)
- remove_icon(Fl_Browser self, int line)
- replace(self, *args)
- replace(Fl_Browser self, int a, char const * b)
- select(self, *args)
- select(Fl_Browser self, int line, int val=1) -> int
- selected(self, *args)
- selected(Fl_Browser self, int line) -> int
- show(self, *args)
- show(Fl_Browser self, int line)
show(Fl_Browser self)
- size(self, *args)
- size(Fl_Browser self) -> int
size(Fl_Browser self, int W, int H)
- swap(self, *args)
- swap(Fl_Browser self, int a, int b)
- text(self, *args)
- text(Fl_Browser self, int line) -> char const
text(Fl_Browser self, int line, char const * newtext)
- textsize(self, *args)
- textsize(Fl_Browser self) -> Fl_Fontsize
textsize(Fl_Browser self, Fl_Fontsize newSize)
- topline(self, *args)
- topline(Fl_Browser self) -> int
topline(Fl_Browser self, int line)
- value(self, *args)
- value(Fl_Browser self) -> int
value(Fl_Browser self, int line)
- visible(self, *args)
- visible(Fl_Browser self, int line) -> int
Data and other attributes inherited from Fl_Browser:
- BOTTOM = 1
- MIDDLE = 2
- TOP = 0
Methods inherited from Fl_Browser_:
- deselect(self, *args)
- deselect(Fl_Browser_ self, int docallbacks=0) -> int
- getHScrollbar(self, *args)
- getHScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- getScrollbar(self, *args)
- getScrollbar(Fl_Browser_ self) -> Fl_Scrollbar
- handle(self, *args)
- handle(Fl_Browser_ self, int event) -> int
- has_scrollbar(self, *args)
- has_scrollbar(Fl_Browser_ self) -> uchar
has_scrollbar(Fl_Browser_ self, uchar mode)
- hposition(self, *args)
- hposition(Fl_Browser_ self) -> int
hposition(Fl_Browser_ self, int arg2)
- position(self, *args)
- position(Fl_Browser_ self) -> int
position(Fl_Browser_ self, int pos)
- resize(self, *args)
- resize(Fl_Browser_ self, int X, int Y, int W, int H)
- scrollbar_left(self, *args)
- scrollbar_left(Fl_Browser_ self)
- scrollbar_right(self, *args)
- scrollbar_right(Fl_Browser_ self)
- scrollbar_size(self, *args)
- scrollbar_size(Fl_Browser_ self) -> int
scrollbar_size(Fl_Browser_ self, int newSize)
- scrollbar_width(self, *args)
- scrollbar_width(Fl_Browser_ self) -> int
scrollbar_width(Fl_Browser_ self, int width)
- select_only(self, *args)
- select_only(Fl_Browser_ self, void * item, int docallbacks=0) -> int
- sort(self, *args)
- sort(Fl_Browser_ self, int flags=0)
- textcolor(self, *args)
- textcolor(Fl_Browser_ self) -> Fl_Color
textcolor(Fl_Browser_ self, Fl_Color col)
- textfont(self, *args)
- textfont(Fl_Browser_ self) -> Fl_Font
textfont(Fl_Browser_ self, Fl_Font font)
Data and other attributes inherited from Fl_Browser_:
- ALWAYS_ON = 4
- BOTH = 3
- BOTH_ALWAYS = 7
- HORIZONTAL = 1
- HORIZONTAL_ALWAYS = 5
- VERTICAL = 2
- VERTICAL_ALWAYS = 6
Methods inherited from Fl_Group:
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Shared_Image(Fl_Image) |
|
Fl_Shared_Image(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Shared_Image self) -> Fl_Shared_Image
__init__(Fl_Shared_Image self, char const * n, Fl_Image img=None) -> Fl_Shared_Image
- __repr__ = _swig_repr(self)
- color_average(self, *args)
- color_average(Fl_Shared_Image self, Fl_Color c, float i)
- copy(self, *args)
- copy(Fl_Shared_Image self, int W, int H) -> Fl_Image
copy(Fl_Shared_Image self) -> Fl_Image
- desaturate(self, *args)
- desaturate(Fl_Shared_Image self)
- draw(self, *args)
- draw(Fl_Shared_Image self, int X, int Y, int W, int H, int cx, int cy)
draw(Fl_Shared_Image self, int X, int Y)
- name(self, *args)
- name(Fl_Shared_Image self) -> char const *
- original(self, *args)
- original(Fl_Shared_Image self) -> int
- refcount(self, *args)
- refcount(Fl_Shared_Image self) -> int
- release(self, *args)
- release(Fl_Shared_Image self)
- reload(self, *args)
- reload(Fl_Shared_Image self)
- scale(self, *args)
- scale(Fl_Shared_Image self, int width, int height, int proportional=1, int can_expand=0)
- uncache(self, *args)
- uncache(Fl_Shared_Image self)
Static methods defined here:
- add_handler(*args)
- add_handler(Fl_Shared_Handler f)
- find(*args)
- find(char const * name, int W=0, int H=0) -> Fl_Shared_Image
- get(*args)
- get(char const * name, int W=0, int H=0) -> Fl_Shared_Image
get(Fl_RGB_Image rgb, int own_it=1) -> Fl_Shared_Image
- images(*args)
- images() -> Fl_Shared_Image **
- num_images(*args)
- num_images() -> int
- remove_handler(*args)
- remove_handler(Fl_Shared_Handler f)
- scaling_algorithm(*args)
- scaling_algorithm(Fl_RGB_Scaling algorithm)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Image:
- count(self, *args)
- count(Fl_Image self) -> int
- d(self, *args)
- d(Fl_Image self) -> int
- data(self, *args)
- data(Fl_Image self) -> char const *const *
- fail(self, *args)
- fail(Fl_Image self) -> int
- h(self, *args)
- h(Fl_Image self) -> int
- inactive(self, *args)
- inactive(Fl_Image self)
- label(self, *args)
- label(Fl_Image self, Fl_Widget w)
label(Fl_Image self, Fl_Menu_Item m)
- ld(self, *args)
- ld(Fl_Image self) -> int
- w(self, *args)
- w(Fl_Image self) -> int
Static methods inherited from Fl_Image:
- RGB_scaling(*args)
- RGB_scaling(Fl_RGB_Scaling arg1)
RGB_scaling() -> Fl_RGB_Scaling
- __swig_destroy__ = delete_Fl_Image(...)
- delete_Fl_Image(Fl_Image self)
Data descriptors inherited from Fl_Image:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Simple_Counter(Fl_Counter) |
|
Fl_Simple_Counter(*args)
Proxy of C++ Fl_Simple_Counter class. |
|
- Method resolution order:
- Fl_Simple_Counter
- Fl_Counter
- Fl_Valuator
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Simple_Counter self, int X, int Y, int W, int H, char const * L=None) -> Fl_Simple_Counter
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Simple_Counter self)
- init_type(self, *args)
- init_type(Fl_Simple_Counter self, char * Fl_Simple_Counter)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Simple_Counter(...)
- delete_Fl_Simple_Counter(Fl_Simple_Counter self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Counter:
- handle(self, *args)
- handle(Fl_Counter self, int arg0) -> int
- lstep(self, *args)
- lstep(Fl_Counter self, double a)
- step(self, *args)
- step(Fl_Counter self, double a, double b)
step(Fl_Counter self, double a)
step(Fl_Counter self) -> double
- textcolor(self, *args)
- textcolor(Fl_Counter self) -> Fl_Color
textcolor(Fl_Counter self, Fl_Color s)
- textfont(self, *args)
- textfont(Fl_Counter self) -> Fl_Font
textfont(Fl_Counter self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Counter self) -> Fl_Fontsize
textsize(Fl_Counter self, Fl_Fontsize s)
Methods inherited from Fl_Valuator:
- bounds(self, *args)
- bounds(Fl_Valuator self, double a, double b)
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Single_Window(Fl_Window) |
|
Fl_Single_Window(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Single_Window self, int W, int H, char const * l=None) -> Fl_Single_Window
__init__(Fl_Single_Window self, int X, int Y, int W, int H, char const * l=None) -> Fl_Single_Window
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Single_Window self)
- flush(self, *args)
- flush(Fl_Single_Window self)
- init_type(self, *args)
- init_type(Fl_Single_Window self, char * Fl_Single_Window)
- show(self, *args)
- show(Fl_Single_Window self, PyObject * count=None, PyObject * data=None)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Single_Window(...)
- delete_Fl_Single_Window(Fl_Single_Window self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Window:
- as_window(self, *args)
- as_window(Fl_Window self) -> Fl_Window
- border(self, *args)
- border(Fl_Window self, int b)
border(Fl_Window self) -> unsigned int
- clear_border(self, *args)
- clear_border(Fl_Window self)
- clear_modal_states(self, *args)
- clear_modal_states(Fl_Window self)
- copy_label(self, *args)
- copy_label(Fl_Window self, char const * a)
- cursor(self, *args)
- cursor(Fl_Window self, Fl_Cursor arg2)
cursor(Fl_Window self, Fl_RGB_Image arg2, int arg3, int arg4)
cursor(Fl_Window self, Fl_Cursor c, Fl_Color arg3, Fl_Color arg4=)
- decorated_h(self, *args)
- decorated_h(Fl_Window self) -> int
- decorated_w(self, *args)
- decorated_w(Fl_Window self) -> int
- default_cursor(self, *args)
- default_cursor(Fl_Window self, Fl_Cursor arg2)
default_cursor(Fl_Window self, Fl_Cursor c, Fl_Color arg3, Fl_Color arg4=)
- free_position(self, *args)
- free_position(Fl_Window self)
- fullscreen(self, *args)
- fullscreen(Fl_Window self)
- fullscreen_active(self, *args)
- fullscreen_active(Fl_Window self) -> unsigned int
- fullscreen_off(self, *args)
- fullscreen_off(Fl_Window self)
fullscreen_off(Fl_Window self, int X, int Y, int W, int H)
- fullscreen_screens(self, *args)
- fullscreen_screens(Fl_Window self, int top, int bottom, int left, int right)
- handle(self, *args)
- handle(Fl_Window self, int arg0) -> int
- hide(self, *args)
- hide(Fl_Window self)
- hotspot(self, *args)
- hotspot(Fl_Window self, int x, int y, int offscreen=0)
hotspot(Fl_Window self, Fl_Widget arg2, int offscreen=0)
- icon(self, *args)
- icon(Fl_Window self, Fl_RGB_Image arg2)
icon(Fl_Window self) -> void const
icon(Fl_Window self, void const * ic)
- iconize(self, *args)
- iconize(Fl_Window self)
- iconlabel(self, *args)
- iconlabel(Fl_Window self) -> char const
iconlabel(Fl_Window self, char const * arg2)
- icons(self, *args)
- icons(Fl_Window self, Fl_RGB_Image const *[] arg2, int arg3)
- label(self, *args)
- label(Fl_Window self) -> char const
label(Fl_Window self, char const * arg2)
label(Fl_Window self, char const * label, char const * iconlabel)
- make_current(self, *args)
- make_current(Fl_Window self)
- menu_window(self, *args)
- menu_window(Fl_Window self) -> unsigned int
- modal(self, *args)
- modal(Fl_Window self) -> unsigned int
- non_modal(self, *args)
- non_modal(Fl_Window self) -> unsigned int
- override(self, *args)
- override(Fl_Window self) -> unsigned int
- resize(self, *args)
- resize(Fl_Window self, int X, int Y, int W, int H)
- set_menu_window(self, *args)
- set_menu_window(Fl_Window self)
- set_modal(self, *args)
- set_modal(Fl_Window self)
- set_non_modal(self, *args)
- set_non_modal(Fl_Window self)
- set_override(self, *args)
- set_override(Fl_Window self)
- set_tooltip_window(self, *args)
- set_tooltip_window(Fl_Window self)
- shape(self, *args)
- shape(Fl_Window self, Fl_Image img)
shape(Fl_Window self, Fl_Image b)
- shown(self, *args)
- shown(Fl_Window self) -> int
- size_range(self, *args)
- size_range(Fl_Window self, int minw, int minh, int maxw=0, int maxh=0, int dw=0, int dh=0, int aspect=0)
- tooltip_window(self, *args)
- tooltip_window(Fl_Window self) -> unsigned int
- wait_for_expose(self, *args)
- wait_for_expose(Fl_Window self)
- x_root(self, *args)
- x_root(Fl_Window self) -> int
- xclass(self, *args)
- xclass(Fl_Window self) -> char const
xclass(Fl_Window self, char const * c)
- y_root(self, *args)
- y_root(Fl_Window self) -> int
Static methods inherited from Fl_Window:
- current(*args)
- current() -> Fl_Window
- default_callback(*args)
- default_callback(Fl_Window arg1, void * v)
- default_icon(*args)
- default_icon(Fl_RGB_Image arg1)
- default_icons(*args)
- default_icons(Fl_RGB_Image const *[] arg1, int arg2)
- default_xclass(*args)
- default_xclass(char const * arg1)
default_xclass() -> char const *
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Slider(Fl_Valuator) |
|
Fl_Slider(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Slider self, int X, int Y, int W, int H, char const * L=None) -> Fl_Slider
__init__(Fl_Slider self, uchar t, int X, int Y, int W, int H, char const * L) -> Fl_Slider
- __repr__ = _swig_repr(self)
- bounds(self, *args)
- bounds(Fl_Slider self, double a, double b)
- draw(self, *args)
- draw(Fl_Slider self)
- handle(self, *args)
- handle(Fl_Slider self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Slider self, char * Fl_Slider)
- scrollvalue(self, *args)
- scrollvalue(Fl_Slider self, int pos, int size, int first, int total) -> int
- slider(self, *args)
- slider(Fl_Slider self) -> Fl_Boxtype
slider(Fl_Slider self, Fl_Boxtype c)
- slider_size(self, *args)
- slider_size(Fl_Slider self) -> float
slider_size(Fl_Slider self, double v)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Slider(...)
- delete_Fl_Slider(Fl_Slider self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Valuator:
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Spinner(Fl_Group) |
|
Fl_Spinner(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Spinner self, int X, int Y, int W, int H, char const * L=None) -> Fl_Spinner
- __repr__ = _swig_repr(self)
- color(self, *args)
- color(Fl_Spinner self, Fl_Color v)
color(Fl_Spinner self) -> Fl_Color
- draw(self, *args)
- draw(Fl_Spinner self)
- format(self, *args)
- format(Fl_Spinner self) -> char const
format(Fl_Spinner self, char const * f)
- handle(self, *args)
- handle(Fl_Spinner self, int event) -> int
- init_type(self, *args)
- init_type(Fl_Spinner self, char * Fl_Spinner)
- maximum(self, *args)
- maximum(Fl_Spinner self, double m)
maximum(Fl_Spinner self) -> double
- maxinum(self, *args)
- maxinum(Fl_Spinner self) -> double
- minimum(self, *args)
- minimum(Fl_Spinner self, double m)
minimum(Fl_Spinner self) -> double
- mininum(self, *args)
- mininum(Fl_Spinner self) -> double
- range(self, *args)
- range(Fl_Spinner self, double a, double b)
- resize(self, *args)
- resize(Fl_Spinner self, int X, int Y, int W, int H)
- selection_color(self, *args)
- selection_color(Fl_Spinner self, Fl_Color val)
selection_color(Fl_Spinner self) -> Fl_Color
- step(self, *args)
- step(Fl_Spinner self) -> double
step(Fl_Spinner self, double s)
- textcolor(self, *args)
- textcolor(Fl_Spinner self) -> Fl_Color
textcolor(Fl_Spinner self, Fl_Color c)
- textfont(self, *args)
- textfont(Fl_Spinner self) -> Fl_Font
textfont(Fl_Spinner self, Fl_Font f)
- textsize(self, *args)
- textsize(Fl_Spinner self) -> Fl_Fontsize
textsize(Fl_Spinner self, Fl_Fontsize s)
- type(self, *args)
- type(Fl_Spinner self) -> uchar
type(Fl_Spinner self, uchar v)
- value(self, *args)
- value(Fl_Spinner self) -> double
value(Fl_Spinner self, double v)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Spinner(...)
- delete_Fl_Spinner(Fl_Spinner self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Table(Fl_Group) |
|
Fl_Table(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Table self, int X, int Y, int W, int H, char const * l=None) -> Fl_Table
- __repr__ = _swig_repr(self)
- add(self, *args)
- add(Fl_Table self, Fl_Widget wgt)
- begin(self, *args)
- begin(Fl_Table self)
- callback_col(self, *args)
- callback_col(Fl_Table self) -> int
- callback_context(self, *args)
- callback_context(Fl_Table self) -> Fl_Table::TableContext
- callback_row(self, *args)
- callback_row(Fl_Table self) -> int
- child(self, *args)
- child(Fl_Table self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Table self) -> int
- clear(self, *args)
- clear(Fl_Table self)
- col_header(self, *args)
- col_header(Fl_Table self) -> int
col_header(Fl_Table self, int flag)
- col_header_color(self, *args)
- col_header_color(Fl_Table self, Fl_Color val)
col_header_color(Fl_Table self) -> Fl_Color
- col_header_height(self, *args)
- col_header_height(Fl_Table self, int height)
col_header_height(Fl_Table self) -> int
- col_position(self, *args)
- col_position(Fl_Table self, int col)
col_position(Fl_Table self) -> int
- col_resize(self, *args)
- col_resize(Fl_Table self) -> int
col_resize(Fl_Table self, int flag)
- col_resize_min(self, *args)
- col_resize_min(Fl_Table self) -> int
col_resize_min(Fl_Table self, int val)
- col_width(self, *args)
- col_width(Fl_Table self, int col, int width)
col_width(Fl_Table self, int col) -> int
- col_width_all(self, *args)
- col_width_all(Fl_Table self, int width)
- cols(self, *args)
- cols(Fl_Table self, int val)
cols(Fl_Table self) -> int
- do_callback(self, *args)
- do_callback(Fl_Table self, Fl_Table::TableContext context, int row, int col)
- draw(self, *args)
- draw(Fl_Table self)
- draw_cell(self, *args)
- draw_cell(Fl_Table self, Fl_Table::TableContext context, int R=0, int C=0, int X=0, int Y=0, int W=0, int H=0)
- end(self, *args)
- end(Fl_Table self)
- find(self, *args)
- find(Fl_Table self, Fl_Widget wgt) -> int
- get_selection(self, *args)
- get_selection(Fl_Table self)
- handle(self, *args)
- handle(Fl_Table self, int e) -> int
- init_sizes(self, *args)
- init_sizes(Fl_Table self)
- init_type(self, *args)
- init_type(Fl_Table self, char * Fl_Table)
- insert(self, *args)
- insert(Fl_Table self, Fl_Widget wgt, int n)
- insert_before(self, *args)
- insert_before(Fl_Table self, Fl_Widget wgt, Fl_Widget w2)
- is_interactive_resize(self, *args)
- is_interactive_resize(Fl_Table self) -> int
- is_selected(self, *args)
- is_selected(Fl_Table self, int r, int c) -> int
- move_cursor(self, *args)
- move_cursor(Fl_Table self, int R, int C, int shiftselect) -> int
move_cursor(Fl_Table self, int R, int C) -> int
- resize(self, *args)
- resize(Fl_Table self, int X, int Y, int W, int H)
- row_header(self, *args)
- row_header(Fl_Table self) -> int
row_header(Fl_Table self, int flag)
- row_header_color(self, *args)
- row_header_color(Fl_Table self, Fl_Color val)
row_header_color(Fl_Table self) -> Fl_Color
- row_header_width(self, *args)
- row_header_width(Fl_Table self, int width)
row_header_width(Fl_Table self) -> int
- row_height(self, *args)
- row_height(Fl_Table self, int row, int height)
row_height(Fl_Table self, int row) -> int
- row_height_all(self, *args)
- row_height_all(Fl_Table self, int height)
- row_position(self, *args)
- row_position(Fl_Table self, int row)
row_position(Fl_Table self) -> int
- row_resize(self, *args)
- row_resize(Fl_Table self) -> int
row_resize(Fl_Table self, int flag)
- row_resize_min(self, *args)
- row_resize_min(Fl_Table self) -> int
row_resize_min(Fl_Table self, int val)
- rows(self, *args)
- rows(Fl_Table self, int val)
rows(Fl_Table self) -> int
- set_selection(self, *args)
- set_selection(Fl_Table self, int row_top, int col_left, int row_bot, int col_right)
- table_box(self, *args)
- table_box(Fl_Table self, Fl_Boxtype val)
table_box(Fl_Table self) -> Fl_Boxtype
- top_row(self, *args)
- top_row(Fl_Table self, int row)
top_row(Fl_Table self) -> int
- visible_cells(self, *args)
- visible_cells(Fl_Table self)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Table(...)
- delete_Fl_Table(Fl_Table self)
Data descriptors defined here:
- thisown
- The membership flag
Data and other attributes defined here:
- CONTEXT_CELL = 16
- CONTEXT_COL_HEADER = 8
- CONTEXT_ENDPAGE = 2
- CONTEXT_NONE = 0
- CONTEXT_RC_RESIZE = 64
- CONTEXT_ROW_HEADER = 4
- CONTEXT_STARTPAGE = 1
- CONTEXT_TABLE = 32
Methods inherited from Fl_Group:
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Table_Row(Fl_Table) |
|
Fl_Table_Row(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Table_Row self, int X, int Y, int W, int H, char const * l=None) -> Fl_Table_Row
- __repr__ = _swig_repr(self)
- clear(self, *args)
- clear(Fl_Table_Row self)
- draw_cell(self, *args)
- draw_cell(Fl_Table_Row self, Fl_Table::TableContext context, int R=0, int C=0, int X=0, int Y=0, int W=0, int H=0)
- handle(self, *args)
- handle(Fl_Table_Row self, int event) -> int
- init_type(self, *args)
- init_type(Fl_Table_Row self, char * Fl_Table_Row)
- row_selected(self, *args)
- row_selected(Fl_Table_Row self, int row) -> int
- rows(self, *args)
- rows(Fl_Table_Row self, int val)
rows(Fl_Table_Row self) -> int
- select_all_rows(self, *args)
- select_all_rows(Fl_Table_Row self, int flag=1)
- select_row(self, *args)
- select_row(Fl_Table_Row self, int row, int flag=1) -> int
- type(self, *args)
- type(Fl_Table_Row self, Fl_Table_Row::TableRowSelectMode val)
type(Fl_Table_Row self) -> Fl_Table_Row::TableRowSelectMode
Static methods defined here:
- __swig_destroy__ = delete_Fl_Table_Row(...)
- delete_Fl_Table_Row(Fl_Table_Row self)
Data descriptors defined here:
- thisown
- The membership flag
Data and other attributes defined here:
- SELECT_MULTI = 2
- SELECT_NONE = 0
- SELECT_SINGLE = 1
Methods inherited from Fl_Table:
- add(self, *args)
- add(Fl_Table self, Fl_Widget wgt)
- begin(self, *args)
- begin(Fl_Table self)
- callback_col(self, *args)
- callback_col(Fl_Table self) -> int
- callback_context(self, *args)
- callback_context(Fl_Table self) -> Fl_Table::TableContext
- callback_row(self, *args)
- callback_row(Fl_Table self) -> int
- child(self, *args)
- child(Fl_Table self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Table self) -> int
- col_header(self, *args)
- col_header(Fl_Table self) -> int
col_header(Fl_Table self, int flag)
- col_header_color(self, *args)
- col_header_color(Fl_Table self, Fl_Color val)
col_header_color(Fl_Table self) -> Fl_Color
- col_header_height(self, *args)
- col_header_height(Fl_Table self, int height)
col_header_height(Fl_Table self) -> int
- col_position(self, *args)
- col_position(Fl_Table self, int col)
col_position(Fl_Table self) -> int
- col_resize(self, *args)
- col_resize(Fl_Table self) -> int
col_resize(Fl_Table self, int flag)
- col_resize_min(self, *args)
- col_resize_min(Fl_Table self) -> int
col_resize_min(Fl_Table self, int val)
- col_width(self, *args)
- col_width(Fl_Table self, int col, int width)
col_width(Fl_Table self, int col) -> int
- col_width_all(self, *args)
- col_width_all(Fl_Table self, int width)
- cols(self, *args)
- cols(Fl_Table self, int val)
cols(Fl_Table self) -> int
- do_callback(self, *args)
- do_callback(Fl_Table self, Fl_Table::TableContext context, int row, int col)
- draw(self, *args)
- draw(Fl_Table self)
- end(self, *args)
- end(Fl_Table self)
- find(self, *args)
- find(Fl_Table self, Fl_Widget wgt) -> int
- get_selection(self, *args)
- get_selection(Fl_Table self)
- init_sizes(self, *args)
- init_sizes(Fl_Table self)
- insert(self, *args)
- insert(Fl_Table self, Fl_Widget wgt, int n)
- insert_before(self, *args)
- insert_before(Fl_Table self, Fl_Widget wgt, Fl_Widget w2)
- is_interactive_resize(self, *args)
- is_interactive_resize(Fl_Table self) -> int
- is_selected(self, *args)
- is_selected(Fl_Table self, int r, int c) -> int
- move_cursor(self, *args)
- move_cursor(Fl_Table self, int R, int C, int shiftselect) -> int
move_cursor(Fl_Table self, int R, int C) -> int
- resize(self, *args)
- resize(Fl_Table self, int X, int Y, int W, int H)
- row_header(self, *args)
- row_header(Fl_Table self) -> int
row_header(Fl_Table self, int flag)
- row_header_color(self, *args)
- row_header_color(Fl_Table self, Fl_Color val)
row_header_color(Fl_Table self) -> Fl_Color
- row_header_width(self, *args)
- row_header_width(Fl_Table self, int width)
row_header_width(Fl_Table self) -> int
- row_height(self, *args)
- row_height(Fl_Table self, int row, int height)
row_height(Fl_Table self, int row) -> int
- row_height_all(self, *args)
- row_height_all(Fl_Table self, int height)
- row_position(self, *args)
- row_position(Fl_Table self, int row)
row_position(Fl_Table self) -> int
- row_resize(self, *args)
- row_resize(Fl_Table self) -> int
row_resize(Fl_Table self, int flag)
- row_resize_min(self, *args)
- row_resize_min(Fl_Table self) -> int
row_resize_min(Fl_Table self, int val)
- set_selection(self, *args)
- set_selection(Fl_Table self, int row_top, int col_left, int row_bot, int col_right)
- table_box(self, *args)
- table_box(Fl_Table self, Fl_Boxtype val)
table_box(Fl_Table self) -> Fl_Boxtype
- top_row(self, *args)
- top_row(Fl_Table self, int row)
top_row(Fl_Table self) -> int
- visible_cells(self, *args)
- visible_cells(Fl_Table self)
Data and other attributes inherited from Fl_Table:
- CONTEXT_CELL = 16
- CONTEXT_COL_HEADER = 8
- CONTEXT_ENDPAGE = 2
- CONTEXT_NONE = 0
- CONTEXT_RC_RESIZE = 64
- CONTEXT_ROW_HEADER = 4
- CONTEXT_STARTPAGE = 1
- CONTEXT_TABLE = 32
Methods inherited from Fl_Group:
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Tabs(Fl_Group) |
|
Fl_Tabs(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Tabs self, int arg2, int arg3, int arg4, int arg5, char const * arg6=None) -> Fl_Tabs
- __repr__ = _swig_repr(self)
- client_area(self, *args)
- client_area(Fl_Tabs self, int tabh=0)
- draw(self, *args)
- draw(Fl_Tabs self)
- handle(self, *args)
- handle(Fl_Tabs self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Tabs self, char * Fl_Tabs)
- push(self, *args)
- push(Fl_Tabs self) -> Fl_Widget
push(Fl_Tabs self, Fl_Widget arg2) -> int
- value(self, *args)
- value(Fl_Tabs self) -> Fl_Widget
value(Fl_Tabs self, Fl_Widget arg2) -> int
- which(self, *args)
- which(Fl_Tabs self, int event_x, int event_y) -> Fl_Widget
Static methods defined here:
- __swig_destroy__ = delete_Fl_Tabs(...)
- delete_Fl_Tabs(Fl_Tabs self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
- resize(self, *args)
- resize(Fl_Group self, int arg0, int arg1, int arg2, int arg3)
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Text_Buffer(builtins.object) |
|
Fl_Text_Buffer(*args)
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:
- __init__(self, *args)
- __init__(Fl_Text_Buffer self, int requestedSize=0, int preferredGapSize=1024) -> Fl_Text_Buffer
- __repr__ = _swig_repr(self)
- add_modify_callback = __Fl_Text_BufferAddModifyCallback(self, *args)
- # override the implementation of Fl_Text_Buffer.add_modify_callback
- add_predelete_callback(self, *args)
- add_predelete_callback(Fl_Text_Buffer self, Fl_Text_Predelete_Cb bufPredelCB, void * cbArg)
- address(self, *args)
- address(Fl_Text_Buffer self, int pos) -> char const
address(Fl_Text_Buffer self, int pos) -> char *
- append(self, *args)
- append(Fl_Text_Buffer self, char const * t)
- appendfile(self, *args)
- appendfile(Fl_Text_Buffer self, char const * file, int buflen=128*1024) -> int
- byte_at(self, *args)
- byte_at(Fl_Text_Buffer self, int pos) -> char
- call_modify_callbacks(self, *args)
- call_modify_callbacks(Fl_Text_Buffer self)
- call_predelete_callbacks(self, *args)
- call_predelete_callbacks(Fl_Text_Buffer self)
- canUndo(self, *args)
- canUndo(Fl_Text_Buffer self, char flag=1)
- char_at(self, *args)
- char_at(Fl_Text_Buffer self, int pos) -> unsigned int
- copy(self, *args)
- copy(Fl_Text_Buffer self, Fl_Text_Buffer fromBuf, int fromStart, int fromEnd, int toPos)
- count_displayed_characters(self, *args)
- count_displayed_characters(Fl_Text_Buffer self, int lineStartPos, int targetPos) -> int
- count_lines(self, *args)
- count_lines(Fl_Text_Buffer self, int startPos, int endPos) -> int
- findchar_backward(self, *args)
- findchar_backward(Fl_Text_Buffer self, int startPos, unsigned int searchChar) -> int
- findchar_forward(self, *args)
- findchar_forward(Fl_Text_Buffer self, int startPos, unsigned int searchChar) -> int
- highlight(self, *args)
- highlight(Fl_Text_Buffer self, int start, int end)
highlight(Fl_Text_Buffer self) -> int
- highlight_position(self, *args)
- highlight_position(Fl_Text_Buffer self, int * start, int * end) -> int
- highlight_selection(self, *args)
- highlight_selection(Fl_Text_Buffer self) -> Fl_Text_Selection
- highlight_text(self, *args)
- highlight_text(Fl_Text_Buffer self) -> char *
- insert(self, *args)
- insert(Fl_Text_Buffer self, int pos, char const * text)
- insertfile(self, *args)
- insertfile(Fl_Text_Buffer self, char const * file, int pos, int buflen=128*1024) -> int
- length(self, *args)
- length(Fl_Text_Buffer self) -> int
- line_end(self, *args)
- line_end(Fl_Text_Buffer self, int pos) -> int
- line_start(self, *args)
- line_start(Fl_Text_Buffer self, int pos) -> int
- line_text(self, *args)
- line_text(Fl_Text_Buffer self, int pos) -> char *
- loadfile(self, *args)
- loadfile(Fl_Text_Buffer self, char const * file, int buflen=128*1024) -> int
- next_char(self, *args)
- next_char(Fl_Text_Buffer self, int ix) -> int
- next_char_clipped(self, *args)
- next_char_clipped(Fl_Text_Buffer self, int ix) -> int
- outputfile(self, *args)
- outputfile(Fl_Text_Buffer self, char const * file, int start, int end, int buflen=128*1024) -> int
- prev_char(self, *args)
- prev_char(Fl_Text_Buffer self, int ix) -> int
- prev_char_clipped(self, *args)
- prev_char_clipped(Fl_Text_Buffer self, int ix) -> int
- primary_selection(self, *args)
- primary_selection(Fl_Text_Buffer self) -> Fl_Text_Selection
primary_selection(Fl_Text_Buffer self) -> Fl_Text_Selection
- remove(self, *args)
- remove(Fl_Text_Buffer self, int start, int end)
- remove_modify_callback = __Fl_Text_BufferRemoveModifyCallback(self, *args)
- # override the implementation of Fl_Text_Buffer.remove_modify_callback
- remove_predelete_callback(self, *args)
- remove_predelete_callback(Fl_Text_Buffer self, Fl_Text_Predelete_Cb predelCB, void * cbArg)
- remove_secondary_selection(self, *args)
- remove_secondary_selection(Fl_Text_Buffer self)
- remove_selection(self, *args)
- remove_selection(Fl_Text_Buffer self)
- replace(self, *args)
- replace(Fl_Text_Buffer self, int start, int end, char const * text)
- replace_secondary_selection(self, *args)
- replace_secondary_selection(Fl_Text_Buffer self, char const * text)
- replace_selection(self, *args)
- replace_selection(Fl_Text_Buffer self, char const * text)
- rewind_lines(self, *args)
- rewind_lines(Fl_Text_Buffer self, int startPos, int nLines) -> int
- savefile(self, *args)
- savefile(Fl_Text_Buffer self, char const * file, int buflen=128*1024) -> int
- search_backward(self, *args)
- search_backward(Fl_Text_Buffer self, int startPos, char const * searchString, int matchCase=0) -> int
- search_forward(self, *args)
- search_forward(Fl_Text_Buffer self, int startPos, char const * searchString, int matchCase=0) -> int
- secondary_select(self, *args)
- secondary_select(Fl_Text_Buffer self, int start, int end)
- secondary_selected(self, *args)
- secondary_selected(Fl_Text_Buffer self) -> int
- secondary_selection(self, *args)
- secondary_selection(Fl_Text_Buffer self) -> Fl_Text_Selection
- secondary_selection_position(self, *args)
- secondary_selection_position(Fl_Text_Buffer self, int * start, int * end) -> int
- secondary_selection_text(self, *args)
- secondary_selection_text(Fl_Text_Buffer self) -> char *
- secondary_unselect(self, *args)
- secondary_unselect(Fl_Text_Buffer self)
- select(self, *args)
- select(Fl_Text_Buffer self, int start, int end)
- selected(self, *args)
- selected(Fl_Text_Buffer self) -> int
- selection_position(self, *args)
- selection_position(Fl_Text_Buffer self, int * start, int * end) -> int
- selection_text(self, *args)
- selection_text(Fl_Text_Buffer self) -> char *
- skip_displayed_characters(self, *args)
- skip_displayed_characters(Fl_Text_Buffer self, int lineStartPos, int nChars) -> int
- skip_lines(self, *args)
- skip_lines(Fl_Text_Buffer self, int startPos, int nLines) -> int
- tab_distance(self, *args)
- tab_distance(Fl_Text_Buffer self) -> int
tab_distance(Fl_Text_Buffer self, int tabDist)
- text(self, *args)
- text(Fl_Text_Buffer self) -> char
text(Fl_Text_Buffer self, char const * text)
- text_range(self, *args)
- text_range(Fl_Text_Buffer self, int start, int end) -> char *
- undo(self, *args)
- undo(Fl_Text_Buffer self, int * cp=None) -> int
- unhighlight(self, *args)
- unhighlight(Fl_Text_Buffer self)
- unselect(self, *args)
- unselect(Fl_Text_Buffer self)
- utf8_align(self, *args)
- utf8_align(Fl_Text_Buffer self, int arg2) -> int
- word_end(self, *args)
- word_end(Fl_Text_Buffer self, int pos) -> int
- word_start(self, *args)
- word_start(Fl_Text_Buffer self, int pos) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Text_Buffer(...)
- delete_Fl_Text_Buffer(Fl_Text_Buffer self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
|
class Fl_Text_Display(Fl_Group) |
|
Fl_Text_Display(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Text_Display self, int X, int Y, int W, int H, char const * l=None) -> Fl_Text_Display
- __repr__ = _swig_repr(self)
- buffer(self, *args)
- buffer(Fl_Text_Display self, Fl_Text_Buffer buf)
buffer(Fl_Text_Display self) -> Fl_Text_Buffer
- col_to_x(self, *args)
- col_to_x(Fl_Text_Display self, double col) -> double
- count_lines(self, *args)
- count_lines(Fl_Text_Display self, int start, int end, bool start_pos_is_line_start) -> int
- cursor_color(self, *args)
- cursor_color(Fl_Text_Display self) -> Fl_Color
cursor_color(Fl_Text_Display self, Fl_Color n)
- cursor_style(self, *args)
- cursor_style(Fl_Text_Display self, int style)
- draw(self, *args)
- draw(Fl_Text_Display self)
- handle(self, *args)
- handle(Fl_Text_Display self, int e) -> int
- hide_cursor(self, *args)
- hide_cursor(Fl_Text_Display self)
- highlight_data(self, *args)
- highlight_data(Fl_Text_Display self, Fl_Text_Buffer styleBuffer, Fl_Text_Display::Style_Table_Entry const * styleTable, int nStyles, char unfinishedStyle, PyObject * func, PyObject * cbArg)
- in_selection(self, *args)
- in_selection(Fl_Text_Display self, int x, int y) -> int
- init_type(self, *args)
- init_type(Fl_Text_Display self, char * Fl_Text_Display)
- insert(self, *args)
- insert(Fl_Text_Display self, char const * text)
- insert_position(self, *args)
- insert_position(Fl_Text_Display self, int newPos)
insert_position(Fl_Text_Display self) -> int
- line_end(self, *args)
- line_end(Fl_Text_Display self, int startPos, bool startPosIsLineStart) -> int
- line_start(self, *args)
- line_start(Fl_Text_Display self, int pos) -> int
- linenumber_align(self, *args)
- linenumber_align(Fl_Text_Display self, Fl_Align val)
linenumber_align(Fl_Text_Display self) -> Fl_Align
- linenumber_bgcolor(self, *args)
- linenumber_bgcolor(Fl_Text_Display self, Fl_Color val)
linenumber_bgcolor(Fl_Text_Display self) -> Fl_Color
- linenumber_fgcolor(self, *args)
- linenumber_fgcolor(Fl_Text_Display self, Fl_Color val)
linenumber_fgcolor(Fl_Text_Display self) -> Fl_Color
- linenumber_font(self, *args)
- linenumber_font(Fl_Text_Display self, Fl_Font val)
linenumber_font(Fl_Text_Display self) -> Fl_Font
- linenumber_format(self, *args)
- linenumber_format(Fl_Text_Display self, char const * val)
linenumber_format(Fl_Text_Display self) -> char const *
- linenumber_size(self, *args)
- linenumber_size(Fl_Text_Display self, Fl_Fontsize val)
linenumber_size(Fl_Text_Display self) -> Fl_Fontsize
- linenumber_width(self, *args)
- linenumber_width(Fl_Text_Display self, int width)
linenumber_width(Fl_Text_Display self) -> int
- move_down(self, *args)
- move_down(Fl_Text_Display self) -> int
- move_left(self, *args)
- move_left(Fl_Text_Display self) -> int
- move_right(self, *args)
- move_right(Fl_Text_Display self) -> int
- move_up(self, *args)
- move_up(Fl_Text_Display self) -> int
- next_word(self, *args)
- next_word(Fl_Text_Display self)
- overstrike(self, *args)
- overstrike(Fl_Text_Display self, char const * text)
- position_style(self, *args)
- position_style(Fl_Text_Display self, int lineStartPos, int lineLen, int lineIndex) -> int
- position_to_xy(self, *args)
- position_to_xy(Fl_Text_Display self, int pos, int * x, int * y) -> int
- previous_word(self, *args)
- previous_word(Fl_Text_Display self)
- redisplay_range(self, *args)
- redisplay_range(Fl_Text_Display self, int start, int end)
- resize(self, *args)
- resize(Fl_Text_Display self, int X, int Y, int W, int H)
- rewind_lines(self, *args)
- rewind_lines(Fl_Text_Display self, int startPos, int nLines) -> int
- scroll(self, *args)
- scroll(Fl_Text_Display self, int topLineNum, int horizOffset)
- scrollbar_align(self, *args)
- scrollbar_align(Fl_Text_Display self) -> Fl_Align
scrollbar_align(Fl_Text_Display self, Fl_Align a)
- scrollbar_width(self, *args)
- scrollbar_width(Fl_Text_Display self) -> int
scrollbar_width(Fl_Text_Display self, int W)
- shortcut(self, *args)
- shortcut(Fl_Text_Display self) -> int
shortcut(Fl_Text_Display self, int s)
- show_cursor(self, *args)
- show_cursor(Fl_Text_Display self, int b=1)
- show_insert_position(self, *args)
- show_insert_position(Fl_Text_Display self)
- skip_lines(self, *args)
- skip_lines(Fl_Text_Display self, int startPos, int nLines, bool startPosIsLineStart) -> int
- textcolor(self, *args)
- textcolor(Fl_Text_Display self) -> Fl_Color
textcolor(Fl_Text_Display self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Text_Display self) -> Fl_Font
textfont(Fl_Text_Display self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Text_Display self) -> Fl_Fontsize
textsize(Fl_Text_Display self, Fl_Fontsize s)
- word_end(self, *args)
- word_end(Fl_Text_Display self, int pos) -> int
- word_start(self, *args)
- word_start(Fl_Text_Display self, int pos) -> int
- wrap_mode(self, *args)
- wrap_mode(Fl_Text_Display self, int wrap, int wrap_margin)
- wrapped_column(self, *args)
- wrapped_column(Fl_Text_Display self, int row, int column) -> int
- wrapped_row(self, *args)
- wrapped_row(Fl_Text_Display self, int row) -> int
- x_to_col(self, *args)
- x_to_col(Fl_Text_Display self, double x) -> double
Static methods defined here:
- __swig_destroy__ = delete_Fl_Text_Display(...)
- delete_Fl_Text_Display(Fl_Text_Display self)
Data descriptors defined here:
- thisown
- The membership flag
Data and other attributes defined here:
- BLOCK_CURSOR = 3
- CARET_CURSOR = 1
- CHARACTER_POS = 1
- CURSOR_POS = 0
- DIM_CURSOR = 2
- DRAG_CHAR = 0
- DRAG_LINE = 2
- DRAG_NONE = -2
- DRAG_START_DND = -1
- DRAG_WORD = 1
- HEAVY_CURSOR = 4
- NORMAL_CURSOR = 0
- SIMPLE_CURSOR = 5
- WRAP_AT_BOUNDS = 3
- WRAP_AT_COLUMN = 1
- WRAP_AT_PIXEL = 2
- WRAP_NONE = 0
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Text_Editor(Fl_Text_Display) |
|
Fl_Text_Editor(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Text_Editor self, int X, int Y, int W, int H, char const * l=None) -> Fl_Text_Editor
- __repr__ = _swig_repr(self)
- add_key_binding(self, *args)
- add_key_binding(Fl_Text_Editor self, int key, int state, Fl_Text_Editor::Key_Func f)
- bound_key_function(self, *args)
- bound_key_function(Fl_Text_Editor self, int key, int state) -> Fl_Text_Editor::Key_Func
- default_key_function(self, *args)
- default_key_function(Fl_Text_Editor self, Fl_Text_Editor::Key_Func f)
- draw(self, *args)
- draw(Fl_Text_Editor self)
- handle(self, *args)
- handle(Fl_Text_Editor self, int e) -> int
- init_type(self, *args)
- init_type(Fl_Text_Editor self, char * Fl_Text_Editor)
- insert_mode(self, *args)
- insert_mode(Fl_Text_Editor self, int b)
insert_mode(Fl_Text_Editor self) -> int
- remove_all_key_bindings(self, *args)
- remove_all_key_bindings(Fl_Text_Editor self)
- remove_key_binding(self, *args)
- remove_key_binding(Fl_Text_Editor self, int key, int state)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Text_Editor(...)
- delete_Fl_Text_Editor(Fl_Text_Editor self)
- 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 arg1, 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_m_s_move(*args)
- kf_m_s_move(int c, Fl_Text_Editor e) -> int
- kf_meta_move(*args)
- kf_meta_move(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
Methods inherited from Fl_Text_Display:
- buffer(self, *args)
- buffer(Fl_Text_Display self, Fl_Text_Buffer buf)
buffer(Fl_Text_Display self) -> Fl_Text_Buffer
- col_to_x(self, *args)
- col_to_x(Fl_Text_Display self, double col) -> double
- count_lines(self, *args)
- count_lines(Fl_Text_Display self, int start, int end, bool start_pos_is_line_start) -> int
- cursor_color(self, *args)
- cursor_color(Fl_Text_Display self) -> Fl_Color
cursor_color(Fl_Text_Display self, Fl_Color n)
- cursor_style(self, *args)
- cursor_style(Fl_Text_Display self, int style)
- hide_cursor(self, *args)
- hide_cursor(Fl_Text_Display self)
- highlight_data(self, *args)
- highlight_data(Fl_Text_Display self, Fl_Text_Buffer styleBuffer, Fl_Text_Display::Style_Table_Entry const * styleTable, int nStyles, char unfinishedStyle, PyObject * func, PyObject * cbArg)
- in_selection(self, *args)
- in_selection(Fl_Text_Display self, int x, int y) -> int
- insert(self, *args)
- insert(Fl_Text_Display self, char const * text)
- insert_position(self, *args)
- insert_position(Fl_Text_Display self, int newPos)
insert_position(Fl_Text_Display self) -> int
- line_end(self, *args)
- line_end(Fl_Text_Display self, int startPos, bool startPosIsLineStart) -> int
- line_start(self, *args)
- line_start(Fl_Text_Display self, int pos) -> int
- linenumber_align(self, *args)
- linenumber_align(Fl_Text_Display self, Fl_Align val)
linenumber_align(Fl_Text_Display self) -> Fl_Align
- linenumber_bgcolor(self, *args)
- linenumber_bgcolor(Fl_Text_Display self, Fl_Color val)
linenumber_bgcolor(Fl_Text_Display self) -> Fl_Color
- linenumber_fgcolor(self, *args)
- linenumber_fgcolor(Fl_Text_Display self, Fl_Color val)
linenumber_fgcolor(Fl_Text_Display self) -> Fl_Color
- linenumber_font(self, *args)
- linenumber_font(Fl_Text_Display self, Fl_Font val)
linenumber_font(Fl_Text_Display self) -> Fl_Font
- linenumber_format(self, *args)
- linenumber_format(Fl_Text_Display self, char const * val)
linenumber_format(Fl_Text_Display self) -> char const *
- linenumber_size(self, *args)
- linenumber_size(Fl_Text_Display self, Fl_Fontsize val)
linenumber_size(Fl_Text_Display self) -> Fl_Fontsize
- linenumber_width(self, *args)
- linenumber_width(Fl_Text_Display self, int width)
linenumber_width(Fl_Text_Display self) -> int
- move_down(self, *args)
- move_down(Fl_Text_Display self) -> int
- move_left(self, *args)
- move_left(Fl_Text_Display self) -> int
- move_right(self, *args)
- move_right(Fl_Text_Display self) -> int
- move_up(self, *args)
- move_up(Fl_Text_Display self) -> int
- next_word(self, *args)
- next_word(Fl_Text_Display self)
- overstrike(self, *args)
- overstrike(Fl_Text_Display self, char const * text)
- position_style(self, *args)
- position_style(Fl_Text_Display self, int lineStartPos, int lineLen, int lineIndex) -> int
- position_to_xy(self, *args)
- position_to_xy(Fl_Text_Display self, int pos, int * x, int * y) -> int
- previous_word(self, *args)
- previous_word(Fl_Text_Display self)
- redisplay_range(self, *args)
- redisplay_range(Fl_Text_Display self, int start, int end)
- resize(self, *args)
- resize(Fl_Text_Display self, int X, int Y, int W, int H)
- rewind_lines(self, *args)
- rewind_lines(Fl_Text_Display self, int startPos, int nLines) -> int
- scroll(self, *args)
- scroll(Fl_Text_Display self, int topLineNum, int horizOffset)
- scrollbar_align(self, *args)
- scrollbar_align(Fl_Text_Display self) -> Fl_Align
scrollbar_align(Fl_Text_Display self, Fl_Align a)
- scrollbar_width(self, *args)
- scrollbar_width(Fl_Text_Display self) -> int
scrollbar_width(Fl_Text_Display self, int W)
- shortcut(self, *args)
- shortcut(Fl_Text_Display self) -> int
shortcut(Fl_Text_Display self, int s)
- show_cursor(self, *args)
- show_cursor(Fl_Text_Display self, int b=1)
- show_insert_position(self, *args)
- show_insert_position(Fl_Text_Display self)
- skip_lines(self, *args)
- skip_lines(Fl_Text_Display self, int startPos, int nLines, bool startPosIsLineStart) -> int
- textcolor(self, *args)
- textcolor(Fl_Text_Display self) -> Fl_Color
textcolor(Fl_Text_Display self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Text_Display self) -> Fl_Font
textfont(Fl_Text_Display self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Text_Display self) -> Fl_Fontsize
textsize(Fl_Text_Display self, Fl_Fontsize s)
- word_end(self, *args)
- word_end(Fl_Text_Display self, int pos) -> int
- word_start(self, *args)
- word_start(Fl_Text_Display self, int pos) -> int
- wrap_mode(self, *args)
- wrap_mode(Fl_Text_Display self, int wrap, int wrap_margin)
- wrapped_column(self, *args)
- wrapped_column(Fl_Text_Display self, int row, int column) -> int
- wrapped_row(self, *args)
- wrapped_row(Fl_Text_Display self, int row) -> int
- x_to_col(self, *args)
- x_to_col(Fl_Text_Display self, double x) -> double
Data and other attributes inherited from Fl_Text_Display:
- BLOCK_CURSOR = 3
- CARET_CURSOR = 1
- CHARACTER_POS = 1
- CURSOR_POS = 0
- DIM_CURSOR = 2
- DRAG_CHAR = 0
- DRAG_LINE = 2
- DRAG_NONE = -2
- DRAG_START_DND = -1
- DRAG_WORD = 1
- HEAVY_CURSOR = 4
- NORMAL_CURSOR = 0
- SIMPLE_CURSOR = 5
- WRAP_AT_BOUNDS = 3
- WRAP_AT_COLUMN = 1
- WRAP_AT_PIXEL = 2
- WRAP_NONE = 0
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Text_Selection(builtins.object) |
|
Fl_Text_Selection(*args)
Proxy of C++ Fl_Text_Selection class. |
|
Methods defined here:
- __init__(self, *args)
- __init__(Fl_Text_Selection self) -> Fl_Text_Selection
- __repr__ = _swig_repr(self)
- end(self, *args)
- end(Fl_Text_Selection self) -> int
- includes(self, *args)
- includes(Fl_Text_Selection self, int pos) -> int
- position(self, *args)
- position(Fl_Text_Selection self, int * start, int * end) -> int
- selected(self, *args)
- selected(Fl_Text_Selection self) -> bool
selected(Fl_Text_Selection self, bool b)
- set(self, *args)
- set(Fl_Text_Selection self, int start, int end)
- start(self, *args)
- start(Fl_Text_Selection self) -> int
- update(self, *args)
- update(Fl_Text_Selection self, int pos, int nDeleted, int nInserted)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Text_Selection(...)
- delete_Fl_Text_Selection(Fl_Text_Selection self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
|
class Fl_Tile(Fl_Group) |
|
Fl_Tile(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Tile self, int X, int Y, int W, int H, char const * L=None) -> Fl_Tile
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Tile self)
- handle(self, *args)
- handle(Fl_Tile self, int event) -> int
- init_type(self, *args)
- init_type(Fl_Tile self, char * Fl_Tile)
- position(self, *args)
- position(Fl_Tile self, int oldx, int oldy, int newx, int newy)
- resize(self, *args)
- resize(Fl_Tile self, int X, int Y, int W, int H)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Tile(...)
- delete_Fl_Tile(Fl_Tile self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Tiled_Image(Fl_Image) |
|
Fl_Tiled_Image(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Tiled_Image self, Fl_Image i, int W=0, int H=0) -> Fl_Tiled_Image
- __repr__ = _swig_repr(self)
- color_average(self, *args)
- color_average(Fl_Tiled_Image self, Fl_Color c, float i)
- copy(self, *args)
- copy(Fl_Tiled_Image self, int W, int H) -> Fl_Image
copy(Fl_Tiled_Image self) -> Fl_Image
- desaturate(self, *args)
- desaturate(Fl_Tiled_Image self)
- draw(self, *args)
- draw(Fl_Tiled_Image self, int X, int Y, int W, int H, int cx, int cy)
draw(Fl_Tiled_Image self, int X, int Y)
- image(self, *args)
- image(Fl_Tiled_Image self) -> Fl_Image
Static methods defined here:
- __swig_destroy__ = delete_Fl_Tiled_Image(...)
- delete_Fl_Tiled_Image(Fl_Tiled_Image self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Image:
- count(self, *args)
- count(Fl_Image self) -> int
- d(self, *args)
- d(Fl_Image self) -> int
- data(self, *args)
- data(Fl_Image self) -> char const *const *
- fail(self, *args)
- fail(Fl_Image self) -> int
- h(self, *args)
- h(Fl_Image self) -> int
- inactive(self, *args)
- inactive(Fl_Image self)
- label(self, *args)
- label(Fl_Image self, Fl_Widget w)
label(Fl_Image self, Fl_Menu_Item m)
- ld(self, *args)
- ld(Fl_Image self) -> int
- uncache(self, *args)
- uncache(Fl_Image self)
- w(self, *args)
- w(Fl_Image self) -> int
Static methods inherited from Fl_Image:
- RGB_scaling(*args)
- RGB_scaling(Fl_RGB_Scaling arg1)
RGB_scaling() -> Fl_RGB_Scaling
Data descriptors inherited from Fl_Image:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Timer(Fl_Widget) |
|
Fl_Timer(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Timer self, uchar t, int x, int y, int w, int h, char const * l) -> Fl_Timer
- __repr__ = _swig_repr(self)
- direction(self, *args)
- direction(Fl_Timer self) -> char
direction(Fl_Timer self, char d)
- draw(self, *args)
- draw(Fl_Timer self)
- handle(self, *args)
- handle(Fl_Timer self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Timer self, char * Fl_Timer)
- suspended(self, *args)
- suspended(Fl_Timer self) -> char
suspended(Fl_Timer self, char d)
- value(self, *args)
- value(Fl_Timer self, double arg2)
value(Fl_Timer self) -> double
Static methods defined here:
- __swig_destroy__ = delete_Fl_Timer(...)
- delete_Fl_Timer(Fl_Timer self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Toggle_Button(Fl_Button) |
|
Fl_Toggle_Button(*args)
Proxy of C++ Fl_Toggle_Button class. |
|
- Method resolution order:
- Fl_Toggle_Button
- Fl_Button
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Toggle_Button self, int X, int Y, int W, int H, char const * l=None) -> Fl_Toggle_Button
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Toggle_Button self)
- init_type(self, *args)
- init_type(Fl_Toggle_Button self, char * Fl_Toggle_Button)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Toggle_Button(...)
- delete_Fl_Toggle_Button(Fl_Toggle_Button self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Button:
- clear(self, *args)
- clear(Fl_Button self) -> int
- down_box(self, *args)
- down_box(Fl_Button self) -> Fl_Boxtype
down_box(Fl_Button self, Fl_Boxtype b)
- down_color(self, *args)
- down_color(Fl_Button self) -> Fl_Color
down_color(Fl_Button self, unsigned int c)
- handle(self, *args)
- handle(Fl_Button self, int arg0) -> int
- set(self, *args)
- set(Fl_Button self) -> int
- setonly(self, *args)
- setonly(Fl_Button self)
- shortcut(self, *args)
- shortcut(Fl_Button self) -> int
shortcut(Fl_Button self, int s)
shortcut(Fl_Button self, char const * s)
- value(self, *args)
- value(Fl_Button self, int v) -> int
value(Fl_Button self) -> char
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Tree(Fl_Group) |
|
Fl_Tree(*args)
An expandable tree widget. Similar to Fl_Browser, Fl_Tree is browser of Fl_Tree_Item's, which can be in a parented hierarchy. Subtrees can be expanded or closed. Items can be added, deleted, inserted, sorted and re-ordered. The tree items may also contain other FLTK widgets, like buttons, input fields, or even 'custom' widgets. |
|
- Method resolution order:
- Fl_Tree
- Fl_Group
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Tree self, int X, int Y, int W, int H, char const * L=None) -> Fl_Tree
- __repr__ = _swig_repr(self)
- add(self, *args)
- add(Fl_Tree self, char const * path) -> Fl_Tree_Item
add(Fl_Tree self, char const * path, Fl_Tree_Item newitem) -> Fl_Tree_Item
add(Fl_Tree self, Fl_Tree_Item parent_item, char const * name) -> Fl_Tree_Item
- callback_item(self, *args)
- callback_item(Fl_Tree self, Fl_Tree_Item item)
callback_item(Fl_Tree self) -> Fl_Tree_Item
- callback_reason(self, *args)
- callback_reason(Fl_Tree self, Fl_Tree_Reason reason)
callback_reason(Fl_Tree self) -> Fl_Tree_Reason
- clear(self, *args)
- clear(Fl_Tree self)
- clear_children(self, *args)
- clear_children(Fl_Tree self, Fl_Tree_Item item)
- close(self, *args)
- close(Fl_Tree self, Fl_Tree_Item item, int docallback=1) -> int
close(Fl_Tree self, char const * path, int docallback=1) -> int
- closeicon(self, *args)
- closeicon(Fl_Tree self) -> Fl_Image
closeicon(Fl_Tree self, Fl_Image val)
- connectorcolor(self, *args)
- connectorcolor(Fl_Tree self) -> Fl_Color
connectorcolor(Fl_Tree self, Fl_Color val)
- connectorstyle(self, *args)
- connectorstyle(Fl_Tree self) -> Fl_Tree_Connector
connectorstyle(Fl_Tree self, Fl_Tree_Connector val)
- connectorwidth(self, *args)
- connectorwidth(Fl_Tree self) -> int
connectorwidth(Fl_Tree self, int val)
- deselect(self, *args)
- deselect(Fl_Tree self, Fl_Tree_Item item, int docallback=1) -> int
deselect(Fl_Tree self, char const * path, int docallback=1) -> int
- deselect_all(self, *args)
- deselect_all(Fl_Tree self, Fl_Tree_Item item=None, int docallback=1) -> int
- display(self, *args)
- display(Fl_Tree self, Fl_Tree_Item item)
- displayed(self, *args)
- displayed(Fl_Tree self, Fl_Tree_Item item) -> int
- draw(self, *args)
- draw(Fl_Tree self)
- extend_selection_dir(self, *args)
- extend_selection_dir(Fl_Tree self, Fl_Tree_Item _from, Fl_Tree_Item to, int dir, int val, bool visible) -> int
- find_clicked(self, *args)
- find_clicked(Fl_Tree self) -> Fl_Tree_Item
find_clicked(Fl_Tree self) -> Fl_Tree_Item
- find_item(self, *args)
- find_item(Fl_Tree self, char const * path) -> Fl_Tree_Item
find_item(Fl_Tree self, char const * path) -> Fl_Tree_Item
- first(self, *args)
- first(Fl_Tree self) -> Fl_Tree_Item
- first_selected_item(self, *args)
- first_selected_item(Fl_Tree self) -> Fl_Tree_Item
- first_visible(self, *args)
- first_visible(Fl_Tree self) -> Fl_Tree_Item
- first_visible_item(self, *args)
- first_visible_item(Fl_Tree self) -> Fl_Tree_Item
- get_item_focus(self, *args)
- get_item_focus(Fl_Tree self) -> Fl_Tree_Item
- handle(self, *args)
- handle(Fl_Tree self, int e) -> int
- hposition(self, *args)
- hposition(Fl_Tree self) -> int
hposition(Fl_Tree self, int pos)
- init_type(self, *args)
- init_type(Fl_Tree self, char * Fl_Tree)
- insert(self, *args)
- insert(Fl_Tree self, Fl_Tree_Item item, char const * name, int pos) -> Fl_Tree_Item
- insert_above(self, *args)
- insert_above(Fl_Tree self, Fl_Tree_Item above, char const * name) -> Fl_Tree_Item
- is_close(self, *args)
- is_close(Fl_Tree self, Fl_Tree_Item item) -> int
is_close(Fl_Tree self, char const * path) -> int
- is_hscroll_visible(self, *args)
- is_hscroll_visible(Fl_Tree self) -> int
- is_open(self, *args)
- is_open(Fl_Tree self, Fl_Tree_Item item) -> int
is_open(Fl_Tree self, char const * path) -> int
- is_scrollbar(self, *args)
- is_scrollbar(Fl_Tree self, Fl_Widget w) -> int
- is_selected(self, *args)
- is_selected(Fl_Tree self, Fl_Tree_Item item) -> int
is_selected(Fl_Tree self, char const * path) -> int
- is_vscroll_visible(self, *args)
- is_vscroll_visible(Fl_Tree self) -> int
- item_clicked(self, *args)
- item_clicked(Fl_Tree self) -> Fl_Tree_Item
- item_labelbgcolor(self, *args)
- item_labelbgcolor(Fl_Tree self) -> Fl_Color
item_labelbgcolor(Fl_Tree self, Fl_Color val)
- item_labelfgcolor(self, *args)
- item_labelfgcolor(Fl_Tree self) -> Fl_Color
item_labelfgcolor(Fl_Tree self, Fl_Color val)
- item_labelfont(self, *args)
- item_labelfont(Fl_Tree self) -> Fl_Font
item_labelfont(Fl_Tree self, Fl_Font val)
- item_labelsize(self, *args)
- item_labelsize(Fl_Tree self) -> Fl_Fontsize
item_labelsize(Fl_Tree self, Fl_Fontsize val)
- item_pathname(self, *args)
- item_pathname(Fl_Tree self, char * pathname, int pathnamelen, Fl_Tree_Item item) -> int
- labelmarginleft(self, *args)
- labelmarginleft(Fl_Tree self) -> int
labelmarginleft(Fl_Tree self, int val)
- last(self, *args)
- last(Fl_Tree self) -> Fl_Tree_Item
- last_selected_item(self, *args)
- last_selected_item(Fl_Tree self) -> Fl_Tree_Item
- last_visible(self, *args)
- last_visible(Fl_Tree self) -> Fl_Tree_Item
- last_visible_item(self, *args)
- last_visible_item(Fl_Tree self) -> Fl_Tree_Item
- linespacing(self, *args)
- linespacing(Fl_Tree self) -> int
linespacing(Fl_Tree self, int val)
- load(self, *args)
- load(Fl_Tree self, Fl_Preferences arg2)
- marginleft(self, *args)
- marginleft(Fl_Tree self) -> int
marginleft(Fl_Tree self, int val)
- margintop(self, *args)
- margintop(Fl_Tree self) -> int
margintop(Fl_Tree self, int val)
- next(self, *args)
- next(Fl_Tree self, Fl_Tree_Item item=None) -> Fl_Tree_Item
- next_item(self, *args)
- next_item(Fl_Tree self, Fl_Tree_Item item, int dir=65364, bool visible=False) -> Fl_Tree_Item
- next_selected_item(self, *args)
- next_selected_item(Fl_Tree self, Fl_Tree_Item item=None) -> Fl_Tree_Item
next_selected_item(Fl_Tree self, Fl_Tree_Item item, int dir) -> Fl_Tree_Item
- open(self, *args)
- open(Fl_Tree self, Fl_Tree_Item item, int docallback=1) -> int
open(Fl_Tree self, char const * path, int docallback=1) -> int
- open_toggle(self, *args)
- open_toggle(Fl_Tree self, Fl_Tree_Item item, int docallback=1)
- openchild_marginbottom(self, *args)
- openchild_marginbottom(Fl_Tree self) -> int
openchild_marginbottom(Fl_Tree self, int val)
- openicon(self, *args)
- openicon(Fl_Tree self) -> Fl_Image
openicon(Fl_Tree self, Fl_Image val)
- prefs(self, *args)
- prefs(Fl_Tree self) -> Fl_Tree_Prefs
- prev(self, *args)
- prev(Fl_Tree self, Fl_Tree_Item item=None) -> Fl_Tree_Item
- recalc_tree(self, *args)
- recalc_tree(Fl_Tree self)
- remove(self, *args)
- remove(Fl_Tree self, Fl_Tree_Item item) -> int
- resize(self, *args)
- resize(Fl_Tree self, int arg0, int arg1, int arg2, int arg3)
- root(self, *args)
- root(Fl_Tree self) -> Fl_Tree_Item
root(Fl_Tree self, Fl_Tree_Item newitem)
- root_label(self, *args)
- root_label(Fl_Tree self, char const * new_label)
- scrollbar_size(self, *args)
- scrollbar_size(Fl_Tree self) -> int
scrollbar_size(Fl_Tree self, int size)
- select(self, *args)
- select(Fl_Tree self, Fl_Tree_Item item, int docallback=1) -> int
select(Fl_Tree self, char const * path, int docallback=1) -> int
- select_all(self, *args)
- select_all(Fl_Tree self, Fl_Tree_Item item=None, int docallback=1) -> int
- select_only(self, *args)
- select_only(Fl_Tree self, Fl_Tree_Item selitem, int docallback=1) -> int
- select_toggle(self, *args)
- select_toggle(Fl_Tree self, Fl_Tree_Item item, int docallback=1)
- selectbox(self, *args)
- selectbox(Fl_Tree self) -> Fl_Boxtype
selectbox(Fl_Tree self, Fl_Boxtype val)
- selectmode(self, *args)
- selectmode(Fl_Tree self) -> Fl_Tree_Select
selectmode(Fl_Tree self, Fl_Tree_Select val)
- set_item_focus(self, *args)
- set_item_focus(Fl_Tree self, Fl_Tree_Item item)
- show_item(self, *args)
- show_item(Fl_Tree self, Fl_Tree_Item item, int yoff)
show_item(Fl_Tree self, Fl_Tree_Item item)
- show_item_bottom(self, *args)
- show_item_bottom(Fl_Tree self, Fl_Tree_Item item)
- show_item_middle(self, *args)
- show_item_middle(Fl_Tree self, Fl_Tree_Item item)
- show_item_top(self, *args)
- show_item_top(Fl_Tree self, Fl_Tree_Item item)
- show_self(self, *args)
- show_self(Fl_Tree self)
- showcollapse(self, *args)
- showcollapse(Fl_Tree self) -> int
showcollapse(Fl_Tree self, int val)
- showroot(self, *args)
- showroot(Fl_Tree self) -> int
showroot(Fl_Tree self, int val)
- sortorder(self, *args)
- sortorder(Fl_Tree self) -> Fl_Tree_Sort
sortorder(Fl_Tree self, Fl_Tree_Sort val)
- usericon(self, *args)
- usericon(Fl_Tree self) -> Fl_Image
usericon(Fl_Tree self, Fl_Image val)
- usericonmarginleft(self, *args)
- usericonmarginleft(Fl_Tree self) -> int
usericonmarginleft(Fl_Tree self, int val)
- vposition(self, *args)
- vposition(Fl_Tree self) -> int
vposition(Fl_Tree self, int pos)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Tree(...)
- delete_Fl_Tree(Fl_Tree self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Group:
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Tree_Item(builtins.object) |
|
Fl_Tree_Item(*args)
This class is a single tree item, and manages all of the item's attributes. Fl_Tree_Item is used by Fl_Tree, which is comprised of many instances of Fl_Tree_Item.
Fl_Tree_Item is hierarchical; it dynamically manages an Fl_Tree_Item_Array of children that are themselves instances of Fl_Tree_Item. Each item can have zero or more children. When an item has children, close() and open() can be used to hide or show them. Items have their own attributes; font size, face, color. Items maintain their own hierarchy of children. When you make changes to items, you'll need to tell the tree to redraw() for the changes to show up. |
|
Methods defined here:
- __init__(self, *args)
- __init__(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item
__init__(Fl_Tree_Item self, Fl_Tree_Item o) -> Fl_Tree_Item
- __repr__ = _swig_repr(self)
- activate(self, *args)
- activate(Fl_Tree_Item self, int val=1)
- add(self, *args)
- add(Fl_Tree_Item self, Fl_Tree_Prefs prefs, char const * new_label, Fl_Tree_Item newitem) -> Fl_Tree_Item
add(Fl_Tree_Item self, Fl_Tree_Prefs prefs, char const * new_label) -> Fl_Tree_Item
add(Fl_Tree_Item self, Fl_Tree_Prefs prefs, char ** arr, Fl_Tree_Item newitem) -> Fl_Tree_Item
add(Fl_Tree_Item self, Fl_Tree_Prefs prefs, char ** arr) -> Fl_Tree_Item
- child(self, *args)
- child(Fl_Tree_Item self, int index) -> Fl_Tree_Item
child(Fl_Tree_Item self, int t) -> Fl_Tree_Item
- children(self, *args)
- children(Fl_Tree_Item self) -> int
- clear_children(self, *args)
- clear_children(Fl_Tree_Item self)
- close(self, *args)
- close(Fl_Tree_Item self)
- deactivate(self, *args)
- deactivate(Fl_Tree_Item self)
- deparent(self, *args)
- deparent(Fl_Tree_Item self, int index) -> Fl_Tree_Item
- depth(self, *args)
- depth(Fl_Tree_Item self) -> int
- deselect(self, *args)
- deselect(Fl_Tree_Item self)
- deselect_all(self, *args)
- deselect_all(Fl_Tree_Item self) -> int
- draw(self, *args)
- draw(Fl_Tree_Item self, int X, int W, Fl_Widget tree, Fl_Tree_Item itemfocus, Fl_Tree_Prefs prefs, int lastchild=1)
- event_on_collapse_icon(self, *args)
- event_on_collapse_icon(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> int
- event_on_label(self, *args)
- event_on_label(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> int
- find_child(self, *args)
- find_child(Fl_Tree_Item self, char const * name) -> int
find_child(Fl_Tree_Item self, Fl_Tree_Item item) -> int
- find_child_item(self, *args)
- find_child_item(Fl_Tree_Item self, char const * name) -> Fl_Tree_Item
find_child_item(Fl_Tree_Item self, char const * name) -> Fl_Tree_Item
find_child_item(Fl_Tree_Item self, char ** arr) -> Fl_Tree_Item
find_child_item(Fl_Tree_Item self, char ** arr) -> Fl_Tree_Item
- find_clicked(self, *args)
- find_clicked(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item
find_clicked(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item
- find_item(self, *args)
- find_item(Fl_Tree_Item self, char ** arr) -> Fl_Tree_Item
find_item(Fl_Tree_Item self, char ** arr) -> Fl_Tree_Item
- h(self, *args)
- h(Fl_Tree_Item self) -> int
- has_children(self, *args)
- has_children(Fl_Tree_Item self) -> int
- init_type(self, *args)
- init_type(Fl_Tree_Item self, char * Fl_Tree_Item)
- insert(self, *args)
- insert(Fl_Tree_Item self, Fl_Tree_Prefs prefs, char const * new_label, int pos=0) -> Fl_Tree_Item
- insert_above(self, *args)
- insert_above(Fl_Tree_Item self, Fl_Tree_Prefs prefs, char const * new_label) -> Fl_Tree_Item
- is_activated(self, *args)
- is_activated(Fl_Tree_Item self) -> char
- is_active(self, *args)
- is_active(Fl_Tree_Item self) -> char
- is_close(self, *args)
- is_close(Fl_Tree_Item self) -> int
- is_open(self, *args)
- is_open(Fl_Tree_Item self) -> int
- is_root(self, *args)
- is_root(Fl_Tree_Item self) -> int
- is_selected(self, *args)
- is_selected(Fl_Tree_Item self) -> char
- is_visible(self, *args)
- is_visible(Fl_Tree_Item self) -> int
- label(self, *args)
- label(Fl_Tree_Item self, char const * val)
label(Fl_Tree_Item self) -> char const *
- label_h(self, *args)
- label_h(Fl_Tree_Item self) -> int
- label_w(self, *args)
- label_w(Fl_Tree_Item self) -> int
- label_x(self, *args)
- label_x(Fl_Tree_Item self) -> int
- label_y(self, *args)
- label_y(Fl_Tree_Item self) -> int
- labelbgcolor(self, *args)
- labelbgcolor(Fl_Tree_Item self, Fl_Color val)
labelbgcolor(Fl_Tree_Item self) -> Fl_Color
- labelcolor(self, *args)
- labelcolor(Fl_Tree_Item self, Fl_Color val)
labelcolor(Fl_Tree_Item self) -> Fl_Color
- labelfgcolor(self, *args)
- labelfgcolor(Fl_Tree_Item self, Fl_Color val)
labelfgcolor(Fl_Tree_Item self) -> Fl_Color
- labelfont(self, *args)
- labelfont(Fl_Tree_Item self, Fl_Font val)
labelfont(Fl_Tree_Item self) -> Fl_Font
- labelsize(self, *args)
- labelsize(Fl_Tree_Item self, Fl_Fontsize val)
labelsize(Fl_Tree_Item self) -> Fl_Fontsize
- move(self, *args)
- move(Fl_Tree_Item self, int to, int _from) -> int
move(Fl_Tree_Item self, Fl_Tree_Item item, int op=0, int pos=0) -> int
- move_above(self, *args)
- move_above(Fl_Tree_Item self, Fl_Tree_Item item) -> int
- move_below(self, *args)
- move_below(Fl_Tree_Item self, Fl_Tree_Item item) -> int
- move_into(self, *args)
- move_into(Fl_Tree_Item self, Fl_Tree_Item item, int pos=0) -> int
- next(self, *args)
- next(Fl_Tree_Item self) -> Fl_Tree_Item
- next_displayed(self, *args)
- next_displayed(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item
- next_sibling(self, *args)
- next_sibling(Fl_Tree_Item self) -> Fl_Tree_Item
- next_visible(self, *args)
- next_visible(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item
- open(self, *args)
- open(Fl_Tree_Item self)
- open_toggle(self, *args)
- open_toggle(Fl_Tree_Item self)
- parent(self, *args)
- parent(Fl_Tree_Item self) -> Fl_Tree_Item
parent(Fl_Tree_Item self) -> Fl_Tree_Item
parent(Fl_Tree_Item self, Fl_Tree_Item val)
- prev(self, *args)
- prev(Fl_Tree_Item self) -> Fl_Tree_Item
- prev_displayed(self, *args)
- prev_displayed(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item
- prev_sibling(self, *args)
- prev_sibling(Fl_Tree_Item self) -> Fl_Tree_Item
- prev_visible(self, *args)
- prev_visible(Fl_Tree_Item self, Fl_Tree_Prefs prefs) -> Fl_Tree_Item
- remove_child(self, *args)
- remove_child(Fl_Tree_Item self, Fl_Tree_Item item) -> int
remove_child(Fl_Tree_Item self, char const * new_label) -> int
- reparent(self, *args)
- reparent(Fl_Tree_Item self, Fl_Tree_Item newchild, int index) -> int
- select(self, *args)
- select(Fl_Tree_Item self, int val=1)
- select_all(self, *args)
- select_all(Fl_Tree_Item self) -> int
- select_toggle(self, *args)
- select_toggle(Fl_Tree_Item self)
- show_self(self, *args)
- show_self(Fl_Tree_Item self, char const * indent="")
- swap_children(self, *args)
- swap_children(Fl_Tree_Item self, int ax, int bx)
swap_children(Fl_Tree_Item self, Fl_Tree_Item a, Fl_Tree_Item b) -> int
- update_prev_next(self, *args)
- update_prev_next(Fl_Tree_Item self, int index)
- user_data(self, *args)
- user_data(Fl_Tree_Item self, PyObject * PyData)
user_data(Fl_Tree_Item self) -> PyObject *
- usericon(self, *args)
- usericon(Fl_Tree_Item self, Fl_Image val)
usericon(Fl_Tree_Item self) -> Fl_Image
- visible(self, *args)
- visible(Fl_Tree_Item self) -> int
- visible_r(self, *args)
- visible_r(Fl_Tree_Item self) -> int
- w(self, *args)
- w(Fl_Tree_Item self) -> int
- widget(self, *args)
- widget(Fl_Tree_Item self, Fl_Widget val)
widget(Fl_Tree_Item self) -> Fl_Widget
- x(self, *args)
- x(Fl_Tree_Item self) -> int
- y(self, *args)
- y(Fl_Tree_Item self) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Tree_Item(...)
- delete_Fl_Tree_Item(Fl_Tree_Item self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
|
class Fl_Tree_Item_Array(builtins.object) |
|
Fl_Tree_Item_Array(*args)
Because FLTK 1.x.x. has mandated that templates and STL not be used, we use this class to dynamically manage the arrays.
None of the methods do range checking on index values; the caller must be sure that index values are within the range 0<index<total() (unless otherwise noted). |
|
Methods defined here:
- __init__(self, *args)
- __init__(Fl_Tree_Item_Array self, int new_chunksize=10) -> Fl_Tree_Item_Array
__init__(Fl_Tree_Item_Array self, Fl_Tree_Item_Array o) -> Fl_Tree_Item_Array
- __repr__ = _swig_repr(self)
- add(self, *args)
- add(Fl_Tree_Item_Array self, Fl_Tree_Item val)
- clear(self, *args)
- clear(Fl_Tree_Item_Array self)
- deparent(self, *args)
- deparent(Fl_Tree_Item_Array self, int pos) -> int
- insert(self, *args)
- insert(Fl_Tree_Item_Array self, int pos, Fl_Tree_Item new_item)
- move(self, *args)
- move(Fl_Tree_Item_Array self, int to, int _from) -> int
- remove(self, *args)
- remove(Fl_Tree_Item_Array self, int index)
remove(Fl_Tree_Item_Array self, Fl_Tree_Item item) -> int
- reparent(self, *args)
- reparent(Fl_Tree_Item_Array self, Fl_Tree_Item item, Fl_Tree_Item newparent, int pos) -> int
- replace(self, *args)
- replace(Fl_Tree_Item_Array self, int pos, Fl_Tree_Item new_item)
- swap(self, *args)
- swap(Fl_Tree_Item_Array self, int ax, int bx)
- total(self, *args)
- total(Fl_Tree_Item_Array self) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Tree_Item_Array(...)
- delete_Fl_Tree_Item_Array(Fl_Tree_Item_Array self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
|
class Fl_Tree_Prefs(builtins.object) |
|
Fl_Tree_Prefs(*args)
Proxy of C++ Fl_Tree_Prefs class. |
|
Methods defined here:
- __init__(self, *args)
- __init__(Fl_Tree_Prefs self) -> Fl_Tree_Prefs
- __repr__ = _swig_repr(self)
- closeicon(self, *args)
- closeicon(Fl_Tree_Prefs self) -> Fl_Image
closeicon(Fl_Tree_Prefs self, Fl_Image val)
- connectorcolor(self, *args)
- connectorcolor(Fl_Tree_Prefs self) -> Fl_Color
connectorcolor(Fl_Tree_Prefs self, Fl_Color val)
- connectorstyle(self, *args)
- connectorstyle(Fl_Tree_Prefs self) -> Fl_Tree_Connector
connectorstyle(Fl_Tree_Prefs self, Fl_Tree_Connector val)
connectorstyle(Fl_Tree_Prefs self, int val)
- connectorwidth(self, *args)
- connectorwidth(Fl_Tree_Prefs self) -> int
connectorwidth(Fl_Tree_Prefs self, int val)
- item_labelbgcolor(self, *args)
- item_labelbgcolor(Fl_Tree_Prefs self) -> Fl_Color
item_labelbgcolor(Fl_Tree_Prefs self, Fl_Color val)
- item_labelfgcolor(self, *args)
- item_labelfgcolor(Fl_Tree_Prefs self) -> Fl_Color
item_labelfgcolor(Fl_Tree_Prefs self, Fl_Color val)
- item_labelfont(self, *args)
- item_labelfont(Fl_Tree_Prefs self) -> Fl_Font
item_labelfont(Fl_Tree_Prefs self, Fl_Font val)
- item_labelsize(self, *args)
- item_labelsize(Fl_Tree_Prefs self) -> Fl_Fontsize
item_labelsize(Fl_Tree_Prefs self, Fl_Fontsize val)
- labelbgcolor(self, *args)
- labelbgcolor(Fl_Tree_Prefs self) -> Fl_Color
labelbgcolor(Fl_Tree_Prefs self, Fl_Color val)
- labelfgcolor(self, *args)
- labelfgcolor(Fl_Tree_Prefs self) -> Fl_Color
labelfgcolor(Fl_Tree_Prefs self, Fl_Color val)
- labelfont(self, *args)
- labelfont(Fl_Tree_Prefs self) -> Fl_Font
labelfont(Fl_Tree_Prefs self, Fl_Font val)
- labelmarginleft(self, *args)
- labelmarginleft(Fl_Tree_Prefs self) -> int
labelmarginleft(Fl_Tree_Prefs self, int val)
- labelsize(self, *args)
- labelsize(Fl_Tree_Prefs self) -> Fl_Fontsize
labelsize(Fl_Tree_Prefs self, Fl_Fontsize val)
- linespacing(self, *args)
- linespacing(Fl_Tree_Prefs self) -> int
linespacing(Fl_Tree_Prefs self, int val)
- marginleft(self, *args)
- marginleft(Fl_Tree_Prefs self) -> int
marginleft(Fl_Tree_Prefs self, int val)
- margintop(self, *args)
- margintop(Fl_Tree_Prefs self) -> int
margintop(Fl_Tree_Prefs self, int val)
- openchild_marginbottom(self, *args)
- openchild_marginbottom(Fl_Tree_Prefs self) -> int
openchild_marginbottom(Fl_Tree_Prefs self, int val)
- openicon(self, *args)
- openicon(Fl_Tree_Prefs self) -> Fl_Image
openicon(Fl_Tree_Prefs self, Fl_Image val)
- selectbox(self, *args)
- selectbox(Fl_Tree_Prefs self) -> Fl_Boxtype
selectbox(Fl_Tree_Prefs self, Fl_Boxtype val)
- selectmode(self, *args)
- selectmode(Fl_Tree_Prefs self) -> Fl_Tree_Select
selectmode(Fl_Tree_Prefs self, Fl_Tree_Select val)
- showcollapse(self, *args)
- showcollapse(Fl_Tree_Prefs self) -> char
showcollapse(Fl_Tree_Prefs self, int val)
- showroot(self, *args)
- showroot(Fl_Tree_Prefs self) -> int
showroot(Fl_Tree_Prefs self, int val)
- sortorder(self, *args)
- sortorder(Fl_Tree_Prefs self) -> Fl_Tree_Sort
sortorder(Fl_Tree_Prefs self, Fl_Tree_Sort val)
- usericon(self, *args)
- usericon(Fl_Tree_Prefs self) -> Fl_Image
usericon(Fl_Tree_Prefs self, Fl_Image val)
- usericonmarginleft(self, *args)
- usericonmarginleft(Fl_Tree_Prefs self) -> int
usericonmarginleft(Fl_Tree_Prefs self, int val)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Tree_Prefs(...)
- delete_Fl_Tree_Prefs(Fl_Tree_Prefs self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
|
class Fl_Valuator(Fl_Widget) |
|
Fl_Valuator(*args, **kwargs)
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
- builtins.object
Methods defined here:
- __init__(self, *args, **kwargs)
- __init__(Fl_Widget self, int x, int y, int w, int h, char const * label=None) -> Fl_Widget
- __repr__ = _swig_repr(self)
- bounds(self, *args)
- bounds(Fl_Valuator self, double a, double b)
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- init_type(self, *args)
- init_type(Fl_Valuator self, char * Fl_Valuator)
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Valuator(...)
- delete_Fl_Valuator(Fl_Valuator self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- __disown__(self)
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw(self, *args)
- draw(Fl_Widget self)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- handle(self, *args)
- handle(Fl_Widget self, int event) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Value_Input(Fl_Valuator) |
|
Fl_Value_Input(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Value_Input self, int x, int y, int w, int h, char const * l=None) -> Fl_Value_Input
- __repr__ = _swig_repr(self)
- cursor_color(self, *args)
- cursor_color(Fl_Value_Input self) -> Fl_Color
cursor_color(Fl_Value_Input self, Fl_Color n)
- draw(self, *args)
- draw(Fl_Value_Input self)
- handle(self, *args)
- handle(Fl_Value_Input self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Value_Input self, char * Fl_Value_Input)
- resize(self, *args)
- resize(Fl_Value_Input self, int arg0, int arg1, int arg2, int arg3)
- shortcut(self, *args)
- shortcut(Fl_Value_Input self) -> int
shortcut(Fl_Value_Input self, int s)
- soft(self, *args)
- soft(Fl_Value_Input self, char s)
soft(Fl_Value_Input self) -> char
- textcolor(self, *args)
- textcolor(Fl_Value_Input self) -> Fl_Color
textcolor(Fl_Value_Input self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Value_Input self) -> Fl_Font
textfont(Fl_Value_Input self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Value_Input self) -> Fl_Fontsize
textsize(Fl_Value_Input self, Fl_Fontsize s)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Value_Input(...)
- delete_Fl_Value_Input(Fl_Value_Input self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Valuator:
- bounds(self, *args)
- bounds(Fl_Valuator self, double a, double b)
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Value_Output(Fl_Valuator) |
|
Fl_Value_Output(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Value_Output self, int x, int y, int w, int h, char const * l=None) -> Fl_Value_Output
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Value_Output self)
- handle(self, *args)
- handle(Fl_Value_Output self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Value_Output self, char * Fl_Value_Output)
- soft(self, *args)
- soft(Fl_Value_Output self, uchar s)
soft(Fl_Value_Output self) -> uchar
- textcolor(self, *args)
- textcolor(Fl_Value_Output self) -> Fl_Color
textcolor(Fl_Value_Output self, Fl_Color s)
- textfont(self, *args)
- textfont(Fl_Value_Output self) -> Fl_Font
textfont(Fl_Value_Output self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Value_Output self) -> Fl_Fontsize
textsize(Fl_Value_Output self, Fl_Fontsize s)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Value_Output(...)
- delete_Fl_Value_Output(Fl_Value_Output self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Valuator:
- bounds(self, *args)
- bounds(Fl_Valuator self, double a, double b)
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Value_Slider(Fl_Slider) |
|
Fl_Value_Slider(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Value_Slider self, int x, int y, int w, int h, char const * l=None) -> Fl_Value_Slider
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Value_Slider self)
- handle(self, *args)
- handle(Fl_Value_Slider self, int arg0) -> int
- init_type(self, *args)
- init_type(Fl_Value_Slider self, char * Fl_Value_Slider)
- textcolor(self, *args)
- textcolor(Fl_Value_Slider self) -> Fl_Color
textcolor(Fl_Value_Slider self, Fl_Color s)
- textfont(self, *args)
- textfont(Fl_Value_Slider self) -> Fl_Font
textfont(Fl_Value_Slider self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Value_Slider self) -> Fl_Fontsize
textsize(Fl_Value_Slider self, Fl_Fontsize s)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Value_Slider(...)
- delete_Fl_Value_Slider(Fl_Value_Slider self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Slider:
- bounds(self, *args)
- bounds(Fl_Slider self, double a, double b)
- scrollvalue(self, *args)
- scrollvalue(Fl_Slider self, int pos, int size, int first, int total) -> int
- slider(self, *args)
- slider(Fl_Slider self) -> Fl_Boxtype
slider(Fl_Slider self, Fl_Boxtype c)
- slider_size(self, *args)
- slider_size(Fl_Slider self) -> float
slider_size(Fl_Slider self, double v)
Methods inherited from Fl_Valuator:
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- format(self, *args)
- format(Fl_Valuator self, char * format_string) -> int
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Widget(builtins.object) |
|
Fl_Widget(*args)
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:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Widget self, int x, int y, int w, int h, char const * label=None) -> Fl_Widget
- __repr__ = _swig_repr(self)
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw(self, *args)
- draw(Fl_Widget self)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- handle(self, *args)
- handle(Fl_Widget self, int event) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- init_type(self, *args)
- init_type(Fl_Widget self, char * Fl_Widget)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Widget(...)
- delete_Fl_Widget(Fl_Widget self)
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
|
class Fl_Window(Fl_Group) |
|
Fl_Window(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Window self, int w, int h, char const * title=None) -> Fl_Window
__init__(Fl_Window self, int x, int y, int w, int h, char const * title=None) -> Fl_Window
- __repr__ = _swig_repr(self)
- as_window(self, *args)
- as_window(Fl_Window self) -> Fl_Window
- border(self, *args)
- border(Fl_Window self, int b)
border(Fl_Window self) -> unsigned int
- clear_border(self, *args)
- clear_border(Fl_Window self)
- clear_modal_states(self, *args)
- clear_modal_states(Fl_Window self)
- copy_label(self, *args)
- copy_label(Fl_Window self, char const * a)
- cursor(self, *args)
- cursor(Fl_Window self, Fl_Cursor arg2)
cursor(Fl_Window self, Fl_RGB_Image arg2, int arg3, int arg4)
cursor(Fl_Window self, Fl_Cursor c, Fl_Color arg3, Fl_Color arg4=)
- decorated_h(self, *args)
- decorated_h(Fl_Window self) -> int
- decorated_w(self, *args)
- decorated_w(Fl_Window self) -> int
- default_cursor(self, *args)
- default_cursor(Fl_Window self, Fl_Cursor arg2)
default_cursor(Fl_Window self, Fl_Cursor c, Fl_Color arg3, Fl_Color arg4=)
- draw(self, *args)
- draw(Fl_Window self)
- flush(self, *args)
- flush(Fl_Window self)
- free_position(self, *args)
- free_position(Fl_Window self)
- fullscreen(self, *args)
- fullscreen(Fl_Window self)
- fullscreen_active(self, *args)
- fullscreen_active(Fl_Window self) -> unsigned int
- fullscreen_off(self, *args)
- fullscreen_off(Fl_Window self)
fullscreen_off(Fl_Window self, int X, int Y, int W, int H)
- fullscreen_screens(self, *args)
- fullscreen_screens(Fl_Window self, int top, int bottom, int left, int right)
- handle(self, *args)
- handle(Fl_Window self, int arg0) -> int
- hide(self, *args)
- hide(Fl_Window self)
- hotspot(self, *args)
- hotspot(Fl_Window self, int x, int y, int offscreen=0)
hotspot(Fl_Window self, Fl_Widget arg2, int offscreen=0)
- icon(self, *args)
- icon(Fl_Window self, Fl_RGB_Image arg2)
icon(Fl_Window self) -> void const
icon(Fl_Window self, void const * ic)
- iconize(self, *args)
- iconize(Fl_Window self)
- iconlabel(self, *args)
- iconlabel(Fl_Window self) -> char const
iconlabel(Fl_Window self, char const * arg2)
- icons(self, *args)
- icons(Fl_Window self, Fl_RGB_Image const *[] arg2, int arg3)
- init_type(self, *args)
- init_type(Fl_Window self, char * Fl_Window)
- label(self, *args)
- label(Fl_Window self) -> char const
label(Fl_Window self, char const * arg2)
label(Fl_Window self, char const * label, char const * iconlabel)
- make_current(self, *args)
- make_current(Fl_Window self)
- menu_window(self, *args)
- menu_window(Fl_Window self) -> unsigned int
- modal(self, *args)
- modal(Fl_Window self) -> unsigned int
- non_modal(self, *args)
- non_modal(Fl_Window self) -> unsigned int
- override(self, *args)
- override(Fl_Window self) -> unsigned int
- resize(self, *args)
- resize(Fl_Window self, int X, int Y, int W, int H)
- set_menu_window(self, *args)
- set_menu_window(Fl_Window self)
- set_modal(self, *args)
- set_modal(Fl_Window self)
- set_non_modal(self, *args)
- set_non_modal(Fl_Window self)
- set_override(self, *args)
- set_override(Fl_Window self)
- set_tooltip_window(self, *args)
- set_tooltip_window(Fl_Window self)
- shape(self, *args)
- shape(Fl_Window self, Fl_Image img)
shape(Fl_Window self, Fl_Image b)
- show(self, *args)
- show(Fl_Window self, PyObject * count=None, PyObject * data=None)
- shown(self, *args)
- shown(Fl_Window self) -> int
- size_range(self, *args)
- size_range(Fl_Window self, int minw, int minh, int maxw=0, int maxh=0, int dw=0, int dh=0, int aspect=0)
- tooltip_window(self, *args)
- tooltip_window(Fl_Window self) -> unsigned int
- wait_for_expose(self, *args)
- wait_for_expose(Fl_Window self)
- x_root(self, *args)
- x_root(Fl_Window self) -> int
- xclass(self, *args)
- xclass(Fl_Window self) -> char const
xclass(Fl_Window self, char const * c)
- y_root(self, *args)
- y_root(Fl_Window self) -> int
Static methods defined here:
- __swig_destroy__ = delete_Fl_Window(...)
- delete_Fl_Window(Fl_Window self)
- current(*args)
- current() -> Fl_Window
- default_callback(*args)
- default_callback(Fl_Window arg1, void * v)
- default_icon(*args)
- default_icon(Fl_RGB_Image arg1)
- default_icons(*args)
- default_icons(Fl_RGB_Image const *[] arg1, int arg2)
- default_xclass(*args)
- default_xclass(char const * arg1)
default_xclass() -> char const *
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_Wizard(Fl_Group) |
|
Fl_Wizard(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_Wizard self, int arg2, int arg3, int arg4, int arg5, char const * arg6=None) -> Fl_Wizard
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Fl_Wizard self)
- init_type(self, *args)
- init_type(Fl_Wizard self, char * Fl_Wizard)
- next(self, *args)
- next(Fl_Wizard self)
- prev(self, *args)
- prev(Fl_Wizard self)
- value(self, *args)
- value(Fl_Wizard self) -> Fl_Widget
value(Fl_Wizard self, Fl_Widget arg2)
Static methods defined here:
- __swig_destroy__ = delete_Fl_Wizard(...)
- delete_Fl_Wizard(Fl_Wizard self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- handle(self, *args)
- handle(Fl_Group self, int arg0) -> int
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
- resize(self, *args)
- resize(Fl_Group self, int arg0, int arg1, int arg2, int arg3)
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_X(builtins.object) |
|
Fl_X(*args)
Proxy of C++ Fl_X class. |
|
Methods defined here:
- __init__(self, *args)
- __init__(Fl_X self) -> Fl_X
- __repr__ = _swig_repr(self)
- flush(self, *args)
- flush(Fl_X self)
- sendxjunk(self, *args)
- sendxjunk(Fl_X self)
- set_cursor(self, *args)
- set_cursor(Fl_X self, Fl_Cursor arg2) -> int
set_cursor(Fl_X self, Fl_RGB_Image arg2, int arg3, int arg4) -> int
- set_icons(self, *args)
- set_icons(Fl_X self)
- setwindow(self, *args)
- setwindow(Fl_X self, Fl_Window wi)
Static methods defined here:
- __swig_destroy__ = delete_Fl_X(...)
- delete_Fl_X(Fl_X self)
- activate_window(*args)
- activate_window(Window w)
- ewmh_supported(*args)
- ewmh_supported() -> int
- i(*args)
- i(Fl_Window wi) -> Fl_X
- make_xid(*args)
- make_xid(Fl_Window arg1, XVisualInfo * arg2=, Colormap arg3=)
- set_default_icons(*args)
- set_default_icons(Fl_RGB_Image const *[] arg1, int arg2)
- set_xid(*args)
- set_xid(Fl_Window arg1, Window arg2) -> Fl_X
- x(*args)
- x(Fl_Window wi, int X)
- xrender_supported(*args)
- xrender_supported() -> int
- y(*args)
- y(Fl_Window wi, int Y)
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
- thisown
- The membership flag
|
class Fl_XBM_Image(Fl_Bitmap) |
|
Fl_XBM_Image(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_XBM_Image self, char const * filename) -> Fl_XBM_Image
- __repr__ = _swig_repr(self)
Static methods defined here:
- __swig_destroy__ = delete_Fl_XBM_Image(...)
- delete_Fl_XBM_Image(Fl_XBM_Image self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Bitmap:
- copy(self, *args)
- copy(Fl_Bitmap self, int W, int H) -> Fl_Image
copy(Fl_Bitmap self) -> Fl_Image
- draw(self, *args)
- draw(Fl_Bitmap self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(Fl_Bitmap self, int X, int Y)
- label(self, *args)
- label(Fl_Bitmap self, Fl_Widget w)
label(Fl_Bitmap self, Fl_Menu_Item m)
- uncache(self, *args)
- uncache(Fl_Bitmap self)
Methods inherited from Fl_Image:
- color_average(self, *args)
- color_average(Fl_Image self, Fl_Color c, float i)
- count(self, *args)
- count(Fl_Image self) -> int
- d(self, *args)
- d(Fl_Image self) -> int
- data(self, *args)
- data(Fl_Image self) -> char const *const *
- desaturate(self, *args)
- desaturate(Fl_Image self)
- fail(self, *args)
- fail(Fl_Image self) -> int
- h(self, *args)
- h(Fl_Image self) -> int
- inactive(self, *args)
- inactive(Fl_Image self)
- ld(self, *args)
- ld(Fl_Image self) -> int
- w(self, *args)
- w(Fl_Image self) -> int
Static methods inherited from Fl_Image:
- RGB_scaling(*args)
- RGB_scaling(Fl_RGB_Scaling arg1)
RGB_scaling() -> Fl_RGB_Scaling
Data descriptors inherited from Fl_Image:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Fl_XPM_Image(Fl_Pixmap) |
|
Fl_XPM_Image(*args)
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
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Fl_XPM_Image self, char const * filename) -> Fl_XPM_Image
- __repr__ = _swig_repr(self)
Static methods defined here:
- __swig_destroy__ = delete_Fl_XPM_Image(...)
- delete_Fl_XPM_Image(Fl_XPM_Image self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Pixmap:
- color_average(self, *args)
- color_average(Fl_Pixmap self, Fl_Color c, float i)
- copy(self, *args)
- copy(Fl_Pixmap self, int W, int H) -> Fl_Image
copy(Fl_Pixmap self) -> Fl_Image
- desaturate(self, *args)
- desaturate(Fl_Pixmap self)
- draw(self, *args)
- draw(Fl_Pixmap self, int X, int Y, int W, int H, int cx=0, int cy=0)
draw(Fl_Pixmap self, int X, int Y)
- label(self, *args)
- label(Fl_Pixmap self, Fl_Widget w)
label(Fl_Pixmap self, Fl_Menu_Item m)
- uncache(self, *args)
- uncache(Fl_Pixmap self)
Methods inherited from Fl_Image:
- count(self, *args)
- count(Fl_Image self) -> int
- d(self, *args)
- d(Fl_Image self) -> int
- data(self, *args)
- data(Fl_Image self) -> char const *const *
- fail(self, *args)
- fail(Fl_Image self) -> int
- h(self, *args)
- h(Fl_Image self) -> int
- inactive(self, *args)
- inactive(Fl_Image self)
- ld(self, *args)
- ld(Fl_Image self) -> int
- w(self, *args)
- w(Fl_Image self) -> int
Static methods inherited from Fl_Image:
- RGB_scaling(*args)
- RGB_scaling(Fl_RGB_Scaling arg1)
RGB_scaling() -> Fl_RGB_Scaling
Data descriptors inherited from Fl_Image:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Flcc_HueBox(Fl_Widget) |
|
Flcc_HueBox(*args)
Proxy of C++ Flcc_HueBox class. |
|
- Method resolution order:
- Flcc_HueBox
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Flcc_HueBox self, int X, int Y, int W, int H) -> Flcc_HueBox
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Flcc_HueBox self)
- handle(self, *args)
- handle(Flcc_HueBox self, int arg0) -> int
- init_type(self, *args)
- init_type(Flcc_HueBox self, char * Flcc_HueBox)
Static methods defined here:
- __swig_destroy__ = delete_Flcc_HueBox(...)
- delete_Flcc_HueBox(Flcc_HueBox self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Flcc_ValueBox(Fl_Widget) |
|
Flcc_ValueBox(*args)
Proxy of C++ Flcc_ValueBox class. |
|
- Method resolution order:
- Flcc_ValueBox
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Flcc_ValueBox self, int X, int Y, int W, int H) -> Flcc_ValueBox
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Flcc_ValueBox self)
- handle(self, *args)
- handle(Flcc_ValueBox self, int arg0) -> int
- init_type(self, *args)
- init_type(Flcc_ValueBox self, char * Flcc_ValueBox)
Static methods defined here:
- __swig_destroy__ = delete_Flcc_ValueBox(...)
- delete_Flcc_ValueBox(Flcc_ValueBox self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- resize(self, *args)
- resize(Fl_Widget self, int x, int y, int w, int h)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class Flcc_Value_Input(Fl_Value_Input) |
|
Flcc_Value_Input(*args)
Proxy of C++ Flcc_Value_Input class. |
|
- Method resolution order:
- Flcc_Value_Input
- Fl_Value_Input
- Fl_Valuator
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(Flcc_Value_Input self, int X, int Y, int W, int H) -> Flcc_Value_Input
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(Flcc_Value_Input self)
- format(self, *args)
- format(Flcc_Value_Input self, char * arg0) -> int
- init_type(self, *args)
- init_type(Flcc_Value_Input self, char * Flcc_Value_Input)
Static methods defined here:
- __swig_destroy__ = delete_Flcc_Value_Input(...)
- delete_Flcc_Value_Input(Flcc_Value_Input self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Value_Input:
- cursor_color(self, *args)
- cursor_color(Fl_Value_Input self) -> Fl_Color
cursor_color(Fl_Value_Input self, Fl_Color n)
- handle(self, *args)
- handle(Fl_Value_Input self, int arg0) -> int
- resize(self, *args)
- resize(Fl_Value_Input self, int arg0, int arg1, int arg2, int arg3)
- shortcut(self, *args)
- shortcut(Fl_Value_Input self) -> int
shortcut(Fl_Value_Input self, int s)
- soft(self, *args)
- soft(Fl_Value_Input self, char s)
soft(Fl_Value_Input self) -> char
- textcolor(self, *args)
- textcolor(Fl_Value_Input self) -> Fl_Color
textcolor(Fl_Value_Input self, Fl_Color n)
- textfont(self, *args)
- textfont(Fl_Value_Input self) -> Fl_Font
textfont(Fl_Value_Input self, Fl_Font s)
- textsize(self, *args)
- textsize(Fl_Value_Input self) -> Fl_Fontsize
textsize(Fl_Value_Input self, Fl_Fontsize s)
Methods inherited from Fl_Valuator:
- bounds(self, *args)
- bounds(Fl_Valuator self, double a, double b)
- clamp(self, *args)
- clamp(Fl_Valuator self, double arg2) -> double
- increment(self, *args)
- increment(Fl_Valuator self, double arg2, int arg3) -> double
- maximum(self, *args)
- maximum(Fl_Valuator self) -> double
maximum(Fl_Valuator self, double a)
- minimum(self, *args)
- minimum(Fl_Valuator self) -> double
minimum(Fl_Valuator self, double a)
- precision(self, *args)
- precision(Fl_Valuator self, int arg2)
- range(self, *args)
- range(Fl_Valuator self, double a, double b)
- round(self, *args)
- round(Fl_Valuator self, double arg2) -> double
- step(self, *args)
- step(Fl_Valuator self, int a)
step(Fl_Valuator self, double a, int b)
step(Fl_Valuator self, double s)
step(Fl_Valuator self) -> double
- value(self, *args)
- value(Fl_Valuator self) -> double
value(Fl_Valuator self, double arg2) -> int
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_group(self, *args)
- as_group(Fl_Widget self) -> Fl_Group
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
class ListSelect(Fl_Group) |
|
ListSelect(*args)
Proxy of C++ ListSelect class. |
|
- Method resolution order:
- ListSelect
- Fl_Group
- Fl_Widget
- builtins.object
Methods defined here:
- __disown__(self)
- __init__(self, *args)
- __init__(ListSelect self, int x, int y, int w, int h, char * topLabel=None, char * bottomLabel=None) -> ListSelect
- __repr__ = _swig_repr(self)
- draw(self, *args)
- draw(ListSelect self)
- getBottomBrowser(self, *args)
- getBottomBrowser(ListSelect self) -> Fl_Multi_Browser
- getTopBrowser(self, *args)
- getTopBrowser(ListSelect self) -> Fl_Multi_Browser
- init_type(self, *args)
- init_type(ListSelect self, char * ListSelect)
- resize(self, *args)
- resize(ListSelect self, int x, int y, int w, int h)
Static methods defined here:
- __swig_destroy__ = delete_ListSelect(...)
- delete_ListSelect(ListSelect self)
Data descriptors defined here:
- thisown
- The membership flag
Methods inherited from Fl_Group:
- add(self, *args)
- add(Fl_Group self, Fl_Widget o)
- add_resizable(self, *args)
- add_resizable(Fl_Group self, Fl_Widget o)
- as_group(self, *args)
- as_group(Fl_Group self) -> Fl_Group
- begin(self, *args)
- begin(Fl_Group self)
- child(self, *args)
- child(Fl_Group self, int n) -> Fl_Widget
- children(self, *args)
- children(Fl_Group self) -> int
- clear(self, *args)
- clear(Fl_Group self)
- clip_children(self, *args)
- clip_children(Fl_Group self, int c)
clip_children(Fl_Group self) -> unsigned int
- end(self, *args)
- end(Fl_Group self)
- find(self, *args)
- find(Fl_Group self, Fl_Widget o) -> int
- focus(self, *args)
- focus(Fl_Group self, Fl_Widget W)
- forms_end(self, *args)
- forms_end(Fl_Group self)
- handle(self, *args)
- handle(Fl_Group self, int arg0) -> int
- init_sizes(self, *args)
- init_sizes(Fl_Group self)
- insert(self, *args)
- insert(Fl_Group self, Fl_Widget arg2, int i)
- insert_before(self, *args)
- insert_before(Fl_Group self, Fl_Widget o, Fl_Widget before)
- remove(self, *args)
- remove(Fl_Group self, int index)
remove(Fl_Group self, Fl_Widget o)
- resizable(self, *args)
- resizable(Fl_Group self, Fl_Widget o)
resizable(Fl_Group self) -> Fl_Widget
Static methods inherited from Fl_Group:
- current(*args)
- current() -> Fl_Group
current(Fl_Group g)
Methods inherited from Fl_Widget:
- activate(self, *args)
- activate(Fl_Widget self)
- active(self, *args)
- active(Fl_Widget self) -> unsigned int
- active_r(self, *args)
- active_r(Fl_Widget self) -> int
- align(self, *args)
- align(Fl_Widget self) -> Fl_Align
align(Fl_Widget self, Fl_Align alignment)
- argument(self, *args)
- argument(Fl_Widget self) -> long
argument(Fl_Widget self, long v)
- as_gl_window(self, *args)
- as_gl_window(Fl_Widget self) -> Fl_Gl_Window
- as_window(self, *args)
- as_window(Fl_Widget self) -> Fl_Window
- box(self, *args)
- box(Fl_Widget self) -> Fl_Boxtype
box(Fl_Widget self, Fl_Boxtype new_box)
- callback = __Fl_WidgetCallback(self, *args)
- # override the implementation of Fl_Widget.callback
# new version to be used with directors
- changed(self, *args)
- changed(Fl_Widget self) -> unsigned int
- clear_active(self, *args)
- clear_active(Fl_Widget self)
- clear_changed(self, *args)
- clear_changed(Fl_Widget self)
- clear_damage(self, *args)
- clear_damage(Fl_Widget self, uchar c=0)
- clear_output(self, *args)
- clear_output(Fl_Widget self)
- clear_visible(self, *args)
- clear_visible(Fl_Widget self)
- clear_visible_focus(self, *args)
- clear_visible_focus(Fl_Widget self)
- color(self, *args)
- color(Fl_Widget self) -> Fl_Color
color(Fl_Widget self, Fl_Color bg)
color(Fl_Widget self, Fl_Color bg, Fl_Color sel)
- color2(self, *args)
- color2(Fl_Widget self) -> Fl_Color
color2(Fl_Widget self, unsigned int a)
- contains(self, *args)
- contains(Fl_Widget self, Fl_Widget w) -> int
- copy_label(self, *args)
- copy_label(Fl_Widget self, char const * new_label)
- copy_tooltip(self, *args)
- copy_tooltip(Fl_Widget self, char const * text)
- damage(self, *args)
- damage(Fl_Widget self) -> uchar
damage(Fl_Widget self, uchar c)
damage(Fl_Widget self, uchar c, int x, int y, int w, int h)
- damage_resize(self, *args)
- damage_resize(Fl_Widget self, int arg2, int arg3, int arg4, int arg5) -> int
- deactivate(self, *args)
- deactivate(Fl_Widget self)
- deimage(self, *args)
- deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self) -> Fl_Image
deimage(Fl_Widget self, Fl_Image img)
- do_callback(self, *args)
- do_callback(Fl_Widget self)
do_callback(Fl_Widget self, Fl_Widget o, long arg)
do_callback(Fl_Widget self, Fl_Widget o, void * arg=None)
- draw_backdrop(self, *args)
- draw_backdrop(Fl_Widget self)
- draw_label(self, *args)
- draw_label(Fl_Widget self, int arg2, int arg3, int arg4, int arg5, Fl_Align arg6)
draw_label(Fl_Widget self)
- h(self, *args)
- h(Fl_Widget self) -> int
- hide(self, *args)
- hide(Fl_Widget self)
- image(self, *args)
- image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self) -> Fl_Image
image(Fl_Widget self, Fl_Image img)
- inside(self, *args)
- inside(Fl_Widget self, Fl_Widget wgt) -> int
- is_label_copied(self, *args)
- is_label_copied(Fl_Widget self) -> int
- label(self, *args)
- label(Fl_Widget self) -> char const
label(Fl_Widget self, char const * text)
label(Fl_Widget self, Fl_Labeltype a, char const * b)
- labelcolor(self, *args)
- labelcolor(Fl_Widget self) -> Fl_Color
labelcolor(Fl_Widget self, Fl_Color c)
- labelfont(self, *args)
- labelfont(Fl_Widget self) -> Fl_Font
labelfont(Fl_Widget self, Fl_Font f)
- labelsize(self, *args)
- labelsize(Fl_Widget self) -> Fl_Fontsize
labelsize(Fl_Widget self, Fl_Fontsize pix)
- labeltype(self, *args)
- labeltype(Fl_Widget self) -> Fl_Labeltype
labeltype(Fl_Widget self, Fl_Labeltype a)
- measure_label(self, *args)
- measure_label(Fl_Widget self, int & ww, int & hh)
- output(self, *args)
- output(Fl_Widget self) -> unsigned int
- parent(self, *args)
- parent(Fl_Widget self) -> Fl_Group
parent(Fl_Widget self, Fl_Group p)
- position(self, *args)
- position(Fl_Widget self, int X, int Y)
- redraw(self, *args)
- redraw(Fl_Widget self)
- redraw_label(self, *args)
- redraw_label(Fl_Widget self)
- selection_color(self, *args)
- selection_color(Fl_Widget self) -> Fl_Color
selection_color(Fl_Widget self, Fl_Color a)
- set_active(self, *args)
- set_active(Fl_Widget self)
- set_changed(self, *args)
- set_changed(Fl_Widget self)
- set_output(self, *args)
- set_output(Fl_Widget self)
- set_visible(self, *args)
- set_visible(Fl_Widget self)
- set_visible_focus(self, *args)
- set_visible_focus(Fl_Widget self)
- show(self, *args)
- show(Fl_Widget self)
- size(self, *args)
- size(Fl_Widget self, int W, int H)
- take_focus(self, *args)
- take_focus(Fl_Widget self) -> int
- takesevents(self, *args)
- takesevents(Fl_Widget self) -> unsigned int
- tooltip(self, *args)
- tooltip(Fl_Widget self) -> char const
tooltip(Fl_Widget self, char const * text)
- top_window(self, *args)
- top_window(Fl_Widget self) -> Fl_Window
- top_window_offset(self, *args)
- top_window_offset(Fl_Widget self, int & xoff, int & yoff) -> Fl_Window
- type(self, *args)
- type(Fl_Widget self) -> uchar
type(Fl_Widget self, uchar t)
- use_accents_menu(self, *args)
- use_accents_menu(Fl_Widget self) -> int
- user_data(self, *args)
- user_data(Fl_Widget self, PyObject * PyData)
user_data(Fl_Widget self) -> PyObject *
- visible(self, *args)
- visible(Fl_Widget self) -> unsigned int
- visible_focus(self, *args)
- visible_focus(Fl_Widget self, int v)
visible_focus(Fl_Widget self) -> unsigned int
- visible_r(self, *args)
- visible_r(Fl_Widget self) -> int
- w(self, *args)
- w(Fl_Widget self) -> int
- when(self, *args)
- when(Fl_Widget self) -> Fl_When
when(Fl_Widget self, uchar i)
- window(self, *args)
- window(Fl_Widget self) -> Fl_Window
- x(self, *args)
- x(Fl_Widget self) -> int
- y(self, *args)
- y(Fl_Widget self) -> int
Static methods inherited from Fl_Widget:
- default_callback(*args)
- default_callback(Fl_Widget cb, void * d)
- label_shortcut(*args)
- label_shortcut(char const * t) -> unsigned int
- test_shortcut(*args)
- test_shortcut() -> int
test_shortcut(char const * arg1, bool const require_alt=False) -> int
Data descriptors inherited from Fl_Widget:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|
|