Re: How to allow ScrolledWindow to grow?

2006-07-23 Thread Yeti
On Mon, Jul 24, 2006 at 11:49:13AM +0700, elifant wrote: > I have Window with TextView inside ScrolledWindow. > There is maximum size window can have. > > If text is short and TextView is small, I wan't ScrolledWindow and > Window become as small as possible. > If text is large, I want ScrolledWi

Re: double click on Clist event

2006-07-23 Thread Yeti
On Sun, Jul 23, 2006 at 10:01:50PM -0700, cnu_sree wrote: > > double click on Clist event. > how we can handle double click events in the clist item. Don't use GtkCList. Use GtkTreeView and connect to "row-activated". Yeti -- Anonyms eat their boogers.

MIME displaying

2006-07-23 Thread Lloyd
Hello, How can I display a MIME formatted message in its correct format including the pictures? Is there is any control available? Thanks and regards, Lloyd. __ Scanned and protected by Email scanner ___ gtk-list m

How to allow ScrolledWindow to grow?

2006-07-23 Thread elifant
I have Window with TextView inside ScrolledWindow. There is maximum size window can have. If text is short and TextView is small, I wan't ScrolledWindow and Window become as small as possible. If text is large, I want ScrolledWindow and Window grow up till limit and only when limit is reached fo

double click on Clist event

2006-07-23 Thread cnu_sree
double click on Clist event. how we can handle double click events in the clist item. i -- View this message in context: http://www.nabble.com/double-click-on-Clist-event-tf1990336.html#a5461962 Sent from the Gtk+ - General forum at Nabble.com. ___ gt

GTK+ 2.10.1 released

2006-07-23 Thread Matthias Clasen
GTK+ 2.10.1 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.10/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.10/ gtk+-2.10.1.tar.bz2 md5sum: 7f1d39031d50de8228211aa3230d4acd gtk+-2.10.1.tar.gzmd5sum: 50870c78054935e237ff361b407deae5 This is a bug fix release and is source

Re: funny gettimeofday

2006-07-23 Thread Yeti
On Sun, Jul 23, 2006 at 09:40:29PM +0200, Nicolas George wrote: > > Always check return codes. gettimeofday() *can* fail (most likely, > > tv1 and/or tv2 are bum pointers that don't point where you think). > > As a matter of fact, no, it can not, at least as long as its second argument > is NULL:

Re: funny gettimeofday

2006-07-23 Thread Valdis . Kletnieks
On Sun, 23 Jul 2006 21:40:29 +0200, Nicolas George said: > > > Always check return codes. gettimeofday() *can* fail (most likely, > > tv1 and/or tv2 are bum pointers that don't point where you think). > > As a matter of fact, no, it can not, at least as long as its second argument > is NULL: > >

Re: funny gettimeofday

2006-07-23 Thread Nicolas George
> Always check return codes. gettimeofday() *can* fail (most likely, > tv1 and/or tv2 are bum pointers that don't point where you think). As a matter of fact, no, it can not, at least as long as its second argument is NULL: # RETURN VALUE # # The gettimeofday() function shall return 0 and no

Re: funny gettimeofday

2006-07-23 Thread Valdis . Kletnieks
On Sat, 22 Jul 2006 23:30:13 PDT, heavenscape said: Not strictly a gtk question, but a general C programming question. What the heck, I'm waiting for a box to reboot... ;) > gettimeofday(&tv1,NULL); int rc; if (!(rc = gettimeofday(&tv1,NULL)) { printf ("gettimeofd