turn on italics in TextView

2017-06-12 Thread Doug McCasland
Hi, I am trying GTK3 TextView, in C. I know how to apply tags, such as italics, bold, etc., to a region of text. But how do I "turn on" a style (italics, bold, etc) while typing in the buffer? For example, suppose I am typing text and there are no styles set. Then I want to type in italics. I

Re: Widget, drawing and event coordinates

2017-06-12 Thread Matthias Clasen
Trying to summarize an irc discussion on this topic: We generally agreed that the content area should be what all vfuncs (measure, size_allocate, snapshot), events and signal handlers operate in. The other size that is relevant for widgets is the 'outer' size including the content size, css