select point in a graph using keyboard,not clicj event

2007-09-21 Thread ferri_marllo
Hello!! I,ve built an appilcation which plot a graph into a canvas,i'd like to connect two signals to it...one of this is to move a cursor inside(key_press_event),but i'd like too that eaxh time i press c in a graph(on point)it will be seected... how can i do it

Re: Animation with GTK+

2007-09-21 Thread geminitojanus
On 9/12/07, Prokopenko, Konstantyn [EMAIL PROTECTED] wrote: Hello, I'm totally new to the GUI application development in Linux X11. I was mostly involved in embedded non-graphical development. Now I need to create GUI interface application using GTK+. Could you advise me the best way to

add mark to a point in a gtkplot pressing 'c'

2007-09-21 Thread ferri_marllo
hello again... i solve part of my problem(i ask before),but now the problem is that i want to mark a point in my graphic,pressing 'c' key,not clicking on it... how can i do it?? thanks a lot... ___ gtk-app-devel-list mailing list

emit keypress event into event loop

2007-09-21 Thread vano
Hello, Anybody has idea how to emit in GTK (2.11.6) some keypress event into main event loop? I have mouse clickable button and want to send to my text_view a keyboard press. I'm doing this way: in main code: g_signal_connect(G_OBJECT(my_button), button-press-event,

start-editing signal?

2007-09-21 Thread Allin Cottrell
I'm trying to connect a callback to start-editing on a cell renderer, but I must be doing something wrong. My code is basically static void create_cell_renderer (gpointer p) { GtkCellRenderer *r; r = gtk_cell_renderer_text_new(); g_object_set(r, ypad, 1, xalign,

Re: start-editing signal?

2007-09-21 Thread Allin Cottrell
On Fri, 21 Sep 2007, Allin Cottrell wrote: I'm trying to connect a callback to start-editing on a cell renderer, but I must be doing something wrong. Duh, sorry, that should be editing-started, not start-editing. Then it works. Allin Cottrell

Re: start-editing signal?

2007-09-21 Thread Yeti
On Fri, Sep 21, 2007 at 03:11:12PM -0400, Allin Cottrell wrote: I'm trying to connect a callback to start-editing on a cell renderer, but I must be doing something wrong. My code is basically static void create_cell_renderer (gpointer p) { GtkCellRenderer *r; r =

Re: start-editing signal?

2007-09-21 Thread Allin Cottrell
On Fri, 21 Sep 2007, David Ne?as (Yeti) wrote: Start with the correct signal name... Yes, sorry about that. But here's a real question about cell editing in a treeview. I can make the point by reference to gtk-demo: 1. Start gtk-demo and select Editable cells under Tree View. Double-click

RE: start-editing signal?

2007-09-21 Thread Prewitt, Nathan C ERDC-ITL-MS Contractor
On my machine, it did not revert back to bottles of coke. Depending on where I moved the pointer, it either made the change to foo or it left foo and I was still able to edit the cell. ___ gtk-app-devel-list mailing list

Re: Row number in TreeView

2007-09-21 Thread Claudio Saavedra
On Mon, 2007-09-17 at 09:29 +0100, Lukasz Gromotowicz wrote: gint* i = gtk_tree_path_get_indices (path); I think you should use the appropriate gtkmm API to do that. Something like gint *i = path.get_indices(); or so. I only told you about the generic C method, but you should map that to

RE: start-editing signal?

2007-09-21 Thread Allin Cottrell
On Fri, 21 Sep 2007, Prewitt, Nathan C ERDC-ITL-MS Contractor wrote: On my machine, it did not revert back to bottles of coke. Depending on where I moved the pointer, it either made the change to foo or it left foo and I was still able to edit the cell. Interesting. The machine from

RE: start-editing signal?

2007-09-21 Thread Allin Cottrell
On Fri, 21 Sep 2007, Prewitt, Nathan C ERDC-ITL-MS Contractor wrote: On my machine, it did not revert back to bottles of coke. Depending on where I moved the pointer, it either made the change to foo or it left foo and I was still able to edit the cell. A relevant question occurs to