Re: Question about gdk_colormap_free_colors()
- From: "Tara M" <learfox furry ao net>
- To: "LIST: GTKAppDevel" <gtk-app-devel-list gnome org>
- Subject: Re: Question about gdk_colormap_free_colors()
- Date: 29 Jul 2001 13:29:48 PDT
On 29 Jul 2001 13:57:11 -0400, Havoc Pennington said:
Well, it does, what I'm saying is that I'm not sure what happens if
you change those colors manually - gtk won't know they changed.
> What about the existing colors in a GtkStyle()? ie one that
> came with gtk_style_copy() are those colors gonna have an
> extra reference count?
I'm not sure.
I would just stay out of GtkStyle, unless you're willing to go source
code excavating and figure it out. ;-)
Oh wait wait Havoc I think we have a BUG misunderstanding.
I use a GtkStyle since its structure just so happens to have
everything I need. I use it in my own internal code to keep
track of fonts and colors. I still use gtk_widget_modify_style()
with a GtkRcStyle to modify a widget's style.
I just use the GtkStyle for things like the GtkText or GtkCList
where I pass its members on to the widgets.
Is that an okay thing to do? I was under the impression it was
since The GtkCList for example allows setting of the rows with
a GtkStyle.
Sincerely,
--Tara Milana
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]