Re: Hinting GtkEntry



On Thu, 2007-05-24 at 13:13 -0400, Havoc Pennington wrote:
> Would it be better to just support an icon inside the entry? (how many 
> different use cases are there really for this, maybe all of them should 
> just be supported directly?)
> 
> The reason for the side windows in GtkTextView is sort of different: 
> they scroll with the text view contents. The scrolling aspect would be 
> difficult to achieve without the side window feature.
> 
> For putting an icon in an entry, there isn't really this complexity; 
> something like gtk_entry_set_icon() or just gtk_entry_set_left_widget() 
> would work fine, instead of having to deal with GdkWindow and custom 
> drawing.

SexyEntry supports activatable icons on the left and right of a widget,
although the implementation isn't great (doesn't support named icons and
so on).

Ross
-- 
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

Attachment: signature.asc
Description: This is a digitally signed message part



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