Re: A Question about GtkTreeSortable

2005-10-20 Thread searun
On 10/21/05, Christian Neumair <[EMAIL PROTECTED]> wrote: > > Am Donnerstag, den 20.10.2005, 19:06 +0800 schrieb searun: > > Hi , > > > > Now i want to use GtkTreeSortable to sort a list. The first entry in the > > gtk_tree_view is an information entry which needn't to be sorted, so i > don't > > w

problem about gdk_input_add()

2005-10-20 Thread gaof
My dear friends, I want to redirect the ouput of a shell command(ping) to a gtk widget(text). I use FIFO, the code is something like this: void on_my_ping_show(GtkWidget*widget, gpointer user_data) { int fd; fd = open("/root/fi

Re: restore size/position of gtk window

2005-10-20 Thread Allin Cottrell
On Thu, 20 Oct 2005, George Williams wrote: On Thu, 2005-10-20 at 16:41, Allin Cottrell wrote: This eliminates the creep. But so far I have found nothing that fixes window creep on win32. As you've probably figured out the creep is caused by the window's title bar and depends on the window

Re: restore size/position of gtk window

2005-10-20 Thread Allin Cottrell
On Fri, 21 Oct 2005, Tor Lillqvist wrote: Allin Cottrell writes: > I posted on this topic a few days ago and didn't get a response. > But so far I have found nothing that fixes window creep on win32. Is there a bugzilla bug open for this? If not, please open one. And attach a minimal but comple

Re: Drawing 1-bit bitmaps

2005-10-20 Thread George Williams
On Thu, 2005-10-20 at 11:26, John Vetterli wrote: > > The GtkPixmap encapsulates client side pixmaps and bitmaps, > I've never bothered with GdkImage myself. I prefer to use GdkPixbuf As far as I can tell GdkPixbufs do not support 1-bit data. The docs (gdk-pixbuf-creating.html) say: gdk

Re: restore size/position of gtk window

2005-10-20 Thread Tor Lillqvist
Allin Cottrell writes: > I posted on this topic a few days ago and didn't get a response. > But so far I have found nothing that fixes window creep on win32. Is there a bugzilla bug open for this? If not, please open one. And attach a minimal but complete test program, please. Also tell what ve

Re: restore size/position of gtk window

2005-10-20 Thread George Williams
On Thu, 2005-10-20 at 16:41, Allin Cottrell wrote: > This eliminates the creep. But so far I have found nothing that > fixes window creep on win32. If a user maximizes my app's main > window, then despite my best efforts, when we attempt to restore the > maximized main window on startup it is

restore size/position of gtk window

2005-10-20 Thread Allin Cottrell
I posted on this topic a few days ago and didn't get a response. Now I'm trying a more specific variant of my question after doing some testing. What I'd like is for my gtk app to "remember" the size and position of its main window from one session to another (at least as an option). I have

Re: Drawing 1-bit bitmaps

2005-10-20 Thread John Vetterli
Arg! Yes, I was careless when I wrote that, and got it horribly wrong, mixing up client-side vs. server-side and Gtk- vs. Gdk-. GdkPixmap: server-side GdkImage and GdkPixbuf: client-side GtkImage: something completely different from GdkImage I've never bothered with GdkImage myself. I prefer

Re: A Question about GtkTreeSortable

2005-10-20 Thread Iago Rubio
On Thu, 2005-10-20 at 19:12 +0200, Christian Neumair wrote: > Am Donnerstag, den 20.10.2005, 17:44 +0200 schrieb Iago Rubio: > > On Thu, 2005-10-20 at 19:06 +0800, searun wrote: > > > Hi , > > > > > > Now i want to use GtkTreeSortable to sort a list. The first entry in the > > > gtk_tree_view is a

Re: Drawing 1-bit bitmaps

2005-10-20 Thread George Williams
On Wed, 2005-10-19 at 21:16, John Vetterli wrote: > The GtkPixmap encapsulates client side pixmaps and bitmaps, but I haven't Are you sure about that? The docs I have say they are server-side (From GtkPixmap.html): The pixels in a GtkPixmap cannot be manipulated by the application

Re: A Question about GtkTreeSortable

2005-10-20 Thread Christian Neumair
Am Donnerstag, den 20.10.2005, 17:44 +0200 schrieb Iago Rubio: > On Thu, 2005-10-20 at 19:06 +0800, searun wrote: > > Hi , > > > > Now i want to use GtkTreeSortable to sort a list. The first entry in the > > gtk_tree_view is an information entry which needn't to be sorted, so i don't > > want the

Re: A Question about GtkTreeSortable

2005-10-20 Thread Christian Neumair
Am Donnerstag, den 20.10.2005, 19:06 +0800 schrieb searun: > Hi , > > Now i want to use GtkTreeSortable to sort a list. The first entry in the > gtk_tree_view is an information entry which needn't to be sorted, so i don't > want the GtkTreeIterCompareFunc function use the first entry. In my progra

Re: A Question about GtkTreeSortable

2005-10-20 Thread Iago Rubio
On Thu, 2005-10-20 at 19:06 +0800, searun wrote: > Hi , > > Now i want to use GtkTreeSortable to sort a list. The first entry in the > gtk_tree_view is an information entry which needn't to be sorted, so i don't > want the GtkTreeIterCompareFunc function use the first entry. In my programe > i che

A Question about GtkTreeSortable

2005-10-20 Thread searun
Hi , Now i want to use GtkTreeSortable to sort a list. The first entry in the gtk_tree_view is an information entry which needn't to be sorted, so i don't want the GtkTreeIterCompareFunc function use the first entry. In my programe i check GtkTreeIter, if it is the same as the first iter, the GtkT

Re: Opening GUI with SSH

2005-10-20 Thread Vivien Malerba
2005/10/20, Suganya <[EMAIL PROTECTED]>: > Hi all, > > I upgraded my gtk from 2.0 to 2.8. > > Now I could not open GUI windows of other machines using SSH. > > Expecting suggestions. > Did you try ssh -X ? ___ gtk-app-devel-list mailing list gtk-app-deve