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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? rhl23.htm

?? linux的初學(xué)電子書(shū)
?? HTM
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):

<BR>

<BR>

<LI>The number of display units are in character sizes for xterms.

<BR>

<BR>

</UL>

<P>A pixel is the smallest unit available on a screen. Usually, screens are displayed in 1024&#180;768 pixels, 2048&#180;2048 pixels, or something similar. The size of a pixel on screen is very much hardware-dependent. A 200&#180;200 window appears as 
different sizes on monitors with different resolutions.

<BR>

<P>The geometry parameter is of the following form:

<BR>

<BR>

<PRE>

<FONT COLOR="#000080">widthxheight[{+-}xoff{-+}yoff]</FONT></PRE>

<P>The height and width are usually given in pixels. In the case of xterms, height is given in lines, and width is given in characters per line. It is common to have a 24&#180;80 xterm.

<BR>

<P>The xoff and yoff are offsets from the start of the left and top edges of the screen respectively. These represent the location of the window on the root window. The curly braces represent either the &#151; or the + character, but not both.

<BR>



<TABLE  BORDERCOLOR=#000040 BORDER=1 CELLSPACING=2 WIDTH="100%" CELLPADDING=2 >

<TR>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

+xoff 

</FONT>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

A positive offset from the left edge of the screen to the left edge of the window.</FONT>

<TR>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

-xoff

</FONT>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

A negative offset from the right edge of the screen to the right edge of the window.</FONT>

<TR>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

+yoff

</FONT>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

A positive offset from the top edge of the screen to the top edge of the window.</FONT>

<TR>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

-yoff

</FONT>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

A negative offset from the bottom edge of the screen to the bottom edge of the window.</FONT>

</TABLE><P>A visual representation of the geometry is shown in Figure 23.5. For example, the line

<BR>

<BR>

<PRE>

<FONT COLOR="#000080">xterm -geometry -50+50 &amp;</FONT></PRE>

<P>places the xterm on the top right corner, 50 pixels from the right edge of screen and 50 pixels from the top of the screen.

<BR>

<P><B> <A HREF="23rhl05.gif" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/23rhl05.gif">Figure 23.5. Window geometry.</A></B>

<BR>

<P>The following parameters specify the edges of the screen:

<BR>



<TABLE  BORDERCOLOR=#000040 BORDER=1 CELLSPACING=2 WIDTH="100%" CELLPADDING=2 >

<TR>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

-0-0 

</FONT>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

Lower right corner</FONT>

<TR>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

-0+0 

</FONT>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

Upper right corner</FONT>

<TR>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

+0-0 

</FONT>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

Lower left corner</FONT>

<TR>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

+0+0 

</FONT>

<TD VALIGN=top  BGCOLOR=#80FFFF ><FONT COLOR=#000080>

Upper left corner</FONT>

</TABLE><BR>

<A NAME="E68E171"></A>

<H3 ALIGN=CENTER>

<CENTER>

<FONT SIZE=5 COLOR="#FF0000"><B>Using the Window Menu</B></FONT></CENTER></H3>

<BR>

<P>Using the window menu requires you to have the focus on a window. Let's look at a typical window menu. This also may be different on your screen, but the basic functionality listed here should exist for all later versions of Motif. Take the cursor to 
the window menu button, and press the left button. The following menu (or something close to it) should appear:

<BR>

<PRE>

<FONT COLOR="#000080">Restore alt-F5

Move alt-F7

Size alt-F8

Minimize alt-F9

Maximize alt-F10

Lower alt-F3

Close alt-F4</FONT></PRE>

<BR>

<A NAME="E68E172"></A>

<H3 ALIGN=CENTER>

<CENTER>

<FONT SIZE=5 COLOR="#FF0000"><B>Using the Keyboard in X and the Meta Key</B></FONT></CENTER></H3>

<BR>

