-
Notifications
You must be signed in to change notification settings - Fork 0
/
versions.html
1143 lines (961 loc) · 75.4 KB
/
versions.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" data-content_root="./" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Release Notes — Edifice 2.6.1 documentation</title>
<script data-cfasync="false">
document.documentElement.dataset.mode = localStorage.getItem("mode") || "";
document.documentElement.dataset.theme = localStorage.getItem("theme") || "";
</script>
<!--
this give us a css class that will be invisible only if js is disabled
-->
<noscript>
<style>
.pst-js-only { display: none !important; }
</style>
</noscript>
<!-- Loaded before other Sphinx assets -->
<link href="_static/styles/theme.css?digest=26a4bc78f4c0ddb94549" rel="stylesheet" />
<link href="_static/styles/pydata-sphinx-theme.css?digest=26a4bc78f4c0ddb94549" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="_static/css/custom.css?v=7d2b32d0" />
<!-- So that users can add custom icons -->
<script src="_static/scripts/fontawesome.js?digest=26a4bc78f4c0ddb94549"></script>
<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=26a4bc78f4c0ddb94549" />
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=26a4bc78f4c0ddb94549" />
<script src="_static/documentation_options.js?v=0a414f3d"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
<script src="_static/copybutton.js?v=f281be69"></script>
<script>DOCUMENTATION_OPTIONS.pagename = 'versions';</script>
<link rel="icon" href="_static/EdificePyramid.ico"/>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="prev" title="Developer Tools" href="developer_tools.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docsearch:version" content="" />
</head>
<body data-bs-spy="scroll" data-bs-target=".bd-toc-nav" data-offset="180" data-bs-root-margin="0px 0px -60%" data-default-mode="">
<div id="pst-skip-link" class="skip-link d-print-none"><a href="#main-content">Skip to main content</a></div>
<div id="pst-scroll-pixel-helper"></div>
<button type="button" class="btn rounded-pill" id="pst-back-to-top">
<i class="fa-solid fa-arrow-up"></i>Back to top</button>
<dialog id="pst-search-dialog">
<form class="bd-search d-flex align-items-center"
action="search.html"
method="get">
<i class="fa-solid fa-magnifying-glass"></i>
<input type="search"
class="form-control"
name="q"
placeholder="Search the docs ..."
aria-label="Search the docs ..."
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"/>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
</form>
</dialog>
<div class="pst-async-banner-revealer d-none">
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
</div>
<header class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">
<div class="bd-header__inner bd-page-width">
<button class="pst-navbar-icon sidebar-toggle primary-toggle" aria-label="Site navigation">
<span class="fa-solid fa-bars"></span>
</button>
<div class="col-lg-3 navbar-header-items__start">
<div class="navbar-item">
<a class="navbar-brand logo" href="index.html">
<img src="_static/EdificePyramid.svg" class="logo__image only-light" alt="Edifice 2.6.1 documentation - Home"/>
<img src="_static/EdificePyramid.svg" class="logo__image only-dark pst-js-only" alt="Edifice 2.6.1 documentation - Home"/>
</a></div>
</div>
<div class="col-lg-9 navbar-header-items">
<div class="me-auto navbar-header-items__center">
<div class="navbar-item">
<nav>
<ul class="bd-navbar-elements navbar-nav">
<li class="nav-item ">
<a class="nav-link nav-internal" href="tutorial.html">
Tutorial
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="examples.html">
Examples
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="api.html">
API
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="developer_tools.html">
Developer Tools
</a>
</li>
<li class="nav-item current active">
<a class="nav-link nav-internal" href="#">
Release Notes
</a>
</li>
</ul>
</nav></div>
</div>
<div class="navbar-header-items__end">
<div class="navbar-item navbar-persistent--container">
<button class="btn search-button-field search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass"></i>
<span class="search-button__default-text">Search</span>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span>
</button>
</div>
<div class="navbar-item">
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button pst-js-only" aria-label="Color mode" data-bs-title="Color mode" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light" title="Light"></i>
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark" title="Dark"></i>
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto" title="System Settings"></i>
</button></div>
<div class="navbar-item"><ul class="navbar-icon-links"
aria-label="Icon Links">
<li class="nav-item">
<a href="https://github.com/pyedifice/pyedifice" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-github fa-lg" aria-hidden="true"></i>
<span class="sr-only">GitHub</span></a>
</li>
</ul></div>
</div>
</div>
<div class="navbar-persistent--mobile">
<button class="btn search-button-field search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass"></i>
<span class="search-button__default-text">Search</span>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span>
</button>
</div>
<button class="pst-navbar-icon sidebar-toggle secondary-toggle" aria-label="On this page">
<span class="fa-solid fa-outdent"></span>
</button>
</div>
</header>
<div class="bd-container">
<div class="bd-container__inner bd-page-width">
<dialog id="pst-primary-sidebar-modal"></dialog>
<div id="pst-primary-sidebar" class="bd-sidebar-primary bd-sidebar hide-on-wide">
<div class="sidebar-header-items sidebar-primary__section">
<div class="sidebar-header-items__center">
<div class="navbar-item">
<nav>
<ul class="bd-navbar-elements navbar-nav">
<li class="nav-item ">
<a class="nav-link nav-internal" href="tutorial.html">
Tutorial
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="examples.html">
Examples
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="api.html">
API
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="developer_tools.html">
Developer Tools
</a>
</li>
<li class="nav-item current active">
<a class="nav-link nav-internal" href="#">
Release Notes
</a>
</li>
</ul>
</nav></div>
</div>
<div class="sidebar-header-items__end">
<div class="navbar-item">
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button pst-js-only" aria-label="Color mode" data-bs-title="Color mode" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light" title="Light"></i>
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark" title="Dark"></i>
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto" title="System Settings"></i>
</button></div>
<div class="navbar-item"><ul class="navbar-icon-links"
aria-label="Icon Links">
<li class="nav-item">
<a href="https://github.com/pyedifice/pyedifice" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-github fa-lg" aria-hidden="true"></i>
<span class="sr-only">GitHub</span></a>
</li>
</ul></div>
</div>
</div>
<div class="sidebar-primary-items__end sidebar-primary__section">
</div>
<div id="rtd-footer-container"></div>
</div>
<main id="main-content" class="bd-main" role="main">
<div class="bd-content">
<div class="bd-article-container">
<div class="bd-header-article d-print-none">
<div class="header-article-items header-article__inner">
<div class="header-article-items__start">
<div class="header-article-item">
<nav aria-label="Breadcrumb" class="d-print-none">
<ul class="bd-breadcrumbs">
<li class="breadcrumb-item breadcrumb-home">
<a href="index.html" class="nav-link" aria-label="Home">
<i class="fa-solid fa-home"></i>
</a>
</li>
<li class="breadcrumb-item active" aria-current="page"><span class="ellipsis">Release Notes</span></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<div id="searchbox"></div>
<article class="bd-article">
<section id="release-notes">
<h1>Release Notes<a class="headerlink" href="#release-notes" title="Link to this heading">#</a></h1>
<section id="v2-6-1">
<h2>v2.6.1<a class="headerlink" href="#v2-6-1" title="Link to this heading">#</a></h2>
<p>Released: 2024-11-09</p>
<ul class="simple">
<li><p>Bugfix <a class="reference internal" href="stubs/edifice.QtWidgetElement.html#edifice.QtWidgetElement" title="edifice.QtWidgetElement"><code class="xref py py-class docutils literal notranslate"><span class="pre">QtWidgetElement</span></code></a> <code class="code docutils literal notranslate"><span class="pre">style</span></code> prop will not be mutated.</p></li>
</ul>
</section>
<section id="v2-6-0">
<h2>v2.6.0<a class="headerlink" href="#v2-6-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-11-02</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.Label.html#edifice.Label" title="edifice.Label"><code class="xref py py-class docutils literal notranslate"><span class="pre">Label</span></code></a> new prop <code class="code docutils literal notranslate"><span class="pre">text_format</span></code>.</p></li>
</ul>
</section>
<section id="v2-5-0">
<h2>v2.5.0<a class="headerlink" href="#v2-5-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-10-10</p>
<ul class="simple">
<li><p>New Hook <a class="reference internal" href="stubs/edifice.use_callback.html#edifice.use_callback" title="edifice.use_callback"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_callback()</span></code></a>.</p></li>
<li><p>Hook <a class="reference internal" href="stubs/edifice.use_state.html#edifice.use_state" title="edifice.use_state"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_state()</span></code></a> <strong>setter function</strong> will be stable across renders.</p></li>
</ul>
</section>
<section id="v2-4-0">
<h2>v2.4.0<a class="headerlink" href="#v2-4-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-10-06</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.TabView.html#edifice.TabView" title="edifice.TabView"><code class="xref py py-class docutils literal notranslate"><span class="pre">TabView</span></code></a> bugfix</p></li>
</ul>
</section>
<section id="v2-3-0">
<h2>v2.3.0<a class="headerlink" href="#v2-3-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-10-05</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.TextInput.html#edifice.TextInput" title="edifice.TextInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">TextInput</span></code></a> new prop <code class="code docutils literal notranslate"><span class="pre">completer</span></code>.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.QtWidgetElement.html#edifice.QtWidgetElement" title="edifice.QtWidgetElement"><code class="xref py py-class docutils literal notranslate"><span class="pre">QtWidgetElement</span></code></a> new argument <code class="code docutils literal notranslate"><span class="pre">_focus_open</span></code>.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.QtWidgetElement.html#edifice.QtWidgetElement" title="edifice.QtWidgetElement"><code class="xref py py-class docutils literal notranslate"><span class="pre">QtWidgetElement</span></code></a> <code class="code docutils literal notranslate"><span class="pre">on_key_down</span></code> and <code class="code docutils literal notranslate"><span class="pre">on_key_up</span></code> events will propagate to parent.</p></li>
<li><p><code class="code docutils literal notranslate"><span class="pre">edifice.extra</span></code> module does not re-export extra Elements because that requires additional dependencies.</p></li>
</ul>
</section>
<section id="v2-2-0">
<h2>v2.2.0<a class="headerlink" href="#v2-2-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-09-29</p>
<ul class="simple">
<li><p>Inspector style bugfix.</p></li>
</ul>
</section>
<section id="v2-1-0">
<h2>v2.1.0<a class="headerlink" href="#v2-1-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-09-27</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.Window.html#edifice.Window" title="edifice.Window"><code class="xref py py-class docutils literal notranslate"><span class="pre">Window</span></code></a> new <strong>props</strong> <code class="code docutils literal notranslate"><span class="pre">_size_open</span></code>, <code class="code docutils literal notranslate"><span class="pre">full_screen</span></code>.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.Window.html#edifice.Window" title="edifice.Window"><code class="xref py py-class docutils literal notranslate"><span class="pre">Window</span></code></a> renamed argument <code class="code docutils literal notranslate"><span class="pre">on_open</span></code> to <code class="code docutils literal notranslate"><span class="pre">_on_open</span></code>.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.WindowPopView.html#edifice.WindowPopView" title="edifice.WindowPopView"><code class="xref py py-class docutils literal notranslate"><span class="pre">WindowPopView</span></code></a> new <strong>props</strong> <code class="code docutils literal notranslate"><span class="pre">_size_open</span></code>, <code class="code docutils literal notranslate"><span class="pre">full_screen</span></code>.</p></li>
</ul>
</section>
<section id="v2-0-1">
<h2>v2.0.1<a class="headerlink" href="#v2-0-1" title="Link to this heading">#</a></h2>
<p>Released: 2024-09-22</p>
<ul class="simple">
<li><p>Delete method <a class="reference internal" href="stubs/edifice.TableGridView.html#edifice.TableGridView" title="edifice.TableGridView"><code class="xref py py-class docutils literal notranslate"><span class="pre">TableGridView</span></code></a> <code class="code docutils literal notranslate"><span class="pre">row()</span></code>.</p></li>
<li><p>New Element <a class="reference internal" href="stubs/edifice.TableGridRow.html#edifice.TableGridRow" title="edifice.TableGridRow"><code class="xref py py-class docutils literal notranslate"><span class="pre">TableGridRow</span></code></a>.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.TableGridView.html#edifice.TableGridView" title="edifice.TableGridView"><code class="xref py py-class docutils literal notranslate"><span class="pre">TableGridView</span></code></a> props type change from <code class="code docutils literal notranslate"><span class="pre">list</span></code> to <code class="code docutils literal notranslate"><span class="pre">tuple</span></code>.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.Label.html#edifice.Label" title="edifice.Label"><code class="xref py py-class docutils literal notranslate"><span class="pre">Label</span></code></a> delete prop <code class="code docutils literal notranslate"><span class="pre">editable</span></code>.</p></li>
<li><p>Delete deprecated <code class="code docutils literal notranslate"><span class="pre">View</span></code> and <code class="code docutils literal notranslate"><span class="pre">ScrollView</span></code>.</p></li>
<li><p>Delete deprecated <code class="code docutils literal notranslate"><span class="pre">"margin"</span></code> alias for <code class="code docutils literal notranslate"><span class="pre">"padding"</span></code> in Views.</p></li>
<li><p>Remove <code class="code docutils literal notranslate"><span class="pre">style</span></code> prop <code class="code docutils literal notranslate"><span class="pre">Sequence</span></code> type. (<code class="code docutils literal notranslate"><span class="pre">style</span></code> must be a <code class="code docutils literal notranslate"><span class="pre">dict</span></code>, not a <code class="code docutils literal notranslate"><span class="pre">list[dict]</span></code>.)</p></li>
<li><p>Dependency <code class="code docutils literal notranslate"><span class="pre">PySide6-Essentials</span></code> tested.</p></li>
<li><p>New Hook <a class="reference internal" href="stubs/edifice.use_stop.html#edifice.use_stop" title="edifice.use_stop"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_stop()</span></code></a>.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.Window.html#edifice.Window" title="edifice.Window"><code class="xref py py-class docutils literal notranslate"><span class="pre">Window</span></code></a> <a class="reference internal" href="stubs/edifice.WindowPopView.html#edifice.WindowPopView" title="edifice.WindowPopView"><code class="xref py py-class docutils literal notranslate"><span class="pre">WindowPopView</span></code></a> new arg <code class="code docutils literal notranslate"><span class="pre">_size_open</span></code>.</p></li>
</ul>
<div class="literal-block-wrapper docutils container" id="id41">
<div class="code-block-caption"><span class="caption-text">Old TableGridView API</span><a class="headerlink" href="#id41" title="Link to this code">#</a></div>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">with</span> <span class="n">TableGridView</span><span class="p">()</span> <span class="k">as</span> <span class="n">tgv</span><span class="p">:</span>
<span class="k">with</span> <span class="n">tgv</span><span class="o">.</span><span class="n">row</span><span class="p">():</span>
<span class="n">Label</span><span class="p">(</span><span class="s2">"row"</span><span class="p">)</span>
</pre></div>
</div>
</div>
<div class="literal-block-wrapper docutils container" id="id42">
<div class="code-block-caption"><span class="caption-text">New TableGridView API</span><a class="headerlink" href="#id42" title="Link to this code">#</a></div>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">with</span> <span class="n">TableGridView</span><span class="p">():</span>
<span class="k">with</span> <span class="n">TableGridRow</span><span class="p">():</span>
<span class="n">Label</span><span class="p">(</span><span class="s2">"row"</span><span class="p">)</span>
</pre></div>
</div>
</div>
</section>
<section id="v1-5-0">
<h2>v1.5.0<a class="headerlink" href="#v1-5-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-09-20</p>
<ul class="simple">
<li><p>New Base Element <a class="reference internal" href="stubs/edifice.WindowPopView.html#edifice.WindowPopView" title="edifice.WindowPopView"><code class="xref py py-class docutils literal notranslate"><span class="pre">WindowPopView</span></code></a>.</p></li>
</ul>
</section>
<section id="v1-4-0">
<h2>v1.4.0<a class="headerlink" href="#v1-4-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-09-13</p>
<ul class="simple">
<li><p>Hook <a class="reference internal" href="stubs/edifice.use_state.html#edifice.use_state" title="edifice.use_state"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_state()</span></code></a> new feature <strong>initializer function</strong>.</p></li>
</ul>
</section>
<section id="v1-3-0">
<h2>v1.3.0<a class="headerlink" href="#v1-3-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-09-12</p>
<ul class="simple">
<li><p>New Hook <a class="reference internal" href="stubs/edifice.use_hover.html#edifice.use_hover" title="edifice.use_hover"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_hover()</span></code></a>.</p></li>
</ul>
</section>
<section id="v1-2-0">
<h2>v1.2.0<a class="headerlink" href="#v1-2-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-09-10</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.Window.html#edifice.Window" title="edifice.Window"><code class="xref py py-class docutils literal notranslate"><span class="pre">Window</span></code></a> new prop <code class="code docutils literal notranslate"><span class="pre">on_open</span></code>.</p></li>
<li><p>New utility functions <a class="reference internal" href="utilities.html#edifice.utilities.theme_is_light" title="edifice.utilities.theme_is_light"><code class="xref py py-func docutils literal notranslate"><span class="pre">utilities.theme_is_light()</span></code></a>,
<a class="reference internal" href="utilities.html#edifice.utilities.palette_edifice_light" title="edifice.utilities.palette_edifice_light"><code class="xref py py-func docutils literal notranslate"><span class="pre">utilities.palette_edifice_light()</span></code></a>, <a class="reference internal" href="utilities.html#edifice.utilities.palette_edifice_dark" title="edifice.utilities.palette_edifice_dark"><code class="xref py py-func docutils literal notranslate"><span class="pre">utilities.palette_edifice_dark()</span></code></a>.</p></li>
<li><p>Delete deprecated method <code class="code docutils literal notranslate"><span class="pre">App.set_stylesheet</span></code>.</p></li>
</ul>
</section>
<section id="v1-1-0">
<h2>v1.1.0<a class="headerlink" href="#v1-1-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-09-05</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.SpinInput.html#edifice.SpinInput" title="edifice.SpinInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">SpinInput</span></code></a> new prop <code class="code docutils literal notranslate"><span class="pre">single_step</span></code>.</p></li>
</ul>
</section>
<section id="v1-0-0">
<h2>v1.0.0<a class="headerlink" href="#v1-0-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-08-27</p>
<p>The API and features are pretty stable and reliable now, so this is
version 1.</p>
</section>
<section id="v0-8-1">
<h2>v0.8.1<a class="headerlink" href="#v0-8-1" title="Link to this heading">#</a></h2>
<p>Released: 2024-08-27</p>
<ul class="simple">
<li><p>Bugfix for the Harmonic Oscillator example.</p></li>
<li><p>Change Sphinx theme to <code class="code docutils literal notranslate"><span class="pre">pydata-sphinx-theme</span></code> for documentation.</p></li>
</ul>
</section>
<section id="v0-8-0">
<h2>v0.8.0<a class="headerlink" href="#v0-8-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-07-27</p>
<ul>
<li><p>New Element: <code class="xref py py-class docutils literal notranslate"><span class="pre">NumpyImage</span></code>.</p></li>
<li><p>Inspector improvements and debugging.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.Slider.html#edifice.Slider" title="edifice.Slider"><code class="xref py py-class docutils literal notranslate"><span class="pre">Slider</span></code></a> <code class="code docutils literal notranslate"><span class="pre">on_change</span></code> event handler prop can be a future.</p></li>
<li><p><code class="code docutils literal notranslate"><span class="pre">children</span></code> prop type changed to <code class="code docutils literal notranslate"><span class="pre">tuple[Element,</span> <span class="pre">...]</span></code>.</p>
<p>This should get rid of the lint warnings about the argument
default <code class="code docutils literal notranslate"><span class="pre">[]</span></code> value.</p>
</li>
<li><p>Deprecate <code class="code docutils literal notranslate"><span class="pre">View</span></code>, <code class="code docutils literal notranslate"><span class="pre">ScrollView</span></code>.</p>
<dl class="simple">
<dt>Replace <code class="code docutils literal notranslate"><span class="pre">View</span></code> with:</dt><dd><ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.HBoxView.html#edifice.HBoxView" title="edifice.HBoxView"><code class="xref py py-class docutils literal notranslate"><span class="pre">HBoxView</span></code></a></p></li>
<li><p><a class="reference internal" href="stubs/edifice.VBoxView.html#edifice.VBoxView" title="edifice.VBoxView"><code class="xref py py-class docutils literal notranslate"><span class="pre">VBoxView</span></code></a></p></li>
<li><p><a class="reference internal" href="stubs/edifice.FixView.html#edifice.FixView" title="edifice.FixView"><code class="xref py py-class docutils literal notranslate"><span class="pre">FixView</span></code></a></p></li>
</ul>
</dd>
<dt>Replace <code class="code docutils literal notranslate"><span class="pre">ScrollView</span></code> with:</dt><dd><ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.HScrollView.html#edifice.HScrollView" title="edifice.HScrollView"><code class="xref py py-class docutils literal notranslate"><span class="pre">HScrollView</span></code></a></p></li>
<li><p><a class="reference internal" href="stubs/edifice.VScrollView.html#edifice.VScrollView" title="edifice.VScrollView"><code class="xref py py-class docutils literal notranslate"><span class="pre">VScrollView</span></code></a></p></li>
<li><p><a class="reference internal" href="stubs/edifice.FixScrollView.html#edifice.FixScrollView" title="edifice.FixScrollView"><code class="xref py py-class docutils literal notranslate"><span class="pre">FixScrollView</span></code></a></p></li>
</ul>
</dd>
</dl>
</li>
</ul>
<p>We are eliminating the <code class="code docutils literal notranslate"><span class="pre">layout=</span> <span class="pre">"row"</span> <span class="pre">|</span> <span class="pre">"column"</span> <span class="pre">|</span> <span class="pre">"none"</span></code> prop because it
never worked as a prop. If the value of the layout prop was
changed then the layout of the View would not change. To render a
<code class="code docutils literal notranslate"><span class="pre">View(layout="row")</span></code> and then replace it with a
<code class="code docutils literal notranslate"><span class="pre">View(layout="column")</span></code>, it was necessary to add
unique <code class="code docutils literal notranslate"><span class="pre">set_key()</span></code> so that the reconciliation algorithm would recognize
that the Views needed to be destroyed and recreated. This behavior was
buggy and surprising and now it’s gone.</p>
<p><a class="reference internal" href="stubs/edifice.ButtonView.html#edifice.ButtonView" title="edifice.ButtonView"><code class="xref py py-class docutils literal notranslate"><span class="pre">ButtonView</span></code></a> is now a subclass of <a class="reference internal" href="stubs/edifice.HBoxView.html#edifice.HBoxView" title="edifice.HBoxView"><code class="xref py py-class docutils literal notranslate"><span class="pre">HBoxView</span></code></a>.
For column layout, put a <a class="reference internal" href="stubs/edifice.VBoxView.html#edifice.VBoxView" title="edifice.VBoxView"><code class="xref py py-class docutils literal notranslate"><span class="pre">VBoxView</span></code></a> inside the <a class="reference internal" href="stubs/edifice.ButtonView.html#edifice.ButtonView" title="edifice.ButtonView"><code class="xref py py-class docutils literal notranslate"><span class="pre">ButtonView</span></code></a>.</p>
<p>We have added functions <code class="xref py py-func docutils literal notranslate"><span class="pre">View()</span></code>, <code class="xref py py-func docutils literal notranslate"><span class="pre">ScrollView()</span></code> which behave like the
old elements of the same name, so that old code will still work, probably.
These functions have deprecation warnings at the type level and at runtime,
and they will be removed in the future.</p>
</section>
<section id="v0-7-4">
<span id="id1"></span><h2>v0.7.4<a class="headerlink" href="#v0-7-4" title="Link to this heading">#</a></h2>
<p>Released: 2024-06-14</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.component.html#edifice.component" title="edifice.component"><code class="xref py py-func docutils literal notranslate"><span class="pre">component()</span></code></a> composition with <code class="code docutils literal notranslate"><span class="pre">children</span></code> props
and <a class="reference internal" href="stubs/edifice.child_place.html#edifice.child_place" title="edifice.child_place"><code class="xref py py-func docutils literal notranslate"><span class="pre">child_place()</span></code></a>.</p></li>
</ul>
</section>
<section id="v0-7-3">
<span id="id2"></span><h2>v0.7.3<a class="headerlink" href="#v0-7-3" title="Link to this heading">#</a></h2>
<p>Released: 2024-06-12</p>
<ul class="simple">
<li><p><code class="xref py py-class docutils literal notranslate"><span class="pre">View</span></code> <code class="code docutils literal notranslate"><span class="pre">layout="none"</span></code> remove minimum size 100×100.</p></li>
</ul>
</section>
<section id="v0-7-2">
<span id="id3"></span><h2>v0.7.2<a class="headerlink" href="#v0-7-2" title="Link to this heading">#</a></h2>
<p>Released: 2024-06-11</p>
<ul class="simple">
<li><p>Bugfix <code class="xref py py-class docutils literal notranslate"><span class="pre">View</span></code> <code class="code docutils literal notranslate"><span class="pre">layout="none"</span></code> added children become visible.</p></li>
</ul>
</section>
<section id="v0-7-1">
<span id="id4"></span><h2>v0.7.1<a class="headerlink" href="#v0-7-1" title="Link to this heading">#</a></h2>
<p>Released: 2024-06-06</p>
<ul class="simple">
<li><p>Prop <code class="code docutils literal notranslate"><span class="pre">padding</span></code> for <code class="code docutils literal notranslate"><span class="pre">View</span></code> layout Elements.</p></li>
</ul>
</section>
<section id="v0-7-0">
<span id="id5"></span><h2>v0.7.0<a class="headerlink" href="#v0-7-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-06-04</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.RadioButton.html#edifice.RadioButton" title="edifice.RadioButton"><code class="xref py py-class docutils literal notranslate"><span class="pre">RadioButton</span></code></a> fully declarative <code class="code docutils literal notranslate"><span class="pre">checked</span></code> prop.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.CheckBox.html#edifice.CheckBox" title="edifice.CheckBox"><code class="xref py py-class docutils literal notranslate"><span class="pre">CheckBox</span></code></a> fully declarative <code class="code docutils literal notranslate"><span class="pre">checked</span></code> prop.</p></li>
</ul>
<p>The state of <a class="reference internal" href="stubs/edifice.RadioButton.html#edifice.RadioButton" title="edifice.RadioButton"><code class="xref py py-class docutils literal notranslate"><span class="pre">RadioButton</span></code></a> and <a class="reference internal" href="stubs/edifice.CheckBox.html#edifice.CheckBox" title="edifice.CheckBox"><code class="xref py py-class docutils literal notranslate"><span class="pre">CheckBox</span></code></a> is now dependent only
on the <code class="code docutils literal notranslate"><span class="pre">checked</span></code> prop.</p>
<p>This means that <a class="reference internal" href="stubs/edifice.RadioButton.html#edifice.RadioButton" title="edifice.RadioButton"><code class="xref py py-class docutils literal notranslate"><span class="pre">RadioButton</span></code></a> “grouping” is now fully independent
of the parent widget, and only depends on how the <code class="code docutils literal notranslate"><span class="pre">checked</span></code> prop
is calculated.</p>
</section>
<section id="v0-6-2">
<span id="id6"></span><h2>v0.6.2<a class="headerlink" href="#v0-6-2" title="Link to this heading">#</a></h2>
<p>Released: 2024-05-22</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.SpinInput.html#edifice.SpinInput" title="edifice.SpinInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">SpinInput</span></code></a> bugfix: Set value after min/max.</p></li>
</ul>
</section>
<section id="v0-6-1">
<span id="id7"></span><h2>v0.6.1<a class="headerlink" href="#v0-6-1" title="Link to this heading">#</a></h2>
<p>Released: 2024-05-22</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.SpinInput.html#edifice.SpinInput" title="edifice.SpinInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">SpinInput</span></code></a> bugfix: Block <code class="code docutils literal notranslate"><span class="pre">on_change</span></code> signal while setting
min and max value.</p></li>
</ul>
</section>
<section id="v0-6-0">
<span id="id8"></span><h2>v0.6.0<a class="headerlink" href="#v0-6-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-05-21</p>
<ul class="simple">
<li><dl class="simple">
<dt>Breaking changes in <a class="reference internal" href="stubs/edifice.Dropdown.html#edifice.Dropdown" title="edifice.Dropdown"><code class="xref py py-class docutils literal notranslate"><span class="pre">Dropdown</span></code></a>.</dt><dd><ul>
<li><p>Option text is not editable.</p></li>
<li><p>Option selection is index based, not text-based.</p></li>
</ul>
</dd>
</dl>
</li>
</ul>
</section>
<section id="v0-5-6">
<span id="id9"></span><h2>v0.5.6<a class="headerlink" href="#v0-5-6" title="Link to this heading">#</a></h2>
<p>Released: 2024-05-18</p>
<ul class="simple">
<li><p>New base element <a class="reference internal" href="stubs/edifice.TextInputMultiline.html#edifice.TextInputMultiline" title="edifice.TextInputMultiline"><code class="xref py py-class docutils literal notranslate"><span class="pre">TextInputMultiline</span></code></a>.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.Label.html#edifice.Label" title="edifice.Label"><code class="xref py py-class docutils literal notranslate"><span class="pre">Label</span></code></a> prop text must be type <code class="code docutils literal notranslate"><span class="pre">str</span></code>.</p></li>
</ul>
</section>
<section id="v0-5-5">
<span id="id10"></span><h2>v0.5.5<a class="headerlink" href="#v0-5-5" title="Link to this heading">#</a></h2>
<p>Released: 2024-04-30</p>
<ul class="simple">
<li><p>bugfix <a class="reference internal" href="stubs/edifice.QtWidgetElement.html#edifice.QtWidgetElement" title="edifice.QtWidgetElement"><code class="xref py py-class docutils literal notranslate"><span class="pre">QtWidgetElement</span></code></a> <code class="code docutils literal notranslate"><span class="pre">on_resize</span></code> event handler prop.</p></li>
</ul>
</section>
<section id="v0-5-4">
<span id="id11"></span><h2>v0.5.4<a class="headerlink" href="#v0-5-4" title="Link to this heading">#</a></h2>
<p>Released: 2024-04-29</p>
<ul class="simple">
<li><p><code class="xref py py-class docutils literal notranslate"><span class="pre">CommandType</span></code> non-private for writing custom <a class="reference internal" href="stubs/edifice.QtWidgetElement.html#edifice.QtWidgetElement" title="edifice.QtWidgetElement"><code class="xref py py-class docutils literal notranslate"><span class="pre">QtWidgetElement</span></code></a> classes.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.QtWidgetElement.html#edifice.QtWidgetElement" title="edifice.QtWidgetElement"><code class="xref py py-class docutils literal notranslate"><span class="pre">QtWidgetElement</span></code></a> <code class="code docutils literal notranslate"><span class="pre">on_resize</span></code> event handler prop.</p></li>
<li><p><code class="code docutils literal notranslate"><span class="pre">enable_mouse_scroll</span></code> prop for <a class="reference internal" href="stubs/edifice.Dropdown.html#edifice.Dropdown" title="edifice.Dropdown"><code class="xref py py-class docutils literal notranslate"><span class="pre">Dropdown</span></code></a>.</p></li>
</ul>
</section>
<section id="v0-5-3">
<span id="id12"></span><h2>v0.5.3<a class="headerlink" href="#v0-5-3" title="Link to this heading">#</a></h2>
<p>Released: 2024-04-22</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.SpinInput.html#edifice.SpinInput" title="edifice.SpinInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">SpinInput</span></code></a> don’t fire on_change when prop value changes.</p></li>
<li><p><code class="code docutils literal notranslate"><span class="pre">enable_mouse_scroll</span></code> prop for <a class="reference internal" href="stubs/edifice.SpinInput.html#edifice.SpinInput" title="edifice.SpinInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">SpinInput</span></code></a>, <a class="reference internal" href="stubs/edifice.Slider.html#edifice.Slider" title="edifice.Slider"><code class="xref py py-class docutils literal notranslate"><span class="pre">Slider</span></code></a>.</p></li>
<li><p>Inspector bugfix correct source locations for <code class="code docutils literal notranslate"><span class="pre">@component</span></code>.</p></li>
</ul>
</section>
<section id="v0-5-2">
<span id="id13"></span><h2>v0.5.2<a class="headerlink" href="#v0-5-2" title="Link to this heading">#</a></h2>
<p>Released: 2024-04-01</p>
<ul class="simple">
<li><p>New Hook <a class="reference internal" href="stubs/edifice.use_effect_final.html#edifice.use_effect_final" title="edifice.use_effect_final"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_effect_final()</span></code></a></p></li>
<li><p>During <a class="reference internal" href="stubs/edifice.use_async.html#edifice.use_async" title="edifice.use_async"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_async()</span></code></a> <code class="code docutils literal notranslate"><span class="pre">CancelledError</span></code>, allow calling
<a class="reference internal" href="stubs/edifice.use_state.html#edifice.use_state" title="edifice.use_state"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_state()</span></code></a> setter functions without causing re-render of an unmounting
component.</p></li>
</ul>
</section>
<section id="v0-5-1">
<span id="id14"></span><h2>v0.5.1<a class="headerlink" href="#v0-5-1" title="Link to this heading">#</a></h2>
<p>Released: 2024-03-27</p>
<ul class="simple">
<li><p>Big reductions in memory leaking from <a class="reference internal" href="stubs/edifice.use_state.html#edifice.use_state" title="edifice.use_state"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_state()</span></code></a> Hook.</p></li>
<li><p>Bugfix: After <a class="reference internal" href="stubs/stubs/edifice.App.stop.html#edifice.App.stop" title="edifice.App.stop"><code class="xref py py-func docutils literal notranslate"><span class="pre">App.stop()</span></code></a>, don’t run new renders, also don’t
schedule new <a class="reference internal" href="stubs/edifice.use_async.html#edifice.use_async" title="edifice.use_async"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_async()</span></code></a> calls.</p></li>
</ul>
</section>
<section id="v0-5-0">
<span id="id15"></span><h2>v0.5.0<a class="headerlink" href="#v0-5-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-03-21</p>
<ul>
<li><p>Change event handler props called only on UI interaction.</p>
<p>On general principle:
Widget value change event handler prop functions should only be called when the
Widget value changed due to a user interaction, not because the value
prop changed.</p>
</li>
<li><dl class="simple">
<dt>Delete props</dt><dd><ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.Slider.html#edifice.Slider" title="edifice.Slider"><code class="xref py py-class docutils literal notranslate"><span class="pre">Slider</span></code></a> <code class="code docutils literal notranslate"><span class="pre">on_move</span></code></p></li>
<li><p><a class="reference internal" href="stubs/edifice.TextInput.html#edifice.TextInput" title="edifice.TextInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">TextInput</span></code></a> <code class="code docutils literal notranslate"><span class="pre">on_edit</span></code></p></li>
</ul>
</dd>
</dl>
</li>
</ul>
</section>
<section id="v0-4-5">
<span id="id16"></span><h2>v0.4.5<a class="headerlink" href="#v0-4-5" title="Link to this heading">#</a></h2>
<p>Released: 2024-03-21</p>
<ul class="simple">
<li><dl class="simple">
<dt>New props</dt><dd><ul>
<li><p><a class="reference internal" href="stubs/edifice.Slider.html#edifice.Slider" title="edifice.Slider"><code class="xref py py-class docutils literal notranslate"><span class="pre">Slider</span></code></a> <code class="code docutils literal notranslate"><span class="pre">on_move</span></code></p></li>
<li><p><a class="reference internal" href="stubs/edifice.TextInput.html#edifice.TextInput" title="edifice.TextInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">TextInput</span></code></a> <code class="code docutils literal notranslate"><span class="pre">on_edit</span></code></p></li>
</ul>
</dd>
</dl>
</li>
<li><p><code class="xref py py-class docutils literal notranslate"><span class="pre">extra.PyQtPlot</span></code> instructions for disabling mouse interaction.</p></li>
</ul>
</section>
<section id="v0-4-4">
<span id="id17"></span><h2>v0.4.4<a class="headerlink" href="#v0-4-4" title="Link to this heading">#</a></h2>
<p>Released: 2024-03-16</p>
<ul class="simple">
<li><p>Inspector is working now with <a class="reference internal" href="stubs/edifice.use_state.html#edifice.use_state" title="edifice.use_state"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_state()</span></code></a>.</p></li>
<li><p>Delete <code class="code docutils literal notranslate"><span class="pre">StateManager</span></code> and <code class="code docutils literal notranslate"><span class="pre">StateValue</span></code>.</p></li>
<li><p>Delete all state rollback features.</p></li>
</ul>
</section>
<section id="v0-4-3">
<span id="id18"></span><h2>v0.4.3<a class="headerlink" href="#v0-4-3" title="Link to this heading">#</a></h2>
<p>Released: 2024-03-06</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.TextInput.html#edifice.TextInput" title="edifice.TextInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">TextInput</span></code></a> bugfix don’t <code class="code docutils literal notranslate"><span class="pre">setText</span></code> on every render.</p></li>
<li><p>Clean up Python dependencies.</p></li>
</ul>
</section>
<section id="v0-4-2">
<span id="id19"></span><h2>v0.4.2<a class="headerlink" href="#v0-4-2" title="Link to this heading">#</a></h2>
<p>Released: 2024-02-26</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.use_effect.html#edifice.use_effect" title="edifice.use_effect"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_effect()</span></code></a> allways run when <code class="code docutils literal notranslate"><span class="pre">dependencies</span></code> is <code class="code docutils literal notranslate"><span class="pre">None</span></code>.</p></li>
<li><p><code class="xref py py-class docutils literal notranslate"><span class="pre">extra.PyQtPlot</span></code> disable mouse interaction.</p></li>
</ul>
</section>
<section id="v0-4-1">
<span id="id20"></span><h2>v0.4.1<a class="headerlink" href="#v0-4-1" title="Link to this heading">#</a></h2>
<p>Released: 2024-02-17</p>
<ul class="simple">
<li><p>Rending logic correctness and stability improvements.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.use_async.html#edifice.use_async" title="edifice.use_async"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_async()</span></code></a> window close Task done bugfix.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.use_state.html#edifice.use_state" title="edifice.use_state"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_state()</span></code></a> will not re-render if state is <code class="code docutils literal notranslate"><span class="pre">__eq__</span></code> after update.</p></li>
</ul>
</section>
<section id="v0-4-0">
<span id="id21"></span><h2>v0.4.0<a class="headerlink" href="#v0-4-0" title="Link to this heading">#</a></h2>
<p>Released: 2024-02-08</p>
<p>Major changes to <a class="reference internal" href="stubs/edifice.App.html#edifice.App" title="edifice.App"><code class="xref py py-class docutils literal notranslate"><span class="pre">App</span></code></a> and the <a class="reference internal" href="stubs/edifice.Window.html#edifice.Window" title="edifice.Window"><code class="xref py py-class docutils literal notranslate"><span class="pre">Window</span></code></a></p>
<ul class="simple">
<li><dl class="simple">
<dt><a class="reference internal" href="stubs/edifice.App.html#edifice.App" title="edifice.App"><code class="xref py py-class docutils literal notranslate"><span class="pre">App</span></code></a></dt><dd><ul>
<li><p><a class="reference internal" href="stubs/stubs/edifice.App.start_loop.html#edifice.App.start_loop" title="edifice.App.start_loop"><code class="xref py py-func docutils literal notranslate"><span class="pre">App.start_loop()</span></code></a> runs the event loop to completion. It no longer
requires the user to run the loop. The user should never
call <code class="code docutils literal notranslate"><span class="pre">loop.run_forever()</span></code>.</p></li>
<li><dl class="simple">
<dt>New method <a class="reference internal" href="stubs/stubs/edifice.App.stop.html#edifice.App.stop" title="edifice.App.stop"><code class="xref py py-func docutils literal notranslate"><span class="pre">App.stop()</span></code></a></dt><dd><ul>
<li><p>Will unmount all Elements.</p></li>
<li><p>Will call all <a class="reference internal" href="stubs/edifice.use_effect.html#edifice.use_effect" title="edifice.use_effect"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_effect()</span></code></a> cleanup functions.</p></li>
<li><p>Will cancel all <a class="reference internal" href="stubs/edifice.use_async.html#edifice.use_async" title="edifice.use_async"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_async()</span></code></a> tasks and wait until they are cancelled.</p></li>
</ul>
</dd>
</dl>
</li>
</ul>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><a class="reference internal" href="stubs/edifice.Window.html#edifice.Window" title="edifice.Window"><code class="xref py py-class docutils literal notranslate"><span class="pre">Window</span></code></a></dt><dd><ul>
<li><p><a class="reference internal" href="stubs/edifice.Window.html#edifice.Window" title="edifice.Window"><code class="xref py py-class docutils literal notranslate"><span class="pre">Window</span></code></a> is a subclass of <code class="xref py py-class docutils literal notranslate"><span class="pre">View</span></code> and can have multiple children.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.Window.html#edifice.Window" title="edifice.Window"><code class="xref py py-class docutils literal notranslate"><span class="pre">Window</span></code></a> no longer needs an extra <code class="xref py py-class docutils literal notranslate"><span class="pre">View</span></code> child for
hot-reloading to work properly.</p></li>
<li><p>Qt window on_close event causes <a class="reference internal" href="stubs/stubs/edifice.App.stop.html#edifice.App.stop" title="edifice.App.stop"><code class="xref py py-func docutils literal notranslate"><span class="pre">App.stop()</span></code></a>.</p></li>
</ul>
</dd>
</dl>
</li>
</ul>
<p>Bugfixes:</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.use_effect.html#edifice.use_effect" title="edifice.use_effect"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_effect()</span></code></a> runs after all the render prop updates.</p></li>
</ul>
</section>
<section id="v0-3-7">
<span id="id22"></span><h2>v0.3.7<a class="headerlink" href="#v0-3-7" title="Link to this heading">#</a></h2>
<p>Released: 2024-02-06</p>
<ul class="simple">
<li><p>Breaking change: Hook <a class="reference internal" href="stubs/edifice.use_async_call.html#edifice.use_async_call" title="edifice.use_async_call"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_async_call()</span></code></a> returns canceller function in a
tuple.</p></li>
</ul>
</section>
<section id="v0-3-6">
<span id="id23"></span><h2>v0.3.6<a class="headerlink" href="#v0-3-6" title="Link to this heading">#</a></h2>
<p>Released: 2024-02-06</p>
<ul class="simple">
<li><p>Hooks <a class="reference internal" href="stubs/edifice.use_async.html#edifice.use_async" title="edifice.use_async"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_async()</span></code></a> and <a class="reference internal" href="stubs/edifice.use_async_call.html#edifice.use_async_call" title="edifice.use_async_call"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_async_call()</span></code></a> are manually cancellable.</p></li>
</ul>
</section>
<section id="v0-3-5">
<span id="id24"></span><h2>v0.3.5<a class="headerlink" href="#v0-3-5" title="Link to this heading">#</a></h2>
<p>Released: 2024-02-03</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.use_async.html#edifice.use_async" title="edifice.use_async"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_async()</span></code></a> bugfix.</p></li>
</ul>
</section>
<section id="v0-3-4">
<span id="id25"></span><h2>v0.3.4<a class="headerlink" href="#v0-3-4" title="Link to this heading">#</a></h2>
<p>Released: 2024-01-31</p>
<ul class="simple">
<li><p>New Hook <a class="reference internal" href="stubs/edifice.use_async_call.html#edifice.use_async_call" title="edifice.use_async_call"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_async_call()</span></code></a></p></li>
</ul>
</section>
<section id="v0-3-3">
<span id="id26"></span><h2>v0.3.3<a class="headerlink" href="#v0-3-3" title="Link to this heading">#</a></h2>
<p>Released: 2024-01-25</p>
<ul class="simple">
<li><p>Internal improvements and <em>typing-extensions</em> requirement.</p></li>
</ul>
</section>
<section id="v0-3-2">
<span id="id27"></span><h2>v0.3.2<a class="headerlink" href="#v0-3-2" title="Link to this heading">#</a></h2>
<p>Released: 2024-01-22</p>
<ul class="simple">
<li><p>Hooks are preserved during hot-reload.</p></li>
</ul>
</section>
<section id="v0-3-1">
<span id="id28"></span><h2>v0.3.1<a class="headerlink" href="#v0-3-1" title="Link to this heading">#</a></h2>
<p>Released: 2024-01-19</p>
<ul class="simple">
<li><p>Hot-reload improvements and bugfixes.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.TableGridView.html#edifice.TableGridView" title="edifice.TableGridView"><code class="xref py py-class docutils literal notranslate"><span class="pre">TableGridView</span></code></a> improvements and bugfixes.</p></li>
</ul>
</section>
<section id="v0-3-0">
<span id="id29"></span><h2>v0.3.0<a class="headerlink" href="#v0-3-0" title="Link to this heading">#</a></h2>
<p>Released: 2023-12-19</p>
<ul class="simple">
<li><dl class="simple">
<dt>New Base Elements:</dt><dd><ul>
<li><p><a class="reference internal" href="stubs/edifice.SpinInput.html#edifice.SpinInput" title="edifice.SpinInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">SpinInput</span></code></a></p></li>
<li><p><a class="reference internal" href="stubs/edifice.ProgressBar.html#edifice.ProgressBar" title="edifice.ProgressBar"><code class="xref py py-class docutils literal notranslate"><span class="pre">ProgressBar</span></code></a></p></li>
</ul>
</dd>
</dl>
</li>
<li><p><a class="reference internal" href="stubs/edifice.QtWidgetElement.html#edifice.QtWidgetElement" title="edifice.QtWidgetElement"><code class="xref py py-class docutils literal notranslate"><span class="pre">QtWidgetElement</span></code></a> <code class="code docutils literal notranslate"><span class="pre">on_drop</span></code> event handler.</p></li>
<li><dl class="simple">
<dt><strong>Extra Elements</strong></dt><dd><ul>
<li><p><code class="xref py py-class docutils literal notranslate"><span class="pre">extra.MatplotlibFigure</span></code></p></li>
<li><p><code class="xref py py-class docutils literal notranslate"><span class="pre">extra.PyQtPlot</span></code></p></li>
</ul>
</dd>
</dl>
</li>
<li><p>Removed <strong>numpy</strong> dependency.</p></li>
<li><p>Bugfixes in child diffing and reconciliation.</p></li>
<li><p><a class="reference internal" href="stubs/edifice.use_effect.html#edifice.use_effect" title="edifice.use_effect"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_effect()</span></code></a> cleanup function can be <code class="code docutils literal notranslate"><span class="pre">None</span></code>.</p></li>
<li><p>Bugfix <a class="reference internal" href="stubs/edifice.use_async.html#edifice.use_async" title="edifice.use_async"><code class="xref py py-func docutils literal notranslate"><span class="pre">use_async()</span></code></a> cancellation of previous task.</p></li>
<li><p>Base Element <a class="reference internal" href="stubs/edifice.Slider.html#edifice.Slider" title="edifice.Slider"><code class="xref py py-class docutils literal notranslate"><span class="pre">Slider</span></code></a> only allows integer values.</p></li>
<li><p>Merged Base Elements <a class="reference internal" href="stubs/edifice.Image.html#edifice.Image" title="edifice.Image"><code class="xref py py-class docutils literal notranslate"><span class="pre">Image</span></code></a> and <code class="code docutils literal notranslate"><span class="pre">ImageAspect</span></code></p></li>
<li><p>Removed deprecated modules <code class="code docutils literal notranslate"><span class="pre">forms</span></code>, <code class="code docutils literal notranslate"><span class="pre">plotting</span></code>.</p></li>
<li><p>Hot-reload bugfixes.</p></li>
</ul>
</section>
<section id="v0-2-1">
<span id="id30"></span><h2>v0.2.1<a class="headerlink" href="#v0-2-1" title="Link to this heading">#</a></h2>
<p>Released: 2023-11-14</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.ExportList.html#edifice.ExportList" title="edifice.ExportList"><code class="xref py py-class docutils literal notranslate"><span class="pre">ExportList</span></code></a> for <a class="reference internal" href="stubs/stubs/edifice.App.export_widgets.html#edifice.App.export_widgets" title="edifice.App.export_widgets"><code class="xref py py-func docutils literal notranslate"><span class="pre">App.export_widgets()</span></code></a>.</p></li>
</ul>
</section>
<section id="v0-2-0">
<span id="id31"></span><h2>v0.2.0<a class="headerlink" href="#v0-2-0" title="Link to this heading">#</a></h2>
<p>Released: 2023-11-13</p>
<p>This version has a lot of breaking changes. We have done essentially the same
upgrade that React.js did when they upgraded to function components and Hooks
in version 16.8.</p>
<ul class="simple">
<li><p><a class="reference internal" href="stubs/edifice.component.html#edifice.component" title="edifice.component"><code class="xref py py-func docutils literal notranslate"><span class="pre">component()</span></code></a> render function decorator instead of <code class="code docutils literal notranslate"><span class="pre">Component</span></code>
subclass. Renamed old <code class="code docutils literal notranslate"><span class="pre">Component</span></code> to <a class="reference internal" href="stubs/edifice.Element.html#edifice.Element" title="edifice.Element"><code class="xref py py-class docutils literal notranslate"><span class="pre">Element</span></code></a>.
Deprecated the API for users to inherit from <code class="code docutils literal notranslate"><span class="pre">Element</span></code>.
Privatized most of the <code class="code docutils literal notranslate"><span class="pre">Element</span></code> API.</p></li>
<li><p><a class="reference internal" href="hooks.html"><span class="doc">Hooks</span></a> instead of <code class="code docutils literal notranslate"><span class="pre">StateValue</span></code> and <code class="code docutils literal notranslate"><span class="pre">StateManager</span></code>,
which are deprecated.</p></li>
<li><p>New <code class="code docutils literal notranslate"><span class="pre">with</span></code> context manager syntax for declaring children instead of the
Element <code class="code docutils literal notranslate"><span class="pre">__call__</span></code> syntax for declaring children.</p></li>
<li><p>Moved <a class="reference internal" href="stubs/edifice.ButtonView.html#edifice.ButtonView" title="edifice.ButtonView"><code class="xref py py-class docutils literal notranslate"><span class="pre">ButtonView</span></code></a>, <a class="reference internal" href="stubs/edifice.FlowView.html#edifice.FlowView" title="edifice.FlowView"><code class="xref py py-class docutils literal notranslate"><span class="pre">FlowView</span></code></a>, <code class="code docutils literal notranslate"><span class="pre">ImageAspect</span></code>,
<a class="reference internal" href="stubs/edifice.TableGridView.html#edifice.TableGridView" title="edifice.TableGridView"><code class="xref py py-class docutils literal notranslate"><span class="pre">TableGridView</span></code></a> to Base Elements.</p></li>
<li><p>Deprecated all Higher-level Components.</p></li>
<li><p>Other miscellaneous improvements.</p></li>
</ul>
<p>The old API for writing Elements
by inheriting from the <code class="code docutils literal notranslate"><span class="pre">Component</span></code> class, overriding the <code class="code docutils literal notranslate"><span class="pre">render()</span></code>
function, and calling <code class="code docutils literal notranslate"><span class="pre">self.set_state()</span></code> has has been deprecated.</p>
<p>A new API
for writing Elements with the <a class="reference internal" href="stubs/edifice.component.html#edifice.component" title="edifice.component"><code class="xref py py-func docutils literal notranslate"><span class="pre">component()</span></code></a> decorator and <a class="reference internal" href="hooks.html"><span class="doc">Hooks</span></a> has replaced the
old API. Most of the old API machinery still exists, but has been hidden
from the public API. If you want to upgrade
old code to this version but don’t want to completely re-write for the new
API, then you can make a few changes and run your old code.</p>
<ol class="arabic simple">
<li><p><code class="code docutils literal notranslate"><span class="pre">Component</span></code> has been renamed to <a class="reference internal" href="stubs/edifice.Element.html#edifice.Element" title="edifice.Element"><code class="xref py py-class docutils literal notranslate"><span class="pre">Element</span></code></a>.</p></li>
<li><p>The <a class="reference internal" href="stubs/edifice.Element.html#edifice.Element" title="edifice.Element"><code class="xref py py-class docutils literal notranslate"><span class="pre">Element</span></code></a> <code class="code docutils literal notranslate"><span class="pre">render()</span></code> function has been renamed to
<code class="code docutils literal notranslate"><span class="pre">_render_element()</span></code>. Most other methods of <a class="reference internal" href="stubs/edifice.Element.html#edifice.Element" title="edifice.Element"><code class="xref py py-class docutils literal notranslate"><span class="pre">Element</span></code></a> have
also been renamed with a prefix underscore. The method <code class="code docutils literal notranslate"><span class="pre">set_state()</span></code>
is now <code class="code docutils literal notranslate"><span class="pre">_set_state()</span></code>.</p></li>
<li><p>The <code class="code docutils literal notranslate"><span class="pre">StateValue</span></code> and <code class="code docutils literal notranslate"><span class="pre">StateManager</span></code> can be imported from module
<code class="code docutils literal notranslate"><span class="pre">edifice.state</span></code>.</p></li>
</ol>
</section>
<section id="v0-1-2">
<span id="id32"></span><h2>v0.1.2<a class="headerlink" href="#v0-1-2" title="Link to this heading">#</a></h2>
<p>Released: 2023-10-06</p>
<ul class="simple">
<li><p><code class="code docutils literal notranslate"><span class="pre">PropsDict</span></code> type annotations.</p></li>
<li><p>Documentation and metadata improvements.</p></li>
</ul>
</section>
<section id="v0-1-1">
<span id="id33"></span><h2>v0.1.1<a class="headerlink" href="#v0-1-1" title="Link to this heading">#</a></h2>
<p>Released: 2023-09-15</p>
<ul class="simple">
<li><p>Documentation and metadata improvements.</p></li>
</ul>
</section>
<section id="v0-1-0">
<span id="id34"></span><h2>v0.1.0<a class="headerlink" href="#v0-1-0" title="Link to this heading">#</a></h2>
<p>Released: 2023-09-14</p>
<ul class="simple">
<li><p><strong>Upgrade to PySide6/PyQt6.</strong> Deprecate PySide2/PyQt5.</p></li>
<li><p>New Base Component <code class="code docutils literal notranslate"><span class="pre">ImageSvg</span></code>.</p></li>
<li><p>Component <code class="code docutils literal notranslate"><span class="pre">Label</span></code> new props <code class="code docutils literal notranslate"><span class="pre">link_open</span></code>.</p></li>
<li><p><code class="code docutils literal notranslate"><span class="pre">QtWidgetComponent</span></code> new props <code class="code docutils literal notranslate"><span class="pre">size_policy</span></code>.</p></li>
<li><p>Create the main <code class="code docutils literal notranslate"><span class="pre">QEventLoop</span></code> before the first <code class="code docutils literal notranslate"><span class="pre">App</span></code> render.</p></li>
<li><p>Component <code class="code docutils literal notranslate"><span class="pre">Image</span></code> props <code class="code docutils literal notranslate"><span class="pre">src</span></code> can be a <code class="code docutils literal notranslate"><span class="pre">QtGui.QImage</span></code>.</p></li>
<li><p>Deleted <code class="code docutils literal notranslate"><span class="pre">setup.py</span></code>, added Poetry <code class="code docutils literal notranslate"><span class="pre">pyproject.toml</span></code>.</p></li>
<li><p><code class="code docutils literal notranslate"><span class="pre">App</span></code> new props <code class="code docutils literal notranslate"><span class="pre">qapplication</span></code>.</p></li>
<li><p>New Higher-level Component: <code class="code docutils literal notranslate"><span class="pre">ImageAspect</span></code>.</p></li>
<li><p>New Higher-level Component: <a class="reference internal" href="stubs/edifice.ButtonView.html#edifice.ButtonView" title="edifice.ButtonView"><code class="xref py py-class docutils literal notranslate"><span class="pre">ButtonView</span></code></a>.</p></li>
<li><p>New Higher-level Component: <a class="reference internal" href="stubs/edifice.FlowView.html#edifice.FlowView" title="edifice.FlowView"><code class="xref py py-class docutils literal notranslate"><span class="pre">FlowView</span></code></a>.</p></li>
<li><p>New Higher-level Component: <a class="reference internal" href="stubs/edifice.TableGridView.html#edifice.TableGridView" title="edifice.TableGridView"><code class="xref py py-class docutils literal notranslate"><span class="pre">TableGridView</span></code></a>.</p></li>
</ul>
</section>
<section id="v0-0-10">
<span id="id35"></span><h2>v0.0.10<a class="headerlink" href="#v0-0-10" title="Link to this heading">#</a></h2>
<p>Released: 2021-07-15</p>
<ul class="simple">
<li><p>Fix deletion from View and ScrollView.</p></li>
<li><p>Add alert and file dialog options.</p></li>
</ul>
</section>
<section id="v0-0-9">
<span id="id36"></span><h2>v0.0.9<a class="headerlink" href="#v0-0-9" title="Link to this heading">#</a></h2>
<p>Released: 2021-06-20</p>
<ul class="simple">
<li><p>Add grid view.</p></li>
<li><p>Bug fix with overriding default mouse events.</p></li>
<li><p>Add global stylesheets.</p></li>
<li><p>Fix label_map.</p></li>
<li><p>Add optional QApplication app name in the App constructor.</p></li>
<li><p>Fix prop comparison of np arrays.</p></li>
<li><p>Add support for keydown and keyup events.</p></li>
<li><p>Fix on_change event for textinput.</p></li>
</ul>
</section>
<section id="v0-0-8">
<span id="id37"></span><h2>v0.0.8<a class="headerlink" href="#v0-0-8" title="Link to this heading">#</a></h2>
<p>Released: 2021-02-04</p>
<p>Bug fixes for dynamic loading,
and clearer error messages for Dropdowns and Sliders.</p>
</section>
<section id="v0-0-7">
<span id="id38"></span><h2>v0.0.7<a class="headerlink" href="#v0-0-7" title="Link to this heading">#</a></h2>
<p>Released: 2021-02-02</p>
<p>Bug fixes for checkboxes and forms.</p>
</section>
<section id="v0-0-6">
<span id="id39"></span><h2>v0.0.6<a class="headerlink" href="#v0-0-6" title="Link to this heading">#</a></h2>
<p>Released: 2021-01-27</p>
<p>Support for asyncio.</p>
</section>
<section id="v0-0-5">
<span id="id40"></span><h2>v0.0.5<a class="headerlink" href="#v0-0-5" title="Link to this heading">#</a></h2>
<p>Released: 2021-01-26</p>
<p>First public release.</p>
</section>
</section>