How to get the image in drawing area as a BMP file ?

2006-05-05 Thread sadhees kumar
Hi All, For my application i need to get the picture drawn in the drawing area widget as a file.I have written the following code , but it doesnt work .. (i.e) the function - gdk_pixbuf_save() . i can get as aJPEG file but i tried several times to get a BMP file could not get it. Is

Re: How to get a Drawing area image as a file (BMP).

2006-05-04 Thread sadhees kumar
Hi All, For my application i need to get the picture drawn in the drawing area widget as a file.I have written the following code , but it doesnt work .. (i.e) the function - gdk_pixbuf_save() . i can get as aJPEG file but i tried several times to get a BMP file could not get it. Is

How to get a drawing area widget as a file?.

2006-04-28 Thread sadhees kumar
Hi all, Im desperately trying to get a drawing area widget as a bmp file but in vain. My code looks like this. colormap = gtk_widget_get_colormap(da_setting_ff); gtk_widget_realize(da_setting_ff); pixbuf =

How to get a GtkWidget in to pixbuf

2006-04-27 Thread sadhees kumar
Hi Everybody, In my GTK application i have a drawing area where i have drawn a graph. The drawing area is declared as GtkWidget, I would like to know how to take this GtkWidget in to a pixbuf. In short I would like to know how to take a GtkWidget in to a pixbuf. I tried the command

How to print a drawing area widget (to a printer).

2006-04-26 Thread sadhees kumar
Hi Everybody, I would like to know whether it is possible to print a picture present in the drawing area widget to a printer (Serial). I drew the pictures present in the drawing area widget using Gtk draw functions. It will be very helpfull if anybody help me with some example programs. Help

How To Print A Drawing Area Widget.

2006-04-26 Thread sadhees kumar
Hi Everybody, I would like to know whether it is possible to print a picture present in the drawing area widget to a printer (Serial). I drew the pictures present in the drawing area widget using Gtk draw functions. It will be very helpfull if anybody help me with some example programs. Help

How to print the drawing area Widget.(to printer)

2006-04-25 Thread sadhees kumar
Hi Everybody, It will be very helpfull if i find a solution for the following. My application wants to print the picture present in the drawing area widget. Do we have any API's for this?.I would like to know the idea behind this. Thanks in AdvancePlz let me know. Happy working,

(no subject)

2006-02-15 Thread sadhees kumar
Friends, In my GTK application, If no action(event) is taken place in the screen, I need to turn OFF the backlight of an TFT monitor. If any key pressed, or mouse movement occured, I need to turn ON the backlight. I have the API for toggling the backlight. My problem is , how to

Re: How to identify the idle state of the GTK+ application?

2006-02-15 Thread sadhees kumar
Thank you Friends I will try your suggestions.. _ Regards, K.Sadheeskumar. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

How to identify the idle state of the GTK+ application?

2006-02-15 Thread sadhees kumar
Friends, In my GTK application, If no action(event) is taken place in the screen, I need to turn OFF the backlight of an TFT monitor. If any key pressed, or mouse movement occured, I need to turn ON the backlight. I have the API for toggling the backlight. My problem is , how to identify

Gtk support for threading

2006-01-05 Thread sadhees kumar
Hi Friends, I have created my GTK application , and implemented threading with Pthread.It is working fine in Host (Pentium 3). Screen is not displayed in the Target(ARM9). Is GTK is fully supporting threading? I am using GTK version 2.2.4.

Threading in GTK

2006-01-05 Thread sadhees kumar
Hi Friends, I have created my GTK application, and implemented threading withPthread.It is working fine in Host (Pentium 3).Screen is not displayed in the Target(ARM9). Is GTK is fully supporting threading? I am using GTK version 2.2.4. Thanks is advance... --

To make the menubar background transparent

2005-11-15 Thread sadhees kumar
Hi Friends, Im using my GTK+ in my embedded application, im using a menubar in it, all i want is to make the menubar's background transperent. If anybody have come cross across this problem please let me know with some example code. THANKS in advance. _ Regards, K.Sadheeskumar.

Re: Error while compiliing

2005-11-15 Thread sadhees kumar
My system configuration is256 MB RAM, 700MB Sawp sapce and Pentium 4 processor Thank you On 11/15/05, Hans Oesterholt [EMAIL PROTECTED] wrote: How much memory does your machine have?Did you configure any virtual memory (i.e. swap space)? sadhees kumar schreef: Dear Friends, I am developing GTK

Error while compiliing

2005-11-14 Thread sadhees kumar
Dear Friends, I am developing GTK application using Glade in Red Hat Linux 9 ( GTK+ 2.2.4, GLADE 1.1.3) . every thing is fine when we develop a small application. if we go for bigger application, I am getting the following error while compiling, cc1: cannot allocate 2045712000bytes after

Re: GTK- How to get the text appearing on the button

2005-11-14 Thread sadhees kumar
You can use the following function gtk_button_set_label(button,label); Regards, K.Sadheeskumar On 11/15/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I need help in getting the text that appears on the button widget. I have a button HOLD. When I click this, function-A will be

Error while compiliing

2005-11-14 Thread sadhees kumar
Dear Friends, Iam developing GTK application using Gladein Red Hat Linux 9 ( GTK+ 2.2.4, GLADE 1.1.3) . every thing is fine when we develop a small application. if we go for bigger application, Iam getting the following error while compiling, cc1: cannot allocate 2045712000bytes after

