Re: turn on italics in TextView

2017-06-13 Thread Eric Cashon via gtk-app-devel-list
Hi Doug, You can try using the "insert-text" callback to set your italics on the inserted text. This is what I came up with to test. The signal is connected after so that the update occurs first. Careful about not changing the location iter also since there is a warning in the documentation

Re: GtkLabel max-width-chars with ellipsize broken?

2017-06-13 Thread Eric Cashon via gtk-app-devel-list
What version of GTK are you using? It does work on my computer. The label expands and shrinks as the window expands and shrinks and the label stops expanding at 012345678901234567... I take that to be 20 chars if you start at 0 and include the three dots. The tooltip shows the full string.

Re: GtkLabel max-width-chars with ellipsize broken?

2017-06-13 Thread infirit
On 10/06/17 19:39, cecas...@aol.com wrote: > Hi infirit, Hi > Give the hexpand a try and see if that works. It works for me on Python3.5 > and GTK3.18 Define works :) Does it limit to what was set as maximum width chars? When resizing does it use the available space to show more or less

Re: Integrate IP Camera stream in GTK app

2017-06-13 Thread Eric Cashon via gtk-app-devel-list
Hi Ruben, I am sure you can do that with GTK and GStreamer. That way the code would be portable across platforms. I don't have any examples of using GStreamer to get video from an ip camera. I have some test code that will show the video from the local webcam.

Integrate IP Camera stream in GTK app

2017-06-13 Thread Rúben Rodrigues
Hi guys, Someone knows how to integrate IP Camera stream in GTK+ app? I tested with libvlc an gstreamer in my raspberrry pi, but don't works.. Any other library to make this? Thanks Rúben --- Este e-mail foi verificado em termos de vírus pelo software antivírus Avast.

Re: Widget, drawing and event coordinates

2017-06-13 Thread Timm Bäder
On 12.06, Matthias Clasen wrote: > 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