Setting Adjustments

2000-10-09 Thread Dugas, Alan
I'm currently trying to set a vertical adjustment (i.e. scrollbar) attached to a gtktext. The method I've been using is simple but for some reason does not work. The "value" of the adjustment is set as follows; gtk_adjustment_set_value(GTK_ADJUSTMENT(GTK_TEXT(TEXT)->vadj), GTK_ADJUSTME

Elapsed time

2000-10-09 Thread Fethiye Akbulut
I would like to show the elapsed time since one of the windows is popped up. I have created a GtkEntry and and my plan is to update its value every second. The updated value is not written back to the Entry box. Is there a way that I could do that easily, without having an infinite loop to wai

fork and synchronous error problem

2000-10-09 Thread Matt Eisemann
resending since no response yet: fork and async problem Currently I am working on an application which uses CLIST type list and after the user selectes the t items they want from the list, they push a button called 'start tasks' which starts the processes they have chosen from the list. Once t

Re: How not to start a drag process.

2000-10-09 Thread Havoc Pennington
Dominik Smogor <[EMAIL PROTECTED]> writes: > I'm just wondering ... > Is it possible to have additional conditions on whether to start DND > process in GTK+? I mean that I only know how to make a windowed widget a > permanent drag source, but what I'd like to do is to allow it start DND > (drag)

Re: Resizing Windows

2000-10-09 Thread otaylor
Havoc Pennington <[EMAIL PROTECTED]> writes: > John Kodis <[EMAIL PROTECTED]> writes: > > I seem to remember seeing code for a GtkAspect widget (I may be > > mis-remembering the name slightly) written by one of the core Gtk > > hackers which did exactly what you're asking for. I don't remember

Re: g_list_append() giving SEGV

2000-10-09 Thread otaylor
"Aggarwal , Ajay" <[EMAIL PROTECTED]> writes: > Thats exactly how I am using it. Do you know any place where it is > documented clearly as to which calls from Glib are thread-safe (or not > thread-safe. All of GLib is (or is supposed to be) thread safe in the sense that internal data is properl

RE: g_list_append() giving SEGV

2000-10-09 Thread Aggarwal , Ajay
Thats exactly how I am using it. Do you know any place where it is documented clearly as to which calls from Glib are thread-safe (or not thread-safe. Thanks in advance > -Original Message- > From: Dugas, Alan [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 09, 2000 1:35 PM > To: Agga

How not to start a drag process.

2000-10-09 Thread Dominik Smogor
I'm just wondering ... Is it possible to have additional conditions on whether to start DND process in GTK+? I mean that I only know how to make a windowed widget a permanent drag source, but what I'd like to do is to allow it start DND (drag) depending on ,say, actual cursor position (making som

g_list_append() giving SEGV

2000-10-09 Thread Aggarwal , Ajay
Does anybody know if glib-1.2.6-3 is thread-safe in general? I am getting a SEGV in g_list_append() call. I am doing g_thread_init() in the very beginning of my program and g_thread_supported() returns TRUE after g_thread_init() call. The backtrace looks like: g_list_append() g_list_alloc() g_mem

Re: Difficult structure

2000-10-09 Thread Havoc Pennington
Meghal Harish Varia <[EMAIL PROTECTED]> writes: > > ___ > | | | > | | | > | | | > | | Buttons

Re: Resizing Windows

2000-10-09 Thread Havoc Pennington
John Kodis <[EMAIL PROTECTED]> writes: > I seem to remember seeing code for a GtkAspect widget (I may be > mis-remembering the name slightly) written by one of the core Gtk > hackers which did exactly what you're asking for. I don't remember > where I saw it though. Perhaps someone else will h

Re: gtk_dialog_cauldron

2000-10-09 Thread Havoc Pennington
Mark Roberts <[EMAIL PROTECTED]> writes: > > I am trying to use the 'gtk_dialog_cauldron' function from > libgnomeui. Yet whatever I do produces lots of > Ugh, no! It's one of the most atrocious APIs ever written. ;-) It's already deleted from libgnomeui 2.0 IIRC. Glade + libglade is the sugg

Re: Resizing Windows

2000-10-09 Thread John Kodis
On Sun, Oct 08, 2000 at 11:43:59PM -0400, Meghal Harish Varia wrote: > I want to handle resizing so that I maintain a certain ratio between the > two vertical sections (the big picture on the left should be about 2 times > as wide as the other vertical slab on the left). > > So I get a configure

Re: gtk_dialog_cauldron

2000-10-09 Thread Iain
> Has anybody ever used this function? Please, find my (tiny) testfile > attached and tell me if it works for you. You need to called gnome_init or gtk_init iain ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-li