New SDK call ref with net set_ibeam_color method added. New Udemy Coupon added to docs
This commit is contained in:
parent
07f772c680
commit
2eed0afaeb
|
@ -25,9 +25,9 @@
|
||||||
<span style="font-weight: normal;">
|
<span style="font-weight: normal;">
|
||||||
apply coupon for discount:
|
apply coupon for discount:
|
||||||
</span>
|
</span>
|
||||||
07860559FF2298EF51E7
|
A2E4F6B1B75EC3D90133input.
|
||||||
</div>
|
</div>
|
||||||
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=07860559FF2298EF51E7','_blank');">
|
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=A2E4F6B1B75EC3D90133','_blank');">
|
||||||
click here to visit course page
|
click here to visit course page
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1305,6 +1305,7 @@ Checkbox(text,
|
||||||
background_color = None,
|
background_color = None,
|
||||||
text_color = None,
|
text_color = None,
|
||||||
checkbox_color = None,
|
checkbox_color = None,
|
||||||
|
highlight_thickness = 1,
|
||||||
change_submits = False,
|
change_submits = False,
|
||||||
enable_events = False,
|
enable_events = False,
|
||||||
disabled = False,
|
disabled = False,
|
||||||
|
@ -1333,6 +1334,7 @@ Parameter Descriptions:
|
||||||
| str | background_color | color of background |
|
| str | background_color | color of background |
|
||||||
| str | text_color | color of the text |
|
| str | text_color | color of the text |
|
||||||
| str | checkbox_color | color of background of the box that has the check mark in it. The checkmark is the same color as the text |
|
| str | checkbox_color | color of background of the box that has the check mark in it. The checkmark is the same color as the text |
|
||||||
|
| int | highlight_thickness | thickness of border around checkbox when gets focus |
|
||||||
| bool | change_submits | DO NOT USE. Only listed for backwards compat - Use enable_events instead |
|
| bool | change_submits | DO NOT USE. Only listed for backwards compat - Use enable_events instead |
|
||||||
| bool | enable_events | Turns on the element specific events. Checkbox events happen when an item changes |
|
| bool | enable_events | Turns on the element specific events. Checkbox events happen when an item changes |
|
||||||
| bool | disabled | set disable state |
|
| bool | disabled | set disable state |
|
||||||
|
@ -2481,7 +2483,9 @@ update(value = None,
|
||||||
font = None,
|
font = None,
|
||||||
visible = None,
|
visible = None,
|
||||||
size = (None, None),
|
size = (None, None),
|
||||||
select = None)
|
select = None,
|
||||||
|
text_color = None,
|
||||||
|
background_color = None)
|
||||||
```
|
```
|
||||||
|
|
||||||
Parameter Descriptions:
|
Parameter Descriptions:
|
||||||
|
@ -2497,6 +2501,8 @@ Parameter Descriptions:
|
||||||
| bool | visible | control visibility of element |
|
| bool | visible | control visibility of element |
|
||||||
| (int, int) | size | width, height. Width = characters-wide, height = NOTE it's the number of entries to show in the list |
|
| (int, int) | size | width, height. Width = characters-wide, height = NOTE it's the number of entries to show in the list |
|
||||||
| bool | select | if True, then the text will be selected, if False then selection will be cleared |
|
| bool | select | if True, then the text will be selected, if False then selection will be cleared |
|
||||||
|
| str | background_color | color of background |
|
||||||
|
| str | text_color | color of the text |
|
||||||
|
|
||||||
### visible
|
### visible
|
||||||
|
|
||||||
|
@ -2586,7 +2592,9 @@ Update(value = None,
|
||||||
font = None,
|
font = None,
|
||||||
visible = None,
|
visible = None,
|
||||||
size = (None, None),
|
size = (None, None),
|
||||||
select = None)
|
select = None,
|
||||||
|
text_color = None,
|
||||||
|
background_color = None)
|
||||||
```
|
```
|
||||||
|
|
||||||
Parameter Descriptions:
|
Parameter Descriptions:
|
||||||
|
@ -2602,6 +2610,8 @@ Parameter Descriptions:
|
||||||
| bool | visible | control visibility of element |
|
| bool | visible | control visibility of element |
|
||||||
| (int, int) | size | width, height. Width = characters-wide, height = NOTE it's the number of entries to show in the list |
|
| (int, int) | size | width, height. Width = characters-wide, height = NOTE it's the number of entries to show in the list |
|
||||||
| bool | select | if True, then the text will be selected, if False then selection will be cleared |
|
| bool | select | if True, then the text will be selected, if False then selection will be cleared |
|
||||||
|
| str | background_color | color of background |
|
||||||
|
| str | text_color | color of the text |
|
||||||
|
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
@ -5100,6 +5110,22 @@ Parameter Descriptions:
|
||||||
|--|--|--|
|
|--|--|--|
|
||||||
| bool | force | if True will call focus_force otherwise calls focus_set |
|
| bool | force | if True will call focus_force otherwise calls focus_set |
|
||||||
|
|
||||||
|
### set_ibeam_color
|
||||||
|
|
||||||
|
Sets the color of the I-Beam that is used to "insert" characters. This is oftens called a "Cursor" by
|
||||||
|
many users. To keep from being confused with tkinter's definition of cursor (the mouse pointer), the term
|
||||||
|
ibeam is used in this case.
|
||||||
|
|
||||||
|
```
|
||||||
|
set_ibeam_color(ibeam_color = None)
|
||||||
|
```
|
||||||
|
|
||||||
|
Parameter Descriptions:
|
||||||
|
|
||||||
|
|Type|Name|Meaning|
|
||||||
|
|--|--|--|
|
||||||
|
| str | ibeam_color | color to set the "I-Beam" used to indicate where characters will be inserted |
|
||||||
|
|
||||||
### set_size
|
### set_size
|
||||||
|
|
||||||
Changes the size of an element to a specific size.
|
Changes the size of an element to a specific size.
|
||||||
|
@ -6600,6 +6626,22 @@ Parameter Descriptions:
|
||||||
|--|--|--|
|
|--|--|--|
|
||||||
| bool | force | if True will call focus_force otherwise calls focus_set |
|
| bool | force | if True will call focus_force otherwise calls focus_set |
|
||||||
|
|
||||||
|
### set_ibeam_color
|
||||||
|
|
||||||
|
Sets the color of the I-Beam that is used to "insert" characters. This is oftens called a "Cursor" by
|
||||||
|
many users. To keep from being confused with tkinter's definition of cursor (the mouse pointer), the term
|
||||||
|
ibeam is used in this case.
|
||||||
|
|
||||||
|
```
|
||||||
|
set_ibeam_color(ibeam_color = None)
|
||||||
|
```
|
||||||
|
|
||||||
|
Parameter Descriptions:
|
||||||
|
|
||||||
|
|Type|Name|Meaning|
|
||||||
|
|--|--|--|
|
||||||
|
| str | ibeam_color | color to set the "I-Beam" used to indicate where characters will be inserted |
|
||||||
|
|
||||||
### set_size
|
### set_size
|
||||||
|
|
||||||
Changes the size of an element to a specific size.
|
Changes the size of an element to a specific size.
|
||||||
|
@ -9821,6 +9863,22 @@ Parameter Descriptions:
|
||||||
|--|--|--|
|
|--|--|--|
|
||||||
| bool | force | if True will call focus_force otherwise calls focus_set |
|
| bool | force | if True will call focus_force otherwise calls focus_set |
|
||||||
|
|
||||||
|
### set_ibeam_color
|
||||||
|
|
||||||
|
Sets the color of the I-Beam that is used to "insert" characters. This is oftens called a "Cursor" by
|
||||||
|
many users. To keep from being confused with tkinter's definition of cursor (the mouse pointer), the term
|
||||||
|
ibeam is used in this case.
|
||||||
|
|
||||||
|
```
|
||||||
|
set_ibeam_color(ibeam_color = None)
|
||||||
|
```
|
||||||
|
|
||||||
|
Parameter Descriptions:
|
||||||
|
|
||||||
|
|Type|Name|Meaning|
|
||||||
|
|--|--|--|
|
||||||
|
| str | ibeam_color | color to set the "I-Beam" used to indicate where characters will be inserted |
|
||||||
|
|
||||||
### set_size
|
### set_size
|
||||||
|
|
||||||
Changes the size of an element to a specific size.
|
Changes the size of an element to a specific size.
|
||||||
|
@ -13054,6 +13112,7 @@ Window(title,
|
||||||
sbar_arrow_width = None,
|
sbar_arrow_width = None,
|
||||||
sbar_frame_color = None,
|
sbar_frame_color = None,
|
||||||
sbar_relief = None,
|
sbar_relief = None,
|
||||||
|
watermark = None,
|
||||||
metadata = None)
|
metadata = None)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -13121,6 +13180,7 @@ Parameter Descriptions:
|
||||||
| int | sbar_arrow_width | Scrollbar width of the arrow on the scrollbar. It will potentially impact the overall width of the scrollbar |
|
| int | sbar_arrow_width | Scrollbar width of the arrow on the scrollbar. It will potentially impact the overall width of the scrollbar |
|
||||||
| str | sbar_frame_color | Scrollbar Color of frame around scrollbar (available only on some ttk themes) |
|
| str | sbar_frame_color | Scrollbar Color of frame around scrollbar (available only on some ttk themes) |
|
||||||
| str | sbar_relief | Scrollbar relief that will be used for the "thumb" of the scrollbar (the thing you grab that slides). Should be a constant that is defined at starting with "RELIEF_" - RELIEF_RAISED, RELIEF_SUNKEN, RELIEF_FLAT, RELIEF_RIDGE, RELIEF_GROOVE, RELIEF_SOLID |
|
| str | sbar_relief | Scrollbar relief that will be used for the "thumb" of the scrollbar (the thing you grab that slides). Should be a constant that is defined at starting with "RELIEF_" - RELIEF_RAISED, RELIEF_SUNKEN, RELIEF_FLAT, RELIEF_RIDGE, RELIEF_GROOVE, RELIEF_SOLID |
|
||||||
|
| bool | watermark | If True, then turns on watermarking temporarily for ALL windows created from this point forward. See global settings doc for more info |
|
||||||
| Any | metadata | User metadata that can be set to ANYTHING |
|
| Any | metadata | User metadata that can be set to ANYTHING |
|
||||||
|
|
||||||
### add_row
|
### add_row
|
||||||
|
@ -20031,7 +20091,8 @@ set_options(icon = None,
|
||||||
sbar_relief = None,
|
sbar_relief = None,
|
||||||
alpha_channel = None,
|
alpha_channel = None,
|
||||||
hide_window_when_creating = None,
|
hide_window_when_creating = None,
|
||||||
use_button_shortcuts = None)
|
use_button_shortcuts = None,
|
||||||
|
watermark_text = None)
|
||||||
```
|
```
|
||||||
|
|
||||||
Parameter Descriptions:
|
Parameter Descriptions:
|
||||||
|
@ -20104,6 +20165,7 @@ Parameter Descriptions:
|
||||||
| float | alpha_channel | Default alpha channel to be used on all windows |
|
| float | alpha_channel | Default alpha channel to be used on all windows |
|
||||||
| bool | hide_window_when_creating | If True then alpha will be set to 0 while a window is made and moved to location indicated |
|
| bool | hide_window_when_creating | If True then alpha will be set to 0 while a window is made and moved to location indicated |
|
||||||
| bool | use_button_shortcuts | If True then Shortcut Char will be used with Buttons |
|
| bool | use_button_shortcuts | If True then Shortcut Char will be used with Buttons |
|
||||||
|
| str | watermark_text | Set the text that will be used if a window is watermarked |
|
||||||
| None | **RETURN** | None
|
| None | **RETURN** | None
|
||||||
|
|
||||||
### Non PEP8 versions
|
### Non PEP8 versions
|
||||||
|
@ -20187,7 +20249,8 @@ SetOptions(icon = None,
|
||||||
sbar_relief = None,
|
sbar_relief = None,
|
||||||
alpha_channel = None,
|
alpha_channel = None,
|
||||||
hide_window_when_creating = None,
|
hide_window_when_creating = None,
|
||||||
use_button_shortcuts = None)
|
use_button_shortcuts = None,
|
||||||
|
watermark_text = None)
|
||||||
```
|
```
|
||||||
|
|
||||||
Parameter Descriptions:
|
Parameter Descriptions:
|
||||||
|
@ -20260,6 +20323,7 @@ Parameter Descriptions:
|
||||||
| float | alpha_channel | Default alpha channel to be used on all windows |
|
| float | alpha_channel | Default alpha channel to be used on all windows |
|
||||||
| bool | hide_window_when_creating | If True then alpha will be set to 0 while a window is made and moved to location indicated |
|
| bool | hide_window_when_creating | If True then alpha will be set to 0 while a window is made and moved to location indicated |
|
||||||
| bool | use_button_shortcuts | If True then Shortcut Char will be used with Buttons |
|
| bool | use_button_shortcuts | If True then Shortcut Char will be used with Buttons |
|
||||||
|
| str | watermark_text | Set the text that will be used if a window is watermarked |
|
||||||
| None | **RETURN** | None
|
| None | **RETURN** | None
|
||||||
|
|
||||||
## Old Themes (Look and Feel) - Replaced by theme()
|
## Old Themes (Look and Feel) - Replaced by theme()
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
<span style="font-weight: normal;">
|
<span style="font-weight: normal;">
|
||||||
apply coupon for discount:
|
apply coupon for discount:
|
||||||
</span>
|
</span>
|
||||||
07860559FF2298EF51E7
|
A2E4F6B1B75EC3D90133
|
||||||
</div>
|
</div>
|
||||||
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=07860559FF2298EF51E7','_blank');">
|
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=A2E4F6B1B75EC3D90133','_blank');">
|
||||||
click here to visit course page
|
click here to visit course page
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
<span style="font-weight: normal;">
|
<span style="font-weight: normal;">
|
||||||
apply coupon for discount:
|
apply coupon for discount:
|
||||||
</span>
|
</span>
|
||||||
07860559FF2298EF51E7
|
A2E4F6B1B75EC3D90133
|
||||||
</div>
|
</div>
|
||||||
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=07860559FF2298EF51E7','_blank');">
|
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=A2E4F6B1B75EC3D90133','_blank');">
|
||||||
click here to visit course page
|
click here to visit course page
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
<img src="https://www.dropbox.com/s/6wzf3ebmj97v4zs/PySimpleGUI-GitHub-Udemy-Course.png?raw=1" width=200 alt="PySimpleGUI Udemy Course">
|
<img src="https://www.dropbox.com/s/6wzf3ebmj97v4zs/PySimpleGUI-GitHub-Udemy-Course.png?raw=1" width=200 alt="PySimpleGUI Udemy Course">
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<h5>apply coupon for discount:<br>07860559FF2298EF51E7</h6>
|
<h5>apply coupon for discount:<br>A2E4F6B1B75EC3D90133</h6>
|
||||||
<a href="https://www.udemy.com/course/pysimplegui/?couponCode=07860559FF2298EF51E7">click here to visit course page</a>
|
<a href="https://www.udemy.com/course/pysimplegui/?couponCode=A2E4F6B1B75EC3D90133">click here to visit course page</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -52,9 +52,9 @@ HOW DO I INSERT IMAGES ???
|
||||||
<span style="font-weight: normal;">
|
<span style="font-weight: normal;">
|
||||||
apply coupon for discount:
|
apply coupon for discount:
|
||||||
</span>
|
</span>
|
||||||
07860559FF2298EF51E7
|
A2E4F6B1B75EC3D90133
|
||||||
</div>
|
</div>
|
||||||
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=07860559FF2298EF51E7','_blank');">
|
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=A2E4F6B1B75EC3D90133','_blank');">
|
||||||
click here to visit course page
|
click here to visit course page
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
<span style="font-weight: normal;">
|
<span style="font-weight: normal;">
|
||||||
apply coupon for discount:
|
apply coupon for discount:
|
||||||
</span>
|
</span>
|
||||||
07860559FF2298EF51E7
|
A2E4F6B1B75EC3D90133input.
|
||||||
</div>
|
</div>
|
||||||
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=07860559FF2298EF51E7','_blank');">
|
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=A2E4F6B1B75EC3D90133','_blank');">
|
||||||
click here to visit course page
|
click here to visit course page
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1111,6 +1111,9 @@ The following methods are here for backwards compatibility reference. You will
|
||||||
### set_focus
|
### set_focus
|
||||||
<!-- <+Input.set_focus+> -->
|
<!-- <+Input.set_focus+> -->
|
||||||
|
|
||||||
|
### set_ibeam_color
|
||||||
|
<!-- <+Input.set_ibeam_color+> -->
|
||||||
|
|
||||||
### set_size
|
### set_size
|
||||||
<!-- <+Input.set_size+> -->
|
<!-- <+Input.set_size+> -->
|
||||||
|
|
||||||
|
@ -1421,6 +1424,9 @@ See the Column element to get a list of method calls available. The function re
|
||||||
### set_focus
|
### set_focus
|
||||||
<!-- <+Multiline.set_focus+> -->
|
<!-- <+Multiline.set_focus+> -->
|
||||||
|
|
||||||
|
### set_ibeam_color
|
||||||
|
<!-- <+Input.set_ibeam_color+> -->
|
||||||
|
|
||||||
### set_size
|
### set_size
|
||||||
<!-- <+Multiline.set_size+> -->
|
<!-- <+Multiline.set_size+> -->
|
||||||
|
|
||||||
|
@ -2162,6 +2168,9 @@ The following methods are here for backwards compatibility reference. You will
|
||||||
### set_focus
|
### set_focus
|
||||||
<!-- <+Spin.set_focus+> -->
|
<!-- <+Spin.set_focus+> -->
|
||||||
|
|
||||||
|
### set_ibeam_color
|
||||||
|
<!-- <+Input.set_ibeam_color+> -->
|
||||||
|
|
||||||
### set_size
|
### set_size
|
||||||
<!-- <+Spin.set_size+> -->
|
<!-- <+Spin.set_size+> -->
|
||||||
|
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
<span style="font-weight: normal;">
|
<span style="font-weight: normal;">
|
||||||
apply coupon for discount:
|
apply coupon for discount:
|
||||||
</span>
|
</span>
|
||||||
07860559FF2298EF51E7
|
A2E4F6B1B75EC3D90133input.
|
||||||
</div>
|
</div>
|
||||||
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=07860559FF2298EF51E7','_blank');">
|
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=A2E4F6B1B75EC3D90133','_blank');">
|
||||||
click here to visit course page
|
click here to visit course page
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1305,6 +1305,7 @@ Checkbox(text,
|
||||||
background_color = None,
|
background_color = None,
|
||||||
text_color = None,
|
text_color = None,
|
||||||
checkbox_color = None,
|
checkbox_color = None,
|
||||||
|
highlight_thickness = 1,
|
||||||
change_submits = False,
|
change_submits = False,
|
||||||
enable_events = False,
|
enable_events = False,
|
||||||
disabled = False,
|
disabled = False,
|
||||||
|
@ -1333,6 +1334,7 @@ Parameter Descriptions:
|
||||||
| str | background_color | color of background |
|
| str | background_color | color of background |
|
||||||
| str | text_color | color of the text |
|
| str | text_color | color of the text |
|
||||||
| str | checkbox_color | color of background of the box that has the check mark in it. The checkmark is the same color as the text |
|
| str | checkbox_color | color of background of the box that has the check mark in it. The checkmark is the same color as the text |
|
||||||
|
| int | highlight_thickness | thickness of border around checkbox when gets focus |
|
||||||
| bool | change_submits | DO NOT USE. Only listed for backwards compat - Use enable_events instead |
|
| bool | change_submits | DO NOT USE. Only listed for backwards compat - Use enable_events instead |
|
||||||
| bool | enable_events | Turns on the element specific events. Checkbox events happen when an item changes |
|
| bool | enable_events | Turns on the element specific events. Checkbox events happen when an item changes |
|
||||||
| bool | disabled | set disable state |
|
| bool | disabled | set disable state |
|
||||||
|
@ -2481,7 +2483,9 @@ update(value = None,
|
||||||
font = None,
|
font = None,
|
||||||
visible = None,
|
visible = None,
|
||||||
size = (None, None),
|
size = (None, None),
|
||||||
select = None)
|
select = None,
|
||||||
|
text_color = None,
|
||||||
|
background_color = None)
|
||||||
```
|
```
|
||||||
|
|
||||||
Parameter Descriptions:
|
Parameter Descriptions:
|
||||||
|
@ -2497,6 +2501,8 @@ Parameter Descriptions:
|
||||||
| bool | visible | control visibility of element |
|
| bool | visible | control visibility of element |
|
||||||
| (int, int) | size | width, height. Width = characters-wide, height = NOTE it's the number of entries to show in the list |
|
| (int, int) | size | width, height. Width = characters-wide, height = NOTE it's the number of entries to show in the list |
|
||||||
| bool | select | if True, then the text will be selected, if False then selection will be cleared |
|
| bool | select | if True, then the text will be selected, if False then selection will be cleared |
|
||||||
|
| str | background_color | color of background |
|
||||||
|
| str | text_color | color of the text |
|
||||||
|
|
||||||
### visible
|
### visible
|
||||||
|
|
||||||
|
@ -2586,7 +2592,9 @@ Update(value = None,
|
||||||
font = None,
|
font = None,
|
||||||
visible = None,
|
visible = None,
|
||||||
size = (None, None),
|
size = (None, None),
|
||||||
select = None)
|
select = None,
|
||||||
|
text_color = None,
|
||||||
|
background_color = None)
|
||||||
```
|
```
|
||||||
|
|
||||||
Parameter Descriptions:
|
Parameter Descriptions:
|
||||||
|
@ -2602,6 +2610,8 @@ Parameter Descriptions:
|
||||||
| bool | visible | control visibility of element |
|
| bool | visible | control visibility of element |
|
||||||
| (int, int) | size | width, height. Width = characters-wide, height = NOTE it's the number of entries to show in the list |
|
| (int, int) | size | width, height. Width = characters-wide, height = NOTE it's the number of entries to show in the list |
|
||||||
| bool | select | if True, then the text will be selected, if False then selection will be cleared |
|
| bool | select | if True, then the text will be selected, if False then selection will be cleared |
|
||||||
|
| str | background_color | color of background |
|
||||||
|
| str | text_color | color of the text |
|
||||||
|
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
@ -5100,6 +5110,22 @@ Parameter Descriptions:
|
||||||
|--|--|--|
|
|--|--|--|
|
||||||
| bool | force | if True will call focus_force otherwise calls focus_set |
|
| bool | force | if True will call focus_force otherwise calls focus_set |
|
||||||
|
|
||||||
|
### set_ibeam_color
|
||||||
|
|
||||||
|
Sets the color of the I-Beam that is used to "insert" characters. This is oftens called a "Cursor" by
|
||||||
|
many users. To keep from being confused with tkinter's definition of cursor (the mouse pointer), the term
|
||||||
|
ibeam is used in this case.
|
||||||
|
|
||||||
|
```
|
||||||
|
set_ibeam_color(ibeam_color = None)
|
||||||
|
```
|
||||||
|
|
||||||
|
Parameter Descriptions:
|
||||||
|
|
||||||
|
|Type|Name|Meaning|
|
||||||
|
|--|--|--|
|
||||||
|
| str | ibeam_color | color to set the "I-Beam" used to indicate where characters will be inserted |
|
||||||
|
|
||||||
### set_size
|
### set_size
|
||||||
|
|
||||||
Changes the size of an element to a specific size.
|
Changes the size of an element to a specific size.
|
||||||
|
@ -6600,6 +6626,22 @@ Parameter Descriptions:
|
||||||
|--|--|--|
|
|--|--|--|
|
||||||
| bool | force | if True will call focus_force otherwise calls focus_set |
|
| bool | force | if True will call focus_force otherwise calls focus_set |
|
||||||
|
|
||||||
|
### set_ibeam_color
|
||||||
|
|
||||||
|
Sets the color of the I-Beam that is used to "insert" characters. This is oftens called a "Cursor" by
|
||||||
|
many users. To keep from being confused with tkinter's definition of cursor (the mouse pointer), the term
|
||||||
|
ibeam is used in this case.
|
||||||
|
|
||||||
|
```
|
||||||
|
set_ibeam_color(ibeam_color = None)
|
||||||
|
```
|
||||||
|
|
||||||
|
Parameter Descriptions:
|
||||||
|
|
||||||
|
|Type|Name|Meaning|
|
||||||
|
|--|--|--|
|
||||||
|
| str | ibeam_color | color to set the "I-Beam" used to indicate where characters will be inserted |
|
||||||
|
|
||||||
### set_size
|
### set_size
|
||||||
|
|
||||||
Changes the size of an element to a specific size.
|
Changes the size of an element to a specific size.
|
||||||
|
@ -9821,6 +9863,22 @@ Parameter Descriptions:
|
||||||
|--|--|--|
|
|--|--|--|
|
||||||
| bool | force | if True will call focus_force otherwise calls focus_set |
|
| bool | force | if True will call focus_force otherwise calls focus_set |
|
||||||
|
|
||||||
|
### set_ibeam_color
|
||||||
|
|
||||||
|
Sets the color of the I-Beam that is used to "insert" characters. This is oftens called a "Cursor" by
|
||||||
|
many users. To keep from being confused with tkinter's definition of cursor (the mouse pointer), the term
|
||||||
|
ibeam is used in this case.
|
||||||
|
|
||||||
|
```
|
||||||
|
set_ibeam_color(ibeam_color = None)
|
||||||
|
```
|
||||||
|
|
||||||
|
Parameter Descriptions:
|
||||||
|
|
||||||
|
|Type|Name|Meaning|
|
||||||
|
|--|--|--|
|
||||||
|
| str | ibeam_color | color to set the "I-Beam" used to indicate where characters will be inserted |
|
||||||
|
|
||||||
### set_size
|
### set_size
|
||||||
|
|
||||||
Changes the size of an element to a specific size.
|
Changes the size of an element to a specific size.
|
||||||
|
@ -13054,6 +13112,7 @@ Window(title,
|
||||||
sbar_arrow_width = None,
|
sbar_arrow_width = None,
|
||||||
sbar_frame_color = None,
|
sbar_frame_color = None,
|
||||||
sbar_relief = None,
|
sbar_relief = None,
|
||||||
|
watermark = None,
|
||||||
metadata = None)
|
metadata = None)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -13121,6 +13180,7 @@ Parameter Descriptions:
|
||||||
| int | sbar_arrow_width | Scrollbar width of the arrow on the scrollbar. It will potentially impact the overall width of the scrollbar |
|
| int | sbar_arrow_width | Scrollbar width of the arrow on the scrollbar. It will potentially impact the overall width of the scrollbar |
|
||||||
| str | sbar_frame_color | Scrollbar Color of frame around scrollbar (available only on some ttk themes) |
|
| str | sbar_frame_color | Scrollbar Color of frame around scrollbar (available only on some ttk themes) |
|
||||||
| str | sbar_relief | Scrollbar relief that will be used for the "thumb" of the scrollbar (the thing you grab that slides). Should be a constant that is defined at starting with "RELIEF_" - RELIEF_RAISED, RELIEF_SUNKEN, RELIEF_FLAT, RELIEF_RIDGE, RELIEF_GROOVE, RELIEF_SOLID |
|
| str | sbar_relief | Scrollbar relief that will be used for the "thumb" of the scrollbar (the thing you grab that slides). Should be a constant that is defined at starting with "RELIEF_" - RELIEF_RAISED, RELIEF_SUNKEN, RELIEF_FLAT, RELIEF_RIDGE, RELIEF_GROOVE, RELIEF_SOLID |
|
||||||
|
| bool | watermark | If True, then turns on watermarking temporarily for ALL windows created from this point forward. See global settings doc for more info |
|
||||||
| Any | metadata | User metadata that can be set to ANYTHING |
|
| Any | metadata | User metadata that can be set to ANYTHING |
|
||||||
|
|
||||||
### add_row
|
### add_row
|
||||||
|
@ -20031,7 +20091,8 @@ set_options(icon = None,
|
||||||
sbar_relief = None,
|
sbar_relief = None,
|
||||||
alpha_channel = None,
|
alpha_channel = None,
|
||||||
hide_window_when_creating = None,
|
hide_window_when_creating = None,
|
||||||
use_button_shortcuts = None)
|
use_button_shortcuts = None,
|
||||||
|
watermark_text = None)
|
||||||
```
|
```
|
||||||
|
|
||||||
Parameter Descriptions:
|
Parameter Descriptions:
|
||||||
|
@ -20104,6 +20165,7 @@ Parameter Descriptions:
|
||||||
| float | alpha_channel | Default alpha channel to be used on all windows |
|
| float | alpha_channel | Default alpha channel to be used on all windows |
|
||||||
| bool | hide_window_when_creating | If True then alpha will be set to 0 while a window is made and moved to location indicated |
|
| bool | hide_window_when_creating | If True then alpha will be set to 0 while a window is made and moved to location indicated |
|
||||||
| bool | use_button_shortcuts | If True then Shortcut Char will be used with Buttons |
|
| bool | use_button_shortcuts | If True then Shortcut Char will be used with Buttons |
|
||||||
|
| str | watermark_text | Set the text that will be used if a window is watermarked |
|
||||||
| None | **RETURN** | None
|
| None | **RETURN** | None
|
||||||
|
|
||||||
### Non PEP8 versions
|
### Non PEP8 versions
|
||||||
|
@ -20187,7 +20249,8 @@ SetOptions(icon = None,
|
||||||
sbar_relief = None,
|
sbar_relief = None,
|
||||||
alpha_channel = None,
|
alpha_channel = None,
|
||||||
hide_window_when_creating = None,
|
hide_window_when_creating = None,
|
||||||
use_button_shortcuts = None)
|
use_button_shortcuts = None,
|
||||||
|
watermark_text = None)
|
||||||
```
|
```
|
||||||
|
|
||||||
Parameter Descriptions:
|
Parameter Descriptions:
|
||||||
|
@ -20260,6 +20323,7 @@ Parameter Descriptions:
|
||||||
| float | alpha_channel | Default alpha channel to be used on all windows |
|
| float | alpha_channel | Default alpha channel to be used on all windows |
|
||||||
| bool | hide_window_when_creating | If True then alpha will be set to 0 while a window is made and moved to location indicated |
|
| bool | hide_window_when_creating | If True then alpha will be set to 0 while a window is made and moved to location indicated |
|
||||||
| bool | use_button_shortcuts | If True then Shortcut Char will be used with Buttons |
|
| bool | use_button_shortcuts | If True then Shortcut Char will be used with Buttons |
|
||||||
|
| str | watermark_text | Set the text that will be used if a window is watermarked |
|
||||||
| None | **RETURN** | None
|
| None | **RETURN** | None
|
||||||
|
|
||||||
## Old Themes (Look and Feel) - Replaced by theme()
|
## Old Themes (Look and Feel) - Replaced by theme()
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
<span style="font-weight: normal;">
|
<span style="font-weight: normal;">
|
||||||
apply coupon for discount:
|
apply coupon for discount:
|
||||||
</span>
|
</span>
|
||||||
07860559FF2298EF51E7
|
A2E4F6B1B75EC3D90133
|
||||||
</div>
|
</div>
|
||||||
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=07860559FF2298EF51E7','_blank');">
|
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=A2E4F6B1B75EC3D90133','_blank');">
|
||||||
click here to visit course page
|
click here to visit course page
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue