Re: gtktreeview / multiple cell renderers

2005-02-11 Thread Denis
Martyn Russell wrote: On Thu, 2005-02-10 at 14:46 +0100, Denis wrote: Hi everybody, Hi, I am trying to build a tree_view on top of a GtkTreeModel I made and I would like to see in each cell an icon of the gtk stock by giving its stock-id and a text. Instead of using the pixbuf

Re: gdk_threads_enter/leave() in threaded and non threaded situation

2005-02-11 Thread Tristan Van Berkom
On Fri, 11 Feb 2005 09:46:41 +0200, Olexiy Avramchenko [EMAIL PROTECTED] wrote: Stefan Kost wrote: hi hi, Hello I have a gobject property that is set (via g_object_set()) from within a thread and from the main thread. Further I have signal handlers that watch this via notify::property.

date widget

2005-02-11 Thread Giovanni Manenti
Hi, there is a widget that show the current date and time? Giovanni ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Expose Event

2005-02-11 Thread John Vetterli
On Fri, 11 Feb 2005 06:06:00 + [ A b h i s h e k ] [EMAIL PROTECTED] wrote: Im having problem regarding writing code in the expose event of my event box. Whenever this event occurs, i am writing code to draw a rectangle in the handler but nothing seems to happen whereas if i run the same

Re: gdk_threads_enter/leave() in threaded and non threaded situation

2005-02-11 Thread Stefan Kost
Hi hi, it is still not that simple :( I have a core lib, that is used by a commandline and by a gtk based app. All is gobject based. In the core lib I have an object A that has a property A.a. Now from the gtk app I set this property from a thread (when playing) and from my main thread (via user

Re: gdk_threads_enter/leave() in threaded and non threaded situation

2005-02-11 Thread Stefan Kost
another go in trying to make the situation clear. I have two place in the source that is causing the notify signal to be emited: A) core lib :: sequence.play() * when called from a gtk app it will run inside a thread * the method directly changes the property and calls g_object_notify() B)

Re: gdk_threads_enter/leave() in threaded and non threaded situation

2005-02-11 Thread Tristan Van Berkom
On Fri, 11 Feb 2005 19:06:44 +0100, Stefan Kost [EMAIL PROTECTED] wrote: [...] The g_object_set() is called from a signal callback that gets triggered by user action and thus already runs gdk_mutex protected. Wrapping this with enter/leave would block. I can wrap the g_object_notify() with the

How to set cursor color in GtkEntry?

2005-02-11 Thread HOCHSTETLER, BRUCE W. (JSC-DV3/T) (TSI)
It seems by default the cursor color is always set to black. The problem is, I've set my entry widget background to black (per user's requirement), now the cursor is appears 'invisible', but is actually black on black. There should be a way to set the cursor color to the text color currently in

Re: intercept nervous button clicks...

2005-02-11 Thread Marc Santhoff
Am Fr, den 11.02.2005 schrieb Felix Kater um 22:09: Iago Rubio: Set the window insensitive - or the buttons - and use a wait cursor to tell the user the program is working and should not be disturbed :) Thanks, this is, however, no solution. The problem is harder than it seems in the

Re: intercept nervous button clicks...

2005-02-11 Thread Freddie Unpenstein
Let me sum up: * In the beginning of each button click callback you call a function to make the buttons insensitive (even the clicked one? protection is needed here also), I just kept a list of all the buttons that mattered, and insensitised them all rather indiscriminantly (even the

Re: How to set cursor color in GtkEntry?

2005-02-11 Thread Zeeshan Ali
Hello, I used to do such a thing and my way of doing such stuff was using gtkrc files (which is what i still use). There are two arrays that you need to set here: text and fg. Set them both to black for all possible indexes and I think you'll get the behavior you want. Here is a how the