Best place to call gtk_widget_show()?

2005-08-16 Thread Markus Lausser
Hello, I wonder, in which order should the following tasks be done: * show widget * add widget to parent container * add childs to widget Which order is the fastest (CPU)? First add childs, then show? First show then add to parent? etc... Or maybe call gtk_widget_show_all() for the toplevel only

Re: GtkTextView horizontal seperators...

2005-05-09 Thread Markus Lausser
On Mon, 2005-05-09 at 05:35, Freddie Unpenstein wrote: > > Greetings people of the list... > > I was wondering if anyone knows how I could draw a horizontal > red line across a GtkTextView buffer. > > I could probably throw in a GtkHSeperator widget, or something, > but it's not a red line. > >

Re: aligning label strings

2005-04-17 Thread Markus Lausser
On Mon, 2005-04-11 at 21:29, Marc Santhoff wrote: > Hi, > > I'm trying to put the strings of several equally sized buttons in a one > row table in a special way: > > -- > | F1 - first string | > -

Re: poll(2) only can handle 256 fds?

2005-03-14 Thread Markus Lausser
On Fri, 2005-03-11 at 02:12, Markus Lausser wrote: > On Tue, 2005-03-08 at 21:56, Markus Lausser wrote: > > Hello, > > > > i get the message > > *** GLib *** : poll(2) failed due to: Invalid argument. > > thousand times when running my application. >

Re: poll(2) only can handle 256 fds?

2005-03-13 Thread Markus Lausser
On Fri, 2005-03-11 at 13:41, Gus Koppel wrote: > Iago Rubio wrote: > > > > > i get the message > > > > *** GLib *** : poll(2) failed due to: Invalid argument. > > > > thousand times when running my application. > > > > It seems that it happens if i have accepted 100 < x < 200 > > > > tcp connect

poll(2) only can handle 256 fds?

2005-03-10 Thread Markus Lausser
On Tue, 2005-03-08 at 21:56, Markus Lausser wrote: > Hello, > > i get the message > *** GLib *** : poll(2) failed due to: Invalid argument. > thousand times when running my application. > It seems that it happens if i have accepted 100 < x < 200 > tcp connection fr

*** GLib *** : poll(2) failed due to: Invalid argument.

2005-03-08 Thread Markus Lausser
Hello, i get the message *** GLib *** : poll(2) failed due to: Invalid argument. thousand times when running my application. It seems that it happens if i have accepted 100 < x < 200 tcp connection from which i listen for input. What can i do? I am using glib 2.6.0 on a linux system. Markus.