Re: Finding out if a widget is editable and/or has selection
- From: Havoc Pennington <hp redhat com>
- To: Damian Ivereigh <damian cisco com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Finding out if a widget is editable and/or has selection
- Date: 28 Oct 2001 23:27:04 -0500
Damian Ivereigh <damian cisco com> writes:
> Is there a generic way to find out if a widget is editable (e.g. is able
> to recieve a paste). Right now I check if it is either of type
> GTK_IS_EDITABLE or GTK_IS_TEXT_VIEW and then proceed to check their
> editable flags, otherwise I presume it is not.
I think that's right for GTK 2. In the future, when we do the
menu/toolbar API reworking, the Edit menu may automatically
do the right thing.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]