Re: The Menubar (Re: cvs commit: libh/doc/hui hui.sgml)

Antoine Beaupre <[email protected]>
Newsgroups gmane.os.freebsd.devel.libh
Message-ID <[email protected]>
Le vendredi 14 juin 2002, à 03:13 PM, Max Okumoto a écrit :

> The Anarcat <[email protected]> writes:
>>> okumoto     2002/06/14 02:40:19 CDT
>>>
>>>  Modified files:
>>>    doc/hui              hui.sgml
>>>  Log:
>>>
>>>  Note: We need to ether decide on a protcol to control the shared
>>>  menu bar or we need to have menubars associated with windows.
>>>
>> I think  it would be problematic to make TVision have one menu bar per
>> window. It would mean hacking tvision, and I don't think anyone wants 
>> that.
>>
>> However, we can change the only tvision menubar at will. A bit like Mac
>> OS does. I know it sucks, but it's a valid workaround.
>>
>> In both cases, each window can have its own menu bar: in Qt, the menu
>> bar shows up in the window and therefore the menu bars can be shown
>> together, and in TVision, the menu bar changes as the window focus 
>> changes.
>>
> Actually that is what I was going to suggest.  Otherwise we are going to
> have to write some sort of protocol document that everyone writing 
> scripts
> for libh will have to follow to prevent menu bar confusion.

Exactly. Not desireable.

> I haven't looked at the scripts much be I think we will have to 
> restructure
> it a little, and create what I call subtasks.  For instance the 
> disksetup
> code creates a dialog box, but I think people might want to go back and
> change things after they start adding packages and stuff.

Yes. What I thougth of doing at first when I wrote the disk editor was 
to enclose it in a "widget/container" of some kind so that it could 
easily be embeded in another application. I could not find that widget 
so I simply made that a dialog.

Changing that is pretty easy, once we figure the proper scheme.

I like the subtasks idea very much, it's how I think it should be.

Also, note that packages installed *might* have configuration dialogs 
themselves, and actually, most configuration dialogs belong not to the 
installer, but to the packages themselves. For example, the network 
configuration dialog might belong to the "network" package containing 
files such as ifconfig(1).

>> BTW: do you have the Qt menubar bug described in BUGS on the cleanup 
>> branch?
>
> I am looking into both those bugs now.

Both? What's the other one?

A.


To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-libh" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.