Compiling GTK with arm-linux-gcc

2005-08-08 Thread prakhar vig
Hi, We have gtk already present in the kernel which we got when we have installed the OS. We have tried to compile a small gtk application with arm-linux-gcc, but in vain. We want to know whether: 1) we have to re install gtk package compiled using arm-linux-gcc, if yes please tell us how we can

Re: Expose events not occurring from gdk_window_invalidate_rect

2005-08-08 Thread Luca Cappa
Hello, Douglas Vechinski wrote: Yes it is idle a lot. Whenever your not moving the mouse or interacting with the GUI it should be sitting in main GTK event loop. On Fri, 2005-08-05 at 17:31 +0200, Sven Neumann wrote: Hi, Douglas Vechinski <[EMAIL PROTECTED]> writes: The problem

Gtk screen refresh

2005-08-08 Thread Jirka Pirko
hi i have following problem: need to append chars to GTK_ENTRY as they are coming from serial port (/dev/ttyS0) i'm reading chars, appending (gtk_entry_appent_text()) them into GTK_ENTRY, but i CANT SEE them. (until i press key or when i put cursor into GTK_ENTRY) i think i must force gtk_m

Re: Gtk screen refresh

2005-08-08 Thread Daniel Campos
Jirka Pirko escribió: hi i have following problem: need to append chars to GTK_ENTRY as they are coming from serial port (/dev/ttyS0) i'm reading chars, appending (gtk_entry_appent_text()) them into GTK_ENTRY, but i CANT SEE them. (until i press key or when i put cursor into GTK_ENTRY) i

Re: Gtk screen refresh

2005-08-08 Thread Jirka Pirko
it dont work - im calling gtk_main_iteration_do from different pthread than where is running gtk_main... but it makes sense... just for sure im not doing anything wrong... jirka Daniel Campos napsal(a): Jirka Pirko escribió: hi i have following problem: need to append chars to GTK_ENTRY a

Re: Gtk screen refresh

2005-08-08 Thread Paul Davis
On Mon, 2005-08-08 at 14:37 +0200, Jirka Pirko wrote: > it dont work - im calling gtk_main_iteration_do from different pthread > than where is running gtk_main... but it makes sense... just for sure im > not doing anything wrong... you're probably doing everything wrong then. please read the FAQ

Re: Gtk screen refresh

2005-08-08 Thread Daniel Campos
What kind of data are you placing in the GtkEntry? I mean GtkEntry can show only UTF-8 characters, and I don't think the serial device uses that encoding. GtkEntry uses to do strange things when you put not UFT-8 data, it seems to work but after a while it can fail, or may be you are freeing a s

Requirement for GTK Programmer

2005-08-08 Thread Gaurav
Hi Friends,   I am looking for GTK Programmers who is interested to work in Gurgaon, Delhi. Experience should be minimum one year.   Regards,Gaurav Kr. GuptaComergent TechnologyH-746A, Palam ViharGurgaon, HaryanaMobile. No.: 9811192312Tel: +91-124- 5073 244/ 245/ 246E.Mail: [EMAIL PROTECTED]W

[Fwd: Re: Gtk screen refresh]

2005-08-08 Thread Daniel Campos
--- Begin Message --- Try to invalidate the widget so it must redraw again... Jirka Pirko escribió: it dont work - im calling gtk_main_iteration_do from different pthread than where is running gtk_main... but it makes sense... just for sure im not doing anything wrong... jirka Daniel Ca

Re: Receiving events on a gdk window.

2005-08-08 Thread Tristan Van Berkom
Michel Van den Bergh wrote: Hello, I am trying to write an xscreensaver using gtk (pygtk really). An xscreensaver must draw on an externally supplied X window (either supplied on the command line or as a virtual root). Can somebody explain to me how to make such an externally supplied window

Re: Writing to a buffer

2005-08-08 Thread Jonathan Hayward
> Any obvious mistakes in this?You probably need to use _scroll_to_mark(), see question 4.3:http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html Thanks for the pointer; it isn't working yet. The text displays, but it doesn't scroll down. The code that's doing the inserts is:     Gt

Re: [gtkextra] No text is drawn

2005-08-08 Thread Adrian E. Feiguin
Sorry for the late appearance in the discussion but I just switched jobs and moved to Santa Barbara, and I'm back to work. I committed a couple of lines of code that are supoused to fix this. can anybody try it out? Thank you! Christoph Finke wrote: I had the same Problem, its a bug in gtke

Very confused with pixbufs, pixmaps, images, rgbs and drawables

2005-08-08 Thread Chris Seaton
I want to be pragmatically creating some off screen images, just some text rendering. I'm not using Gtk+ for this part of the application. I have a vague idea I want to create either a GdkPixmap or a GdkImage, do my rendering using the base GdkDrawable, and then call gdk_pixbuf_get_from_drawable

Troubleshooting (displaying images across different machines)

2005-08-08 Thread Jonathan Hayward
My gtk program is loading images for me on one Linux box (with Gtk 2.6.7), but not another (different distribution w/Gtk 2.6.4). If I do a "make; make install" on my computer, it gets some user input and displays graphics (mostly a table of images) in the main window. On the other computer, every

Re: Very confused with pixbufs, pixmaps, images, rgbs and drawables

2005-08-08 Thread John Cupitt
A lot of the names come from Xlib and ancient history. On 8/8/05, Chris Seaton <[EMAIL PROTECTED]> wrote: > GdkPixmap - server side pixel map > GdkBitmap - server side pixel map, 1bpp Bingo! Exactly right. Names from X history. Bitmap was the original, pixmap was added later when the first colour

Re: [gtkextra] No text is drawn

2005-08-08 Thread romildo
On Mon, Aug 08, 2005 at 12:21:58PM -0700, Adrian E. Feiguin wrote: > Sorry for the late appearance in the discussion but I just switched jobs > and moved to Santa Barbara, and I'm back to work. I committed a couple > of lines of code that are supoused to fix this. can anybody try it out? I have

Re: Very confused with pixbufs, pixmaps, images, rgbs and drawables

2005-08-08 Thread Chris Seaton
Great. Thanks for the clarification. If these names (any many of the classes themselves) are only around because of the history of X, when are we planning to update them? At the moment the entire architecture of the image system in Gdk reflects the history of one supported platform. That can't

Re: Very confused with pixbufs, pixmaps, images, rgbs and drawables

2005-08-08 Thread Rick
Thanks for clearing that up, I was vague on this too. Now I have a small app that loads an image then messes with it directly. Fun, and removes a hurdle for me. On 8/8/05, John Cupitt <[EMAIL PROTECTED]> wrote: > A lot of the names come from Xlib and ancient history. > > On 8/8/05, Chris Seaton