~ubuntu-branches/ubuntu/raring/gnome-panel/raring

« back to all changes in this revision

Viewing changes to doc/reference/panel-applet/html/getting-started.context-menu.html

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-03-20 13:20:49 UTC
  • mfrom: (1.13.18)
  • Revision ID: package-import@ubuntu.com-20120320132049-c1063hmj0280d1vl
Tags: 1:3.3.92-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="getting-started.html" title="Part II. Getting Started with the Panel Applet library">
9
9
<link rel="prev" href="getting-started.example.html" title="Hello World Example">
10
10
<link rel="next" href="getting-started.settings.html" title="Settings">
11
 
<meta name="generator" content="GTK-Doc V1.17.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
56
56
      To setup the context menu of the applet, the <a class="link" href="panel-applet-Panel-Applet.html#panel-applet-setup-menu-from-file" title="panel_applet_setup_menu_from_file ()"><code class="function">panel_applet_setup_menu_from_file()</code></a> function should be used, with a path to a <a class="link" href="getting-started.context-menu.html#getting-started.context-menu.xml-file" title="Menu XML File">menu XML file</a> and a <span class="type">GtkActionGroup</span> object containing all actions that are used in the menu XML file. The example below shows how to achieve this:
57
57
     </p>
58
58
<div class="example">
59
 
<a name="id2531786"></a><p class="title"><b>Example 3. Hello World applet, with a context menu</b></p>
 
59
<a name="id2539475"></a><p class="title"><b>Example 3. Hello World applet, with a context menu</b></p>
60
60
<div class="example-contents">
61
61
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
62
62
    <tbody>
298
298
</div>
299
299
<div class="footer">
300
300
<hr>
301
 
          Generated by GTK-Doc V1.17.1</div>
 
301
          Generated by GTK-Doc V1.18</div>
302
302
</body>
303
303
</html>
 
 
b'\\ No newline at end of file'