Pango advice?

2006-08-30 Thread kadil
Hi, I want to use pango in an app to render text to a drawingarea. I have seen examples that show how to render text in a textview, but not to a drawingarea. Can you specify the width of the layout to be rendered, into a drawingarea, with text wrapping and determine the height of the layout. Is

What's wrong with my button callback

2006-06-29 Thread kadil
I used glade to "build" some a simple app. Why does my on_button1_clicked callback segfault. The very same function call works in the expose event. Thanks, Kim #ifdef HAVE_CONFIG_H # include #endif #include #include "callbacks.h" #include "interface.h" #include "support.h" static GdkPixmap

Animated interface question

2006-06-07 Thread kadil
I wrote an application that displayed multiple animated sequences and moved them around the screen to represent machine activities. I bit like a 2d game The way that I did it was to create arrays (yes I know I should have used linked lists) of structures that wrapped up each frame of the animated

Re: Can a treeview do this?

2006-03-01 Thread kadil
On Thu, 2006-03-02 at 13:43 +1100, [EMAIL PROTECTED] wrote: > Tristan Van Berkom <[EMAIL PROTECTED]> wrote: > > > > > Maybe you could write a custom treeview implementation to use with > > GtkTreeStore (seems you would only have to place your cells differently > > than treeview does); but t

Re: Can a treeview do this?

2006-03-01 Thread kadil
ed visible borders between the cells (5) Just to be difficult, I want to code in csharp (mono and friends) (6) Accommodate thousands of rows with responsive performance. Kim On Mon, 2006-02-27 at 20:56 +1000, kadil wrote: > I don't think a treeview can render this tree structured data that w

Re: Can a treeview do this?

2006-02-27 Thread kadil
On Mon, 2006-02-27 at 16:29 +0100, Gus Koppel wrote: > kadil wrote: > > > I don't think a treeview can render this tree structured data that way I > > wanted. The way I want it and the type of data is shown below: > > > > _

Can a treeview do this?

2006-02-27 Thread kadil
I don't think a treeview can render this tree structured data that way I wanted. The way I want it and the type of data is shown below: | Function | Funct Failure| Failure Mode |

Re: clearing gtkliststore and gtktreestore

2006-02-23 Thread kadil
I have had problems in this area as well. Using gtk# & mono, if I use gtk_tree_store_clear, then I cannot add more rows. I haven't really looked into it yet. I just removed rows one at a time until they are all gone. Not nice, but it will do for now. Kim On Wed, 2006-02-22 at 17:07 +0100, Chris

glade debug warnings

2006-01-28 Thread kadil
Hi, When writing glade# code in monodevelop, I get the following warnings: [Task:File=/home/kadil/Projects/testglade2/Main.cs, Line=60, Column=15, Type=Warning, Description=The private method `GladeApp.on_button1_clicked(object, System.EventArgs)' is never used(CS0169) I get one of

Saving Liststores and treestores to files

2006-01-16 Thread kadil
Hi, I am interested in finding out appropriate ways to save data in my residing in treestores and liststores. I have not found any tutorials suggesting an approach, however the custom models is related. I have heard of serialization, but never used it. I would appreciate advice as I am fundamental

Re: combo rant

2005-11-26 Thread kadil
Checkout combobutton from Gtkextra. Very flexible. I used it to put a calendar widget in a combo. I requested it be moved into gtk. Whatever, I like it and will continue to use it. Kim On Thu, 24 Nov 2005 05:55 am, control H wrote: > [I already posted this to the gtk-list, I'm not sure which