Ticket #2198 (new enhancement)

Opened 8 months ago

Last modified 8 months ago

BTabView::SetSelectionMessage()

Reported by: shinta Owned by: axeld
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1 development
Cc: Blocked By:
Platform: All Blocking:

Description

I want BTabView::SetSelectionMessage() like BListView::SetSelectionMessage().

It is convenient for handling change of tab. For example, displaying help message for current tab, partiall layouting for similar view like search/replace.

Attachments

TabView.cpp.Invoker (21.1 KB) - added by shinta 8 months ago.
TabView.h.Invoker (6.5 KB) - added by shinta 8 months ago.
These 2 files are prototype. These are lacking of at least Notify() overriding.

Change History

Changed 8 months ago by shinta

I thought about implementation.

If BTabView with SetSelectionMessage() is implemented normally (like BListView), BTabView inherits both BView and BInvoker. But, this way breaks binary compatibility because of FBC (Fragile Base Class) problem.

I think implementing BTabView by "has a" BInvoker won't be influenced by FBC problem. But, it is a bit trickky.

I think it is better to let this enhancement wait for after Haiku R1 (breaking binary compatibility).

Changed 8 months ago by shinta

Changed 8 months ago by shinta

These 2 files are prototype. These are lacking of at least Notify() overriding.

Note: See TracTickets for help on using tickets.