[Xfce4-commits] <xfce4-vala:master> Add Xfce.PanelImage to libxfce4panel
Mike Massonnet
noreply at xfce.org
Tue Dec 22 14:24:01 CET 2009
Updating branch refs/heads/master
to 6ca65e39054c4a4ca795b5f74baf228d28cd78f9 (commit)
from 81c695feb1db96166c5d4be1076ea9927b3c95d3 (commit)
commit 6ca65e39054c4a4ca795b5f74baf228d28cd78f9
Author: Mike Massonnet <mmassonnet at xfce.org>
Date: Mon Dec 21 23:30:45 2009 +0100
Add Xfce.PanelImage to libxfce4panel
.../libxfce4panel-1.0-custom.vala | 11 +++++++++++
vapi/libxfce4panel-1.0.vapi | 12 ++++++++++++
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/packages/libxfce4panel-1.0/libxfce4panel-1.0-custom.vala b/packages/libxfce4panel-1.0/libxfce4panel-1.0-custom.vala
index 6afdf7d..a7e3f25 100644
--- a/packages/libxfce4panel-1.0/libxfce4panel-1.0-custom.vala
+++ b/packages/libxfce4panel-1.0/libxfce4panel-1.0-custom.vala
@@ -1,4 +1,15 @@
namespace Xfce {
+ public class PanelImage : Gtk.Widget {
+ [CCode (has_construct_function=false)]
+ public PanelImage ();
+ [CCode (has_construct_function=false)]
+ public PanelImage.from_pixbuf (Gdk.Pixbuf pixbuf);
+ [CCode (has_construct_function=false)]
+ public PanelImage.from_source (string source);
+ public void set_from_pixbuf (Gdk.Pixbuf pixbuf);
+ public void set_from_source (string source);
+ public void clear ();
+ }
public interface PanelPluginProvider {
}
public unowned Gtk.Button panel_create_button ();
diff --git a/vapi/libxfce4panel-1.0.vapi b/vapi/libxfce4panel-1.0.vapi
index be4bba5..5557627 100644
--- a/vapi/libxfce4panel-1.0.vapi
+++ b/vapi/libxfce4panel-1.0.vapi
@@ -24,6 +24,18 @@ namespace Xfce {
public void set_orientation (Gtk.Orientation orientation);
}
[CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
+ public class PanelImage : Gtk.Widget {
+ [CCode (has_construct_function = false)]
+ public PanelImage ();
+ public void clear ();
+ [CCode (has_construct_function = false)]
+ public PanelImage.from_pixbuf (Gdk.Pixbuf pixbuf);
+ [CCode (has_construct_function = false)]
+ public PanelImage.from_source (string source);
+ public void set_from_pixbuf (Gdk.Pixbuf pixbuf);
+ public void set_from_source (string source);
+ }
+ [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
public class PanelPlugin : Gtk.EventBox, Gtk.Buildable, Atk.Implementor, Xfce.PanelPluginProvider {
public void add_action_widget (Gtk.Widget widget);
public Gtk.ArrowType arrow_type ();
More information about the Xfce4-commits
mailing list