Re: g_str_is_ascii()

2005-05-20 Thread David Necas (Yeti)
On Thu, May 19, 2005 at 06:18:44PM -0400, Claudio Saavedra wrote: I need to write a function to reject strings that are utf-8, i.e. accept only convencional ascii strings. I was wondering if there is any other way more nice than making a gboolean str_is_ascii (const gchar *str) {

lock focus

2005-05-20 Thread y g
hi, i have a confirmation dialog that needs to stay on focus and on top with all the other windows deactivated. Browsed the documentation of the api reference for widget and window but none of the functions rings a bell... as the interface is created with glade there is no parent window to the

GTK, Pango Fonts

2005-05-20 Thread Brian Hanley
Hi all, I am trying to figure out how to make proper use of fonts with GTK, and am not find a whole lot of answers out there. Here are some of my questions: 1. Is there a Pango FAQ, or GTK fonts FAQ? Specifically, is there a document describing how Pango is built on top of, and works

Re: lock focus

2005-05-20 Thread Muthiah Annamalai
I think youre talking about a modal dialog box. You must set the GTK_DIALOG_MODAL flag on. Thats it, while creating a dialog box, with the dialog_new_with_buttons() pass this flag also. Must work. CODE #includegtk/gtk.h void my_exit_cb(GtkWidget *w) { GtkWidget *m;