RE: Example programs using GtkCellRendereCombo

2006-06-01 Thread Sailaxmi korada
Hi, Thanks for your suggestion, however I did a mistake. I declared the column to hold the value of Boolean, hence the conversion. But still I'm not able to get the look and feel of GtkCellRendererCombo, and how can attach any signal to it. Any help. Regards Laxmi _ From: Greg

Re: Memory allocation using g_malloc

2006-06-01 Thread Greg Suarez
On 5/30/06, 3saul <[EMAIL PROTECTED]> wrote: Thanks for the response. Let me elaborate a little. I have a list of files in a dir (without knowing how many) a.txt b.txt c.txt I want to be able to put the names of the files into an array so that I can refer to them later like this array[0][0]

GtkIconView: reorderable and enable_mode_drag_dest incompatible?

2006-06-01 Thread tomas
Hi, GTK gurus this is driving me nuts. I am trying to set up an GtkIconView (with a GtkListStore as data model), pretty standard stuff, gathered from tutorials here and there. My problem is that I can't manage to keep the thing reorderable *and* accept drops from other apps. Here are the relevant

Re: How to hide the column header of a GtkTreeViewColumn

2006-06-01 Thread Yeti
On Thu, Jun 01, 2006 at 09:26:44AM -0700, Greg Suarez wrote: > Does anyone know how to hide the column header of a GtkTreeViewColumn (if > it's even possible)? gtk_tree_view_set_headers_visible() can hide/show all headers. Hiding headers individually does not make sense to me. Yeti -- Anonyms

Getting gnome preferred email-client

2006-06-01 Thread Greg Suarez
Hi all, I was wondering how to go about determining the peferred web-browser and email-client set by the user? Thanks, Greg Suarez ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-li

How to hide the column header of a GtkTreeViewColumn

2006-06-01 Thread Greg Suarez
Does anyone know how to hide the column header of a GtkTreeViewColumn (if it's even possible)? Thanks, Greg Suarez ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How to limit signal propagation?

2006-06-01 Thread Daniel Haude
On Thu, 01 Jun 2006 17:19:26 +0200, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote: gtk_widget_queue_draw(widget) just invalidates the complete widget window. Therefore it is [locally] idempotent and once the main loop gets to redrawing -- which happens after all the signal processing -- the wid

Re: "Failed to open file 'Hp\u0008\u0008': No such file or directory."

2006-06-01 Thread Stefano Esposito
On Thu, 01 Jun 2006 16:39:44 +0200 Christian Neumair <[EMAIL PROTECTED]> wrote: > Where does glib_fname come from? Maybe it is a static or a global > variable declared outside the function? Maybe you could also post the > lines before the open_file invocation? Nope, glib_fname comes from a trial

Re: How to limit signal propagation?

2006-06-01 Thread Yeti
On Thu, Jun 01, 2006 at 05:06:16PM +0200, Daniel Haude wrote: > > This widget has no less than five adjustments associated with it -- the > widget lets the user select a rectangular region from a large square area; > the rectangle has a center point, a width, a height, and it can be > rotate

How to limit signal propagation?

2006-06-01 Thread Daniel Haude
Hello, now I that I goy my custom widget working, of course there are more questions. This widget has no less than five adjustments associated with it -- the widget lets the user select a rectangular region from a large square area; the rectangle has a center point, a width, a height, and

Re: "Failed to open file 'Hp\u0008\u0008': No such file or directory."

2006-06-01 Thread Christian Neumair
Am Donnerstag, den 01.06.2006, 15:51 +0200 schrieb Stefano Esposito: > > this code gives me the error from the subject (or someone equivalent). > Any hint would be greatly appreciated. > ... > int open_file (gchar *fname, gchar *text) > { > /*fname is the return value of gtk_file_chooser_get_fi

"Failed to open file 'Hp\u0008\u0008': No such file or directory."

2006-06-01 Thread Stefano Esposito
Hi all, this code gives me the error from the subject (or someone equivalent). Any hint would be greatly appreciated. Thanks Stefano ... int open_file (gchar *fname, gchar *text) { /*fname is the return value of gtk_file_chooser_get_filename, used on a gtk_file_chooser_dialog*/ GE

Re: Custom widget headache

2006-06-01 Thread Daniel Haude
On Wed, 31 May 2006 18:06:08 +0200, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote: What the assignment *area = area_null is supposed to do? God I'm stupid. Actually, this single line would have been enough as a reply. Thanks for wasting your time with me. I really appreciate it. Well, pr