How to hide a tab in wxNotebook

wxWindows

    Next

  • 1. wxVListBox with ŠĆ╣ynamic?data
    ASked on stackoverflow but nobody is biting. I have a continuous stream of data that I want to place into a container. This container will either be of fixed size or dynamically constrained to a certain size at runtime. The latter may be preferable. When the container is full, the oldest data will be removed. I want to display this data using a wxVListBox because I need full control of the display. However there is a problem: the calls to OnDrawItem are not atomic meaning that once the container is full, each call the OnDrawItem will be accessing moving data, the result will be a non-contiguous display with missing elements. This is certainly true with any container with native array-like indexing, are required by OnDrawItem. I can simulate array-like indexing in a std::map using iterator indexing, if the key is sequential integer, then all the items will be ordered and the map can be pruned quite easily, but that seems like an inefficient hack. How can I solve this? Any other ideas or containers I haven't thought of?
  • 2. Event Diagnostics
    Does anyone know of a simple tool or method for getting diagnostics about wxWidgets events? I'm trying to improve the performance of a large wxWidgets app that processes thousands (maybe millions?) of events per second during certain tasks. It would be nice to be able to get a log on which events are being handled and when during those tasks.
  • 3. wxNotebook::SetSelection deprecated?
    I need to programmatically change the displayed notebook page in my application. In the online notes for wxNotebook, it says that SetSelection() is deprecated, and to use ChangeSelection instead. But it also says that SetSelection generates a page changing event, and that ChangeSelection does not. I'd rather not put together and post my own page-changing event. Why is SetSelection deprecated without having an event-generating replacement? Thanks.
  • 4. Opening an explorer window
    On windows, use: #include <shellapi.h> ... TCHAR const* dir = ...; ::ShellExecute( NULL, _T("explore"), dir, NULL, NULL, SW_SHOWNORMAL );
  • 5. wxDev-C++ doesn't accept unicode
    Hello: I'm newbie using wxDev-C++, I tried just a small example and noticed that editor doesn't accept unicode strings. is this normal or is there some tricks? thanks Gabriel

How to hide a tab in wxNotebook

Postby sunethpr » Wed, 29 Dec 2004 05:16:54 GMT

Hi,
I want to hide the tabs in a wxNotebook. My application will show
each page by calling the SetSelection() method in wxNotebook instead of
users clicking on the tabs on top. But so far I have not found a way to
do this. Any help will be appreciated. Thanks in advance.


Similar Threads:

1.wxNotebook Tab Hiding

Hi everyone,

    Is there any way to hide the tabs on wxNotebook? My application, 
sometimes, only has one tab available for the user and I would like to 
hide it when this happens, and show them again when two or more are 
available.

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail:  XXXX@XXXXX.COM 
For additional commands, e-mail:  XXXX@XXXXX.COM 

2.Hiding wxNotebook tabs

Hi all!

	I'd like to hide the tabs of a wxNotebook because I don't want to let 
the users to switch the pages (it's the programs job to switch, because 
not all the tabs should be available all the time). I couldn't find any 
style nor function to do this. Is there a way to do this or does here 
somebody know a better solution?

Thanks!

ps: The solution should work on both linux and Windows. In GTK I know 
the tabs are hideable, but I couldn't find it in wxWidgets (2.6.3)..


-- 
Kovs Tam

---------------------------------------------------------------------
To unsubscribe, e-mail:  XXXX@XXXXX.COM 
For additional commands, e-mail:  XXXX@XXXXX.COM 

3.wxPageSizer (was Hiding wxNotebook tabs)

Hello,

just wanted to know if there was a sizer doing exactly the notebook job, 
without any visual artifacts?
this sizer would:
- take the place of the biggest contained object
- allow to select one of the objects at a time

if not, it could be used as the placement principle for many widgets such as 
notebook,  wizard... it would avoid code duplication. I would have been 
happy to have when I made the options box of ecmerge.

so, is there already something like that?
Armel


4.AW: changing tabs width in wxNotebook

5.changing tabs width in wxNotebook

hi there, 

wxnotebook is the control that has different tabs and maybe an image on the
left side of the app - the problem is now, that in the german language we
have sometimes very long words to explain "what is on this reiter". instead
of sizing the tabs in wxnotebook, the text is cutted and the end is replaced
with "..." 

e.g.: 
Haupteinstellungen is changed into "Haupteinst..." 

Is there any function to change the width of the tabs? 

Kind regards, juergen

6. Vertical tab text in wxNotebook

7. wxNoteBook tab font

8. wxNotebook individual tab properties



Return to wxWindows

 

Who is online

Users browsing this forum: No registered users and 86 guest