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

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

?? rhl23.htm

?? linux的初學(xué)電子書
?? HTM
?? 第 1 頁 / 共 5 頁
字號(hào):
<BR>

<P>The XmScrollBar rectangle has two arrows at each end. The arrows point outward relative to the rectangle, and in opposite directions. The arrow keys can be used to move the slider bar within the scroll region.

<BR>

<OL>

<LI>Move the mouse to the slider bar arrow.

<BR>

<BR>

<LI>Click on Button1.

<BR>

<BR>

<LI>The slider bar should move closer to the arrow. The slider moves as close as possible to the arrow being clicked in the scroll area.

<BR>

<BR>

<LI>Release Button1.

<BR>

<BR>

</OL>

<P>Users can also move the slider bar by dragging it with the mouse:

<BR>

<OL>

<LI>Move the pointer on to the slider bar.

<BR>

<BR>

<LI>Press the Button1.

<BR>

<BR>

<LI>Move the pointer up or down for a vertical scroll bar.

<BR>

<BR>

<LI>Move the pointer left or right for a horizontal scroll bar.

<BR>The contents of the work area, as well as the slider bar, scroll with the movement of the pointer. The viewable portion is the work area.

<BR>

<BR>

<LI>Release Button1 when the list area contains the desired viewing data.

<BR>

<BR>

</OL>

<P>Now move your cursor to the selection item of the resize policy button. When you click on this button, you are presented with a pop-up menu of the types of resize policies for the dialog box you want to create. When you press the button, a menu pops out 
and presents you with a list of options. You make the selection with your pointer by moving the pointer to that button and releasing it. The menu disappears, and your selection is displayed in the box. In Figure 23.6, shown previously, the resize policy is 
set to any. This is known as an option button.

<BR>

<P>Note the diamond-shaped buttons and selections below this current menu. This is a list of one of four possible selections for the dialog box. One of the items is shown in a lighter gray color. This is known as grayed out, meaning that the option is a 
not a valid option at the time. The option for the Work Area is disabled. You can select one of the three options. These items are grouped together with a rectangular frame drawn around them. Usually, buttons are grouped together this way in Motif when 
their functionality falls in the same group of actions. The actions are similar to the buttons on a radio: push one button and the rest of the buttons in the row all come up. This is why these are referred to as radio buttons.

<BR>

<P>Look at the two buttons: auto manage and default position. These are toggle buttons for this application. When you select one button, the other is not influenced at all. The functionality provided by each button is completely independent of the other. 
Do you see the difference between radio buttons and toggle buttons?

<BR>

<P>Sometimes a scrollbar is used on each side of a drawing area. This is called a Scrolled Window, and belongs to the XmScrolledWindow class. This Widget can hold graphics instead of a list of items. The XmScrolledWindow is used primarily to view large 
graphic items in a small window, whereas XmList is used to show items for the user to select from.

<BR>

<P>Under the toggle buttons, you see four push buttons. When a push button is pressed, the colors on the border of the button reverse. Also, the color of the pressed rectangle changes to show the user action. Push buttons are used to invoke some sort of 
action. When you select the file selection dialog from the list and press the push button to manage it, the display shown in Figure 23.7 appears. This is the standard file selection box under Motif, and you should see it for most applications.

<BR>

<P><B> <A HREF="tppmsgs/msgs1.htm#138" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/23rhl07.gif">Figure 23.7. A typical File Selection dialog </B><B>box.</A></B>

<BR>

<P>To see a more detailed picture of what types of Widgets are available within Motif, run /usr/bin/X11/periodic. (See Figure 23.8.) Note that the menu item for this application can be removed to become a separate application, by dragging on the dashed 
line. The menu is shown as torn off in Figure 23.9.

<BR>

<P><B><a href="tppmsgs/msgs1.htm#139" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/23rhl08.gif">Figure 23.8. The Periodic Table of Widgets.</A></B>

<BR>

<P><B> <A HREF="23rhl09.gif" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/23rhl09.gif">Figure 23.9. A tear-off menu torn off.</A></B>

<BR>

<BR>

<A NAME="E68E175"></A>

