RE: adding fifo input to the main glib2 loop

2002-09-06 Thread Nils O. Selåsdal
> >Hi, > > I have an app that mkfifo()s && open()s and then attaches a > >g_io_channel to the fd. The basic idea is that clients can > drop scheme > >code to a fifo for the app to execute, thus the server only > reads the > >pipe and clients should only write it. > > > >I have this working w

GtkPaned question

2002-09-05 Thread Nils O. Selåsdal
I have a gtkpaned with a treeview at top and a texview at the bottom, repositioning the gutter flickers way to much. Is there a way to set the paned so it doesn’t resize the childs until one releases the mouse(sort of the diffrence between opaque/boxed resizing/dragging in many window managers.)

Re: [p: what's the deal with string chunks?]

2001-12-28 Thread Nils O. Selåsdal
On Friday 28 December 2001 2:02, Peter Jay Salzman wrote: > i'm totally confused. i need a way of temporarily storing a bunch of > strings. i was using a g_array, but that was getting pretty hairy. > then i found GStringChunks. but: > > the glib reference shows how to: > > declare a GStringC

dynamically allocate text for gtk_clist?

2001-12-26 Thread Nils O. Selåsdal
Looking at the gint gtk_clist_append (GtkCList *clist, gchar *text[]); function, what is the text parameter supposed to be? must it be dynamically allocated memory? When can I destroy it? Or does the function duplicate the texts i send to it? (and how should I know this?) ___