forked from AuroraMiddleware/gtk
docs: don't use <tag> docbook elements
This commit is contained in:
parent
ff8864cbf3
commit
6ba5e6bb1a
@ -111,16 +111,16 @@
|
||||
* ]|
|
||||
*
|
||||
* The XML format understood by #GtkBuilder for #GMenuModel consists
|
||||
* of a toplevel <tag class="starttag">menu</tag> element, which contains
|
||||
* one or more <tag class="starttag">item</tag> elements. Each
|
||||
* <tag class="starttag">item</tag> element contains
|
||||
* <tag class="starttag">attribute</tag> and <tag class="starttag">link</tag>
|
||||
* of a toplevel `<menu>` element, which contains
|
||||
* one or more `<item>` elements. Each
|
||||
* `<item>` element contains
|
||||
* `<attribute>` and `<link>`
|
||||
* elements with a mandatory name attribute.
|
||||
* <tag class="starttag">link</tag> elements have the same content
|
||||
* model as <tag class="starttag">menu</tag>.
|
||||
* `<link>` elements have the same content
|
||||
* model as `<menu>`.
|
||||
*
|
||||
* Attribute values can be translated using gettext, like other #GtkBuilder
|
||||
* content. <tag class="starttag">attribute</tag> elements can be marked for
|
||||
* content. `<attribute>` elements can be marked for
|
||||
* translation with a <literal>translatable="yes"</literal> attribute.
|
||||
* It is also possible to specify message context and translator comments,
|
||||
* using the context and comments attributes. To make use of this, the
|
||||
|
@ -200,11 +200,12 @@
|
||||
*
|
||||
* Since 2.18, GTK+ supports markup for clickable hyperlinks in addition
|
||||
* to regular Pango markup. The markup for links is borrowed from HTML, using the
|
||||
* <tag>a</tag> with href and title attributes. GTK+ renders links similar to the
|
||||
* `<a>` with href and title attributes. GTK+ renders links similar to the
|
||||
* way they appear in web browsers, with colored, underlined text. The title
|
||||
* attribute is displayed as a tooltip on the link.
|
||||
*
|
||||
* An example looks like this:
|
||||
*
|
||||
* |[<!-- language="C" -->
|
||||
* gtk_label_set_markup (label, "Go to the <a href="http://www.gtk.org" title="<i>Our</i> website">GTK+ website</a> for more...");
|
||||
* ]|
|
||||
|
@ -50,7 +50,7 @@
|
||||
*
|
||||
* The GtkOverlay implementation of the GtkBuildable interface
|
||||
* supports placing a child as an overlay by specifying "overlay" as
|
||||
* the "type" attribute of a <tag class="starttag">child</tag> element.
|
||||
* the "type" attribute of a `<child>` element.
|
||||
*/
|
||||
|
||||
struct _GtkOverlayPrivate
|
||||
|
@ -92,8 +92,8 @@
|
||||
* ## GtkWindow as GtkBuildable
|
||||
*
|
||||
* The GtkWindow implementation of the GtkBuildable interface supports a
|
||||
* custom <tag class="starttag">accel-groups</tag> element, which supports
|
||||
* any number of <tag class="starttag">group</tag> elements representing the
|
||||
* custom `<accel-groups>` element, which supports
|
||||
* any number of `<group>` elements representing the
|
||||
* #GtkAccelGroup objects you want to add to your window (synonymous with
|
||||
* gtk_window_add_accel_group().
|
||||
*
|
||||
@ -112,7 +112,7 @@
|
||||
*
|
||||
* The GtkWindow implementation of the GtkBuildable interface
|
||||
* supports setting a child as the titlebar by specifying "titlebar" as
|
||||
* the "type" attribute of a <tag class="starttag">child</tag> element.
|
||||
* the "type" attribute of a `<child>` element.
|
||||
*/
|
||||
|
||||
#define MNEMONICS_DELAY 300 /* ms */
|
||||
|
Loading…
Reference in New Issue
Block a user