PyWebIO v1.8.0 Documentation
put_column() : Use column layout to output content. The content is arranged vertically • put_grid() : Output content using grid layout Here is an example by combining put_row() and put_column(): put_row([ put_column([ row layout to output content put_column*† Use column layout to output content put_grid* Output content using grid layout span Cross-cell content style* Customize the css style of output content 32 pywebio.io_ctrl.Output], row: int = 1, col: int = 1) Create cross-cell content in put_table() and put_grid() Parameters • content – cell content. It can be a string or put_xxx() call. • row (int) – Vertical0 码力 | 118 页 | 1.40 MB | 1 年前3PyWebIO v1.8.2 Documentation
put_column() : Use column layout to output content. The content is arranged vertically • put_grid() : Output content using grid layout Here is an example by combining put_row() and put_column(): put_row([ put_column([ row layout to output content put_column*† Use column layout to output content put_grid* Output content using grid layout span Cross-cell content style* Customize the css style of output content 32 pywebio.io_ctrl.Output], row: int = 1, col: int = 1) Create cross-cell content in put_table() and put_grid() Parameters • content – cell content. It can be a string or put_xxx() call. • row (int) – Vertical0 码力 | 118 页 | 1.40 MB | 1 年前3PyWebIO v1.8.1 Documentation
put_column() : Use column layout to output content. The content is arranged vertically • put_grid() : Output content using grid layout Here is an example by combining put_row() and put_column(): put_row([ put_column([ row layout to output content put_column*† Use column layout to output content put_grid* Output content using grid layout span Cross-cell content style* Customize the css style of output content 32 pywebio.io_ctrl.Output], row: int = 1, col: int = 1) Create cross-cell content in put_table() and put_grid() Parameters • content – cell content. It can be a string or put_xxx() call. • row (int) – Vertical0 码力 | 118 页 | 1.40 MB | 1 年前3PyWebIO v1.8.1 Documentation
put_column() : Use column layout to output content. The content is arranged vertically put_grid() : Output content using grid layout Here is an example by combining put_row() and put_column(): The results of row layout to output content put_column*† Use column layout to output content put_grid* Output content using grid layout span Cross-cell content style* Customize the css style of output content Output pywebio.io_ctrl.Output], row: int = 1, col: int = 1) Create cross-cell content in put_table() and put_grid() content – cell content. It can be a string or put_xxx() call. row (int) – Vertical span, that is0 码力 | 160 页 | 7.47 MB | 1 年前3PyWebIO v1.8.2 Documentation
put_column() : Use column layout to output content. The content is arranged vertically put_grid() : Output content using grid layout Here is an example by combining put_row() and put_column(): The results of row layout to output content put_column*† Use column layout to output content put_grid* Output content using grid layout span Cross-cell content style* Customize the css style of output content Output pywebio.io_ctrl.Output], row: int = 1, col: int = 1) Create cross-cell content in put_table() and put_grid() content – cell content. It can be a string or put_xxx() call. row (int) – Vertical span, that is0 码力 | 160 页 | 7.47 MB | 1 年前3PyWebIO v1.8.0 Documentation
put_column() : Use column layout to output content. The content is arranged vertically put_grid() : Output content using grid layout Here is an example by combining put_row() and put_column(): The results of row layout to output content put_column*† Use column layout to output content put_grid* Output content using grid layout span Cross-cell content style* Customize the css style of output content Output pywebio.io_ctrl.Output], row: int = 1, col: int = 1) Create cross-cell content in put_table() and put_grid() content – cell content. It can be a string or put_xxx() call. row (int) – Vertical span, that is0 码力 | 159 页 | 7.47 MB | 1 年前3PyWebIO v1.8.2 使用手册
个布局函数,通过对他们进行组合可以完成各种复杂的布局: • put_row() : 使用行布局输出内容. 内容在水平方向上排列 • put_column() : 使用列布局输出内容. 内容在竖直方向上排列 • put_grid() : 使用网格布局输出内容 通过组合 put_row() 和 put_column() 可以实现灵活布局: put_row([ put_column([ put_code('A'), close_popup 关闭正在显示的弹窗 布局与样式 put_row*† 使用行布局输出内容 put_column*† 使用列布局输出内容 put_grid* 使用网格布局输出内容 span 在put_table() 和put_grid() 中 设 置 内 容 跨单元格 style* 自定义输出内容的 css 样式 4.3.2 输出域 Scope 参见: • Use Guide: span(content: Union[str, pywebio.io_ctrl.Output], row: int = 1, col: int = 1) 用于在put_table() 和put_grid() 中设置内容跨单元格 参数 • content –单元格内容。可以为字符串或 put_xxx() 调用。 • row (int) –竖直方向跨度, 即:跨行的数目 • col (int)0 码力 | 137 页 | 1.76 MB | 1 年前3PyWebIO v1.8.2 使用手册
个布局函数,通过对他们进行组合可以完成各种复杂的布局: • put_row() : 使用行布局输出内容. 内容在水平方向上排列 • put_column() : 使用列布局输出内容. 内容在竖直方向上排列 • put_grid() : 使用网格布局输出内容 通过组合 put_row() 和 put_column() 可以实现灵活布局: put_row([ put_column([ put_code('A'), close_popup 关闭正在显示的弹窗 布局与样式 put_row*† 使用行布局输出内容 put_column*† 使用列布局输出内容 put_grid* 使用网格布局输出内容 span 在put_table() 和put_grid() 中 设 置 内 容 跨单元格 style* 自定义输出内容的 css 样式 4.3.2 输出域 Scope 参见: • Use Guide: span(content: Union[str, pywebio.io_ctrl.Output], row: int = 1, col: int = 1) 用于在put_table() 和put_grid() 中设置内容跨单元格 参数 • content –单元格内容。可以为字符串或 put_xxx() 调用。 • row (int) –竖直方向跨度, 即:跨行的数目 • col (int)0 码力 | 135 页 | 1.75 MB | 1 年前3PyWebIO v1.8.2 使用手册
个布局函数,通过对他们进行组合可以完成各种复杂的布局: • put_row() : 使用行布局输出内容. 内容在水平方向上排列 • put_column() : 使用列布局输出内容. 内容在竖直方向上排列 • put_grid() : 使用网格布局输出内容 通过组合 put_row() 和 put_column() 可以实现灵活布局: put_row([ put_column([ put_code('A'), close_popup 关闭正在显示的弹窗 布局与样式 put_row*† 使用行布局输出内容 put_column*† 使用列布局输出内容 put_grid* 使用网格布局输出内容 span 在put_table() 和put_grid() 中 设 置 内 容 跨单元格 style* 自定义输出内容的 css 样式 4.3.2 输出域 Scope 参见: • Use Guide: span(content: Union[str, pywebio.io_ctrl.Output], row: int = 1, col: int = 1) 用于在put_table() 和put_grid() 中设置内容跨单元格 参数 • content –单元格内容。可以为字符串或 put_xxx() 调用。 • row (int) –竖直方向跨度, 即:跨行的数目 • col (int)0 码力 | 137 页 | 1.76 MB | 1 年前3PyWebIO v1.8.0 使用手册
个布局函数,通过对他们进行组合可以完成各种复杂的布局: • put_row() : 使用行布局输出内容. 内容在水平方向上排列 • put_column() : 使用列布局输出内容. 内容在竖直方向上排列 • put_grid() : 使用网格布局输出内容 通过组合 put_row() 和 put_column() 可以实现灵活布局: put_row([ put_column([ put_code('A'), close_popup 关闭正在显示的弹窗 布局与样式 put_row*† 使用行布局输出内容 put_column*† 使用列布局输出内容 put_grid* 使用网格布局输出内容 span 在put_table() 和put_grid() 中 设 置 内 容 跨单元格 style* 自定义输出内容的 css 样式 4.3.2 输出域 Scope 参见: • Use Guide: span(content: Union[str, pywebio.io_ctrl.Output], row: int = 1, col: int = 1) 用于在put_table() 和put_grid() 中设置内容跨单元格 参数 • content –单元格内容。可以为字符串或 put_xxx() 调用。 • row (int) –竖直方向跨度, 即:跨行的数目 • col (int)0 码力 | 135 页 | 1.75 MB | 1 年前3
共 84 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9