[gedit-list] Close signal



Hi all,

    Can you help me? I need know from a gedit plugin, when a document is closed. I don't see how to do it :( I'm searching for destroy signal of GtkTextBuffer but it don't exists or i don't know how connect to it. Some close signal? Some destroy signal? I paste an example of my code:

Open the document
.....
GeditDocument *geditdoc = gedit_window_get_active_document(active_window);
if (geditdoc!=NULL)
{
    g_signal_connect(G_OBJECT(geditdoc),"notify",GTK_SIGNAL_FUNC (al_destruir),NULL);
}
.....


Thanks to all!!!
 
Pulse para ir al sitio web  
Jesús Barbero Rodríguez
Departamento de Análisis y Programación - Desarrollo tecnológico
Zoco Gran Santander, 1ª Planta 39011 Peñacastillo Santander ESPAÑA

Tel.: +34 902 233 323 ■ Fax: +34 902 234 280



AVISO LEGAL: Este mensaje contiene información destinada exclusivamente al usuario de destino, pudiendo contener información confidencial o protegida legalmente. Si, por un error de envío o transmisión, ha recibido este mensaje y usted no es el destinatario del mismo, por favor, notifique de este hecho al remitente y no use, informe, distribuya, imprima, copie o difunda este mensaje bajo ningún medio . Cualquier opinión en él contenida, es exclusiva de su autor y no representa necesariamente la opinión de Quiter Servicios Informáticos, S.L.

LEGAL WARNING: This e-mail and any attachment, contain information intended solely for the addressee and may contain confidential information or legally protected data. If you are not the intended recipient, please notify the sender and do not use, disclose, distribute, copy, print or rely on this e-mail under any circumstances. The views and opinions expressed are the authorŽs own and do not necessarily reflect those of Quiter Servicios Informáticos, S.L.  





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]