Re: Adjusting window resizing




See the set_hints() function in the gnome-terminal.c sourcecode.

There is also a section in the zvt manual concerning window hints,
it should still be uptodate (its just a copy of the same function
infact).  The padding and so forth for the zvt widget are because
it renders a little border around itself.

http://developer.gnome.org/doc/API/zvtterm/zvtterm-window-hints.html

 Michael

> 
> Hi,
> 
> A number of X apps (e.g. Emacs and gnome-terminal) restrict resizing to
> character sized increments (as opposed to pixel sized increments).  Can
> anyone point me to a way to implement this?  Presumably I will need to
> know something about the font metrics of the window governing the size of
> the window - in the case of gnome-terminal I suppose that this is the zvt
> widget.
> 
> -- 
> Lyndon Drake                       | Desktop:      http://www.gnome.org
> isenguard                          | Mail client:  http://www.mutt.org
> ICQ#: 12558803                     | Editor:       http://www.vim.org
> http://stat.auckland.ac.nz/~lyndon | OS:           http://www.linux.com
> 
> 
> -- 
> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> as the Subject.
> 
> 



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