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

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

?? gtkrc.sgml

?? linux下電話本所依賴的一些圖形庫
?? SGML
?? 第 1 頁 / 共 2 頁
字號:
<!-- ##### SECTION Title ##### -->Resource Files<!-- ##### SECTION Short_Description ##### -->Routines for handling resource files<!-- ##### SECTION Long_Description ##### --><para>GTK+ provides resource file mechanism for configuringvarious aspects of the operation of a GTK+ programat runtime.</para><refsect2><title>Default files</title><para>An application can cause GTK+ to parse a specific RCfile by calling gtk_rc_parse(). In addition to this,certain files will be read at the end of gtk_init().Unless modified, the files looked for will be <filename>&lt;SYSCONFDIR&gt;/gtk-2.0/gtkrc</filename> and <filename>.gtkrc-2.0</filename> in the users home directory.(<filename>&lt;SYSCONFDIR&gt;</filename> defaults to <filename>/usr/local/etc</filename>. It can be changed with the<option>--prefix</option> or <option>--sysconfdir</option> options when configuring GTK+.) Note that although the filenames contain the version number 2.0, all 2.x versions of GTK+ look for these files.  </para><para>The set of these <firstterm>default</firstterm> filescan be retrieved with gtk_rc_get_default_files()and modified with gtk_rc_add_default_file() andgtk_rc_set_default_files().Additionally, the <envar>GTK2_RC_FILES</envar> environment variablecan be set to a #G_SEARCHPATH_SEPARATOR_S-separated list of filesin order to overwrite the set of default files at runtime.</para><para><anchor id="locale-specific-rc"/>For each RC file, in addition to the file itself, GTK+ will look for a locale-specific file that will be parsed after the main file. For instance, if <envar>LANG</envar> is set to <literal>ja_JP.ujis</literal>,when loading the default file <filename>~/.gtkrc</filename> then GTK+ looks for <filename>~/.gtkrc.ja_JP</filename> and <filename>~/.gtkrc.ja</filename>, and parses the first of those that exists.</para></refsect2><refsect2><title>Pathnames and patterns</title><para>A resource file defines a number of styles and key bindings andattaches them to particular widgets. The attachment is doneby the <literal>widget</literal>, <literal>widget_class</literal>,and <literal>class</literal> declarations. As an exampleof such a statement:<informalexample><programlisting>widget "mywindow.*.GtkEntry" style "my-entry-class"</programlisting></informalexample>attaches the style <literal>"my-entry-class"</literal>to all widgets whose <firstterm>widget class</firstterm>matches the <firstterm>pattern</firstterm><literal>"mywindow.*.GtkEntry"</literal>.</para><para>The patterns here are given in the standard shell globsyntax. The <literal>"?"</literal> wildcard matchesany character, while <literal>"*"</literal> matcheszero or more of any character. The three types ofmatching are against the widget path, the<firstterm>class path</firstterm> and the classhierarchy. Both the widget and the class paths consists of a<literal>"."</literal> separated list of all theparents of the widget and the widget itself fromoutermost to innermost. The difference is that inthe widget path, the name assigned bygtk_widget_set_name() is usedif present, otherwise the class name of the widget, whilefor the class path, the class name is always used.</para><para>So, if you have a #GtkEntry named<literal>"myentry"</literal>, inside of a of a windownamed <literal>"mywindow"</literal>, then thewidget path is: <literal>"mwindow.GtkHBox.myentry"</literal>while the class path is: <literal>"GtkWindow.GtkHBox.GtkEntry"</literal>.</para><para>Matching against class is a little different. The patternmatch is done against all class names in the widgetsclass hierarchy (not the layout hierarchy) in sequence, so thepattern:<informalexample><programlisting>class "GtkButton" style "my-style"</programlisting></informalexample>will match not just #GtkButton widgets,but also #GtkToggleButton and#GtkCheckButton widgets, sincethose classes derive from #GtkButton.</para><para>Additionally, a priority can be specified for each pattern, and styles override other styles first by priority, then by pattern type and then by order of specification (later overrides earlier). The priorities that can be specified are (highest to lowest):<simplelist><member><literal>highest</literal></member><member><literal>rc</literal></member><member><literal>theme</literal></member><member><literal>application</literal></member><member><literal>gtk</literal></member><member><literal>lowest</literal></member></simplelist><literal>rc</literal> is the default for stylesread from an RC file, <literal>theme</literal>is the default for styles read from theme RC files,<literal>application</literal> should be used for styles an application setsup, and <literal>gtk</literal> is used for stylesthat GTK+ creates internally.</para></refsect2><refsect2><title>Toplevel declarations</title><para>An RC file is a text file which is composed of a sequenceof declarations. <literal>'#'</literal> characters delimit comments andthe portion of a line after a <literal>'#'</literal> is ignored when parsingan RC file.</para><para>The possible toplevel declarations are:<variablelist>  <varlistentry>    <term><literal>binding <replaceable>name</replaceable>     { ... }</literal></term>    <listitem>      <para>Declares a binding set.</para>    </listitem>  </varlistentry>  <varlistentry>    <term><literal>class <replaceable>pattern</replaceable>           [ style | binding ][ : <replaceable>priority</replaceable> ]          <replaceable>name</replaceable></literal></term>    <listitem>     <para>Specifies a style or binding set for a particular     branch of the inheritance hierarchy.</para>    </listitem>  </varlistentry>  <varlistentry>    <term><literal>include <replaceable>filename</replaceable></literal></term>    <listitem>      <para>Parses another file at this point. If        <replaceable>filename</replaceable> is not an absolute filename,         it is searched in the directories of the currently open RC files.      </para>      <para>GTK+ also tries to load a         <link linkend="locale-specific-rc">locale-specific variant</link> of        the included file.       </para>    </listitem>  </varlistentry>  <varlistentry>    <term><literal>module_path <replaceable>path</replaceable></literal></term>    <listitem>      <para>Sets a path (a list of directories separated      by colons) that will be searched for theme engines referenced in      RC files.</para>    </listitem>  </varlistentry>  <varlistentry>    <term><literal>pixmap_path <replaceable>path</replaceable></literal></term>    <listitem>      <para>Sets a path (a list of directories separated      by colons) that will be searched for pixmaps referenced in      RC files.</para>    </listitem>  </varlistentry>  <varlistentry>    <term><literal>im_module_file <replaceable>pathname</replaceable></literal></term>    <listitem>      <para>Sets the pathname for the IM modules file. Setting this from RC files      is deprecated; you should use the environment variable <envar>GTK_IM_MODULE_FILE</envar>      instead.</para>    </listitem>  </varlistentry>  <varlistentry>    <term><literal>style <replaceable>name</replaceable> [ =    <replaceable>parent</replaceable> ] { ... }</literal></term>    <listitem>      <para>Declares a style.</para>    </listitem>  </varlistentry>  <varlistentry>    <term><literal>widget <replaceable>pattern</replaceable>           [ style | binding ][ : <replaceable>priority</replaceable> ]          <replaceable>name</replaceable></literal></term>    <listitem>     <para>Specifies a style or binding set for a particular     group of widgets by matching on the widget pathname.</para>    </listitem>  </varlistentry>  <varlistentry>    <term><literal>widget_class <replaceable>pattern</replaceable>           [ style | binding ][ : <replaceable>priority</replaceable> ]          <replaceable>name</replaceable></literal></term>    <listitem>     <para>Specifies a style or binding set for a particular     group of widgets by matching on the class pathname.</para>    </listitem>  </varlistentry>  <varlistentry>    <term><replaceable>setting</replaceable> = <replaceable>value</replaceable></term>    <listitem>      <para>Specifies a value for a <link linkend="GtkSettings">setting</link>. Note that        settings in RC files are overwritten by system-wide settings which are managed by        an XSettings manager.</para>    </listitem>  </varlistentry></variablelist></para></refsect2><refsect2><title>Styles</title><para>A RC style is specified by a <literal>style</literal> declaration in a RC file, and then bound to widgetswith a <literal>widget</literal>, <literal>widget_class</literal>,or <literal>class</literal> declaration. All stylesapplying to a particular widget are composited togetherwith <literal>widget</literal> declarations overriding<literal>widget_class</literal> declarations which, inturn, override <literal>class</literal> declarations.Within each type of declaration, later declarations overrideearlier ones.</para><para>Within a <literal>style</literal> declaration, the possibleelements are:<variablelist>  <varlistentry>    <term><literal>bg[<replaceable>state</replaceable>] =      <replaceable>color</replaceable></literal></term>     <listitem>       <para>         Sets the color used for the background of most widgets.       </para>     </listitem>  </varlistentry>  <varlistentry>    <term><literal>fg[<replaceable>state</replaceable>] =      <replaceable>color</replaceable></literal></term>     <listitem>       <para>         Sets the color used for the foreground of most widgets.       </para>     </listitem>  </varlistentry>  <varlistentry>    <term><literal>base[<replaceable>state</replaceable>] =      <replaceable>color</replaceable></literal></term>     <listitem>       <para>         Sets the color used for the background of widgets displaying         editable text. This color is used for the background         of, among others, #GtkText, #GtkEntry, #GtkList, and #GtkCList.       </para>     </listitem>  </varlistentry>  <varlistentry>    <term><literal>text[<replaceable>state</replaceable>] =      <replaceable>color</replaceable></literal></term>     <listitem>       <para>         Sets the color used for foreground of widgets using         <literal>base</literal> for the background color.       </para>     </listitem>  </varlistentry>  <varlistentry>    <term><literal>xthickness =      <replaceable>number</replaceable></literal></term>     <listitem>       <para>         Sets the xthickness, which is used for various horizontal padding         values in GTK+.       </para>     </listitem>  </varlistentry>  <varlistentry>    <term><literal>ythickness =      <replaceable>number</replaceable></literal></term>     <listitem>       <para>         Sets the ythickness, which is used for various vertical padding         values in GTK+.       </para>     </listitem>  </varlistentry>  <varlistentry>    <term><literal>bg_pixmap[<replaceable>state</replaceable>] =      <replaceable>pixmap</replaceable></literal></term>     <listitem>       <para>         Sets a background pixmap to be used in place of         the <literal>bg</literal> color (or for #GtkText,         in place of the <literal>base</literal> color. The special         value <literal>"&lt;parent&gt;"</literal> may be used to indicate that the widget should         use the same background pixmap as its parent. The special value         <literal>"&lt;none&gt;"</literal> may be used to indicate no background pixmap.       </para>     </listitem>  </varlistentry>  <varlistentry>    <term><literal>font = <replaceable>font</replaceable></literal></term>     <listitem>       <para>         Starting with GTK+ 2.0, the "font" and "fontset"         declarations are ignored; use "font_name" declarations instead.       </para>     </listitem>  </varlistentry>  <varlistentry>    <term><literal>fontset = <replaceable>font</replaceable></literal></term>     <listitem>       <para>         Starting with GTK+ 2.0, the "font" and "fontset"         declarations are ignored; use "font_name" declarations instead.       </para>     </listitem>  </varlistentry>  <varlistentry>    <term><literal>font_name = <replaceable>font</replaceable></literal></term>     <listitem>       <para>         Sets the font for a widget. <replaceable>font</replaceable> must be          a Pango font name, e.g. <literal>"Sans Italic 10"</literal>.          For details about Pango font names, see          pango_font_description_from_string().       </para>     </listitem>     </varlistentry>  <varlistentry>    <term><literal>stock[<replaceable>"stock-id"</replaceable>] = { <replaceable>icon source specifications</replaceable> }</literal></term>     <listitem>       <para>        Defines the icon for a stock item.       </para>     </listitem>  </varlistentry>  <varlistentry>    <term><literal>engine <replaceable>"engine"</replaceable> { <replaceable>engine-specificsettings</replaceable> }</literal></term>     <listitem>       <para>        Defines the engine to be used when drawing with this style.       </para>     </listitem>  </varlistentry>  <varlistentry>    <term><literal><replaceable>class</replaceable>::<replaceable>property</replaceable> = <replaceable>value</replaceable></literal></term>     <listitem>       <para>        Sets a <link linkend="style-properties">style property</link> for a widget class.       </para>     </listitem>  </varlistentry></variablelist></para><para>The colors and background pixmaps are specified as a function of thestate of the widget. The states are:<variablelist>  <varlistentry>    <term><literal>NORMAL</literal></term>    <listitem>      <para>        A color used for a widget in its normal state.      </para>    </listitem>  </varlistentry>  <varlistentry>    <term><literal>ACTIVE</literal></term>    <listitem>      <para>        A variant of the <literal>NORMAL</literal> color used when the        widget is in the %GTK_STATE_ACTIVE state, and also for        the trough of a ScrollBar, tabs of a NoteBook        other than the current tab and similar areas.        Frequently, this should be a darker variant        of the <literal>NORMAL</literal> color.      </para>    </listitem>  </varlistentry>  <varlistentry>    <term><literal>PRELIGHT</literal></term>    <listitem>      <para>        A color used for widgets in the %GTK_STATE_PRELIGHT state. This        state is the used for Buttons and MenuItems        that have the mouse cursor over them, and for         their children.      </para>    </listitem>  </varlistentry>  <varlistentry>    <term><literal>SELECTED</literal></term>    <listitem>      <para>        A color used to highlight data selected by the user.        for instance, the selected items in a list widget, and the        selection in an editable widget.      </para>    </listitem>  </varlistentry>  <varlistentry>    <term><literal>INSENSITIVE</literal></term>    <listitem>      <para>        A color used for the background of widgets that have        been set insensitive with gtk_widget_set_sensitive().      </para>    </listitem>  </varlistentry></variablelist></para><para><anchor id="color-format"/>Colors can be specified as a string containing a color name (GTK+ knowsall names from the X color database <filename>/usr/lib/X11/rgb.txt</filename>),  in one of the hexadecimal forms <literal>&num;rrrrggggbbbb</literal>,<literal>&num;rrrgggbbb</literal>, <literal>&num;rrggbb</literal>,or <literal>&num;rgb</literal>, where <literal>r</literal>,<literal>g</literal> and <literal>b</literal> arehex digits, or they can be specified as a triplet <literal>{ <replaceable>r</replaceable>, <replaceable>g</replaceable>,<replaceable>b</replaceable>}</literal>, where <literal>r</literal>,<literal>g</literal> and <literal>b</literal> are either integers in the range 0-65535 or floats in the range 0.0-1.0.</para><para>In a <literal>stock</literal> definition, icon sources are specified as a4-tuple of image filename or icon name, text direction, widget state, and size, in thatorder.  Each icon source specifies an image filename or icon name to use with a givendirection, state, and size. Filenames are specified as a string suchas <literal>"itemltr.png"</literal>, while icon names (looked upin the current icon theme), are specified with a leading<literal>@</literal>, such as <literal>@"item-ltr"</literal>.The <literal>*</literal> character can be used as awildcard, and if direction/state/size are omitted they default to

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一级精品大片| 午夜伊人狠狠久久| 亚洲免费色视频| 免费看日韩a级影片| 成人免费高清在线观看| 日韩欧美在线一区二区三区| 亚洲欧美日韩一区二区| 国产传媒欧美日韩成人| 欧美精品在欧美一区二区少妇| 亚洲国产激情av| 麻豆国产精品官网| 欧美日韩在线三区| 亚洲丝袜另类动漫二区| 国产不卡视频在线观看| 日韩欧美国产综合| 五月天欧美精品| 色婷婷av一区二区三区软件| 国产午夜精品一区二区三区嫩草| 视频在线在亚洲| 欧美三区在线视频| 一区二区国产视频| 色狠狠桃花综合| 亚洲视频在线观看三级| www.亚洲在线| **性色生活片久久毛片| 国产精品一级片在线观看| 欧美刺激午夜性久久久久久久| 亚洲1区2区3区视频| 欧美性欧美巨大黑白大战| 亚洲欧美一区二区三区极速播放| 成人app在线观看| 国产精品国产三级国产三级人妇| 大桥未久av一区二区三区中文| 国产日韩欧美一区二区三区乱码 | 91精品国产91久久综合桃花 | 国产偷国产偷精品高清尤物 | 久久久久久久久久久99999| 青青草原综合久久大伊人精品优势 | 亚洲婷婷在线视频| 色综合久久综合网97色综合| 亚洲精品五月天| 欧美性感一类影片在线播放| 香蕉久久夜色精品国产使用方法 | 依依成人综合视频| 欧美性生交片4| 青青草视频一区| 久久毛片高清国产| a亚洲天堂av| 洋洋成人永久网站入口| 91精品国产一区二区三区蜜臀| 麻豆精品精品国产自在97香蕉| 一区二区三区四区国产精品| 欧美在线免费观看亚洲| 青青草国产成人av片免费| 日韩免费看的电影| 99久久免费视频.com| 亚洲国产人成综合网站| 日韩欧美国产一区二区在线播放| 国产成人免费视频网站| 亚洲三级在线免费观看| 欧美酷刑日本凌虐凌虐| 国产乱人伦偷精品视频免下载| 亚洲天堂2016| 精品国产在天天线2019| 成人h精品动漫一区二区三区| 亚洲综合视频在线| 精品久久久久久久久久久久久久久久久| 精品一区二区三区在线观看| 国产精品久久久久久久久动漫| 欧美三级电影网站| 国产美女在线观看一区| 一级女性全黄久久生活片免费| 欧美丰满少妇xxxxx高潮对白| 国产成人在线电影| 天天亚洲美女在线视频| 国产精品视频第一区| 8x8x8国产精品| 暴力调教一区二区三区| 久久av老司机精品网站导航| 一区二区三区免费看视频| 欧美xxxxxxxxx| 欧美视频中文字幕| 成人一区在线观看| 毛片av中文字幕一区二区| 亚洲欧洲综合另类| 国产欧美一区在线| 欧美电影免费观看高清完整版在| 色噜噜夜夜夜综合网| 国产精品香蕉一区二区三区| 日本欧美加勒比视频| 一区二区久久久| 国产精品电影一区二区| 精品国产一区二区三区不卡 | 久久久久久久久久久电影| 4438x成人网最大色成网站| 91免费小视频| 成人动漫av在线| 国产精品亚洲成人| 日产精品久久久久久久性色| 一级女性全黄久久生活片免费| 国产精品传媒入口麻豆| 欧美激情综合五月色丁香 | 欧美另类z0zxhd电影| 99久久精品国产观看| 成人小视频在线| 成人性视频免费网站| 国产成人在线看| 国产99久久精品| 国产不卡在线一区| 国产精品白丝jk黑袜喷水| 国产在线看一区| 国产精品一区专区| 国产一区久久久| 国产成人在线视频播放| 国产成人亚洲综合a∨猫咪| 国产精品主播直播| 国产成人自拍网| av中文一区二区三区| 91社区在线播放| 一本久久综合亚洲鲁鲁五月天| 91在线视频官网| 色8久久精品久久久久久蜜| 91国内精品野花午夜精品| 欧美色综合久久| 欧美喷潮久久久xxxxx| 6080国产精品一区二区| 精品乱人伦小说| 国产视频一区二区三区在线观看| 欧美激情在线一区二区| 亚洲欧美另类综合偷拍| 亚洲一区二区三区国产| 美国av一区二区| 成人免费毛片a| 在线看日本不卡| 日韩欧美一级二级三级久久久| 久久中文字幕电影| 中文字幕av一区二区三区免费看| 国产精品的网站| 午夜影视日本亚洲欧洲精品| 久久成人免费电影| 99国产精品久久久久久久久久| 欧美三级电影网| 久久久电影一区二区三区| 日韩一区中文字幕| 日本亚洲欧美天堂免费| 成人免费视频国产在线观看| 欧美私人免费视频| 久久免费国产精品 | 国产精品高潮呻吟久久| 亚洲一卡二卡三卡四卡五卡| 日本不卡视频在线观看| eeuss鲁片一区二区三区在线看 | 色国产综合视频| www日韩大片| 亚洲综合一区二区三区| 国产一区二区三区高清播放| 欧美亚洲日本一区| 久久久久久久久蜜桃| 亚洲第一福利视频在线| 国产成人av电影| 制服丝袜亚洲精品中文字幕| 日韩国产欧美在线播放| 成人高清免费观看| 欧美va亚洲va| 午夜日韩在线电影| 91亚洲精品乱码久久久久久蜜桃| 日韩午夜在线观看视频| 一区二区三区四区视频精品免费| 黑人巨大精品欧美一区| 欧美日韩一区二区三区免费看| 久久九九久久九九| 免费欧美日韩国产三级电影| 欧美综合色免费| 国产精品萝li| 国产成人午夜精品影院观看视频 | 精品国产一区二区三区四区四| 亚洲免费在线看| 成人在线视频首页| 久久新电视剧免费观看| 日韩精品久久理论片| 在线观看视频欧美| 综合久久久久久| 不卡的av在线播放| 国产精品视频一二三区| 国产一区二区三区免费播放| 在线不卡a资源高清| 亚洲高清免费视频| 91黄色免费网站| 亚洲人成影院在线观看| 国产不卡一区视频| 亚洲国产精品成人综合| 国产福利一区二区三区在线视频| 日韩三级视频在线看| 男人的j进女人的j一区| 91精品国产一区二区三区| 男人操女人的视频在线观看欧美| 正在播放亚洲一区| 日本视频一区二区三区| 日韩免费视频一区二区| 狠狠色综合日日|