Re: How to search through all entries in a column in GtkList



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]