f



FVWM: Tcl's 'Iconwindow' not working with fvwm-2.5.18-1

I posted this to the "FVWM Users" <fvwm@fvwm.org>, but no one on that
list seems to know what is wrong.

I use several Tcl/Tk programs (exmh, plus some homegrown ones) that use
Tcl's 'iconwindow' function to create dynamic window manager icons. I 
also use FVWM's IconBox module.

For some reason, those applications that use Tcl's 'iconwindow'
function, don't get their proper icons in the IconBox.  Instead they get
the 'default' generic icon.  This *used* to work just fine back when I
was using fvwm-2.4.<mumble>.  What has changed?  Do I need to add
something to my .fvwmrc file?

I did some poking around in the FVWM 2.5.18 source code for the
FvwmIconBox module (and not finding anything obvious), I'm still
looking for a solution.  I've created a minimual test case (binary for
Linux x86 (using tclkit-linux-x86) and Tcl/Tk source code):

http://www.deepsoft.com/minimualiconwindow-0.0-linux.tar.gz
http://www.deepsoft.com/minimualiconwindow-0.0.tar.gz

If anyone who knows the inner workings of the FvwmIconBox module AND
knows about Tcl/Tk iconwindow functionallity can figure out what is
going on, it would be helpful...

(I'm using Tcl/Tk 8.4.7 -- the stock RPMs under CentOS 4.4.  It also
fails using a tclkit-linux-x86 based on Tcl/Tk 8.4.4.)



-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Linux Installation and Administration
http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
heller@deepsoft.com       -- Contract Programming: C/C++, Tcl/Tk
                                                                                                  
0
heller (3031)
3/15/2007 1:56:36 PM
comp.lang.tcl 23429 articles. 2 followers. Post Follow

0 Replies
473 Views

Similar Articles

[PageSpeed] 53

Reply:

Similar Artilces:

converting strings to most their efficient types '1' --> 1, 'A' ---> 'A', '1.2'---> 1.2
Hello, I'm importing large text files of data using csv. I would like to add some more auto sensing abilities. I'm considing sampling the data file and doing some fuzzy logic scoring on the attributes (colls in a data base/ csv file, eg. height weight income etc.) to determine the most efficient 'type' to convert the attribute coll into for further processing and efficient storage... Example row from sampled file data: [ ['8','2.33', 'A', 'BB', 'hello there' '100,000,000,000'], [next row...] ....] Aside from a missing attribu...

int('2.1') does not work while int(float('2.1')) does
int('2.1') does not work while int(float('2.1')) does. If int can covert a float object then there is no reason why a float string should not be converted too. When I do int('2.1') I get the following error: >>> a = int('2.0') Traceback (most recent call last): File "<stdin>", line 1, in ? ValueError: invalid literal for int(): 2.0 This does not seem very pythonic VJ Vineet Jain wrote: > int('2.1') does not work while int(float('2.1')) does. If int can > covert a > float object then there is no reason w...

'''''''''''''The Running Update/Append Queries Using VBA code Ordeal'''''''''''''' #2
Hi, Thanks for ur help there HJ. I know how to do the tasks you specified there. I would like for the update query to use field values from some of the fields on the form (frmInvoices) such as InvoiceNumber, DateFrom, DateTo. My problem is that an append/update query can't find the values in the open Form (frmInvoices) when I specify them as; [Forms]![frmInvoices]![InvoiceNumber] a select query has no problem finding the field values on a form. please help. Aaron Hi Aaron, Could you post the entire code that you are having trouble with? Now it is not possible to see what goes wrong. HJ "Aaron" <aaron@rapid-motion.co.uk> wrote in message news:260d7f40.0408120245.2f3d01f8@posting.google.com... > Hi, > > Thanks for ur help there HJ. > > I know how to do the tasks you specified there. > > I would like for the update query to use field values from some of the > fields on the form (frmInvoices) such as InvoiceNumber, DateFrom, > DateTo. My problem is that an append/update query can't find the > values in the open Form (frmInvoices) when I specify them as; > > [Forms]![frmInvoices]![InvoiceNumber] > > a select query has no problem finding the field values on a form. > > please help. > > Aaron First off, if you are not always using all the parameters specified in your form, then you have to add parameters to your query on the fly. Also, you can't just do something like qdf.SQL = "SE...

