Re: Freeze/Thaw a GtkWidget

2008-03-28 Thread Andrew Cowie
On Tue, 2008-03-25 at 22:24 -0400, Evan Charlton wrote: > I'm curious how one would go about freezing (stopping UI updates) and > thawing (applying and resuming UI updates) a GtkWidget, as well as any > children of it. You might have some success if you use the low level mechanism: http://library.

Re: GLib questions, GArray and GNode

2008-03-28 Thread Jordan Walsh
On Thu, 2008-03-27 at 10:01 -0700, Kaustubh Patil wrote: > Hi, > > I am using glib (version 2.0) for developing some > applications. I have some questions about use of > Garray and GNode (G-n-ary tree). > > 1. Is it safe to return an initialized GArray * from a > function? e.g. copying garray arr

Re: Quitting an application

2008-03-28 Thread Sujith
G Hasse writes: > This is a quite common problem in GUI design. How do you syncronize > between a long job and a short fast one (as quitting). The first answer > is that you should not do any long jobs. You should split the long work > in small ones, and let every other job have the ability t

How to get the preedit character from TextView?

2008-03-28 Thread KwangYul Seo
Hi, I can get the text string from TextView, but I can't get the last character in preedit mode before it commits. Is it possible to get the character in preedit mode from TextView? Thanks, Kwang Yul Seo ___ gtk-app-devel-list mailing list gtk-app-deve

Re: GLib questions, GArray and GNode

2008-03-28 Thread Kaustubh Patil
Dear Jordan, Thanks for quick answer. I am not very good in extensive pointer programming. So it will be very nice of you if you can clarify some more things. 1. Is the following function ok? GArray* g_array_clone(GArray *array) { int i; GArray *clone = g_array_new(FALSE,FALSE,sizeof(long));

Re: Quitting an application

2008-03-28 Thread Sujith
Gabriele Greco writes: > Intercept the delete_event or modify the callback where you do the > gtk_main_quit() and insert there some thread sync code. > > You should take care also when you add the rows to your Tree/ListStore if > you do that directly from the thread that scans the db. > >

List open modules

2008-03-28 Thread Bastiaan Veelo
Hi, I would like to know the name of the theme engine that is drawing my application. How do I do that? I failed to find a way to get a list of open modules. Thanks, Bastiaan. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mai

g_array_copy how to?

2008-03-28 Thread Kaustubh Patil
Hi, Can somebody please tell me how can I write a function which returns a copy of a given GArray. The problem I am facing is how to identify the type of the data in the given array. Also I would like to know how can I pass type as an argument, like g_array_index does. Thanks, kaustubh

Re: Quitting an application

2008-03-28 Thread Bastiaan Veelo
Sujith wrote: > Gabriele Greco writes: > > Intercept the delete_event or modify the callback where you do the > > gtk_main_quit() and insert there some thread sync code. > > > > You should take care also when you add the rows to your Tree/ListStore if > > you do that directly from the thread

VALA and GTK

2008-03-28 Thread Martín RV (OPENGeoMap)
Hi all: I am trying to find the best way to develop free software in the GNOME world . What do you think about VALA?. Actually c # is a great language and i do not like c + + or JAVA at all, but it is VALA a technology with future? For me, GObject it´s great, but with VALA is very quick when

Re: Quitting an application

2008-03-28 Thread Sujith
Bastiaan Veelo writes: > I have not checked, but maybe gtk_main_leve() returns 0 if gtk_main() > has not been called yet? If that would be of any help. Yes, I checked and it does return 0 before gtk_main() has been called. I'll play around with it. Thanks for the tip. Sujith __