Hello Tristan ==> Re: Gtk Focus chain

2007-03-13 Thread Varun Singla
Hi Tristan; Thanks for your reply. I want to explain the problem raised by Madhusudan. For example, if I want to pack 5 widgets (4 buttons and 1 textentry) in 2 different ways ___ |___1__| | | texte

A Reminder : A Study on Free/Open Sourec Software

2007-03-13 Thread Anu Gupta DCSA
Dear GTK Contributors, I seek help from designers, developers, testers,defect fixers,project managers or playing any other key role in Free/Open Source software development or maintenence in carrying out a study on practices and problems of defect management in various Free/Open Source Softwar

debugging Gtk-WARNING **: Invalid input string

2007-03-13 Thread Dan McMahill
Hello, I'm trying to track down the source of the warning in the subject line. So I ran my program in the debugger and used the --g-fatal-warnings command line argument to my program. Running gives: Gtk-WARNING **: Invalid input string aborting... Program received signal SIGABRT, Aborted. 0x

What does GIMP do? rectangular selection box implementation question

2007-03-13 Thread v4r4n
I'm trying to make my own 'rectangular selection box' for a plot/graphing application. It is suggested that we always use GDK_POINTER_MOTION_HINT_MASK in the tutorial (http://www.gtk.org/tutorial/x2433.html) and call gdk_window_get_pointer() to explicitly ask for the position of the pointer. Does

Re: GTK+ 2.10.10 released

2007-03-13 Thread Sergei Steshenko
--- Matthias Clasen <[EMAIL PROTECTED]> wrote: ... > Overview of Changes from GTK+ 2.10.9 to 2.10.10 > === > > * Bugs fixed: ... > 399907 Memory leak in gtk_page_setup dialog > 402565 [PATCH]GtkPrintBackendFile leaks string ... > 403139

Re: [gtk-i18n-list] Determine the best encoding/script for a given text

2007-03-13 Thread mpsuzuki
Hi, Although there are some characters that is used in PRC only, or Taiwan only etc, to determine Traditional/ Simplified Chinese or Vietnamese, taking single codepoint is not enough. Usually a string with finite length should be used, but, still it is not definitive. I suppose, glib designer does

All GTK-Apps crash with signal 11 (using DirectFB)

2007-03-13 Thread mtw
Hi! I have installed GTK+ Version 2.10.10 with gdktarget=directfb. Every Application crashes with signal 11, I tried the gtk-demo and even the simple "Hello World"-Tutorial-Example. By commenting out some calls, I found out that the Hello-World crashes when reaching the statement "gtk_widget_show

Re: is there a g_option_print_usage() command?

2007-03-13 Thread Samuel Cormier-Iijima
I remember there was a bug for this somewhere, but I can't seem to find it in bugzilla anymore. If I recall correctly, there's no easy way to do this now, but I think the next release might have something. Try searching bugzilla... Samuel On 3/13/07, Rick Jones <[EMAIL PROTECTED]> wrote: > James >

Re: text entry validation

2007-03-13 Thread Matí­as Alejandro Torres
void on_bt_validate_clicked (GtkButton *button,* gpointer user_data*) { *GtkWidget *entry;* [.] } there is no error but nothing is displayed and the application is closed...please help thanks Well, the code i sent you to my surprise, di

Overlapping widgets with Notebook

2007-03-13 Thread Hylke Donker
Hi, I am resending this e-mail because i'm not sure my previous e-mail got it to the list, because I was not yet subscribed to the list, and I did not receive any replies. Here's my previous e-mail: Hello, I'm having some problems with an EventBox widget. In my application, I have a Notebook widget

Re: text entry validation

2007-03-13 Thread lucks
hi..thanks for the code...but i think something is missing and it does not work...here is what i`ve used: void on_bt_validate_clicked (GtkButton *button, gpointer user_data) { GtkWidget *entry;

Re: is there a g_option_print_usage() command?

2007-03-13 Thread Rick Jones
James Thanks for the example. I think it shows I wasn't clear in my initial message because if I run the example (I stripped-out the libnotify stuff as it wasn't on my system): [EMAIL PROTECTED]:~/netperf4_gobject$ /tmp/example --help Usage: example [OPTION...] - APCUPSD Commandline Notifi

Printing a GtkImage

2007-03-13 Thread David Hampton
Is there an easy way to print a generic GtkImage to a cairo context? I currently have code that in essence does the following: image = GTK_IMAGE(gtk_image_new_from_file(data->filename)); pixbuf = gtk_image_get_pixbuf(image); cr = gtk_print_context_get_cairo_context(print_context);

Re: text entry validation

2007-03-13 Thread Matí­as Alejandro Torres
> void > on_bt_validate_clicked (GtkButton *button, > gpointer user_data) > { > > if (dont know how to check)..) > > { > > > } > else/***check if not correct then display dialog box*/ > > GtkWidget *dialog1;

text entry validation

2007-03-13 Thread lucks
hi...am new to gtk+ and want to validate a text entry when a button is clicked...that is if we put a number in a text box where we expect only alphabets and not number, we should have a dialog box displaying a message... well i know how to display the dialog box but i dont know how to display it

Determine the best encoding/script for a given text

2007-03-13 Thread Gaurav Jain
Hi, I need to find out the Script code for a given Unicode string. I found the API g_unichar_get_script() available in GLIB 2.10 which does this, but this doesn't seem to have support for Chinese script. For e.g., is it possible to find out if the given character falls under Traditional Chinese