Question on gtk_label_set_selectable



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I have labels, which I wish to allow the user to select the text for the purpose
of cut/pasting. So I set

        gtk_label_set_selectable (GTK_LABEL (dlabel), 1)

on the label.

The problem I have now is that when the label is created, not only is the text
selectable, but it is also SELECTED as an initial state. I would prefer for the
text to be selectable, BUT NOT selected (at least as a default state).

How might I turn off "selected" ?

any tips ?

many thanks in advance,

- -Greg

- --
+---------------------------------------------------------------------+

Please also check the log file at "/dev/null" for additional information.
                (from /var/log/Xorg.setup.log)

| Greg Hosler                                   ghosler redhat com    |
+---------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHF0g8404fl/0CV/QRAiDPAJ0QRDIX6hj2HSiXXUUC8BMWHYpuugCgqfow
Qz3zHY6MxcGaEutazgZeikE=
=Ks/L
-----END PGP SIGNATURE-----



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