gradient colors & styles

2003-03-01 Thread bajcik
Hello, I'm working on a swapping system symulator (in gtk+2.0). I was using widget->style to plot any symbols till now. Now I need to show a value in a range. I can declare a GdkGC *table[256], but which colors will be suitable with every style? I could solve it in two ways: 1. Use ONLY custom

blinking cursor/focus problems?

2003-03-01 Thread Carl B. Constantine
I set up a bunch of widgets in a window. some are GtkTreeView, some are GtkEntry widgets, one is a menu, one is a button, one is a GtkTextView. For the GtkEntry and GtkTextView's, I have the cursor/text visible and editable selected in Glade. All widgets have "can focus" set. Now, when I run my ap

cell renderers question.

2003-03-01 Thread Carl B. Constantine
I'm writting a program (screen shots posted here before) that uses many GtkTreeView's in a window. I'm using them as a list, so I have several ListStore's (one for each view). Some views have many columns, a couple have 2, and one has 1 column. I call gtk_tree_view_append_column for each column i

Re: how to reset a gnome canvas?

2003-03-01 Thread Ottavio Campana
On Sun, Feb 23, 2003 at 02:58:01PM -0500, Paul Davis wrote: > >How can I delete all the things that I've previously put in a canvas? > > take the top level canvas group, and: > > gtk_object_destroy (GTK_OBJECT(group)); > > probably make that: > > g_object_destroy (GOBJECT(group)); >