Re: trying to set the back ground



On Thu, 08 Apr 2010 14:51:55 +0100
Emmanuele Bassi <ebassi gmail com> wrote:

On Thu, 2010-04-08 at 07:38 -0500, Zane C.B. wrote:
Just started playing around with the idea of setting the back
ground image on the desktop using GTK and I've been trying it
using the code listed below.

the way the background is set depends entirely by the platform, and
gtk+ has nothing to do with that.

on GNOME you usually set a GConf key, and whatever is in charge of
drawing the background (Nautilus, most likely; but could be the
Shell in the future) will pick it up from there.

Actually in regards to gnome and a few other unix desktops, that is
do to incredibly brain dead design.

I am just trying to set it on generic X, how hsetroot and etc work.

The way it works is you grab the drawable for root window and then
change it, which is what I am trying to do. This should be doable
from under GTK from the looks of the documentation.

The code I provided is what I've come up with that from a bit of
poking around and looking at hsetroot, looks to be how it is should
work, but I've not found any thing that specifies how it should be
done.

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]