IDAPython 9.0
Loading...
Searching...
No Matches
bookmarks_t Class Reference

Proxy of C++ bookmarks_t class.

Inheritance diagram for bookmarks_t:

Public Member Functions

 __init__ (self, *args, **kwargs)
 
 __init__ (self, w)
 
 __iter__ (self)
 Iterate on bookmarks present for the widget.
 
 __len__ (self)
 Get the number of bookmarks for the widget.
 
 __getitem__ (self, idx)
 Get the n-th bookmark for the widget.
 

Static Public Member Functions

"uint32" mark ("lochist_entry_t" e, "uint32" index, "char const *" title, "char const *" desc, "void *" ud)
 mark(e, index, title, desc, ud) -> uint32
 
"qstring *" get_desc ("lochist_entry_t" e, "uint32" index, "void *" ud)
 get_desc(e, index, ud) -> bool
 
"uint32" find_index ("lochist_entry_t" e, "void *" ud)
 find_index(e, ud) -> uint32
 
"uint32" size ("lochist_entry_t" e, "void *" ud)
 size(e, ud) -> uint32
 
"bool" erase ("lochist_entry_t" e, "uint32" index, "void *" ud)
 erase(e, index, ud) -> bool
 
"dirtree_id_t" get_dirtree_id ("lochist_entry_t" e, "void *" ud)
 get_dirtree_id(e, ud) -> dirtree_id_t
 
"PyObject *" get ("lochist_entry_t" out, "uint32" _index, "void *" ud)
 get(out, _index, ud) -> PyObject *
 

Public Attributes

 widget = w
 
 userdata = ida_kernwin.get_viewer_user_data(self.widget)
 
 template = lochist_entry_t()
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Constructor & Destructor Documentation

◆ __init__() [1/2]

__init__ ( self,
* args,
** kwargs )

◆ __init__() [2/2]

__init__ ( self,
w )
Build an object suitable for iterating bookmarks
associated with the specified widget.

Note: all ea_t-based widgets (e.g., "IDA View-*",
"Pseudocode-*", "Hex View-*", ...) share a common storage,
so bookmarks can be re-used interchangeably between them

Member Function Documentation

◆ __getitem__()

__getitem__ ( self,
idx )

◆ __iter__()

__iter__ ( self)

◆ __len__()

__len__ ( self)

◆ erase()

"bool" erase ( "lochist_entry_t" e,
"uint32" index,
"void *" ud )
static
Parameters
elochist_entry_t const &
indexuint32
udvoid *

◆ find_index()

"uint32" find_index ( "lochist_entry_t" e,
"void *" ud )
static
Parameters
elochist_entry_t const &
udvoid *

◆ get()

"PyObject *" get ( "lochist_entry_t" out,
"uint32" _index,
"void *" ud )
static
Parameters
outlochist_entry_t *
_indexuint32
udvoid *

◆ get_desc()

"qstring *" get_desc ( "lochist_entry_t" e,
"uint32" index,
"void *" ud )
static
Parameters
elochist_entry_t const &
indexuint32
udvoid *

◆ get_dirtree_id()

"dirtree_id_t" get_dirtree_id ( "lochist_entry_t" e,
"void *" ud )
static
Parameters
elochist_entry_t const &
udvoid *

◆ mark()

"uint32" mark ( "lochist_entry_t" e,
"uint32" index,
"char const *" title,
"char const *" desc,
"void *" ud )
static
Parameters
elochist_entry_t const &
indexuint32
titlechar const *
descchar const *
udvoid *

◆ size()

"uint32" size ( "lochist_entry_t" e,
"void *" ud )
static
Parameters
elochist_entry_t const &
udvoid *

Member Data Documentation

◆ template

template = lochist_entry_t()

◆ userdata

userdata = ida_kernwin.get_viewer_user_data(self.widget)

◆ widget

widget = w

Property Documentation

◆ thisown

thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

The documentation for this class was generated from the following file: