⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 z207.html

📁 GTK+_ Gnome Application Development
💻 HTML
📖 第 1 页 / 共 5 页
字号:
            Communication: Dialogs</i></a> describes it in more            detail.          </p>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z240"><tt class="CLASSNAME">GnomeScores</tt></a>        </h2>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z241">Library</a>          </h3>          <p>            Gnome          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z242">Header File</a>          </h3>          <p>            <tt class="FILENAME">libgnomeui/gnome-scores.h</tt>          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z243">Description</a>          </h3>          <p>            <tt class="CLASSNAME">GnomeScores</tt> keeps track of            and displays a high scores list. Most Gnome games use            it.          </p>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z244"><tt class="CLASSNAME">GnomeApp</tt></a>        </h2>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z245">Library</a>          </h3>          <p>            Gnome          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z246">Header File</a>          </h3>          <p>            <tt class="FILENAME">libgnomeui/gnome-app.h</tt>          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z247">Description</a>          </h3>          <p>            <tt class="CLASSNAME">GnomeApp</tt> is a <tt class=             "CLASSNAME">GtkWidget</tt> subclass specialized for            main application windows. It has spaces for an optional            toolbar, menubar, and statusbar. The application's            "document" goes in a special slot in the center of the            widget. <a href="cha-main.html#SEC-GNOMEAPP">the            section called <i>The <tt class="CLASSNAME">            GnomeApp</tt> Widget</i> in the chapter called <i>The            Main Window: <tt class="CLASSNAME">            GnomeApp</tt></i></a> describes this widget.          </p>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z248"><tt class="CLASSNAME">GtkDialog</tt></a>        </h2>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z249">Library</a>          </h3>          <p>            GTK+          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z250">Header File</a>          </h3>          <p>            <tt class="FILENAME">gtk/gtkdialog.h</tt>          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z251">Description</a>          </h3>          <p>            <tt class="CLASSNAME">GtkDialog</tt> is a <tt class=             "CLASSNAME">GtkWindow</tt> with three widgets            pre-packed: a <tt class="CLASSNAME">GtkVBox</tt> for            the dialog contents, a <tt class="CLASSNAME">            GtkSeparator</tt>, and a <tt class="CLASSNAME">            GtkHBox</tt> for the dialog's buttons. <tt class=             "CLASSNAME">GtkDialog</tt> is not very useful; all            Gnome programs should use <tt class="CLASSNAME">            GnomeDialog</tt> instead.          </p>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z252"><tt class="CLASSNAME">          GnomeFontSelector</tt></a>        </h2>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z253">Library</a>          </h3>          <p>            Gnome          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z254">Header File</a>          </h3>          <p>            <tt class="FILENAME">            libgnomeui/gnome-font-selector.h</tt>          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z255">Description</a>          </h3>          <p>            <tt class="CLASSNAME">GnomeFontSelector</tt> is an            obsolete font selection dialog, replaced by <tt class=             "CLASSNAME">GtkFontSelectionDialog</tt>. <tt class=             "CLASSNAME">GtkFontSelectionDialog</tt> contains a <tt            class="CLASSNAME">GtkFontSelection</tt>. Gnome programs            should really use a <tt class="CLASSNAME">            GtkFontSelection</tt> inside a <tt class="CLASSNAME">            GnomeDialog</tt>, because <tt class="CLASSNAME">            GtkFontSelectionDialog</tt> does not use <tt class=             "CLASSNAME">GnomeDialog</tt> and thus its look-and-feel            is slightly wrong. <tt class="CLASSNAME">            GnomeFontSelector</tt> should not be used.          </p>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z256"><tt class="CLASSNAME">          GtkInputDialog</tt></a>        </h2>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z257">Library</a>          </h3>          <p>            GTK+          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z258">Header File</a>          </h3>          <p>            <tt class="FILENAME">gtk/gtkinputdialog.h</tt>          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z259">Description</a>          </h3>          <p>            <tt class="CLASSNAME">GtkInputDialog</tt> is a dialog            for selecting and setting up devices that use the X            Input Extension (such as drawing tablets). It predates            Gnome and is not a <tt class="CLASSNAME">            GnomeDialog</tt> so it looks a little funny in Gnome            applications, but there is no reasonable workaround            without rewriting the widget.          </p>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z260"><tt class="CLASSNAME">          GtkColorSelectionDialog</tt></a>        </h2>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z261">Library</a>          </h3>          <p>            GTK+          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z262">Header File</a>          </h3>          <p>            <tt class="FILENAME">gtk/gtkcolorsel.h</tt>          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z263">Description</a>          </h3>          <p>            <tt class="CLASSNAME">GtkColorSelectionDialog</tt> is a            dialog containing a <tt class="CLASSNAME">            GtkColorSelection</tt>. Gnome applications should            manually place the <tt class="CLASSNAME">            GtkColorSelection</tt> in a <tt class="CLASSNAME">            GnomeDialog</tt>, or use <tt class="CLASSNAME">            GnomeColorPicker</tt>.          </p>          <div class="FIGURE">            <a name="FIG-COLORSELDIALOG"></a>            <p>              <img src="figures/colorselectiondialog.png">            </p>            <p>              <b>Figure 1. <tt class="CLASSNAME">              GtkColorSelectionDialog</tt></b>            </p>          </div>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z264"><tt class="CLASSNAME">          GtkFileSelection</tt></a>        </h2>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z265">Library</a>          </h3>          <p>            GTK+          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z266">Header File</a>          </h3>          <p>            <tt class="FILENAME">gtk/gtkfilesel.h</tt>          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z267">Description</a>          </h3>          <p>            <tt class="CLASSNAME">GtkFileSelection</tt> is a file            selection dialog (unlike most of the other widgets            ending in "<tt class="APPLICATION">Selection</tt>",            which are composite widgets meant to be placed inside a            dialog). Unfortunately, there is no Gnome replacement            for this dialog, so Gnome applications typically use            it, despite its somewhat inconsistent look.          </p>          <div class="FIGURE">            <a name="Z268"></a>            <p>              <img src="figures/fileselection.png">            </p>            <p>              <b>Figure 2. <tt class="CLASSNAME">              GtkFileSelection</tt></b>            </p>          </div>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z269"><tt class="CLASSNAME">          GtkFontSelectionDialog</tt></a>        </h2>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z270">Library</a>          </h3>          <p>            GTK+          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z271">Header File</a>          </h3>          <p>            <tt class="FILENAME">gtk/gtkfontsel.h</tt>          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z272">Description</a>          </h3>          <p>            <tt class="CLASSNAME">GtkFontSelectionDialog</tt> is a            dialog containing a <tt class="CLASSNAME">            GtkFontSelection</tt>. Gnome applications should use a            <tt class="CLASSNAME">GnomeDialog</tt> containing a <tt            class="CLASSNAME">GtkFontSelection</tt> instead.          </p>          <div class="FIGURE">            <a name="Z273"></a>            <p>              <img src="figures/gtkfontselectiondialog.png">            </p>            <p>              <b>Figure 3. <tt class="CLASSNAME">              GtkFontSelectionDialog</tt></b>            </p>          </div>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z274"><tt class="CLASSNAME">GtkPlug</tt></a>        </h2>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z275">Library</a>          </h3>          <p>            GTK+          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z276">Header File</a>          </h3>          <p>            <tt class="FILENAME">gtk/gtkplug.h</tt>          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z277">Description</a>          </h3>          <p>            <tt class="CLASSNAME">GtkPlug</tt> is a toplevel window            that can be embedded in a <tt class="CLASSNAME">            GtkSocket</tt> widget running in a separate            application. In other words, <tt class="CLASSNAME">            GtkSocket</tt> is a "hole" in one process that can            contain a <tt class="CLASSNAME">GtkPlug</tt> widget            from another.          </p>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z278"><tt class="CLASSNAME">GtkButton</tt></a>        </h2>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z279">Library</a>          </h3>          <p>            GTK+          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z280">Header File</a>          </h3>          <p>            <tt class="FILENAME">gtk/gtkbutton.h</tt>          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z281">Description</a>          </h3>          <p>            <tt class="CLASSNAME">GtkButton</tt> is a simple            rectangular button. It's a container with one child;            usually it contains text or a pixmap, but it can            contain any widget.          </p>          <div class="FIGURE">            <a name="Z282"></a>            <p>              <img src="figures/gtkbutton.png">            </p>            <p>              <b>Figure 4. A dialog filled with <tt class=              "CLASSNAME">GtkButton</tt>s</b>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -