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.
|
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
"Rafa Carmona" <thefull_tgtk@...>
thefull_tgtk
Sin conexión Enviar mensaje
|
|