Hi,

El dom, 27-06-2010 a las 18:19 +1000, Mick escribió:
> Thanks, a clear answer to question 1 and 1.5 answers to question 2, I
> didn't notice the gtk_tree... way ontil after I guessed how to gobject
> set it, out of interest, which is better?

Whichever looks better :-)

Seriously, calling g_object_set() for that property will result in a
call to gtk_tree_view_set_rules_hint(), so both ways are equivalent(*).
Choose whatever you consider clearer / more readable.


Florian

(*) g_object_set() has to wrap/unwrap the parameter into a GValue first,
    so there's a tiny overhead - ignore that unless you call it in a
    loop for say 1000 objects
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to