Hi,

I have a transparent Gtk Window created with the following:
http://pastebin.com/m6c4f148e

I have would like to put a Clutter.Embed in there with a transparent stage.
So far I have tried variations of the following code in attempt to
accomplish this. However if I change the stage's Color or Opacity values I
just recieve a black stage. Any thoughts? -- Dan

using System;
using Gtk;
using Clutter;

namespace SharpTransparencyTest
{
    class MainClass
    {

        public static void Main (string[] args)
        {
            Clutter.Application.Init ();
            Gtk.Application.Init ();

            MainWindow win = new MainWindow ();

            Clutter.Embed clutter = new Embed();
            //clutter.Stage.Color = new Color(0,0,0,0);
            //clutter.Stage.Opacity = 0;
            win.Add(clutter);

            Text label = new Text("Sans 32px","Hello, world.");
            clutter.Stage.Add(label);

            win.ShowAll();
            Gtk.Application.Run ();
        }
    }
}

Reply via email to