Re: Second GtkLabel Question
- From: Havoc Pennington <hp redhat com>
- To: Brian Cameron <Brian Cameron Sun COM>
- Cc: gtk-devel-list gnome org
- Subject: Re: Second GtkLabel Question
- Date: 01 Jun 2001 13:49:21 -0400
Brian Cameron <Brian Cameron Sun COM> writes:
>
> I need to get the start & end offsets of the selection within a
> GtkLabel. I notice that this is stored within the label->select_info
> structure. But since the _GtkLabelSelectionInfo structure is defined
> in gtklabel.c, it isn't exposed outside of gtklabel.c.
>
> Is there any way I can get this information without an ugly hack
> where I copy the structure definition of _GtkLabelSelectionInfo
> into my code?
>
Should probably add an API to get the selection start/end offset,
along the lines of the GtkEntry API.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]