Gtk application in hindi

2007-12-25 Thread Naveen Kumar
Hi all, I am planning to build an application with Hindi(local language) text for all widgets. Please guide me what is the better way to proceed for the above. Regards, Naveen ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mai

Re: How to use GList Double Link List

2007-12-25 Thread Matí­as Alejandro Torres
sumit kumar escribió: > *gint pos; > g_print("Enter Number1\n"); > scanf("%d",&pos); > list = g_list_append(list, (gpointer)&pos); > > g_print("Enter Number2\n"); > scanf("%d",&pos); > list = g_list_append(list, (gpointer)&pos); > > g_print("Enter Number3\n"); > scanf("%d",&pos); > list = g_list_ap

Re: How to use GList Double Link List

2007-12-25 Thread Jim George
On Dec 25, 2007 9:50 PM, sumit kumar <[EMAIL PROTECTED]> wrote: > Hi All, > I am trying to use GLib double link list in my application.But I have a > problem. I run the GList sample program from Gtk+-2.0 FAQ:- > *snip* > > *gint pos; > g_print("Enter Number1\n"); > scanf("%d",&pos); > list = g_list

How to use GList Double Link List

2007-12-25 Thread sumit kumar
Hi All, I am trying to use GLib double link list in my application.But I have a problem. I run the GList sample program from Gtk+-2.0 FAQ:- *GList *list = NULL; GList *listrunner; gint array[] = { 1, 2, 3, 4, 5, 6 }; gint pos; gint *value; /* add data to the list */ for (pos=0;pos < 6; pos++) { p

Re: gtk.image

2007-12-25 Thread Gian Mario Tagliaretti
On Dec 25, 2007 7:03 PM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > Your problem is that get_image() does _not_ return the filename, but the > gdk pixbuf for the image - as described in the pygtk reference. So if > you want to get the filename, you have to use another function. Tomas, kicking as

Re: gtk.image

2007-12-25 Thread Tomas Carnecky
brad smith wrote: > ok, thanks:) Any ideas on that? > Happy Holidays So you did not RTFM, eh? I suggest to look there from time to time, it really helps. Sorry, no, I have no idea. But after roughly reading the gtk.Image class reference, I don't see any way of extracting the filename, because i

Re: gtk.image

2007-12-25 Thread brad smith
ok, thanks:) Any ideas on that? Happy Holidays On Dec 25, 2007 1:03 PM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > brad smith wrote: > > thanks for the reply, I tried everything I can think of, but still get > > the error. > > Your problem is that get_image() does _not_ return the filename, but t

Re: gtk.image

2007-12-25 Thread Tomas Carnecky
brad smith wrote: > thanks for the reply, I tried everything I can think of, but still get > the error. Your problem is that get_image() does _not_ return the filename, but the gdk pixbuf for the image - as described in the pygtk reference. So if you want to get the filename, you have to use ano

Re: gtk.image

2007-12-25 Thread brad smith
thanks for the reply, I tried everything I can think of, but still get the error. On Dec 25, 2007 11:33 AM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > brad smith wrote: > > Hello everyone, > > > > I am using gtk.Image() and filling it with set_from_file with a random > > I assume you're using the

Re: gtk.image

2007-12-25 Thread brad smith
yes, I am using pygtk On Dec 25, 2007 11:33 AM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > brad smith wrote: > > Hello everyone, > > > > I am using gtk.Image() and filling it with set_from_file with a random > > I assume you're using the python bindings.. > > > image in a directory. I am trying t

Re: gtk.image

2007-12-25 Thread Tomas Carnecky
brad smith wrote: > Hello everyone, > > I am using gtk.Image() and filling it with set_from_file with a random I assume you're using the python bindings.. > image in a directory. I am trying to use gtk.get_image() to get the > name of the image currently being displayed but I get: > gImage = sel