Hi, I want some help from the group. I am just creating a sample calculator that will have button with Indian language numbers on it. That everything on the calculator will be in indian languageHindi). I am able to create calculator using gtk library in english. But I am facing problem how to render Hindi text/number over the button. I have hindi OT fonts installed on my machine. I am using Red hat as well as fedora core 3. Can anybody help me out? Sample code for displaying hindi text will help me a lot. Thanks in advance. lalit
On 10/18/05, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Send gtk-app-devel-list mailing list submissions to > gtk-app-devel-list@gnome.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gtk-app-devel-list digest..." > > > Today's Topics: > > 1. stop on Gtk-WARNING (Boncek, John) > 2. RE: stop on Gtk-WARNING (Boncek, John) > 3. Re: Gtk && Xara (Michael Torrie) > 4. Re: stop on Gtk-WARNING (Tim Flechtner) > 5. Re: stop on Gtk-WARNING (John Cupitt) > 6. RE: stop on Gtk-WARNING (Boncek, John) > 7. Re: Gtk && Xara (John Cupitt) > 8. data acqusition, display and control (Premsagar C) > 9. Re: Gtk && Xara (Tomaz Canabrava) > 10. Re: data acqusition, display and control (Tristan Van Berkom) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 17 Oct 2005 11:32:54 -0500 > From: "Boncek, John" <[EMAIL PROTECTED]> > Subject: stop on Gtk-WARNING > To: <gtk-app-devel-list@gnome.org> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="UTF-8" > > When a GTK app gets Gtk-WARNINGs without actually stopping, it can be hard > to determine exactly where they're coming from. Is there a way to tell > GTK to stop immediately on such a warning? This would allow using a > debugger to localize the first warning much more easily. > > ------------------------------ > > Message: 2 > Date: Mon, 17 Oct 2005 11:36:04 -0500 > From: "Boncek, John" <[EMAIL PROTECTED]> > Subject: RE: stop on Gtk-WARNING > To: <gtk-app-devel-list@gnome.org> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="UTF-8" > > The same for GLib-GObject-WARNINGs and other similar ones. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Boncek, John > Sent: Monday, October 17, 2005 11:33 AM > To: gtk-app-devel-list@gnome.org > Subject: stop on Gtk-WARNING > > When a GTK app gets Gtk-WARNINGs without actually stopping, it can be hard > to determine exactly where they're coming from. Is there a way to tell > GTK to stop immediately on such a warning? This would allow using a > debugger to localize the first warning much more easily. > > ------------------------------ > > Message: 3 > Date: Mon, 17 Oct 2005 10:38:07 -0600 > From: Michael Torrie <[EMAIL PROTECTED]> > Subject: Re: Gtk && Xara > To: gtk-app-devel-list@gnome.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > On Mon, 2005-10-17 at 13:59 -0700, Colossus wrote: > > Tomaz Canabrava wrote: > > > Since the Cairo rendering engine is *SLOW* and the Xara Extreme is > being > > > ported to linux, with the full API, > > > i think that´s a good idia to port the Gtk engine to use Xara´s System > since > > > > Who told you Cairo is slow in comparison to Xara Extreme ? > > Xara Extreme is not GPL so no port is possible. > > I don't know anything about Xara Extreme, but they are indeed planning > to license it under the GPL: > > http://www.xaraxtreme.org/news/11-10-05.html > > I'm sure that Cairo will benefit from some of their algorithms and ideas > for sure. Perhaps Xara would even be best ported to run on top of > Cairo, since it is illustration software. > > > > -- > Michael Torrie <[EMAIL PROTECTED]> > > > > ------------------------------ > > Message: 4 > Date: Mon, 17 Oct 2005 11:44:11 -0500 > From: Tim Flechtner <[EMAIL PROTECTED]> > Subject: Re: stop on Gtk-WARNING > To: "Boncek, John" <[EMAIL PROTECTED]> > Cc: gtk-app-devel-list@gnome.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > there is an argument you can pass in to the application at invocation > that does this. i think it is --g-fatal-warnings (eg ./foo > --g-fatal-warnings). > > -tim > > ** > <http://mail.gnome.org/archives/gtk-devel-list/1998-August/msg00088.html > >Boncek, > John wrote: > <http://mail.gnome.org/archives/gtk-devel-list/1998-August/msg00088.html> > > >The same for GLib-GObject-WARNINGs and other similar ones. > > > >-----Original Message----- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] On Behalf Of Boncek, John > >Sent: Monday, October 17, 2005 11:33 AM > >To: gtk-app-devel-list@gnome.org > >Subject: stop on Gtk-WARNING > > > >When a GTK app gets Gtk-WARNINGs without actually stopping, it can be > hard > >to determine exactly where they're coming from. Is there a way to tell > >GTK to stop immediately on such a warning? This would allow using a > >debugger to localize the first warning much more easily. > > > > > >------------------------------------------------------------------------ > > > >_______________________________________________ > >gtk-app-devel-list mailing list > >gtk-app-devel-list@gnome.org > >http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > > > > > ------------------------------ > > Message: 5 > Date: Mon, 17 Oct 2005 17:53:30 +0100 > From: John Cupitt <[EMAIL PROTECTED]> > Subject: Re: stop on Gtk-WARNING > To: "Boncek, John" <[EMAIL PROTECTED]> > Cc: gtk-app-devel-list@gnome.org > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > On 10/17/05, Boncek, John <[EMAIL PROTECTED]> wrote: > > When a GTK app gets Gtk-WARNINGs without actually stopping, it can be > hard > > to determine exactly where they're coming from. Is there a way to tell > > GTK to stop immediately on such a warning? This would allow using a > > debugger to localize the first warning much more easily. > > I have something like this near the start of my main(): > > #ifdef DEBUG > g_log_set_always_fatal( > G_LOG_FLAG_RECURSION | > G_LOG_FLAG_FATAL | > G_LOG_LEVEL_ERROR | > G_LOG_LEVEL_CRITICAL | > G_LOG_LEVEL_WARNING ); > #endif /*DEBUG*/ > > Alternatively, you can pass --g-fatal-warnings as a command-line > argument to any gtk program. > > Either technique will cause your program to abort() on the first > warning, so you can get a stack trace if you run in a debugger. > > See > > http://developer.gnome.org/doc/API/2.0/glib/glib-Message-Logging.html > > J > > > ------------------------------ > > Message: 6 > Date: Mon, 17 Oct 2005 12:03:40 -0500 > From: "Boncek, John" <[EMAIL PROTECTED]> > Subject: RE: stop on Gtk-WARNING > To: <gtk-app-devel-list@gnome.org> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="UTF-8" > > Thanks to those who answered. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Boncek, John > Sent: Monday, October 17, 2005 11:36 AM > To: gtk-app-devel-list@gnome.org > Subject: RE: stop on Gtk-WARNING > > The same for GLib-GObject-WARNINGs and other similar ones. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Boncek, John > Sent: Monday, October 17, 2005 11:33 AM > To: gtk-app-devel-list@gnome.org > Subject: stop on Gtk-WARNING > > When a GTK app gets Gtk-WARNINGs without actually stopping, it can be hard > to determine exactly where they're coming from. Is there a way to tell > GTK to stop immediately on such a warning? This would allow using a > debugger to localize the first warning much more easily. > > ------------------------------ > > Message: 7 > Date: Mon, 17 Oct 2005 18:07:57 +0100 > From: John Cupitt <[EMAIL PROTECTED]> > Subject: Re: Gtk && Xara > Cc: gtk-app-devel-list@gnome.org > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > On 10/17/05, Michael Torrie <[EMAIL PROTECTED]> wrote: > > On Mon, 2005-10-17 at 13:59 -0700, Colossus wrote: > > > Tomaz Canabrava wrote: > > > > Since the Cairo rendering engine is *SLOW* and the Xara Extreme is > being > > > > ported to linux, with the full API, > > > > i think that´s a good idia to port the Gtk engine to use Xara´s > System since > > > > > > Who told you Cairo is slow in comparison to Xara Extreme ? > > > Xara Extreme is not GPL so no port is possible. > > > > I don't know anything about Xara Extreme, but they are indeed planning > > to license it under the GPL: > > > > http://www.xaraxtreme.org/news/11-10-05.html > > > > I'm sure that Cairo will benefit from some of their algorithms and ideas > > for sure. Perhaps Xara would even be best ported to run on top of > > Cairo, since it is illustration software. > > That's interesting. They have some simple speed charts here: > > http://www.xaraxtreme.org/about/ > > which seems to show xara's software renderer is 5 - 10x faster than > cairo's. Though it's not clear what cairo backend or platform they did > the timings on. I guess windows? > > > ------------------------------ > > Message: 8 > Date: Mon, 17 Oct 2005 15:06:34 -0400 > From: Premsagar C <[EMAIL PROTECTED]> > Subject: data acqusition, display and control > To: gtk-app-devel-list@gnome.org > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > I am using gtk to develop a control interface. Am a bit new to this. > BAsically I am acquiring data using some library functions and > dispalying them in 6 text boxes . When i click on the bacq function > this acquistion starts. > > > > gtk_signal_connect(GTK_OBJECT(bacq),"clicked",GTK_SIGNAL_FUNC(button_funcacq),NULL); > > My problem is that when this happend the dispaly window goes blank and > am unable to control it. I need to be able to access another button > when this acqusition is occuring and it id part of the same window. > How do I do that ? Is there some other signal event I can use. > > Thanks > Prem > > > ------------------------------ > > Message: 9 > Date: Mon, 17 Oct 2005 17:15:40 -0200 > From: Tomaz Canabrava <[EMAIL PROTECTED]> > Subject: Re: Gtk && Xara > To: gtk-app-devel-list@gnome.org > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > > > > >That's interesting. They have some simple speed charts here: > > >http://www.xaraxtreme.org/about/ > > >which seems to show xara's software renderer is 5 - 10x faster than > > cairo's. Though it's not clear what cairo backend or platform they did > the > > timings on. I guess windows? > > > > I guess not, since they already have a linux port for it, (there are > some > > screenshoots on www.xaraextreme.org <http://www.xaraextreme.org> < > http://www.xaraextreme.org> showing > > the wxwidgets version of the xara 4 linux) > > > > -- > > Um Computador sem Windows é como um Navio sem dançarinas de Can-Can > > > ------------------------------ > > Message: 10 > Date: Mon, 17 Oct 2005 16:57:37 -0400 > From: Tristan Van Berkom <[EMAIL PROTECTED]> > Subject: Re: data acqusition, display and control > To: Premsagar C <[EMAIL PROTECTED]> > Cc: gtk-app-devel-list@gnome.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Premsagar C wrote: > > I am using gtk to develop a control interface. Am a bit new to this. > > BAsically I am acquiring data using some library functions and > > dispalying them in 6 text boxes . When i click on the bacq function > > this acquistion starts. > > > > > > > gtk_signal_connect(GTK_OBJECT(bacq),"clicked",GTK_SIGNAL_FUNC(button_funcacq),NULL); > > > > My problem is that when this happend the dispaly window goes blank and > > am unable to control it. I need to be able to access another button > > when this acqusition is occuring and it id part of the same window. > > How do I do that ? Is there some other signal event I can use. > > If I'm reading you right; your button_funcacq() function is doing a > lengthly calculation or some lengthly data acquisition operations and > while this function is running; your UI is unresponsive... dont panic, > this is normal :) > > What you need to do is one of the following: > o Split your data acquisition operation into small itterations > (example: limit your sql queries to 100 rows per result set) > and run these itterations in an idle or timeout handler. > > o If you are stuck with some proprietary API that allows > you only to call one funtion for an entire operation > thats going to take a half an hour to execute, you'll > have to use a "worker thread" to aquire the data silently > in the background and notify the primary thread after > the lengthly offending culprit function finally returns > (probably using an idle handler for notification, or these > days you can probably use a GChildWatchSource). > > I recommend you read the juicy parts of this page: > http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-Loop.html > > Cheers, > -Tristan > > > ------------------------------ > > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > End of gtk-app-devel-list Digest, Vol 18, Issue 31 > ************************************************** > -- Bye, Lalit Kumar Project Engineer GIST R & D, C-DAC Pune M- 9881209069 _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list