<P>It's important to bring this point up about the keyboard and its special keys under X. Keyboards come in different types, and the most important key for using keystrokes in X can be radically different from one keyboard to another. On PC-based 
keyboards, it is usually the Alt key; on Macintoshes, it is the Command key; on Suns, it is Left, Alternate; and other keyboards use other keys. The list goes on.

<BR>

<P>In short, the Meta key is the special key for your keyboard. For a PC-based keyboard, this is the Alt key. So, do not look for a key called Meta on your keyboard. Where it says Meta, use Alt, Command, or whatever key your keyboard is mapped to.

<BR>

<P>Now you can invoke any item on this window menu in one of two ways:

<BR>

<UL>

<LI>Use the pointer. This way, you click on the window menu and press Button1. Now, move the cursor to the item you want, and release Button1; or, press the Meta key and the character that is underlined in the menu. For moving a window, you press Meta-M. 
Note that this does not work on some Motif distributions.

<BR>

<BR>

</UL>

<BLOCKQUOTE>

<BLOCKQUOTE>

<HR ALIGN=CENTER>

<BR>

<NOTE>Alt-key combinations may not always work. In Metro's version of Motif 1.2, the Meta-F7 key allows moving a window, but the Meta-M key does not work at all. You may have a completely different experience with your keyboard.</NOTE>

<BR>

<HR ALIGN=CENTER>

</BLOCKQUOTE></BLOCKQUOTE>

<UL>

<LI>While the window has focus, press the Meta-function key combination. Then use the arrow keys on your keyboard to simulate the movement of the cursor, or just use the pointer.

<BR>

<BR>

</UL>

<P>Note that some of these functions may not be available for a menu shown for an icon. You might not be able to size or minimize an icon, but you can move, maximize, or close it.

<BR>

<BR>

<A NAME="E68E173"></A>

<H3 ALIGN=CENTER>

<CENTER>

<FONT SIZE=5 COLOR="#FF0000"><B>Using the Root Menu</B></FONT></CENTER></H3>

<BR>

<P>Click Button3 while the cursor is in the root window. You see a menu pop up on top of all the windows. This is known as the root menu. Keep in mind that this menu is very customizable, and may look radically different on your machine. You will learn all 
about creating your own menu later in this chapter in the &quot;Customizing Motif&quot; section.

<BR>

<P>A typical root menu may list the following items. (Your system may have a different list depending on the type of Motif you purchased.)

<BR>

<PRE>

<FONT COLOR="#000080">&quot;Root Menu&quot;

New Window

Shuffle Up

Shuffle Down

Refresh

Utils &gt;

Restart

Exit</FONT></PRE>

<P>While holding down Button1, move the cursor down the list to the item you want to select. When you get to the menu item you want, release the button. If you do not want to select any items, move the cursor off the menu and release the button.

<BR>

<P>In the previous list, the functionality can be set to the following:

<BR>

<UL>

<LI>New Window starts a new xterm and sets focus to it.

<BR>

<BR>

<LI>Refresh redraws the entire screen and all windows.

<BR>

<BR>

<LI>Restart kills mwm and restarts it.

<BR>

<BR>

<LI>Exit kills mwm and leaves you without a window manager. If this is the last command in your startup script, your windowing session terminates.

<BR>

<BR>

<LI>Shuffle Up and Shuffle Down shuffles the stacking order of the windows up or down. The current window with focus is moved down to the bottom when shuffling down, and the next highest window is given the focus. The last window in the stack is brought to 
the top and given the focus when shuffling up.

<BR>

<BR>

<LI>The Utils item brings up another submenu with more choices to select from. See the &quot;Customizing Motif&quot; section, later in this chapter, for details on how to set your menu items.

<BR>

<BR>

</UL>

<P>Now, let's work with Motif clients.

<BR>

<BR>

<A NAME="E68E174"></A>

<H3 ALIGN=CENTER>

<CENTER>

<FONT SIZE=5 COLOR="#FF0000"><B>Working with Motif Clients</B></FONT></CENTER></H3>

