#include <wx/taskbarbutton.h>
This class represents a category of jump list in the taskbar button.
There are four kinds of categories in Windows: Recent, Frequent, Tasks and custom.
Public Member Functions | |
| wxTaskBarJumpListCategory (wxTaskBarJumpList *parent=NULL, const wxString &title=wxEmptyString) | |
| Constructs the jump list category. More... | |
| virtual | ~wxTaskBarJumpListCategory () |
| wxTaskBarJumpListItem * | Append (wxTaskBarJumpListItem *item) |
| Appends a jump list item. More... | |
| void | Delete (wxTaskBarJumpListItem *item) |
| Deletes the jump list item from the category. More... | |
| wxTaskBarJumpListItem * | Remove (wxTaskBarJumpListItem *item) |
| Removes the jump list item from the category but doesn't delete the associated C++ object. More... | |
| wxTaskBarJumpListItem * | FindItemByPosition (size_t pos) const |
| Returns the wxTaskBarJumpListItem given a position in the category. More... | |
| wxTaskBarJumpListItem * | Insert (size_t pos, wxTaskBarJumpListItem *item) |
| Inserts the given item before the position pos. More... | |
| wxTaskBarJumpListItem * | Prepend (wxTaskBarJumpListItem *item) |
| Inserts the given item at position 0, i.e. More... | |
| void | SetTitle (const wxString &title) |
| Sets the title of the category. More... | |
| const wxString & | GetTitle () const |
| Gets the title of the category. More... | |
| const wxTaskBarJumpListItems & | GetItems () const |
| Gets the jump list items of the category. More... | |
| wxTaskBarJumpListCategory::wxTaskBarJumpListCategory | ( | wxTaskBarJumpList * | parent = NULL, |
| const wxString & | title = wxEmptyString |
||
| ) |
Constructs the jump list category.
| parent | Jump list that the jump list category belongs to. Can be NULL if the category is going to be added to the jump list later. |
| title | The title of the category. |
|
virtual |
| wxTaskBarJumpListItem* wxTaskBarJumpListCategory::Append | ( | wxTaskBarJumpListItem * | item | ) |
Appends a jump list item.
| item | The jump list item to be appended. It will be owned by the wxTaskBarJumpListCategory object after this function is called, so do not delete it yourself. |
| void wxTaskBarJumpListCategory::Delete | ( | wxTaskBarJumpListItem * | item | ) |
Deletes the jump list item from the category.
| item | The jump list item to be deleted. |
| wxTaskBarJumpListItem* wxTaskBarJumpListCategory::FindItemByPosition | ( | size_t | pos | ) | const |
Returns the wxTaskBarJumpListItem given a position in the category.
| const wxTaskBarJumpListItems& wxTaskBarJumpListCategory::GetItems | ( | ) | const |
Gets the jump list items of the category.
| const wxString& wxTaskBarJumpListCategory::GetTitle | ( | ) | const |
Gets the title of the category.
| wxTaskBarJumpListItem* wxTaskBarJumpListCategory::Insert | ( | size_t | pos, |
| wxTaskBarJumpListItem * | item | ||
| ) |
| wxTaskBarJumpListItem* wxTaskBarJumpListCategory::Prepend | ( | wxTaskBarJumpListItem * | item | ) |
| wxTaskBarJumpListItem* wxTaskBarJumpListCategory::Remove | ( | wxTaskBarJumpListItem * | item | ) |
Removes the jump list item from the category but doesn't delete the associated C++ object.
| item | The jump list item to be removed. |
| void wxTaskBarJumpListCategory::SetTitle | ( | const wxString & | title | ) |
Sets the title of the category.