Update gtk42 and improve win32 support

This commit is contained in:
daleclack 2021-02-20 10:47:08 +08:00
parent af0b8a0db9
commit 4b4467604d
14 changed files with 15414 additions and 21 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 B

View File

@ -0,0 +1 @@
glib-compile-resources gtk42.resource.xml --target=../src/resources.cpp --generate-source

BIN
Gtk3/gtk42/res/gedit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,37 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<svg xmlns:cc='http://creativecommons.org/ns#' xmlns:dc='http://purl.org/dc/elements/1.1/' height='16' id='svg7384' xmlns:osb='http://www.openswatchbook.org/uri/2009/osb' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:svg='http://www.w3.org/2000/svg' version='1.1' width='16.180347' xmlns='http://www.w3.org/2000/svg'>
<metadata id='metadata20854'>
<rdf:RDF>
<cc:Work rdf:about=''>
<dc:title/>
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage'/>
</cc:Work>
</rdf:RDF>
</metadata>
<defs id='defs7386'>
<linearGradient id='linearGradient5606' osb:paint='solid'>
<stop id='stop5608' offset='0' style='stop-color:#000000;stop-opacity:1;'/>
</linearGradient>
<linearGradient id='linearGradient4526' osb:paint='solid'>
<stop id='stop4528' offset='0' style='stop-color:#ffffff;stop-opacity:1;'/>
</linearGradient>
<linearGradient id='linearGradient3600-4' osb:paint='gradient'>
<stop id='stop3602-7' offset='0' style='stop-color:#f4f4f4;stop-opacity:1'/>
<stop id='stop3604-6' offset='1' style='stop-color:#dbdbdb;stop-opacity:1'/>
</linearGradient>
</defs>
<g id='layer9' label='status' style='display:inline' transform='translate(-772.9997,-93.000005)'/>
<g id='layer2' style='display:inline' transform='translate(-531.9995,-460)'/>
<g id='layer4' style='display:inline' transform='translate(-531.9995,-460)'/>
<g id='g1812' style='display:inline' transform='translate(-531.9995,-460)'/>
<g id='g6217' style='display:inline' transform='translate(-531.9995,-460)'/>
<g id='layer3' style='display:inline' transform='translate(-531.9995,-460)'>
<path d='m 543.5,463 c -0.82843,0 -1.5,0.67157 -1.5,1.5 0,0.82843 0.67157,1.5 1.5,1.5 0.82843,0 1.5,-0.67157 1.5,-1.5 0,-0.82843 -0.67157,-1.5 -1.5,-1.5 z' id='path4527-0-5' style='color:#000000;display:inline;overflow:visible;visibility:visible;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5.99881363;marker:none;enable-background:accumulate'/>
<path d='m 535.99364,461 c -1.2582,0.0145 -2.17889,-0.0306 -2.93164,0.38477 -0.37637,0.20766 -0.67323,0.55938 -0.83789,0.99804 -0.16467,0.43867 -0.22461,0.95958 -0.22461,1.61719 v 4 4 c 0,0.65761 0.0599,1.17853 0.22461,1.61719 0.16467,0.43865 0.46152,0.79039 0.83789,0.99804 0.75275,0.41532 1.67345,0.3702 2.93164,0.38477 h 0.004 2.00195 4.125 2.00195 0.004 c 1.25819,-0.0146 2.17889,0.0306 2.93164,-0.38477 0.37637,-0.20765 0.67322,-0.55939 0.83789,-0.99804 0.16453,-0.43866 0.38385,-0.9792 0.22443,-1.61719 v -4 -4 c 0,-0.65761 -0.0599,-1.17852 -0.22461,-1.61719 -0.16466,-0.43866 -0.46152,-0.79038 -0.83789,-0.99804 -0.75275,-0.41537 -1.67344,-0.37027 -2.93164,-0.38477 h -0.004 -2.00186 -4.125 -2.00195 z m 2.00586,1 h 4.125 c 2,0 3.48446,-0.0156 4.22656,0.22461 0.98348,0.44721 0.77344,1.77539 0.77344,2.77539 -8.5e-4,2.12317 -0.0362,4.67696 -0.125,7 h -4.875 -4.125 -4.875 c -0.0888,-2.32304 -0.12415,-4.87683 -0.125,-7 0,-1 -0.21004,-2.32818 0.77344,-2.77539 C 534.51513,461.98438 535.9995,462 537.9995,462 Z' id='rect4520-6-6' style='color:#000000;display:inline;overflow:visible;visibility:visible;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.99920893;marker:none;enable-background:accumulate'/>
<path d='m 538,465.5 -3,5.5 H 537.71817 543 l -2.5,-4.5 -1,1.5 z' id='path4156-2-2' style='color:#000000;display:inline;overflow:visible;visibility:visible;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5.99881363;marker:none;enable-background:accumulate'/>
</g>
<g id='g1833' style='display:inline' transform='translate(-531.9995,-460)'/>
<g id='layer1' style='display:inline' transform='translate(-531.9995,-460)'/>
</svg>

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="gtk42">
<file>icon.png</file>
<file>audacious.png</file>
<file>gedit.png</file>
<file>vlc.png</file>
<file>graphics.svg</file>
<file>system.svg</file>
<file>log-out.svg</file>
<file preprocess="xml-stripblanks">window.ui</file>
<file preprocess="xml-stripblanks">leftpanel.ui</file>
<file preprocess="xml-stripblanks">toppanel.ui</file>
<file preprocess="xml-stripblanks">win_size.ui</file>
<file preprocess="xml-stripblanks">win1.ui</file>
</gresource>
</gresources>

