diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-11-22 02:53:22 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-11-22 02:53:22 +0000 |
commit | e1e0533814d29fea5d0ba318df034a9e82ec6df3 (patch) | |
tree | 2006ad1c76f8d58a62436dfc901fd28e12f67655 /shared/tkwidgets.h | |
parent | 9caf0964a9a29f8160c88a3f591a49c0894009bb (diff) |
- moved store_options() to tkwidgets_store_options() in tkwidgets.c and made
[text] work with it there.
- made tkwidgets_store_options() ignore blank options
- minor cleanups
svn path=/trunk/externals/tkwidgets/; revision=9023
Diffstat (limited to 'shared/tkwidgets.h')
-rw-r--r-- | shared/tkwidgets.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/shared/tkwidgets.h b/shared/tkwidgets.h index 9f0dea4..999e2ac 100644 --- a/shared/tkwidgets.h +++ b/shared/tkwidgets.h @@ -68,6 +68,14 @@ t_symbol* canvas_getname(t_canvas *canvas); void tkwidgets_setcallbackname(void *x, char *widget_name); +/* handle options */ +void tkwidgets_store_options(t_symbol *receive_name, t_symbol *tcl_namespace, + t_symbol *widget_id, int argc, char **argv); +void tkwidgets_query_options(t_symbol *receive_name, t_symbol *widget_id, + int argc, char** argv); + + +/* generate ID and tag names for using in Tcl/Tk space */ t_symbol* tkwidgets_gen_tcl_namespace(t_object* x, t_symbol* widget_name); t_symbol* tkwidgets_gen_callback_name(t_symbol* tcl_namespace); t_symbol* tkwidgets_gen_canvas_id(t_canvas* canvas); |