[Glade-devel] Unbearabley Ultimate Undo Upgrade ....(patch)



On 5/24/05, Tristan Van Berkom <tvb gnome org> wrote:
I've been contemplating centralizing this logic somewhere
(like glade-key.[ch] or something)

The idea is to handle key events from GladeWidget widgets,
GladePlaceholder widgets, GtkFixed like widget containers (to
be defined) and the project window all in the same switch case;
I think this should help to provide some consistancy through
both the code base and the user experience.

it would also be important to handle cut/copy/paste
through here too.
what do you think ?
                                     -Tristan


I couldnt figure it out in that way, but Im a novice when it comes to
gtk.  In any case, a signal handler is going to have to be installed
for the widgets in the windows created by the project, where its done
automatically for the project window with the GtkItemFactoryEntry,
right? Does that force it to be done in more than one place?

Also as an after thought, in the future might it desireable to have
different undos for specific windows? E.x. undo in the property editor
undoes entries into the fields of the property editor, whereas undo
undoes creation/deletion/etc of widgets when the focus is on the
windows created by the project.

Maybe it would still be a good Idea to put all the callbacks that
house that logic in one file in any case?

     -Andy



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