View File

@ -1,16 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.38.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.24"/> <requires lib="gtk+" version="3.20"/>
<object class="GtkImage" id="image1"> <object class="GtkImage" id="image1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="icon-name">vlc</property>
</object> </object>
<object class="GtkImage" id="image2"> <object class="GtkImage" id="image2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="icon-name">gedit-icon</property> </object>
<object class="GtkImage" id="image3">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-about</property>
</object> </object>
<object class="GtkPopover" id="popover1"> <object class="GtkPopover" id="popover1">
<property name="width-request">300</property> <property name="width-request">300</property>
@ -29,13 +32,13 @@
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child> <child>
<object class="GtkButton" id="btnvlc"> <object class="GtkButton" id="btnaud">
<property name="label" translatable="yes">VLC Media Player</property> <property name="label" translatable="yes">audacious</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="image">image1</property>
<property name="relief">none</property> <property name="relief">none</property>
<property name="always-show-image">True</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -51,6 +54,7 @@
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="image">image2</property> <property name="image">image2</property>
<property name="relief">none</property> <property name="relief">none</property>
<property name="always-show-image">True</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -59,7 +63,20 @@
</packing> </packing>
</child> </child>
<child> <child>
<placeholder/> <object class="GtkButton" id="btnvlc">
<property name="label" translatable="yes">VLC Media Player</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="image">image1</property>
<property name="relief">none</property>
<property name="always-show-image">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child> </child>
<child> <child>
<placeholder/> <placeholder/>
@ -91,6 +108,7 @@
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="relief">none</property> <property name="relief">none</property>
<property name="always-show-image">True</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -105,6 +123,7 @@
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="relief">none</property> <property name="relief">none</property>
<property name="always-show-image">True</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -143,7 +162,19 @@
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child> <child>
<placeholder/> <object class="GtkButton" id="btnabout">
<property name="label" translatable="yes">About</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="image">image3</property>
<property name="relief">none</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child> </child>
<child> <child>
<placeholder/> <placeholder/>

View File

@ -0,0 +1,36 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<svg xmlns:cc='http://creativecommons.org/ns#' xmlns:dc='http://purl.org/dc/elements/1.1/' height='16' id='svg7384' xmlns:osb='http://www.openswatchbook.org/uri/2009/osb' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:svg='http://www.w3.org/2000/svg' version='1.1' width='16' xmlns='http://www.w3.org/2000/svg'>
<metadata id='metadata20854'>
<rdf:RDF>
<cc:Work rdf:about=''>
<dc:title/>
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage'/>
</cc:Work>
</rdf:RDF>
</metadata>
<defs id='defs7386'>
<linearGradient id='linearGradient5606' osb:paint='solid'>
<stop id='stop5608' offset='0' style='stop-color:#000000;stop-opacity:1;'/>
</linearGradient>
<linearGradient id='linearGradient4526' osb:paint='solid'>
<stop id='stop4528' offset='0' style='stop-color:#ffffff;stop-opacity:1;'/>
</linearGradient>
<linearGradient id='linearGradient3600-4' osb:paint='gradient'>
<stop id='stop3602-7' offset='0' style='stop-color:#f4f4f4;stop-opacity:1'/>
<stop id='stop3604-6' offset='1' style='stop-color:#dbdbdb;stop-opacity:1'/>
</linearGradient>
</defs>
<g id='layer9' label='status' style='display:inline' transform='translate(-333.00017,47)'/>
<g id='layer2' style='display:inline' transform='translate(-91.999969,-320)'/>
<g id='layer4' style='display:inline' transform='translate(-91.999969,-320)'/>
<g id='g1812' style='display:inline' transform='translate(-91.999969,-320)'/>
<g id='g6217' style='display:inline' transform='translate(-91.999969,-320)'/>
<g id='layer3' style='display:inline' transform='translate(-91.999969,-320)'/>
<g id='g1833' style='display:inline' transform='translate(-91.999969,-320)'/>
<g id='layer1' style='display:inline' transform='translate(-91.999969,-320)'>
<path d='m 92,321 v 14 h 11 v -5 h -1 v 4 h -9 v -12 h 9 v 5 h 1 v -6 z' id='rect3104' style='opacity:1;vector-effect:none;fill:#808080;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1'/>
<path d='m 107.08398,328 h -8.00195 v -2 c -0.76042,0.34766 -1.53409,0.73627 -2.32227,1.16602 -0.78078,0.43079 -1.53476,0.8757 -2.25976,1.33398 0.725,0.44911 1.47898,0.88953 2.25976,1.32031 0.78862,0.42999 1.56338,0.82276 2.32422,1.17969 v -2 h 8 z' id='path2614-6' style='color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:none;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.99999976;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

