[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Question on gtk_label_set_selectable
- From: "Gian Mario Tagliaretti" <gianmt gnome org>
- To: gtk-app-devel-list gnome org
- Subject: Re: Question on gtk_label_set_selectable
- Date: Fri, 19 Oct 2007 15:06:55 +0200
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]