Re: [gtk-vnc-devel] vnc display size event



Daniel P. Berrange wrote:
> On Thu, Aug 30, 2007 at 02:00:56PM +0200, Gerd Hoffmann wrote:
>>   Hi,
>>
>> How about adding an event for vnc display size changes?  Or maybe a bit
>> more generic on vnc display configuration changes (pointer mode for
>> example)?
> 
> I was just about to add this, but now I look closely, I think you can 
> already get a signal for size changes. The on_resize() method in the
> VncDisplay object calls gtk_widget_set_size_request() which will cause
> it to emit the 'size-request' signal. Is that good enough your needs ?

I think that isn't a good idea.  Will work for now, but once the vnc
widget supports scaling the widget size and the vnc display size are not
the same any more ...

cheers,
  Gerd




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