Re: Second GtkLabel Question



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]