Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Anto35

  1. Anto35

    Output to text widget from C++ program

    Thanx a lot Avia... I improved the execution speed of my application with Tcl threads, but I understand that I lost my time because of the fileevent mechanism. Now I use 'after 100' to know when I've got to read stdout and I've got any speed problem no more!
  2. Anto35

    Output to text widget from C++ program

    Well, you can also use Tcl_Eval, if you want to modify your C code with Tcl C procedure. Tcl_Eval(interp, "text_widget_name insert end {what you wanna see in your widget}").
  3. Anto35

    [incr Tcl] and C

    Hi, Is it possible to link an itcl class variable (private or public) to a C variable using the Tcl_LinkVar(...) procedure? Thanx for your answers.
  4. Anto35

    Output to text widget from C++ program

    Hi, I redirect stdout to a file. Then I use Tcl events to know when the file is readable and when it changes. Finally you just have to write a callback which will fill the text widget with the content of the file. I don't know if it's the best way to do that, but it works. PS: Don't forget to...
  5. Anto35

    Anchor in canvas

    I want to know how does the anchor works when we insert a bitmap file in a canvas. I try to fill the canvas with a bitmap of the same size but I don't understand how does the anchor works in the canvas and the bitmap isn't well placed! - Example: # Create and place canvas canvas .cnvs...
  6. Anto35

    Tcl/Tk and XML...

    Hi, I want to know if a widget which can display XML files on screen exists. I don't know if TkHTML widget is able to diplay such files... I'm also looking for some tutorials on tDOM, TclDOM, and TclXML. Thanks.
  7. Anto35

    Patch for Athlon Xp+

    Of course I've already copied the sources. But I don't know where I can find the patch. And good documentation for recompiling kernel. Thanx for your answer.
  8. Anto35

    Patch for Athlon Xp+

    Hi, I use a Linux MAndrake 9.0 and I want to know where can I find a patch for my Athlon Xp 1700+. And how I can recompile the kernel. My configuration already work but I want to install this patch to make my PC work better. Thanx!
  9. Anto35

    X server -- Debian Woodie

    There is no (EE) for the video card in the /var/XF86.0.log file, I think that I use the right driver (My video card is recognize). But apm can't be launched and The server found screen but none have an usable configuration, even if I am in the 800*600 mode.
  10. Anto35

    X server -- Debian Woodie

    Hi, I recently install Linux (Debian Woodie 3.0) on my computer but I 've got a porblem with the X server. It crash when I try to run it (I use the startX command) and I get the following message:"Can't find an usable screen!" So I need some help or links to some documentation to solve...
  11. Anto35

    Acces Cshell environmt variable

    if [info exists env(HOME)] { set dir $env(HOME) } else { # the environment var isn't set, use a default puts "Pas de variable home" set dir "/tmp" } I don't understand why this code don't work! Thanx for your replies.
  12. Anto35

    Font apparence

    switch $tcl_platform(os) "SunOS" { set font {-sun-serif-medium-r-normal-serif-0-0-72-72-m-0-iso8859-1} } "Linux" { set font {-size 4} }
  13. Anto35

    Animated Gif

    AniGif is a pure Tcl/Tk package for loading and manipulating animated gifs. AniGif is implemented in an anigif namespace. You can create, start, stop, restart (At any index), and destroy animated gifs. You can download anigif at: http://cardtable.sourceforge.net/tcltk/
  14. Anto35

    Pixmap -- Xlib

    Is there a way to check the Pixmap validity???
  15. Anto35

    Pixmap -- Xlib

    What's wrong with this code???? /*----------------------------------------------------------------------------- VOID lcd_BmpGeneration(VOID) { char filename[60] = "/blabla/screen.bmp"; unsigned char w, h, bx, by, val; Display * display; GC gc; XID xid; Pixmap...

Part and Inventory Search

Back
Top