Re: GtkD global font size
On Monday, 15 January 2018 at 08:21:16 UTC, Jacob Carlborg wrote: On 2018-01-15 00:55, Sai wrote: I am writing a small GUI application using GtkD3 Builder and Glade. On a HD monitor the default font size is too small. The adwaita theme is not great but I can live with it. Is there any way to globally increase the font size in the GtkD? I tried the settings.ini file, but that did not help with my GtkD3 app. On the other hand, it did increase the global font size of the Glade tool, just not my application. Is some how GtkD different from pure Gtk application? This is the forum for the DWT library. I suggest you try the "learn" forum instead. Considering the amount of traffic in this forum wouldn't it be better to relabel it as a GUI Forum? Regards, -=mike=-
Re: Problem building SWTSnippets with D 2.074.x
On Monday, 27 November 2017 at 19:21:52 UTC, Jacob Carlborg wrote: On 2017-06-02 16:01, Jacob Carlborg wrote: This is due to a regression in the compiler [1]. Please use 2.073.x until this has been fixed. [1] https://issues.dlang.org/show_bug.cgi?id=17371 The issue has now been fixed. We'll see in which release of the compiler it will show up. Excellent. 2.077.1 I hope :-) Regards, Mike.
Re: Problem building SWTSnippets with D 2.074.x
On Thursday, 16 November 2017 at 02:36:34 UTC, JamesD wrote: On Wednesday, 15 November 2017 at 07:19:17 UTC, Mike Parker wrote: On Tuesday, 14 November 2017 at 11:33:44 UTC, Mike James wrote: Has there been any progress on this matter? The snippets still don't compile with the latest compiler... https://github.com/dlang/dmd/pull/7315 Until the issue above is resolved, you can compile with dwtlib. dwtlib is a work around that uses the *.d source files instead of the *.di files. dwtlib - DUB package for the D Widget Toolkit https://code.dlang.org/packages/dwtlib Also try gdub, a gui to test individual snippets (see screen shot); GDUB is a DWT GUI front end for DUB, a D language build tool. https://code.dlang.org/packages/gdub Hi James, When I tried this I got... Build_dwtlib working in : C:\Users\mikej\AppData\Roaming\dub\packages\dwtlib-3.1.1\dwtlib\dwt Build_dwtlib builiding : Windows 64-bit Build_dwtlib command line: rdmd build.d -m64 clean base swt (in C:\Users\mikej\AppData\Roaming\dub\packages\dwtlib-3.1.1\dwtlib\dwt) Cleaning Building dwt-base workdir=>C:\Users\mikej\AppData\Roaming\dub\packages\dwtlib-3.1.1\dwtlib\dwt\base\src dmd.exe @C:\Users\mikej\AppData\Roaming\dub\packages\dwtlib-3.1.1\dwtlib\dwt\rsp java\nonstandard\RuntimeTraits.d(61): Error: undefined identifier TypeInfo_Typedef object.Exception@build.d(256): compile error 0x0040594A 0x00406E14 0x0041E56F 0x0041E533 0x0041E434 0x0041751F 0x75D78654 in BaseThreadInitThunk 0x77914A47 in RtlGetAppContainerNamedObjectPath 0x77914A17 in RtlGetAppContainerNamedObjectPath object.Exception@tools\build_dwtlib.d(123): Build_dwtlib ERROR spawning cmd. 0x004029D0 0x00409ABF 0x00409A83 0x00409984 0x00406AE3 0x75D78654 in BaseThreadInitThunk 0x77914A47 in RtlGetAppContainerNamedObjectPath 0x77914A17 in RtlGetAppContainerNamedObjectPath Press any key to continue . . . Regards, Mike.
Re: Problem building SWTSnippets with D 2.074.x
On Friday, 2 June 2017 at 14:01:35 UTC, Jacob Carlborg wrote: On 2017-06-02 09:25, Mike James wrote: Hi, I get the following errors when trying to build the swtsnippets with the latest SWT... This is due to a regression in the compiler [1]. Please use 2.073.x until this has been fixed. [1] https://issues.dlang.org/show_bug.cgi?id=17371 Hi Jacob, Has there been any progress on this matter? The snippets still don't compile with the latest compiler... Regards, Mike
Problem building SWTSnippets with D 2.074.x
Hi, I get the following errors when trying to build the swtsnippets with the latest SWT... PS C:\d\gui\dwt> rdmd build swtsnippets (in C:\d\gui\dwt) Building swtsnippets[Snippet10] dmd.exe @C:\d\gui\dwt\rsp C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(84): Error: basic type expected, not class C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(84): Error: { members } expected for anonymous class C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(84): Error: found 'class' when expecting ';' following state ment C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(85): Error: found '{' when expecting ';' following statement C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(86): Error: found 'public' instead of statement C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(89): Error: function declaration without return type. (Note that constructors are always named 'this') C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(89): Error: no identifier for declarator frame.addListener(S WT.Resize, listener) C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(90): Error: function declaration without return type. (Note that constructors are always named 'this') C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(90): Error: no identifier for declarator frame.addListener(S WT.Move, listener) C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(91): Error: function declaration without return type. (Note that constructors are always named 'this') C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(91): Error: no identifier for declarator addListener(SWT.Dis pose, listener) C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(92): Error: function declaration without return type. (Note that constructors are always named 'this') C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(92): Error: no identifier for declarator addListener(SWT.Foc usIn, listener) C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(93): Error: function declaration without return type. (Note that constructors are always named 'this') C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(93): Error: no identifier for declarator addListener(SWT.Foc usOut, listener) C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(94): Error: function declaration without return type. (Note that constructors are always named 'this') C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(94): Error: no identifier for declarator addListener(SWT.Pai nt, listener) C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(95): Error: function declaration without return type. (Note that constructors are always named 'this') C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(95): Error: no identifier for declarator addListener(SWT.Tra verse, listener) C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(96): Error: function declaration without return type. (Note that constructors are always named 'this') object.Exception@build.d(375): compile error 0x00406C4F 0x004084CF 0x004049CC 0x004207E3 0x004207A7 0x004206A8 0x0041828B 0x74378744 in BaseThreadInitThunk 0x7773587D in RtlGetAppContainerNamedObjectPath 0x7773584D in RtlGetAppContainerNamedObjectPath PS C:\d\gui\dwt> SampleNoiseMeasureSampleNoiseMeasure Regards, Mike.
Re: DWT fails to build with DMD 2.069.1
On Tuesday, 17 November 2015 at 20:16:48 UTC, Jacob Carlborg wrote: On 2015-11-17 14:57, Mike James wrote: Thanks. Libraries and snippets (apart from snippet 288 - std.stream depreacation) build ok. Sorry about that. I forgot to update the snippets submodule, please try now. Thanks. All OK now :-) Regards, -=mike=-
Re: DWT fails to build with DMD 2.069.1
On Monday, 16 November 2015 at 20:52:53 UTC, Jacob Carlborg wrote: On 2015-11-11 17:17, Mike James wrote: Hi. Is there an updated release of DWT for 2.069? There seems to be a deprecation problem... Should be working now (at least on Windows). Thanks. Libraries and snippets (apart from snippet 288 - std.stream depreacation) build ok. Regards, -=mike=-
Re: DWT fails to build with DMD 2.068.0
On Monday, 24 August 2015 at 12:55:50 UTC, Jacob Carlborg wrote: On 2015-08-24 09:10, Mike James wrote: Bump! :-) Ah, sorry, completely forgot about this post. But the good news is that it's already merged :) Hi Jacob, when I try to build the latest I get this... C:\D\gui\dwtrdmd build base swt (in C:\D\gui\dwt) Building dwt-base workdir=C:\D\gui\dwt\base\src dmd.exe @C:\D\gui\dwt\rsp dmd.exe @C:\D\gui\dwt\rsp C:\D\gui\dwt\olog.txt Building org.eclipse.swt.win32.win32.x86 workdir=C:\D\gui\dwt\org.eclipse.swt.win32.win32.x86\src dmd.exe @C:\D\gui\dwt\rsp org\eclipse\swt\widgets\Table.d-mixin-125(125): Error: cannot cast expression WC_LISTVIEW of type const(wchar*) to const(wchar[]) org\eclipse\swt\widgets\Tree.d-mixin-139(139): Error: cannot cast expression WC_TREEVIEW of type const(wchar*) to const(wchar[]) org\eclipse\swt\widgets\Tree.d-mixin-141(141): Error: cannot cast expression WC_HEADER of type const(wchar*) to const(wchar[]) org\eclipse\swt\widgets\CoolBar.d-mixin-69(69): Error: cannot cast expression REBARCLASSNAME of type const(wchar*) to const(wchar[]) org\eclipse\swt\widgets\DateTime.d-mixin-67(67): Error: cannot cast expression DATETIMEPICK_CLASS of type const(wchar*) to const(wchar[]) org\eclipse\swt\widgets\DateTime.d-mixin-69(69): Error: cannot cast expression MONTHCAL_CLASS of type const(wchar*) to const(wchar[]) org\eclipse\swt\widgets\Link.d-mixin-80(80): Error: cannot cast expression WC_LINK of type const(wchar*) to const(wchar[]) org\eclipse\swt\widgets\ProgressBar.d(56): Error: cannot cast expression PROGRESS_CLASS of type const(wchar*) to const(wchar[]) org\eclipse\swt\widgets\Scale.d-mixin-59(59): Error: cannot cast expression TRACKBAR_CLASS of type const(wchar*) to const(wchar[]) org\eclipse\swt\widgets\Spinner.d-mixin-70(70): Error: cannot cast expression UPDOWN_CLASS of type const(wchar*) to const(wchar[]) org\eclipse\swt\widgets\TabFolder.d-mixin-72(72): Error: cannot cast expression WC_TABCONTROL of type const(wchar*) to const(wchar[]) org\eclipse\swt\widgets\ToolBar.d-mixin-71(71): Error: cannot cast expression TOOLBARCLASSNAME of type const(wchar*) to const(wchar[]) object.Exception@build.d(256): compile error 0x00404C46 0x004060B7 0x00403DD2 0x004182DA 0x004182AF 0x004181C3 0x00410AAB 0x771D3744 in BaseThreadInitThunk 0x77C9A064 in RtlSetCurrentTransaction 0x77C9A02F in RtlSetCurrentTransaction Regards, Mike.
Re: DWT fails to build with DMD 2.068.0
On Tuesday, 11 August 2015 at 21:03:23 UTC, Jacob Carlborg wrote: On 2015-08-11 10:23, Mike James wrote: Is there an updated release for DWT - it fails to build with the latest version of DMD - mainly casting errors... There's an open pull request for adding support for 2.068.0. I'll take a look at it as soon as possible. Bump! :-)
DWT fails to build with DMD 2.068.0
Hi, Is there an updated release for DWT - it fails to build with the latest version of DMD - mainly casting errors... Thanks. Regards, Mike.
Re: DWT fails to build with DMD 2.067.0
On Tuesday, 31 March 2015 at 19:54:27 UTC, Jacob Carlborg wrote: On 2015-03-31 21:09, Mike James wrote: Hi, When I run the build using dub I get the following errors... java\lang\util.d(396): Deprecation: typedef is removed java\lang\util.d(405): Deprecation: typedef is removed java\nonstandard\Locale.d(66): Error: cannot append type string to type wchar[] java\nonstandard\Locale.d(89): Error: template instance java.nonstandard.Locale.caltureNameI error instantiating object.Exception@build.d(251): compile error 0x00404C92 0x00405EA1 0x00403DD4 0x00417D32 0x00417D07 0x00417C1F 0x0041076F 0x751F7C04 in BaseThreadInitThunk 0x76F5B54F in RtlInitializeExceptionChain 0x76F5B51A in RtlInitializeExceptionChain Is there an update for DWT using the latest D compiler? Yes, should work now [1]. [1] https://github.com/d-widget-toolkit/dwt/commit/d43ce0cfec48c499cf43f4002e8916158b175847 Thanks. Libs and snippets build no problem. regards, -=mike=-