亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tmpl_tutorial.html

?? Urwid is a Python library for making text console applications. It has many features including fluid
?? HTML
?? 第 1 頁 / 共 3 頁
字號:
<html><head><title>Urwid %version% Tutorial</title><style type="text/css">	h1 { text-align: center; }	h2 { margin: 40px 0 0 0; padding: 10px;  background: #6d96e8;}	h3 { margin: 0 0 3px 0; padding: 12px 6px 6px 6px; background: #efef96;}	.code { background: #dddddd; padding: 5px; margin: 7px 20px; }	.l1 { margin: 12px 0 0 0; }	.l2 { margin-left: 20px; }	.shot { padding: 5px 20px 5px 0px; float: left; }	.back { font-size:small; padding-left: 20px; }</style><body><a name="top"></a><h1>Urwid %version% Tutorial</h1><div style="text-align: center;"><a href="http://excess.org/urwid/">Urwid Home Page</a> /<a href="http://excess.org/urwid/examples.html">Example Screenshots</a> /<a href="http://excess.org/urwid/utf8examples.html">UTF-8 Screenshots</a> /Tutorial /<a href="reference.html">Reference</a></div><br><table width="100%"><tr><td width="50%" valign="top">%toc_left%</td><td width="50%" valign="top">%toc_right%</td></tr></table>{contents}<div style="background:#ffff33; padding: 5px"><h1>Urwid Tutorial Template File</h1>This file is used by <b>docgen_tutorial.py</b> to generate the tutorialdocumentation <b>tutorial.html</b>.<p></div><div style="background:#ffffaa;"><br>Items in the list that follows are parsed by docgen_tutorial.py. Each item has a tag and a name, separated by a tab character.  Items without tags are new sections.  A --- separates the left and right columns in the table of contents.<pre><b>Tag	Section or Item Name</b>{section_data}	Hello World Examplemin	Minimal Urwid Applicationtext	Text and Filler Widgetsattr	AttrWrap Widgets and Text Attributesresize	Live Resizing	Conversation Exampleedit	Edit Widgetsfrlb	Frame and ListBox Widgetslbcont	Modifying ListBox Content	Zen of ListBoxlbscr	ListBox Focus and Scrollinglbdyn	Dynamic ListBox with List Walkerlbfocus	Setting the Focus---	Combining Widgetspile	Piling Widgetscols	Dividing into Columnsgrid	GridFlow Arrangementoverlay	Overlay Widgets	Creating Custom Widgetswmod	Modifying Existing Widgetswanat	Anatomy of a Widgetwsel	Creating Selectable Widgetswcur	Widgets Displaying the Cursor{/section_data}</pre></div><p>{toc_section}<div class="l1">%snum%. %name%</div>{/toc_section}<p>{toc_item}<div class="l2"><a href="#%tag%">%snum%.%inum%. %name%</a></div>{/toc_item}<p>{section_head}<h2>%snum%. %name%</h2>{/section_head}<p>{section_body}<h3><a name="%tag%">%snum%.%inum%. %name%</a><span class="back">[<a href="#top">back to top</a>]</span></h3>%content%<br clear="left"><br>{/section_body}<br clear="left"><hr>{body[min]}This program displays the string "Hello World" in the top left cornerof the screen and waits for a keypress before exiting.<pre class="code">%example[0]%</pre><ul><li>The <a href="reference.html#curses_display.Screen">curses_display.Screen</a>class provides access to the curses library.  Its member function<a href="reference.html#Screen-run_wrapper">run_wrapper</a> initializescurses full-screen mode and then calls the "run" function passed. It willalso take care of restoring the screen when the "run" function exits.<li>A <a href="reference.html#TextCanvas">TextCanvas</a> is createdcontaining one row with the string "Hello World".<li>The canvas is passed to the <a href="reference.html#Screen-draw_screen">draw_screen</a> function alongwith a fixed screen size of 20 columns and 1 row.  If theterminal window this program is run from is larger than 20 by 1 the text will appear in the top left corner.<li>The <a href="reference.html#Screen-get_input">get_input</a> functionis then called until it returns something.  It must be called in a loopbecause by default it will time out after one second and return an empty list when there is no input.</ul>Creating canvases directly in this way is generally only done whenwriting custom widget classes.  Note that the draw_screenfunction must be passed a canvas and a screen size that matches it,for backwards compatibility.<div align="center">%result[0]%</div>{/body[min]}<br clear="left"><hr>{body[text]}This program displays the string "Hello World" in the center of the screenand waits for a keypress before exiting.<pre class="code">%example[0]%</pre><ul><li><a href="reference.html#Screen-get_cols_rows">get_cols_rows</a>is used to get the dimensions from the terminal and store them as "cols"and "rows".<li>A <a href="reference.html#Text">Text</a> widget is created containingthe string "Hello World". It is set to display with "center" alignment. Text widgets are a kind of <a href="reference.html#FlowWidget">FlowWidget</a>.Flow widgets can fill one or more rows, depending on their content and the number of columns available. Text widgets use more than one row whenthey contain newline characters or when the text must be split across rows.<li>A <a href="reference.html#Filler">Filler</a> widget is created towrap the text widget. Filler widgets are a kind of <a href="reference.html#BoxWidget">BoxWidget</a>. Box widgets have a fixednumber of columns and rows displayed. This widget will pad the "Hello World" text widget until it fills the required number of rows.<li>A canvas is created by calling the <a href="reference.html#Filler-render">render</a> function on the topmostwidget. The filler render function will call the render function of the "Hello World" text widget and combine its canvas withpadding rows to fill the terminal window.</ul>Flow widgets and box widgets are not interchangeable.  The first parameterof the render function of a box widget is a two-element tuple (columns,rows) and the first parameter of the render function of a flow widget is a one-element tuple (columns, ).  This difference makes sure that when the wrong type of widget is used,such as a box widget inside a filler widget, a ValueError exception will be thrown.<div align="center">%result[0]%</div>{/body[text]}<br clear="left"><hr>{body[attr]}This program displays the string "Hello World" in the center of the screen.It uses different attributes for the text, the space on either sideof the text and the space above and below the text.  It waits for a keypress before exiting.<pre class="code">%example[0]%</pre><ul><li>After creating the <a href="reference.html#curses_display.Screen">curses_display.Screen</a> objectand before calling <a href="reference.html#Screen-run_wrapper">run_wrapper</a>,<a href="reference.html#Screen-register_palette">register_palette</a> is calledto set up some attributes:  <ul>  <li>"banner" is black text on a light gray background, or reversed attributes  and underlined in monochrome mode  <li>"streak" is black text on a dark red background, or reversed attributes  in monochrome mode  <li>"bg" is black text on a dark blue background, or normal in  monochrome mode  </ul><li>A <a href="reference.html#Text">Text</a> widget is created containingthe string " Hello World " with attribute "banner". The attributes of textin a Text widget is set by using a (attribute, text) tuple instead of asimple text string.<li>An <a href="reference.html#AttrWrap">AttrWrap</a> widget is created towrap the text widget with attribute "streak". AttrWrap widgets will set the attribute of everything that they wrap that does not already have anattribute set. In this case the text has an attribute, so only the areasaround the text used for alignment will be have the new attribute.<li>A <a href="reference.html#Filler">Filler</a> widget is created towrap the AttrWrap widget and fill the rows above and below it.<li>A second <a href="reference.html#AttrWrap">AttrWrap</a> widget is created towrap the filler widget with attribute "bg".<li>A canvas is created by calling the <a href="reference.html#AttrWrap-render">render</a> function on the topmostwidget. </ul>AttrWrap widgets will behave like flow widgets or box widgets depending onhow they are called. The filler widget treats the first AttrWrap widget asa flow widget when calling its render function, so the AttrWrap widget calls the text widget's render function the same way. The second AttrWrap isused as the topmost widget and treated as a box widget, so it calls the filler render function in the same way.<div align="center">%result[0]%</div>{/body[attr]}<br clear="left"><hr>{body[resize]}This program displays the string "Hello World" in the center of the screen.It uses different attributes for the text, the space on either sideof the text and the space above and below the text.  When the window isresized it will repaint the screen, and it will exit when Q is pressed.<pre class="code">%example[0]%</pre>The <a href="reference.html#Screen-get_input">get_input</a> function willreturn "window resize" among keys pressed when the window is resized.  Itis a good idea to check for uppercase and lowercase letters on inputto avoid confusing users.<div class="shot">%result[0]%</div><div class="shot">%result[1]%</div><div class="shot">%result[2]%</div><div class="shot">%result[3]%</div>{/body[resize]}<br clear="left"><hr>{body[edit]}This program asks for your name then responds "Nice to meet you, (your name)."

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久色在线视频| 粉嫩欧美一区二区三区高清影视 | 欧美一区二区三区免费观看视频| 中文字幕制服丝袜一区二区三区 | 亚洲午夜精品在线| 色综合久久综合网| 夜夜精品视频一区二区| 欧美亚洲精品一区| 亚洲成a人v欧美综合天堂下载| 欧美日韩一区二区不卡| 午夜精品久久一牛影视| 日韩免费看的电影| 韩国午夜理伦三级不卡影院| 久久久久久一级片| 91在线看国产| 一区二区三区精品视频| 欧美精品乱码久久久久久按摩 | 色婷婷国产精品| 亚洲精品成人在线| 欧美一区二区三区啪啪| 国产一区二区不卡在线 | 蜜臀a∨国产成人精品| 久久亚洲捆绑美女| 色综合欧美在线| 亚洲福利一二三区| 精品国产乱码久久久久久久久 | 国产亚洲欧美在线| 97久久精品人人爽人人爽蜜臀| 亚洲综合在线观看视频| 91精品国产91热久久久做人人 | 99视频一区二区| 亚洲午夜久久久久久久久电影网| 日韩欧美一卡二卡| 99精品久久只有精品| 午夜精品国产更新| 亚洲国产精品二十页| 欧美日韩精品一区二区三区四区| 久久成人免费网| 亚洲欧美日韩精品久久久久| 日韩欧美中文一区| 99re视频这里只有精品| 蜜臀久久久99精品久久久久久| 中文字幕视频一区二区三区久| 欧美精品自拍偷拍| aaa国产一区| 麻豆成人av在线| 一区二区三区在线看| 欧美精品一区二区三区很污很色的| 91在线视频官网| 久久se精品一区二区| 一级做a爱片久久| 国产人久久人人人人爽| 欧美日韩亚洲综合| www.色综合.com| 久久99热这里只有精品| 亚洲国产视频直播| 中文字幕在线不卡视频| 久久蜜桃av一区二区天堂| 欧美区在线观看| 色偷偷88欧美精品久久久| 国产另类ts人妖一区二区| 麻豆精品在线视频| 亚洲精选在线视频| 欧美精品自拍偷拍| 97超碰欧美中文字幕| 激情综合五月婷婷| 婷婷综合五月天| 亚洲综合免费观看高清在线观看| 国产调教视频一区| 精品国产伦理网| 欧美mv日韩mv国产网站| 制服.丝袜.亚洲.另类.中文| 欧美性猛交xxxx黑人交| 99综合电影在线视频| 粉嫩av亚洲一区二区图片| 国内精品久久久久影院薰衣草| 日韩经典一区二区| 日韩avvvv在线播放| 天堂一区二区在线免费观看| 亚洲国产精品一区二区尤物区| 亚洲乱码中文字幕| 亚洲欧美怡红院| 中文字幕亚洲一区二区va在线| 国产亚洲一二三区| 亚洲国产成人在线| 国产精品麻豆久久久| 国产精品麻豆久久久| 一区在线观看视频| 亚洲色图色小说| 一区二区三区在线播| 亚洲免费成人av| 夜夜嗨av一区二区三区中文字幕| 洋洋成人永久网站入口| 亚洲国产aⅴ成人精品无吗| 亚洲国产日韩一区二区| 五月天精品一区二区三区| 日韩精品成人一区二区在线| 蜜桃视频在线观看一区二区| 精品综合免费视频观看| 国产呦萝稀缺另类资源| 国产91精品在线观看| 成人黄色小视频| 91久久精品网| 91精品福利在线一区二区三区 | 午夜精品久久久久久久久久久| 亚洲一卡二卡三卡四卡无卡久久| 亚洲一区二区三区四区不卡| 日日夜夜免费精品| 国产伦精品一区二区三区免费迷| 国产高清久久久| 一本久道久久综合中文字幕| 欧美三级视频在线观看| 日韩免费高清电影| 国产精品久久毛片a| 亚洲黄色性网站| 日韩vs国产vs欧美| 国产91高潮流白浆在线麻豆 | 欧美丰满高潮xxxx喷水动漫| 日韩你懂的在线观看| 国产欧美一区二区在线观看| 一区二区三区91| 秋霞午夜av一区二区三区| 国产99久久久久| 欧美性高清videossexo| 精品不卡在线视频| 亚洲欧美一区二区久久| 免费观看成人鲁鲁鲁鲁鲁视频| 国产成人精品三级| 色偷偷久久一区二区三区| 欧美tk—视频vk| 一区二区在线看| 韩国成人在线视频| 在线欧美日韩精品| 精品国产伦理网| 一区二区三区日韩精品| 狠狠色综合播放一区二区| 91麻豆产精品久久久久久 | 亚洲精品欧美综合四区| 精品中文av资源站在线观看| 欧美影院精品一区| 国产视频在线观看一区二区三区| 亚洲成人中文在线| 白白色亚洲国产精品| 精品美女一区二区三区| 亚洲国产综合人成综合网站| 顶级嫩模精品视频在线看| 欧美一级视频精品观看| 一区二区三区在线视频播放| 精品一区二区三区在线观看| 欧美日韩国产美| 中文字幕亚洲欧美在线不卡| 国产一区在线观看麻豆| 欧美日韩一区二区欧美激情 | 中文字幕在线一区免费| 美美哒免费高清在线观看视频一区二区| gogogo免费视频观看亚洲一| www一区二区| 亚洲高清久久久| 91丨porny丨户外露出| 国产午夜精品久久| 精品制服美女久久| 日韩一区二区三区三四区视频在线观看| 综合久久久久久| 成人在线综合网| 久久婷婷综合激情| 狠狠v欧美v日韩v亚洲ⅴ| 日韩一区二区在线观看| 视频一区二区三区中文字幕| 欧美在线不卡一区| 一区二区三区加勒比av| 色婷婷综合久久久久中文一区二区| 国产欧美一区二区在线| 国产自产视频一区二区三区| 91麻豆精品国产91久久久使用方法| 亚洲一区成人在线| 欧美少妇性性性| 亚洲成人www| 欧美日韩性生活| 天天综合网天天综合色| 欧美丰满美乳xxx高潮www| 日韩高清中文字幕一区| 7777精品伊人久久久大香线蕉的 | 九一久久久久久| 欧美一级片免费看| 青娱乐精品视频在线| 91精品国产一区二区三区蜜臀 | 国产欧美精品区一区二区三区 | 日韩三区在线观看| 蜜桃视频免费观看一区| 欧美成人性战久久| 国产精品一卡二卡| 最新高清无码专区| 在线免费观看不卡av| 午夜久久久久久| 精品国产三级a在线观看| 国产精选一区二区三区| 国产精品久久福利| 欧美在线看片a免费观看| 日韩电影在线一区二区三区| 精品少妇一区二区三区|