PyWebIO v1.8.2 Documentationhorizontally 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 The results of the above example are as follows: put_row([ put_column([ put_code('A'), put_row([ put_code('B1'), None, # None represents the space between the output the current popup window. Layout and Style put_row*† Use row layout to output content put_column*† Use column layout to output content put_grid* Output content using grid layout span Cross-cell content0 码力 | 160 页 | 7.47 MB | 1 年前3
CakePHP Cookbook Documentation 5.x10 Upgrade phpunit.xml adjustments ->withConsecutive() has been removed data providers have to be static Tutorials & Examples Content Management Tutorial Getting CakePHP Checking our Installation CMS whose name contains multiple words should only pluralize the last word, for example, menu_links. Column names with two or more words are underscored, for example, first_name. Foreign keys in hasMany, everywhere, allowing you to have simpler schemas that don’t require additional id columns. The table and column names we used were not arbitrary. By using CakePHP’s naming conventions, we can leverage CakePHP0 码力 | 1080 页 | 939.39 KB | 1 年前3
PyWebIO v1.8.1 Documentationhorizontally 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 The results of the above example are as follows: put_row([ put_column([ put_code('A'), put_row([ put_code('B1'), None, # None represents the space between the output the current popup window. Layout and Style put_row*† Use row layout to output content put_column*† Use column layout to output content put_grid* Output content using grid layout span Cross-cell content0 码力 | 160 页 | 7.47 MB | 1 年前3
PyWebIO v1.8.0 Documentationhorizontally 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 The results of the above example are as follows: put_row([ put_column([ put_code('A'), put_row([ put_code('B1'), None, # None represents the space between the output the current popup window. Layout and Style put_row*† Use row layout to output content put_column*† Use column layout to output content put_grid* Output content using grid layout span Cross-cell content0 码力 | 159 页 | 7.47 MB | 1 年前3
CakePHP Cookbook 4.x
whose name contains multiple words should only pluralize the last word, for example, menu_links. Column names with two or more words are underscored, for example, first_name. Foreign keys in hasMany, everywhere, allowing you to have simpler schemas that don’t require additional id columns. The table and column names we used were not arbitrary. By using CakePHP’s naming conventions, we can leverage CakePHP to know that our model uses the articles table. CakePHP also uses conventions to know that the id column is our table’s primary key. Note CakePHP will dynamically create a model object for you if it cannot0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
underscored. For example users, article_categories, and user_favorite_pages respectively. Field/Column names with two or more words are underscored: first_name. Foreign keys in hasMany, belongsTo/hasOne everywhere allowing you to have simpler schemas that don’t require additional id columns. The table and column names we used were not arbitrary. By using CakePHP’s naming conventions, we can leverage CakePHP to know that our model uses the articles table. CakePHP also uses conventions to know that the id column is our table’s primary key. Note CakePHP will dynamically create a model object for you if it cannot0 码力 | 1244 页 | 1.05 MB | 1 年前3
peewee Documentation Release 1.0.0filter(Q(staff=True) | Q(superuser=True)) # get staff or superusers To perform lookups against another column in a given row, use the F object: >>> Employee.filter(salary__lt=F('desired_salary')) Check the Peewee does, however, come with a few helper functions: Database.add_column_sql() Database.rename_column_sql() Database.drop_column_sql() Honestly, your best bet is to script any migrations and use plain TextField() pub_date = DateTimeField() peewee supports a handful of field types which map to different column types in sqlite. Conversion between python and the database is handled transparently, including the0 码力 | 101 页 | 163.20 KB | 1 年前3
PyWebIO v1.8.2 使用手册模块提供了3个布局函数,通过对他们进行组合可以完成各种 复杂的布局: put_row() : 使用行布局输出内容. 内容在水平方向上排列 put_column() : 使用列布局输出内容. 内容在竖直方向上排列 put_grid() : 使用网格布局输出内容 通过组合 put_row() 和 put_column() 可以实现灵活布局: 以上代码将在浏览器上显示如下: 布局函数还支持自定义各部分的尺寸: put_row([put_image(…) put_row([put_image(…), put_image(…)], size='40% 60%') # 左右两图宽度比 2:3 put_row([ put_column([ put_code('A'), put_row([ put_code('B1'), None, # None represents the space between 输出自定义的控件 其他交互 toast 显示一条通知消息 popup*† 显示弹窗 close_popup 关闭正在显示的弹窗 布局与样式 put_row*† 使用行布局输出内容 put_column*† 使用列布局输出内容 put_grid* 使用网格布局输出内容 span 在 put_table() 和 put_grid() 中设置内容 跨单元格 style* 自定义输出内容的css样式0 码力 | 160 页 | 7.48 MB | 1 年前3
PyWebIO v1.8.2 使用手册模块提供了3个布局函数,通过对他们进行组合可以完成各种 复杂的布局: put_row() : 使用行布局输出内容. 内容在水平方向上排列 put_column() : 使用列布局输出内容. 内容在竖直方向上排列 put_grid() : 使用网格布局输出内容 通过组合 put_row() 和 put_column() 可以实现灵活布局: 以上代码将在浏览器上显示如下: 布局函数还支持自定义各部分的尺寸: put_row([put_image(…) put_row([put_image(…), put_image(…)], size='40% 60%') # 左右两图宽度比 2:3 put_row([ put_column([ put_code('A'), put_row([ put_code('B1'), None, # None represents the space between 输出自定义的控件 其他交互 toast 显示一条通知消息 popup*† 显示弹窗 close_popup 关闭正在显示的弹窗 布局与样式 put_row*† 使用行布局输出内容 put_column*† 使用列布局输出内容 put_grid* 使用网格布局输出内容 span 在 put_table() 和 put_grid() 中设置内容 跨单元格 style* 自定义输出内容的css样式0 码力 | 158 页 | 7.48 MB | 1 年前3
PyWebIO v1.8.2 使用手册模块提供了3个布局函数,通过对他们进行组合可以完成各种 复杂的布局: put_row() : 使用行布局输出内容. 内容在水平方向上排列 put_column() : 使用列布局输出内容. 内容在竖直方向上排列 put_grid() : 使用网格布局输出内容 通过组合 put_row() 和 put_column() 可以实现灵活布局: 以上代码将在浏览器上显示如下: 布局函数还支持自定义各部分的尺寸: put_row([put_image(…) put_row([put_image(…), put_image(…)], size='40% 60%') # 左右两图宽度比 2:3 put_row([ put_column([ put_code('A'), put_row([ put_code('B1'), None, # None represents the space between 输出自定义的控件 其他交互 toast 显示一条通知消息 popup*† 显示弹窗 close_popup 关闭正在显示的弹窗 布局与样式 put_row*† 使用行布局输出内容 put_column*† 使用列布局输出内容 put_grid* 使用网格布局输出内容 span 在 put_table() 和 put_grid() 中设置内容 跨单元格 style* 自定义输出内容的css样式0 码力 | 160 页 | 7.48 MB | 1 年前3
共 604 条
- 1
- 2
- 3
- 4
- 5
- 6
- 61













