Re: Saving RGB or Grayscale images from GdkPixBuf

2005-06-20 Thread abhi rocks
hi Well i dont think there is support for greyscale images though RGB is definitely there. Regarding saving the pixbuf. Just use gdk_pixbuf_save() The type refers to jpeg, tiff etc. Its pretty fast and i dont think saving the pixbuf to a file is time consuming. --- Michal Porzuczek [EMAIL

GtkDialog responses

2005-06-13 Thread abhi rocks
hi When i click on a button in the action area i am a getting a particular response. I need to change the response for the same button during run time. Could someone suggest to me how to do this. Thanks Abhishek Samuel

GnomeDateEdit

2005-05-30 Thread abhi rocks
hi Could someone please tell me how to access the GtkEntry field in the GnomeDateEdit widget. Or it would be cooler if someone could tell me how to extract the date and time from time_t data type. Thanks Abhishek Samuel

GdkPixmap

2005-05-19 Thread abhi rocks
hi I have a pixbuf image from which i derive a GdkPixmap say pix. for(i=0;i5;i++) { GdkPixmap *temp_pixmap = g_object_ref(G_OBJECT(pix)); gdk_draw_rectangle(...); ... ... g_object_unref(G_OBJECT(temp_pixmap)); } As the pixmaps form the images are always updated rather than the original pix.

printing problem

2005-05-12 Thread abhi rocks
hi I was wanting to divide my page in two columns. One column with images and the other with text. Could someone give me an idea of how to do this. I have been trying libgnomeprint library. Printing a char * in multiline and restricted to a certain column of the page is my main problem. Any

gtk themes

2005-05-11 Thread abhi rocks
hi Well i couldnt change my gtk theme using the .gtkrc file in my home directory. Is there anyway i can change the theme using code. I know my gtk themes are in /usr/share/themes. Is there any function which could implement a theme on runtime. Thank You Abhishek Samuel

gtkrc

2005-05-10 Thread abhi rocks
hi, Could someone please help me out in telling me how to change my application looks. Thank You Abhishek Samuel ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos

Re: Gnome_print problem

2005-05-09 Thread abhi rocks
hi, The printing problem is occuring because you have more than 1 libgnomeprint/ui folders in your include path. Do a search and make sure your application picks up the correct folder. Abhishek Samuel --- harshavardhanreddy mandeepala [EMAIL PROTECTED] wrote: hi, we are trying for gnome

Re: problem in saving a pixmap to file

2005-05-06 Thread abhi rocks
hi Could you be a little more specific. It would be helpfull if you could send a snippet of your code. Thank You Abhishek Samuel --- harshavardhanreddy mandeepala [EMAIL PROTECTED] wrote: hi, i used the gdk_pixbuf_save() function to store a pixbuf to file.before that i converted pixmap to

gtk 2.6.7

2005-04-28 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

X server problem

2005-04-28 Thread abhi rocks
hi all, I just installed the latest gtk version and after rebooting my system i dont get my usual login screen, but a message saying that X server is already running on display : 0. So i have to press Ctrl Alt F1 to go to text mode and then when i log in and type startx the screen goes blank. I

Re: compiling problem

2005-04-27 Thread abhi rocks
/libgnomeprint/2.10.3 Enable gtk-doc: Yes Now would do i do about the Cups module and is the PAPI module required. Thank You Abhishek Samuel --- Afonso Costa [EMAIL PROTECTED] wrote: Hi, You must install libgnomeprint in your system. BR, Afonso On 4/27/05, abhi rocks [EMAIL

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.

Re: compiling problem

2005-04-27 Thread abhi rocks
? Let me know if it works well. BR, Afonso On 4/27/05, abhi rocks [EMAIL PROTECTED] wrote: 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