Re: compose window error!



On Tue, 23 Jan 2001 11:50:53 Pawel Salek wrote:
| 
| On 2001-01-23 08:56 Berend De Schouwer wrote:
| > 
| > Thats because someone changed it from gtk_window_set_default_size()
| > to gtk_set_usize() in src/sendmsg-window.c
| 
| But the default_size is the right call, isn't it? I think I will do a
| little investigation... (and I hope it wasn't me, but I don't think so).

The problem is that ideally we would like to set the gtk-text widget
size, and not the window size.  The reason for this is that we'd
like to avoid having to calculate/guess the scrollbar, gtk-border,
and other sizes.  (Is this assumption wrong?)

But there appears to be no gtk_widget_set_default_size().  The problem
with gtk_set_usize() is it doesn't allow for re-sizing.

I've tried to do it with gtk_requisition/allocation(), but I must
have done something wrong, because it didn't do anything :(
 
| /Pawel
| -- 
| Pawel Salek (pawsa@theochem.kth.se) http://www.theochem.kth.se/~pawsa/
| Theoretical Chemistry Division, KTH voice: +46 8 790-8202
| 

Kind regards,				  
Berend                                  

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berend De Schouwer, +27-11-712-1435, UCS





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