Re: Wrapping style properties.



On Fri, 2009-12-04 at 10:37 +0100, Krzesimir Nowak wrote:
> 2009/12/4 Murray Cumming <murrayc murrayc com>:
> > On Thu, 2009-12-03 at 18:10 +0100, Krzesimir Nowak wrote:
> >> Hi,
> >>
> >> In vte, first style property was added recently. I checked Gtk::Widget
> >> code to check how such properties are wrapped and found nothing. Are
> >> they wrapped somehow?
> >
> > No, I don't think so. How would an application use them?
> >
> 
> Since vte is terminal emulator it is sometimes useful to set geometry hints to
> set its resizing habit like in gnome terminal [1]. For that
> vte_terminal_get_padding()
> was used in 0.22 or lower version. But since 0.23.1 it is deprecated and use of
> "inner-border" style property is recommended [2].
> 
> Krzesimir
> 
> [1] http://git.gnome.org/cgit/gnome-terminal/tree/src/terminal-window.c?h=gnome-2-28
> from line 2903 to 2928.
> [2] http://git.gnome.org/cgit/vte/commit/?id=a34ea6198748e1621b8f148d81b424ca5312f818

Could you please try using the C API for that for now, and then file a
bug suggesting that we make it easier, pointing us to your example code.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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