Example #1
0
        public GtkSource.Style Copy()
        {
            IntPtr raw_ret = gtk_source_style_copy(Handle);

            GtkSource.Style ret = GLib.Object.GetObject(raw_ret, true) as GtkSource.Style;
            return(ret);
        }
Example #2
0
        public GtkSource.Style GetStyle(string style_id)
        {
            IntPtr native_style_id = GLib.Marshaller.StringToPtrGStrdup(style_id);
            IntPtr raw_ret         = gtk_source_style_scheme_get_style(Handle, native_style_id);

            GtkSource.Style ret = GLib.Object.GetObject(raw_ret) as GtkSource.Style;
            GLib.Marshaller.Free(native_style_id);
            return(ret);
        }