Results of 1 - 2 of about 2 for maxvalue (0.002 sec.)
- デスクリプタ ガイド 11228
- デスクリプタ ガイド Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を使うと、オブジェクトの属性の検索、保存、削除をカスタマイズできます。 本ガイドは4つの大項目から構成されています。 最初の「入門」では基本の紹介をし
...cted { value !r} to be one of { self . options !r} ' ) class Number ( Validator ): def __init__ ( self , minvalue = None , maxvalue = None ): self . minvalue = minvalue self . maxvalue = maxvalue def validate ( self , value ): if not isinstance ( value ,...nd value < self . minvalue : raise ValueError ( f 'Expected { value !r} to be at least { self . minvalue !r} ' ) if self . maxvalue is not None and value > self . maxvalue : raise ValueError ( f 'Expected { value !r} to be no more than { self . maxvalue... - https://man.mtool.work/python/3.14/howto/descriptor.html
- Tkinter のダイアログ 7485
- Tkinter のダイアログ tkinter.simpledialog --- Tkinter の標準入力ダイアログ ソースコード: Lib/tkinter/simpledialog.py tkinter.simpledialog モジュールには、ユーザーから値を受け取るための単純なモーダルダイアログを作る便利なクラスと関数がありま
...す。 tkinter.simpledialog. askfloat ( title , prompt , * , initialvalue = None , minvalue = None , maxvalue = None , parent = None ) tkinter.simpledialog. askinteger ( title , prompt , * , initialvalue = None , minvalue = None , m...期値です。 parent はダイアログの背後に置くウィンドウです。 askinteger() と askfloat() は、入力値の範囲を制限する minvalue と maxvalue も受け付けます。 askstring() は、入力されたテキストを隠す文字を指定する show も受け付けます。 例えばパスワードを隠すには '... - https://man.mtool.work/python/3.14/library/dialog.html
PREV
1
NEXT