Re: Question on gtk_label_set_selectable



2007/10/19, David Nečas (Yeti) <yeti physics muni cz>:

Your label the first widget in the window that accepts focus
(selectable labels can receive focus, unlike normal labels).
Therefore the label will get focus, which selects its text
-- at least this seems to be the default behaviour.

If you add the label after it's decided which widget should
receive focus, the label does not get focus and therefore
its text is not selected.

You can also set the can-focus property to FALSE on the label which
will be still selectable.

cheers
-- 
Gian Mario Tagliaretti


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