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 o

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

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 t

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 gtk-app-devel-list@gn

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-cl

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 = gtk

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 __

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, "xali

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", G_CALLBACK(pres

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 gtk-app-devel-list@gno

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

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 _

which level (directfb or gtk++)shoud I use to draw image?

2007-09-21 Thread summer xia
hello all I am developing a media player on Linux. We choose the Gtk+ based on DirectFB is our GUI library. But I wonder to know which level API should be choosed when draw image on LCD, use Gtk+ object such as GdkPixbuf, GdkImage and so on, or use IDirectFB,IDirectFBSurface and so on? If I want t