'is not' or '!='
A newbie question to you; what is the difference between statements like: if x is not None: and if x != None: Without any context, which one should be preferred? IMHO, the latter is more readable. On 2014-08-18 21:35, ElChino wrote: > A newbie question to you; what is the difference between statements > like: > if x is not None: > and > if x != None: > > Without any context, which one should be preferred? > IMHO, the latter is more readable. > "x == y" tells you whether x and y refer to objects that are equal. "x is y" tells you whether x and y actually refer to the same object. In the case of singletons like None (there's only one None object), it's better to use "is". "ElChino" <elchino@cnn.cn>: > A newbie question to you; what is the difference between statements > like: > if x is not None: > and > if x != None: Do the following: take two $10 bills. Hold one bill in the left hand, hold the other bill in the right hand. Now, the bill in the left hand "is not" the bill in the right hand. However, the bill in the left hand "==" the bill in the right hand. > Without any context, which one should be preferred? > IMHO, the latter is more readable. In almost all cases, both tests would result in the same behavior. However, the "is not" test is conceptually the correct one since you want...

'^=' and '~='?
Hello, What is the difference between '^=' and '~='? Thanks, Duckhye ...

Re: if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in ('','.') Any shorter ? #2
Igor, There are many ways to make it more concise, however the parsimony is likely to be achieved at the expense of clarity. For instance, the expressions length ( input (mm||dd||yy, $10.) ) > 2 length ( compress(mm||dd||yy, ' .') ) > 2 and like might be somewhat shorter than the original, but they will execute slower, and their intent is far less eminent. Since it appears that you are trying to validate the components of a date, maybe it is not a worthless idea to try the date informat conforming to the mask you are testing. Say if all the pieces are 2-digit, the expression input (mm||dd||yy, ?? mmddyy6.) will return a missing value for the case you are testing and also if any irregularities in the input value that prevent it from being interpreted as a valid date should be found. And if you want a note in the log to alert you about it, leave one of the question marks off. Kind regards, ================= Paul M. Dorfman Jacksonville, FL ================= >From: Igor Kurbeko <ikurbeko@ATHEROGENICS.COM> >Reply-To: Igor Kurbeko <ikurbeko@ATHEROGENICS.COM> >To: SAS-L@LISTSERV.UGA.EDU >Subject: if str_mo not in ('','.') and str_da not in ('','.') and str_yy > not in ('','.') Any shorter ? >Date: Wed, 22 Oct 2003 17:13:37 -0400 > >Hi, there. > > > >I'm just curious if it ever dawned on anybody how to abbreviate this >line : > >if ...

Error? s = assignin('base','s',tf('s'));
Hi, I need a little help here. Could anyone please tell me what is wrong with this command? s = assignin('base','s',tf('s')); The matlab syntax is -- assignin(ws, 'var', val) Basically I just want to add s=tf('s') into the base workspace. Jack "Jack" <Jack@Jill.com> wrote in message news:ef3e449.-1@webcrossing.raydaftYaTP... > Hi, > I need a little help here. Could anyone please tell me what is wrong > with this command? > > s = assignin('base','s',tf('s')); > > The matlab syntax is -- assignin(ws, 'var', val) > Basically I just want to add s=tf('s') into the base workspace. What does the error message say? Something about too many output arguments, right? How many output arguments does the documentation for ASSIGNIN show that it should return? How many are you asking it to return? http://www.mathworks.com/access/helpdesk/help/techdoc/ref/assignin.html -- Steve Lord slord@mathworks.com ...

Prob getting '1's and '0's
Hi all =) I have a var named Data_Bin which is in <10614*8char> containing binary '1's and '0's. eg Data_Bin = 11111111 11111111 11111111 11111111 .... ... I tried 2 methods, Method 1: aa = []; for i=1:84912 aa = [aa, Data_Bin(i)]; end Result: It gave me a 1*1 matrix but if I transpose the result, it'll give me a col vector. Method 2: aa = []; for i=1:84912 aa (1, i) = Data_Bin(i); end Result: It gave me a row vector of [49 49 49 49 ...] How do I get a row vector, 1*84912, from Data_Bin?? Thank you. "yingmu h...

