but WHY would you do a -command on it if it's a label ? that's what I don't understand!!! anywas, if you want, we can talk about this over amsn because I just don't get it.
KKRT On Sun, May 20, 2007 at 05:35:35PM +0300, Vivia Nikolaidou wrote: > On Sun, 20 May 2007, Youness Alaoui wrote: > > > no, don't add a -command since it's unsupported, it wouldn't 'fix' it, it > > may work, but it's not the right way > > to do it. If you have a 'label' there should NOT be any -command option > > being used. Make sure it never happens. > > if { ![catch { sendbutton cget -command }] } { > sendbutton configure -command new_command > } else { > bind sendbutton <<Button1>> new_command > } > > and we also get rid of the OnMac... sounds good enough? > > > > > KKRT > > > > On Sun, May 20, 2007 at 12:48:54PM +0300, Vivia Nikolaidou wrote: > > > On 5/20/07, Youness Alaoui <[EMAIL PROTECTED]> wrote: > > > > there's no -command option for labels! it should be a button! are you > > > > sure there's nothing wrong being done by > > > > the buttons2label thing ? (btw, isn't buttons2label a Mac specific > > > > thing ?) > > > > > > It's also called by Chameleon for tileqt, otherwise all pixmapped > > > buttons look awful... I know there's no -command option for labels, I > > > just thought about adding one so it would work. Otherwise, do you have > > > any better ideas? > > > > > > > > > > > KKRT > > > > > > > > > > > > On Sun, May 20, 2007 at 12:25:13AM +0300, Vivia Nikolaidou wrote: > > > > > > > > > > Hey, > > > > > > > > > > When I press the ink button, it complains about missing > > > > > options(-command) > > > > > if I have Chameleon. Now I just committed a workaround inside Inkdraw, > > > > > which at least lets us send ink with Enter (basically by catching the > > > > > bind > > > > > change). But that's dangerous I'm afraid - what if there's another > > > > > bug?... > > > > > I also tried leaving the bind command to be the last one of the proc, > > > > > so > > > > > everything else would be changed and you could at least ignore the > > > > > bug and > > > > > send the ink with enter, but that behaved very weird so I had to > > > > > catch the > > > > > binding. > > > > > > > > > > Anyway, shall I add a -command option to Chameleon labels instead? If > > > > > so, > > > > > I'm going to need instructions :( > > > > > > > > > > Vivia > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Amsn-devel mailing list > > > Amsn-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/amsn-devel > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Amsn-devel mailing list > > Amsn-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/amsn-devel > > > > > --- > > "Where is the life that we have lost in living? > Where is the wisdom that we have lost in knowledge? > Where is the knowledge that we have lost in information?" > > OEO; > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Amsn-devel mailing list > Amsn-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amsn-devel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Amsn-devel mailing list Amsn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amsn-devel