Posted to tcl by aspect at Tue Jun 30 14:03:53 GMT 2015view raw
#!/usr/bin/env wish
package require Tk
catch {canvas .c -bg #008 -width 100%}
canvas .c
Comments
Posted by chw at Tue Jun 30 22:22:54 GMT 2015 [text][code]
Possibly one more reason to consider the tkpath stuff from www.androwish.org.
Possibly one more reason to consider the tkpath stuff from www.androwish.org.
Posted by chw at Tue Jun 30 22:31:27 GMT 2015 [text][code]
Without any further reasoning about what I've uttered some minutes ago the problem is that the canvas should be using Tk_InitOptions() on a Tk_OptionTable.
Without any further reasoning about what I've uttered some minutes ago the problem is that the canvas should be using Tk_InitOptions() on a Tk_OptionTable.
Posted by chw at Tue Jun 30 22:33:31 GMT 2015 [text][code]
Without any further reasoning about what I've uttered some minutes ago the problem is that the canvas should be using Tk_InitOptions() on a Tk_OptionTable.
Without any further reasoning about what I've uttered some minutes ago the problem is that the canvas should be using Tk_InitOptions() on a Tk_OptionTable.
Posted by chw at Fri Jul 03 06:39:58 GMT 2015 [text][code]
This might fix it. Canvas and scrollbar still use the old interface as well as parts of the image code.
--- tkOldConfig.c
+++ tkOldConfig.c
@@ -110,10 +110,14 @@
/*
* Get the build of the config for this interpreter.
*/
staticSpecs = GetCachedSpecs(interp, specs);
+
+ for (specPtr = staticSpecs; specPtr->type != TK_CONFIG_END; specPtr++) {
+ specPtr->specFlags &= ~TK_CONFIG_OPTION_SPECIFIED;
+ }
/*
* Pass one: scan through all of the arguments, processing those that
* match entries in the specs.
*/
This might fix it. Canvas and scrollbar still use the old interface as well as parts of the image code.
--- tkOldConfig.c
+++ tkOldConfig.c
@@ -110,10 +110,14 @@
/*
* Get the build of the config for this interpreter.
*/
staticSpecs = GetCachedSpecs(interp, specs);
+
+ for (specPtr = staticSpecs; specPtr->type != TK_CONFIG_END; specPtr++) {
Comments
Posted by chw at Tue Jun 30 22:22:54 GMT 2015 [text] [code]
Possibly one more reason to consider the tkpath stuff from www.androwish.org.
Posted by chw at Tue Jun 30 22:31:27 GMT 2015 [text] [code]
Without any further reasoning about what I've uttered some minutes ago the problem is that the canvas should be using Tk_InitOptions() on a Tk_OptionTable.
Posted by chw at Tue Jun 30 22:33:31 GMT 2015 [text] [code]
Without any further reasoning about what I've uttered some minutes ago the problem is that the canvas should be using Tk_InitOptions() on a Tk_OptionTable.
Posted by chw at Fri Jul 03 06:39:58 GMT 2015 [text] [code]
This might fix it. Canvas and scrollbar still use the old interface as well as parts of the image code. --- tkOldConfig.c +++ tkOldConfig.c @@ -110,10 +110,14 @@ /* * Get the build of the config for this interpreter. */ staticSpecs = GetCachedSpecs(interp, specs); + + for (specPtr = staticSpecs; specPtr->type != TK_CONFIG_END; specPtr++) { + specPtr->specFlags &= ~TK_CONFIG_OPTION_SPECIFIED; + } /* * Pass one: scan through all of the arguments, processing those that * match entries in the specs. */