gtk 2.6.7

2005-04-27 Thread abhi rocks
hi all, I just installed the latest gtk+ version. After installing it i have a problem. The highlighting colour of my menu bar and menu items when i click makes the font white in colour making it unable to read. This is for all applications. Could someone please tell me how to get the default blue

Small question about GtkTextBuffer

2005-04-27 Thread Pavel Syomin
Hi! Can anybody suggest me how can I restrict cursor movement on GtkTextBuffer? Now I connect to "key-press-event" signal and handle key codes, but user can change cursor position with mouse. Any ideas? Thanks. ___ gtk-app-devel-list mailing list gtk-a

Re: GtkListStore and Drag&Drop to Nautilus folder

2005-04-27 Thread Juergen Dankoweit
Hello again, thanks for very excellent support from this mailing list. Meanwhile I found out what to do. Because the list is not interested I won't tell how I did it. J. Am Donnerstag, den 21.04.2005, 23:05 +0200 schrieb Juergen Dankoweit: > Hello, > > currently I develop an application that li

Arabic line spacing problem

2005-04-27 Thread Boncek, John
I have an application with internationalized text display working well, mostly, using UTF-8 and gdk_draw_layout to draw text. However, I have a problem with the application in Arabic. Spaces between lines in multi-line Arabic text are coming out much larger vertically than in other scripts, causi

Re: compiling problem

2005-04-27 Thread abhi rocks
No i havent tried to install this. Im not sure whether i should or not. Will i have to install my printer drivers again in that case Thanks Abhishek Samuel --- Afonso Costa <[EMAIL PROTECTED]> wrote: > Hi, > > Did you already try to install libgnomecups before > you try to install > libgnomep

re:deactivate buttons

2005-04-27 Thread abhi rocks
hi This function controls the sensitivity of the widget. Hope it helps. gtk_widget_set_sensitive() http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#gtk-widget-set-sensitive Abhishek Samuel --- srinivas <[EMAIL PROTECTED]> wrote: > hi ; > > i need samples for deactivating buttons. i

Re: deactivate buttons

2005-04-27 Thread André Pedralho
If you want just to deactivate the buttons (you may click on this) you may use the g_signal_connect for connecting the signal for the button and the g_signal_handler_disconnect for deactivate this. e.g int sigHandler; button instance; /* you may use the button */ sigHandler= g_signal_connect(ins

Re: compiling problem

2005-04-27 Thread abhi rocks
hi Okay so i am installing libgnomeprint-2.10.3 . I ran the configure script and in the end it printed this : Compiler: gcc Compiler flags: -g -O2 PAPI module:no Cups module:Version requirement not satisfied Data dir: /usr/share/libgnome

Re: compiling problem

2005-04-27 Thread Afonso Costa
Hi, You must install libgnomeprint in your system. BR, Afonso On 4/27/05, abhi rocks <[EMAIL PROTECTED]> wrote: > hi > > Thanks for your reply. If this is the case are you > talking about libgnomeprint library and if you are, > how do i include this in my gtk application. > > The error is o

re:deactivate buttons

2005-04-27 Thread srinivas
hi ; i need samples for deactivating buttons. initially the buttons have to be deactivated, only when the activate button pressed the deactivated buttons have to activate. how can i can do this using gtk and c, i am not using any scripting. any samples available for this. thanks; vasu. ___

re:deactivate buttons

2005-04-27 Thread srinivas
hi ; i need samples for deactivating buttons. initially the buttons have to be deactivated, only when the activate button pressed the deactivated buttons have to activate. how can i can do this using gtk. any samples available for this. thanks; vasu.

Re: glib installation

2005-04-27 Thread Hubert Sokolowski
> hey > > Just wanted to say that i installed my glib2.6.4 using > > ./configure --prefix=/usr . So the pc file is > installed in the /usr/lib/pkgconfig folder. So am i to > still do what u have said. > > Another thing if i do move them then should i change > the prefix variable of the pc files fro

Re: glib installation

2005-04-27 Thread abhi rocks
hey Just wanted to say that i installed my glib2.6.4 using ./configure --prefix=/usr . So the pc file is installed in the /usr/lib/pkgconfig folder. So am i to still do what u have said. Another thing if i do move them then should i change the prefix variable of the pc files from /usr/local to /

Re: glib installation

2005-04-27 Thread Hubert Sokolowski
> hi > > Thanks for your reply. I did manage to change the > variable but the problem still exists. My pkgconfig > folder is in /usr/lib. > Even when i check by pkg-config --modversion tells me > that i have got the latest installed. did you remove the old version? how does the compiled program che

Re: glib installation

2005-04-27 Thread abhi rocks
hi Thanks for your reply. I did manage to change the variable but the problem still exists. My pkgconfig folder is in /usr/lib. Even when i check by pkg-config --modversion tells me that i have got the latest installed. Any clue Thank You Abhishek Samuel --- Hubert Sokolowski <[EMAIL PROTECTED

Re: compiling problem

2005-04-27 Thread abhi rocks
hi Thanks for your reply. If this is the case are you talking about libgnomeprint library and if you are, how do i include this in my gtk application. The error is occuring when i type make. Since no object file is created im guessing its a compile time error. Not too sure about that though. Tha

Re: incompatible pointer warning

2005-04-27 Thread Raj
This is my piece of code Mykeytxt=lookup_widget(VCTG,"keytxt"); gtk_entry_set_text(Mykeytxt, strkeyval); This gives me the warnings as callbacks.c:429: warning: passing arg 1 of `gtk_entry_get_text' from incompatible pointer type You must have declared Mykeytxt to be a pointer to GtkWidget. To r

Re: compiling problem

2005-04-27 Thread Padraig O'Briain
Is this error occuring at link time. It sounds like you are missing -l where is the library containing gnome_print_job_new. abhi rocks wrote: hi guys Could someone please help me with this problem. Its like this When i am compiling my gtk application it give me an error saying 'undefined referen

Re: compiling problem

2005-04-27 Thread Viraj Chatterjee
You need the gnome-print library, which isn't a part of the GTK+ distribution. -vc - Original Message - From: "abhi rocks" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 27, 2005 3:15 PM Subject: compiling problem hi guys Could someone please help me with this problem. Its like this W

compiling problem

2005-04-27 Thread abhi rocks
hi guys Could someone please help me with this problem. Its like this When i am compiling my gtk application it give me an error saying 'undefined reference to gnome_print_job_new' even though i have included the gnome-print-job.h header file. Please help Thank You Abhishek Samuel Send instant

incompatible pointer warning

2005-04-27 Thread poonam chokshi
hello,, This is my piece of code Mykeytxt=lookup_widget(VCTG,"keytxt"); gtk_entry_set_text(Mykeytxt, strkeyval); This gives me the warnings as callbacks.c:429: warning: passing arg 1 of `gtk_entry_get_text' from incompatible pointer type callbacks.c:429: warning: assignment discards qualifier