Re: Changing the GtkButton appearence

2005-11-02 Thread sadhees kumar
with gtk_image_new_from_pixmap, and add the image to the button (as a container). All these functions are, of course, documented. Good luck, Alem. 2005/10/28, sadhees kumar [EMAIL PROTECTED]: Dear Friends, I want to display my button widget with different look. Is there any way to change the appearence

Changing the GtkButton appearence

2005-11-02 Thread sadhees kumar
Dear Friends, I want to display my button widget with different look. Is there any way to change the appearence of GtkButton from rectangle to ellipse? if anybody achieved this, attach the sample code. Thanks in advance. _Regards,K.Sadheeskumar.

Changing the GtkButton appearence

2005-10-28 Thread sadhees kumar
Dear Friends, I want to display my button widget with different look. Is there any way to change the appearence of GtkButton from rectangle to ellipse? if anybody achieved this, attach the sample code. Thanks in advance. _ Regards, K.Sadheeskumar.

Changing color for window border

2005-10-10 Thread sadhees kumar
Hi I want to change theborder color of windows(popup) from the default. Can anyone give me a solution for how to set the color? -- _Regards,K.Sadheeskumar. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Error while cross-compiling x11

2005-09-28 Thread sadhees kumar
Hi friends, Im now trying to cross-compile the x-11 source to tiny-x for arm-architecture.What i did was in path x11/xc/config/cf/ i included the host.def file and also changed the cross.def file, but it shows error while compiling. Is there any seperate tool-chains for this?.Plz let me know

Re: colors in pixmap

2005-09-24 Thread sadhees kumar
Thank youMichael Ott , Now i'm able to draw the color lines.. Regards, K.Sadheeskumar On 9/23/05, Michael Ott [EMAIL PROTECTED] wrote: Hello Sadhees!I want to draw lines and rectangles in pixmap with different colors . Afetr that, i will display the pixmap contend to drawing area. But, I do not

Colors in pixmap

2005-09-23 Thread sadhees kumar
Friends, I want to draw lines and rectangles in pixmap with different colors . Afetr that, i will display the pixmap contend to drawing area. But, I do not know how to draw the lines with different colors. can anyone help me? Sample program will be more usefull.. Regards, K.Sadheeskumar

colors in pixmap

2005-09-23 Thread sadhees kumar
Friends, I want to draw lines and rectangles in pixmap with different colors . Afetr that, i will display the pixmap contend to drawing area. But, I do not know how to draw the lines with different colors. can anyone help me? Sample program will be more usefull.. Regards, K.Sadheeskumar

List of static libraries for glade application

2005-09-17 Thread sadhees kumar
Dear friends, I would like to have a list of STATIC LIBRARIES needed to compile and run a normal glade application, which you may probably get by the command ldd. If anyone has experienced this plz let me know. regards, sadhees kumar ___ gtk-app

Re: how to reduce the size of tiny-x

2005-09-15 Thread sadhees kumar
Here the problem is that if i use direct-FB, i dont have support for popups and some fonts which i developed for the screen.so if any one have an idea of reducing the size of tiny-x plz let me know. cheers. On 9/15/05, Attilio Fiandrotti [EMAIL PROTECTED] wrote: sadhees kumar wrote

Re: how to reduce the size of tiny-x

2005-09-15 Thread sadhees kumar
Hello Friends, I have build a tiny-x server from X11 source, the libraries here are all dynamic. Have anybody experianced to static build the X11 to tiny-x, if so plz let me know. Advance thanks. cheers, sadhees kumar. ___ gtk-app-devel-list mailing

how to reduce the size of tiny-x

2005-09-14 Thread sadhees kumar
Dear friends, I configured for tiny-x and compiled the X11 source, everything was right but finally the size of my tiny-x was 113MB. Since i want to use this in an embedded application it must be within 8MB. Have anybody experianced this, if so please let me know it will be of great help to

Hide the Border of Notebook and scrolled window widget

2005-09-06 Thread sadhees kumar
hi Friends, I want to hide the border of notebook and scrolled window. For that i tried with the following function, gtk_notebook_set_show_border(notebook,FALSE); but, i didn't get the success. Is there any possibility to hide those borders? Thanks in advance Regards, K.Sadheeskumar

How to draw graph usibg pixmap

2005-08-23 Thread sadhees kumar
Hello everybody, In my application i draw graphs using expose_event but the screen becomes very slow if i do so. I would like to have a small example program (to draw a line or box) using pixmap.It will be very helpfull for me.

How to remove close button x from title bar of the window

2005-08-20 Thread sadhees kumar
Hi Andreas, The stuff that you send me was really usefull, it was very pleasant to see it work. I indeed thank you very much for it.It seems that you are a genious in gtk+. There is one more big problem that im facing in my gtk+ .I have created a

Changing button-font in rc file

2005-08-19 Thread sadhees kumar
Dear friends, I have two quaries for which i like to get some help from you. 1. I would like to know how to change the fonts of a button through rcfile. The way which i tried was something like, style button { fg[PRELIGHT] = { 0, 1.0, 1.0 } bg[PRELIGHT] = { 1.0, 0, 0 }