PyWebIO v1.8.1 Documentationcontrol to the location of content output. The output scope is a container of output content. You can create a scope in somewhere and append content to it. Each output function (function name like put_xxx()) You can create new scope in a scope. For example, the following code will create 3 scopes: The above code will generate the following scope layout: with use_scope('scope2'): put_text('create scope2') sub-item of a output (like, set a cell in table as a container)? Yes, you can use put_scope() to create a scope explicitly. The function name starts with put_, which means it can be pass to the functions0 码力 | 160 页 | 7.47 MB | 1 年前3
PyWebIO v1.8.2 Documentationcontrol to the location of content output. The output scope is a container of output content. You can create a scope in somewhere and append content to it. Each output function (function name like put_xxx()) You can create new scope in a scope. For example, the following code will create 3 scopes: The above code will generate the following scope layout: with use_scope('scope2'): put_text('create scope2') sub-item of a output (like, set a cell in table as a container)? Yes, you can use put_scope() to create a scope explicitly. The function name starts with put_, which means it can be pass to the functions0 码力 | 160 页 | 7.47 MB | 1 年前3
PyWebIO v1.8.0 Documentationcontrol to the location of content output. The output scope is a container of output content. You can create a scope in somewhere and append content to it. Each output function (function name like put_xxx()) You can create new scope in a scope. For example, the following code will create 3 scopes: The above code will generate the following scope layout: with use_scope('scope2'): put_text('create scope2') sub-item of a output (like, set a cell in table as a container)? Yes, you can use put_scope() to create a scope explicitly. The function name starts with put_, which means it can be pass to the functions0 码力 | 159 页 | 7.47 MB | 1 年前3
PyWebIO v1.8.0 Documentationcontrol to the location of content output. The output scope is a container of output content. You can create a scope in somewhere and append content to it. Each output function (function name like put_xxx()) use_scope() to clear the existing content before entering the scope: with use_scope('scope2'): put_text('create scope2') put_text('text in parent scope of scope2') with use_scope('scope2', clear=True): # enter beginning, PyWebIO applications have only one ROOT scope. You can create new scope in a scope. For example, the following code will create 3 scopes: with use_scope('A'): put_text('Text in scope A') with0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.8.2 Documentationcontrol to the location of content output. The output scope is a container of output content. You can create a scope in somewhere and append content to it. Each output function (function name like put_xxx()) use_scope() to clear the existing content before entering the scope: with use_scope('scope2'): put_text('create scope2') put_text('text in parent scope of scope2') with use_scope('scope2', clear=True): # enter beginning, PyWebIO applications have only one ROOT scope. You can create new scope in a scope. For example, the following code will create 3 scopes: with use_scope('A'): put_text('Text in scope A') with0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.8.1 Documentationcontrol to the location of content output. The output scope is a container of output content. You can create a scope in somewhere and append content to it. Each output function (function name like put_xxx()) use_scope() to clear the existing content before entering the scope: with use_scope('scope2'): put_text('create scope2') put_text('text in parent scope of scope2') with use_scope('scope2', clear=True): # enter beginning, PyWebIO applications have only one ROOT scope. You can create new scope in a scope. For example, the following code will create 3 scopes: with use_scope('A'): put_text('Text in scope A') with0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.8.2 使用手册│ └─────────────────────┘ │ │ │ with use_scope('scope2'): put_text('create scope2') put_text('text in parent scope of scope2') with use_scope('scope2', clear=True): # enter List[Union[Dict[str, Any], Tuple[str, Any], List, str]], onclick: Union[Callable[[Any], None], Sequence[Callable[], None]]], small: Optional[bool] = None, link_style: bool = False, outline: bool = False 在 1.5 版更改: remove horizon_scroll parameter pywebio.output.put_datatable(records: Sequence[Mapping], actions: Sequence[Tuple[str, Callable[[Union[str, int, List[Union[str, int]]]], None]]] = None, onselect:0 码力 | 160 页 | 7.48 MB | 1 年前3
PyWebIO v1.8.1 使用手册│ └─────────────────────┘ │ │ │ with use_scope('scope2'): put_text('create scope2') put_text('text in parent scope of scope2') with use_scope('scope2', clear=True): # enter List[Union[Dict[str, Any], Tuple[str, Any], List, str]], onclick: Union[Callable[[Any], None], Sequence[Callable[], None]]], small: Optional[bool] = None, link_style: bool = False, outline: bool = False 在 1.5 版更改: remove horizon_scroll parameter pywebio.output.put_datatable(records: Sequence[Mapping], actions: Sequence[Tuple[str, Callable[[Union[str, int, List[Union[str, int]]]], None]]] = None, onselect:0 码力 | 158 页 | 7.48 MB | 1 年前3
PyWebIO v1.8.0 使用手册│ └─────────────────────┘ │ │ │ with use_scope('scope2'): put_text('create scope2') put_text('text in parent scope of scope2') with use_scope('scope2', clear=True): # enter List[Union[Dict[str, Any], Tuple[str, Any], List, str]], onclick: Union[Callable[[Any], None], Sequence[Callable[], None]]], small: Optional[bool] = None, link_style: bool = False, outline: bool = False 在 1.5 版更改: remove horizon_scroll parameter pywebio.output.put_datatable(records: Sequence[Mapping], actions: Sequence[Tuple[str, Callable[[Union[str, int, List[Union[str, int]]]], None]]] = None, onselect:0 码力 | 157 页 | 7.48 MB | 1 年前3
PyWebIO v1.8.2 使用手册│ └─────────────────────┘ │ │ │ with use_scope('scope2'): put_text('create scope2') put_text('text in parent scope of scope2') with use_scope('scope2', clear=True): # enter List[Union[Dict[str, Any], Tuple[str, Any], List, str]], onclick: Union[Callable[[Any], None], Sequence[Callable[], None]]], small: Optional[bool] = None, link_style: bool = False, outline: bool = False 在 1.5 版更改: remove horizon_scroll parameter pywebio.output.put_datatable(records: Sequence[Mapping], actions: Sequence[Tuple[str, Callable[[Union[str, int, List[Union[str, int]]]], None]]] = None, onselect:0 码力 | 158 页 | 7.48 MB | 1 年前3
共 84 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













