Entrar
¿Usuario nuevo? Regístrate
t-gtk
? ¿Ya estás suscrito? Entrar en Yahoo!

Consejos de Yahoo! Grupos

¿Sabías que...?
Puedes determinar el orden de los mensajes. Pulsa el enlace en la columna correspondiente a la fecha. Tus preferencias serán guardadas y no tendrás que introducirlas de nuevo.

Mensajes

  Mensajes Ayuda
Avanzado
Señales en CellRenderer   Lista de mensajes  
Responder | Reenviar Mensaje #2846 de 2881 |
From thefull_tgtk@... Sun May 24 11:39:06 2009
Return-Path: <thefull_tgtk@...>
X-Sender: thefull_tgtk@...
X-Apparently-To: t-gtk@yahoogroups.com
X-Received: (qmail 78357 invoked from network); 24 May 2009 18:38:57 -0000
X-Received: from unknown (69.147.108.202)
by m4.grp.re1.yahoo.com with QMQP; 24 May 2009 18:38:57 -0000
X-Received: from unknown (HELO n40b.bullet.mail.sp1.yahoo.com) (66.163.168.154)
by mta3.grp.re1.yahoo.com with SMTP; 24 May 2009 18:38:57 -0000
X-Received: from [69.147.65.173] by n40.bullet.mail.sp1.yahoo.com with NNFMP; 24 May 2009 18:38:14 -0000
X-Received: from [98.137.35.15] by t15.bullet.mail.sp1.yahoo.com with NNFMP; 24 May 2009 18:38:14 -0000
Date: Sun, 24 May 2009 18:38:12 -0000
To: t-gtk@yahoogroups.com
Message-ID: <gvc46k+kas9@eGroups.com>
In-Reply-To: <a2cf900f0905220704q2d002a00xca4e7830990ebc0@...>
User-Agent: eGroups-EW/0.82
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Yahoo Groups Message Poster
X-Yahoo-Newman-Property: groups-compose
X-Originating-IP: 66.163.168.154
X-eGroups-Msg-Info: 1:6:0:0:0
X-Yahoo-Post-IP: 88.18.174.41
From: "Rafa Carmona" <thefull_tgtk@...>
Subject: =?iso-8859-1?q?RE:_Se=F1ales_en_CellRenderer?=
X-Yahoo-Group-Post: member; u=211133254; y=FAHNCZLmV-CicofECL8NiDqIsia0MnqE6p9jPdnP9UDSM_m6l-uM
X-Yahoo-Profile: thefull_tgtk

Riztan, acabo de implementar el uso de las se=F1ales editing-started y edit=
ing-canceled.

( Me ha sido m=E1s sencillo implementarlo que explicarlo, pero de todas man=
eras, creo que en la doc esta la forma de implementar nuevas se=F1ales. )

Te he dejado el ejemplo de uso en listore.prg, para que veas como funciona.

De todas maneras te dejo , por si no lo has visto, lo que indican sobre la =
se=F1al;

Note that GTK+ doesn't guarantee that cell renderers will continue to use t=
he same kind of widget for editing in future releases, therefore you should=
check the type of editable before doing any specific setup, as in the foll=
owing example:

static void
text_editing_started (GtkCellRenderer *cell,
GtkCellEditable *editable,
const gchar *path,
gpointer data)
{
if (GTK_IS_ENTRY (editable))=20
{
GtkEntry *entry =3D GTK_ENTRY (editable);
=20=20=20=20=20=20
/* ... create a GtkEntryCompletion */
=20=20=20=20=20=20
gtk_entry_set_completion (entry, completion);
}
}

Es decir, no te garantizan, logico por otra parte, que lo que vayas a recib=
ir sea un editable, por ello, hay que averiguarlo con GTK_IS_ENTRY().

Es decir, solamente las columnas tipo "text" que nosotros pasamos son compa=
tibles.




Do, 24 de Mayo, 2009 6:38 pm

thefull_tgtk
Sin conexión Sin conexión
Enviar mensaje Enviar mensaje

Reenviar Mensaje #2846 de 2881 |
Desplegar mensajes Autor Ordenar por fecha

Se ve interesante lo del configurador... ya le daré un vistazo.... Oye, he estado tratando de entender el asunto de las señales y queriendo activar una...
Riztan Gutierrez
riztanivan
Sin conexión Enviar mensaje
22 de Mayo, 2009
2:05 pm

Riztan, acabo de implementar el uso de las señales editing-started y editing-canceled. ( Me ha sido más sencillo implementarlo que explicarlo, pero de todas...
Rafa Carmona
thefull_tgtk
Sin conexión Enviar mensaje
24 de Mayo, 2009
6:39 pm

Muchas gracias Rafa... ya estoy revisando. Saludos ... -- Saludos Riztan Gutierrez http://www.t-gtk.org ______________________________________________ Muchas...
Riztan Gutierrez
riztanivan
Sin conexión Enviar mensaje
25 de Mayo, 2009
3:32 pm
Avanzado

Copyright © 2009 Yahoo! Todos los derechos reservados.
Política de Privacidad Actualizada - Condiciones del servicio - Directrices - Ayuda