/// <summary> Ref Method </summary> /// <remarks> To be completed </remarks> public GdkGL.Context Ref() { IntPtr raw_ret = gdk_gl_context_ref(Handle); GdkGL.Context ret = (GdkGL.Context) GLib.Opaque.GetOpaque(raw_ret); if (ret == null) ret = new GdkGL.Context(raw_ret); return ret; }
/// <summary> AttrlistShareNew Method </summary> /// <remarks> To be completed </remarks> public static GdkGL.Context AttrlistShareNew(int attrlist, GdkGL.Context sharelist, int direct) { IntPtr raw_ret = gdk_gl_context_attrlist_share_new(attrlist, sharelist.Handle, direct); GdkGL.Context ret = (GdkGL.Context) GLib.Opaque.GetOpaque(raw_ret); if (ret == null) ret = new GdkGL.Context(raw_ret); return ret; }