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



On Mon, Sep 03, 2007 at 09:10:24AM +0200, Gerd Hoffmann wrote:
> 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 ...

Ahh, good point. We should definitely add a desktop-resize signal then.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




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