Re: [n00b] what's a smooth_draw_box?

2007-12-17 Thread Daniel Fetchinson
> > I've just started with GTK and been going through the tutorial and > > examples. My first small application is working all right but the > > following (I guess) warning keeps being written to the console: > > > > CRITICAL **: smooth_draw_box: assertion `width >= -1' > > This looks like a messag

Re: [n00b] what's a smooth_draw_box?

2007-12-17 Thread Brian J. Tarricone
On Mon, 17 Dec 2007 18:30:57 -0800 Daniel Fetchinson wrote: > Hi list, > > I've just started with GTK and been going through the tutorial and > examples. My first small application is working all right but the > following (I guess) warning keeps being written to the console: > > CRITICAL **: smo

[n00b] what's a smooth_draw_box?

2007-12-17 Thread Daniel Fetchinson
Hi list, I've just started with GTK and been going through the tutorial and examples. My first small application is working all right but the following (I guess) warning keeps being written to the console: CRITICAL **: smooth_draw_box: assertion `width >= -1' and strangely enough Google doesn't

Re: Application with plugins

2007-12-17 Thread Jordan Walsh
I use gmodule in Glib to load my modules. Every plugin must have an init() function that is called when the module loads. In the init function the plugin can use application interfaces to "hook" itself onto pre-defined application functions, or create their own to hook into. It is much simpler than

Re: App blueprint, advice please!

2007-12-17 Thread Dan H
On Mon, 17 Dec 2007 08:52:11 -0500 Patrick <[EMAIL PROTECTED]> wrote: > So as Dan was saying, I can launch other programs written in other > languages from system() function calls. So I could link lots of > them together regardless of language they are written in and if I > really needed to I cou

Re: App blueprint, advice please!

2007-12-17 Thread Patrick
Thanks to Dan and John for your last posts and thanks to all. I am really delighted with the response to my question! So it looks like the I could use Bash to spawn other programs but it is likely problematic and no one actually recommends it as a first option. So as Dan was saying, I can launc

Re: Is it possible to show a image in the notebook tab label place?

2007-12-17 Thread Damien Caliste
Hello, Le 17/12/2007, Binary Chen <[EMAIL PROTECTED]> a écrit : > I want to show a picture in the notebook tab label place, instead just > show a plain text, how can I do this? The tab label is not limited to GtkLabel. You can put whatever widget you want (an image, a button...), see: http://libra

Re: Can I make a not aligned gtk treeview?

2007-12-17 Thread Binary Chen
Hi Michael, Finally I solved the problem by this way! Thanks. Bin On Mon, 2007-12-17 at 11:44 +0100, Mikael Hallendal wrote: > 17 dec 2007 kl. 08.29 skrev Binary Chen: > > Hi, > > A TreeView will always align the columns. However, to achieve the > behavior you look for you can pack two cell

Reparsing with GtkBuilder

2007-12-17 Thread amol
Hi If i used gtk_builder_add_from_string to parse some string for builder which already has some content then application terminates with following message >Gtk-ERROR **: file gtkbuilder.c: line 567 (apply_delayed_properties): assertion failed: (object != NULL) if builder had already set some

Re: Can I make a not aligned gtk treeview?

2007-12-17 Thread Mikael Hallendal
17 dec 2007 kl. 08.29 skrev Binary Chen: Hi, A TreeView will always align the columns. However, to achieve the behavior you look for you can pack two cell renderers into the same column. Cheers, Mikael Hallendal > Hi, > > I have a gtktreeview with two column, the first one is pixbuf, the

Re: App blueprint, advice please!

2007-12-17 Thread jcupitt
On Dec 16, 2007 9:21 PM, Patrick <[EMAIL PROTECTED]> wrote: > I don't need much convincing that the > whole Bash as a nervous system + (Python/C/Ruby etc) as the muscle is a > dumb idea! I did something slightly similar (quite) a few years ago to control a large painting scanner. The program had t

Re: GtkTreeView: how to reduce size of cell

2007-12-17 Thread Abirami.T
hi, The padding space can be reduced by setting the style parameter "vertical-separator" through rc file. The height of the cell renderer can also be set to a lesser value using the "height" style property. Regards, Abirami. - Original Message - From: "Romain Liévin" <[EMAIL P

Re: App blueprint, advice please!

2007-12-17 Thread Dan H
On Sun, 16 Dec 2007 16:21:02 -0500 Patrick <[EMAIL PROTECTED]> wrote: > I have wanted to learn Ruby for a while now, I could definitely do > that. Nicola was saying that my Bash idea might be a problem > because of the spawn time involved with bash. Whether you can or cannot live with certain "sp