RE: Is GTK multi-threaded by default??

2006-11-22 Thread Sai Korada
Thanks Tristan, We could realize that driver is adding up delay, and it's not exactly the problem with timer callback. Thanks for helping us out. Laxmi -Original Message- From: Tristan Van Berkom [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 9:03 PM To: Sai Korada Cc:

Re: GtkTreeView having nodes with underlined text

2006-11-22 Thread Miroslav Rajcic
iew); > >renderer = gtk_cell_renderer_text_new(); >g_object_set(renderer, "underline-set", TRUE, NULL); >column = gtk_tree_view_column_new_with_attributes("Text", renderer, > "text", COL_TEXT, >

Re: Dithering using GDK

2006-11-22 Thread Arx Henrique
I dont know if will help but i have this program that i make for a test with images, using the dither algoritm. Dont works 100% (i dont know why) but maybe lead you for what you want. On 11/22/06, Dheeraj V.S. <[EMAIL PROTECTED]> wrote: Hello all, I need to reduce the color depth of an image to

Re: Is GTK multi-threaded by default??

2006-11-22 Thread Tristan Van Berkom
Sai Korada wrote: > Hi, > > I'm developing an application using GTK, that talks with device driver. > In this process I've introduced a timer callback, where the timer is set > to 10, and, the callback function transfers some bytes to memory card. > Then it should get the status from the memory ca

Re: GtkTreeView having nodes with underlined text

2006-11-22 Thread Yeti
On Wed, Nov 22, 2006 at 01:28:32PM +0100, Miroslav Rajcic wrote: > I am having a problem to underline text for some (not all) nodes in a > GtkTreeView. > > I've tried following: > > 1. a) add new column in the tree store of type G_TYPE_ENUM (tried integer > type too) Should be G_TYPE_UINT. >

GtkTreeView having nodes with underlined text

2006-11-22 Thread Miroslav Rajcic
I am having a problem to underline text for some (not all) nodes in a GtkTreeView. I've tried following: 1. a) add new column in the tree store of type G_TYPE_ENUM (tried integer type too) b) attach text renderer to this store column: gtk_tree_view_column_set_attributes(column, renderer,

Re: Theme writing guide/tutorial

2006-11-22 Thread Felix Kater
On Wed, 22 Nov 2006 10:38:31 +0100 Gabriele Greco <[EMAIL PROTECTED]> wrote: > There is a guide not aimed to programmers about theme writing for GTK > (I'm mostly intrested in pixbuf themes, but also a generic guide > could be useful)? > > I've to explain a graphic artist how to design a theme f

Re: GTK - Win32

2006-11-22 Thread Tor Lillqvist
natarajan writes: > Is there a way to get the Win32 Window Handle (HANDLE HWND) of GTK > window/widget in the windows port of GTK? Yes. #include GtkWidget *widget; HWND hwnd = gdk_win32_drawable_get_handle (widget->window); --tml ___ gtk-app-dev

GTK - Win32

2006-11-22 Thread natarajan
Hi, Is there a way to get the Win32 Window Handle (HANDLE HWND) of GTK window/widget in the windows port of GTK? Many Thanks for your replies, Kind Regards, Natarajan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome

Drag_Drop to before the first row of Tree View (List Store)

2006-11-22 Thread Daniel Yek
Hi, I'm trying to handle Drag_Drop to before the first row and after the last row of a Tree View with a List Store. In the drag_drop handler, I got a y-coordinate of between 0 and 25, corresponding to the column headers. The drop destination highlight was still turned on. When I called gtk_tre

Theme writing guide/tutorial

2006-11-22 Thread Gabriele Greco
There is a guide not aimed to programmers about theme writing for GTK (I'm mostly intrested in pixbuf themes, but also a generic guide could be useful)? I've to explain a graphic artist how to design a theme for a GTK application and what I've found till now it's too much "programmers oriented

Is GTK multi-threaded by default??

2006-11-22 Thread Sai Korada
Hi, I'm developing an application using GTK, that talks with device driver. In this process I've introduced a timer callback, where the timer is set to 10, and, the callback function transfers some bytes to memory card. Then it should get the status from the memory card. My question here is, wheth