newbe: ''(1 . 2) vs. '(1 2)
Hi, I'm new to Lisp and am experimenting with some of the functions when I come across this: (length '(1 2)) ; 2 (length ''(1 . 2)) ; 2 Why does the following return a (wrong-type-argument listp 2)? (length '(1 . 2)) What does "(1 . 2)" mean exactly? I came to that expression when I used cons the following way: (cons 1 2) % (1 . 2) I know cons creates a list by joining head +tail and that "2" is an atom, but I am confused as that (1 . 2) has two elements. Also comparing "(1 2)" with "(1 . 2)" always returns nil, why? Thanks ...

There's 'new' but no 'delete'
Hi, If I use: "myobject = new MyObject" do I just delete it with "myobject = nil"? There's no "delete", how do I free any memory used within myobject? Thanks, Paul On 15.04.2005 05:35 Mat, in 425e45ff$0$30370$afc38c87@news.optusnet.com.au, �pf� <paulfredlein@NOSPAMoptusnet.com.au> wrote: > Hi, > > If I use: "myobject = new MyObject" do I just delete it with "myobject = > nil"? There's no "delete", how do I free any memory used within myobject? > > Thanks, > > Paul ...

'~' and '`' keys not working
Hi all, I have FreeBSD 7.2 installed under Parrellel on MAX OSX 10.5.8, however I discovered that the '`' key and the '~' key where not working on the CLI on FreeBSD. I have tried a couple of different shells and googled for a bit but still no joy. Has this happened to anyone else. What did you do to fix it. -- ..... "When asked what he would like on his tomb stone he said more bass" Aaron Spiteri <azzmosphere> wrote: > Hi all, > > I have FreeBSD 7.2 installed under Parrellel on MAX OSX 10.5.8, however > I discovered that the '`' key and the '~' key where not working on the > CLI on FreeBSD. I have tried a couple of different shells and googled > for a bit but still no joy. > > Has this happened to anyone else. What did you do to fix it. Totally unfamiliar with Parallels, but choosing one of the other profiles in Parallels/Preferences/Keyboard may work. If it's just a mapping issue, setting a different keymap with kbdcontrol might fix it. Otherwise, it's probably something to take up with parallels.com. -- Warren Block * Rapid City, South Dakota * USA On 2009-09-17 00:55:44 +1000, Warren Block <wblock@wonkity.com> said: > Aaron Spiteri <azzmosphere> wrote: >> Hi all, >> >> I have FreeBSD 7.2 installed under Parrellel on MAX OSX 10.5.8, however >> I discovered that the '`' key and the '...

what does '1' in 'Case.. when' do
What does 1 or 0 in the following statement does case when condition = met then 1 else 0 Rohit Dhawan wrote: > What does 1 or 0 in > the following statement does > > case when condition = met then 1 else 0 Stop cross posting or multi posting. Your answer at the other location. ...

Re: '^=' and '~='? #5
Sorry, I posted under the wrong subject. My friend asked me to post this, she got an error message in processing the XML file. I don't have much experience in working with XML file. Any help is appreciated! On Thu, Feb 12, 2009 at 10:29 AM, Akshaya Nathilvar < akshaya.nathilvar@gmail.com> wrote: > 32 libname erap 'T:\9SOW\AHRQ_E Rap\Data\E-RAP Data\December 2008'; > NOTE: Libref ERAP was successfully assigned as follows: > Engine: V9 > Physical Name: T:\9SOW\AHRQ_E Rap\Data\E-RAP Data\December 2008 > 33 options nodate nonumber formdlim=...

Re: '^=' and '~='? #2
No difference that I know of ... SAS has all sorts of things you can use as operators. LT,< LE,<= ne, ^=, ~=, <> in some contexts at least eq, = <<< these actually DO have a difference or two, particularly as relates to assignment I don't recall where the full list is, but http://support.sas.com/onlinedoc/913/getDoc/en/lrdict.hlp/a000202951.htm#a000290128has the list of them usable in WHERE statements (which, IIRC, is slightly greater than that of normal code, as it allows for SQL syntax in ways the rest of SAS does not). -Joe On Wed, Feb 11, 2009 at 4:52 PM, Duck-...

if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in ('','.') Any shorter ?
Hi, there. =20 I'm just curious if it ever dawned on anybody how to abbreviate this line : if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in ('','.')=20 =20 Igor Kurbeko Clinical Programmer Analyst 678 336 4328 ikurbeko@atherogenics.com =20 no brain no pain =20 how about: if not (str_mo in ('','.') or str_da in ('','.') or str_yy in ('','.')) OR if not (missing(str_mo) or missing(str_da) or missing(str_yy)) Eric On 22 Oct 03 21:13:37 GMT, ikurbeko@ATHER...

converting 1944 to '1','9','4','4'
converting 1944 to '1','9','4','4' how can I convert a number such as 1944 to a character array? thanks! x wrote: > converting 1944 to '1','9','4','4' > > how can I convert a number such as 1944 to a character array? Corvert it to string, then convert string into character array, if string is not good enough for you. See faq: [38.1] How do I convert a value (a number, for example) to a std::string? http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-38.1 On 13 Apr 2004 08:08:24 -0700, aotemp@hotma...

Nvidia's 'Nalu' vs ATI's 'Ruby'
http://karpo.org/images/Dunno/Ruby.jpg Nvidia's GeForce 6800 (NV40) 'Nalu' demo consists of 300,000 polygons. very very impressive shit! ATI's Radeon X800 (R420) 'Ruby' demo consists of only 80,000 polygons. however it is also rendering a background with other elements. closer to what would be in an actual game. now, console gamers: keep in mind, whatever ATI has been able to come up with at this point (re: the R420 / Radeon X800) is a stepping stone to what they'll be able to have in 2005 for Xbox Next, and in 2006 for GCNext :) On 14 Apr 2004 21:33:15 -0700, nvidianv55@mail.com (NV55) wrote: >http://karpo.org/images/Dunno/Ruby.jpg > >Nvidia's GeForce 6800 (NV40) 'Nalu' demo consists of 300,000 polygons. >very very impressive shit! > >ATI's Radeon X800 (R420) 'Ruby' demo consists of only 80,000 polygons. >however it is also rendering a background with other elements. closer >to what would be in an actual game. > >now, console gamers: keep in mind, whatever ATI has been able to come >up with at this point (re: the R420 / Radeon X800) is a stepping stone >to what they'll be able to have in 2005 for Xbox Next, and in 2006 for >GCNext :) Wow............. I am impressed !! Must ask for an advanced payment of my Social Security to buy these consoles. Both should sink like rocks if not 100%backward compatible with existing non-Next software. Also, a huge marketing problem for n...

PVCS 5.1.1
We use very old (Intersolv's) PVCS ver. 5.1.1 for MS-DOS. Our archives are stored on a Novell network drive. After we migrated from Win'NT to 'XP and also to a newer Novell file- server, we started experiencing intermittent problems with GET displaying messages like this: Non-Network PVCS Version Manager (get) V5.1.1 for MSDOS Copyright 1985-1993 INTERSOLV, Inc. All rights reserved. get: License notification: user ID not authorized get: warning, license notification: not configured to access network files, And this behavior could start right after the sam...

A function with 'and' , 'not' , 'null' , 'car' and 'cdr'
What's this ? (defun enigma (x) (and (not (null x)) (or (null (car x)) (enigma (cdr x))))) "I suppose I should learn Lisp, but it seems so foreign." - Paul Graham, Nov 1983 On Wed, Oct 07 2015, CAI GENGYANG wrote: > What's this ? > > > (defun enigma (x) > (and (not (null x)) > (or (null (car x)) > (enigma (cdr x))))) Bad taste? It returns T if the list X contains nil as an element. It would be clearer to write (some #'null x). Helmut CAI GENGYANG ...

web('file', 'filename' '-browser') not working
Hello, I'm working on a project involving Matlab and a nice flashy GUI. To call help files, I do: web('file', 'help.html' '-browser'); On my computer, this works. After compiling it, it works. If I manage to get the current directory wrong, somehow, the browser attempts to go to www.help.com, rather than put up an error. So far so good, except when the file isn't there, which I'm ignoring for the moment. However, when I run the program on other computers (I compile the program first), it always goes to www.help.com, no matter what the pwd says, or where I put help.html. This seems to happen on about half of the other computers I try it on. Any ideas? I had thought it was just path mixups but putting 'pwd' in the appropriate places seems to indicate nothing is amiss. I do not want to use explicit path names, (ie 'file:///c:/stuff/help.html' syntax) as this program is meant for some distribution and I can't guarantee that people will always have it running from the same location. Thank you in advance, --Anne I finally did a = sprintf('file:///%shelp.html#%s', pwd, section); web('file', a, '-browser'); I discovered that the file:/// syntax does not require paths to be deliminated by '/' but can use '\' unlike what I had thought. I read a bug report that using the internal web browser crashes when using compiled code. However, a similar crash happens for me when using R2006a....

What's the meaning of 'assert' and 'deassert' ?
thanks. On 2006-11-21, =?gb2312?B?yb3WruGw?= <lan54160@gmail.com> wrote: Given the copious context you've provided, this is just a guess: assert: set a signal to its "active" state. deassert: set a signal to its "inactive state. If a signal is active-low, "asserting" that signal means setting it low and deasserting it means setting it high. -- Grant Edwards grante Yow! BARBARA STANWYCK at makes me nervous!! visi.com ...

What's the difference between 'close' and 'delete'?
Dear all As you know, close(h) and delete(h) both methods can close figure window, when h is a handle of a figure. What's the difference between the two methods? Regards Mayi DA 2007-11-26 "Damayi" <damayi@gmail.com> wrote in message news:3208c5ed-fbde-4f87-9342-36e6fffd98bb@s36g2000prg.googlegroups.com... > Dear all > > As you know, close(h) and delete(h) both methods can close figure > window, when h is a handle of a figure. What's the difference between > the two methods? CLOSE calls the function specified in the CloseRequestFcn property of the ...

error: expected '=', ',', ';', 'asm' or '__attrib
Hi I'm trying to compile an ADC Driver & come acrosss the following error. I've no experience writing drivers before, and hence have no clue how to fix it. Hope someone out there has encountered the problem & suggesst a fix for the same. The Error is I get is : qadc.c: At top level: qadc.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'qadc_read' make: *** [qadc.o] Error 1 [root@localhost qadc]# ########################################################################### ADC Driver Code ##...

Override 'and' and 'or'
Is it possible to override 'and' and/or 'or'? I cannot find a special method for it... __and__ and __rand__ and __or__ and __ror__ are for binary manipulation... any proposals? Have marvelous sunday, Marco Dekker <m.aschwanden@gmail.com> wrote: > Is it possible to override 'and' and/or 'or'? I cannot find a special > method for it... __and__ and __rand__ and __or__ and __ror__ are for > binary manipulation... any proposals? If you want to customize the truth value testing you have to implement __nonzero__ " __nonzero__( self) Call...

Web resources about - FVWM: Tcl's 'Iconwindow' not working with fvwm-2.5.18-1 - comp.lang.tcl

Resources last updated: 3/13/2016 2:36:01 PM