GObject - problem, as usual

2006-08-01 Thread Tomasz Jankowski
Hi! I'm writing some application based on GObject and I have problem when I'm trying to destroy object. I have two object A and B, A derives from GObject and B derives from A. I declared my own finalize methods for both objects, but when I'm destroying B object only B finalize function is

Re: GObject - problem, as usual

2006-08-01 Thread Lance Dillon
If I understand the problem correctly, you need to call the ancestor method's manually (regardless of whether it is a finalize methoed or anything else). There is s section on it in the gobject documentation: http://developer.gnome.org/doc/API/2.0/gobject/howto-gobject-chainup.html -

Key-value file parser, howto get all groups and create loop from them

2006-08-01 Thread rupert
Im playing arroung with the Gkeyfile functions and now try to get all groups from the keyfile and create a for loop that than shows me the different values, packed into strings, including the group name i have something like this in mind: crpyto_get_keyfile(){ GtkWidget *crypto_keys,

Re: Key-value file parser, howto get all groups and create loop from them

2006-08-01 Thread Christian Neumair
Am Dienstag, den 01.08.2006, 12:52 +0200 schrieb rupert: Im playing arroung with the Gkeyfile functions and now try to get all groups from the keyfile and create a for loop that than shows me the different values, packed into strings, including the group name i have something like this in

Re: Key-value file parser, howto get all groups and create loop from them

2006-08-01 Thread rupert
On 8/1/06, Christian Neumair [EMAIL PROTECTED] wrote: Am Dienstag, den 01.08.2006, 12:52 +0200 schrieb rupert: Im playing arroung with the Gkeyfile functions and now try to get all groups from the keyfile and create a for loop that than shows me the different values, packed into strings,

Re: Key-value file parser, howto get all groups and create loop from them

2006-08-01 Thread Christian Neumair
Am Dienstag, den 01.08.2006, 19:12 +0200 schrieb rupert: after some more playing arround i got the things good working, the reference helps often, i have away from programming some time and never been to deep in, so sometimes i do things wrong that other wouldnt. Im so far with my code

Re: Key-value file parser, howto get all groups and create loop from them

2006-08-01 Thread Christian Neumair
Am Dienstag, den 01.08.2006, 19:12 +0200 schrieb rupert: Im so far with my code that i want to create a table where each group gets a row that has labels, buttons and textentries. right now im using a GtkTable where i create the Widgets in the for loop that gets the content from the keyfile,

Re: Key-value file parser, howto get all groups and create loop from them

2006-08-01 Thread rupert
On 8/1/06, Christian Neumair [EMAIL PROTECTED] wrote: Am Dienstag, den 01.08.2006, 19:12 +0200 schrieb rupert: Im so far with my code that i want to create a table where each group gets a row that has labels, buttons and textentries. right now im using a GtkTable where i create the Widgets

Re: Key-value file parser, howto get all groups and create loop from them

2006-08-01 Thread Yeti
On Tue, Aug 01, 2006 at 07:57:18PM +0200, rupert wrote: this is the part with the for loop , i had the idea of using a +i in the gtk_table_attach_defaults comamnd for the placement, right now the for only has one iteration, with more it crashes.. The code is not selfcontained. Unless the

A kind of progress bar ?

2006-08-01 Thread Olivier Ramare
Dear all, Here is the widget I need, with some context: -- I have n (say 5000) given positions to evaluate. Each evaluation takes about a 1/10 of a second and results in a diagnosis : I(mpossible) or O(ptimal)

Trouble adding a lot of rows

2006-08-01 Thread raul o
Hello: Well, I have a trouble when I add a lot of rows (+700)in a list. I know that the problem are in the sort function that I defined using set_sort_function. In GTK+ 2.0 Tree View Tutorial I found the next: Secondly, you should make sure that sorting is disabled while you are doing your mass

Problem with GTK for Windows

2006-08-01 Thread Guenther Sohler
Dear Group, I am very happy beeing able to use GTK for Windows to successfully port My Linux Application to Windows! ITs almost Perfect. There is just a small Problem remaing, but I dont get it solved. In My Application I use following construct:

Re: Trouble adding a lot of rows

2006-08-01 Thread Van H Tran
Hi, Have you tried setting the sort func to NULL before inserting the rows? That should basically disable the sorting Cheers, TranVan Hoang --- raul o [EMAIL PROTECTED] wrote: Hello: Well, I have a trouble when I add a lot of rows (+700)in a list. I know that the problem are in the sort