xfdesktop -- advice for multiple icons for desktop background
Ribhi Kamal
rbhkamal at gmail.com
Sat Jun 22 21:42:57 CEST 2013
Hi all,
I just finished writing a patch for xfdesktop that allows a user (via
xfconf-query) to specify a custom style for a background image. For
example, the user can specify x,y positions (relative or exact) and offsets
and width and height scales relative to the desktop width/height.
My next step is to allow the user to specify multiple background images,
each with its own custom style. I'm planning to accomplish that by making
the backdrop object, _XfceBackdrop, use an array of _XfceBackdropPriv
instead of having just a single element. Like so
struct _XfceBackdrop
{
GObject gobject;
/*< private >*/
XfceBackdropPriv priv[MAX_IMAGES];
};
But it doesn't look like it is possible to pass in an index to
xfce_backdrop_set_property and xfce_backdrop_get_property so that they
would know when XfceBackdropPriv element to operate on.
As you can tell, I'm new to GObjects so any help would be greatly
appreciated.
Please let me know if you have any ideas on how to accomplish this task.
Cheers!
--
-- Ribhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20130622/8fa0662c/attachment.html>
More information about the Xfce4-dev
mailing list