ironflow.gui.canvas_widgets.layouts module
A collection of layouts for various canvas widgets, i.e. pure representation zero logic.
- class ironflow.gui.canvas_widgets.layouts.ButtonLayout(width: 'int' = 60, height: 'int' = 20, background_color: 'str' = 'darkgray', font_size: 'int' = 16, font_color: 'str' = 'black', selected_color: 'str' = 'green', font: 'str' = 'serif', pressed_color: 'str' = 'dimgray')[source]
Bases:
Layout- background_color: str = 'darkgray'
- font_size: int = 16
- height: int = 20
- pressed_color: str = 'dimgray'
- width: int = 60
- class ironflow.gui.canvas_widgets.layouts.DataPortLayout(width: 'int' = 20, height: 'int' = 20, background_color: 'str' = 'lightgreen', font_size: 'int' = 18, font_color: 'str' = 'black', selected_color: 'str' = 'darkgreen', font: 'str' = 'serif')[source]
Bases:
PortLayout- background_color: str = 'lightgreen'
- selected_color: str = 'darkgreen'
- class ironflow.gui.canvas_widgets.layouts.ExecPortLayout(width: 'int' = 20, height: 'int' = 20, background_color: 'str' = 'lightblue', font_size: 'int' = 18, font_color: 'str' = 'black', selected_color: 'str' = 'darkblue', font: 'str' = 'serif')[source]
Bases:
PortLayout- background_color: str = 'lightblue'
- selected_color: str = 'darkblue'
- class ironflow.gui.canvas_widgets.layouts.Layout(width: 'int', height: 'int', background_color: 'str' = 'gray', font_size: 'int' = 18, font_color: 'str' = 'black', selected_color: 'str' = 'green', font: 'str' = 'serif')[source]
Bases:
ABC- background_color: str = 'gray'
- font: str = 'serif'
- font_color: str = 'black'
- font_size: int = 18
- property font_string
- height: int
- selected_color: str = 'green'
- width: int
- class ironflow.gui.canvas_widgets.layouts.NodeLayout(width: 'int' = 200, height: 'int' = 100, background_color: 'str' = 'gray', font_size: 'int' = 22, font_color: 'str' = 'black', selected_color: 'str' = 'green', font: 'str' = 'serif', title_box_height: 'int' = 30, updating_color: 'str' = 'red')[source]
Bases:
Layout- font_size: int = 22
- height: int = 100
- title_box_height: int = 30
- updating_color: str = 'red'
- width: int = 200