37
Gtk3/gtk42/res/system.svg Normal file
View File

@ -0,0 +1,37 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<svg xmlns:cc='http://creativecommons.org/ns#' xmlns:dc='http://purl.org/dc/elements/1.1/' height='16' id='svg7384' xmlns:osb='http://www.openswatchbook.org/uri/2009/osb' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:svg='http://www.w3.org/2000/svg' version='1.1' width='16.01465' xmlns='http://www.w3.org/2000/svg'>
<metadata id='metadata20854'>
<rdf:RDF>
<cc:Work rdf:about=''>
<dc:title/>
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage'/>
</cc:Work>
</rdf:RDF>
</metadata>
<defs id='defs7386'>
<linearGradient id='linearGradient5606' osb:paint='solid'>
<stop id='stop5608' offset='0' style='stop-color:#000000;stop-opacity:1;'/>
</linearGradient>
<linearGradient id='linearGradient4526' osb:paint='solid'>
<stop id='stop4528' offset='0' style='stop-color:#ffffff;stop-opacity:1;'/>
</linearGradient>
<linearGradient id='linearGradient3600-4' osb:paint='gradient'>
<stop id='stop3602-7' offset='0' style='stop-color:#f4f4f4;stop-opacity:1'/>
<stop id='stop3604-6' offset='1' style='stop-color:#dbdbdb;stop-opacity:1'/>
</linearGradient>
</defs>
<g id='layer9' label='status' style='display:inline' transform='translate(-893.0002,-93)'/>
<g id='layer2' style='display:inline' transform='translate(-652,-460)'/>
<g id='layer4' style='display:inline' transform='translate(-652,-460)'/>
<g id='g1812' style='display:inline' transform='translate(-652,-460)'/>
<g id='g6217' style='display:inline' transform='translate(-652,-460)'/>
<g id='layer3' style='display:inline' transform='translate(-652,-460)'>
<path d='m 660.18165,461.00391 c -2.48304,-0.0657 -4.92247,1.19408 -6.24805,3.49218 -1.9281,3.3427 -0.77551,7.62899 2.57032,9.5625 3.34581,1.93352 7.63439,0.79191 9.5625,-2.55078 1.9281,-3.34269 0.77551,-7.63289 -2.57032,-9.5664 -1.04556,-0.60423 -2.1858,-0.90763 -3.31445,-0.9375 z M 660.00001,462 a 6,6 0 0 1 6,6 6,6 0 0 1 -6,6 6,6 0 0 1 -6,-6 6,6 0 0 1 6,-6 z' id='path6626' style='color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:none;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.66666687;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'/>
<path d='m 658.69016,460.122 v 1.545 c 0.86819,-0.1783 1.76406,-0.17647 2.63222,0.005 v -1.55 z m -2.75363,0.98912 -2.00544,1.70491 0.98801,1.17757 c 0.54939,-0.69591 1.23601,-1.27137 2.01736,-1.69076 z m 8.12867,0.0127 -0.99285,1.18353 c 0.0573,0.0293 0.11416,0.0595 0.17056,0.0905 0.71061,0.41285 1.33657,0.95679 1.84457,1.60287 l 1.00514,-1.19769 z m -11.60999,4.21684 -0.44056,2.59535 1.51535,0.26739 c -0.0273,-0.8866 0.12755,-1.76904 0.45509,-2.59274 z m 15.08573,0.003 -1.5228,0.26851 c 0.32999,0.82318 0.48779,1.70497 0.46365,2.59088 l 1.53286,-0.27 z m -13.68247,4.69464 -1.35149,0.78058 h -3.4e-4 l 1.33101,2.27098 1.33808,-0.77238 c -0.59006,-0.66203 -1.03836,-1.43772 -1.31723,-2.27918 z m 12.30081,0.003 c -0.13616,0.42225 -0.31536,0.82932 -0.53478,1.21481 -0.22083,0.38188 -0.48014,0.74014 -0.77388,1.0692 l 1.33883,0.77313 1.30158,-2.28811 z m -9.55687,3.47164 -0.53479,1.4688 2.47953,0.88448 0.52585,-1.44534 c -0.81119,-0.11877 -1.59279,-0.39022 -2.30338,-0.79995 -0.0563,-0.0351 -0.11203,-0.0711 -0.16721,-0.10799 z m 6.8133,0.0153 c -0.75448,0.46543 -1.59675,0.77091 -2.47468,0.89752 l 0.53031,1.45651 2.46761,-0.91651 z' id='path6628' style='color:#000000;display:inline;overflow:visible;visibility:visible;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.33333337;marker:none;enable-background:accumulate'/>
<path d='m 659.64845,463.01367 c -1.60235,0.11249 -3.12186,0.99052 -3.98242,2.48242 -1.37689,2.38706 -0.55308,5.45342 1.83593,6.83399 2.38903,1.38058 5.45319,0.56088 6.83008,-1.82617 1.37689,-2.38706 0.55308,-5.45145 -1.83594,-6.83203 -0.89588,-0.51773 -1.88625,-0.72569 -2.84765,-0.65821 z M 660.00001,464 a 4,4 0 0 1 4,4 4,4 0 0 1 -4,4 4,4 0 0 1 -4,-4 4,4 0 0 1 4,-4 z' id='path6630' style='color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:none;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.66666681;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'/>
</g>
<g id='g1833' style='display:inline' transform='translate(-652,-460)'/>
<g id='layer1' style='display:inline' transform='translate(-652,-460)'/>
</svg>

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.38.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.24"/> <requires lib="gtk+" version="3.20"/>
<object class="GtkImage" id="image1"> <object class="GtkImage" id="image1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
@ -10,12 +10,19 @@
<object class="GtkImage" id="image2"> <object class="GtkImage" id="image2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="icon-name">access</property> <property name="icon-name">preferences-desktop-accessibility</property>
</object> </object>
<object class="GtkImage" id="image3"> <object class="GtkImage" id="image3">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="icon-name">applications-graphics</property> </object>
<object class="GtkImage" id="image4">
<property name="visible">True</property>
<property name="can-focus">False</property>
</object>
<object class="GtkImage" id="image5">
<property name="visible">True</property>
<property name="can-focus">False</property>
</object> </object>
<object class="GtkPopover" id="popover1"> <object class="GtkPopover" id="popover1">
<property name="can-focus">False</property> <property name="can-focus">False</property>
@ -187,14 +194,4 @@ audio-volume-medium-symbolic</property>
</packing> </packing>
</child> </child>
</object> </object>
<object class="GtkImage" id="image4">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">system-log-out</property>
</object>
<object class="GtkImage" id="image5">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">applications-system</property>
</object>
</interface> </interface>

BIN
Gtk3/gtk42/res/vlc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

14208
Gtk3/gtk42/src/resources.cpp Normal file

File diff suppressed because it is too large Load Diff

7
Gtk3/gtk42/src/win1.cpp Normal file
View File

@ -0,0 +1,7 @@
#include "win1.h"
void win1_init(GtkWidget *widget,gpointer data){
GtkBuilder *win1=gtk_builder_new_from_resource("/gtk42/win1.ui");
GObject *window1=gtk_builder_get_object(win1,"window1");
gtk_widget_show_all(GTK_WIDGET(window1));
}

8
Gtk3/gtk42/src/win1.h Normal file
View File

@ -0,0 +1,8 @@
#ifndef __WIN1_H_
#define __WIN1_H_
#include <gtk/gtk.h>
void win1_init(GtkWidget *widget,gpointer data);
#endif

1014
Gtk3/gtk42/src/winpe.xpm Normal file

File diff suppressed because it is too large Load Diff