Nested Tree View

2007-11-30 Thread Alejandro Serrano
Hi, I'm trying to write a custom widget to represent some data in a way similar to this image: http://www.threatofchaos.com/imagenes/hsl2.PNG What I need is to nest items in a TreeView, but changing the set of columns that are represented. I mean, I need to have - Item 1 - Item 2 * SubItem 2.1

Re: memory leak in gtk

2007-11-30 Thread Michael L Torrie
c f wrote: snip I have checked the GTK documentation and it states that gtk_exit free all resources allocated for GTK+. gtk_exit is depricated and using exit is recommended. I have tested both but non of them improved the situation (still more than 5000 leaks). This is normal. GTK is not

Re: Nested Tree View

2007-11-30 Thread Micah Carrick
Typically, you would use two cell renderers for this task. For example, in a file browser, you might not have 1 column for the icon and another for the filename, but instead you could pack the icon renderer AND filename renderer into the column for a single column so that the alignment works.

Re: GTK+ v2.12.2 build for Windows ?

2007-11-30 Thread Neil Bird
Around about 30/11/07 11:13, Tor Lillqvist typed ... ... not MSVC's, which you apparently use as you talk about release mode and debug mode). OT: I can see where the assumption comes from, but as it happens we do debug and release builds using gcc (arg, to Makefile), it's not just a

Re: write a media player using gtk+

2007-11-30 Thread jcupitt
On Nov 30, 2007 2:45 AM, Bin Chen [EMAIL PROTECTED] wrote: image, but I am not familiar with XLib, so I want to know if it is possible to use pure GTK+ API to achieve this? What about the performance comparing to use XLib directly? You can use gdk_draw_rgb_image() to paint an RGB array to the

Re: write a media player using gtk+

2007-11-30 Thread Kenneth Østby
Hi, On Nov 30, 2007 3:45 AM, Bin Chen [EMAIL PROTECTED] wrote: I want to write a media(video) player using gtk+, I take a look at several existing project, they all use XWindow API to display decoded image. Not that I am by any means any expert on media, but wouldn't gstreamer solve a lot

Re: GTK+ v2.12.2 build for Windows ?

2007-11-30 Thread Tor Lillqvist
I started noticing that my application now regularly crashes on exit when compiled in release mode (debug works fine). Does this happen only when you compile against the 2.12.2 headers, and run against 2.12.2 binaries? What about other combinations? Do you have a stack trace? (Well, you can't

Re: GTK+ v2.12.2 build for Windows ?

2007-11-30 Thread Miroslav Rajcic
I've installed the latest GTK+ version for Windows as was suggested (new gettext runtime), but I started noticing that my application now regularly crashes on exit when compiled in release mode (debug works fine). It was not the case with the previous GTK+ version v2.12.1. Does anyone has the

write a media player using gtk+

2007-11-30 Thread Bin Chen
Hi, I want to write a media(video) player using gtk+, I take a look at several existing project, they all use XWindow API to display decoded image, but I am not familiar with XLib, so I want to know if it is possible to use pure GTK+ API to achieve this? What about the performance comparing to

Re: write a media player using gtk+

2007-11-30 Thread Bin Chen
On 11/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Nov 30, 2007 2:45 AM, Bin Chen [EMAIL PROTECTED] wrote: image, but I am not familiar with XLib, so I want to know if it is possible to use pure GTK+ API to achieve this? What about the performance comparing to use XLib directly?

Re: GTK+ v2.12.2 build for Windows ?

2007-11-30 Thread Miroslav Rajcic
To correct the previous statement, even debug build crashes when started outside of the VS2005 IDE. When started from the IDE it seems to run OK. Does this happen only when you compile against the 2.12.2 headers, and run against 2.12.2 binaries? Yes. Compiles without problems, but crashes on

Fwd: localization of shortcuts (ctrl+*)

2007-11-30 Thread Evgeniy Ivanov
Hi! I have written such thing to gtk-18n-list. But nobody answered. I understood that the question is a bit differ. -- Forwarded message -- From: Evgeniy Ivanov [EMAIL PROTECTED] Date: 25.11.2007 0:43 Subject: localization of shortcuts (ctrl+*) To: [EMAIL PROTECTED] Hi, folks!