[Xfce4-commits] r25418 - in xfce4-panel/branches/xfce_4_4: . docs/API docs/API/xml
Olivier Fourdan
olivier at xfce.org
Sat Apr 7 11:34:10 CEST 2007
Author: olivier
Date: 2007-04-07 09:34:09 +0000 (Sat, 07 Apr 2007)
New Revision: 25418
Modified:
xfce4-panel/branches/xfce_4_4/INSTALL
xfce4-panel/branches/xfce_4_4/configure.ac.in
xfce4-panel/branches/xfce_4_4/docs/API/libxfce4panel-decl-list.txt
xfce4-panel/branches/xfce_4_4/docs/API/libxfce4panel-decl.txt
xfce4-panel/branches/xfce_4_4/docs/API/xml/xfce-panel-plugin-iface.xml
Log:
Update version
Modified: xfce4-panel/branches/xfce_4_4/INSTALL
===================================================================
--- xfce4-panel/branches/xfce_4_4/INSTALL 2007-04-07 09:33:52 UTC (rev 25417)
+++ xfce4-panel/branches/xfce_4_4/INSTALL 2007-04-07 09:34:09 UTC (rev 25418)
@@ -1,7 +1,7 @@
Installation Instructions
*************************
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004 Free
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
Software Foundation, Inc.
This file is free documentation; the Free Software Foundation gives
@@ -102,16 +102,16 @@
Installation Names
==================
-By default, `make install' will install the package's files in
-`/usr/local/bin', `/usr/local/man', etc. You can specify an
-installation prefix other than `/usr/local' by giving `configure' the
-option `--prefix=PREFIX'.
+By default, `make install' installs the package's commands under
+`/usr/local/bin', include files under `/usr/local/include', etc. You
+can specify an installation prefix other than `/usr/local' by giving
+`configure' the option `--prefix=PREFIX'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
-give `configure' the option `--exec-prefix=PREFIX', the package will
-use PREFIX as the prefix for installing programs and libraries.
-Documentation and other data files will still use the regular prefix.
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
+PREFIX as the prefix for installing programs and libraries.
+Documentation and other data files still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
@@ -159,7 +159,7 @@
need to know the machine type.
If you are _building_ compiler tools for cross-compiling, you should
-use the `--target=TYPE' option to select the type of system they will
+use the option `--target=TYPE' to select the type of system they will
produce code for.
If you want to _use_ a cross compiler, that generates code for a
@@ -189,9 +189,14 @@
./configure CC=/usr/local2/bin/gcc
-will cause the specified gcc to be used as the C compiler (unless it is
-overridden in the site shell script).
+causes the specified `gcc' to be used as the C compiler (unless it is
+overridden in the site shell script). Here is a another example:
+ /bin/bash ./configure CONFIG_SHELL=/bin/bash
+
+Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
+configuration-related scripts to be executed by `/bin/bash'.
+
`configure' Invocation
======================
Modified: xfce4-panel/branches/xfce_4_4/configure.ac.in
===================================================================
--- xfce4-panel/branches/xfce_4_4/configure.ac.in 2007-04-07 09:33:52 UTC (rev 25417)
+++ xfce4-panel/branches/xfce_4_4/configure.ac.in 2007-04-07 09:34:09 UTC (rev 25418)
@@ -11,7 +11,7 @@
dnl panel version info
m4_define([xfce4_panel_version_major], [4])
m4_define([xfce4_panel_version_minor], [4])
-m4_define([xfce4_panel_version_micro], [0])
+m4_define([xfce4_panel_version_micro], [1])
m4_define([xfce4_panel_version_nano], []) dnl leave this empty to have no nano version
m4_define([xfce4_panel_version_build], [@REVISION@])
m4_define([xfce4_panel_version_tag], [])
Modified: xfce4-panel/branches/xfce_4_4/docs/API/libxfce4panel-decl-list.txt
===================================================================
--- xfce4-panel/branches/xfce_4_4/docs/API/libxfce4panel-decl-list.txt 2007-04-07 09:33:52 UTC (rev 25417)
+++ xfce4-panel/branches/xfce_4_4/docs/API/libxfce4panel-decl-list.txt 2007-04-07 09:34:09 UTC (rev 25418)
@@ -1,50 +1,4 @@
<SECTION>
-<FILE>xfce-panel-external-plugin</FILE>
-<TITLE>XfceExternalPanelPlugin</TITLE>
-XfceExternalPanelPlugin
-xfce_external_panel_plugin_new
-<SUBSECTION Standard>
-XFCE_EXTERNAL_PANEL_PLUGIN
-XFCE_IS_EXTERNAL_PANEL_PLUGIN
-XFCE_TYPE_EXTERNAL_PANEL_PLUGIN
-xfce_external_panel_plugin_get_type
-XFCE_EXTERNAL_PANEL_PLUGIN_CLASS
-XFCE_IS_EXTERNAL_PANEL_PLUGIN_CLASS
-XFCE_EXTERNAL_PANEL_PLUGIN_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>xfce-itembar</FILE>
-<TITLE>XfceItembar</TITLE>
-XfceItembar
-xfce_itembar_new
-xfce_itembar_set_orientation
-xfce_itembar_get_orientation
-xfce_itembar_insert
-xfce_itembar_append
-xfce_itembar_prepend
-xfce_itembar_reorder_child
-xfce_itembar_set_child_expand
-xfce_itembar_get_child_expand
-xfce_itembar_get_n_items
-xfce_itembar_get_item_index
-xfce_itembar_get_nth_item
-xfce_itembar_raise_event_window
-xfce_itembar_lower_event_window
-xfce_itembar_event_window_is_raised
-xfce_itembar_get_item_at_point
-xfce_itembar_get_drop_index
-<SUBSECTION Standard>
-XFCE_ITEMBAR
-XFCE_IS_ITEMBAR
-XFCE_TYPE_ITEMBAR
-xfce_itembar_get_type
-XFCE_ITEMBAR_CLASS
-XFCE_IS_ITEMBAR_CLASS
-XFCE_ITEMBAR_GET_CLASS
-</SECTION>
-
-<SECTION>
<FILE>xfce-hvbox</FILE>
<TITLE>XfceHVBox</TITLE>
XfceHVBox
@@ -61,6 +15,21 @@
</SECTION>
<SECTION>
+<FILE>xfce-panel-internal-plugin</FILE>
+<TITLE>XfceInternalPanelPlugin</TITLE>
+XfceInternalPanelPlugin
+xfce_internal_panel_plugin_new
+<SUBSECTION Standard>
+XFCE_INTERNAL_PANEL_PLUGIN
+XFCE_IS_INTERNAL_PANEL_PLUGIN
+XFCE_TYPE_INTERNAL_PANEL_PLUGIN
+xfce_internal_panel_plugin_get_type
+XFCE_INTERNAL_PANEL_PLUGIN_CLASS
+XFCE_IS_INTERNAL_PANEL_PLUGIN_CLASS
+XFCE_INTERNAL_PANEL_PLUGIN_GET_CLASS
+</SECTION>
+
+<SECTION>
<FILE>xfce-panel-plugin-iface</FILE>
XFCE_PANEL_PLUGIN_GET_INTERFACE
XfcePanelPlugin
@@ -94,23 +63,52 @@
</SECTION>
<SECTION>
-<FILE>xfce-arrow-button</FILE>
-<TITLE>XfceArrowButton</TITLE>
-XfceArrowButton
-xfce_arrow_button_new
-xfce_arrow_button_set_arrow_type
-xfce_arrow_button_get_arrow_type
+<FILE>xfce-panel-external-plugin</FILE>
+<TITLE>XfceExternalPanelPlugin</TITLE>
+XfceExternalPanelPlugin
+xfce_external_panel_plugin_new
<SUBSECTION Standard>
-XFCE_ARROW_BUTTON
-XFCE_IS_ARROW_BUTTON
-XFCE_TYPE_ARROW_BUTTON
-xfce_arrow_button_get_type
-XFCE_ARROW_BUTTON_CLASS
-XFCE_IS_ARROW_BUTTON_CLASS
-XFCE_ARROW_BUTTON_GET_CLASS
+XFCE_EXTERNAL_PANEL_PLUGIN
+XFCE_IS_EXTERNAL_PANEL_PLUGIN
+XFCE_TYPE_EXTERNAL_PANEL_PLUGIN
+xfce_external_panel_plugin_get_type
+XFCE_EXTERNAL_PANEL_PLUGIN_CLASS
+XFCE_IS_EXTERNAL_PANEL_PLUGIN_CLASS
+XFCE_EXTERNAL_PANEL_PLUGIN_GET_CLASS
</SECTION>
<SECTION>
+<FILE>xfce-itembar</FILE>
+<TITLE>XfceItembar</TITLE>
+XfceItembar
+xfce_itembar_new
+xfce_itembar_set_orientation
+xfce_itembar_get_orientation
+xfce_itembar_insert
+xfce_itembar_append
+xfce_itembar_prepend
+xfce_itembar_reorder_child
+xfce_itembar_set_child_expand
+xfce_itembar_get_child_expand
+xfce_itembar_get_n_items
+xfce_itembar_get_item_index
+xfce_itembar_get_nth_item
+xfce_itembar_raise_event_window
+xfce_itembar_lower_event_window
+xfce_itembar_event_window_is_raised
+xfce_itembar_get_item_at_point
+xfce_itembar_get_drop_index
+<SUBSECTION Standard>
+XFCE_ITEMBAR
+XFCE_IS_ITEMBAR
+XFCE_TYPE_ITEMBAR
+xfce_itembar_get_type
+XFCE_ITEMBAR_CLASS
+XFCE_IS_ITEMBAR_CLASS
+XFCE_ITEMBAR_GET_CLASS
+</SECTION>
+
+<SECTION>
<FILE>xfce-panel-window</FILE>
XfceHandleStyle
XfcePanelWindowMoveFunc
@@ -139,21 +137,31 @@
</SECTION>
<SECTION>
-<FILE>xfce-panel-internal-plugin</FILE>
-<TITLE>XfceInternalPanelPlugin</TITLE>
-XfceInternalPanelPlugin
-xfce_internal_panel_plugin_new
+<FILE>xfce-arrow-button</FILE>
+<TITLE>XfceArrowButton</TITLE>
+XfceArrowButton
+xfce_arrow_button_new
+xfce_arrow_button_set_arrow_type
+xfce_arrow_button_get_arrow_type
<SUBSECTION Standard>
-XFCE_INTERNAL_PANEL_PLUGIN
-XFCE_IS_INTERNAL_PANEL_PLUGIN
-XFCE_TYPE_INTERNAL_PANEL_PLUGIN
-xfce_internal_panel_plugin_get_type
-XFCE_INTERNAL_PANEL_PLUGIN_CLASS
-XFCE_IS_INTERNAL_PANEL_PLUGIN_CLASS
-XFCE_INTERNAL_PANEL_PLUGIN_GET_CLASS
+XFCE_ARROW_BUTTON
+XFCE_IS_ARROW_BUTTON
+XFCE_TYPE_ARROW_BUTTON
+xfce_arrow_button_get_type
+XFCE_ARROW_BUTTON_CLASS
+XFCE_IS_ARROW_BUTTON_CLASS
+XFCE_ARROW_BUTTON_GET_CLASS
</SECTION>
<SECTION>
+<FILE>xfce-panel-plugin</FILE>
+XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL
+XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_WITH_CHECK
+XFCE_PANEL_PLUGIN_REGISTER_INTERNAL
+XFCE_PANEL_PLUGIN_REGISTER_INTERNAL_WITH_CHECK
+</SECTION>
+
+<SECTION>
<FILE>xfce-panel-macros</FILE>
panel_slice_alloc
panel_slice_alloc0
@@ -164,18 +172,6 @@
</SECTION>
<SECTION>
-<FILE>xfce-panel-enums</FILE>
-XfceScreenPosition
-xfce_screen_position_is_horizontal
-xfce_screen_position_get_orientation
-xfce_screen_position_is_floating
-xfce_screen_position_is_top
-xfce_screen_position_is_left
-xfce_screen_position_is_right
-xfce_screen_position_is_bottom
-</SECTION>
-
-<SECTION>
<FILE>xfce-panel-convenience</FILE>
xfce_create_panel_button
xfce_create_panel_toggle_button
@@ -183,14 +179,6 @@
</SECTION>
<SECTION>
-<FILE>xfce-panel-plugin</FILE>
-XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL
-XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL_WITH_CHECK
-XFCE_PANEL_PLUGIN_REGISTER_INTERNAL
-XFCE_PANEL_PLUGIN_REGISTER_INTERNAL_WITH_CHECK
-</SECTION>
-
-<SECTION>
<FILE>xfce-panel-enum-types</FILE>
xfce_handle_style_get_type
XFCE_TYPE_HANDLE_STYLE
@@ -198,3 +186,15 @@
XFCE_TYPE_SCREEN_POSITION
</SECTION>
+<SECTION>
+<FILE>xfce-panel-enums</FILE>
+XfceScreenPosition
+xfce_screen_position_is_horizontal
+xfce_screen_position_get_orientation
+xfce_screen_position_is_floating
+xfce_screen_position_is_top
+xfce_screen_position_is_left
+xfce_screen_position_is_right
+xfce_screen_position_is_bottom
+</SECTION>
+
Modified: xfce4-panel/branches/xfce_4_4/docs/API/libxfce4panel-decl.txt
===================================================================
--- xfce4-panel/branches/xfce_4_4/docs/API/libxfce4panel-decl.txt 2007-04-07 09:33:52 UTC (rev 25417)
+++ xfce4-panel/branches/xfce_4_4/docs/API/libxfce4panel-decl.txt 2007-04-07 09:34:09 UTC (rev 25418)
@@ -1,106 +1,304 @@
<MACRO>
-<NAME>XFCE_TYPE_EXTERNAL_PANEL_PLUGIN</NAME>
-#define XFCE_TYPE_EXTERNAL_PANEL_PLUGIN (xfce_external_panel_plugin_get_type ())
+<NAME>XFCE_TYPE_HVBOX</NAME>
+#define XFCE_TYPE_HVBOX (xfce_hvbox_get_type())
</MACRO>
<MACRO>
-<NAME>XFCE_EXTERNAL_PANEL_PLUGIN</NAME>
-#define XFCE_EXTERNAL_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XFCE_TYPE_EXTERNAL_PANEL_PLUGIN, XfceExternalPanelPlugin))
+<NAME>XFCE_HVBOX</NAME>
+#define XFCE_HVBOX(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, xfce_hvbox_get_type (), XfceHVBox))
</MACRO>
<MACRO>
-<NAME>XFCE_EXTERNAL_PANEL_PLUGIN_CLASS</NAME>
-#define XFCE_EXTERNAL_PANEL_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XFCE_TYPE_EXTERNAL_PANEL_PLUGIN, XfceExternalPanelPluginClass))
+<NAME>XFCE_HVBOX_CLASS</NAME>
+#define XFCE_HVBOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, xfce_hvbox_get_type (), XfceHVBoxClass))
</MACRO>
<MACRO>
-<NAME>XFCE_IS_EXTERNAL_PANEL_PLUGIN</NAME>
-#define XFCE_IS_EXTERNAL_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XFCE_TYPE_EXTERNAL_PANEL_PLUGIN))
+<NAME>XFCE_IS_HVBOX</NAME>
+#define XFCE_IS_HVBOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, xfce_hvbox_get_type ()))
</MACRO>
<MACRO>
-<NAME>XFCE_IS_EXTERNAL_PANEL_PLUGIN_CLASS</NAME>
-#define XFCE_IS_EXTERNAL_PANEL_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XFCE_TYPE_EXTERNAL_PANEL_PLUGIN))
+<NAME>XFCE_IS_HVBOX_CLASS</NAME>
+#define XFCE_IS_HVBOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XFCE_TYPE_HVBOX))
</MACRO>
<MACRO>
-<NAME>XFCE_EXTERNAL_PANEL_PLUGIN_GET_CLASS</NAME>
-#define XFCE_EXTERNAL_PANEL_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XFCE_TYPE_EXTERNAL_PANEL_PLUGIN, XfceExternalPanelPluginClass))
+<NAME>XFCE_HVBOX_GET_CLASS</NAME>
+#define XFCE_HVBOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XFCE_TYPE_HVBOX, TrayOBoxClass))
</MACRO>
<STRUCT>
-<NAME>XfceExternalPanelPlugin</NAME>
+<NAME>XfceHVBox</NAME>
</STRUCT>
<STRUCT>
-<NAME>XfceExternalPanelPluginClass</NAME>
+<NAME>XfceHVBoxClass</NAME>
</STRUCT>
<STRUCT>
-<NAME>XfceExternalPanelPlugin</NAME>
-struct _XfceExternalPanelPlugin
+<NAME>XfceHVBox</NAME>
+struct _XfceHVBox
{
- GtkPlug parent;
+ GtkBox hvbox;
+ GtkOrientation orientation;
};
</STRUCT>
<STRUCT>
-<NAME>XfceExternalPanelPluginClass</NAME>
-struct _XfceExternalPanelPluginClass
+<NAME>XfceHVBoxClass</NAME>
+struct _XfceHVBoxClass
{
- GtkPlugClass parent_class;
+ GtkBoxClass parent_class;
};
</STRUCT>
<FUNCTION>
-<NAME>xfce_external_panel_plugin_get_type</NAME>
+<NAME>xfce_hvbox_get_type</NAME>
<RETURNS>GType </RETURNS>
void
</FUNCTION>
<FUNCTION>
-<NAME>xfce_external_panel_plugin_new</NAME>
+<NAME>xfce_hvbox_new</NAME>
<RETURNS>GtkWidget *</RETURNS>
-int argc,char **argv,XfcePanelPluginFunc construct
+GtkOrientation orientation,gboolean homogeneous,int spacing
</FUNCTION>
+<FUNCTION>
+<NAME>xfce_hvbox_set_orientation</NAME>
+<RETURNS>void </RETURNS>
+XfceHVBox * hvbox,GtkOrientation orientation
+</FUNCTION>
<MACRO>
-<NAME>panel_slice_alloc</NAME>
-#define panel_slice_alloc(block_size) (g_slice_alloc ((block_size)))
+<NAME>XFCE_TYPE_INTERNAL_PANEL_PLUGIN</NAME>
+#define XFCE_TYPE_INTERNAL_PANEL_PLUGIN (xfce_internal_panel_plugin_get_type ())
</MACRO>
<MACRO>
-<NAME>panel_slice_alloc0</NAME>
-#define panel_slice_alloc0(block_size) (g_slice_alloc0 ((block_size)))
+<NAME>XFCE_INTERNAL_PANEL_PLUGIN</NAME>
+#define XFCE_INTERNAL_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XFCE_TYPE_INTERNAL_PANEL_PLUGIN, XfceInternalPanelPlugin))
</MACRO>
<MACRO>
-<NAME>panel_slice_free1</NAME>
-#define panel_slice_free1(block_size, mem_block) G_STMT_START{ g_slice_free1 ((block_size), (mem_block)); }G_STMT_END
+<NAME>XFCE_INTERNAL_PANEL_PLUGIN_CLASS</NAME>
+#define XFCE_INTERNAL_PANEL_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XFCE_TYPE_INTERNAL_PANEL_PLUGIN, XfceInternalPanelPluginClass))
</MACRO>
<MACRO>
-<NAME>panel_slice_new</NAME>
-#define panel_slice_new(type) (g_slice_new (type))
+<NAME>XFCE_IS_INTERNAL_PANEL_PLUGIN</NAME>
+#define XFCE_IS_INTERNAL_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XFCE_TYPE_INTERNAL_PANEL_PLUGIN))
</MACRO>
<MACRO>
-<NAME>panel_slice_new0</NAME>
-#define panel_slice_new0(type) (g_slice_new0 (type))
+<NAME>XFCE_IS_INTERNAL_PANEL_PLUGIN_CLASS</NAME>
+#define XFCE_IS_INTERNAL_PANEL_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XFCE_TYPE_INTERNAL_PANEL_PLUGIN))
</MACRO>
<MACRO>
-<NAME>panel_slice_free</NAME>
-#define panel_slice_free(type, ptr) G_STMT_START{ g_slice_free (type, (ptr)); }G_STMT_END
+<NAME>XFCE_INTERNAL_PANEL_PLUGIN_GET_CLASS</NAME>
+#define XFCE_INTERNAL_PANEL_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XFCE_TYPE_INTERNAL_PANEL_PLUGIN, XfceInternalPanelPluginClass))
</MACRO>
+<STRUCT>
+<NAME>XfceInternalPanelPlugin</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>XfceInternalPanelPluginClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>XfceInternalPanelPlugin</NAME>
+struct _XfceInternalPanelPlugin
+{
+ GtkEventBox parent;
+};
+</STRUCT>
+<STRUCT>
+<NAME>XfceInternalPanelPluginClass</NAME>
+struct _XfceInternalPanelPluginClass
+{
+ GtkEventBoxClass parent_class;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>xfce_internal_panel_plugin_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_internal_panel_plugin_new</NAME>
+<RETURNS>GtkWidget *</RETURNS>
+const char *name,const char *id,const char *display_name,int size,XfceScreenPosition position,XfcePanelPluginFunc construct
+</FUNCTION>
<MACRO>
-<NAME>panel_slice_alloc</NAME>
-#define panel_slice_alloc(block_size) (g_malloc ((block_size)))
+<NAME>XFCE_TYPE_PANEL_PLUGIN</NAME>
+#define XFCE_TYPE_PANEL_PLUGIN (xfce_panel_plugin_get_type ())
</MACRO>
<MACRO>
-<NAME>panel_slice_alloc0</NAME>
-#define panel_slice_alloc0(block_size) (g_malloc0 ((block_size)))
+<NAME>XFCE_PANEL_PLUGIN</NAME>
+#define XFCE_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XFCE_TYPE_PANEL_PLUGIN, XfcePanelPlugin))
</MACRO>
<MACRO>
-<NAME>panel_slice_free1</NAME>
-#define panel_slice_free1(block_size, mem_block) G_STMT_START{ g_free ((mem_block)); }G_STMT_END
+<NAME>XFCE_IS_PANEL_PLUGIN</NAME>
+#define XFCE_IS_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XFCE_TYPE_PANEL_PLUGIN))
</MACRO>
<MACRO>
-<NAME>panel_slice_new</NAME>
-#define panel_slice_new(type) (g_new (type, 1))
+<NAME>XFCE_PANEL_PLUGIN_GET_INTERFACE</NAME>
+#define XFCE_PANEL_PLUGIN_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), XFCE_TYPE_PANEL_PLUGIN, XfcePanelPluginInterface))
</MACRO>
+<STRUCT>
+<NAME>XfcePanelPlugin</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>XfcePanelPluginInterface</NAME>
+</STRUCT>
+<USER_FUNCTION>
+<NAME>XfcePanelPluginFunc</NAME>
+<RETURNS>void </RETURNS>
+XfcePanelPlugin *plugin
+</USER_FUNCTION>
+<USER_FUNCTION>
+<NAME>XfcePanelPluginCheck</NAME>
+<RETURNS>gboolean </RETURNS>
+GdkScreen *screen
+</USER_FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_get_name</NAME>
+<RETURNS>gchar *</RETURNS>
+XfcePanelPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_get_id</NAME>
+<RETURNS>gchar *</RETURNS>
+XfcePanelPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_get_display_name</NAME>
+<RETURNS>gchar *</RETURNS>
+XfcePanelPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_get_size</NAME>
+<RETURNS>int </RETURNS>
+XfcePanelPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_get_screen_position</NAME>
+<RETURNS>XfceScreenPosition </RETURNS>
+XfcePanelPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_set_expand</NAME>
+<RETURNS>void </RETURNS>
+XfcePanelPlugin *plugin,gboolean expand
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_get_expand</NAME>
+<RETURNS>gboolean </RETURNS>
+XfcePanelPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_get_orientation</NAME>
+<RETURNS>GtkOrientation </RETURNS>
+XfcePanelPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_add_action_widget</NAME>
+<RETURNS>void </RETURNS>
+XfcePanelPlugin *plugin,GtkWidget *widget
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_menu_insert_item</NAME>
+<RETURNS>void </RETURNS>
+XfcePanelPlugin *plugin,GtkMenuItem *item
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_menu_show_about</NAME>
+<RETURNS>void </RETURNS>
+XfcePanelPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_menu_show_configure</NAME>
+<RETURNS>void </RETURNS>
+XfcePanelPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_block_menu</NAME>
+<RETURNS>void </RETURNS>
+XfcePanelPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_unblock_menu</NAME>
+<RETURNS>void </RETURNS>
+XfcePanelPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_register_menu</NAME>
+<RETURNS>void </RETURNS>
+XfcePanelPlugin *plugin,GtkMenu *menu
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_lookup_rc_file</NAME>
+<RETURNS>char *</RETURNS>
+XfcePanelPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_save_location</NAME>
+<RETURNS>char *</RETURNS>
+XfcePanelPlugin *plugin,gboolean create
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_focus_widget</NAME>
+<RETURNS>void </RETURNS>
+XfcePanelPlugin *plugin,GtkWidget *widget
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_panel_plugin_set_panel_hidden</NAME>
+<RETURNS>void </RETURNS>
+XfcePanelPlugin *plugin,gboolean hidden
+</FUNCTION>
<MACRO>
-<NAME>panel_slice_new0</NAME>
-#define panel_slice_new0(type) (g_new0 (type, 1))
+<NAME>XFCE_TYPE_EXTERNAL_PANEL_PLUGIN</NAME>
+#define XFCE_TYPE_EXTERNAL_PANEL_PLUGIN (xfce_external_panel_plugin_get_type ())
</MACRO>
<MACRO>
-<NAME>panel_slice_free</NAME>
-#define panel_slice_free(type, ptr) G_STMT_START{ g_free ((ptr)); }G_STMT_END
+<NAME>XFCE_EXTERNAL_PANEL_PLUGIN</NAME>
+#define XFCE_EXTERNAL_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XFCE_TYPE_EXTERNAL_PANEL_PLUGIN, XfceExternalPanelPlugin))
</MACRO>
<MACRO>
+<NAME>XFCE_EXTERNAL_PANEL_PLUGIN_CLASS</NAME>
+#define XFCE_EXTERNAL_PANEL_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XFCE_TYPE_EXTERNAL_PANEL_PLUGIN, XfceExternalPanelPluginClass))
+</MACRO>
+<MACRO>
+<NAME>XFCE_IS_EXTERNAL_PANEL_PLUGIN</NAME>
+#define XFCE_IS_EXTERNAL_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XFCE_TYPE_EXTERNAL_PANEL_PLUGIN))
+</MACRO>
+<MACRO>
+<NAME>XFCE_IS_EXTERNAL_PANEL_PLUGIN_CLASS</NAME>
+#define XFCE_IS_EXTERNAL_PANEL_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XFCE_TYPE_EXTERNAL_PANEL_PLUGIN))
+</MACRO>
+<MACRO>
+<NAME>XFCE_EXTERNAL_PANEL_PLUGIN_GET_CLASS</NAME>
+#define XFCE_EXTERNAL_PANEL_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XFCE_TYPE_EXTERNAL_PANEL_PLUGIN, XfceExternalPanelPluginClass))
+</MACRO>
+<STRUCT>
+<NAME>XfceExternalPanelPlugin</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>XfceExternalPanelPluginClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>XfceExternalPanelPlugin</NAME>
+struct _XfceExternalPanelPlugin
+{
+ GtkPlug parent;
+};
+</STRUCT>
+<STRUCT>
+<NAME>XfceExternalPanelPluginClass</NAME>
+struct _XfceExternalPanelPluginClass
+{
+ GtkPlugClass parent_class;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>xfce_external_panel_plugin_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_external_panel_plugin_new</NAME>
+<RETURNS>GtkWidget *</RETURNS>
+int argc,char **argv,XfcePanelPluginFunc construct
+</FUNCTION>
+<MACRO>
<NAME>XFCE_TYPE_ITEMBAR</NAME>
#define XFCE_TYPE_ITEMBAR (xfce_itembar_get_type ())
</MACRO>
@@ -246,156 +444,7 @@
<RETURNS>int </RETURNS>
XfceItembar * itembar,int x,int y
</FUNCTION>
-<ENUM>
-<NAME>XfceScreenPosition</NAME>
-typedef enum /*<enum,prefix=XFCE_SCREEN_POSITION >*/
-{
- XFCE_SCREEN_POSITION_NONE,
-
- /* top */
- XFCE_SCREEN_POSITION_NW_H, /* North West Horizontal */
- XFCE_SCREEN_POSITION_N, /* North */
- XFCE_SCREEN_POSITION_NE_H, /* North East Horizontal */
-
- /* left */
- XFCE_SCREEN_POSITION_NW_V, /* North West Vertical */
- XFCE_SCREEN_POSITION_W, /* West */
- XFCE_SCREEN_POSITION_SW_V, /* South West Vertical */
-
- /* right */
- XFCE_SCREEN_POSITION_NE_V, /* North East Vertical */
- XFCE_SCREEN_POSITION_E, /* East */
- XFCE_SCREEN_POSITION_SE_V, /* South East Vertical */
-
- /* bottom */
- XFCE_SCREEN_POSITION_SW_H, /* South West Horizontal */
- XFCE_SCREEN_POSITION_S, /* South */
- XFCE_SCREEN_POSITION_SE_H, /* South East Horizontal */
-
- /* floating */
- XFCE_SCREEN_POSITION_FLOATING_H, /* Floating Horizontal */
- XFCE_SCREEN_POSITION_FLOATING_V /* Floating Vertical */
-}
-XfceScreenPosition;
-</ENUM>
<MACRO>
-<NAME>xfce_screen_position_is_horizontal</NAME>
-#define xfce_screen_position_is_horizontal(position) \
- (position <= XFCE_SCREEN_POSITION_NE_H || \
- (position >= XFCE_SCREEN_POSITION_SW_H && \
- position <= XFCE_SCREEN_POSITION_FLOATING_H))
-</MACRO>
-<MACRO>
-<NAME>xfce_screen_position_get_orientation</NAME>
-#define xfce_screen_position_get_orientation(position) \
- (xfce_screen_position_is_horizontal (position) ? \
- GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL)
-</MACRO>
-<MACRO>
-<NAME>xfce_screen_position_is_floating</NAME>
-#define xfce_screen_position_is_floating(position) \
- (position >= XFCE_SCREEN_POSITION_FLOATING_H || \
- position == XFCE_SCREEN_POSITION_NONE)
-</MACRO>
-<MACRO>
-<NAME>xfce_screen_position_is_top</NAME>
-#define xfce_screen_position_is_top(position) \
- (position >= XFCE_SCREEN_POSITION_NW_H && \
- position <= XFCE_SCREEN_POSITION_NE_H)
-</MACRO>
-<MACRO>
-<NAME>xfce_screen_position_is_left</NAME>
-#define xfce_screen_position_is_left(position) \
- (position >= XFCE_SCREEN_POSITION_NW_V && \
- position <= XFCE_SCREEN_POSITION_SW_V)
-</MACRO>
-<MACRO>
-<NAME>xfce_screen_position_is_right</NAME>
-#define xfce_screen_position_is_right(position) \
- (position >= XFCE_SCREEN_POSITION_NE_V && \
- position <= XFCE_SCREEN_POSITION_SE_V)
-</MACRO>
-<MACRO>
-<NAME>xfce_screen_position_is_bottom</NAME>
-#define xfce_screen_position_is_bottom(position) \
- (position >= XFCE_SCREEN_POSITION_SW_H)
-</MACRO>
-<MACRO>
-<NAME>XFCE_TYPE_HVBOX</NAME>
-#define XFCE_TYPE_HVBOX (xfce_hvbox_get_type())
-</MACRO>
-<MACRO>
-<NAME>XFCE_HVBOX</NAME>
-#define XFCE_HVBOX(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, xfce_hvbox_get_type (), XfceHVBox))
-</MACRO>
-<MACRO>
-<NAME>XFCE_HVBOX_CLASS</NAME>
-#define XFCE_HVBOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, xfce_hvbox_get_type (), XfceHVBoxClass))
-</MACRO>
-<MACRO>
-<NAME>XFCE_IS_HVBOX</NAME>
-#define XFCE_IS_HVBOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, xfce_hvbox_get_type ()))
-</MACRO>
-<MACRO>
-<NAME>XFCE_IS_HVBOX_CLASS</NAME>
-#define XFCE_IS_HVBOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XFCE_TYPE_HVBOX))
-</MACRO>
-<MACRO>
-<NAME>XFCE_HVBOX_GET_CLASS</NAME>
-#define XFCE_HVBOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XFCE_TYPE_HVBOX, TrayOBoxClass))
-</MACRO>
-<STRUCT>
-<NAME>XfceHVBox</NAME>
-</STRUCT>
-<STRUCT>
-<NAME>XfceHVBoxClass</NAME>
-</STRUCT>
-<STRUCT>
-<NAME>XfceHVBox</NAME>
-struct _XfceHVBox
-{
- GtkBox hvbox;
- GtkOrientation orientation;
-};
-</STRUCT>
-<STRUCT>
-<NAME>XfceHVBoxClass</NAME>
-struct _XfceHVBoxClass
-{
- GtkBoxClass parent_class;
-};
-</STRUCT>
-<FUNCTION>
-<NAME>xfce_hvbox_get_type</NAME>
-<RETURNS>GType </RETURNS>
-void
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_hvbox_new</NAME>
-<RETURNS>GtkWidget *</RETURNS>
-GtkOrientation orientation,gboolean homogeneous,int spacing
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_hvbox_set_orientation</NAME>
-<RETURNS>void </RETURNS>
-XfceHVBox * hvbox,GtkOrientation orientation
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_create_panel_button</NAME>
-<RETURNS>GtkWidget *</RETURNS>
-void
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_create_panel_toggle_button</NAME>
-<RETURNS>GtkWidget *</RETURNS>
-void
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_allow_panel_customization</NAME>
-<RETURNS>gboolean </RETURNS>
-void
-</FUNCTION>
-<MACRO>
<NAME>XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL</NAME>
#define XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL(construct) \
int \
@@ -457,208 +506,54 @@
}
</MACRO>
<MACRO>
-<NAME>XFCE_TYPE_PANEL_PLUGIN</NAME>
-#define XFCE_TYPE_PANEL_PLUGIN (xfce_panel_plugin_get_type ())
+<NAME>panel_slice_alloc</NAME>
+#define panel_slice_alloc(block_size) (g_slice_alloc ((block_size)))
</MACRO>
<MACRO>
-<NAME>XFCE_PANEL_PLUGIN</NAME>
-#define XFCE_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XFCE_TYPE_PANEL_PLUGIN, XfcePanelPlugin))
+<NAME>panel_slice_alloc0</NAME>
+#define panel_slice_alloc0(block_size) (g_slice_alloc0 ((block_size)))
</MACRO>
<MACRO>
-<NAME>XFCE_IS_PANEL_PLUGIN</NAME>
-#define XFCE_IS_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XFCE_TYPE_PANEL_PLUGIN))
+<NAME>panel_slice_free1</NAME>
+#define panel_slice_free1(block_size, mem_block) G_STMT_START{ g_slice_free1 ((block_size), (mem_block)); }G_STMT_END
</MACRO>
<MACRO>
-<NAME>XFCE_PANEL_PLUGIN_GET_INTERFACE</NAME>
-#define XFCE_PANEL_PLUGIN_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), XFCE_TYPE_PANEL_PLUGIN, XfcePanelPluginInterface))
+<NAME>panel_slice_new</NAME>
+#define panel_slice_new(type) (g_slice_new (type))
</MACRO>
-<STRUCT>
-<NAME>XfcePanelPlugin</NAME>
-</STRUCT>
-<STRUCT>
-<NAME>XfcePanelPluginInterface</NAME>
-</STRUCT>
-<USER_FUNCTION>
-<NAME>XfcePanelPluginFunc</NAME>
-<RETURNS>void </RETURNS>
-XfcePanelPlugin *plugin
-</USER_FUNCTION>
-<USER_FUNCTION>
-<NAME>XfcePanelPluginCheck</NAME>
-<RETURNS>gboolean </RETURNS>
-GdkScreen *screen
-</USER_FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_get_type</NAME>
-<RETURNS>GType </RETURNS>
-void
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_get_name</NAME>
-<RETURNS>G_CONST_RETURN char *</RETURNS>
-XfcePanelPlugin *plugin
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_get_id</NAME>
-<RETURNS>G_CONST_RETURN char *</RETURNS>
-XfcePanelPlugin *plugin
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_get_display_name</NAME>
-<RETURNS>G_CONST_RETURN char *</RETURNS>
-XfcePanelPlugin *plugin
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_get_size</NAME>
-<RETURNS>int </RETURNS>
-XfcePanelPlugin *plugin
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_get_screen_position</NAME>
-<RETURNS>XfceScreenPosition </RETURNS>
-XfcePanelPlugin *plugin
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_set_expand</NAME>
-<RETURNS>void </RETURNS>
-XfcePanelPlugin *plugin,gboolean expand
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_get_expand</NAME>
-<RETURNS>gboolean </RETURNS>
-XfcePanelPlugin *plugin
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_get_orientation</NAME>
-<RETURNS>GtkOrientation </RETURNS>
-XfcePanelPlugin *plugin
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_add_action_widget</NAME>
-<RETURNS>void </RETURNS>
-XfcePanelPlugin *plugin,GtkWidget *widget
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_menu_insert_item</NAME>
-<RETURNS>void </RETURNS>
-XfcePanelPlugin *plugin,GtkMenuItem *item
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_menu_show_about</NAME>
-<RETURNS>void </RETURNS>
-XfcePanelPlugin *plugin
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_menu_show_configure</NAME>
-<RETURNS>void </RETURNS>
-XfcePanelPlugin *plugin
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_block_menu</NAME>
-<RETURNS>void </RETURNS>
-XfcePanelPlugin *plugin
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_unblock_menu</NAME>
-<RETURNS>void </RETURNS>
-XfcePanelPlugin *plugin
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_register_menu</NAME>
-<RETURNS>void </RETURNS>
-XfcePanelPlugin *plugin,GtkMenu *menu
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_lookup_rc_file</NAME>
-<RETURNS>char *</RETURNS>
-XfcePanelPlugin *plugin
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_save_location</NAME>
-<RETURNS>char *</RETURNS>
-XfcePanelPlugin *plugin,gboolean create
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_focus_widget</NAME>
-<RETURNS>void </RETURNS>
-XfcePanelPlugin *plugin,GtkWidget *widget
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_panel_plugin_set_panel_hidden</NAME>
-<RETURNS>void </RETURNS>
-XfcePanelPlugin *plugin,gboolean hidden
-</FUNCTION>
<MACRO>
-<NAME>XFCE_TYPE_ARROW_BUTTON</NAME>
-#define XFCE_TYPE_ARROW_BUTTON (xfce_arrow_button_get_type ())
+<NAME>panel_slice_new0</NAME>
+#define panel_slice_new0(type) (g_slice_new0 (type))
</MACRO>
<MACRO>
-<NAME>XFCE_ARROW_BUTTON</NAME>
-#define XFCE_ARROW_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XFCE_TYPE_ARROW_BUTTON, XfceArrowButton))
+<NAME>panel_slice_free</NAME>
+#define panel_slice_free(type, ptr) G_STMT_START{ g_slice_free (type, (ptr)); }G_STMT_END
</MACRO>
<MACRO>
-<NAME>XFCE_ARROW_BUTTON_CLASS</NAME>
-#define XFCE_ARROW_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XFCE_TYPE_ARROW_BUTTON, XfceArrowButtonClass))
+<NAME>panel_slice_alloc</NAME>
+#define panel_slice_alloc(block_size) (g_malloc ((block_size)))
</MACRO>
<MACRO>
-<NAME>XFCE_IS_ARROW_BUTTON</NAME>
-#define XFCE_IS_ARROW_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XFCE_TYPE_ARROW_BUTTON))
+<NAME>panel_slice_alloc0</NAME>
+#define panel_slice_alloc0(block_size) (g_malloc0 ((block_size)))
</MACRO>
<MACRO>
-<NAME>XFCE_IS_ARROW_BUTTON_CLASS</NAME>
-#define XFCE_IS_ARROW_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XFCE_TYPE_ARROW_BUTTON))
+<NAME>panel_slice_free1</NAME>
+#define panel_slice_free1(block_size, mem_block) G_STMT_START{ g_free ((mem_block)); }G_STMT_END
</MACRO>
<MACRO>
-<NAME>XFCE_ARROW_BUTTON_GET_CLASS</NAME>
-#define XFCE_ARROW_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XFCE_TYPE_ARROW_BUTTON, XfceArrowButtonClass))
+<NAME>panel_slice_new</NAME>
+#define panel_slice_new(type) (g_new (type, 1))
</MACRO>
-<STRUCT>
-<NAME>XfceArrowButton</NAME>
-</STRUCT>
-<STRUCT>
-<NAME>XfceArrowButtonClass</NAME>
-</STRUCT>
-<STRUCT>
-<NAME>XfceArrowButton</NAME>
-struct _XfceArrowButton
-{
- GtkToggleButton parent;
-
- GtkArrowType arrow_type;
-};
-</STRUCT>
-<STRUCT>
-<NAME>XfceArrowButtonClass</NAME>
-struct _XfceArrowButtonClass
-{
- GtkToggleButtonClass parent_class;
-
- /* signals */
- void (*arrow_type_changed) (GtkWidget * widget,
- GtkArrowType type);
-};
-</STRUCT>
-<FUNCTION>
-<NAME>xfce_arrow_button_get_type</NAME>
-<RETURNS>GType </RETURNS>
-void
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_arrow_button_new</NAME>
-<RETURNS>GtkWidget *</RETURNS>
-GtkArrowType type
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_arrow_button_set_arrow_type</NAME>
-<RETURNS>void </RETURNS>
-XfceArrowButton * button,GtkArrowType type
-</FUNCTION>
-<FUNCTION>
-<NAME>xfce_arrow_button_get_arrow_type</NAME>
-<RETURNS>GtkArrowType </RETURNS>
-XfceArrowButton * button
-</FUNCTION>
<MACRO>
+<NAME>panel_slice_new0</NAME>
+#define panel_slice_new0(type) (g_new0 (type, 1))
+</MACRO>
+<MACRO>
+<NAME>panel_slice_free</NAME>
+#define panel_slice_free(type, ptr) G_STMT_START{ g_free ((ptr)); }G_STMT_END
+</MACRO>
+<MACRO>
<NAME>XFCE_TYPE_PANEL_WINDOW</NAME>
#define XFCE_TYPE_PANEL_WINDOW (xfce_panel_window_get_type ())
</MACRO>
@@ -810,75 +705,180 @@
<RETURNS>gboolean </RETURNS>
XfcePanelWindow * window
</FUNCTION>
+<FUNCTION>
+<NAME>xfce_create_panel_button</NAME>
+<RETURNS>GtkWidget *</RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_create_panel_toggle_button</NAME>
+<RETURNS>GtkWidget *</RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_allow_panel_customization</NAME>
+<RETURNS>gboolean </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>xfce_handle_style_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
<MACRO>
-<NAME>XFCE_TYPE_INTERNAL_PANEL_PLUGIN</NAME>
-#define XFCE_TYPE_INTERNAL_PANEL_PLUGIN (xfce_internal_panel_plugin_get_type ())
+<NAME>XFCE_TYPE_HANDLE_STYLE</NAME>
+#define XFCE_TYPE_HANDLE_STYLE (xfce_handle_style_get_type())
</MACRO>
+<FUNCTION>
+<NAME>xfce_screen_position_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
<MACRO>
-<NAME>XFCE_INTERNAL_PANEL_PLUGIN</NAME>
-#define XFCE_INTERNAL_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XFCE_TYPE_INTERNAL_PANEL_PLUGIN, XfceInternalPanelPlugin))
+<NAME>XFCE_TYPE_SCREEN_POSITION</NAME>
+#define XFCE_TYPE_SCREEN_POSITION (xfce_screen_position_get_type())
</MACRO>
+<ENUM>
+<NAME>XfceScreenPosition</NAME>
+typedef enum /*<enum,prefix=XFCE_SCREEN_POSITION >*/
+{
+ XFCE_SCREEN_POSITION_NONE,
+
+ /* top */
+ XFCE_SCREEN_POSITION_NW_H, /* North West Horizontal */
+ XFCE_SCREEN_POSITION_N, /* North */
+ XFCE_SCREEN_POSITION_NE_H, /* North East Horizontal */
+
+ /* left */
+ XFCE_SCREEN_POSITION_NW_V, /* North West Vertical */
+ XFCE_SCREEN_POSITION_W, /* West */
+ XFCE_SCREEN_POSITION_SW_V, /* South West Vertical */
+
+ /* right */
+ XFCE_SCREEN_POSITION_NE_V, /* North East Vertical */
+ XFCE_SCREEN_POSITION_E, /* East */
+ XFCE_SCREEN_POSITION_SE_V, /* South East Vertical */
+
+ /* bottom */
+ XFCE_SCREEN_POSITION_SW_H, /* South West Horizontal */
+ XFCE_SCREEN_POSITION_S, /* South */
+ XFCE_SCREEN_POSITION_SE_H, /* South East Horizontal */
+
+ /* floating */
+ XFCE_SCREEN_POSITION_FLOATING_H, /* Floating Horizontal */
+ XFCE_SCREEN_POSITION_FLOATING_V /* Floating Vertical */
+}
+XfceScreenPosition;
+</ENUM>
<MACRO>
-<NAME>XFCE_INTERNAL_PANEL_PLUGIN_CLASS</NAME>
-#define XFCE_INTERNAL_PANEL_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XFCE_TYPE_INTERNAL_PANEL_PLUGIN, XfceInternalPanelPluginClass))
+<NAME>xfce_screen_position_is_horizontal</NAME>
+#define xfce_screen_position_is_horizontal(position) \
+ (position <= XFCE_SCREEN_POSITION_NE_H || \
+ (position >= XFCE_SCREEN_POSITION_SW_H && \
+ position <= XFCE_SCREEN_POSITION_FLOATING_H))
</MACRO>
<MACRO>
-<NAME>XFCE_IS_INTERNAL_PANEL_PLUGIN</NAME>
-#define XFCE_IS_INTERNAL_PANEL_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XFCE_TYPE_INTERNAL_PANEL_PLUGIN))
+<NAME>xfce_screen_position_get_orientation</NAME>
+#define xfce_screen_position_get_orientation(position) \
+ (xfce_screen_position_is_horizontal (position) ? \
+ GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL)
</MACRO>
<MACRO>
-<NAME>XFCE_IS_INTERNAL_PANEL_PLUGIN_CLASS</NAME>
-#define XFCE_IS_INTERNAL_PANEL_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XFCE_TYPE_INTERNAL_PANEL_PLUGIN))
+<NAME>xfce_screen_position_is_floating</NAME>
+#define xfce_screen_position_is_floating(position) \
+ (position >= XFCE_SCREEN_POSITION_FLOATING_H || \
+ position == XFCE_SCREEN_POSITION_NONE)
</MACRO>
<MACRO>
-<NAME>XFCE_INTERNAL_PANEL_PLUGIN_GET_CLASS</NAME>
-#define XFCE_INTERNAL_PANEL_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XFCE_TYPE_INTERNAL_PANEL_PLUGIN, XfceInternalPanelPluginClass))
+<NAME>xfce_screen_position_is_top</NAME>
+#define xfce_screen_position_is_top(position) \
+ (position >= XFCE_SCREEN_POSITION_NW_H && \
+ position <= XFCE_SCREEN_POSITION_NE_H)
</MACRO>
+<MACRO>
+<NAME>xfce_screen_position_is_left</NAME>
+#define xfce_screen_position_is_left(position) \
+ (position >= XFCE_SCREEN_POSITION_NW_V && \
+ position <= XFCE_SCREEN_POSITION_SW_V)
+</MACRO>
+<MACRO>
+<NAME>xfce_screen_position_is_right</NAME>
+#define xfce_screen_position_is_right(position) \
+ (position >= XFCE_SCREEN_POSITION_NE_V && \
+ position <= XFCE_SCREEN_POSITION_SE_V)
+</MACRO>
+<MACRO>
+<NAME>xfce_screen_position_is_bottom</NAME>
+#define xfce_screen_position_is_bottom(position) \
+ (position >= XFCE_SCREEN_POSITION_SW_H)
+</MACRO>
+<MACRO>
+<NAME>XFCE_TYPE_ARROW_BUTTON</NAME>
+#define XFCE_TYPE_ARROW_BUTTON (xfce_arrow_button_get_type ())
+</MACRO>
+<MACRO>
+<NAME>XFCE_ARROW_BUTTON</NAME>
+#define XFCE_ARROW_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XFCE_TYPE_ARROW_BUTTON, XfceArrowButton))
+</MACRO>
+<MACRO>
+<NAME>XFCE_ARROW_BUTTON_CLASS</NAME>
+#define XFCE_ARROW_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XFCE_TYPE_ARROW_BUTTON, XfceArrowButtonClass))
+</MACRO>
+<MACRO>
+<NAME>XFCE_IS_ARROW_BUTTON</NAME>
+#define XFCE_IS_ARROW_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XFCE_TYPE_ARROW_BUTTON))
+</MACRO>
+<MACRO>
+<NAME>XFCE_IS_ARROW_BUTTON_CLASS</NAME>
+#define XFCE_IS_ARROW_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XFCE_TYPE_ARROW_BUTTON))
+</MACRO>
+<MACRO>
+<NAME>XFCE_ARROW_BUTTON_GET_CLASS</NAME>
+#define XFCE_ARROW_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XFCE_TYPE_ARROW_BUTTON, XfceArrowButtonClass))
+</MACRO>
<STRUCT>
-<NAME>XfceInternalPanelPlugin</NAME>
+<NAME>XfceArrowButton</NAME>
</STRUCT>
<STRUCT>
-<NAME>XfceInternalPanelPluginClass</NAME>
+<NAME>XfceArrowButtonClass</NAME>
</STRUCT>
<STRUCT>
-<NAME>XfceInternalPanelPlugin</NAME>
-struct _XfceInternalPanelPlugin
+<NAME>XfceArrowButton</NAME>
+struct _XfceArrowButton
{
- GtkEventBox parent;
+ GtkToggleButton parent;
+
+ GtkArrowType arrow_type;
};
</STRUCT>
<STRUCT>
-<NAME>XfceInternalPanelPluginClass</NAME>
-struct _XfceInternalPanelPluginClass
+<NAME>XfceArrowButtonClass</NAME>
+struct _XfceArrowButtonClass
{
- GtkEventBoxClass parent_class;
+ GtkToggleButtonClass parent_class;
+
+ /* signals */
+ void (*arrow_type_changed) (GtkWidget * widget,
+ GtkArrowType type);
};
</STRUCT>
<FUNCTION>
-<NAME>xfce_internal_panel_plugin_get_type</NAME>
+<NAME>xfce_arrow_button_get_type</NAME>
<RETURNS>GType </RETURNS>
void
</FUNCTION>
<FUNCTION>
-<NAME>xfce_internal_panel_plugin_new</NAME>
+<NAME>xfce_arrow_button_new</NAME>
<RETURNS>GtkWidget *</RETURNS>
-const char *name,const char *id,const char *display_name,int size,XfceScreenPosition position,XfcePanelPluginFunc construct
+GtkArrowType type
</FUNCTION>
<FUNCTION>
-<NAME>xfce_handle_style_get_type</NAME>
-<RETURNS>GType </RETURNS>
-void
+<NAME>xfce_arrow_button_set_arrow_type</NAME>
+<RETURNS>void </RETURNS>
+XfceArrowButton * button,GtkArrowType type
</FUNCTION>
-<MACRO>
-<NAME>XFCE_TYPE_HANDLE_STYLE</NAME>
-#define XFCE_TYPE_HANDLE_STYLE (xfce_handle_style_get_type())
-</MACRO>
<FUNCTION>
-<NAME>xfce_screen_position_get_type</NAME>
-<RETURNS>GType </RETURNS>
-void
+<NAME>xfce_arrow_button_get_arrow_type</NAME>
+<RETURNS>GtkArrowType </RETURNS>
+XfceArrowButton * button
</FUNCTION>
-<MACRO>
-<NAME>XFCE_TYPE_SCREEN_POSITION</NAME>
-#define XFCE_TYPE_SCREEN_POSITION (xfce_screen_position_get_type())
-</MACRO>
Modified: xfce4-panel/branches/xfce_4_4/docs/API/xml/xfce-panel-plugin-iface.xml
===================================================================
--- xfce4-panel/branches/xfce_4_4/docs/API/xml/xfce-panel-plugin-iface.xml 2007-04-07 09:33:52 UTC (rev 25417)
+++ xfce4-panel/branches/xfce_4_4/docs/API/xml/xfce-panel-plugin-iface.xml 2007-04-07 09:34:09 UTC (rev 25418)
@@ -26,9 +26,9 @@
<link linkend="XfcePanelPlugin-struct">XfcePanelPlugin</link>;
<link linkend="void">void</link> (<link linkend="XfcePanelPluginFunc">*XfcePanelPluginFunc</link>) (<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin);
<link linkend="gboolean">gboolean</link> (<link linkend="XfcePanelPluginCheck">*XfcePanelPluginCheck</link>) (<link linkend="GdkScreen">GdkScreen</link> *screen);
-const <link linkend="char">char</link>* <link linkend="xfce-panel-plugin-get-name">xfce_panel_plugin_get_name</link> (<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin);
-const <link linkend="char">char</link>* <link linkend="xfce-panel-plugin-get-id">xfce_panel_plugin_get_id</link> (<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin);
-const <link linkend="char">char</link>* <link linkend="xfce-panel-plugin-get-display-name">xfce_panel_plugin_get_display_name</link>
+<link linkend="gchar">gchar</link>* <link linkend="xfce-panel-plugin-get-name">xfce_panel_plugin_get_name</link> (<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin);
+<link linkend="gchar">gchar</link>* <link linkend="xfce-panel-plugin-get-id">xfce_panel_plugin_get_id</link> (<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin);
+<link linkend="gchar">gchar</link>* <link linkend="xfce-panel-plugin-get-display-name">xfce_panel_plugin_get_display_name</link>
(<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin);
<link linkend="int">int</link> <link linkend="xfce-panel-plugin-get-size">xfce_panel_plugin_get_size</link> (<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin);
<link linkend="XfceScreenPosition">XfceScreenPosition</link> <link linkend="xfce-panel-plugin-get-screen-position">xfce_panel_plugin_get_screen_position</link>
@@ -79,7 +79,7 @@
<title role="prerequisites.title">Prerequisites</title>
<para>
XfcePanelPlugin requires
- <link linkend="GInitiallyUnowned">GInitiallyUnowned</link>, <link linkend="GtkObject">GtkObject</link>, <link linkend="GtkWidget">GtkWidget</link> and <link linkend="GtkContainer">GtkContainer</link>.</para>
+ <link linkend="GtkContainer">GtkContainer</link>.</para>
</refsect1>
@@ -191,7 +191,7 @@
</variablelist></refsect2>
<refsect2>
<title><anchor id="xfce-panel-plugin-get-name" role="function"/>xfce_panel_plugin_get_name ()</title>
-<indexterm><primary>xfce_panel_plugin_get_name</primary></indexterm><programlisting>const <link linkend="char">char</link>* xfce_panel_plugin_get_name (<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin);</programlisting>
+<indexterm><primary>xfce_panel_plugin_get_name</primary></indexterm><programlisting><link linkend="gchar">gchar</link>* xfce_panel_plugin_get_name (<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin);</programlisting>
<para>
The plugin name identifies a plugin type and therefore must be unique.</para>
<para>
@@ -205,7 +205,7 @@
</variablelist></refsect2>
<refsect2>
<title><anchor id="xfce-panel-plugin-get-id" role="function"/>xfce_panel_plugin_get_id ()</title>
-<indexterm><primary>xfce_panel_plugin_get_id</primary></indexterm><programlisting>const <link linkend="char">char</link>* xfce_panel_plugin_get_id (<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin);</programlisting>
+<indexterm><primary>xfce_panel_plugin_get_id</primary></indexterm><programlisting><link linkend="gchar">gchar</link>* xfce_panel_plugin_get_id (<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin);</programlisting>
<para>
The plugin id is a unique identifier string that is given to every instance
of a panel plugin.</para>
@@ -220,7 +220,7 @@
</variablelist></refsect2>
<refsect2>
<title><anchor id="xfce-panel-plugin-get-display-name" role="function"/>xfce_panel_plugin_get_display_name ()</title>
-<indexterm><primary>xfce_panel_plugin_get_display_name</primary></indexterm><programlisting>const <link linkend="char">char</link>* xfce_panel_plugin_get_display_name
+<indexterm><primary>xfce_panel_plugin_get_display_name</primary></indexterm><programlisting><link linkend="gchar">gchar</link>* xfce_panel_plugin_get_display_name
(<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin);</programlisting>
<para>
The display name is the (translated) plugin name that can be used in a user
@@ -434,7 +434,7 @@
<varlistentry><term><parameter>plugin</parameter> :</term>
<listitem><simpara> an <link linkend="XfcePanelPlugin"><type>XfcePanelPlugin</type></link>
</simpara></listitem></varlistentry>
-<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> path to configuration file or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if none was found. The
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> path to configuration file or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if none was found. The
returned string must be freed using <link linkend="g-free"><function>g_free()</function></link>.
See also: <link linkend="xfce-panel-plugin-save-location"><function>xfce_panel_plugin_save_location()</function></link>
@@ -459,7 +459,7 @@
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> path to configuration file or <link linkend="NULL:CAPS"><literal>NULL</literal></link> is the file could not be
created. The returned string must be freed using <link linkend="g-free"><function>g_free()</function></link>.
-See also: <link linkend="xfce-panel-plugin-lookup-rc-file"><function>xfce_panel_plugin_lookup_rc_file()</function></link>
+See also: <link linkend="xfce-panel-plugin-lookup-rc-file"><function>xfce_panel_plugin_lookup_rc_file()</function></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
@@ -529,7 +529,7 @@
<refsect2><title><anchor id="XfcePanelPlugin--name"/>The "<literal>name</literal>" property</title>
<indexterm><primary>XfcePanelPlugin:name</primary></indexterm><programlisting> "name" <link linkend="gchararray">gchararray</link> : Read</programlisting>
<para>
-Untranslated plugin name. This identifies the plugin type and
+Untranslated plugin name. This identifies the plugin type and
therefore has to be unique.</para>
<para>
@@ -561,7 +561,7 @@
<indexterm><primary>XfcePanelPlugin::about</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin,
<link linkend="gpointer">gpointer</link> user_data) : Run last / No recursion / No hooks</programlisting>
<para>
-Emitted when the 'About' menu item is clicked. Plugin writers
+Emitted when the 'About' menu item is clicked. Plugin writers
should connect to this signal to show information about their
plugin (and its authors).
</para>
@@ -579,7 +579,7 @@
<indexterm><primary>XfcePanelPlugin::configure-plugin</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="XfcePanelPlugin">XfcePanelPlugin</link> *plugin,
<link linkend="gpointer">gpointer</link> user_data) : Run last / No recursion / No hooks</programlisting>
<para>
-Emitted when the 'Configure' menu item is clicked. Plugin writers
+Emitted when the 'Configure' menu item is clicked. Plugin writers
should connect to this signal to show a settings dialog.
</para>
<para>
@@ -632,7 +632,7 @@
<para>
Emitted before the panel is closing. May be called more than once
while the panel is running. Plugin writers should connect to
-this signal to save the plugins configuration.
+this signal to save the plugins configuration.
</para>
<para>
See also: <link linkend="xfce-panel-plugin-get-rc-file"><function>xfce_panel_plugin_get_rc_file()</function></link></para>
@@ -667,8 +667,8 @@
<link linkend="gint">gint</link> size,
<link linkend="gpointer">gpointer</link> user_data) : Run last / No recursion / No hooks</programlisting>
<para>
-Emitted when the panel size changes. By default a plugin will
-get a geometry of <parameter>size</parameter> x <parameter>size</parameter>. This means that a plugin writer
+Emitted when the panel size changes. By default a plugin will
+get a geometry of <parameter>size</parameter> x <parameter>size</parameter>. This means that a plugin writer
must handle this signal for any other behavior, even to 'do nothing'.</para>
<para>
@@ -682,7 +682,7 @@
<varlistentry><term><parameter>user_data</parameter> :</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> A callback function should return <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> when the signal
- is handled and <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise, in which case the
+ is handled and <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise, in which case the
default handler will run.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
More information about the Xfce4-commits
mailing list