diff options
Diffstat (limited to 'doc')
20 files changed, 0 insertions, 2520 deletions
diff --git a/doc/reference/mate-panel-applet/html/applet-popups.html b/doc/reference/mate-panel-applet/html/applet-popups.html deleted file mode 100644 index a2002d8c..00000000 --- a/doc/reference/mate-panel-applet/html/applet-popups.html +++ /dev/null @@ -1,31 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Defining a Popup Context Menu</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> -<link rel="home" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="up" href="applet-writing.html" title="Writing Applets"> -<link rel="prev" href="server-files.html" title="MateComponent Activation .server Files For Applets"> -<link rel="next" href="panel-signals.html" title="Detecting Changes in the Panel."> -<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="server-files.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="applet-writing.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">Panel Applet Library Reference Manual</th> -<td><a accesskey="n" href="panel-signals.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="applet-popups"></a>Defining a Popup Context Menu</h2></div></div></div> -<p>FIXME: write</p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.15.1</div> -</body> -</html>
\ No newline at end of file diff --git a/doc/reference/mate-panel-applet/html/applet-porting.html b/doc/reference/mate-panel-applet/html/applet-porting.html deleted file mode 100644 index 64c3169f..00000000 --- a/doc/reference/mate-panel-applet/html/applet-porting.html +++ /dev/null @@ -1,207 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Porting Applets from the MATE 1.x interfaces</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> -<link rel="home" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="up" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="prev" href="multi-applets.html" title="Multiple Applets"> -<link rel="next" href="mate-panel-applet.html" title="The Panel Applet Library"> -<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="multi-applets.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">Panel Applet Library Reference Manual</th> -<td><a accesskey="n" href="mate-panel-applet.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="applet-porting"></a>Porting Applets from the MATE 1.x interfaces</h2></div></div></div> -<p>In MATE 1.x the applet interface lived in a header called -<code class="filename">applet-widget.h</code>. The interface was based on GOAD, -the MATE 1.x object activation framework. A new interface was -designed for MATE 2.x using the power of matecomponent UI embedding and the -new object activation framework, matecomponent-activation. The interface is -intended to be easy to use, cruft free, but semantically similar to -the old API in order to make porting relatively painless.</p> -<div class="simplesect"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="applet-porting-activation"></a>Applet Activation</h2></div></div></div> -<p>The first thing to change when porting to the new API is -the header. Include <code class="filename">mate-panel-applet.h</code> instead of -<code class="filename">applet-widget.h</code>.</p> -<p>Next you need to change how the applet is activated. -Browsing through old applet's code, its obvious that this was done in -various ways in the past. The best advice is to hunt out the calls to -applet_widget_init, applet_widget_new and applet_widget_add. -applet_widget_new and applet_widget_add are now effectively merged -into one call mate_panel_applet_new, to which the top-level widget of the -applet should be passed. applet_widget_init is not neccessary anymore. -So the new code should look something like this</p> -<pre class="programlisting"> -#include <mate-panel-applet.h> - -static MateComponentObject * -blah_applet_new () -{ - MatePanelApplet *applet; - - /* - * The old code setting up the applet widgetry - * goes here. So effectively delete calls to - * applet_widget_init and applet_widget_new - * and the replace applet_widget_add with a call - * to mate_panel_applet_new. - */ - - applet = mate_panel_applet_new (label); - - return MATECOMPONENT_OBJECT (mate_panel_applet_get_control (applet)); -} - -static MateComponentObject * -blah_applet_factory (MateComponentGenericFactory *this, - const gchar *iid, - gpointer data) -{ - MateComponentObject *applet = NULL; - - if (!strcmp (iid, "OAFIID:BlahApplet")) - applet = blah_applet_new (); - - return applet; -} - - -MATE_PANEL_APPLET_MATECOMPONENT_FACTORY ("OAFIID:BlahApplet_Factory", - "Blah", - "0", - blah_applet_factory, - NULL) - </pre> -<p>You should use MATE_PANEL_APPLET_MATECOMPONENT_FACTORY or -MATE_PANEL_APPLET_MATECOMPONENT_SHLIB_FACTORY depending on whether you want the -applet to be out of process or in process.</p> -</div> -<div class="simplesect"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="applet-porting-activation-files"></a>Activation files</h2></div></div></div> -<p>The next thing to do may be to port from a -<code class="filename">.gnorba</code> file to a matecomponent-activation -<code class="filename">.server</code> file. You no longer need a .desktop file -for applets. A <code class="filename">.gnorba</code> looks something like this -:</p> -<pre class="programlisting"> -[blah] -type=exe -repo_id=IDL:MATE/Applet:1.0 -description=Blah -location_info=blah-de-blah - </pre> -<p>Your <code class="filename">.server</code> file should look like -this :</p> -<pre class="programlisting"> -<oaf_info> - -<oaf_server iid="OAFIID:BlahApplet" - type="exe" - location="blah-de-blah-2"> - - <oaf_attribute name="repo_ids" type="stringv"> - <item value="IDL:MateComponent/GenericFactory:1.0""/> - <item value="IDL:MateComponent/Unknown:1.0"/> - </oaf_attribute> - <oaf_attribute name="name" type="string" value="Blah Factory"/> - <oaf_attribute name="description" type="string" value="Blah De Blah"/> - -</oaf_server> - -<oaf_server iid="OAFIID:BlahApplet" - type="factory" - location="OAFIID:BlahApplet_Factory"> - - <oaf_attribute name="repo_ids" type="stringv"> - <item value="IDL:MATE/MatePanelAppletShell:1.0"/> - <item value="IDL:MateComponent/Control:1.0"/> - <item value="IDL:MateComponent/Unknown:1.0"/> - </oaf_attribute> - <oaf_attribute name="name" type="string" value="Blah Applet"/> - <oaf_attribute name="description" type="string" value="Blah De Blah"/> - <oaf_attribute name="panel:icon" type="string" value="blah-de-blah.png"/> - -</oaf_server> - -</oaf_info> - </pre> -<p>A lot of this should be copied and pasted. The most -important bit is "panel:icon" which specfies the icon -that should be displayed in the "Add to Panel" dialog.</p> -</div> -<div class="simplesect"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="applet-porting-menus"></a>Context Menu</h2></div></div></div> -<p>Most applets also place extra menu items into it context -menu. It might be a good idea to port this next. In MATE 1.x this was -done using the applet_widget_register_stock_callback API call. In -MATE 2.x 3 things must be done</p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p>An xml desription of the popup menu must be -written.</p></li> -<li class="listitem"><p>A description of the verbs must be prepared. -This is basically a list of callbacks to be call when a certain menu -item is clicked in the popup.</p></li> -<li class="listitem"><p>The menu is registered using a call to -mate_panel_applet_setup_menu.</p></li> -</ul></div> -<p>The xml description should look something like this -:</p> -<pre class="programlisting"> -static const char fish_menu_xml [] = - "<popup name=\"button3\">\n" - " <menuitem name=\"Properties Item\" verb=\"BlahProperties\" _label=\"Properties ...\"\n" - " pixtype=\"stock\" pixname=\"gtk-properties\"/>\n" - " <menuitem name=\"Help Item\" verb=\"BlahHelp\" _label=\"Help\"\n" - " pixtype=\"stock\" pixname=\"gtk-help\"/>\n" - " <menuitem name=\"About Item\" verb=\"BlahAbout\" _label=\"About ...\"\n" - " pixtype=\"stock\" pixname=\"mate-stock-about\"/>\n" - "</popup>\n"; - </pre> -<p>This could also be in a seperate -<code class="filename">.xml</code> file and loaded with -mate_panel_applet_setup_menu_from_file. The description of the verbs should -look something like :</p> -<pre class="programlisting"> -static const MateComponentUIVerb fish_menu_verbs [] = { - MATECOMPONENT_UI_VERB ("BlahProperties", display_properties_dialog), - MATECOMPONENT_UI_VERB ("BlahHelp", display_help_dialog), - MATECOMPONENT_UI_VERB ("BlahAbout", display_about_dialog), - - MATECOMPONENT_UI_VERB_END -}; - </pre> -<p>This is just a list of callbacks invoked when the menu -items are clicked. There are other macros you may use other than -MATECOMPONENT_UI_VERB - see -<code class="filename">matecomponent-ui-component.h</code>.</p> -<p>To actually register the menu you just do something like -:</p> -<pre class="programlisting"> - mate_panel_applet_setup_menu (MATE_PANEL_APPLET (blah->applet), - blah_menu_xml, - blah_menu_verbs, - blah); - </pre> -<p>The last argument is the user_data argument passed back -to the callbacks.</p> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.15.1</div> -</body> -</html>
\ No newline at end of file diff --git a/doc/reference/mate-panel-applet/html/applet-writing.html b/doc/reference/mate-panel-applet/html/applet-writing.html deleted file mode 100644 index a56a125d..00000000 --- a/doc/reference/mate-panel-applet/html/applet-writing.html +++ /dev/null @@ -1,93 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Writing Applets</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> -<link rel="home" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="up" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="prev" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="next" href="server-files.html" title="MateComponent Activation .server Files For Applets"> -<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">Panel Applet Library Reference Manual</th> -<td><a accesskey="n" href="server-files.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="applet-writing"></a>Writing Applets</h2></div></div></div> -<div class="toc"><dl> -<dt><span class="sect1"><a href="applet-writing.html#hello-world">Hello World Applet</a></span></dt> -<dt><span class="sect1"><a href="server-files.html">MateComponent Activation .server Files For Applets</a></span></dt> -<dt><span class="sect1"><a href="applet-popups.html">Defining a Popup Context Menu</a></span></dt> -<dt><span class="sect1"><a href="panel-signals.html">Detecting Changes in the Panel.</a></span></dt> -<dt><span class="sect1"><a href="session-saving.html">Session/Preference Saving.</a></span></dt> -<dt><span class="sect1"><a href="multi-applets.html">Multiple Applets</a></span></dt> -</dl></div> -<p>Writing applets is very simple. You take some boiler plate -code like below, change a couple of things and write the code that -implements your widgetry. The hardest part is writing your widgetry - -and its completely up to yourself how hard that should be. - </p> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="hello-world"></a>Hello World Applet</h2></div></div></div> -<p>As usual, following the pointless tradition of starting with -an example of how get 'Hello World' on the screen in some form, here's -just about the simplest applet you could write. - </p> -<pre class="programlisting"> -#include <string.h> - -#include <mate-panel-applet.h> -#include <gtk/gtklabel.h> - -static gboolean -hello_applet_fill (MatePanelApplet *applet, - const gchar *iid, - gpointer data) -{ - GtkWidget *label; - - if (strcmp (iid, "OAFIID:My_HelloApplet") != 0) - return FALSE; - - label = gtk_label_new ("Hello World"); - gtk_container_add (GTK_CONTAINER (applet), label); - - gtk_widget_show_all (GTK_WIDGET (applet)); - - return TRUE; -} - - -MATE_PANEL_APPLET_MATECOMPONENT_FACTORY ("OAFIID:My_HelloApplet_Factory", - PANEL_TYPE_APPLET, - "TheHelloWorldApplet", - "0", - hello_applet_fill, - NULL); - </pre> -<p>The code here is very similar to writing a normal MateComponent -control. You define a factory using MATE_PANEL_APPLET_MATECOMPONENT_FACTORY(), -passing it a factory function like hello_applet_fill(). - </p> -<p>libmate-panel-applet automatically creates a #MatePanelApplet object -for you, passing this to your factory method. Here, you should fill -the applet with your widgets just like a #GtkBin. For example, if you -were writing a cdplayer applet you would create a #GtkHBox, pack the -hbox with the cdplayer buttons and in turn add the hbox to the applet. - </p> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.15.1</div> -</body> -</html>
\ No newline at end of file diff --git a/doc/reference/mate-panel-applet/html/home.png b/doc/reference/mate-panel-applet/html/home.png Binary files differdeleted file mode 100644 index 17003611..00000000 --- a/doc/reference/mate-panel-applet/html/home.png +++ /dev/null diff --git a/doc/reference/mate-panel-applet/html/index.html b/doc/reference/mate-panel-applet/html/index.html deleted file mode 100644 index e3290d87..00000000 --- a/doc/reference/mate-panel-applet/html/index.html +++ /dev/null @@ -1,64 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Panel Applet Library Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> -<meta name="description" content="This manual documents the interfaces of the panel applet library for MATE 2.x and a short guide to porting applets from the MATE 1.x interfaces."> -<link rel="home" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="next" href="applet-writing.html" title="Writing Applets"> -<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<div class="book"> -<div class="titlepage"> -<div> -<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Panel Applet Library Reference Manual</p></th></tr></table></div> -<div><div class="authorgroup"><div class="author"> -<h3 class="author"> -<span class="firstname">Mark</span> <span class="surname">McLoughlin</span> -</h3> -<div class="affiliation"><div class="address"><p><br> - <code class="email"><<a class="email" href="mailto:[email protected]">[email protected]</a>></code><br> - </p></div></div> -</div></div></div> -<div><p class="copyright">Copyright © 2001, 2003 Sun Microsystems, Inc.</p></div> -<div><div class="abstract"> -<p class="title"><b>Abstract</b></p> -<p> -This manual documents the interfaces of the panel applet -library for MATE 2.x and a short guide to porting applets from -the MATE 1.x interfaces. - </p> -</div></div> -</div> -<hr> -</div> -<div class="toc"><dl> -<dt><span class="chapter"><a href="applet-writing.html">Writing Applets</a></span></dt> -<dd><dl> -<dt><span class="sect1"><a href="applet-writing.html#hello-world">Hello World Applet</a></span></dt> -<dt><span class="sect1"><a href="server-files.html">MateComponent Activation .server Files For Applets</a></span></dt> -<dt><span class="sect1"><a href="applet-popups.html">Defining a Popup Context Menu</a></span></dt> -<dt><span class="sect1"><a href="panel-signals.html">Detecting Changes in the Panel.</a></span></dt> -<dt><span class="sect1"><a href="session-saving.html">Session/Preference Saving.</a></span></dt> -<dt><span class="sect1"><a href="multi-applets.html">Multiple Applets</a></span></dt> -</dl></dd> -<dt><span class="chapter"><a href="applet-porting.html">Porting Applets from the MATE 1.x interfaces</a></span></dt> -<dt><span class="chapter"><a href="mate-panel-applet.html">The Panel Applet Library</a></span></dt> -<dd><dl> -<dt> -<span class="refentrytitle"><a href="mate-panel-applet-mate-panel-applet.html">MatePanelApplet</a></span><span class="refpurpose"> — The MatePanelApplet object.</span> -</dt> -<dt> -<span class="refentrytitle"><a href="mate-panel-applet-Panel-Applet-MateConf-Utilities.html">Panel Applet MateConf Utilities</a></span><span class="refpurpose"> — Utility methods for manipulating per-applet MateConf preferences.</span> -</dt> -</dl></dd> -</dl></div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.15.1</div> -</body> -</html>
\ No newline at end of file diff --git a/doc/reference/mate-panel-applet/html/index.sgml b/doc/reference/mate-panel-applet/html/index.sgml deleted file mode 100644 index 19974235..00000000 --- a/doc/reference/mate-panel-applet/html/index.sgml +++ /dev/null @@ -1,69 +0,0 @@ -<ANCHOR id="mate-panel-applet-mate-panel-applet" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html"> -<ANCHOR id="mate-panel-applet-mate-panel-applet.synopsis" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-mate-panel-applet.synopsis"> -<ANCHOR id="MatePanelApplet" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet"> -<ANCHOR id="mate-panel-applet-mate-panel-applet.object-hierarchy" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-mate-panel-applet.object-hierarchy"> -<ANCHOR id="mate-panel-applet-mate-panel-applet.implemented-interfaces" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-mate-panel-applet.implemented-interfaces"> -<ANCHOR id="mate-panel-applet-mate-panel-applet.properties" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-mate-panel-applet.properties"> -<ANCHOR id="mate-panel-applet-mate-panel-applet.signals" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-mate-panel-applet.signals"> -<ANCHOR id="mate-panel-applet-mate-panel-applet.description" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-mate-panel-applet.description"> -<ANCHOR id="mate-panel-applet-mate-panel-applet.details" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-mate-panel-applet.details"> -<ANCHOR id="MatePanelApplet-struct" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet-struct"> -<ANCHOR id="MatePanelAppletOrient" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelAppletOrient"> -<ANCHOR id="MatePanelAppletBackgroundType" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelAppletBackgroundType"> -<ANCHOR id="PANEL-NO-BACKGROUND:CAPS" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#PANEL-NO-BACKGROUND:CAPS"> -<ANCHOR id="PANEL-COLOR-BACKGROUND:CAPS" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#PANEL-COLOR-BACKGROUND:CAPS"> -<ANCHOR id="PANEL-PIXMAP-BACKGROUND:CAPS" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#PANEL-PIXMAP-BACKGROUND:CAPS"> -<ANCHOR id="MatePanelAppletFlags" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags"> -<ANCHOR id="PANEL-APPLET-FLAGS-NONE:CAPS" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#PANEL-APPLET-FLAGS-NONE:CAPS"> -<ANCHOR id="PANEL-APPLET-EXPAND-MAJOR:CAPS" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#PANEL-APPLET-EXPAND-MAJOR:CAPS"> -<ANCHOR id="PANEL-APPLET-EXPAND-MINOR:CAPS" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#PANEL-APPLET-EXPAND-MINOR:CAPS"> -<ANCHOR id="PANEL-APPLET-HAS-HANDLE:CAPS" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#PANEL-APPLET-HAS-HANDLE:CAPS"> -<ANCHOR id="MatePanelAppletFactoryCallback" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelAppletFactoryCallback"> -<ANCHOR id="mate-panel-applet-new" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-new"> -<ANCHOR id="mate-panel-applet-get-orient" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-orient"> -<ANCHOR id="mate-panel-applet-get-size" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-size"> -<ANCHOR id="mate-panel-applet-get-background" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-background"> -<ANCHOR id="mate-panel-applet-get-preferences-key" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-preferences-key"> -<ANCHOR id="mate-panel-applet-add-preferences" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-add-preferences"> -<ANCHOR id="mate-panel-applet-get-flags" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-flags"> -<ANCHOR id="mate-panel-applet-set-flags" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-set-flags"> -<ANCHOR id="mate-panel-applet-set-size-hints" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-set-size-hints"> -<ANCHOR id="mate-panel-applet-get-locked-down" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-locked-down"> -<ANCHOR id="mate-panel-applet-request-focus" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-request-focus"> -<ANCHOR id="mate-panel-applet-setup-menu" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-setup-menu"> -<ANCHOR id="mate-panel-applet-setup-menu-from-file" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-setup-menu-from-file"> -<ANCHOR id="mate-panel-applet-factory-main" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-factory-main"> -<ANCHOR id="mate-panel-applet-mate-panel-applet.property-details" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-mate-panel-applet.property-details"> -<ANCHOR id="MatePanelApplet--background" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet--background"> -<ANCHOR id="MatePanelApplet--closure" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet--closure"> -<ANCHOR id="MatePanelApplet--connection" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet--connection"> -<ANCHOR id="MatePanelApplet--flags" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet--flags"> -<ANCHOR id="MatePanelApplet--id" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet--id"> -<ANCHOR id="MatePanelApplet--locked" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet--locked"> -<ANCHOR id="MatePanelApplet--locked-down" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet--locked-down"> -<ANCHOR id="MatePanelApplet--orient" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet--orient"> -<ANCHOR id="MatePanelApplet--prefs-key" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet--prefs-key"> -<ANCHOR id="MatePanelApplet--size" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet--size"> -<ANCHOR id="MatePanelApplet--size-hints" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet--size-hints"> -<ANCHOR id="mate-panel-applet-mate-panel-applet.signal-details" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#mate-panel-applet-mate-panel-applet.signal-details"> -<ANCHOR id="MatePanelApplet-change-background" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet-change-background"> -<ANCHOR id="MatePanelApplet-change-orient" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet-change-orient"> -<ANCHOR id="MatePanelApplet-change-size" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet-change-size"> -<ANCHOR id="MatePanelApplet-move-focus-out-of-applet" href="mate-panel-applet/mate-panel-applet-mate-panel-applet.html#MatePanelApplet-move-focus-out-of-applet"> -<ANCHOR id="mate-panel-applet-Panel-Applet-MateConf-Utilities" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html"> -<ANCHOR id="mate-panel-applet-Panel-Applet-MateConf-Utilities.synopsis" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-Panel-Applet-MateConf-Utilities.synopsis"> -<ANCHOR id="mate-panel-applet-Panel-Applet-MateConf-Utilities.description" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-Panel-Applet-MateConf-Utilities.description"> -<ANCHOR id="mate-panel-applet-Panel-Applet-MateConf-Utilities.details" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-Panel-Applet-MateConf-Utilities.details"> -<ANCHOR id="mate-panel-applet-mateconf-get-full-key" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-full-key"> -<ANCHOR id="mate-panel-applet-mateconf-get-bool" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-bool"> -<ANCHOR id="mate-panel-applet-mateconf-get-int" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-int"> -<ANCHOR id="mate-panel-applet-mateconf-get-string" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-string"> -<ANCHOR id="mate-panel-applet-mateconf-get-float" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-float"> -<ANCHOR id="mate-panel-applet-mateconf-get-list" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-list"> -<ANCHOR id="mate-panel-applet-mateconf-get-value" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-value"> -<ANCHOR id="mate-panel-applet-mateconf-set-bool" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-bool"> -<ANCHOR id="mate-panel-applet-mateconf-set-int" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-int"> -<ANCHOR id="mate-panel-applet-mateconf-set-string" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-string"> -<ANCHOR id="mate-panel-applet-mateconf-set-float" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-float"> -<ANCHOR id="mate-panel-applet-mateconf-set-list" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-list"> -<ANCHOR id="mate-panel-applet-mateconf-set-value" href="mate-panel-applet/mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-value"> diff --git a/doc/reference/mate-panel-applet/html/left.png b/doc/reference/mate-panel-applet/html/left.png Binary files differdeleted file mode 100644 index 2d05b3d5..00000000 --- a/doc/reference/mate-panel-applet/html/left.png +++ /dev/null diff --git a/doc/reference/mate-panel-applet/html/mate-panel-applet-mate-panel-applet.html b/doc/reference/mate-panel-applet/html/mate-panel-applet-mate-panel-applet.html deleted file mode 100644 index 4086c6ad..00000000 --- a/doc/reference/mate-panel-applet/html/mate-panel-applet-mate-panel-applet.html +++ /dev/null @@ -1,948 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>MatePanelApplet</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> -<link rel="home" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="up" href="mate-panel-applet.html" title="The Panel Applet Library"> -<link rel="prev" href="mate-panel-applet.html" title="The Panel Applet Library"> -<link rel="next" href="mate-panel-applet-Panel-Applet-MateConf-Utilities.html" title="Panel Applet MateConf Utilities"> -<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="mate-panel-applet.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="mate-panel-applet.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">Panel Applet Library Reference Manual</th> -<td><a accesskey="n" href="mate-panel-applet-Panel-Applet-MateConf-Utilities.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#mate-panel-applet-mate-panel-applet.synopsis" class="shortcut">Top</a> - | - <a href="#mate-panel-applet-mate-panel-applet.description" class="shortcut">Description</a> - | - <a href="#mate-panel-applet-mate-panel-applet.object-hierarchy" class="shortcut">Object Hierarchy</a> - | - <a href="#mate-panel-applet-mate-panel-applet.implemented-interfaces" class="shortcut">Implemented Interfaces</a> - | - <a href="#mate-panel-applet-mate-panel-applet.properties" class="shortcut">Properties</a> - | - <a href="#mate-panel-applet-mate-panel-applet.signals" class="shortcut">Signals</a> -</td></tr> -</table> -<div class="refentry"> -<a name="mate-panel-applet-mate-panel-applet"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="mate-panel-applet-mate-panel-applet.top_of_page"></a>MatePanelApplet</span></h2> -<p>MatePanelApplet — The MatePanelApplet object.</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="mate-panel-applet-mate-panel-applet.synopsis"></a><h2>Synopsis</h2> -<a name="MatePanelApplet"></a><pre class="synopsis"> -#include <mate-panel-applet.h> - -struct <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-struct" title="struct MatePanelApplet">MatePanelApplet</a>; -enum <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletOrient" title="enum MatePanelAppletOrient">MatePanelAppletOrient</a>; -enum <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletBackgroundType" title="enum MatePanelAppletBackgroundType">MatePanelAppletBackgroundType</a>; -enum <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags" title="enum MatePanelAppletFlags">MatePanelAppletFlags</a>; -<span class="returnvalue">gboolean</span> (<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFactoryCallback" title="MatePanelAppletFactoryCallback ()">*MatePanelAppletFactoryCallback</a>) (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code>const <span class="type">gchar</span> *iid</code></em>, - <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>); -<span class="returnvalue">GtkWidget</span> * <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-new" title="mate_panel_applet_new ()">mate_panel_applet_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); -<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletOrient" title="enum MatePanelAppletOrient"><span class="returnvalue">MatePanelAppletOrient</span></a> <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-orient" title="mate_panel_applet_get_orient ()">mate_panel_applet_get_orient</a> (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>); -<span class="returnvalue">guint</span> <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-size" title="mate_panel_applet_get_size ()">mate_panel_applet_get_size</a> (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>); -<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletBackgroundType" title="enum MatePanelAppletBackgroundType"><span class="returnvalue">MatePanelAppletBackgroundType</span></a> <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-background" title="mate_panel_applet_get_background ()">mate_panel_applet_get_background</a> (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code><span class="type">GdkColor</span> *color</code></em>, - <em class="parameter"><code><span class="type">GdkPixmap</span> **pixmap</code></em>); -<span class="returnvalue">gchar</span> * <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-preferences-key" title="mate_panel_applet_get_preferences_key ()">mate_panel_applet_get_preferences_key</a> (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>); -<span class="returnvalue">void</span> <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-add-preferences" title="mate_panel_applet_add_preferences ()">mate_panel_applet_add_preferences</a> (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code>const <span class="type">gchar</span> *schema_dir</code></em>, - <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>); -<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags" title="enum MatePanelAppletFlags"><span class="returnvalue">MatePanelAppletFlags</span></a> <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-flags" title="mate_panel_applet_get_flags ()">mate_panel_applet_get_flags</a> (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>); -<span class="returnvalue">void</span> <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-set-flags" title="mate_panel_applet_set_flags ()">mate_panel_applet_set_flags</a> (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags" title="enum MatePanelAppletFlags"><span class="type">MatePanelAppletFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-set-size-hints" title="mate_panel_applet_set_size_hints ()">mate_panel_applet_set_size_hints</a> (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code>const <span class="type">int</span> *size_hints</code></em>, - <em class="parameter"><code><span class="type">int</span> n_elements</code></em>, - <em class="parameter"><code><span class="type">int</span> base_size</code></em>); -<span class="returnvalue">gboolean</span> <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-locked-down" title="mate_panel_applet_get_locked_down ()">mate_panel_applet_get_locked_down</a> (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>); -<span class="returnvalue">void</span> <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-request-focus" title="mate_panel_applet_request_focus ()">mate_panel_applet_request_focus</a> (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code><span class="type">guint32</span> timestamp</code></em>); -<span class="returnvalue">void</span> <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-setup-menu" title="mate_panel_applet_setup_menu ()">mate_panel_applet_setup_menu</a> (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, - <em class="parameter"><code><span class="type">GtkActionGroup</span> *action_group</code></em>); -<span class="returnvalue">void</span> <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-setup-menu-from-file" title="mate_panel_applet_setup_menu_from_file ()">mate_panel_applet_setup_menu_from_file</a> (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>, - <em class="parameter"><code><span class="type">GtkActionGroup</span> *action_group</code></em>); -<span class="returnvalue">int</span> <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-factory-main" title="mate_panel_applet_factory_main ()">mate_panel_applet_factory_main</a> (<em class="parameter"><code>const <span class="type">gchar</span> *factory_id</code></em>, - <em class="parameter"><code><span class="type">gboolean</span> out_process</code></em>, - <em class="parameter"><code><span class="type">GType</span> applet_type</code></em>, - <em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFactoryCallback" title="MatePanelAppletFactoryCallback ()"><span class="type">MatePanelAppletFactoryCallback</span></a> callback</code></em>, - <em class="parameter"><code><span class="type">gpointer</span> data</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="mate-panel-applet-mate-panel-applet.object-hierarchy"></a><h2>Object Hierarchy</h2> -<pre class="synopsis"> - GObject - +----GInitiallyUnowned - +----GtkObject - +----GtkWidget - +----GtkContainer - +----GtkBin - +----GtkEventBox - +----MatePanelApplet -</pre> -</div> -<div class="refsect1"> -<a name="mate-panel-applet-mate-panel-applet.implemented-interfaces"></a><h2>Implemented Interfaces</h2> -<p> -MatePanelApplet implements - AtkImplementorIface and GtkBuildable.</p> -</div> -<div class="refsect1"> -<a name="mate-panel-applet-mate-panel-applet.properties"></a><h2>Properties</h2> -<pre class="synopsis"> - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--background" title='The "background" property'>background</a>" <span class="type">gchar</span>* : Read / Write - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--closure" title='The "closure" property'>closure</a>" <span class="type">gpointer</span> : Read / Write / Construct Only - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--connection" title='The "connection" property'>connection</a>" <span class="type">GDBusConnection</span>* : Read / Write / Construct Only - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--flags" title='The "flags" property'>flags</a>" <span class="type">guint</span> : Read / Write - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--id" title='The "id" property'>id</a>" <span class="type">gchar</span>* : Read / Write / Construct Only - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--locked" title='The "locked" property'>locked</a>" <span class="type">gboolean</span> : Read / Write - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--locked-down" title='The "locked-down" property'>locked-down</a>" <span class="type">gboolean</span> : Read / Write - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--orient" title='The "orient" property'>orient</a>" <span class="type">guint</span> : Read / Write - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--prefs-key" title='The "prefs-key" property'>prefs-key</a>" <span class="type">gchar</span>* : Read / Write - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--size" title='The "size" property'>size</a>" <span class="type">guint</span> : Read / Write - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--size-hints" title='The "size-hints" property'>size-hints</a>" <span class="type">gpointer</span> : Read / Write -</pre> -</div> -<div class="refsect1"> -<a name="mate-panel-applet-mate-panel-applet.signals"></a><h2>Signals</h2> -<pre class="synopsis"> - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-change-background" title='The "change-background" signal'>change-background</a>" : <code class="literal">Run Last</code> - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-change-orient" title='The "change-orient" signal'>change-orient</a>" : <code class="literal">Run Last</code> - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-change-size" title='The "change-size" signal'>change-size</a>" : <code class="literal">Run Last</code> - "<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-move-focus-out-of-applet" title='The "move-focus-out-of-applet" signal'>move-focus-out-of-applet</a>" : <code class="literal">Action</code> -</pre> -</div> -<div class="refsect1"> -<a name="mate-panel-applet-mate-panel-applet.description"></a><h2>Description</h2> -<p> -The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> object is an object which encapsulates an applet. It -is a <span class="type">GtkContainer</span> which may contain a single widget. This widget, in -turn, should contain all widgets exposed by the applet. -</p> -<p> -A <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> is associated with a <span class="type">MateComponentControl</span>. The control makes -the cross process UI emmbedding required by applets possible. -</p> -</div> -<div class="refsect1"> -<a name="mate-panel-applet-mate-panel-applet.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="MatePanelApplet-struct"></a><h3>struct MatePanelApplet</h3> -<pre class="programlisting">struct MatePanelApplet;</pre> -<p> -The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> struct contains private data only. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelAppletOrient"></a><h3>enum MatePanelAppletOrient</h3> -<pre class="programlisting">typedef enum { - MATE_PANEL_APPLET_ORIENT_UP, - MATE_PANEL_APPLET_ORIENT_DOWN, - MATE_PANEL_APPLET_ORIENT_LEFT, - MATE_PANEL_APPLET_ORIENT_RIGHT -} MatePanelAppletOrient; -</pre> -<p> -The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletOrient" title="enum MatePanelAppletOrient"><span class="type">MatePanelAppletOrient</span></a> type specifies the orientation of the applet. The -values may seem backward (e.g. <code class="literal">MATE_PANEL_APPLET_ORIENT_LEFT</code> means the panel -is on the right hand side), but this is because the value is representative -of the applet's <span class="emphasis"><em>orientation</em></span>, not the panel's position. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelAppletBackgroundType"></a><h3>enum MatePanelAppletBackgroundType</h3> -<pre class="programlisting">typedef enum { - PANEL_NO_BACKGROUND, - PANEL_COLOR_BACKGROUND, - PANEL_PIXMAP_BACKGROUND -} MatePanelAppletBackgroundType; -</pre> -<p> -The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletBackgroundType" title="enum MatePanelAppletBackgroundType"><span class="type">MatePanelAppletBackgroundType</span></a> enumerated type specifies the type of -background of a panel. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><a name="PANEL-NO-BACKGROUND:CAPS"></a><span class="term"><code class="literal">PANEL_NO_BACKGROUND</code></span></p></td> -<td>The panel has no background, the default is used. -</td> -</tr> -<tr> -<td><p><a name="PANEL-COLOR-BACKGROUND:CAPS"></a><span class="term"><code class="literal">PANEL_COLOR_BACKGROUND</code></span></p></td> -<td>The panel has a color, i.e rgb value, -background. -</td> -</tr> -<tr> -<td><p><a name="PANEL-PIXMAP-BACKGROUND:CAPS"></a><span class="term"><code class="literal">PANEL_PIXMAP_BACKGROUND</code></span></p></td> -<td> The panel has either an image background -or is translucent. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelAppletFlags"></a><h3>enum MatePanelAppletFlags</h3> -<pre class="programlisting">typedef enum { - MATE_PANEL_APPLET_FLAGS_NONE = 0, - MATE_PANEL_APPLET_EXPAND_MAJOR = 1 << 0, - MATE_PANEL_APPLET_EXPAND_MINOR = 1 << 1, - MATE_PANEL_APPLET_HAS_HANDLE = 1 << 2 -} MatePanelAppletFlags; -</pre> -<p> -The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags" title="enum MatePanelAppletFlags"><span class="type">MatePanelAppletFlags</span></a> associated with the applet are boolean flags which -the panel may read in order to figure out how to handle the applet. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><a name="PANEL-APPLET-FLAGS-NONE:CAPS"></a><span class="term"><code class="literal">MATE_PANEL_APPLET_FLAGS_NONE</code></span></p></td> -<td>No flags are to be associated with the applet. -</td> -</tr> -<tr> -<td><p><a name="PANEL-APPLET-EXPAND-MAJOR:CAPS"></a><span class="term"><code class="literal">MATE_PANEL_APPLET_EXPAND_MAJOR</code></span></p></td> -<td>The applet should expand horizontally on an -horizontal panel and vertically on a vertical panel - e.g. the behaviour -of the Window List applet. -</td> -</tr> -<tr> -<td><p><a name="PANEL-APPLET-EXPAND-MINOR:CAPS"></a><span class="term"><code class="literal">MATE_PANEL_APPLET_EXPAND_MINOR</code></span></p></td> -<td>The applet should expand vertically on an -horizontal panel and horizontally on a vertical panel. Most applets should -set this flag in order to utilise the full panel width and allow the applet -to be Fitt's Law compliant. -</td> -</tr> -<tr> -<td><p><a name="PANEL-APPLET-HAS-HANDLE:CAPS"></a><span class="term"><code class="literal">MATE_PANEL_APPLET_HAS_HANDLE</code></span></p></td> -<td>The panel should draw a grab handle around the -applet - e.g. the Window List and Notification Area applets both set this -flag. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelAppletFactoryCallback"></a><h3>MatePanelAppletFactoryCallback ()</h3> -<pre class="programlisting"><span class="returnvalue">gboolean</span> (*MatePanelAppletFactoryCallback) (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code>const <span class="type">gchar</span> *iid</code></em>, - <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> -<p> -This callback is invoked when the applet is loaded onto the panel. Typically -the callback will check that <em class="parameter"><code>iid</code></em> matches and fill the <em class="parameter"><code>applet</code></em> with the -widgets which make up the applet. -</p> -<p> -Prior to the callback being invoked the <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> (or an instance of the -sub-class specified by the <span class="type">GType</span> passed to the factory macros) is instantiated -and initialized. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet</code></em> :</span></p></td> -<td>The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>iid</code></em> :</span></p></td> -<td>The MateComponent IID of the applet requested. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>The data passed to the factory macros. -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> on failure. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-new"></a><h3>mate_panel_applet_new ()</h3> -<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * mate_panel_applet_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> -<p> -Creates a new <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. This function is typically not -useful as the applet is created before the <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFactoryCallback" title="MatePanelAppletFactoryCallback ()"><span class="type">MatePanelAppletFactoryCallback</span></a> -is invoked. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-get-orient"></a><h3>mate_panel_applet_get_orient ()</h3> -<pre class="programlisting"><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletOrient" title="enum MatePanelAppletOrient"><span class="returnvalue">MatePanelAppletOrient</span></a> mate_panel_applet_get_orient (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>);</pre> -<p> -Get the current orientation of the applet. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet</code></em> :</span></p></td> -<td>The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The orientation of the applet. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-get-size"></a><h3>mate_panel_applet_get_size ()</h3> -<pre class="programlisting"><span class="returnvalue">guint</span> mate_panel_applet_get_size (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>);</pre> -<p> -Get the current size hint for the panel. The size hint is -not useful for most applets. -</p> -<p> -Note: The return value is <span class="emphasis"><em>not an integer value -specifying the pixel size of the panel.</em></span> Do not -use this value to calculate the size of the applet. Use it -only as a hint by which to decide the applet's layout. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet</code></em> :</span></p></td> -<td>The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The panel's size hint. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-get-background"></a><h3>mate_panel_applet_get_background ()</h3> -<pre class="programlisting"><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletBackgroundType" title="enum MatePanelAppletBackgroundType"><span class="returnvalue">MatePanelAppletBackgroundType</span></a> mate_panel_applet_get_background (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code><span class="type">GdkColor</span> *color</code></em>, - <em class="parameter"><code><span class="type">GdkPixmap</span> **pixmap</code></em>);</pre> -<p> -Returns the current background type. If the background -type is <a class="link" href="mate-panel-applet-mate-panel-applet.html#PANEL-NO-BACKGROUND:CAPS"><code class="literal">PANEL_NO_BACKGROUND</code></a> both <em class="parameter"><code>color</code></em> and <em class="parameter"><code>pixmap</code></em> will -be unaffected. If the background type is <a class="link" href="mate-panel-applet-mate-panel-applet.html#PANEL-COLOR-BACKGROUND:CAPS"><code class="literal">PANEL_COLOR_BACKGROUND</code></a> -then <em class="parameter"><code>color</code></em> will contain the current panel background colour. -If the background type is <a class="link" href="mate-panel-applet-mate-panel-applet.html#PANEL-PIXMAP-BACKGROUND:CAPS"><code class="literal">PANEL_PIXMAP_BACKGROUND</code></a>, <em class="parameter"><code>pixmap</code></em> will -contain a pointer to a <span class="type">GdkPixmap</span> which is a copy of the applet's -portion of the panel's background pixmap. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet</code></em> :</span></p></td> -<td>A <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td> -<td>A <span class="type">GdkColor</span> to be filled in. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pixmap</code></em> :</span></p></td> -<td>Returned <span class="type">GdkPixmap</span>. -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The background type. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-get-preferences-key"></a><h3>mate_panel_applet_get_preferences_key ()</h3> -<pre class="programlisting"><span class="returnvalue">gchar</span> * mate_panel_applet_get_preferences_key (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>);</pre> -<p> -Returns the MateConf path to the directory containing the applet's -per-instance preference keys. Using this you may construct the -full path for the applet's preference keys. See -<a class="xref" href="mate-panel-applet-Panel-Applet-MateConf-Utilities.html" title="Panel Applet MateConf Utilities"><span class="refentrytitle"><a name="mate-panel-applet-Panel-Applet-MateConf-Utilities.top_of_page"></a>Panel Applet MateConf Utilities</span>(3)</a> for -more information. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet</code></em> :</span></p></td> -<td>The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A MateConf path. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-add-preferences"></a><h3>mate_panel_applet_add_preferences ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> mate_panel_applet_add_preferences (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code>const <span class="type">gchar</span> *schema_dir</code></em>, - <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>);</pre> -<p> -Associates each schema in <em class="parameter"><code>schema_dir</code></em> with a key in the applet's -preferences directory (i.e. the directory returned by -<a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-preferences-key" title="mate_panel_applet_get_preferences_key ()"><code class="function">mate_panel_applet_get_preferences_key()</code></a>). Each applet preference -should have an associated schema to ensure that the key has -a defined type, sane default and documentation. -</p> -<p> -If you pass <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>opt_error</code></em>, this function will print -a warning message from any <span class="type">GError</span> which MateConf may return. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet</code></em> :</span></p></td> -<td>The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>schema_dir</code></em> :</span></p></td> -<td>The MateConf path where the applet's schemas are installed -e.g. /schemas/apps/my_applet -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>opt_error</code></em> :</span></p></td> -<td>Optional <span class="type">GError</span>. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-get-flags"></a><h3>mate_panel_applet_get_flags ()</h3> -<pre class="programlisting"><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags" title="enum MatePanelAppletFlags"><span class="returnvalue">MatePanelAppletFlags</span></a> mate_panel_applet_get_flags (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>);</pre> -<p> -Retrieve the <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags" title="enum MatePanelAppletFlags"><span class="type">MatePanelAppletFlags</span></a> associated with the applet. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet</code></em> :</span></p></td> -<td>The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags" title="enum MatePanelAppletFlags"><span class="type">MatePanelAppletFlags</span></a>. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-set-flags"></a><h3>mate_panel_applet_set_flags ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> mate_panel_applet_set_flags (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags" title="enum MatePanelAppletFlags"><span class="type">MatePanelAppletFlags</span></a> flags</code></em>);</pre> -<p> -Set the <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags" title="enum MatePanelAppletFlags"><span class="type">MatePanelAppletFlags</span></a> associated with the applet. See -<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags" title="enum MatePanelAppletFlags"><span class="type">MatePanelAppletFlags</span></a> for more details on the possible uses of -these flags. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet</code></em> :</span></p></td> -<td>The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags" title="enum MatePanelAppletFlags"><span class="type">MatePanelAppletFlags</span></a> to associate. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-set-size-hints"></a><h3>mate_panel_applet_set_size_hints ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> mate_panel_applet_set_size_hints (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code>const <span class="type">int</span> *size_hints</code></em>, - <em class="parameter"><code><span class="type">int</span> n_elements</code></em>, - <em class="parameter"><code><span class="type">int</span> base_size</code></em>);</pre> -<p> -Set a list of desired size ranges for an applet with the -<a class="link" href="mate-panel-applet-mate-panel-applet.html#PANEL-APPLET-EXPAND-MAJOR:CAPS"><span class="type">MATE_PANEL_APPLET_EXPAND_MAJOR</span></a> flags set. <em class="parameter"><code>size_hints</code></em> is an -array of (max, min) pairs where min(i) > max(i + 1). -</p> -<p> -The panel will endeavour to allocate the applet a size -in one of the (<em class="parameter"><code>base</code></em> + max, <em class="parameter"><code>base</code></em> + min) ranges. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet</code></em> :</span></p></td> -<td>The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>size_hints</code></em> :</span></p></td> -<td>Array of size_hints. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_elements</code></em> :</span></p></td> -<td>Number of elements in the array. <span class="emphasis"><em> -Not</em></span> the number of pairs. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>base_size</code></em> :</span></p></td> -<td>The base size of the applet. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-get-locked-down"></a><h3>mate_panel_applet_get_locked_down ()</h3> -<pre class="programlisting"><span class="returnvalue">gboolean</span> mate_panel_applet_get_locked_down (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>);</pre> -<p> -Check if the <em class="parameter"><code>applet</code></em> is locked down. A locked down applet should not allow any change to its configuration. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet</code></em> :</span></p></td> -<td>The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<code class="literal">TRUE</code> if the <em class="parameter"><code>applet</code></em> is locked down, <code class="literal">FALSE</code> otherwise. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-request-focus"></a><h3>mate_panel_applet_request_focus ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> mate_panel_applet_request_focus (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code><span class="type">guint32</span> timestamp</code></em>);</pre> -<p> -Set keyboard focus to <em class="parameter"><code>applet</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet</code></em> :</span></p></td> -<td>The <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>timestamp</code></em> :</span></p></td> -<td>timestamp of the event triggering the window focus -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-setup-menu"></a><h3>mate_panel_applet_setup_menu ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> mate_panel_applet_setup_menu (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, - <em class="parameter"><code><span class="type">GtkActionGroup</span> *action_group</code></em>);</pre> -<p> -Sets up a popup menu for <em class="parameter"><code>applet</code></em> described by the xml -string, <em class="parameter"><code>xml</code></em>. See <a class="xref" href="applet-writing.html" title="Writing Applets"><i>Writing Applets</i></a> section -for a description of the format of the xml. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet</code></em> :</span></p></td> -<td>A <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>xml</code></em> :</span></p></td> -<td>The xml character string describing the popup menu. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>action_group</code></em> :</span></p></td> -<td> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-setup-menu-from-file"></a><h3>mate_panel_applet_setup_menu_from_file ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> mate_panel_applet_setup_menu_from_file (<em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *applet</code></em>, - <em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>, - <em class="parameter"><code><span class="type">GtkActionGroup</span> *action_group</code></em>);</pre> -<p> -Sets up a popup menu for <em class="parameter"><code>applet</code></em> described by the xml -file, <em class="parameter"><code>file</code></em>. See <a class="xref" href="applet-writing.html" title="Writing Applets"><i>Writing Applets</i></a> for a description of -the format of the xml. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet</code></em> :</span></p></td> -<td>A <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a>. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td> -<td> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>action_group</code></em> :</span></p></td> -<td> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="mate-panel-applet-factory-main"></a><h3>mate_panel_applet_factory_main ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> mate_panel_applet_factory_main (<em class="parameter"><code>const <span class="type">gchar</span> *factory_id</code></em>, - <em class="parameter"><code><span class="type">gboolean</span> out_process</code></em>, - <em class="parameter"><code><span class="type">GType</span> applet_type</code></em>, - <em class="parameter"><code><a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFactoryCallback" title="MatePanelAppletFactoryCallback ()"><span class="type">MatePanelAppletFactoryCallback</span></a> callback</code></em>, - <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre> -<p> -A generic 'main' routine for applets. This should not normally be -used directly because it is invoked by <span class="type">MATE_PANEL_APPLET_MATECOMPONENT_FACTORY</span>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>factory_id</code></em> :</span></p></td> -<td> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>out_process</code></em> :</span></p></td> -<td> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>applet_type</code></em> :</span></p></td> -<td>The <span class="type">GType</span> to instantiate. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td> -<td>The factory callback. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The factory user data pointer. -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>0 on success, 1 on failure. -</td> -</tr> -</tbody> -</table></div> -</div> -</div> -<div class="refsect1"> -<a name="mate-panel-applet-mate-panel-applet.property-details"></a><h2>Property Details</h2> -<div class="refsect2"> -<a name="MatePanelApplet--background"></a><h3>The <code class="literal">"background"</code> property</h3> -<pre class="programlisting"> "background" <span class="type">gchar</span>* : Read / Write</pre> -<p>Panel Applet Background.</p> -<p>Default value: NULL</p> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelApplet--closure"></a><h3>The <code class="literal">"closure"</code> property</h3> -<pre class="programlisting"> "closure" <span class="type">gpointer</span> : Read / Write / Construct Only</pre> -<p>The Applet closure.</p> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelApplet--connection"></a><h3>The <code class="literal">"connection"</code> property</h3> -<pre class="programlisting"> "connection" <span class="type">GDBusConnection</span>* : Read / Write / Construct Only</pre> -<p>The DBus Connection.</p> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelApplet--flags"></a><h3>The <code class="literal">"flags"</code> property</h3> -<pre class="programlisting"> "flags" <span class="type">guint</span> : Read / Write</pre> -<p>Panel Applet flags.</p> -<p>Default value: 0</p> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelApplet--id"></a><h3>The <code class="literal">"id"</code> property</h3> -<pre class="programlisting"> "id" <span class="type">gchar</span>* : Read / Write / Construct Only</pre> -<p>The Applet identifier.</p> -<p>Default value: NULL</p> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelApplet--locked"></a><h3>The <code class="literal">"locked"</code> property</h3> -<pre class="programlisting"> "locked" <span class="type">gboolean</span> : Read / Write</pre> -<p>Whether Panel Applet is locked.</p> -<p>Default value: FALSE</p> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelApplet--locked-down"></a><h3>The <code class="literal">"locked-down"</code> property</h3> -<pre class="programlisting"> "locked-down" <span class="type">gboolean</span> : Read / Write</pre> -<p>Whether Panel Applet is locked down.</p> -<p>Default value: FALSE</p> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelApplet--orient"></a><h3>The <code class="literal">"orient"</code> property</h3> -<pre class="programlisting"> "orient" <span class="type">guint</span> : Read / Write</pre> -<p>Panel Applet Orientation.</p> -<p>Default value: 0</p> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelApplet--prefs-key"></a><h3>The <code class="literal">"prefs-key"</code> property</h3> -<pre class="programlisting"> "prefs-key" <span class="type">gchar</span>* : Read / Write</pre> -<p>MateConf Preferences Key.</p> -<p>Default value: NULL</p> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelApplet--size"></a><h3>The <code class="literal">"size"</code> property</h3> -<pre class="programlisting"> "size" <span class="type">guint</span> : Read / Write</pre> -<p>Panel Applet Size.</p> -<p>Default value: 0</p> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelApplet--size-hints"></a><h3>The <code class="literal">"size-hints"</code> property</h3> -<pre class="programlisting"> "size-hints" <span class="type">gpointer</span> : Read / Write</pre> -<p>Panel Applet Size Hints.</p> -</div> -</div> -<div class="refsect1"> -<a name="mate-panel-applet-mate-panel-applet.signal-details"></a><h2>Signal Details</h2> -<div class="refsect2"> -<a name="MatePanelApplet-change-background"></a><h3>The <code class="literal">"change-background"</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *matepanelapplet, - <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletBackgroundType" title="enum MatePanelAppletBackgroundType"><span class="type">MatePanelAppletBackgroundType</span></a> arg1, - <span class="type">GdkColor</span> *arg2, - <span class="type">GdkPixmap</span> *arg3, - <span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre> -<p> -Emitted when the background of the panel changes. Use <em class="parameter"><code>type</code></em> to -determine which, if any, of <em class="parameter"><code>color</code></em> and <em class="parameter"><code>pimxap</code></em> is valid. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>matepanelapplet</code></em> :</span></p></td> -<td>The object which received the signal. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td> -<td> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>arg2</code></em> :</span></p></td> -<td> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>arg3</code></em> :</span></p></td> -<td> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelApplet-change-orient"></a><h3>The <code class="literal">"change-orient"</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *matepanelapplet, - <span class="type">guint</span> arg1, - <span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre> -<p> -Emitted when the orientation of the panel changes. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>matepanelapplet</code></em> :</span></p></td> -<td>The object which received the signal. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>orient</code></em> :</span></p></td> -<td>The new <a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelAppletOrient" title="enum MatePanelAppletOrient"><span class="type">MatePanelAppletOrient</span></a> of the applet. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelApplet-change-size"></a><h3>The <code class="literal">"change-size"</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *matepanelapplet, - <span class="type">gint</span> arg1, - <span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre> -<p> -Emitted when the size of the panel changes. -</p> -<p> -Note: this is different for size negotiation which is handled by -<code class="function">size_request()</code> and <code class="function">size_allocate()</code> as usual. This signal should -be used to determine what font size or widget layout to use -depending on the size of the panel. See <a class="link" href="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-size" title="mate_panel_applet_get_size ()"><code class="function">mate_panel_applet_get_size()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>matepanelapplet</code></em> :</span></p></td> -<td>The object which received the signal. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td> -<td>The size hint of the panel. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="MatePanelApplet-move-focus-out-of-applet"></a><h3>The <code class="literal">"move-focus-out-of-applet"</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="mate-panel-applet-mate-panel-applet.html#MatePanelApplet"><span class="type">MatePanelApplet</span></a> *matepanelapplet, - <span class="type">GtkDirectionType</span> arg1, - <span class="type">gpointer</span> user_data) : <code class="literal">Action</code></pre> -<p> -Emitted when the applet has lost focus. This signal is used internally and is not meant to be used by applets themselves. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>matepanelapplet</code></em> :</span></p></td> -<td>The object which received the signal. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>direction</code></em> :</span></p></td> -<td>The direction of focus movement. -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.15.1</div> -</body> -</html>
\ No newline at end of file diff --git a/doc/reference/mate-panel-applet/html/mate-panel-applet.devhelp b/doc/reference/mate-panel-applet/html/mate-panel-applet.devhelp deleted file mode 100644 index 317f43b4..00000000 --- a/doc/reference/mate-panel-applet/html/mate-panel-applet.devhelp +++ /dev/null @@ -1,68 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""> -<book xmlns="http://www.devhelp.net/book" title="Panel Applet Library Reference Manual" link="index.html" author="Mark McLoughlin" name="mate-panel-applet"> - <chapters> - <sub name="Writing Applets" link="applet-writing.html"> - <sub name="Hello World Applet" link="applet-writing.html#hello-world"/> - <sub name="MateComponent Activation .server Files For Applets" link="server-files.html"/> - <sub name="Defining a Popup Context Menu" link="applet-popups.html"/> - <sub name="Detecting Changes in the Panel." link="panel-signals.html"/> - <sub name="Session/Preference Saving." link="session-saving.html"/> - <sub name="Multiple Applets" link="multi-applets.html"/> - </sub> - <sub name="Porting Applets from the MATE 1.x interfaces" link="applet-porting.html"/> - <sub name="The Panel Applet Library" link="mate-panel-applet.html"> - <sub name="MatePanelApplet" link="mate-panel-applet-mate-panel-applet.html"/> - <sub name="Panel Applet MateConf Utilities" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html"/> - </sub> - </chapters> - <functions> - <function name="struct MatePanelApplet" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-struct"/> - <function name="enum MatePanelAppletOrient" link="mate-panel-applet-mate-panel-applet.html#MatePanelAppletOrient"/> - <function name="enum MatePanelAppletBackgroundType" link="mate-panel-applet-mate-panel-applet.html#MatePanelAppletBackgroundType"/> - <function name="enum MatePanelAppletFlags" link="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags"/> - <function name="MatePanelAppletFactoryCallback ()" link="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFactoryCallback"/> - <function name="mate_panel_applet_new ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-new"/> - <function name="mate_panel_applet_get_orient ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-orient"/> - <function name="mate_panel_applet_get_size ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-size"/> - <function name="mate_panel_applet_get_background ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-background"/> - <function name="mate_panel_applet_get_preferences_key ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-preferences-key"/> - <function name="mate_panel_applet_add_preferences ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-add-preferences"/> - <function name="mate_panel_applet_get_flags ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-flags"/> - <function name="mate_panel_applet_set_flags ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-set-flags"/> - <function name="mate_panel_applet_set_size_hints ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-set-size-hints"/> - <function name="mate_panel_applet_get_locked_down ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-locked-down"/> - <function name="mate_panel_applet_request_focus ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-request-focus"/> - <function name="mate_panel_applet_setup_menu ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-setup-menu"/> - <function name="mate_panel_applet_setup_menu_from_file ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-setup-menu-from-file"/> - <function name="mate_panel_applet_factory_main ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-factory-main"/> - <function name="The "background" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--background"/> - <function name="The "closure" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--closure"/> - <function name="The "connection" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--connection"/> - <function name="The "flags" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--flags"/> - <function name="The "id" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--id"/> - <function name="The "locked" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--locked"/> - <function name="The "locked-down" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--locked-down"/> - <function name="The "orient" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--orient"/> - <function name="The "prefs-key" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--prefs-key"/> - <function name="The "size" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--size"/> - <function name="The "size-hints" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--size-hints"/> - <function name="The "change-background" signal" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-change-background"/> - <function name="The "change-orient" signal" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-change-orient"/> - <function name="The "change-size" signal" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-change-size"/> - <function name="The "move-focus-out-of-applet" signal" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-move-focus-out-of-applet"/> - <function name="mate_panel_applet_mateconf_get_full_key ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-full-key"/> - <function name="mate_panel_applet_mateconf_get_bool ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-bool"/> - <function name="mate_panel_applet_mateconf_get_int ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-int"/> - <function name="mate_panel_applet_mateconf_get_string ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-string"/> - <function name="mate_panel_applet_mateconf_get_float ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-float"/> - <function name="mate_panel_applet_mateconf_get_list ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-list"/> - <function name="mate_panel_applet_mateconf_get_value ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-value"/> - <function name="mate_panel_applet_mateconf_set_bool ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-bool"/> - <function name="mate_panel_applet_mateconf_set_int ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-int"/> - <function name="mate_panel_applet_mateconf_set_string ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-string"/> - <function name="mate_panel_applet_mateconf_set_float ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-float"/> - <function name="mate_panel_applet_mateconf_set_list ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-list"/> - <function name="mate_panel_applet_mateconf_set_value ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-value"/> - </functions> -</book> diff --git a/doc/reference/mate-panel-applet/html/mate-panel-applet.devhelp2 b/doc/reference/mate-panel-applet/html/mate-panel-applet.devhelp2 deleted file mode 100644 index 9b00aec5..00000000 --- a/doc/reference/mate-panel-applet/html/mate-panel-applet.devhelp2 +++ /dev/null @@ -1,75 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""> -<book xmlns="http://www.devhelp.net/book" title="Panel Applet Library Reference Manual" link="index.html" author="Mark McLoughlin" name="mate-panel-applet" version="2" language="c"> - <chapters> - <sub name="Writing Applets" link="applet-writing.html"> - <sub name="Hello World Applet" link="applet-writing.html#hello-world"/> - <sub name="MateComponent Activation .server Files For Applets" link="server-files.html"/> - <sub name="Defining a Popup Context Menu" link="applet-popups.html"/> - <sub name="Detecting Changes in the Panel." link="panel-signals.html"/> - <sub name="Session/Preference Saving." link="session-saving.html"/> - <sub name="Multiple Applets" link="multi-applets.html"/> - </sub> - <sub name="Porting Applets from the MATE 1.x interfaces" link="applet-porting.html"/> - <sub name="The Panel Applet Library" link="mate-panel-applet.html"> - <sub name="MatePanelApplet" link="mate-panel-applet-mate-panel-applet.html"/> - <sub name="Panel Applet MateConf Utilities" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html"/> - </sub> - </chapters> - <functions> - <keyword type="struct" name="struct MatePanelApplet" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-struct"/> - <keyword type="enum" name="enum MatePanelAppletOrient" link="mate-panel-applet-mate-panel-applet.html#MatePanelAppletOrient"/> - <keyword type="enum" name="enum MatePanelAppletBackgroundType" link="mate-panel-applet-mate-panel-applet.html#MatePanelAppletBackgroundType"/> - <keyword type="enum" name="enum MatePanelAppletFlags" link="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFlags"/> - <keyword type="function" name="MatePanelAppletFactoryCallback ()" link="mate-panel-applet-mate-panel-applet.html#MatePanelAppletFactoryCallback"/> - <keyword type="function" name="mate_panel_applet_new ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-new"/> - <keyword type="function" name="mate_panel_applet_get_orient ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-orient"/> - <keyword type="function" name="mate_panel_applet_get_size ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-size"/> - <keyword type="function" name="mate_panel_applet_get_background ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-background"/> - <keyword type="function" name="mate_panel_applet_get_preferences_key ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-preferences-key"/> - <keyword type="function" name="mate_panel_applet_add_preferences ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-add-preferences"/> - <keyword type="function" name="mate_panel_applet_get_flags ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-flags"/> - <keyword type="function" name="mate_panel_applet_set_flags ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-set-flags"/> - <keyword type="function" name="mate_panel_applet_set_size_hints ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-set-size-hints"/> - <keyword type="function" name="mate_panel_applet_get_locked_down ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-get-locked-down"/> - <keyword type="function" name="mate_panel_applet_request_focus ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-request-focus"/> - <keyword type="function" name="mate_panel_applet_setup_menu ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-setup-menu"/> - <keyword type="function" name="mate_panel_applet_setup_menu_from_file ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-setup-menu-from-file"/> - <keyword type="function" name="mate_panel_applet_factory_main ()" link="mate-panel-applet-mate-panel-applet.html#mate-panel-applet-factory-main"/> - <keyword type="property" name="The "background" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--background"/> - <keyword type="property" name="The "closure" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--closure"/> - <keyword type="property" name="The "connection" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--connection"/> - <keyword type="property" name="The "flags" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--flags"/> - <keyword type="property" name="The "id" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--id"/> - <keyword type="property" name="The "locked" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--locked"/> - <keyword type="property" name="The "locked-down" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--locked-down"/> - <keyword type="property" name="The "orient" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--orient"/> - <keyword type="property" name="The "prefs-key" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--prefs-key"/> - <keyword type="property" name="The "size" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--size"/> - <keyword type="property" name="The "size-hints" property" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet--size-hints"/> - <keyword type="signal" name="The "change-background" signal" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-change-background"/> - <keyword type="signal" name="The "change-orient" signal" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-change-orient"/> - <keyword type="signal" name="The "change-size" signal" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-change-size"/> - <keyword type="signal" name="The "move-focus-out-of-applet" signal" link="mate-panel-applet-mate-panel-applet.html#MatePanelApplet-move-focus-out-of-applet"/> - <keyword type="function" name="mate_panel_applet_mateconf_get_full_key ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-full-key"/> - <keyword type="function" name="mate_panel_applet_mateconf_get_bool ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-bool"/> - <keyword type="function" name="mate_panel_applet_mateconf_get_int ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-int"/> - <keyword type="function" name="mate_panel_applet_mateconf_get_string ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-string"/> - <keyword type="function" name="mate_panel_applet_mateconf_get_float ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-float"/> - <keyword type="function" name="mate_panel_applet_mateconf_get_list ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-list"/> - <keyword type="function" name="mate_panel_applet_mateconf_get_value ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-get-value"/> - <keyword type="function" name="mate_panel_applet_mateconf_set_bool ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-bool"/> - <keyword type="function" name="mate_panel_applet_mateconf_set_int ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-int"/> - <keyword type="function" name="mate_panel_applet_mateconf_set_string ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-string"/> - <keyword type="function" name="mate_panel_applet_mateconf_set_float ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-float"/> - <keyword type="function" name="mate_panel_applet_mateconf_set_list ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-list"/> - <keyword type="function" name="mate_panel_applet_mateconf_set_value ()" link="mate-panel-applet-Panel-Applet-MateConf-Utilities.html#mate-panel-applet-mateconf-set-value"/> - <keyword type="constant" name="PANEL_NO_BACKGROUND" link="mate-panel-applet-mate-panel-applet.html#PANEL-NO-BACKGROUND:CAPS"/> - <keyword type="constant" name="PANEL_COLOR_BACKGROUND" link="mate-panel-applet-mate-panel-applet.html#PANEL-COLOR-BACKGROUND:CAPS"/> - <keyword type="constant" name="PANEL_PIXMAP_BACKGROUND" link="mate-panel-applet-mate-panel-applet.html#PANEL-PIXMAP-BACKGROUND:CAPS"/> - <keyword type="constant" name="MATE_PANEL_APPLET_FLAGS_NONE" link="mate-panel-applet-mate-panel-applet.html#PANEL-APPLET-FLAGS-NONE:CAPS"/> - <keyword type="constant" name="MATE_PANEL_APPLET_EXPAND_MAJOR" link="mate-panel-applet-mate-panel-applet.html#PANEL-APPLET-EXPAND-MAJOR:CAPS"/> - <keyword type="constant" name="MATE_PANEL_APPLET_EXPAND_MINOR" link="mate-panel-applet-mate-panel-applet.html#PANEL-APPLET-EXPAND-MINOR:CAPS"/> - <keyword type="constant" name="MATE_PANEL_APPLET_HAS_HANDLE" link="mate-panel-applet-mate-panel-applet.html#PANEL-APPLET-HAS-HANDLE:CAPS"/> - </functions> -</book> diff --git a/doc/reference/mate-panel-applet/html/mate-panel-applet.html b/doc/reference/mate-panel-applet/html/mate-panel-applet.html deleted file mode 100644 index d332a83d..00000000 --- a/doc/reference/mate-panel-applet/html/mate-panel-applet.html +++ /dev/null @@ -1,38 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>The Panel Applet Library</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> -<link rel="home" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="up" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="prev" href="applet-porting.html" title="Porting Applets from the MATE 1.x interfaces"> -<link rel="next" href="mate-panel-applet-mate-panel-applet.html" title="MatePanelApplet"> -<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="applet-porting.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">Panel Applet Library Reference Manual</th> -<td><a accesskey="n" href="mate-panel-applet-mate-panel-applet.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="mate-panel-applet"></a>The Panel Applet Library</h2></div></div></div> -<div class="toc"><dl> -<dt> -<span class="refentrytitle"><a href="mate-panel-applet-mate-panel-applet.html">MatePanelApplet</a></span><span class="refpurpose"> — The MatePanelApplet object.</span> -</dt> -<dt> -<span class="refentrytitle"><a href="mate-panel-applet-Panel-Applet-MateConf-Utilities.html">Panel Applet MateConf Utilities</a></span><span class="refpurpose"> — Utility methods for manipulating per-applet MateConf preferences.</span> -</dt> -</dl></div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.15.1</div> -</body> -</html>
\ No newline at end of file diff --git a/doc/reference/mate-panel-applet/html/multi-applets.html b/doc/reference/mate-panel-applet/html/multi-applets.html deleted file mode 100644 index 6d0a6121..00000000 --- a/doc/reference/mate-panel-applet/html/multi-applets.html +++ /dev/null @@ -1,31 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Multiple Applets</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> -<link rel="home" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="up" href="applet-writing.html" title="Writing Applets"> -<link rel="prev" href="session-saving.html" title="Session/Preference Saving."> -<link rel="next" href="applet-porting.html" title="Porting Applets from the MATE 1.x interfaces"> -<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="session-saving.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="applet-writing.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">Panel Applet Library Reference Manual</th> -<td><a accesskey="n" href="applet-porting.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="multi-applets"></a>Multiple Applets</h2></div></div></div> -<p>FIXME: write</p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.15.1</div> -</body> -</html>
\ No newline at end of file diff --git a/doc/reference/mate-panel-applet/html/panel-signals.html b/doc/reference/mate-panel-applet/html/panel-signals.html deleted file mode 100644 index 3332c2b4..00000000 --- a/doc/reference/mate-panel-applet/html/panel-signals.html +++ /dev/null @@ -1,31 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Detecting Changes in the Panel.</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> -<link rel="home" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="up" href="applet-writing.html" title="Writing Applets"> -<link rel="prev" href="applet-popups.html" title="Defining a Popup Context Menu"> -<link rel="next" href="session-saving.html" title="Session/Preference Saving."> -<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="applet-popups.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="applet-writing.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">Panel Applet Library Reference Manual</th> -<td><a accesskey="n" href="session-saving.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="panel-signals"></a>Detecting Changes in the Panel.</h2></div></div></div> -<p>FIXME: write</p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.15.1</div> -</body> -</html>
\ No newline at end of file diff --git a/doc/reference/mate-panel-applet/html/right.png b/doc/reference/mate-panel-applet/html/right.png Binary files differdeleted file mode 100644 index 92832e3a..00000000 --- a/doc/reference/mate-panel-applet/html/right.png +++ /dev/null diff --git a/doc/reference/mate-panel-applet/html/server-files.html b/doc/reference/mate-panel-applet/html/server-files.html deleted file mode 100644 index fb3b353e..00000000 --- a/doc/reference/mate-panel-applet/html/server-files.html +++ /dev/null @@ -1,67 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>MateComponent Activation .server Files For Applets</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> -<link rel="home" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="up" href="applet-writing.html" title="Writing Applets"> -<link rel="prev" href="applet-writing.html" title="Writing Applets"> -<link rel="next" href="applet-popups.html" title="Defining a Popup Context Menu"> -<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="applet-writing.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="applet-writing.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">Panel Applet Library Reference Manual</th> -<td><a accesskey="n" href="applet-popups.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="server-files"></a>MateComponent Activation .server Files For Applets</h2></div></div></div> -<p>Since an applet is a matecomponent component, you must write -a .server file so that the matecomponent activation daemon is aware that -your component exists and how to activate it. Copy and paste is -your friend here ... - </p> -<pre class="programlisting"> -<oaf_info> -<oaf_server iid="OAFIID:My_HelloApplet_Factory" type="exe" - location="test-matecomponent-applet"> - - <oaf_attribute name="repo_ids" type="stringv"> - <item value="IDL:MateComponent/GenericFactory:1.0"/> - <item value="IDL:MateComponent/Unknown:1.0"/> - </oaf_attribute> - <oaf_attribute name="name" type="string" value="Hello World Applet Factory"/> - <oaf_attribute name="description" type="string" value="My first applet factory"/> -</oaf_server> - -<oaf_server iid="OAFIID:My_HelloApplet" type="factory" - location="OAFIID:My_HelloApplet_Factory"> - - <oaf_attribute name="repo_ids" type="stringv"> - <item value="IDL:MATE/Vertigo/MatePanelAppletShell:1.0"/> - <item value="IDL:MateComponent/Control:1.0"/> - <item value="IDL:MateComponent/Unknown:1.0"/> - </oaf_attribute> - <oaf_attribute name="name" type="string" value="Hello World Applet"/> - <oaf_attribute name="description" type="string" value="My first applet for the MATE2 panel"/> - <oaf_attribute name="panel:icon" type="string" value="mate-applets.png"/> -</oaf_server> -</oaf_info> - </pre> -<p>Probably the most important thing to note here is that, unlike -.server files for other matecomponent components, applet .server files contain -a special attribute called 'panel:icon'. This is used by the panel to display -an entry for the applet in the 'Add to Panel' dialog. - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.15.1</div> -</body> -</html>
\ No newline at end of file diff --git a/doc/reference/mate-panel-applet/html/session-saving.html b/doc/reference/mate-panel-applet/html/session-saving.html deleted file mode 100644 index 5ba77463..00000000 --- a/doc/reference/mate-panel-applet/html/session-saving.html +++ /dev/null @@ -1,31 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Session/Preference Saving.</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> -<link rel="home" href="index.html" title="Panel Applet Library Reference Manual"> -<link rel="up" href="applet-writing.html" title="Writing Applets"> -<link rel="prev" href="panel-signals.html" title="Detecting Changes in the Panel."> -<link rel="next" href="multi-applets.html" title="Multiple Applets"> -<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="panel-signals.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="applet-writing.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">Panel Applet Library Reference Manual</th> -<td><a accesskey="n" href="multi-applets.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="session-saving"></a>Session/Preference Saving.</h2></div></div></div> -<p>FIXME: write</p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.15.1</div> -</body> -</html>
\ No newline at end of file diff --git a/doc/reference/mate-panel-applet/html/style.css b/doc/reference/mate-panel-applet/html/style.css deleted file mode 100644 index d544a2c2..00000000 --- a/doc/reference/mate-panel-applet/html/style.css +++ /dev/null @@ -1,265 +0,0 @@ -.synopsis, .classsynopsis -{ - /* tango:aluminium 1/2 */ - background: #eeeeec; - border: solid 1px #d3d7cf; - padding: 0.5em; -} -.programlisting -{ - /* tango:sky blue 0/1 */ - background: #e6f3ff; - border: solid 1px #729fcf; - padding: 0.5em; -} -.variablelist -{ - padding: 4px; - margin-left: 3em; -} -.variablelist td:first-child -{ - vertical-align: top; -} - -@media screen { - sup a.footnote - { - position: relative; - top: 0em ! important; - - } - /* this is needed so that the local anchors are displayed below the naviagtion */ - div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] - { - position: relative; - padding-top:4.5em; - } - /* this seems to be a bug in the xsl style sheets when generating indexes */ - div.index div.index - { - top: 0em; - } - /* make space for the fixed navigation bar and add space at the bottom so that - * link targets appear somewhat close to top - */ - body - { - padding-top: 3.2em; - padding-bottom: 20em; - } - /* style and size the navigation bar */ - table.navigation#top - { - position: fixed; - /* tango:scarlet red 0/1 */ - background: #ffe6e6; - border: solid 1px #ef2929; - margin-top: 0; - margin-bottom: 0; - top: 0; - left: 0; - height: 3em; - z-index: 10; - } - .navigation a, .navigation a:visited - { - /* tango:scarlet red 3 */ - color: #a40000; - } - .navigation a:hover - { - /* tango:scarlet red 1 */ - color: #ef2929; - } - td.shortcuts - { - /* tango:scarlet red 1 */ - color: #ef2929; - font-size: 80%; - white-space: nowrap; - } -} -@media print { - table.navigation { - visibility: collapse; - display: none; - } - div.titlepage table.navigation { - visibility: visible; - display: table; - /* tango:scarlet red 0/1 */ - background: #ffe6e6; - border: solid 1px #ef2929; - margin-top: 0; - margin-bottom: 0; - top: 0; - left: 0; - height: 3em; - } -} - -.navigation .title -{ - font-size: 200%; -} - -div.gallery-float -{ - float: left; - padding: 10px; -} -div.gallery-float img -{ - border-style: none; -} -div.gallery-spacer -{ - clear: both; -} - -a, a:visited -{ - text-decoration: none; - /* tango:sky blue 2 */ - color: #3465a4; -} -a:hover -{ - text-decoration: underline; - /* tango:sky blue 1 */ - color: #729fcf; -} - -div.table table -{ - border-collapse: collapse; - border-spacing: 0px; - /* tango:aluminium 3 */ - border: solid 1px #babdb6; -} - -div.table table td, div.table table th -{ - /* tango:aluminium 3 */ - border: solid 1px #babdb6; - padding: 3px; - vertical-align: top; -} - -div.table table th -{ - /* tango:aluminium 2 */ - background-color: #d3d7cf; -} - -hr -{ - /* tango:aluminium 3 */ - color: #babdb6; - background: #babdb6; - border: none 0px; - height: 1px; - clear: both; -} - -.footer -{ - padding-top: 3.5em; - /* tango:aluminium 3 */ - color: #babdb6; - text-align: center; - font-size: 80%; -} - -.warning -{ - /* tango:orange 0/1 */ - background: #ffeed9; - border-color: #ffb04f; -} -.note -{ - /* tango:chameleon 0/0.5 */ - background: #d8ffb2; - border-color: #abf562; -} -.note, .warning -{ - padding: 0.5em; - border-width: 1px; - border-style: solid; -} -.note h3, .warning h3 -{ - margin-top: 0.0em -} -.note p, .warning p -{ - margin-bottom: 0.0em -} - -/* blob links */ -h2 .extralinks, h3 .extralinks -{ - float: right; - /* tango:aluminium 3 */ - color: #babdb6; - font-size: 80%; - font-weight: normal; -} - -.annotation -{ - /* tango:aluminium 5 */ - color: #555753; - font-size: 80%; - font-weight: normal; -} - -/* code listings */ - -.listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */ -.listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */ -.listing_code .programlisting .function { color: #000000; font-weight: bold; } -.listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */ -.listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */ -.listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */ -.listing_code .programlisting .normal { color: #000000; } -.listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */ -.listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */ -.listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */ -.listing_code .programlisting .type { color: #000000; } -.listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */ -.listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */ - -.listing_frame { - /* tango:sky blue 1 */ - border: solid 1px #729fcf; - padding: 0px; -} - -.listing_lines, .listing_code { - margin-top: 0px; - margin-bottom: 0px; - padding: 0.5em; -} -.listing_lines { - /* tango:sky blue 0.5 */ - background: #a6c5e3; - /* tango:aluminium 6 */ - color: #2e3436; -} -.listing_code { - /* tango:sky blue 0 */ - background: #e6f3ff; -} -.listing_code .programlisting { - /* override from previous */ - border: none 0px; - padding: 0px; -} -.listing_lines pre, .listing_code pre { - margin: 0px; -} - diff --git a/doc/reference/mate-panel-applet/html/up.png b/doc/reference/mate-panel-applet/html/up.png Binary files differdeleted file mode 100644 index 85b3e2a2..00000000 --- a/doc/reference/mate-panel-applet/html/up.png +++ /dev/null diff --git a/doc/reference/mate-panel-applet/tmpl/mate-panel-applet-unused.sgml b/doc/reference/mate-panel-applet/tmpl/mate-panel-applet-unused.sgml deleted file mode 100644 index f184f7f2..00000000 --- a/doc/reference/mate-panel-applet/tmpl/mate-panel-applet-unused.sgml +++ /dev/null @@ -1,109 +0,0 @@ -<!-- ##### MACRO MATE_PANEL_APPLET_MATECOMPONENT_FACTORY ##### --> -<para> -Defines a 'main' routine for the applet factory. -</para> - -@iid: The matecomponent-activation iid of the factory. -@type: The #GType to instantiate. -@name: The applet ID string. -@version: The applet version string. -@callback: The factory callback. -@data: The factory user data pointer. - -<!-- ##### MACRO MATE_PANEL_APPLET_MATECOMPONENT_SHLIB_FACTORY ##### --> -<para> -Defines a MateComponent Activation shared library plugin and associated -factory callback. -</para> - -@iid: The matecomponent-activation iid of the factory. -@type: The #GType to instantiate. -@descr: A description of the applet. -@callback: The factory callback. -@data: The factory user data pointer. - -<!-- ##### MACRO MATE_PANEL_APPLET_ORIENT_DOWN ##### --> -<para> -The applet is orientated down (i.e. the panel is at the top of the screen). -</para> - - -<!-- ##### MACRO MATE_PANEL_APPLET_ORIENT_LEFT ##### --> -<para> -The applet is orientated left (i.e. the panel is at the right hand side of the screen). -</para> - - -<!-- ##### MACRO MATE_PANEL_APPLET_ORIENT_RIGHT ##### --> -<para> -The applet is orientated right (i.e. the panel is at the left hand side of the screen). -</para> - - -<!-- ##### MACRO MATE_PANEL_APPLET_ORIENT_UP ##### --> -<para> -The applet is orientated up (i.e. the panel is at the bottom of the screen). -</para> - - -<!-- ##### FUNCTION mate_panel_applet_factory_main_closure ##### --> -<para> -A generic 'main' routine for applets. This should not normally be -used directly because it is invoked by #MATE_PANEL_APPLET_MATECOMPONENT_FACTORY. -</para> - -@iid: The matecomponent-activation iid of the factory. -@applet_type: The #GType to instantiate. -@closure: The factory callback closure. -@Returns: 0 on success, 1 on failure. - -<!-- ##### FUNCTION mate_panel_applet_get_control ##### --> -<para> -Retrieves the #MateComponentControl associated with @applet. -</para> - -@applet: The #MatePanelApplet. -@Returns: A #MateComponentControl. - -<!-- ##### FUNCTION mate_panel_applet_get_popup_component ##### --> -<para> -Retrieves the #MateComponentUIComponent used for popup menus associated -with @applet. -</para> - -@applet: The #MatePanelApplet. -@Returns: A #MateComponentUIComponent. - -<!-- ##### FUNCTION mate_panel_applet_shlib_factory ##### --> -<para> -A generic shared library factory routine for applets. This should not -normally be used directly as it is invoked by #MATE_PANEL_APPLET_MATECOMPONENT_SHLIB_FACTORY. -</para> - -@iid: The matecomponent-activation iid of the factory. -@applet_type: The #GType to instantiate. -@poa: The #PortableServer_POA passed to the shlib factory -callback. -@impl_ptr: The #gpointer passed to the shlib factory callback. -@callback: The applet factory callback. -@user_data: The factory user data pointer. -@ev: The $CORBA_Environment passed to the shlib factory callback. -@Returns: A #MateComponent_Unknown to return from the shlib factory -callback. - -<!-- ##### FUNCTION mate_panel_applet_shlib_factory_closure ##### --> -<para> -A generic shared library factory routine for applets. This should not -normally be used directly as it is invoked by #MATE_PANEL_APPLET_MATECOMPONENT_SHLIB_FACTORY. -</para> - -@iid: The matecomponent-activation iid of the factory. -@applet_type: The #GType to instantiate. -@poa: The #PortableServer_POA passed to the shlib factory -callback. -@impl_ptr: The #gpointer passed to the shlib factory callback. -@closure: The applet factory closure. -@ev: The $CORBA_Environment passed to the shlib factory callback. -@Returns: A #MateComponent_Unknown to return from the shlib factory -callback. - diff --git a/doc/reference/mate-panel-applet/tmpl/mate-panel-applet.sgml b/doc/reference/mate-panel-applet/tmpl/mate-panel-applet.sgml deleted file mode 100644 index 01d72e2d..00000000 --- a/doc/reference/mate-panel-applet/tmpl/mate-panel-applet.sgml +++ /dev/null @@ -1,393 +0,0 @@ -<!-- ##### SECTION Title ##### --> -MatePanelApplet - -<!-- ##### SECTION Short_Description ##### --> -The MatePanelApplet object. - -<!-- ##### SECTION Long_Description ##### --> -<para> -The #MatePanelApplet object is an object which encapsulates an applet. It -is a #GtkContainer which may contain a single widget. This widget, in -turn, should contain all widgets exposed by the applet. -</para> - -<para> -A #MatePanelApplet is associated with a #MateComponentControl. The control makes -the cross process UI emmbedding required by applets possible. -</para> - -<!-- ##### SECTION See_Also ##### --> -<para> - -</para> - -<!-- ##### SECTION Stability_Level ##### --> - - -<!-- ##### SECTION Image ##### --> - - -<!-- ##### STRUCT MatePanelApplet ##### --> -<para> -The #MatePanelApplet struct contains private data only. -</para> - - -<!-- ##### SIGNAL MatePanelApplet::change-background ##### --> -<para> -Emitted when the background of the panel changes. Use @type to -determine which, if any, of @color and @pimxap is valid. -</para> - -@matepanelapplet: The object which received the signal. -@arg1: -@arg2: -@arg3: -<!-- # Unused Parameters # --> -@type: The #MatePanelAppletBackgroundType. -@color: The #GdkColor if @type is #PANEL_COLOR_BACKGROUND. -@pixmap: The pixmap file name if @type is #PANEL_PIXMAP_BACKGROUND - -<!-- ##### SIGNAL MatePanelApplet::change-orient ##### --> -<para> -Emitted when the orientation of the panel changes. -</para> - -@matepanelapplet: The object which received the signal. -@orient: The new #MatePanelAppletOrient of the applet. - -<!-- ##### SIGNAL MatePanelApplet::change-size ##### --> -<para> -Emitted when the size of the panel changes. -</para> - -<para> -Note: this is different for size negotiation which is handled by -size_request() and size_allocate() as usual. This signal should -be used to determine what font size or widget layout to use -depending on the size of the panel. See mate_panel_applet_get_size(). -</para> - -@matepanelapplet: The object which received the signal. -@size: The size hint of the panel. - -<!-- ##### SIGNAL MatePanelApplet::move-focus-out-of-applet ##### --> -<para> -Emitted when the applet has lost focus. This signal is used internally and is not meant to be used by applets themselves. -</para> - -@matepanelapplet: The object which received the signal. -@direction: The direction of focus movement. - -<!-- ##### ARG MatePanelApplet:background ##### --> -<para> - -</para> - -<!-- ##### ARG MatePanelApplet:closure ##### --> -<para> - -</para> - -<!-- ##### ARG MatePanelApplet:connection ##### --> -<para> - -</para> - -<!-- ##### ARG MatePanelApplet:flags ##### --> -<para> - -</para> - -<!-- ##### ARG MatePanelApplet:id ##### --> -<para> - -</para> - -<!-- ##### ARG MatePanelApplet:locked ##### --> -<para> - -</para> - -<!-- ##### ARG MatePanelApplet:locked-down ##### --> -<para> - -</para> - -<!-- ##### ARG MatePanelApplet:orient ##### --> -<para> - -</para> - -<!-- ##### ARG MatePanelApplet:prefs-key ##### --> -<para> - -</para> - -<!-- ##### ARG MatePanelApplet:size ##### --> -<para> - -</para> - -<!-- ##### ARG MatePanelApplet:size-hints ##### --> -<para> - -</para> - -<!-- ##### ENUM MatePanelAppletOrient ##### --> -<para> -The #MatePanelAppletOrient type specifies the orientation of the applet. The -values may seem backward (e.g. %MATE_PANEL_APPLET_ORIENT_LEFT means the panel -is on the right hand side), but this is because the value is representative -of the applet's <emphasis>orientation</emphasis>, not the panel's position. -</para> - -@MATE_PANEL_APPLET_ORIENT_UP: -@MATE_PANEL_APPLET_ORIENT_DOWN: -@MATE_PANEL_APPLET_ORIENT_LEFT: -@MATE_PANEL_APPLET_ORIENT_RIGHT: - -<!-- ##### ENUM MatePanelAppletBackgroundType ##### --> -<para> -The #MatePanelAppletBackgroundType enumerated type specifies the type of -background of a panel. -</para> - -@PANEL_NO_BACKGROUND: The panel has no background, the default is used. -@PANEL_COLOR_BACKGROUND: The panel has a color, i.e rgb value, -background. -@PANEL_PIXMAP_BACKGROUND: The panel has either an image background -or is translucent. - -<!-- ##### ENUM MatePanelAppletFlags ##### --> -<para> -The #MatePanelAppletFlags associated with the applet are boolean flags which -the panel may read in order to figure out how to handle the applet. -</para> - -@MATE_PANEL_APPLET_FLAGS_NONE: No flags are to be associated with the applet. -@MATE_PANEL_APPLET_EXPAND_MAJOR: The applet should expand horizontally on an -horizontal panel and vertically on a vertical panel - e.g. the behaviour -of the Window List applet. -@MATE_PANEL_APPLET_EXPAND_MINOR: The applet should expand vertically on an -horizontal panel and horizontally on a vertical panel. Most applets should -set this flag in order to utilise the full panel width and allow the applet -to be Fitt's Law compliant. -@MATE_PANEL_APPLET_HAS_HANDLE: The panel should draw a grab handle around the -applet - e.g. the Window List and Notification Area applets both set this -flag. - -<!-- ##### USER_FUNCTION MatePanelAppletFactoryCallback ##### --> -<para> -This callback is invoked when the applet is loaded onto the panel. Typically -the callback will check that @iid matches and fill the @applet with the -widgets which make up the applet. -</para> - -<para> -Prior to the callback being invoked the #MatePanelApplet (or an instance of the -sub-class specified by the #GType passed to the factory macros) is instantiated -and initialized. -</para> - -@applet: The #MatePanelApplet. -@iid: The MateComponent IID of the applet requested. -@user_data: The data passed to the factory macros. -@Returns: %TRUE on success, %FALSE on failure. - - -<!-- ##### FUNCTION mate_panel_applet_new ##### --> -<para> -Creates a new #MatePanelApplet. This function is typically not -useful as the applet is created before the #MatePanelAppletFactoryCallback -is invoked. -</para> - -@void: -@Returns: The #MatePanelApplet. - - -<!-- ##### FUNCTION mate_panel_applet_get_orient ##### --> -<para> -Get the current orientation of the applet. -</para> - -@applet: The #MatePanelApplet. -@Returns: The orientation of the applet. - - -<!-- ##### FUNCTION mate_panel_applet_get_size ##### --> -<para> -Get the current size hint for the panel. The size hint is -not useful for most applets. -</para> - -<para> -Note: The return value is <emphasis>not an integer value -specifying the pixel size of the panel.</emphasis> Do not -use this value to calculate the size of the applet. Use it -only as a hint by which to decide the applet's layout. -</para> - -@applet: The #MatePanelApplet. -@Returns: The panel's size hint. - - -<!-- ##### FUNCTION mate_panel_applet_get_background ##### --> -<para> -Returns the current background type. If the background -type is %PANEL_NO_BACKGROUND both @color and @pixmap will -be unaffected. If the background type is %PANEL_COLOR_BACKGROUND -then @color will contain the current panel background colour. -If the background type is %PANEL_PIXMAP_BACKGROUND, @pixmap will -contain a pointer to a #GdkPixmap which is a copy of the applet's -portion of the panel's background pixmap. -</para> - -<!-- FIXME: give an example of how to use this --> - -@applet: A #MatePanelApplet. -@color: A #GdkColor to be filled in. -@pixmap: Returned #GdkPixmap. -@Returns: The background type. - - -<!-- ##### FUNCTION mate_panel_applet_get_preferences_key ##### --> -<para> -Returns the MateConf path to the directory containing the applet's -per-instance preference keys. Using this you may construct the -full path for the applet's preference keys. See -<xref linkend="mate-panel-applet-Panel-Applet-MateConf-Utilities" /> for -more information. -</para> - -@applet: The #MatePanelApplet. -@Returns: A MateConf path. - - -<!-- ##### FUNCTION mate_panel_applet_add_preferences ##### --> -<para> -Associates each schema in @schema_dir with a key in the applet's -preferences directory (i.e. the directory returned by -mate_panel_applet_get_preferences_key()). Each applet preference -should have an associated schema to ensure that the key has -a defined type, sane default and documentation. -</para> - -<para> -If you pass %NULL for @opt_error, this function will print -a warning message from any #GError which MateConf may return. -</para> - -@applet: The #MatePanelApplet. -@schema_dir: The MateConf path where the applet's schemas are installed -e.g. /schemas/apps/my_applet -@opt_error: Optional #GError. - - -<!-- ##### FUNCTION mate_panel_applet_get_flags ##### --> -<para> -Retrieve the #MatePanelAppletFlags associated with the applet. -</para> - -@applet: The #MatePanelApplet. -@Returns: The #MatePanelAppletFlags. - - -<!-- ##### FUNCTION mate_panel_applet_set_flags ##### --> -<para> -Set the #MatePanelAppletFlags associated with the applet. See -#MatePanelAppletFlags for more details on the possible uses of -these flags. -</para> - -@applet: The #MatePanelApplet. -@flags: The #MatePanelAppletFlags to associate. - - -<!-- ##### FUNCTION mate_panel_applet_set_size_hints ##### --> -<para> -Set a list of desired size ranges for an applet with the -#MATE_PANEL_APPLET_EXPAND_MAJOR flags set. @size_hints is an -array of (max, min) pairs where min(i) > max(i + 1). -</para> - -<para> -The panel will endeavour to allocate the applet a size -in one of the (@base + max, @base + min) ranges. -</para> - -@applet: The #MatePanelApplet. -@size_hints: Array of size_hints. -@n_elements: Number of elements in the array. <emphasis> -Not</emphasis> the number of pairs. -@base_size: The base size of the applet. - - -<!-- ##### FUNCTION mate_panel_applet_get_locked_down ##### --> -<para> -Check if the @applet is locked down. A locked down applet should not allow any change to its configuration. -</para> - -@applet: The #MatePanelApplet. -@Returns: %TRUE if the @applet is locked down, %FALSE otherwise. - - -<!-- ##### FUNCTION mate_panel_applet_request_focus ##### --> -<para> -Set keyboard focus to @applet. -</para> - -@applet: The #MatePanelApplet. -@timestamp: timestamp of the event triggering the window focus - - -<!-- ##### FUNCTION mate_panel_applet_setup_menu ##### --> -<para> -Sets up a popup menu for @applet described by the xml -string, @xml. See <xref linkend="applet-writing" /> section -for a description of the format of the xml. -</para> - -@applet: A #MatePanelApplet. -@xml: The xml character string describing the popup menu. -@action_group: -<!-- # Unused Parameters # --> -@verb_list: The list of #MateComponentUIVerbs for the menu. -@user_data: The user data pointer for the menu. - - -<!-- ##### FUNCTION mate_panel_applet_setup_menu_from_file ##### --> -<para> -Sets up a popup menu for @applet described by the xml -file, @file. See <xref linkend="applet-writing" /> for a description of -the format of the xml. -</para> - -@applet: A #MatePanelApplet. -@filename: -@action_group: -<!-- # Unused Parameters # --> -@opt_datadir: The data directory - i.e. ${prefix}/share (optional). -@file: The file's name. -@opt_app_name: The application's name (optional). -@verb_list: The list of #MateComponentUIVerbs for the menu. -@user_data: The user data pointer for the menu. - - -<!-- ##### FUNCTION mate_panel_applet_factory_main ##### --> -<para> -A generic 'main' routine for applets. This should not normally be -used directly because it is invoked by #MATE_PANEL_APPLET_MATECOMPONENT_FACTORY. -</para> - -@factory_id: -@out_process: -@applet_type: The #GType to instantiate. -@callback: The factory callback. -@data: The factory user data pointer. -@Returns: 0 on success, 1 on failure. -<!-- # Unused Parameters # --> -@iid: The matecomponent-activation iid of the factory. - - |