Esempio n. 1
0
        public static Wnck.ClassGroup Get(string res_class)
        {
            IntPtr native_res_class = GLib.Marshaller.StringToPtrGStrdup(res_class);
            IntPtr raw_ret          = wnck_class_group_get(native_res_class);

            Wnck.ClassGroup ret = GLib.Object.GetObject(raw_ret) as Wnck.ClassGroup;
            GLib.Marshaller.Free(native_res_class);
            return(ret);
        }
 protected virtual void OnClassGroupClosed(Wnck.ClassGroup class_group)
 {
     GLib.Value      ret             = GLib.Value.Empty;
     GLib.ValueArray inst_and_params = new GLib.ValueArray(2);
     using (var val0 = new GLib.Value(this)) {
         inst_and_params.Append(val0);
         using (var val1 = new GLib.Value(class_group)) {
             inst_and_params.Append(val1);
             g_signal_chain_from_overridden(inst_and_params.ArrayPtr, ref ret);
         }
     }
 }