Re: word wrap in liststore column
- From: Steve Harrington <steven harrington verizon net>
- To: gtk-app-devel-list gnome org
- Subject: Re: word wrap in liststore column
- Date: Sat, 26 Jun 2010 20:35:49 -0700
On 06/26/2010 08:19 PM, Florian MÃllner wrote:
Hi,
El dom, 27-06-2010 a las 12:25 +1000, Mick escribiÃ:
I know that, I have searched but not found anything that says "this is
how you set the properties of ..."
... an GObject:
http://library.gnome.org/devel/gobject/stable/gobject-The-Base-Object-Type.html#g-object-set
what I'm trying to do is set wrap-width to 60 characters and wrap-mode
to word somewhat like this:
GtkSomeObscureFunction(list->action, wrap-width = 60,
wrap-mode = PANGO_WRAP_WORD);
So GtkSomeObscureFunction becomes:
g_object_set (G_OBJECT (cell_renderer),
"wrap-width", 60,
"wrap-mode", PANGO_WRAP_WORD,
NULL);
This is a frustration I sometimes encounter. How do you know to do
this? I see nothing in the documentation for GtkCellRenderer or any of
it's antecedents that shows "wrap-width" or "wrap-mode" as a property.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]