Re: word wrap in liststore column
- From: Florian Müllner <florian muellner gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: word wrap in liststore column
- Date: Sun, 27 Jun 2010 16:56:52 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]