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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. linuxgyro

    tcl fonts selctor

    thanks. I got the editor to change the font just fine. i added another menu named "Fonts" and added a bunch of the fonts to it and made a few proc to comment them. in the procs i added this line: .editor configure -font AppleGothic that got it to change the font. thanks a lot!
  2. linuxgyro

    tcl fonts selctor

    I am working on a text editor. this is the source for the text editor: after 8000 { catch {destroy .welcome} } proc createEditor {} { text .editor pack .editor } proc createMenubar {} { menu .menuBar -tearoff 0 .menuBar add cascade -menu .menuBar.file -label "File" -underline 0 menu...
  3. linuxgyro

    tcl fonts selctor

    what i really need now is a way to apply the fonts. I got it to come up with the list that is insalled on the mac here. but i need an apply. this is what I have with the fonts so far: proc fontBox {} { proc DropListCreate { basename text width height variable initial_value } { upvar...
  4. linuxgyro

    tcl fonts selctor

    I am making a text editor for a programming class at school. I wish to have a font selection menu for it. The following code is what i have found that shows the list of fonts, but i want to be able to use it rather than just look at the way the fonts look.: set typeThis "The quick brown fox...
  5. linuxgyro

    IDLE on mac

    ok i gave up on trying to make the program in interactive through the terminal, so i downloaded pythoncard. it supposedly works, but i installed it and i had all the components needed. The it showed up with idle (it wasnt there before). but idle wont load. I double click the icon and it...
  6. linuxgyro

    wxPyton not working in mac osx

    ok i got it to make a window, but the window has error messages in it. this is the program so far: >>> class MyApp(wxPython.wx.wxApp): ... def OnInit(self): ... frame = wxPython.wx.wxFrame(0, -1, "hello") ... frame.show(true) ... self.SetTopWindow(frame)...
  7. linuxgyro

    wxPyton not working in mac osx

    ok i tryed that and it worked further. then i got the error NULL is undefined or something like that so i replace NULL wiht 0 and that passes, but the -l does not work, and it will not work without something being there. I am looking to fill the gap but i have no clue what to put in there.
  8. linuxgyro

    wxPyton not working in mac osx

    i tryed that and it worked out just fine once i ran it in terminal using the pythonw command. But when i try to run the program... >>> from wxPython import * >>> class MyApp(wxApp): ... def OnInit(self): ... frame = wxFrame(NULL, -l, "hello world") ...
  9. linuxgyro

    wxPyton not working in mac osx

    i am trying to make a gui for the first time in python on a mac running osx.  it has python 2.3 installed and i downloaded the binary install for wxPython, the tcl/tk, and others but the modules never seem to install. here is a program i am trying in wxPython: from wxPython import * class...

Part and Inventory Search

Back
Top