Re: [gtk-vnc-devel] Scaling down



On Wed, Jun 04, 2008 at 09:33:49PM -0300, Jonh Wendell wrote:
> Is it too hard to make gtk-vnc do scaling down? I know nothing about
> opengl... but I can try...

The GL bit probably already works. I believe what will stop it is the
GTK sizing logic. We call set_size_request() IIRC which GTK will honour
as the minimum allowed size of the widget when laying out the window. 
It'll happily give it extra space (hence scaling up) but will not want
to give it less. The GTK sizing logic is confusing as hell to me so I
can't suggest any definite solution, other than to play around with it
and try and find something which works.

Regards,
Daniel.
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




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