<H3 ALIGN=CENTER>

<CENTER>

<FONT SIZE=5 COLOR="#FF0000"><B>Other Types of Widgets</B></FONT></CENTER></H3>

<BR>

<P>The Motif toolkit also supplies the following Widgets. Please refer to the items in the periodic table in Figure 23.8 to see what each Widget should like on screen.

<BR>

<UL>

<UL>

<P>XmArrowButton This is a directional arrow with a border around it. A programmer can modify the arrow's direction, thickness, and border color by setting the Widget's parameters. Look at the ends of a scrollbar to see two examples of such a Widget.

<BR>

</UL></UL>

<UL>

<UL>

<P>XmDrawnButton A drawn button provides a rectangular area with a border for the programmer. The programmer can size, redraw, or reposition text or graphics within this window. This Widget provides hooks to set parameters for its border appearance, as 
well as to attach functions for accepting user input.

<BR>

</UL></UL>

<UL>

<UL>

<P>XmLabel This is a rectangular box consisting of either text or graphics. It is instantiated, but is also used as a base class for all button Widgets. A label's text can be multiline, multifont, or even multidirectional. In the xmdialogs example, this 
would be the labels Active Dialog and the Motif Dialog Widgets strings.

<BR>

</UL></UL>

<UL>

<UL>

<P>Many features of the labels can be modified. This includes the fonts, foreground and background colors, and alignment (left, center, or right justification); in fact, this can even store a pixmap graphic image.

<BR>

</UL></UL>

<UL>

<UL>

<P>XmPushButton This is a text label or pixmap with a border around it. This Widget accepts keystrokes or mouse button presses. In the smdialogs example, these are the create, destroy, manage, and unmanage buttons. When a button has focus, it draws a heavy 
border around itself.

<BR>

</UL></UL>

<UL>

<UL>

<P>When you press the Enter key or a pointer on a button, the button has focus. Move the cursor to the button. Press a key or button and hold it down. You have armed the button. The color on the button should change, and the border colors should reverse. 
This gives the impression that the button has been pressed inward. When you release the button, the button reverts to its original state. When a mouse button is pressed in this Widget the foreground and background colors of the Widget usually also invert.

<BR>

</UL></UL>

<UL>

<UL>

<P>XmSeparator This is used to create a line between functional sections of a screen. There is really not much that users can do with this Widget except position it on the screen.

<BR>

</UL></UL>

<UL>

<UL>

<P>XmText This is used to create a fully functional multiline text editor on a screen. The user can select text by dragging the mouse from one location to another while Button1 is pressed. Users can also click anywhere on the Widget to mark the insertion 
point. If the text Widget is enabled for user input, the user can type at the insertion point and insert the text into the text Widget.

<BR>

</UL></UL>

<UL>

<UL>

<P>Pull-down menus These are rectangular areas in the window that enable users to select from a number of items. The items are generally laid out in push buttons. Users can select a push button either by moving the mouse to that selection, or by pressing 
Alt-K, in which K is the letter of the alphabet that is underlined in the menu button. In the xmdialogs function, the Meta-F key selected the file item, and Meta-H selected the Help item.

<BR>

</UL></UL>

<UL>

<UL>

<P>Pop-up menus The Motif root window menu is a good example of a pop-up menu. When you press the mouse button, a menu is displayed. You can select an item in the menu by moving the cursor onto the item and pressing Button1.

<BR>

</UL></UL>

<UL>

<UL>

<P>Scale Widgets The scale Widget is used to display the value of a data item between two extremes. It can also be used to accept user input. A scale Widget has a scroll region that is very similar to the scroll bar. However, it does not have the arrow 
buttons at each end.

<BR>

</UL></UL>

<UL>

<UL>

<P>XmScrolledWindow This is a combination of a horizontal scroll bar, a vertical scroll bar, and a drawing area. If the size of the drawing area fits within the window, you can't see the scrollbars. If the size of the drawing area is greater than the 
visible area of the scrolled window, you see the horizontal or vertical scrollbars, or both. You can then use the scrollbars to move the visible portion on top of the drawing area. This is known as panning the window.

