Re: Finding out if a widget is editable and/or has selection

On Mon, 2001-10-29 at 15:27, Havoc Pennington wrote:
> 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.

OK, so I guess the same is true of the function to find out if a widget
has stuff selected and the function to get the top-level widget - they
should all stay in user-land for 2.0

I am cool with all that - just so I know!

Damian Ivereigh
CEPS Team Lead
Desk: +61 2 8446 6344
Mob: +61 418 217 582

Attachment: pgpiC80Kow27x.pgp
Description: PGP signature

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