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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? tnw-tut-5.html

?? TinyWidget文檔教程
?? HTML
?? 第 1 頁 / 共 3 頁
字號:
Description: Gets the radio button group caption.<P>Returns: 1 on success. -1 on failure.<BLOCKQUOTE><CODE><HR><PRE>int tnGetRadioButtonGroupClickedPos(TN_WIDGET *widget,int *x,int *y)</PRE><HR></CODE></BLOCKQUOTE>Description: Returns the x &amp; y co-ordinates at which the pointer is clicked inside the radio button group.<P>Returns: 1 on success. -1 on failure.<H2><A NAME="TN_RADIOBUTTON"></A> <A NAME="ss5.6">5.6 TN_RADIOBUTTON</A></H2><P><H3>Introduction</H3><P>This is the radio button widget. It is to be placed inside a radio button group widget.<H3>Specification</H3><P>The default caption for a radio button is "Radio Button". The following properties can be defined via the <I>tnCreateWidget</I> call<UL><LI>TN_CAPTION : The radio button caption.</LI></UL><H3>Utility Functions</H3><P><BLOCKQUOTE><CODE><HR><PRE>int tnSetRadioButtonCaption(TN_WIDGET *widget,char *caption)</PRE><HR></CODE></BLOCKQUOTE>Description: Sets the caption text for the radio button.<P>Returns: 1 on success. -1 on failure.<BLOCKQUOTE><CODE><HR><PRE>int tnGetRadioButtonCaption(TN_WIDGET *widget,char *caption)</PRE><HR></CODE></BLOCKQUOTE>Description: Gets the radio button caption.<P>Returns: 1 on success. -1 on failure.<BLOCKQUOTE><CODE><HR><PRE>int tnSetRadioButtonStatus(TN_WIDGET *widget,TN_BOOL status)</PRE><HR></CODE></BLOCKQUOTE>Description: Sets the radio button status to selected (TN_TRUE) or unselected (TN_FALSE).<P>Returns: 1 on success. -1 on failure.<H2><A NAME="TN_TEXTBOX"></A> <A NAME="ss5.7">5.7 TN_TEXTBOX</A></H2><P><H3>Introduction</H3><P><B><I>The current textbox implementation although is almost usable is still under development. The user is advised to use the textbox widget with care.</I></B><P>This is the textbox widget. The textbox provides an editable text box on a window. Currenltly TinyWidgets supports single line (text entry field) and multiline textboxes(text areas). The textbox uses many special keys and hence relies on the scancode driver of microwindows. It has <B>NOT</B> been tested on other keyboard drivers and we wish to state clearly that it may not work with them. By default the textbox is a single line textbox with no default text.<H3>Specifications</H3><P>The following properties can be specified optionally for a textbox while calling <I>tnCreateWidget</I><UL><LI>TN_TEXTBOXTYPE : Choose either of TN_SINGLE_LINE or TN_MULTI_LINE.</LI><LI>TN_DEFAULTTEXT : Sets the default(initial) text for the textbox.</LI><LI>TN_FONTNAME    : Selects the font to be used in the textbox.</LI><LI>TN_FONTSIZE    : Chooses the size of the font.</LI><LI>TN_FGCOLOR     : Sets the foreground color of text.</LI></UL>Examples:<P>A single line textbox with font <I>Times New Roman</I>, size 16 points and default text set to "Hello World!"<BLOCKQUOTE><CODE><HR><PRE>mytextbox=tnCreateWidget(TN_TEXTBOX,mywindow,10,10,                         TN_TEXTBOXTYPE,TN_SINGLE_LINE,                         TN_DEFAULTTEXT,"Hello World!",                         TN_FONTNAME,"times",                         TN_FONTSIZE,16,                         TN_END);</PRE><HR></CODE></BLOCKQUOTE><P>A simple multiline textbox with no default text.<BLOCKQUOTE><CODE><HR><PRE>mytextbox=tnCreateWidget(TN_TEXTBOX,mywindow,10,10,                         TN_TEXTBOXTYPE,TN_MULTI_LINE,                         TN_END);</PRE><HR></CODE></BLOCKQUOTE>                <H3>Callbacks</H3><P>The following callbacks can be specified while calling <I>tnRegisterCallBack</I> for a textbox.<UL><LI>GOTFOCUS    :Event occurs typically when user clicks in a textbox.</LI><LI>LOSTFOCUS   :Event occurs typically when a user clicks elsewhere.</LI><LI>MODIFIED    :Event occurs when keyboard activity modifies text in the textbox.</LI></UL><P><H3>Utility Functions</H3><P>The following utility functions can be used for a textbox to access and change its properties.<P><BLOCKQUOTE><CODE><HR><PRE>char * tnGetText(TN_WIDGET *widget)</PRE><HR></CODE></BLOCKQUOTE>Description: Returns the text in a buffer contained in the textbox. The user has to free the returned buffer.<P>Returns: A pointer to a character buffer containing the characters in the textbox on success, NULL on error.<BLOCKQUOTE><CODE><HR><PRE>int tnSetText(TN_WIDGET *widget,char *text)</PRE><HR></CODE></BLOCKQUOTE>Description: Sets the text in the textbox to <I>text</I><P>Returns: 1 on success. -1 on failure.<H2><A NAME="TN_SCROLLBAR"></A> <A NAME="ss5.8">5.8 TN_SCROLLBAR</A></H2><P>This is the scrollbar widget. These scrollbars can be placed on windows. The scrollbar widget has two orientations, namely TN_HORIZONTAL and TN_VERTICAL. By default the scrollbar is is a vertical scrollbar, with range set from 0 to 100 and linestep = 1 , pagestep = 5. The thumb can also  be dragged to an arbitary position using the mouse.<P><H3>Specifications</H3><P>The following properties can be specified optionally for a scrollbar while calling <I>tnCreateWidget</I><P><UL><LI>TN_ORIENTATION      :Selects one of TN_VERTICAL and TN_HORIZONTAL.</LI><LI>TN_MINVAL           :Sets the value for the scrollbar when it is at minimum scrolled position</LI><LI>TN_MAXVAL           :Sets the value for the scrollbar when it is at maxmum scrolled position</LI><LI>TN_LINESTEP :Sets the increment per single line of scrolling.</LI><LI>TN_PAGESTEP :Sets the increment per a page of scrolling.</LI></UL><P>Example: A vertical scrollbar with range 50 to 100 and pagestep = 10 , linestep = 2 <BLOCKQUOTE><CODE><HR><PRE>myscrollbar=tnCreateWidget(TN_SCROLLBAR,mywindow,10,10,                           TN_ORIENTATION,TN_VERTICAL,                           TN_MINVAL,50,                           TN_MAXVAL,100,                           TN_LINESTEP,2                           TN_PAGESTEP,10,                           TN_END);</PRE><HR></CODE></BLOCKQUOTE>A horizontal scrollbar with default properties<BLOCKQUOTE><CODE><HR><PRE>myscrollbar=tnCreateWidget(TN_SCROLLBAR,mywindow,10,10,                           TN_ORIENTATION,TN_HORIZONTAL,                           TN_END);</PRE><HR></CODE></BLOCKQUOTE><P><H3>Callbacks</H3><P>The following callbacks can be specified while calling <I>tnRegisterCallBack</I> for a scrollbar.<P><UL><LI>CLICKED             :This event occurs when user clicks on any part of the scrollbar.</LI></UL><P><H3>Utility functions </H3><P><BLOCKQUOTE><CODE><HR><PRE>int tnGetScrollbarOrientation(TN_WIDGET *widget,int *orientation)</PRE><HR></CODE></BLOCKQUOTE>Description: Sets *orientation to either of TN_HORIZONTAL or TN_VERTICAL<P>Returns: 1 on success, -1 on error<BLOCKQUOTE><CODE><HR><PRE>int tnSetScrollbarOrientation(TN_WIDGET *widget,int orientation)</PRE><HR></CODE></BLOCKQUOTE>Description: Sets the orientation of scrollbar to <I>orientation</I><P>Returns: 1 on success, -1 on error<BLOCKQUOTE><CODE><HR><PRE>int tnGetScrollRange(TN_WIDGET *widget,int *minval,int *maxval)</PRE><HR></CODE></BLOCKQUOTE>Description: Gets the range of scrollbar into *minval and *maxval<P>Returns: 1 on success, -1 on failure.<P><BLOCKQUOTE><CODE><HR><PRE>int tnSetScrollRange(TN_WIDGET *widget,int minval,int maxval)</PRE><HR></CODE></BLOCKQUOTE>Description: Sets the range of scrollbar from <I>minval</I> to <I>maxval</I><P>Returns: 1 on success, -1 on failure.<P><BLOCKQUOTE><CODE><HR><PRE>int tnGetScrollStepSizes(TN_WIDGET *widget,int *pagestep,int *linestep)</PRE><HR></CODE></BLOCKQUOTE>Description: Gets the pagestep and linestep of scrollbar into *pagestep and *linestep respectively<P>Returns: 1 on success , -1 on failure.<P><BLOCKQUOTE><CODE><HR><PRE>int tnSetScrollStepSizes(TN_WIDGET *widget,int pagestep,int linestep)</PRE><HR></CODE></BLOCKQUOTE>Description: Sets the pagestep and linestep of scrollbar to <I>pagestep</I> and <I>linestep</I> respectively<P>Returns: 1 on success , -1 on failure.<P><BLOCKQUOTE><CODE><HR><PRE>int tnSetThumbPosition(TN_WIDGET *widget,int position)</PRE><HR></CODE></BLOCKQUOTE>Description: Sets the position of the thumb to <I>position</I><P>Returns: 1 on success , -1 on failure.<P><BLOCKQUOTE><CODE><HR><PRE>int tnGetThumbPosition(TN_WIDGET *widget)</PRE><HR></CODE></BLOCKQUOTE><P>Description: Gets the position of the thumb <P>Returns: Thumb position on success , -1 on failure.<P><BLOCKQUOTE><CODE><HR><PRE>int tnGetLastScrollEvent(TN_WIDGET *scrollbar)</PRE><HR></CODE></BLOCKQUOTE>Description: Gets the last scrolling event that occured with the scrollbar.<P>Returns: On success returns one of <UL><LI>TN_SCROLL_NOSCROLL</LI><LI>TN_SCROLL_LINEUP</LI><LI>TN_SCROLL_LINEDOWN</LI><LI>TN_SCROLL_PAGEUP</LI><LI>TN_SCROLL_PAGEDOWN</LI><LI>TN_SCROLL_THUMBMOVE</LI></UL>On failure returns -1<P><P><H2><A NAME="TN_PROGRESSBAR"></A> <A NAME="ss5.9">5.9 TN_PROGRESSBAR</A></H2><P><H3>Introduction</H3><P>This is the progressbar widget. It can be placed inside a window widget.<H3>Specifications</H3><P>A progress bar can be of type :<UL><LI>Continuous</LI><LI>Discrete</LI></UL>A continous progressbar is created by default. The following properties can be optionally specified for a progressbar via the a call to <I>tnCreateWidget</I><UL><LI>TN_STEPSIZE : The step size for the discrete progressbar.</LI><LI>TN_FILLCOLOR : The fill color for the bar.</LI><LI>TN_FONTNAME : The font to be used for the text which indicate completion status.</LI><LI>TN_FONTSIZE : The font size for the above mentioned text.</LI></UL><H3>Utility functions</H3><P><BLOCKQUOTE><CODE><HR><PRE>void tnProgressBarUpdate(TN_WIDGET *pbar, int value)</PRE><HR></CODE></BLOCKQUOTE>Description: Set the value for the progress bar.Returns: nothing<P><BLOCKQUOTE><CODE><HR><PRE>int tnGetProgressBarValue(TN_WIDGET *widget)</PRE><HR></CODE></BLOCKQUOTE>Description:  Returns the current value for the progress bar.<P>Returns: The current value on success. -1 on failure.<BLOCKQUOTE><CODE><HR><PRE>int tnSetProgressBarFillColor(TN_WIDGET *widget,TN_COLOR color)</PRE><HR></CODE></BLOCKQUOTE>Description: Set the current fill color to "color".<P>Returns: 1 on success. -1 on failure.<BLOCKQUOTE><CODE><HR><PRE>TN_COLOR tnGetProgressBarFillColor(TN_WIDGET *widget)</PRE><HR></CODE></BLOCKQUOTE>Description: Returns the fill color.<P>Returns: The current fill color on success. -1 on failure.<BLOCKQUOTE><CODE><HR><PRE>int tnSetProgressBarStepSize(TN_WIDGET *widget,int stepsize)</PRE><HR></CODE></BLOCKQUOTE>Description: Sets the step size for a discrete progress bar.<P>Returns: 1 on success. -1 on failure; will return -1 for a continuous progress bar.<BLOCKQUOTE><CODE><HR><PRE>int tnGetProgressBarStepSize(TN_WIDGET *widget)</PRE><HR></CODE></BLOCKQUOTE>Description: Returns the current step size.<P>Returns: The current step size on success. -1 on failure ; will return -1 for a continuous progress bar.<H2><A NAME="TN_LISTBOX"></A> <A NAME="ss5.10">5.10 TN_LISTBOX</A></H2><P><P><H3>Introduction</H3><P>This is a listbox widget which allows the user to display a list of items on the screen.<P><H3>Specifications</H3><P>The following optional properties can be specified while calling <I>tnCreateWidget</I>.<UL><LI> TN_FONTNAME : The name of the font to be used to display the List items. This property will be valid only if the specified fontname is installed and Nano-X is compiled with freetype support.</LI><LI> TN_FONTSIZE : The size of the font to be used.</LI><LI> TN_FGCOLOR : The color to be used for displaying the ListItems in the Listbox.</LI><LI> TN_COUNT : The number of items to be displayed in the Listbox</LI><LI> TN_LISTITEMS : The list of items to be displayed in the ListBox. This property will be valid only if the TN_COUNT property is specified correctly.</LI><LI> TN_RESIZE : This property, if set to TN_TRUE, causes the listbox to be resized whenever the number of items in the listbox does not fit in the specified height. By default it is set to TN_TRUE.</LI></UL>Examples:<P>A listbox specification with default properties and 5 Items to be displayed.<P><BLOCKQUOTE><CODE><HR><PRE> char *s[] = {"Monday","Tuesday","Wednesday","Thursday","Friday"};listbox1 = tnCreateWidget(TN_LISTBOX,window1,10,20,TN_COUNT,5,TN_LISTITEMS,s,TN_END);</PRE><HR></CODE></BLOCKQUOTE><P>An empty Listbox with Times Font to be used to display the List Items.<P><BLOCKQUOTE><CODE><HR><PRE>listbox2 = tnCreateWidget(TN_LISTBOX,window1,20,30,TN_FONTNAME,"times",TN_FONTSIZE,12,TN_END);</PRE><HR>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品三级在线观看| 国产999精品久久| 色噜噜久久综合| 国产精品久久久久久福利一牛影视 | 麻豆成人综合网| 91精品综合久久久久久| 免费在线观看精品| 精品少妇一区二区三区视频免付费| 蜜桃视频一区二区| 久久久精品tv| 91丨porny丨中文| 亚洲v中文字幕| 精品国产91久久久久久久妲己 | 在线影视一区二区三区| 香蕉成人伊视频在线观看| 欧美一级爆毛片| 国产激情视频一区二区在线观看| 国产精品高清亚洲| 欧美日韩免费不卡视频一区二区三区| 日韩av一区二区三区| 久久你懂得1024| 色屁屁一区二区| 男人的j进女人的j一区| 欧美激情一区不卡| 欧美体内she精视频| 91豆麻精品91久久久久久| 久久 天天综合| 亚洲欧美日韩电影| 日韩欧美国产一区二区三区| 成人av在线一区二区三区| 亚欧色一区w666天堂| 国产农村妇女毛片精品久久麻豆 | 色诱视频网站一区| 久久99精品国产| 亚洲欧美区自拍先锋| 精品国内片67194| 欧美中文一区二区三区| 国产乱码字幕精品高清av| 亚洲午夜三级在线| 国产精品天天看| 日韩欧美在线观看一区二区三区| 成人激情文学综合网| 日产国产高清一区二区三区| 综合分类小说区另类春色亚洲小说欧美| 欧美日韩三级一区| 99精品国产99久久久久久白柏| 蜜臀久久99精品久久久久宅男| 最新热久久免费视频| 欧美大尺度电影在线| 欧美日韩一区国产| av亚洲精华国产精华精| 激情欧美一区二区三区在线观看| 亚洲福利国产精品| 亚洲美女免费视频| 国产精品色哟哟网站| 欧美大片国产精品| 欧美一区二区三区在线电影| 日本电影亚洲天堂一区| 99这里都是精品| 国产高清不卡二三区| 久久99国产乱子伦精品免费| 日本大胆欧美人术艺术动态| 亚洲一区二区三区国产| 亚洲男人的天堂在线aⅴ视频| 国产欧美一区二区三区网站| 精品国产不卡一区二区三区| 欧美一区二区三区在线电影| 精品视频一区 二区 三区| 在线亚洲精品福利网址导航| 99久久er热在这里只有精品15| 国产成人精品免费在线| 国产精品中文字幕一区二区三区| 蜜臀99久久精品久久久久久软件| 日韩有码一区二区三区| 婷婷国产在线综合| 丝袜美腿亚洲色图| 日韩av网站免费在线| 日韩av在线发布| 美女免费视频一区二区| 奇米一区二区三区| 毛片一区二区三区| 国产原创一区二区三区| 国模少妇一区二区三区| 国产一区二区三区在线看麻豆| 国产一区欧美二区| 成人午夜激情在线| 91亚洲资源网| 欧美丝袜自拍制服另类| 6080yy午夜一二三区久久| 91精品国产91热久久久做人人| 日韩一区二区三区观看| 久久天天做天天爱综合色| 亚洲国产精品成人综合色在线婷婷| 国产精品美女久久久久av爽李琼| |精品福利一区二区三区| 亚洲老司机在线| 日韩精品欧美成人高清一区二区| 六月丁香婷婷久久| 粉嫩av亚洲一区二区图片| 91亚洲国产成人精品一区二区三| 欧日韩精品视频| 欧美一区二区在线免费播放| 2023国产精品| 亚洲品质自拍视频| 日本成人中文字幕| 成人一区二区三区| 欧美日韩中文字幕一区| 欧美v国产在线一区二区三区| 日本一区二区三区在线观看| 一区二区三区在线观看欧美| 免费亚洲电影在线| 不卡一区二区三区四区| 欧美日韩mp4| 国产午夜精品久久久久久免费视| 亚洲精品乱码久久久久久久久 | 精品伊人久久久久7777人| 成人av中文字幕| 555夜色666亚洲国产免| 亚洲国产精品成人久久综合一区| 亚洲综合在线第一页| 经典三级视频一区| 欧美午夜精品久久久久久超碰| 欧美xxxxx牲另类人与| 有坂深雪av一区二区精品| 国模大尺度一区二区三区| 91福利小视频| 国产女人水真多18毛片18精品视频| 亚洲在线观看免费视频| 国产成人在线看| 欧美精三区欧美精三区| 中文字幕日韩欧美一区二区三区| 日本中文在线一区| 色天使色偷偷av一区二区| 亚洲精品在线观看视频| 亚洲va国产va欧美va观看| 成人免费电影视频| 精品国产一区二区精华| 亚洲成a人片在线不卡一二三区| 成人性生交大片免费看中文| 欧美一级生活片| 亚洲大片在线观看| 96av麻豆蜜桃一区二区| 国产色91在线| 日本不卡一区二区三区| 在线视频国内一区二区| 国产精品久久久久久久久免费桃花| 捆绑调教美女网站视频一区| 欧美三级在线看| 亚洲黄色av一区| 一本大道av一区二区在线播放| 久久毛片高清国产| 裸体在线国模精品偷拍| 欧美精品日韩精品| 亚洲一区二区欧美| 色婷婷精品大在线视频| 国产精品对白交换视频| 成人av网址在线| 日本一区二区三区国色天香| 国产综合色视频| 久久久久久久久久久久电影| 久久精品国产亚洲高清剧情介绍 | 日韩欧美在线一区二区三区| 五月天一区二区三区| 欧美亚洲禁片免费| 亚洲图片自拍偷拍| 欧美曰成人黄网| 亚洲大片精品永久免费| 91福利精品第一导航| 亚洲国产一区视频| 欧美性高清videossexo| 亚洲一区二区三区免费视频| 欧美色偷偷大香| 午夜久久久久久久久久一区二区| 欧美日韩中文一区| 视频一区视频二区在线观看| 欧美一区永久视频免费观看| 日韩激情av在线| 欧美本精品男人aⅴ天堂| 韩国三级中文字幕hd久久精品| 久久中文娱乐网| 豆国产96在线|亚洲| 亚洲丝袜另类动漫二区| 欧美综合一区二区| 婷婷六月综合亚洲| ww亚洲ww在线观看国产| 国产91综合网| 亚洲精品乱码久久久久| 欧美日韩国产综合草草| 免费成人在线网站| 国产色爱av资源综合区| 色综合久久久久久久久| 午夜久久久影院| 久久综合色8888| 不卡的av电影| 亚洲午夜久久久久久久久电影院| 欧美一级黄色片| 粉嫩一区二区三区性色av| 一区二区成人在线| 精品国产人成亚洲区| 99视频在线观看一区三区|