aboutsummaryrefslogtreecommitdiff
path: root/text.c
AgeCommit message (Collapse)Author
2010-09-14fixed to work on Pd < 0.43Hans-Christoph Steiner
svn path=/trunk/externals/tkwidgets/; revision=14136
2010-09-14ported to slightly modified template MakefileHans-Christoph Steiner
svn path=/trunk/externals/tkwidgets/; revision=14135
2010-01-26updated to use 0.43 'pdsend' commandHans-Christoph Steiner
svn path=/trunk/externals/tkwidgets/; revision=13103
2007-11-27- created text_binbuf to store the text when the text widget doesn't exist soHans-Christoph Steiner
that loadbanging [set( messages can work. The same logic needs to be applied to the options messages too... svn path=/trunk/externals/tkwidgets/; revision=9052
2007-11-27- added [query id( to get the Tk id string for the widgetHans-Christoph Steiner
(i.e. .x6b1820.c.frame6b1b50.widget6b1b50) This will allow people to use [sys_gui] to send Tcl commands to the widget in order to manipulate the insert cursor and the tags, among other things. - made the [key( message work with all ASCII 127 except { arg, I need to find how on earth to escape it. Also, it would be good to support beyond ASCII 127, i.e. accents, umlauts, etc. svn path=/trunk/externals/tkwidgets/; revision=9051
2007-11-26fixed issues with Ctrl-a and Ctrl-v bindings working as expectedHans-Christoph Steiner
svn path=/trunk/externals/tkwidgets/; revision=9047
2007-11-26don't draw iolets when in GOP; erase_iolets() is not necessary in eraseme() ↵Hans-Christoph Steiner
since Tk's destroy is recursive and is using all_tag svn path=/trunk/externals/tkwidgets/; revision=9044
2007-11-24- got the basics of checkbutton working, but I don't think it's saving yet.Hans-Christoph Steiner
- fixed minor namespace bug in text.c svn path=/trunk/externals/tkwidgets/; revision=9033
2007-11-24- made selection color change restore previous background colorHans-Christoph Steiner
- moved scrollbar handling to tkwidgets.c svn path=/trunk/externals/tkwidgets/; revision=9032
2007-11-24cleaned up code and made it nice and organized :DHans-Christoph Steiner
svn path=/trunk/externals/tkwidgets/; revision=9031
2007-11-24moved inlet/outlet counts to tkwidgets.hHans-Christoph Steiner
svn path=/trunk/externals/tkwidgets/; revision=9030
2007-11-24- created tkwidgets_list_options() to query which Tk options are supportedHans-Christoph Steiner
- removed set_tk_widgets_ids() from places where it wasn't need AFAIK - minor renames and cleanups svn path=/trunk/externals/tkwidgets/; revision=9029
2007-11-23Fixed these:Hans-Christoph Steiner
/* TODO: add size to query and save */ /* TODO: add scrollbars to query and save */ /* TODO: remove glist from _erase() args */ svn path=/trunk/externals/tkwidgets/; revision=9027
2007-11-23- fixed bug that caused the iolets to multiply whenever resizing, I forgot toHans-Christoph Steiner
add the ->s_name to a symbol used in the sys_vgui, so it was using the pointer value. - moved standard key/mouse binding functions to tkwidgets.[ch] - minor code cleanups for legibility svn path=/trunk/externals/tkwidgets/; revision=9026
2007-11-22- removed xscrollcommand and yscrollcommand from supported options sinceHans-Christoph Steiner
currently they use generated names, i.e. canvas_id, etc. Perhaps it's possible to support user override of these, but it probably would not be simple - renamed "inlets" functions to "iolets" since they handle outlets too - fixed bug in save logic that made the options get appended everytime it was saved: I needed to binbuf_clear() first. - created tkwidgets_restore_options() and implemented it in [text]. It turned out to be quite easy since Tk's "canvas configure" can take the whole slew of options all at once. svn path=/trunk/externals/tkwidgets/; revision=9024
2007-11-22- moved store_options() to tkwidgets_store_options() in tkwidgets.c and madeHans-Christoph Steiner
[text] work with it there. - made tkwidgets_store_options() ignore blank options - minor cleanups svn path=/trunk/externals/tkwidgets/; revision=9023
2007-11-22- moved iolet drawing/erasing to tkwidgets commonHans-Christoph Steiner
- added iolets roughly to [checkbutton] - cleaned up naming in text.c a bit - moved t_widgetbehavior setup to textwidget_setup() svn path=/trunk/externals/tkwidgets/; revision=9021
2007-11-21- created functions to generate all the various Tk IDs and tags and portedHans-Christoph Steiner
text.c to use those functions - started sketch for checkbutton.c svn path=/trunk/externals/tkwidgets/; revision=9020
2007-11-15- first working sketch of having a shared dylib for a libdir, I movedHans-Christoph Steiner
query_options() to the dylib, and it works! :D (on Mac OS X, at least) - minor cleanups in text.c - first test of saving options to the file, it writes data, but there are bugs svn path=/trunk/externals/tkwidgets/; revision=9014
2007-11-14- renamed [scrollbar( to [scrollbars( since there should be a bottom one tooHans-Christoph Steiner
- got full querying working, including C-side attributes - starting working on store/restore/save mechanism, but was stymied by how to trigger the store_options() callback so that the stuff can be saved. - removed [entry]'s old attribute storage where redundant svn path=/trunk/externals/tkwidgets/; revision=9004
2007-11-14got bulk and individual querying workingHans-Christoph Steiner
svn path=/trunk/externals/tkwidgets/; revision=9003
2007-11-14got a quick working example pretty much straight from ggee's image.c; I need ↵Hans-Christoph Steiner
to get the shared dylib working before working on a new objectclass svn path=/trunk/externals/tkwidgets/; revision=9002
2007-11-14working version of [text] from bbogart's [entry], which I heavily modified; ↵Hans-Christoph Steiner
got options working from the inlet, including using multiple atoms in one optiion svn path=/trunk/externals/tkwidgets/; revision=9000