mirror of
https://github.com/godotengine/godot.git
synced 2025-04-01 00:41:35 +08:00
Added get_v_scroll to item list, issue 5343
This commit is contained in:
parent
8af99ef1c6
commit
63fd8f863b
@ -1358,6 +1358,8 @@ void ItemList::_bind_methods(){
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("ensure_current_is_visible"),&ItemList::ensure_current_is_visible);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_v_scroll"),&ItemList::get_v_scroll);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("_scroll_changed"),&ItemList::_scroll_changed);
|
||||
ObjectTypeDB::bind_method(_MD("_input_event"),&ItemList::_input_event);
|
||||
|
||||
|
@ -195,6 +195,8 @@ public:
|
||||
void set_icon_scale(real_t p_scale);
|
||||
real_t get_icon_scale() const;
|
||||
|
||||
VScrollBar *get_v_scroll() { return scroll_bar; }
|
||||
|
||||
ItemList();
|
||||
~ItemList();
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user