forked from AuroraMiddleware/gtk
Add an editable cell to testverticalcells showing functional vertical focus navigation.
This commit is contained in:
parent
632f1f3ac4
commit
7e526d57f0
@ -342,7 +342,7 @@ main (gint argc, gchar **argv)
|
||||
gtk_orientable_set_orientation (GTK_ORIENTABLE (area), GTK_ORIENTATION_VERTICAL);
|
||||
|
||||
renderer = gtk_cell_renderer_text_new ();
|
||||
g_object_set (renderer, "ellipsize", PANGO_ELLIPSIZE_END, NULL);
|
||||
g_object_set (renderer, "ellipsize", PANGO_ELLIPSIZE_END, "editable", TRUE, NULL);
|
||||
gtk_tree_view_column_pack_start (column, renderer, TRUE);
|
||||
gtk_tree_view_column_set_attributes (column, renderer,
|
||||
"text", DESCRIPTION_COLUMN,
|
||||
|
Loading…
Reference in New Issue
Block a user