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

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

?? sec-help.html

?? gtk_text program sample&eg
?? HTML
字號:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html>  <head>    <title>      Online Help    </title>    <meta name="GENERATOR" content=    "Modular DocBook HTML Stylesheet Version 1.45">    <link rel="HOME" title="GTK+ / Gnome Application Development"    href="ggad.html">    <link rel="UP" title="The Main Window: GnomeApp" href=     "cha-main.html">    <link rel="PREVIOUS" title="Adding a Status Bar" href=    "z91.html">    <link rel="NEXT" title="Finishing Touches" href="z94.html">  </head>  <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink=   "#840084" alink="#0000FF">    <div class="NAVHEADER">      <table width="100%" border="0" bgcolor="#ffffff" cellpadding=       "1" cellspacing="0">        <tr>          <th colspan="4" align="center">            <font color="#000000" size="2">GTK+ / Gnome Application            Development</font>          </th>        </tr>        <tr>          <td width="25%" bgcolor="#ffffff" align="left">            <a href="z91.html"><font color="#0000ff" size="2"><b>            &lt;&lt;&lt; Previous</b></font></a>          </td>          <td width="25%" colspan="2" bgcolor="#ffffff" align=           "center">            <font color="#0000ff" size="2"><b><a href="ggad.html">            <font color="#0000ff" size="2"><b>            Home</b></font></a></b></font>          </td>          <td width="25%" bgcolor="#ffffff" align="right">            <a href="z94.html"><font color="#0000ff" size="2"><b>            Next &gt;&gt;&gt;</b></font></a>          </td>        </tr>      </table>    </div>    <div class="SECT1">      <h1 class="SECT1">        <a name="SEC-HELP">Online Help</a>      </h1>      <p>        Finished applications should provide online help and        documentation. Of course, the first "line of defense" is to        have an intuitive interface in the first place. But you        should give users a way to get more information if they        need it.      </p>      <p>        This section describes the two major ways you can explain        your interface to users:      </p>      <ul>        <li>          <p>            By writing documentation, and providing buttons and            menu items that jump to relevant sections. For example,            the "Help" button in a properties dialog should bring            up a help window describing the dialog.&#13;          </p>        </li>        <li>          <p>            By adding "tooltips," explanatory text that appears if            the mouse remains motionless over a widget for a short            time. For menu items, explanatory text appears in the            window's status bar as the user moves over the            item.&#13;          </p>        </li>      </ul>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z92">Gnome Documentation and Help Menu Items</a>        </h2>        <p>          The Gnome documentation installation process was          described in <a href="z72.html#SEC-INSTALLDOCS">the          section called <i>Documentation</i> in the chapter called          <i>Creating Your Source Tree</i></a>. Recall that          applications install documentation in HTML format in          directories named after locales. Each locale directory          contains both help files and a <tt class="FILENAME">          topic.dat</tt> file indexing the available help topics.        </p>        <p>          Gnome makes it ridiculously easy to create menu items for          the nodes in <tt class="FILENAME">topic.dat</tt>. Simply          create a help menu using the <tt class="FUNCTION">          GNOMEUIINFO_HELP()</tt> macro, like this:        </p>        <table border="0" bgcolor="#E0E0E0" width="100%">          <tr>            <td><pre class="PROGRAMLISTING">&#13;static GnomeUIInfo help_menu [] = {  GNOMEUIINFO_HELP ("gnome-hello"),    GNOMEUIINFO_MENU_ABOUT_ITEM(about_cb, NULL),    GNOMEUIINFO_END};&#13;</pre>            </td>          </tr>        </table>        <p>          The single argument to <tt class="FUNCTION">          GNOMEUIINFO_HELP()</tt> is the name of the directory          where you've installed your help files. The Gnome          libraries will read <tt class="FILENAME">topic.dat</tt>          for the user's locale (or the C locale if there is no          translation) and create a menu item for each topic.          Activating these menu items will launch a help browser to          display the appropriate URL. (Users can configure the          exact browser Gnome will launch.) If <tt class=          "FILENAME">topic.dat</tt> isn't found, Gnome creates no          menu items.        </p>        <p>          In other contexts, you will have to manually set up          widgets and callbacks to open your help files. Gnome          provides some helper functions; the two most important          ones are shown in <a href="sec-help.html#FL-GNOMEHELP">          Figure 10</a>. <tt class="FUNCTION">          gnome_help_file_find_file()</tt> returns the complete          path to a help file, given the name of your help          directory and the name of a help file (relative to one of          the locale directories). If the help file is not found,          <span class="STRUCTNAME">NULL</span> is returned. For          example:        </p>        <table border="0" bgcolor="#E0E0E0" width="100%">          <tr>            <td><pre class="PROGRAMLISTING">&#13;  gchar* helpfile;    helpfile = gnome_help_file_find_file("gnome-hello",                                       "gnome-hello.html");  if (helpfile != NULL)    {      gchar* url;      url = g_strconcat("file:", helpfile, NULL);      gnome_help_goto(NULL, url);      g_free(url);      g_free(helpfile);    }  else    {      gnome_error_dialog(_("Couldn't find the GnomeHello manual!"));    }&#13;</pre>            </td>          </tr>        </table>        <p>          <tt class="FUNCTION">gnome_help_file_find_file()</tt>          takes the user's locale into account when generating the          help file's pathname.        </p>        <p>          <tt class="FUNCTION">gnome_help_goto()</tt> simply          directs the help browser to a URL. You must prepend <span          class="STRUCTNAME">"file:"</span> to a path to make it a          valid URL before calling this function. The first          argument to <tt class="FUNCTION">gnome_help_goto()</tt>          is ignored; this makes it convenient to connect <tt          class="FUNCTION">gnome_help_goto()</tt> as a callback          function, for example to a button's <span class="SYMBOL">          "clicked"</span> signal.        </p>        <p>          <tt class="FILENAME">libgnome/gnome-help.h</tt> contains          a few other variants of <tt class="FUNCTION">          gnome_help_goto()</tt> suited for connection to signals          with different signatures; in particular, there's a          callback there for the <tt class="CLASSNAME">          GnomePropertyBox</tt>'s <span class="SYMBOL">          "help"</span> signal.        </p>        <p>          One caveat: the Gnome libraries look for files in the          Gnome installation prefix, not in your application's          installation prefix. For now, users should install Gnome          applications and libraries in the same place. This was          done for simplicity's sake when Gnome was much smaller;          it's clearly the wrong behavior and will be fixed in a          future version. If you use Gnome library functions such          as <tt class="FUNCTION">gnome_help_file_find_file()</tt>,          your application will automatically take advantage of          this future Gnome enhancement.        </p>        <div class="FIGURE">          <a name="FL-GNOMEHELP"></a>          <div class="FUNCSYNOPSIS">            <a name="FL-GNOMEHELP.SYNOPSIS"></a>            <table border="0" bgcolor="#E0E0E0" width="100%">              <tr>                <td><pre class="FUNCSYNOPSISINFO">#include &lt;libgnome/gnome-help.h&gt;</pre>                </td>              </tr>            </table>            <p>              <code><code class="FUNCDEF">gchar* <tt class=              "FUNCTION">              gnome_help_file_find_file</tt></code>(const gchar*              <tt class="PARAMETER"><i>app</i></tt>, const gchar*              <tt class="PARAMETER"><i>filename</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">gnome_help_goto</tt></code>(void* <tt              class="PARAMETER"><i>ignore</i></tt>, const gchar*              <tt class="PARAMETER"><i>url</i></tt>);</code>            </p>          </div>          <p>            <b>Figure 10. Help Files</b>          </p>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z93">Menu Hints</a>        </h2>        <p>          As the user moves over your application menus, a short          description of each menu item should appear in the          statusbar. Gnome makes this very easy; just call the <tt          class="FUNCTION">gnome_app_install_menu_hints()</tt> (<a          href="sec-help.html#FL-MENUHINTS">Figure 11</a>) after          you create your menus and statusbar. The <span class=           "STRUCTNAME">GnomeUIInfo</span> struct passed to this          function must have its <span class="STRUCTNAME">          widget</span> fields filled in by one of the          menu-creation functions, and the <span class=          "STRUCTNAME">GnomeApp</span> must have a <span class=           "STRUCTNAME">GnomeAppBar</span> or <span class=          "STRUCTNAME">GtkStatusbar</span> in its statusbar slot.        </p>        <div class="FIGURE">          <a name="FL-MENUHINTS"></a>          <div class="FUNCSYNOPSIS">            <a name="FL-MENUHINTS.SYNOPSIS"></a>            <table border="0" bgcolor="#E0E0E0" width="100%">              <tr>                <td><pre class="FUNCSYNOPSISINFO">#include &lt;libgnomeui/gnome-app-helper.h&gt;</pre>                </td>              </tr>            </table>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_app_install_menu_hints</tt></code>(GnomeApp*              <tt class="PARAMETER"><i>app</i></tt>, GnomeUIInfo*              <tt class="PARAMETER"><i>uiinfo</i></tt>);</code>            </p>          </div>          <p>            <b>Figure 11. Installing Menu Hints</b>          </p>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="SEC-TOOLTIPS">Tooltips</a>        </h2>        <p>          GTK+ provides tooltip functionality; you simply create a          <span class="STRUCTNAME">GtkTooltips</span> and attach it          to a widget. I like to use the following convenience          function in my applications:        </p>        <table border="0" bgcolor="#E0E0E0" width="100%">          <tr>            <td><pre class="PROGRAMLISTING">&#13;voidset_tooltip(GtkWidget* w, const gchar* tip){  GtkTooltips* t = gtk_tooltips_new();  gtk_tooltips_set_tip (t, w, tip, NULL);}&#13;</pre>            </td>          </tr>        </table>        <p>          The <span class="STRUCTNAME">GtkTooltips</span> will be          destroyed along with the widget. Make your tooltips long          rather than short; there's no reason to skimp on the          amount of information you provide here. You should get in          the habit of calling <tt class="FUNCTION">          set_tooltip()</tt> every time you create a button or          other widget that could benefit from it.        </p>        <p>          Note that toolbars created from a <span class=          "STRUCTNAME">GnomeUIInfo</span> template will have          tooltips installed automatically.        </p>      </div>    </div>    <div class="NAVFOOTER">      <br>      <br>      <table width="100%" border="0" bgcolor="#ffffff" cellpadding=       "1" cellspacing="0">        <tr>          <td width="25%" bgcolor="#ffffff" align="left">            <a href="z91.html"><font color="#0000ff" size="2"><b>            &lt;&lt;&lt; Previous</b></font></a>          </td>          <td width="25%" colspan="2" bgcolor="#ffffff" align=           "center">            <font color="#0000ff" size="2"><b><a href="ggad.html">            <font color="#0000ff" size="2"><b>            Home</b></font></a></b></font>          </td>          <td width="25%" bgcolor="#ffffff" align="right">            <a href="z94.html"><font color="#0000ff" size="2"><b>            Next &gt;&gt;&gt;</b></font></a>          </td>        </tr>        <tr>          <td colspan="2" align="left">            <font color="#000000" size="2"><b>Adding a Status            Bar</b></font>          </td>          <td colspan="2" align="right">            <font color="#000000" size="2"><b>Finishing            Touches</b></font>          </td>        </tr>      </table>    </div>  </body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久日一线二线三线suv| 激情欧美一区二区| 在线观看av一区二区| 亚洲综合精品自拍| 欧美日韩日日摸| 久久精品av麻豆的观看方式| 久久只精品国产| 99久久免费国产| 洋洋av久久久久久久一区| 欧美精品色综合| 狠狠色2019综合网| 国产精品日日摸夜夜摸av| 在线精品视频一区二区| 日本亚洲一区二区| 欧美国产激情二区三区| 欧美在线观看视频在线| 久久99国产精品免费网站| 亚洲国产成人自拍| 欧美性色黄大片| 精品在线播放免费| 亚洲私人影院在线观看| 日韩一区二区免费在线电影| 国产精品一区二区三区四区| 亚洲欧美日韩一区二区三区在线观看| 欧美日韩在线观看一区二区 | 久久久久久久久久久久久久久99 | 成人一道本在线| 一区二区三区国产豹纹内裤在线 | 亚洲国产高清不卡| 欧美人动与zoxxxx乱| 国产成人在线视频网站| 亚洲第一在线综合网站| 久久亚洲捆绑美女| 欧美优质美女网站| 粉嫩一区二区三区性色av| 丝袜脚交一区二区| 国产精品理论片在线观看| 51精品国自产在线| 91免费看视频| 国产精品乡下勾搭老头1| 亚洲国产精品久久久久秋霞影院| 日韩精品一区二区三区中文精品| 日本道精品一区二区三区| 国产伦精品一区二区三区免费| 一级精品视频在线观看宜春院| 精品久久久久久久一区二区蜜臀| 在线观看免费视频综合| 丁香一区二区三区| 久久er99精品| 欧美a级理论片| 亚洲综合另类小说| 亚洲伦在线观看| 26uuu色噜噜精品一区二区| 欧美日韩极品在线观看一区| 97久久精品人人做人人爽50路 | 91亚洲精品一区二区乱码| 激情久久久久久久久久久久久久久久| 亚洲综合一区二区三区| 国产精品第一页第二页第三页 | 国产精品传媒视频| 亚洲精品在线一区二区| 欧美变态tickling挠脚心| 欧美日本一道本| 欧美在线观看一二区| 日本黄色一区二区| 在线视频亚洲一区| 91在线精品一区二区三区| 成人午夜视频免费看| 国产精品一级在线| 国产成a人无v码亚洲福利| 国产一区二区视频在线播放| 美国av一区二区| 青青草97国产精品免费观看无弹窗版| 亚洲影视在线观看| 亚洲成在线观看| 亚洲v中文字幕| 日韩电影免费在线| 久久99久久久欧美国产| 激情五月婷婷综合| 国产综合色视频| 高清国产一区二区三区| 岛国一区二区在线观看| 成人av在线看| 91捆绑美女网站| 欧美在线一区二区| 6080日韩午夜伦伦午夜伦| 欧美久久久久免费| 欧美变态凌虐bdsm| 久久精品夜色噜噜亚洲a∨| 中文字幕成人av| 一区二区三区四区中文字幕| 亚洲成人激情av| 麻豆精品久久久| 国产激情偷乱视频一区二区三区| 国产ts人妖一区二区| 91在线视频官网| 欧美日韩黄色一区二区| 日韩视频一区二区三区在线播放 | 日本人妖一区二区| 国产一区二区三区综合| 成人午夜短视频| 在线亚洲精品福利网址导航| 欧美精品久久99| 久久麻豆一区二区| 亚洲蜜臀av乱码久久精品| 日韩影院在线观看| 国产精品99久久久久| 日本精品一区二区三区高清| 日韩视频一区二区三区在线播放| 精品国产sm最大网站| 综合久久给合久久狠狠狠97色| 亚洲国产视频一区| 国产不卡视频在线观看| 欧美综合天天夜夜久久| 国产亚洲精品资源在线26u| 一区二区不卡在线视频 午夜欧美不卡在 | 久久丝袜美腿综合| 国产精品美女久久久久久久久久久| 国产欧美一区二区精品忘忧草| 国产精品系列在线| 亚洲成人激情av| 国产成人精品一区二| 91视频91自| 91丝袜国产在线播放| 欧美久久久一区| 国产精品污网站| 艳妇臀荡乳欲伦亚洲一区| 韩国精品久久久| 色综合久久中文综合久久97| 日韩欧美一区二区免费| 亚洲丝袜制服诱惑| 国产成人av影院| 欧美日韩亚洲国产综合| 久久久久久久久一| 午夜精品久久久久久久久久| 国产一区免费电影| 91精品国产综合久久小美女| 国产精品你懂的在线欣赏| 青青草国产成人99久久| 一本大道久久a久久精品综合| 欧美一二三区在线| 国产精品看片你懂得| 国产在线一区二区| 欧美三区在线视频| 国产日韩欧美综合一区| 午夜视频久久久久久| 成人污视频在线观看| 精品日韩一区二区三区免费视频| 日韩码欧中文字| 韩国欧美一区二区| 欧美日韩和欧美的一区二区| 欧美精彩视频一区二区三区| 日本成人在线网站| 色婷婷久久久亚洲一区二区三区 | 免费高清在线一区| 一道本成人在线| 国产精品视频线看| 国产一区二区三区四区在线观看| 欧美日韩在线综合| 一区二区三区国产豹纹内裤在线| 国产69精品久久久久毛片| 日韩欧美一区二区免费| 亚洲va欧美va国产va天堂影院| 国产乱码精品一品二品| 欧美第一区第二区| 日韩va欧美va亚洲va久久| 欧美色涩在线第一页| 亚洲欧美一区二区不卡| 懂色av中文字幕一区二区三区| 日韩久久久精品| 日产国产高清一区二区三区| 欧美日韩精品电影| 中文字幕一区二区三| 91天堂素人约啪| 亚洲精品视频在线看| 97se亚洲国产综合自在线不卡 | 日韩精品一区二区三区中文精品| 天天av天天翘天天综合网色鬼国产| 99久久综合精品| 国产精品国产三级国产专播品爱网| 国产在线不卡视频| 国产色综合久久| 豆国产96在线|亚洲| 国产精品国产精品国产专区不蜜 | 亚洲超碰精品一区二区| 成人动漫在线一区| 欧美国产精品一区二区三区| 成人国产亚洲欧美成人综合网| 国产午夜精品一区二区| 懂色av一区二区三区免费看| 亚洲美女免费在线| 在线观看av不卡| 秋霞av亚洲一区二区三| 欧美zozozo| 91视频免费看| 亚洲成人高清在线| 精品少妇一区二区三区在线视频| 狠狠色狠狠色综合| 久久亚洲私人国产精品va媚药| 91视频国产资源|