Re: add a cursor...

2006-11-09 Thread Stefan Kost
Hi. [EMAIL PROTECTED] wrote: Hi!! i've an x-y plot created with GTk! I'd like that after clicking in one of the plotted points, appear a cursor and then i can move it throught all the plotted points!! Is it possible?? I would draw a cursor like object over the points. It would be a bit

Double Buffering

2006-11-09 Thread Matthew Yaconis
I tried searching the mailing list but the search seems to still be down from July... I'm looking to do some double buffered 2D animation in a GTK application. What is the best way to go about this? Are there double buffered GTK widgets or would I be better off using OpenGL or some other

Re: Double Buffering

2006-11-09 Thread Gian Mario Tagliaretti
2006/11/9, Matthew Yaconis [EMAIL PROTECTED]: I'm looking to do some double buffered 2D animation in a GTK application. What is the best way to go about this? Are there double buffered GTK widgets or would I be better off using OpenGL or some other libraries? Gtk+ is double buffered (at GDK

ComboBox and TreeStore

2006-11-09 Thread Mark Richardson
Having some difficulty with a combo box and associated tree store. When I do this, nothing shows up... GtkTreeStore *myTreeStore=gtk_tree_store_new(1, G_TYPE_STRING); GtkWidget *myComboBox=lookup_widget(mainWindow, myComboBox); gtk_combo_box_set_model(GTK_COMBO_BOX(myComboBox),

Re: ComboBox and TreeStore

2006-11-09 Thread Yeti
On Thu, Nov 09, 2006 at 01:23:22PM -0800, Mark Richardson wrote: Having some difficulty with a combo box and associated tree store. When I do this, nothing shows up... GtkTreeStore *myTreeStore=gtk_tree_store_new(1, G_TYPE_STRING); GtkWidget *myComboBox=lookup_widget(mainWindow,

Re: ComboBox and TreeStore

2006-11-09 Thread Mark Richardson
Thank you for your help - that worked. I've worked with tree views and I should have seen the similarity (didn't see that the combo box needed to be type cast to a cell layout). Mark PS - I'll make sure to stay on gtk-app-devel-list - my bad. David Neèas (Yeti) [EMAIL PROTECTED] wrote:

Re: ComboBox and TreeStore

2006-11-09 Thread ensonic
hi, you need to add the renderers! The ComboBox uses a tree model. Look how its done there. Stefan On 10:23:22 pm 09/11/2006 Mark Richardson [EMAIL PROTECTED] wrote: Having some difficulty with a combo box and associated tree store. When I do this, nothing shows up... GtkTreeStore

Re: pkg-config output on the Windows platform?

2006-11-09 Thread Tor Lillqvist
Can anyone tell me what system pkg-config uses when some/all of the C Preprocessor paths contain spaces? How hard would it be to try yourself? ;) Well, quite hard :-). I would have to download and attempt to build all of GTK and whatever its dependencies are. Not keen for that.

Re: pkg-config output on the Windows platform?

2006-11-09 Thread John Pye
Hi Tor, Tor Lillqvist wrote: Can anyone tell me what system pkg-config uses when some/all of the C Preprocessor paths contain spaces? How hard would it be to try yourself? ;) Well, quite hard :-). I would have to download and attempt to build all of GTK and whatever its

Mouse pointer ..............

2006-11-09 Thread rafeeqh shaik
hi.. I am trying to run gtk+ on DirectFBapplicationsfor embedded device. when i run application i am getting mouse pointer on top of the window. I am not using mouse so i want mouse pointer to be invisble. could any one plz throw some light how to disable the mouse pointer, Thanks.-- SHAIK

Entry box ( calculator application : right to left )

2006-11-09 Thread rafeeqh shaik
Hi I am trying to run calculator application on a embedded device. i am using Entry box for displaying numbers, but when i enter number its from left to right. But i want it to be from right to left, could anyone plz help me in this regards.-- SHAIK RAFEEQHIIT DELHI

Re: Question about GDK-Directfb backend support in the GTK Project

2006-11-09 Thread Attilio Fiandrotti
GTKDFB is used by the debian-installer team for our graohical installer, so we'll keep on supporting it. ATM HEAD from CVS compiles fine, and debian archives in experimental contain binaries of GTKDFB 2.10.6 (compiled against DFB 0.9.25). cheers Attilio Luis Ariel Lecca wrote: Hello Raju

Re: Mouse pointer ..............

2006-11-09 Thread Attilio Fiandrotti
I can make the cursor to disapper by simply adding no-cursor to the directfbrc [1] file, is there a chance this may not work in some cases? If this should not work, you could try moving the mouse to the bottm-right corner of the screen. cheers Attilio [1]

Re: Mouse pointer ..............

2006-11-09 Thread Mike Emmel
That will work also. The gdk/x11 way is a clear cursor. Both should work. On 11/9/06, Attilio Fiandrotti [EMAIL PROTECTED] wrote: I can make the cursor to disapper by simply adding no-cursor to the directfbrc [1] file, is there a chance this may not work in some cases? If this should not

Re: [Xcb] GTK-XCB is in progress(Profiling gtk-xcb vs gtk-x11)

2006-11-09 Thread Jamey Sharp
On Wed, Nov 08, 2006 at 05:25:00PM +0800, Yang JianJun wrote: I choose oprofile to test gtkperf for performance profiling. Perfect! But I notice you compiled XCB with optimization turned off. This may not be entirely fair. :-) I haven't test whether gdk-xcb is issuing more requests than the

Re: [Xcb] GTK-XCB is in progress(Profiling gtk-xcb vs gtk-x11)

2006-11-09 Thread Havoc Pennington
Jamey Sharp wrote: This approach isn't thread-safe, which is why XCB's API is designed to discourage it. There may be various reasons why thread-safety doesn't matter at these points in Gdk Such as GDK is in no way threadsafe ;-) http://developer.gnome.org/doc/API/2.0/gdk/gdk-Threads.html

Re: [Xcb] GTK-XCB is in progress(Profiling gtk-xcb vs gtk-x11)

2006-11-09 Thread Jamey Sharp
On Thu, Nov 09, 2006 at 07:20:53PM -0500, Havoc Pennington wrote: Jamey Sharp wrote: This approach isn't thread-safe, which is why XCB's API is designed to discourage it. There may be various reasons why thread-safety doesn't matter at these points in Gdk Such as GDK is in no way

Re: [Xcb] GTK-XCB is in progress(Profiling gtk-xcb vs gtk-x11)

2006-11-09 Thread Jamey Sharp
On Wed, Nov 08, 2006 at 09:47:25AM +, Ross Burton wrote: XNextRequest in libX11 is a pointer dereference and an increment, where your XCBNextRequest is a round-trip. I've mentioned in a previous mail, but just to be clear: No, it isn't a round-trip. While this XCBNextRequest macro is