Re: Hinting GtkEntry



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.

Also, the icon I would think can avoid GdkWindow overhead and just be drawn without a separate window?

Havoc




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