<BR>

</UL></UL>

<UL>

<UL>

<P>XmFrame This is a simple Widget used to put a consistent border around one single Widget. Frames can only hold one Widget at a time.

<BR>

</UL></UL>

<UL>

<UL>

<P>XmRowColumn This is a general-purpose Widget organizer. The Widget can layout its Widget collection in a variety of ways, including the following:

<BR>

</UL></UL>

<UL>

<UL>

<P>Row major In this case, all Widgets on this Row Column Widget are stored until one row fills up, and a new row is created when another Widget is added that doesn't fit on this Widget. The creation of a new row is sometimes called wraparound.

<BR>

</UL></UL>

<UL>

<UL>

<P>Column major This is the same as a row major, but it wraps around in a columnar fashion.

<BR>

</UL></UL>

<P>In conjunction with this, you can specify the width of each column to be that of the widest Widget; you can also specify the number of fixed columns, the packing (whether all Widgets should be packed as closely as possible), or that the individual 
Widgets specify their own positions.

<BR>

<P>There are several other Widgets available in the Motif Widget set. You can see the complete listing and their options in The Programmers Reference Manual from the Open Software Foundation.

<BR>

<BR>

<A NAME="E69E291"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Gadgets</B></FONT></CENTER></H4>

<BR>

<P>Motif Widgets create a window in X Window. A complex Motif application can create several X windows very quickly. Each window uses X resources in the server, and many windows can slow your overall system performance.

<BR>

<P>Gadgets are windowless versions of a Widget. Most Gadgets have the same names as Widgets, but have the string Gadget appended to their name. So, XmLabel has an XmLabelGadget counterpart.

<BR>

<P>Gadgets do not have all the features of Widgets. For example, Gadgets share the foreground and background colors of their parent. Also, some Gadgets actually turn out to be slower than the Widgets they are trying to replace. Given the troubles that you 
can get into by using Gadgets, you may be better off not using them.

<BR>

<BR>

<A NAME="E68E176"></A>

<H3 ALIGN=CENTER>

<CENTER>

<FONT SIZE=5 COLOR="#FF0000"><B>Customizing with Resources</B></FONT></CENTER></H3>

<BR>

<P>Now that you are familiar with Widgets, let's talk about the parameters that affect them&#151;resources.

<BR>

<BR>

<A NAME="E69E292"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>What Are Resources?</B></FONT></CENTER></H4>

<BR>

<P>As you saw in the previous sections, you can customize some aspects of an application from the command line prompt. X enables you to modify the aspects of an existing application every time a client runs that application. X does this by setting control 
variables for that client. These control variables are called resources and have a value associated with them.

<BR>

<P>For example, consider the case of an xterm. An xterm's resources are its font size, its pointer shape, the foreground color for all displayed text, its background color, and so on. These are only a few of the resources for an xterm. Most of these 
resources exist as predefined defaults for all the common clients in a system.

<BR>

<P>You can specify resources on an application-specific basis, or for all applications on your system. These resources are normally stored in an ASCII file called .Xresources, in your home directory.

<BR>

<P>This file affects only those applications that you run. This file normally contains only those options that you would like to customize over those values that are set in system files.

<BR>

<P>You can always override the defaults specified in the system-wide file with defaults in your .Xresources file. In turn, your command line options for a single client override those in the .Xresources file. Keep in mind, however, that the command line 
default applies only to a specific client. The .Xresources default setting becomes the default for all your clients.

<BR>

<P>Also, remember that the command line operations override any default resources set in a file. Normally, you set how you want your application to look under normal circumstances, and then override the changes via command line options.

<BR>

<BLOCKQUOTE>

<BLOCKQUOTE>

<HR ALIGN=CENTER>

<BR>

<NOTE>In some systems, the .Xresources file can also be called .Xdefaults.</NOTE>

<BR>

<HR ALIGN=CENTER>

</BLOCKQUOTE></BLOCKQUOTE>

<P>To make your resource specifications available to all clients, use the X resource database manager program, xrdb. This stores the resources directly on the server and makes the resource available to all clients on the system. This step takes some care 
because your change will affect all your clients, regardless of what platform they are running on.

