embedding widgets

2007-10-24 Thread Tomas Carnecky
I have created a modification to transmission that changes the look: http://dbservice.com/ftpdir/tom/screenshot19.png each line is one custom widget, with a few pango text layouts and the progressbar in the background. That was quite easy, but how would I go about embedding for example a whole Gt

Re: Listbox, Treeview and attaching pointers to rows

2007-10-24 Thread Damien Caliste
Hello, Le 24/10/2007, Arto Karppinen <[EMAIL PROTECTED]> a écrit : > Row one -> Data pointer 1 > Row two -> Data pointer 1 > Row n+1 -> Data pointer 1 > How would one accomplish such amazing task? Your data pointer should added in your model: enum { COL_LABEL, COL_DATA,

Listbox, Treeview and attaching pointers to rows

2007-10-24 Thread Arto Karppinen
Hi Lets assume i have a simple, one row listbox. Row one Row two Row n+1 And each row would be attached with a pointer, the same way for example you can attach user_data to button clicks. Like this: Row one -> Data pointer 1 Row two -> Data pointer 1 Row n+1 -> Data pointer 1 And when t

Re: Date and time

2007-10-24 Thread Andrew Cowie
On Wed, 2007-10-24 at 11:19 +0200, Olivier Delhomme wrote: > I'm looking for a function that will return a date and time > as a gchar * in a format that is made accordingly to the > user preferences. The traditional way of custom formatting dates on Unix has long been strftime(); the formatting t

Re: Date and time

2007-10-24 Thread Murray Cumming
On Wed, 2007-10-24 at 11:19 +0200, Olivier Delhomme wrote: > Hello, > > I'm looking for a function that will return a date and time > as a gchar * in a format that is made accordingly to the > user preferences. > > For example 2007/10/24 or 24/10/2007 ... > > Does this exists in glib/gtk ? sp

Re: Date and time

2007-10-24 Thread Eduardo M KALINOWSKI
Olivier Delhomme wrote: > Hello, > > I'm looking for a function that will return a date and time > as a gchar * in a format that is made accordingly to the > user preferences. > > For example 2007/10/24 or 24/10/2007 ... > > Does this exists in glib/gtk ? > It exists in C --- see your C librar

Date and time

2007-10-24 Thread Olivier Delhomme
Hello, I'm looking for a function that will return a date and time as a gchar * in a format that is made accordingly to the user preferences. For example 2007/10/24 or 24/10/2007 ... Does this exists in glib/gtk ? thanks, Olivier. ___ gtk-app-devel-