1. 22 Oct, 1998 7 commits
    • Barry Warsaw's avatar
      Fixed running of standalone via command line. Also, only do save from · b9e59789
      Barry Warsaw authored
      main() so that run-as-modal doesn't automatically save database.
      b9e59789
    • Guido van Rossum's avatar
    • Guido van Rossum's avatar
      Jim Fulton writes: · a62646bd
      Guido van Rossum authored
      """
      I had originally not realized that PyEval_GetGlobals did not
      INCREF it's return value.  The fix is to add the INCREF,
      as shown below.
      """
      a62646bd
    • Jack Jansen's avatar
      Added {Get,Set}WindowUserData methods. · 97bdddd2
      Jack Jansen authored
      97bdddd2
    • Barry Warsaw's avatar
      Describe all the new features · 2d6f6c30
      Barry Warsaw authored
      2d6f6c30
    • Barry Warsaw's avatar
      Chooser.__init__(): Added `wantspec' keyword to conform exactly to · e1096522
      Barry Warsaw authored
      tkColorChooser.askcolor() interface (i.e. don't return a color name
      even if there is an exact match).
      e1096522
    • Barry Warsaw's avatar
      Many changes to support a second mode of operation. Pynche can now be · 097b1c39
      Barry Warsaw authored
      run either as a standalone application (by running pynche or
      pynche.pyw), or as a modal dialog inside another application.  This
      can be done by importing pyColorChooser and running askcolor().  The
      API for this is the same as the tkColorChooser.askcolor() API, namely:
      
          When `Okay' is hit, askcolor() returns ((r, g, b), "name").  When
          `Cancel' is hit, askcolor() returns (None, None).
      
      Note the following differences:
      
          1. pyColorChooser.askcolor() takes an optional keyword `master'
             which if set tells Pynche to run as a modal dialog.  `master'
             is a Tkinter parent window.  Without the `master' keyword
             Pynche runs standalone.
      
          2. in pyColorChooser.askcolor() will return a Tk/X11 color name as
             "name" if there is an exact match, otherwise it will return a
             color spec, e.g. "#rrggbb".  tkColorChooser can't return a
             color name.
      
      There are also some UI differences when running standalone vs. modal.
      When modal, there is no "File" menu, but instead there are "Okay" and
      "Cancel" buttons.
      
      The implementation of all this is a bit of a hack, but it seems to
      work moderately well.  I'm not guaranteeing the pyColorChooser.Chooser
      class has the same semantics as the tkColorChooser.Chooser class.
      097b1c39
  2. 21 Oct, 1998 12 commits
  3. 20 Oct, 1998 5 commits
  4. 19 Oct, 1998 16 commits