Improve TreeItem button API
This commit is contained in:
parent
2a39a1c221
commit
374299c6fb
4 changed files with 36 additions and 3 deletions
|
|
@ -248,6 +248,7 @@ public:
|
|||
int get_button_count(int p_column) const;
|
||||
String get_button_tooltip(int p_column, int p_idx) const;
|
||||
Ref<Texture2D> get_button(int p_column, int p_idx) const;
|
||||
int get_button_id(int p_column, int p_idx) const;
|
||||
void erase_button(int p_column, int p_idx);
|
||||
int get_button_by_id(int p_column, int p_id) const;
|
||||
void set_button(int p_column, int p_idx, const Ref<Texture2D> &p_button);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue