Zrythm
a highly automated and intuitive digital audio workstation
|
According to ebassi from GTK: Rule of thumb: use dispose() for releasing references to objects you acquired from the outside, and finalize() to release memory/references you allocated internally.
There's basically no reason to override destroy()
; always use dispose
/finalize
. The "destroy" signal is for other code, using your widget, to release references they might have.
Alexander Mikhaylenko:
Thanks to ebassi from GTK: always make sure that the popover opens inside the window; make the window request a minimum size that allows the popover to be fully contained; or make the contents of the popover be small enough to fit into a small top level parent window
Specify the id of the menu, like:
Set propagate-natural-height
to true and set max height with max-content-height
.
include/gtk-3.0/gdk/gdkkeysyms.h
gdk_keyval_name()
gdk_keyval_from_name()
First need to set style provider in zrythm_app_startup()
otherwise we get segfaults.
mclasen:
focus_on_click
in custom widgets