-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Aug 18, 2006 at 09:03:44AM +1000, Donald Malcolm wrote:
> I have a tree view. In my program I want to highlight (select/set focus)
> one row of the tree view. That highlighted row should be the same as if
> the user had clicked on that row.
> 
> Please let me know how I may set the row.

You might want to try:
        gtk_widget_set_state(cell, GTK_STATE_SELECTED);
        ...
        gtk_widget_set_state(cell, GTK_STATE_NORMAL);

But see the manual for caveats and counterindications :-)

HTH
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFE5VKcBcgs9XrR2kYRAqA6AJ9TETYySffp7dh4KJ/3IyjWoC/GrACfWORp
VQZFfyZB/LmaR7+4lZzcHzM=
=/j/u
-----END PGP SIGNATURE-----

_______________________________________________
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