RE: g_object_class_install_property

2006-08-23 Thread Madhusudan E
Hi Daniel and Tristan, Thanks for your replies. I did succeed installing the properties, more or less same as you have defined in the example. I have one concern here, After I had installed the properties , I had used g_object_new (GTK_TYPE_WIDGET, NULL) to create the object in gtk_widget

Re: using pipes with g_spawn_command_line_sync

2006-08-23 Thread Luka Napotnik
I expected "1" but got the command itself. And when appending /bin/sh at start, the returned status is != 0 and the output is blank (empty string). On sre, 2006-08-23 at 16:08 -0400, Tristan Van Berkom wrote: > Luka Napotnik wrote: > > Hello. > > > > I am unable to run a command with g_spawn_comm

Re: using pipes with g_spawn_command_line_sync

2006-08-23 Thread Tristan Van Berkom
Luka Napotnik wrote: > Hello. > > I am unable to run a command with g_spawn_command_line_sync() that uses > pipes. For example "echo \"bla\" | wc -l" gives the exact output as the > command insted "1". Other commands without the pipe execute with no > problem. What's the problem? I'm afraid that

using pipes with g_spawn_command_line_sync

2006-08-23 Thread Luka Napotnik
Hello. I am unable to run a command with g_spawn_command_line_sync() that uses pipes. For example "echo \"bla\" | wc -l" gives the exact output as the command insted "1". Other commands without the pipe execute with no problem. What's the problem? Greets, Luka ___

Re: gtktreeview

2006-08-23 Thread Paul Pogonyshev
Andrea Zagli wrote: > is there a way to have various cellrender type for each row for the same > column? > > example: > > row 1 with gtkcellrenderertext > row 2 with gtkcellrenderercombo > row 3 with gtkcellrenderertext > row 4 with gtkcellrenderertoggle No (at least not that I know of.) But yo

Re: g_object_class_install_property

2006-08-23 Thread Daniel Espinosa
For an example of how to create GObjects (all GktWidgets are derived from it), you can check the code in CVS for diferent objects in Gnome-DB in: http://cvs.gnome.org/viewcvs/libgnomedb/libgnomedb/ Gnome-Db defines a lot of new Widgets to manipulate data from Data Bases, then I think is a good ex

Re: Quick redraw in a plot

2006-08-23 Thread Tristan Van Berkom
Alexandre wrote: > Hi, > > I creating something like a osciloscope, with gtk on Linux. > I've created a plotting widget to plot the data collected. So, I have to > redraw this plotting widget very quickly to show the data (witch changes very > quickly). > There is one thread (separeted f

Quick redraw in a plot

2006-08-23 Thread Alexandre
Hi, I creating something like a osciloscope, with gtk on Linux. I've created a plotting widget to plot the data collected. So, I have to redraw this plotting widget very quickly to show the data (witch changes very quickly). There is one thread (separeted form the main thread) wich do th

Re: g_object_class_install_property

2006-08-23 Thread Tristan Van Berkom
Madhusudan E wrote: > Hi, > The property wasn't defined on the object, But it started working when I > defined the first_property in g_object_new(). > > I have a query here, > Doesn't the gobject_class->set_property function be invoked without sending > the first_property parameter in g_object_new

gtktreeview

2006-08-23 Thread Andrea Zagli
is there a way to have various cellrender type for each row for the same column? example: row 1 with gtkcellrenderertext row 2 with gtkcellrenderercombo row 3 with gtkcellrenderertext row 4 with gtkcellrenderertoggle ecc ecc ___ gtk-app-devel-list maili

Fwd: Resizing window

2006-08-23 Thread Fernando ApesteguĂ­a
-- Forwarded message -- From: Iago Rubio <[EMAIL PROTECTED]> Date: Aug 22, 2006 12:40 PM Subject: Re: Resizing window To: gtk-app-devel-list@gnome.org On Tue, 2006-08-22 at 11:54 +0200, Iago Rubio wrote: > On Tue, 2006-08-22 at 09:22 +0200, Fernando ApesteguĂ­a wrote: > > I'm still