Sorting GtkListStore date column

2006-03-12 Thread Guy Rouillier
I'm fairly new to GTK programming, and I'm helping out on an open source GTK-based project (gcvs, part of the cvsgui project.) We have a GtkListStore with a column containing date. The column is specified as G_TYPE_STRING. When sorted, it does an alphanumeric sort, so in English it puts all

RE: Sorting GtkListStore date column

2006-03-12 Thread Freddie Unpenstein
> I'm fairly new to GTK programming, and I'm helping out on an open > source GTK-based project (gcvs, part of the cvsgui project.) We > have a GtkListStore with a column containing date. The column is > specified as G_TYPE_STRING. When sorted, it does an alphanumeric > sort, so in English it pu

Re: Handling Unix signals in a GTK+ application

2006-03-12 Thread Gus Koppel
Chris Vine wrote: > On Saturday 11 March 2006 22:36, Thomas Okken wrote: > > > [Using a pipe] is generally the best way of dealing > > > with asynchronous (Unix) signals, but for simple > > > cases another approach is just to set a flag of type > > > volatile sig_atomic_t in the Unix signal handle

change color of certian words in a text

2006-03-12 Thread 吕晋鹏
i want to change the color of certian words in a text,for example: when you input some word in a text ,then certain words are changed color. "if i were a bird ,then i can fly",when i input the sentence ,then word "if" and word "then" change color(from black to red),but other words still keep origin

AMD64 Installation/Usage-Experience Checklist?

2006-03-12 Thread Tony Freeman
I was just on the Ubuntu site http://www.ubuntu.com/testing/flight5 ... and noted that they have a checklist of sorts for people to report back on their installation and experience using the software. ( scoll down the page to the 'testing' section or click here for the long vesion of the test

Re: Sorting GtkListStore date column

2006-03-12 Thread Chris Vine
On Sunday 12 March 2006 09:11, Guy Rouillier wrote: > I'm fairly new to GTK programming, and I'm helping out on an open source > GTK-based project (gcvs, part of the cvsgui project.) We have a > GtkListStore with a column containing date. The column is specified as > G_TYPE_STRING. When sorted,

Re: Sorting GtkListStore date column

2006-03-12 Thread Chris Vine
On Sunday 12 March 2006 19:30, Chris Vine wrote: > On Sunday 12 March 2006 09:11, Guy Rouillier wrote: > > I'm fairly new to GTK programming, and I'm helping out on an open source > > GTK-based project (gcvs, part of the cvsgui project.) We have a > > GtkListStore with a column containing date. T

Re: Handling Unix signals in a GTK+ application

2006-03-12 Thread Chris Vine
On Sunday 12 March 2006 10:49, Gus Koppel wrote: > Chris Vine wrote: [snip] > > That's not right. Idle handlers do not busy wait. They do trigger > > invocations of the event loop at indeterminate intervals. They are also > > very common (if you don't want to communicate with the glib event lo

Re: AMD64 Installation/Usage-Experience Checklist?

2006-03-12 Thread Tony Freeman
Ooops ... sorry about that post! As you can see - I sent it to the wrong mailing list. My appologies. -- Tony On Sun, 2006-03-12 at 12:11 -0500, Tony Freeman wrote: > I was just on the Ubuntu site > > http://www.ubuntu.com/testing/flight5 > > ... and noted that they have a checklist of s

Re: Handling Unix signals in a GTK+ application

2006-03-12 Thread Thomas Okken
Gus Koppel wrote: > However, if you know your application belongs to the > majority of GTK+ applications, that is, it stays in the > outermost main loop, spending most of its time actually > being idle, then using the idle handler may be > appropriate. But as explained, it's not quite as > "fail-

Re: Sorting GtkListStore date column

2006-03-12 Thread Guy Rouillier
Chris Vine wrote: Obviously, I want to sort this in date sequence. How do I accomplish this? I searched the archives before posting and couldn't find anything applicable. Thanks. You can sort on a hidden column in the list store (that is, one not displayed in a tree view) which has, say, th

Need your help when I writing my own gtk widgets

2006-03-12 Thread yeajchao
Hello all First of all,i apologize for my terriblly poor English! I am going to write a widget for my application In my application,there need a virtual instrument,some more like a watch,but, in the bottom,there must have a digital display of its value In fact,what is I want is