Connect to signals of a GtkCellRenderer
- From: Juan Pablo <jpdborgna yahoo com ar>
- To: gtk-app-devel-list gnome org
- Subject: Connect to signals of a GtkCellRenderer
- Date: Thu, 12 Jan 2006 03:29:41 -0300
Hi list!
Now im using the GtkTreeView and I have a question:
I would like to g_signal_connect to the changed and insert_text of the
entry that appears when i click on a cell of the tree so i can do some
search while typing and validate the input.
I would want something like
g_signal_connect(renderer, "changed", (GCallback) ticket_codigo_changed,
&liststore);
This is how i make my cols:
/* --- Column #1 --- */
col = gtk_tree_view_column_new();
gtk_tree_view_column_set_title(col, "Codigo");
gtk_tree_view_append_column(GTK_TREE_VIEW(view), col);
renderer = gtk_cell_renderer_text_new();
g_object_set(renderer, "editable", TRUE, NULL);
gtk_tree_view_column_pack_start(col, renderer, TRUE);
Thanks to all.
Saludos, Juan Pablo.
___________________________________________________________
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]