[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Problem With Setting GtkCellRendererText in a Tree View..



Thanks David... its working fine now...

Regds,
Bijoy.

On Saturday 24 May 2003 05:21 pm, David M. Cook wrote:
> On Thu, May 22, 2003 at 05:12:33PM +0000, Bijoy Chandrasekharan wrote:
> > But my problem is that i get the "edited" signal only when a
> > 'enter' or 'tab' key is pressed or I click on the tree view.
>
> It's also called, I'm pretty sure, when there's a focus-out event on that
> editable (which is why it's called when you click on the treeview).  So in
> your OK button clicked callback, you might try grabbing focus, processing
> pending events, then saving the contents of the store. In Python:
>
> def on_ok_clicked(button, data_store):
>     button.grab_focus()
>     while gtk.events_pending():
>         gtk.main_iteration()
>     data_store.save()
>
>
> Dave Cook
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]