public static Wnck.Screen GetForRoot(ulong root_window_id)
        {
            IntPtr raw_ret = wnck_screen_get_for_root(new UIntPtr(root_window_id));

            Wnck.Screen ret = GLib.Object.GetObject(raw_ret) as Wnck.Screen;
            return(ret);
        }
        public static Wnck.Screen Get(int index)
        {
            IntPtr raw_ret = wnck_screen_get(index);

            Wnck.Screen ret = GLib.Object.GetObject(raw_ret) as Wnck.Screen;
            return(ret);
        }
示例#3
0
 public Pager(Wnck.Screen screen) : base(IntPtr.Zero)
 {
     if (GetType() != typeof(Pager))
     {
         throw new InvalidOperationException("Can't override this constructor.");
     }
     owned = true;
     Raw   = wnck_pager_new(screen == null ? IntPtr.Zero : screen.Handle);
 }