<BR>

<BR>

<A NAME="E68E177"></A>

<H3 ALIGN=CENTER>

<CENTER>

<FONT SIZE=5 COLOR="#FF0000"><B>Defining Resources</B></FONT></CENTER></H3>

<BR>

<P>A resource definition file is basically a line-by-line list of all the resources in the file. Each line consists of two entries: one for the resource type, and the other for the value for the resource. The two entries are colon-separated.

<BR>

<P>The simplest syntax for a resource definition is as follows:

<BR>

<BR>

<PRE>

<FONT COLOR="#000080">client*variable: value</FONT></PRE>

<P>client is the name of the client. The variable for that client is set to the value. Note that the colon follows the variable without any spaces.

<BR>

<P>Let's look at the resource declaration for an xterm client.

<BR>

<PRE>

<FONT COLOR="#000080">XTerm*foreground: white

XTerm*background: blue

XTerm*font: 10x20

...</FONT></PRE>

<P>If you do not already have an .Xdefaults file, you can create one yourself with a text editor.

<BR>

<P>The values can be Boolean, numeric, or string. Values can be specified for Widgets in an application as well. For example, if you want to set the background color for all PushButtons in an application, myWorld, you set the following resource:

<BR>

<PRE>

<FONT COLOR="#000080">myWorld*PushButton.background: red

myWorld*background: blue</FONT></PRE>

