Re: Opaque Type?



Kent ha scritto lo scorso 18/02/2005 16.02:
Is GtkTextTag an opaque type or are you allowed to look at (and depend on)
its contents? Specifically, I was wondering if it is permissible to look at the 'name' field or is it more correct to use a g_object_get() with the "name" property. If it is okay to look directly at 'name' in GtkTextTag then why does the "name" property exist? Is their an advantage to using g_object_get() rather than looking directly at GtkTexTag->name (other than eliminating the dependency on the 'name' field itself).

Thanks,
Kent

gtk_text_buffer_insert_with_tags_by_name (...) ;-)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]