<BR>

<P>Most programmers find the X Window system libraries too basic to work with, so they use the next building block called toolkits. The most common interface toolkit is the XtIntrinsics toolkit from MIT. This is called Xt. On top of Xt, you can have other 
toolkits such as Motif or the Open Look Interface Toolkit (OLIT). When you are working with Motif, you are working with a Motif toolkit. In Motif, you are working with Motif Widgets.

<BR>

<P>Widgets help developers program consistent user interfaces in Motif. By using Widgets, programmers can quickly put together interfaces that have the same look and feel of all Motif applications.

<BR>

<P>Some Widgets display information. Some Widgets collect user input (mouse or keyboard) information. Some Widgets react to user input by changing their appearance or performing some programmed function. Some Widgets are simply containers for other 
Wigdets. All Widgets can be customized in one form or another, whether it is appearance, font size or style, colors, or whatever other parameter is required.

<BR>

<P>All Widgets of the same type have two data structures with information that describes their attributes: class and instance. The instance data structure contains information for a specific Widget on the screen. The class information contains information 
required for all Widgets of the class.

<BR>

<P>Widgets are grouped into several classes. Each class depends on the type of functionality offered by the Widget. Normally, the internal functions of a Widget are hidden from the applications programmer (encapsulation). A Widget class shares a set of 
functions and data structures for all Widgets in that class. A new Widget class can be derived from an existing Widget class. The newly derived class can inherit all the data structures and functions of the parent class. A Widget is created and destroyed 
during a Motif program execution.

<BR>

<BLOCKQUOTE>

<BLOCKQUOTE>

<HR ALIGN=CENTER>

<BR>

<NOTE>The destruction of a Widget is a bit more complicated, and will be discussed in detail in the next chapter.</NOTE>

<BR>

<HR ALIGN=CENTER>

</BLOCKQUOTE></BLOCKQUOTE>

<BLOCKQUOTE>

<BLOCKQUOTE>

<HR ALIGN=CENTER>

<BR>

<NOTE>This should sound familiar to C++ programmers. True polymorphism is somewhat harder to find in Widgets. This is all done in C. For C++ programmers, the class data structure is to the class for an object, as the instance data structure is to the 
instance of an object.</NOTE>

<BR>

<HR ALIGN=CENTER>

</BLOCKQUOTE></BLOCKQUOTE>

<P>A Widget is really a pointer to a data structure when viewed in a debugger. This data structure is allocated on the creation of a Widget, and is destroyed when a Widget is destroyed.

<BR>

<P>Let's look at a typical application screen to see some Widgets in action. You will work with a demo application called xmdialogs, shown in Figure 23.6. The Widgets shown here will be described later in this chapter. The xmdialogs application can be 
found in the /usr/bin/X11 directory. If you do not have this application, you can still learn about working with Widgets by applying these concepts to different applications.

<BR>

<BLOCKQUOTE>

<BLOCKQUOTE>

<HR ALIGN=CENTER>

<BR>

<NOTE>Don't worry if you cannot find this application on your machine. There are plenty of other applications just like this one. If you have the Motif 1.2.3 release or later from Metro Link, you will have this application in your /usr/bin/X11 
directory.</NOTE>

<BR>

<HR ALIGN=CENTER>

</BLOCKQUOTE></BLOCKQUOTE>

<P><B> <A HREF="tppmsgs/msgs1.htm#137" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/23rhl06.gif">Figure 23.6. The </B><B>xmdialogs</B><B> demo application.</A></B>

<BR>

<P>Figure 23.6 shows a Menu bar, a File selection list with scrollbars, an Option button, some Radio and Toggle buttons, some Push buttons, some Labels, and a Text display dialog box.

<BR>

<P>The Actions and Help items are shown on a menu bar. By moving the pointer to either of these items and pressing Button1, you are presented with a menu of options very similar in operation to the window and root menu.

<BR>

