Re: Tabbed Usage



Lars said:

>> + Tabbed organisation of open diagrams (Like Firefox's pages) and the
>> toolbox window all being in one consolidated environment. If this is
>> possible already can you please explain, how can I do this?

> That is not currently possible, I'm afraid. I'm loath to try to implement
> such a thing myself, so it'll have to be based on what GTK offers. What
> I'd like is something like KDE's draggable subwindows, but possibly a
> GtkNoteBook and the toolbox together in a window would be an alternative.
> I'd like it to be user configurable in some other way than through
> preferences, but that may be a little much. Maybe the preferences setting
> should be "Gimp-like UI" (menu on right mouse, loose windows) vs.
> non-Gimp-like (menubar, one window with tabs).

I was happy to find this. I was thinking of something along these lines. I just started looking at the code. If someone could suggest an approach I could start working on this. I was thinking of starting with a simple glade project and trying to make the Dia pieces loadable widgets but maybe it makes more sense to create an alternate UI that's integrated in the project.

It looks like I would start hacking in app_init():

void app_init(int argc, char** argv) {
/* ... */

prefs_init();

if (dia_is_interactive) {
if( dia_gimp_like_ui_interface_selected )
init_gimp_like_ui();
else
init_non_gimp_like_ui();


Of course I don't have a clue about what kind of changes this would entail.




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