summaryrefslogtreecommitdiff
path: root/docs/reference/pygtk-gtkseparatormenuitem.xml
blob: 202dc40925cbcb068cd4f4d2709979d79c49f4b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" standalone="no"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">

<refentry id="class-gtkseparatormenuitem">
  <refnamediv>
    <refname>gtk.SeparatorMenuItem</refname>
    <refpurpose>a separator used in menus.</refpurpose>
  </refnamediv>

  <refsect1>
    <title>Synopsis</title>

    <classsynopsis language="python">
      <ooclass><classname>gtk.SeparatorMenuItem</classname></ooclass>
      <ooclass><classname><link
linkend="class-gtkmenuitem">gtk.MenuItem</link></classname></ooclass>
      <constructorsynopsis language="python">
	<methodname><link
linkend="constructor-gtkseparatormenuitem">gtk.SeparatorMenuItem</link></methodname>
	<methodparam></methodparam>  </constructorsynopsis>
    </classsynopsis>

  </refsect1>

  <refsect1>
    <title>Ancestry</title>

<synopsis>+-- <link linkend="class-gobject">gobject.GObject</link>
  +-- <link linkend="class-gtkobject">gtk.Object</link>
    +-- <link linkend="class-gtkwidget">gtk.Widget</link>
      +-- <link linkend="class-gtkcontainer">gtk.Container</link>
        +-- <link linkend="class-gtkbin">gtk.Bin</link>
          +-- <link linkend="class-gtkitem">gtk.Item</link>
            +-- <link linkend="class-gtkmenuitem">gtk.MenuItem</link>
              +-- <link linkend="class-gtkseparatormenuitem">gtk.SeparatorMenuItem</link>
</synopsis>

  </refsect1>

  <refsect1>
    <title>Description</title>

    <para>The <link
linkend="class-gtkseparatormenuitem"><classname>gtk.SeparatorMenuItem</classname></link> 
is a separator used to group items within a menu. It displays a horizontal
line with a shadow to make it appear sunken into the interface.</para>

  </refsect1>

  <refsect1 id="constructor-gtkseparatormenuitem">
    <title>Constructor</title>

    <programlisting><constructorsynopsis language="python">
	<methodname>gtk.SeparatorMenuItem</methodname>
	<methodparam></methodparam>  </constructorsynopsis></programlisting>
    <variablelist>
      <varlistentry>
	<term><emphasis>Returns</emphasis>&nbsp;:</term>
	<listitem><simpara>a new <link
linkend="class-gtkseparatormenuitem"><classname>gtk.SeparatorMenuItem</classname></link> 
widget</simpara></listitem>
      </varlistentry>
    </variablelist>

    <para>Creates a new <link
linkend="class-gtkseparatormenuitem"><classname>gtk.SeparatorMenuItem</classname></link> 
widget.</para>

  </refsect1>

</refentry>