Re: Newbie needs help: gtk_entry's stopped accepting key stroke entires

2007-05-09 Thread crazyluke
FIXED!! I hope the moderator leaves this on the forum: It was not Google-able ... just in case someone else pulls a bone-head move like I did. This code was working as a key event handler: static int key_pressed3(GtkWidget* w, GdkEventKey* event, gpointer data) { if (event-keyval ==

Re: Newbie needs help: gtk_entry's stopped accepting key stroke entires

2007-05-09 Thread Sven Neumann
Hi, On Tue, 2007-05-08 at 10:46 -0700, crazyluke wrote: This code was working as a key event handler: static int key_pressed3(GtkWidget* w, GdkEventKey* event, gpointer data) { if (event-keyval == 65293) actionOptions(w, data); return true; } Your code returns

Fixing the GtkTreeModel::row-deleted inconsistency

2007-05-09 Thread Kristian Rietveld
Hi, In the past all GtkTreeModels used to emit the row-deleted signal *after* a node had been fully deleted from the internal data structures. This means that it is not possible to get an iter to that node any longer. When fixing up the GtkTreeModelSort and GtkTreeModelFilter long ago, it

Re: Fixing the GtkTreeModel::row-deleted inconsistency

2007-05-09 Thread Sven Neumann
Hi, On Wed, 2007-05-09 at 14:06 +0200, Kristian Rietveld wrote: Currently this behavior is inconsistent in GTK+, as the GtkListStore and GtkTreeStore still emit row-deleted *after* deleting a node. For the sake of consistency I would like to modify both models to also emit row-deleted

libglade and GObject support

2007-05-09 Thread Alberto Mardegan
Hi all, it seems to me that libglade doesn't support yet GtkSizeGroup and other non-GtkWidget objects. There's a patch attached to this bug report: http://bugzilla.gnome.org/show_bug.cgi?id=161903 but it has not been applied yet (after two years). What is blocking this patch? Without this

Re: libglade and GObject support

2007-05-09 Thread Tristan Van Berkom
On Wed, 2007-05-09 at 15:26 +0300, Alberto Mardegan wrote: Hi all, it seems to me that libglade doesn't support yet GtkSizeGroup and other non-GtkWidget objects. There's a patch attached to this bug report: http://bugzilla.gnome.org/show_bug.cgi?id=161903 but it has not been applied

Re: Some comments about GVFS

2007-05-09 Thread Andy Wingo
Hello, On Tue, 2007-05-08 at 16:59 +0200, Alexander Larsson wrote: I'm still not sure why gstreamer needs to run its own mainloop in its thread though. If its async, then it should be able to use the default mainloop. Is it because there is no guarantee of the default mainloop running always?

Re: How to determine EOF after g_io_channel_read_to_end?

2007-05-09 Thread Hu Zheng
I get it. G_IO_STATUS_NORMAL just means EOF, or it will return G_IO_STATUS_AGAIN. Thanks :) 在 2007-05-09三的 15:06 +0800,Hu Zheng写道: I want to implement the http client by iochannel, just send the request, then save all the data to a buffer util the connection is closed. Because the data may be

setting font height for GtkTextview using pango

2007-05-09 Thread prabahar k
Hi i am using pango fontdesc to set the font type, size for a GtktextView. Is there any way to change the font height using pango. i have attached a screen shot of output. you can see the white space between two lines (top and bottom of each row). how to avoid those spaces. Please give

Displaying iso 6937-2 character set letters in GtkWidget

2007-05-09 Thread prabahar k
hi I need a way to use iso 6937-2 set for display it in console or on a suitable GTK widget (suggest any) through a c program. I found that this set is available in /usr/lib/gconv/folder as iso_6937-2.so file. how do we use it in a c program. Please give suggestion about this. Thanks

Re: Displaying iso 6937-2 character set letters in GtkWidget

2007-05-09 Thread Yeti
On Wed, May 09, 2007 at 08:31:11PM +0530, prabahar k wrote: I need a way to use iso 6937-2 set for display it in console or on a suitable GTK widget (suggest any) through a c program. I found that this set is available in /usr/lib/gconv/folder as iso_6937-2.so file. how do we use it in

How to create more space leading to and trailing PangoLayout text output with background color?

2007-05-09 Thread Daniel Yek
Hi, In a widget subclass, I'm using a PangoLayout object to render a markup string. Because white spaces in the markup is discarded, I am looking for a way to control the space rendered leading to the text and the spaces trailing to it. The spaces have different background color than the