• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/include/wx/gtk1/

Lines Matching refs:item

28 // first item precedes the second, +1 if the second precedes the first or 0 if
43 // in the client area but below the last item.
45 // on the button associated with an item.
47 // on the bitmap associated with an item.
49 // in the indentation associated with an item.
51 // on the label (string) associated with an item.
53 // in the area to the right of an item.
55 // on the state icon for a tree view item that is in a user-defined state.
61 // anywhere on the item
87 // is this a valid tree item?
90 // conversion to/from either real (system-dependent) tree item id or
91 // to "long" which used to be the type for tree item ids in previous
97 void operator =(GtkTreeItem *item) { m_itemId = item; }
104 // wxTreeItemData is some (arbitrary) user class associated with some item. The
125 // accessors: set/get the item associated with this node
172 // normal tree item state (whether it is selected or not).
174 // which corresponds to an app-defined item state (for example,
183 // member functions of wxTreeItem because they must know the tree the item
191 wxString GetItemText(const wxTreeItemId& item) const;
192 // get the normal item image
193 int GetItemImage(const wxTreeItemId& item) const;
194 // get the data associated with the item
195 wxTreeItemData *GetItemData(const wxTreeItemId& item) const;
201 void SetItemText(const wxTreeItemId& item, const wxString& text);
202 // set the normal item image
203 void SetItemImage(const wxTreeItemId& item, int image);
204 // associate some data with the item
205 void SetItemData(const wxTreeItemId& item, wxTreeItemData *data);
207 // item status inquiries
210 // is the item visible (it might be outside the view or not expanded)?
211 bool IsVisible(const wxTreeItemId& item) const;
212 // does the item has any children?
213 bool ItemHasChildren(const wxTreeItemId& item) const;
214 // is the item expanded (only makes sense if HasChildren())?
215 bool IsExpanded(const wxTreeItemId& item) const;
216 // is this item currently selected (the same as has focus)?
217 bool IsSelected(const wxTreeItemId& item) const;
224 size_t GetChildrenCount(const wxTreeItemId& item, bool recursively = true);
229 // wxTreeItemId.IsOk() will return false if there is no such item
231 // get the root tree item
234 // get the item currently selected (may return NULL if no selection)
237 // get the parent of this item (may return NULL if root)
238 wxTreeItemId GetItemParent(const wxTreeItemId& item) const;
247 // get the last child of this item - this method doesn't use cookies
248 wxTreeItemId GetLastChild(const wxTreeItemId& item) const;
250 // get the next sibling of this item
251 wxTreeItemId GetNextSibling(const wxTreeItemId& item) const;
253 wxTreeItemId GetPrevSibling(const wxTreeItemId& item) const;
255 // get first visible item
257 // get the next visible item: item must be visible itself!
259 wxTreeItemId GetNextVisible(const wxTreeItemId& item) const;
260 // get the previous visible item: item must be visible itself!
261 wxTreeItemId GetPrevVisible(const wxTreeItemId& item) const;
271 // insert a new item in as the first child of the parent
277 // insert a new item after a given one
284 // insert a new item in as the last child of the parent
290 // delete this item and associated data if any
291 void Delete(const wxTreeItemId& item);
295 // expand this item
296 void Expand(const wxTreeItemId& item);
297 // collapse the item without removing its children
298 void Collapse(const wxTreeItemId& item);
299 // collapse the item and remove all children
300 void CollapseAndReset(const wxTreeItemId& item);
302 void Toggle(const wxTreeItemId& item);
304 // remove the selection from currently selected item (if any)
306 // select this item
307 void SelectItem(const wxTreeItemId& item);
308 // make sure this item is visible (expanding the parent item and/or
309 // scrolling to this item if necessary)
310 void EnsureVisible(const wxTreeItemId& item);
311 // scroll to this item (but don't expand its parent)
312 void ScrollTo(const wxTreeItemId& item);
314 // start editing the item label: this (temporarily) replaces the item
315 // with a one line edit control. The item will be selected if it hadn't
318 wxTextCtrl* EditLabel(const wxTreeItemId& item,
320 // returns the same pointer as StartEdit() if the item is being edited,
321 // NULL otherwise (it's assumed that no more than one item may be
324 // end editing and accept or discard the changes to item label
325 void EndEditLabel(const wxTreeItemId& item, bool discardChanges = false);
327 // sort the children of this item using the specified callback function
332 void SortChildren(const wxTreeItemId& item,
345 wxDEPRECATED( void ExpandItem(const wxTreeItemId& item, int action) );
352 wxDEPRECATED( int GetItemSelectedImage(const wxTreeItemId& item) const );
353 wxDEPRECATED( void SetItemSelectedImage(const wxTreeItemId& item, int image) );
355 // get the first child of this item
356 wxDEPRECATED( wxTreeItemId GetFirstChild(const wxTreeItemId& item, long& cookie) const );
358 wxDEPRECATED( wxTreeItemId GetNextChild(const wxTreeItemId& item, long& cookie) const );
372 void SendExpanding(const wxTreeItemId& item);
373 void SendExpanded(const wxTreeItemId& item);
374 void SendCollapsing(const wxTreeItemId& item);
375 void SendCollapsed(const wxTreeItemId& item);
376 void SendSelChanging(const wxTreeItemId& item);
377 void SendSelChanged(const wxTreeItemId& item);
390 void SendMessage(wxEventType command, const wxTreeItemId& item);
395 // insert a new item in as the last child of the parent