jayanam / bl_ui_widgets

UI Widgets for Blender 2.8
GNU General Public License v3.0
150 stars 38 forks source link

several mouse functions for widget, enable/disable widget #9

Closed vilemduha closed 3 years ago

vilemduha commented 3 years ago

mouse enter, exit, move now can have functions assigned enable -disable widget unctions - hide and disable the widget Try to fix the error when the area gets maximized - the operator finishes.

This is the very first commit/pull request. I expect maybe you'd want to do different naming standards and it's possible I didn't as of now understood completely the structure of the library. The mouse move/enter/exit functions are for being able to display a custom tooltip. The enable-disable is to dynamically change the buttons in the panel - maybe there is a different way to do this?

vilemduha commented 3 years ago

Sorry, just realized I did several mistakes during cleanup, so need to commit fixes before review

jayanam commented 3 years ago

The code changes cant be accepted for some errors to naming conventions or others like print -statements in exceptions. I recommend to add requirement issues and I will add these to the library.