Re: How to search through all entries in a column in GtkList
- From: Vinod Joseph <diana vinod gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to search through all entries in a column in GtkList
- Date: Tue, 25 Jan 2005 17:18:31 +0900
Sorry for the confusion
for ( i = 0; i <= my_list_store->len - 1 ; i++ )
{
and without break; works fine...
}
It does not segfault on bash shell...I was using Anjuta and it used to
seg fault...
I think there is some error in my program.. i just free the entry_text
here......
It dosent make sense to free GtkList here....
Anyways.....the major problem for design is with browsing password
entries stored as "ASTERISK" in GtkList..
The problem is with password entry stored as *********
If you could guide me for a good solution to this...i am using another
array with actual password and comparing with that....that too seg
faults on anjuta..
anyways....if u could help me..i would be grateful to you
Thanks
Vinod
On Tue, 25 Jan 2005 16:50:14 +0900, Vinod Joseph <diana vinod gmail com> wrote:
Hello
Sorry...in case i was not clear....
I do the following in my code...
for ( i = 0; i <= my_list_store->len ; i++ )
{
g_print("\n User ID Values = %s \n", g_array_index
(my_list_store, User, i).userid);
}
This code searches through all entries and prints...correctly
However when i do memcmp a gtk_entry retrieved value with the list array....
i sometimes get error_message_box for correct entries....
Sorry for not able to be very clear....
But, I hope you understand my problem
Thank you very much
Vinod
---------- Forwarded message ----------
From: Vinod Joseph <diana vinod gmail com>
Date: Tue, 25 Jan 2005 16:04:55 +0900
Subject: How to search through all entries in a column in GtkList
To: gtk-app-devel-list gnome org
Dear All
I have a GtkEntry
I read the keyed value inside the GtkEntry.
I compare this value with all the values of a particular column in my GtkList.
How do i write this code....
Currently....
I am comparing entry_text code using memcmp with g_array_sized_new(
Articles, User, i).column_one
and taking action based on the returned value...
However...this does not work as efficiently .....
Please help me
Vinod
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]