Re: GtkLabel substring support



Gtk Experts:

I sent this email out yesterday and didn't get a reply.  Since I have
to write this function anyway, should I make the change to GtkLabel
and provide it to you as a patch?  Or should I just deal with pulling
substrings out of the GtkLabel purely in my program?  Let me know what
you'ld prefer and I'll just move forward.  

Thanks much!

Brian

> Thanks much!  It would also be useful if GtkLabel had a function
> for returning a substring of the text, like gtk_editable_get_chars
> in GtkEntry or gtk_text_buffer_get_text in GtkTextView.  These
> functions allow you to pass in the start offset & end offset and
> return the text between these offset points.
> 
> I can certainly implement such functions myself by just using
> get_label_get_text and doing the work myself, but it seems like
> it would be a useful general purpose function for GtkLabel to
> support.





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