Re: Gtk application in hindi

2007-12-26 Thread Eduardo M KALINOWSKI
Naveen Kumar wrote: 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. If it'll be only in Hindi, then program normally, but with all GUI labels, messages, etc. written directly

Re: Gtk application in hindi

2007-12-26 Thread Behdad Esfahbod
On Wed, 2007-12-26 at 08:30 -0200, Eduardo M KALINOWSKI wrote: Naveen Kumar wrote: 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. If it'll be only in Hindi, then

problems with gtk pointers

2007-12-26 Thread z . pekar
Hi, I have strange problem with gtk+. I create 3 boxes with a label and an image for 3 buttons(and save their pointers in a Gui class to retrieve later if needed) absolutely equally but only the first one (Start button) is really displayed the rest 2 are not, I have checked their pointers and

Re: gdk-pixbuf-csource crash on windows.

2007-12-26 Thread Tor Lillqvist
gdk-pixbuf-csource.exe crashes on windows, In what way does it crash? Do you get any error message? My png library version is 1.2.20 meaning what, exactly? Where did you download the binary from? What is the name of the DLL it contains? and gdk-pixbuf-csource is looking for libpng13.dll.

problems with gtk pointers

2007-12-26 Thread z . pekar
Hi, I have strange problem with gtk+. I create 3 boxes with a label and an image for 3 buttons(and save their pointers in a Gui class to retrieve later if needed) absolutely equally but only the first one (Start button) is really displayed the rest 2 are not, I have checked their pointers and

RE: problems with gtk pointers

2007-12-26 Thread Vallone, Anthony
I have checked their pointers and they are 0 in the third file (where the boxes are attached to the buttons, but in the second where the boxes are created(in constructor) the boxes' pointers are correct) Outside of your Gui constructor, none of the provided code actually changes the values of

g_signal_connect -- button-press-event vs pressed

2007-12-26 Thread Charles Packer
If I code a button widget like this (I'm using the version of GTK that came with Fedora Core 5)... GtkWidget *B = gtk_button_new_with_label (Label); g_signal_connect (GTK_OBJECT (B), button-press-event, G_CALLBACK (Happened), HELLO); and the callback is this...

Re: g_signal_connect -- button-press-event vs pressed

2007-12-26 Thread Micah Carrick
Start with the API documentation for a GtkButton: http://library.gnome.org/devel/gtk/stable/GtkButton.html Scroll down to Signals to see each signal you can connect a callback to for a GtkButton as well as the prototype for writing such a callback function. That is where pressed is coming

Re: g_signal_connect -- button-press-event vs pressed

2007-12-26 Thread Gian Mario Tagliaretti
On Dec 26, 2007 10:23 PM, Micah Carrick [EMAIL PROTECTED] wrote: So as you can see, the pressed signal from GtkButton is what you want to connect to for a user clicking a button. If you want to capture the mouse clicking on a widget... any widget... you use button-press-event. Just a little

Re: g_signal_connect -- button-press-event vs pressed

2007-12-26 Thread Emmanuele Bassi
On Wed, 2007-12-26 at 15:56 -0500, Charles Packer wrote: If I code a button widget like this (I'm using the version of GTK that came with Fedora Core 5)... GtkWidget *B = gtk_button_new_with_label (Label); g_signal_connect (GTK_OBJECT (B), button-press-event,

Re: g_signal_connect -- button-press-event vs pressed

2007-12-26 Thread Micah Carrick
One other thing I didn't clarify... The reason when you connect to button-press-event nothing happens, that's because the function prototype (as described in the API docs for GtkWidget) is different. It has 3 parameters: (GtkWidget *widget, GdkEventButton *event, gpointer user_data) Where

Re: GtkImageView

2007-12-26 Thread Jeffrey Ratcliffe
On 25/12/2007, muppet [EMAIL PROTECTED] wrote: Hint: Glib::MakeHelper::postamble_docs(). I usually use Gnome2::Canvas as my template for these things, as it is a very simple module that builds atop Gtk2, but most of the modules in the gtk2-perl- xs cvs tree should do nicely. Very cool.