<P>Note that the asterisk represents the Widgets in between the actual myWorld application and all PushButtons 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久99精品久久久久久| 91香蕉视频污| 玉足女爽爽91| 日本欧美大码aⅴ在线播放| 久久色在线观看| 欧美日韩日本视频| 91在线国产福利| 国产一区二区三区av电影| 一片黄亚洲嫩模| 中文字幕的久久| 精品美女一区二区三区| 欧美日韩精品三区| av电影一区二区| 国产精品1024| 久久电影网站中文字幕| 午夜精品久久久久久久久久| 中文字幕日韩一区| 久久精品视频在线看| 欧美一区二区三区思思人| 色综合天天综合狠狠| 国产成人综合在线| 国产中文字幕精品| 麻豆精品精品国产自在97香蕉| 亚洲mv大片欧洲mv大片精品| 亚洲欧美激情一区二区| 欧美国产精品一区| 国产欧美日韩另类一区| 久久综合久久综合亚洲| 日韩美女在线视频 | 久久成人免费网| 丝袜亚洲另类丝袜在线| 亚洲欧美国产毛片在线| 国产精品久久久久一区| 国产精品三级av| 国产精品日韩成人| 国产精品免费网站在线观看| 国产欧美一区视频| 亚洲国产精品t66y| 国产日韩精品视频一区| 国产三区在线成人av| 久久人人爽爽爽人久久久| 欧美精品一区视频| 精品日韩99亚洲| 久久综合九色综合欧美亚洲| 久久综合久久久久88| 国产三级欧美三级| 国产精品免费视频网站| 亚洲三级在线免费观看| 亚洲色图制服诱惑| 亚洲精品久久久久久国产精华液| 曰韩精品一区二区| 视频一区视频二区中文| 另类成人小视频在线| 精品写真视频在线观看| 国产**成人网毛片九色 | 亚洲视频在线观看三级| 亚洲三级在线免费观看| 亚洲精品中文字幕乱码三区 | 久久99精品国产麻豆婷婷| 国内外成人在线视频| 国产99久久久久| 91美女精品福利| 欧美日韩久久久一区| 欧美一区二区三区喷汁尤物| 久久久久久免费| 亚洲日本成人在线观看| 亚洲成a人v欧美综合天堂下载| 免费不卡在线观看| 懂色中文一区二区在线播放| 91老师国产黑色丝袜在线| 欧美疯狂性受xxxxx喷水图片| 欧美电视剧在线看免费| 中文字幕精品综合| 亚洲午夜日本在线观看| 国产精品一区二区在线观看不卡| 亚洲国产精品成人综合 | 日韩精品国产精品| 国产露脸91国语对白| 色先锋资源久久综合| 在线电影一区二区三区| 国产日韩视频一区二区三区| 一区二区三区美女视频| 韩国av一区二区三区在线观看| 色屁屁一区二区| 2017欧美狠狠色| 一区二区三区四区在线免费观看| 蜜臀av性久久久久蜜臀aⅴ| 成人高清免费观看| 欧美一区午夜精品| 国产精品白丝在线| 免费精品视频最新在线| 91网站在线观看视频| 日韩精品中午字幕| 亚洲码国产岛国毛片在线| 久久福利视频一区二区| 日本精品视频一区二区三区| 精品区一区二区| 一级精品视频在线观看宜春院| 久国产精品韩国三级视频| 97久久精品人人做人人爽| 精品国产乱码91久久久久久网站| 亚洲精品欧美激情| 粉嫩久久99精品久久久久久夜 | 欧美日韩一区小说| 国产精品福利一区二区三区| 伦理电影国产精品| 欧美午夜精品一区| 中文字幕一区二区三| 韩国av一区二区三区四区| 欧美日韩国产首页在线观看| 亚洲图片欧美激情| 狠狠狠色丁香婷婷综合激情 | 久久99精品久久久久久| 欧美日韩色一区| 亚洲女人小视频在线观看| 不卡一区二区三区四区| 久久新电视剧免费观看| 麻豆精品一二三| 欧美蜜桃一区二区三区| 亚洲自拍偷拍麻豆| 色偷偷一区二区三区| 国产精品色在线| 国产成人精品www牛牛影视| 欧美变态凌虐bdsm| 麻豆freexxxx性91精品| 欧美一二三区在线| 日本成人在线不卡视频| 69堂亚洲精品首页| 香蕉久久一区二区不卡无毒影院| 91福利精品视频| 一区二区免费在线播放| 91麻豆自制传媒国产之光| 中文字幕一区二区三区在线播放 | 国产精品久线在线观看| 国产成人一级电影| 国产精品私人影院| 成人免费高清在线观看| 国产精品欧美精品| 99re视频这里只有精品| 亚洲欧美另类小说视频| 在线精品国精品国产尤物884a| 一区二区欧美精品| 欧美日韩国产高清一区二区三区 | 91在线免费播放| 成人免费在线观看入口| 色网综合在线观看| 亚洲综合一二三区| 欧美性大战久久| 日本人妖一区二区| 亚洲精品一区二区三区香蕉| 国产福利精品导航| 亚洲六月丁香色婷婷综合久久| 风间由美一区二区av101| 久久嫩草精品久久久精品| 国产一区二区不卡在线 | 色老汉一区二区三区| 亚洲精品免费一二三区| 欧美精品 国产精品| 激情综合亚洲精品| 亚洲国产成人在线| 一本到不卡精品视频在线观看| 亚洲福利一二三区| wwww国产精品欧美| 97久久超碰国产精品电影| 亚洲香蕉伊在人在线观| 精品国产露脸精彩对白| 成av人片一区二区| 性欧美疯狂xxxxbbbb| 久久久精品人体av艺术| 91视频一区二区| 美女在线一区二区| 中文字幕不卡三区| 欧美日韩激情一区二区三区| 另类小说图片综合网| 国产免费成人在线视频| 91极品美女在线| 狠狠色综合播放一区二区| 亚洲欧美另类小说| 欧美电视剧在线看免费| 99精品欧美一区二区三区小说| 日韩影院免费视频| 国产精品五月天| 欧美精品1区2区3区| proumb性欧美在线观看| 蜜桃视频一区二区三区在线观看| 中文字幕的久久| 日韩欧美国产高清| 色综合久久中文字幕| 国产在线国偷精品产拍免费yy| 一区二区三区中文字幕在线观看| 日韩欧美国产综合| 91同城在线观看| 国内外成人在线| 日日摸夜夜添夜夜添精品视频 | 免费成人在线观看| 夜夜夜精品看看| 欧美高清在线精品一区| 欧美sm极限捆绑bd| 欧美日本在线看| 99精品视频在线播放观看|