<P>Underneath this menu bar is a list of items in a scrollable list. This Widget is of the type XmList. The XmList lets you keep a selection of items in a visible list. It has scroll bars to enable the user to scroll the list if the entire list isn't 
visible. A programmer can set the number of items that are visible at one time. If you resize the window, and if the list box sizes itself proportionately with the window, the number of visible items in a list may change.

<BR>

<P>To select an item, move the pointer to the item of your choice and press Button1 once. The item is highlighted in a darker color. Some lists enable you to select more than one item, and others, just one item. In this application, you only select one 
type of dialog box. (Figure 23.6 shows the bulletin board item to be the selected item.)

<BR>

<P>The scroll bars on the side of the list Widget are of the class XmScrollbar. A scroll bar is either a horizontal or vertical rectangle. There is a raised box in the rectangle called the slider box. This slider moves within the larger rectangle. The 
movable space for the slider bar is called the scroll region. The ratio of the size of the slider bar to the scroll region is proportional to the size of the work area to the total area being viewed.

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆精品一区二区综合av| 欧美老女人在线| 国产一区二区不卡老阿姨| 蜜臀a∨国产成人精品| 午夜成人免费视频| 亚洲国产日韩一级| 成人欧美一区二区三区1314| 久久亚洲私人国产精品va媚药| 欧美一卡二卡在线| 欧美一区二区三区系列电影| 91精品麻豆日日躁夜夜躁| 欧美日产国产精品| 欧美日韩精品福利| 91精品国产综合久久蜜臀| 亚洲影视在线观看| 一区二区三区久久| 亚洲综合图片区| 亚洲成人久久影院| 日韩成人午夜电影| 久久草av在线| 国产宾馆实践打屁股91| 成人h动漫精品一区二| 91亚洲永久精品| 色欧美片视频在线观看| 欧美性xxxxxxxx| 91精品国产综合久久久久久漫画 | 一区二区在线看| 亚洲人精品一区| 亚洲国产一区二区三区| 日本在线观看不卡视频| 国产在线播放一区二区三区| 福利一区二区在线| 色综合激情久久| 欧美日韩国产高清一区二区三区| 欧美一区二区三区在线| 国产婷婷一区二区| 亚洲人成在线观看一区二区| 亚洲成年人网站在线观看| 免费看欧美女人艹b| 国产精品自拍毛片| 日本精品视频一区二区| 欧美美女直播网站| 久久天天做天天爱综合色| 中文字幕一区二区5566日韩| 婷婷开心激情综合| 狠狠色丁香久久婷婷综| 99久久精品国产观看| 欧美剧在线免费观看网站| 久久综合久久鬼色中文字| 亚洲人成网站影音先锋播放| 日韩vs国产vs欧美| 国产精品一二三四五| 91久久精品一区二区二区| 日韩欧美一区在线| 国产精品国产精品国产专区不片| 丝袜a∨在线一区二区三区不卡| 国产精品77777竹菊影视小说| 色婷婷综合激情| 久久综合九色综合欧美98| 一区二区三区日韩在线观看| 国产中文字幕精品| 在线观看一区二区视频| 国产亚洲欧洲997久久综合 | 亚洲国产精品二十页| 亚洲国产成人porn| 久久久噜噜噜久久中文字幕色伊伊 | 老司机午夜精品99久久| 99在线视频精品| 日韩亚洲欧美在线| 亚洲女与黑人做爰| 国产酒店精品激情| 欧美日韩国产美女| 国产精品素人一区二区| 美国av一区二区| 欧美色爱综合网| 亚洲欧洲精品成人久久奇米网| 美女精品一区二区| 欧美亚洲综合一区| 国产日韩综合av| 免费av成人在线| 欧美午夜免费电影| 国产精品国产成人国产三级| 精品一区二区三区在线视频| 91碰在线视频| 中文字幕巨乱亚洲| 久久99精品一区二区三区三区| 欧美在线观看一二区| 国产精品嫩草久久久久| 精品亚洲成a人| 欧美一区午夜精品| 国产精品三级久久久久三级| 久久99精品国产.久久久久 | 一级做a爱片久久| 成人高清视频在线观看| 久久色.com| 欧美一级片在线观看| 亚洲狠狠爱一区二区三区| 色综合天天综合网国产成人综合天| 精品黑人一区二区三区久久 | 成人免费电影视频| 欧美精品一区二区久久婷婷| 久久国产麻豆精品| 欧美一区二区三区免费在线看| 亚洲风情在线资源站| 欧美中文字幕一区二区三区| 亚洲欧美欧美一区二区三区| 99精品欧美一区二区三区小说 | 日本女人一区二区三区| 欧美人妖巨大在线| 婷婷久久综合九色综合绿巨人| 欧美日韩国产综合草草| 亚洲大片在线观看| 欧美日韩激情在线| 日韩av高清在线观看| 欧美一级片在线看| 黄网站免费久久| 国产亚洲成年网址在线观看| 风间由美性色一区二区三区| 亚洲欧洲在线观看av| 91美女片黄在线| 一区二区三区日韩精品| 亚洲精品国产高清久久伦理二区| 在线看一区二区| 亚洲福利一区二区三区| 欧美电影一区二区三区| 七七婷婷婷婷精品国产| 久久综合色之久久综合| 成人久久18免费网站麻豆| 亚洲欧美一区二区三区孕妇| 在线观看国产日韩| 日韩av在线发布| 日韩欧美一二三区| 国产成a人亚洲| 亚洲同性同志一二三专区| 欧美综合视频在线观看| 日本免费在线视频不卡一不卡二| 精品国产污污免费网站入口| 国产成人av网站| 亚洲精品中文字幕在线观看| 欧美美女直播网站| 韩国中文字幕2020精品| 亚洲欧洲精品天堂一级| 欧美区一区二区三区| 国产一区免费电影| 亚洲欧美日韩人成在线播放| 欧美男女性生活在线直播观看| 久久99精品国产.久久久久久| 国产精品国产自产拍在线| 欧美色图免费看| 国产麻豆欧美日韩一区| 一区二区三区在线视频免费观看 | 色先锋资源久久综合| 日韩不卡一二三区| 国产精品视频一二| 欧美日韩精品高清| 国产成人在线视频播放| 亚洲国产日日夜夜| 国产亚洲女人久久久久毛片| 欧美日韩激情一区| 粉嫩蜜臀av国产精品网站| 亚洲综合精品自拍| 久久久九九九九| 欧美日韩在线观看一区二区| 国产精品白丝jk黑袜喷水| 亚洲国产裸拍裸体视频在线观看乱了| 精品久久一区二区| 91精品办公室少妇高潮对白| 狠狠色丁香久久婷婷综合_中| 一区二区三区欧美激情| 久久综合色婷婷| 精品视频一区二区不卡| 国产成人av资源| 蜜臂av日日欢夜夜爽一区| 一区二区三区欧美在线观看| 国产欧美一区二区精品婷婷| 欧美一级免费观看| 在线观看视频一区二区| 成人免费视频网站在线观看| 麻豆成人在线观看| 午夜欧美视频在线观看| 亚洲欧洲精品天堂一级| 久久精品一区八戒影视| 欧美一级久久久久久久大片| 亚洲视频图片小说| 国产午夜亚洲精品不卡| 日韩欧美中文一区| 欧美中文字幕久久| 波多野洁衣一区| 国产精品一区二区在线观看不卡 | 2021国产精品久久精品 | 国产精品久久久久久久久快鸭| 91精品福利在线一区二区三区| 91久久免费观看| 成人午夜大片免费观看| 极品少妇一区二区| 日本欧美加勒比视频| 亚洲一区二区三区在线播放| 亚洲人成人一区二区在线观看| 久久精品夜色噜噜亚洲aⅴ| 欧美大黄免费观看|