Associating labels to widgets



Hi all,

Is there a way to associate a label (which does *not* have mnemonic) to a
widgets (say a GtkEntry) to that when the entry is set (in)sensitive, the
label is made (in)sensitive.

Of course, this can be done by hand, but then you have to keep a pointer to
the label, and do it... I guess this must be a rather frequence situation!

-- m

-----------------------------------------------------------------------
Mariano Suarez Alvarez
Departamento de Matematica - Universidad Nacional de Rosario
Pellegrini 250 - Rosario 2000 - Argentina

    De la observacion de la irreductibilidad de las creencias ultimas
    he sacado la mayor leccion de mi vida. Aprendi a respetar las ideas
    ajenas, a detenerme ante el secreto de las conciencias, a entender
    antes de discutir, a discutir antes de condenar. Y como estoy en
    vena de confesiones, hago una mas, quizas superflua: detesto con
    toda mi alma a los fanaticos.

    Norberto Bobbio, Italia civil.

-----------------------------------------------------------------------




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