Re: GTKD - Attach Button to Grid in specific column and row

2016-06-11 Thread Mike Wey via Digitalmars-d-learn
(Align.END); auto call = btn.addOnEnterNotify(call); btn.addOnLeaveNotify(call); Grid grid = new Grid(); grid.setColumnSpacing(6); grid.setRowSpacing(6); grid.attach(btn,3,3,1,1); add(grid); showAll(); } -- Mike Wey

Re: Where do I learn to use GtkD

2016-04-04 Thread Mike Wey via Digitalmars-d-learn
better then candydocs and using it is way more efficient IMHO. Where can I find and use? https://github.com/gtkd-developers/GtkD/blob/master/makeddox.sh running ./makedocs.sh should generate the ddox documentation. -- Mike Wey

Re: Status icon on Linux

2016-02-21 Thread Mike Wey via Digitalmars-d-learn
On 02/20/2016 06:32 PM, Gerald wrote: On Saturday, 20 February 2016 at 11:36:11 UTC, Mike Wey wrote: The documentation states we should use notifications, that means i'll probably need to add libnotify bindings to GtkD. Though sending notifications using DBus is also possible. (https

Re: Status icon on Linux

2016-02-20 Thread Mike Wey via Digitalmars-d-learn
notifications might or might not be useful. -- Mike Wey

Re: GTKD Cairo get pixel color

2016-01-05 Thread Mike Wey via Digitalmars-d-learn
On 01/04/2016 11:08 PM, TheDGuy wrote: On Monday, 4 January 2016 at 21:42:16 UTC, Mike Wey wrote: On 01/04/2016 09:13 PM, TheDGuy wrote: [...] I don't have any issues with either getPixelsWithLength and savev. for the savev call there is an missing \ just before test.jpg, but that might

Re: GTKD Cairo get pixel color

2016-01-04 Thread Mike Wey via Digitalmars-d-learn
[])surface.getPixelsWithLength(); //Do somthing with data. return true; } ``` getPixelsWithLength has the wrong return type, which will probably be fixed some time. -- Mike Wey

Re: GTKD Cairo get pixel color

2016-01-04 Thread Mike Wey via Digitalmars-d-learn
On 01/04/2016 09:13 PM, TheDGuy wrote: On Monday, 4 January 2016 at 19:27:48 UTC, Mike Wey wrote: I think you are looking for something like this. Context.getTarget will get you the surface the Context is drawing to, this most likely isn't a ImageSurface. So you will need to create an pixbuf

Re: GTKD Cairo get pixel color

2016-01-02 Thread Mike Wey via Digitalmars-d-learn
method and that you could use in cairo_image_surface_create_for_data. Ahm, i am not quite sure if you and [Mike Wey] talk about the same thing. And i posted the error message in my last post when i try to call "cairo_image_surface_create_for_data". I still don't know where i am ab

Re: GTKD Cairo get pixel color

2016-01-01 Thread Mike Wey via Digitalmars-d-learn
)); return true; } } "no property 'cairo_image_surface_create_for_data' for type 'Scoped'" you would either cr.getTarget(); or cairo.ImageSurface.ImageSurface.create. I'm not sure how those would get you access to the pixel data. -- Mike Wey

Re: GTKD drawing area remains white even SourceRgb is changed

2015-12-28 Thread Mike Wey via Digitalmars-d-learn
ains white. The values passed to setSourceRgb should be between 0 and 1. -- Mike Wey

Re: GTKD - Get the size of the context

2015-12-26 Thread Mike Wey via Digitalmars-d-learn
to with getAllocation. GtkAllocation size; widget.getAllocation(size); and then use size.width and size.height. -- Mike Wey

Re: Hello World Example with Glade?

2015-09-11 Thread Mike Wey via Digitalmars-d-learn
.d -L-ldl -I/usr/include/dmd/gtkd3 `pkg-config --cflags --libs gtkd3` You should be able to drop the -L-ldl and -I/usr/ flags, as they are included in the pkg-config output. -- Mike Wey

Re: [dub] Size of executable

2014-11-27 Thread Mike Wey via Digitalmars-d-learn
. -- Mike Wey

Re: What hashing algorithm is used for the D implementation of associative arrays?

2014-08-09 Thread Mike Wey via Digitalmars-d-learn
-Programming-Language/druntime/blob/master/src/rt/aaA.d -- Mike Wey

Re: What hashing algorithm is used for the D implementation of associative arrays?

2014-08-09 Thread Mike Wey via Digitalmars-d-learn
On 08/09/2014 01:43 PM, Gary Willoughby wrote: On Saturday, 9 August 2014 at 10:28:02 UTC, Mike Wey wrote: Paul Hsieh's SuperFastHash: http://www.azillionmonkeys.com/qed/hash.html Where is this implemented? https://github.com/D-Programming-Language/druntime/blob/master/src/rt/util/hash.d

Re: Problem Linking Phobos git master

2014-07-05 Thread Mike Wey via Digitalmars-d-learn
/d2 -shared -debuglib= -defaultlib= ... Do you have an DFLAGS environment variable set on your system? It looks like the environment variable is used instead of the make file variable while compiling. -- Mike Wey

Re: Bizarre compile error in GtkD

2014-06-30 Thread Mike Wey via Digitalmars-d-learn
want to use: cast(gtk.Window.Window)(editor.drawingArea.getToplevel()) if you don't have access to the variable holding your main window. -- Mike Wey

Re: Thread-safety and lazy-initialization of libraries

2014-06-30 Thread Mike Wey via Digitalmars-d-learn
process. A regular static this is executed once per Thread. -- Mike Wey

Re: DMD Fails with fPIC error

2014-06-19 Thread Mike Wey via Digitalmars-d-learn
On 06/18/2014 08:51 AM, Reuben wrote: On Sunday, 15 June 2014 at 09:08:10 UTC, Mike Wey wrote: In that case the static Phobos needs to be build with -fPIC, which currently isn't the case looking at the Ebuild. Compiling DMD with PIC=1 doesn't seem to do the trick. -fPIC is used for the C

Re: DMD Fails with fPIC error

2014-06-15 Thread Mike Wey via Digitalmars-d-learn
#Automatic_generation_of_Position_Independent_Executables_.28PIEs.29) In that case the static Phobos needs to be build with -fPIC, which currently isn't the case looking at the Ebuild. -- Mike Wey

Re: DMD Fails with fPIC error

2014-06-14 Thread Mike Wey via Digitalmars-d-learn
the configuration or add -defaultlib=:libphobos2.so -- Mike Wey

Re: DMD Fails with fPIC error

2014-06-14 Thread Mike Wey via Digitalmars-d-learn
On 06/14/2014 02:01 PM, Reuben wrote: On Saturday, 14 June 2014 at 10:45:25 UTC, Mike Wey wrote: On 06/14/2014 03:58 AM, Reuben wrote: Depending on the desired behavior you'll need to remove the -shared flag from the configuration or add -defaultlib=:libphobos2.so dmd.conf contains

Re: Working on a library: request for code review

2014-06-13 Thread Mike Wey via Digitalmars-d-learn
/std/algorithm/among.html -- Mike Wey

Re: DMD Deimos || GDC Deimos?

2014-04-26 Thread Mike Wey via Digitalmars-d-learn
:/ With MinGW you would use the: -static-libgcc flag when linking the application. I'm not sure if gdc also supports this, but you can give it a try. -- Mike Wey

Re: copying memory in phobos

2014-04-08 Thread Mike Wey
by the array syntax, removing a dependency on the C library. -- Mike Wey

Re: GtkD icon theme issue

2013-12-29 Thread Mike Wey
\share\ That should be enough to get rid of the errors. -- Mike Wey

Re: Dub and GtkD

2013-12-23 Thread Mike Wey
On 12/22/2013 10:00 PM, Artur Skawina wrote: On 12/22/13 20:21, Mike Wey wrote: On 12/22/2013 03:36 PM, Russel Winder wrote: Python now uses the reflection approach to providing a Python binding to the API: PyGTK has given way to PyGobject. Has the PyGobject approach been rejected for GtkD

Re: Dub and GtkD

2013-12-22 Thread Mike Wey
: dependencies: { gtk-d:gtkd: ~master } Just depending on the subpackage you need will stop dub from including the other parts of GtkD in your app. So this should fix your problem. Not sure, why GtkD does this. There are also no versions, just ~master. -- Mike Wey

Re: Dub and GtkD

2013-12-22 Thread Mike Wey
On 12/22/2013 03:36 PM, Russel Winder wrote: On Sun, 2013-12-22 at 12:58 +0100, Mike Wey wrote: On 12/21/2013 11:19 PM, qznc wrote: […] For some reason GtkD uses some unreleased version of Gtk with some OpenGL features. This is because the released version of GtkGLext doesn't support Gtk+ 3

Re: GtkD - how to install

2013-12-22 Thread Mike Wey
: { gtk-d:gtkd: ~master } } -- Mike Wey

Re: Multiple gtk installations

2013-11-07 Thread Mike Wey
will use the the one already in memory. When the version thats in memory is to old for the app you are starting it will crash because of the version mismatch. -- Mike Wey

Re: Multiple gtk installations

2013-11-07 Thread Mike Wey
On 11/07/2013 09:02 PM, Benjamin Thaut wrote: Am 07.11.2013 20:28, schrieb Mike Wey: On 11/07/2013 06:16 PM, Benjamin Thaut wrote: I don't know how other apps do this, but afaik giving each app there own private copy can still cause problems. If a dll with the same name as the one you

Re: D / GtkD for SQL Server

2013-10-20 Thread Mike Wey
on the machine. -- Mike Wey

Re: Array copy warning

2013-10-13 Thread Mike Wey
for regular arrays. -- Mike Wey

Re: [GtkD] linux shared library names

2013-08-10 Thread Mike Wey
sources file: src/gtkc/paths.d:127,128 Compile GtkD libraries and recompile your project. Regards, The older version of gtkglext won't work with Gtk+ 3.x and GtkD 2.x so changing the required version in the source won't do you any good. -- Mike Wey

Re: [GtkD] linux shared library names

2013-08-07 Thread Mike Wey
port of gtkglext, which can be found here: https://github.com/tdz/gtkglext I don't know if there are any prebuild binaries available for Ubuntu, so you may need to build it yourself. -- Mike Wey

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-20 Thread Mike Wey
store = cast(TreeStore)tv.getModel(); assert(store !is null); store.getNColumns(); } -- Mike Wey

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-19 Thread Mike Wey
On 06/17/2013 09:32 PM, Alex Horvat wrote: On Monday, 17 June 2013 at 17:52:38 UTC, Mike Wey wrote: On 06/17/2013 04:44 AM, Alex Horvat wrote: On Sunday, 16 June 2013 at 18:22:47 UTC, Mi Could you try again with the latest git? https://github.com/gtkd-developers/GtkD/commit

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-17 Thread Mike Wey
On 06/17/2013 04:44 AM, Alex Horvat wrote: On Sunday, 16 June 2013 at 18:22:47 UTC, Mike Wey wrote: On 06/13/2013 06:14 AM, Alex Horvat wrote: On Wednesday, 12 June 2013 at 21:44:55 UTC, Mike Wey wrote: On 06/11/2013 07:55 PM, Alex Horvat wrote: On Tuesday, 11 June 2013 at 17:41:59 UTC, Mike

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-16 Thread Mike Wey
On 06/13/2013 06:14 AM, Alex Horvat wrote: On Wednesday, 12 June 2013 at 21:44:55 UTC, Mike Wey wrote: On 06/11/2013 07:55 PM, Alex Horvat wrote: On Tuesday, 11 June 2013 at 17:41:59 UTC, Mike Wey wrote: On 06/11/2013 05:56 PM, Alex Horvat wrote: TreeStore store = cast(TreeStore

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-12 Thread Mike Wey
On 06/11/2013 07:55 PM, Alex Horvat wrote: On Tuesday, 11 June 2013 at 17:41:59 UTC, Mike Wey wrote: On 06/11/2013 05:56 PM, Alex Horvat wrote: TreeStore store = cast(TreeStore)tvTreeView.getModel(); In this case store == null I think that one should work, how are you setting/creating

Re: GtkD not working

2013-06-11 Thread Mike Wey
- Command Line - Additional Options. I don't know your setup but you should usually get some linker error when not linking against the gtkd libraries. Also your first post whould suggest you are using Windows while -L-ldl would link in the Linux dynamic linker. -- Mike Wey

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-11 Thread Mike Wey
On 06/11/2013 05:56 PM, Alex Horvat wrote: TreeStore store = cast(TreeStore)tvTreeView.getModel(); In this case store == null I think that one should work, how are you setting/creating the TreeStore? -- Mike Wey

Re: GtkD not working

2013-06-10 Thread Mike Wey
). Now it did compile, but I get an exception in KernelBase.dll. At this point, I just don't know what to do next. Could someone help, please? Below is the Hello World GtkD-style application that I tried: Do you get any error messages? -- Mike Wey

Re: more fun with ubuntu

2013-05-26 Thread Mike Wey
On 05/26/2013 06:50 PM, Ellery Newcomer wrote: On Sunday, 26 May 2013 at 16:28:33 UTC, Mike Wey wrote: Try prefixing the python lib with -L like so: dmd -unittest -property -debug -gc -version=Python_2_7_Or_Later -version=Python_2_6_Or_Later -version=Python_2_5_Or_Later -version

Re: Errors building GtkD on windows

2013-05-19 Thread Mike Wey
. -- Mike Wey

Re: Can't find GLU symbols when compiling SimpleGL.d found in GtkD/demos

2013-05-19 Thread Mike Wey
On 05/19/2013 09:43 AM, Alexandr Druzhinin wrote: Try this http://gtkd.org/Downloads/GtkDGL.zip The glu32.lib in that zip contains only the symbols needed by the SimpleGL demo. -- Mike Wey

Re: Errors building GtkD on windows

2013-05-19 Thread Mike Wey
On 05/19/2013 03:07 PM, Mike Wey wrote: dmd / rdmd is calling the Microsoft linker instead of the one from Digital Mars. Try checking if the LINKCMD is set correctly in sc.ini. Scratch that, the build script is calling the linker directly. It should probably use dmd for linking the the lib

Re: Errors building GtkD on windows

2013-05-19 Thread Mike Wey
LINKCMD=%@P%\link.exe LINKCMD64=%VCINSTALLDIR%bin\amd64\link.exe VCINSTALLDIR=%VCINSTALLDIR% WindowsSdkDir=%WindowsSdkDir% It was using lib.exe. Fixed in: https://github.com/gtkd-developers/GtkD/commit/5bdf53d6fc831101bf0d461721514c0fd01d1479 -- Mike Wey

Re: Can't find GLU symbols when compiling SimpleGL.d found in GtkD/demos

2013-05-19 Thread Mike Wey
, Fixed in: https://github.com/gtkd-developers/GtkD/commit/c19a533e018bab16ba6ad44afe8a46540a7e5a6a -- Mike Wey

Re: Can't find GLU symbols when compiling SimpleGL.d found in GtkD/demos

2013-05-19 Thread Mike Wey
On 05/19/2013 06:10 PM, Alexandr Druzhinin wrote: 19.05.2013 20:11, Mike Wey пишет: On 05/19/2013 09:43 AM, Alexandr Druzhinin wrote: Try this http://gtkd.org/Downloads/GtkDGL.zip The glu32.lib in that zip contains only the symbols needed by the SimpleGL demo. I built more complex

Re: Can't find GLU symbols when compiling SimpleGL.d found in GtkD/demos

2013-05-19 Thread Mike Wey
? -- Mike Wey

Re: GtkD HelloWorld app crashes with exception

2013-05-18 Thread Mike Wey
the Gtk3 dll. -- Mike Wey

Re: GtkD HelloWorld app crashes with exception

2013-05-18 Thread Mike Wey
On Saturday, 18 May 2013 at 18:54:50 UTC, Enjoys Math wrote: On Saturday, 18 May 2013 at 10:47:13 UTC, Mike Wey wrote: GtkD 2.x wraps Gtk+ 3.x so you will need the 3.8 runtime from: https://code.google.com/p/gtkd-packages/downloads/list I will check out why it doesn't print the error message

Re: [GtkD] How to connect to notify::active signal?

2013-05-04 Thread Mike Wey
On 05/04/2013 05:20 AM, Alexandr Druzhinin wrote: 04.05.2013 1:18, Mike Wey пишет: On 05/03/2013 06:30 PM, Alexandr Druzhinin wrote: I need to connect to notify::active signal for Switch widget to process changing of its state. The guides say I shouldn't use onActivate signal

Re: GtkD - Changing the default windows font

2013-05-04 Thread Mike Wey
On 05/03/2013 08:05 PM, Mike Wey wrote: On 05/03/2013 09:39 AM, Mike James wrote: Running on Windows 7, the default font is very thin and indistinct on my machine - is there a system setting to change the default font? regards, Mike. I don't know, i'll see if i can find out how to set

Re: [GtkD] How to use Glade?

2013-05-03 Thread Mike Wey
On 05/03/2013 03:00 AM, Alexandr Druzhinin wrote: 03.05.2013 0:43, Mike Wey пишет: On 05/02/2013 03:58 PM, Alexandr Druzhinin wrote: How to use GtkD with Glade? Is some tutorial available? I spent some time trying to use Glade to build non-trivial application, but I do it very inproductive, so

Re: GtkD - Changing the default windows font

2013-05-03 Thread Mike Wey
On 05/03/2013 09:39 AM, Mike James wrote: Running on Windows 7, the default font is very thin and indistinct on my machine - is there a system setting to change the default font? regards, Mike. I don't know, i'll see if i can find out how to set it. -- Mike Wey

Re: [GtkD] How to connect to notify::active signal?

2013-05-03 Thread Mike Wey
to gtk.Switch ? -- Mike Wey

Re: [GtkD] How to use Glade?

2013-05-02 Thread Mike Wey
, if somebody would upload some example of Gtk application, that built with glade and has several typical widgets and signal handlers - it may help very much. There is an small example distributed with GtkD: https://github.com/gtkd-developers/GtkD/blob/master/demos/builder/builderTest.d -- Mike

Re: [GtkD] How to use Glade?

2013-05-02 Thread Mike Wey
On 05/02/2013 08:21 PM, Carlos wrote: On Thursday, 2 May 2013 at 17:43:28 UTC, Mike Wey wrote: On 05/02/2013 03:58 PM, Alexandr Druzhinin wrote: How to use GtkD with Glade? Is some tutorial available? I spent some time trying to use Glade to build non-trivial application, but I do it very

Re: [GtkD] How to use Glade?

2013-05-02 Thread Mike Wey
file it will print No window? and exit. -- Mike Wey

Re: does GtkD (win7) support opengl?

2013-04-28 Thread Mike Wey
On 04/28/2013 01:04 PM, Alexandr Druzhinin wrote: developers version of GtkD solves my problem. but GtkD 2.1.1 from download page doesn't. May be remove it from there to avoid such problems? Does it also draw the triangle properly for you? -- Mike Wey

Re: GtkD No GSettings schemas installed

2013-04-28 Thread Mike Wey
On 04/28/2013 04:32 PM, QAston wrote: On Monday, 15 April 2013 at 18:10:00 UTC, Mike Wey wrote: On 04/15/2013 05:45 PM, Josh wrote: On Sunday, 14 April 2013 at 13:34:07 UTC, Mike Wey wrote: So it looks like the shemas are installed properly. You could try running the gsettings app from

Re: does GtkD (win7) support opengl?

2013-04-28 Thread Mike Wey
On 04/28/2013 04:08 PM, Alexandr Druzhinin wrote: 28.04.2013 20:26, Mike Wey пишет: On 04/28/2013 01:04 PM, Alexandr Druzhinin wrote: developers version of GtkD solves my problem. but GtkD 2.1.1 from download page doesn't. May be remove it from there to avoid such problems? Does it also draw

Re: does GtkD (win7) support opengl?

2013-04-28 Thread Mike Wey
On 04/28/2013 07:33 PM, Mike Wey wrote: On 04/28/2013 04:08 PM, Alexandr Druzhinin wrote: 28.04.2013 20:26, Mike Wey пишет: On 04/28/2013 01:04 PM, Alexandr Druzhinin wrote: developers version of GtkD solves my problem. but GtkD 2.1.1 from download page doesn't. May be remove it from

Re: does GtkD (win7) support opengl?

2013-04-26 Thread Mike Wey
On 04/26/2013 05:16 AM, Alexandr Druzhinin wrote: 26.04.2013 3:45, Mike Wey пишет: http://gtkd.org/Downloads/SimpleGL.zip After updating dmd the demo no longer draws the triangle, i still need to figure out why. Link is broken Should be working now. -- Mike Wey

Re: does GtkD (win7) support opengl?

2013-04-25 Thread Mike Wey
On 04/25/2013 02:09 PM, Alexandr Druzhinin wrote: 24.04.2013 4:02, Mike Wey пишет: I don't think it's the line number. I think i may have this error on my machine once, but not since then. And i can't reproduce it. Could I ask you to build SimpleGL demo, check it works and send binary to me

Re: GtkD DLL issues

2013-04-23 Thread Mike Wey
or 64 bit? Did you install the matching Gtk+ runtime 32 or 64 bits? I looks like its pikking up a different version of a dll used by Gtk+ and apperantly the Intel WiFi tools. But think it should loadthe right one if ist just 32 vs 64 bits. -- Mike Wey

Re: GtkD DLL issues

2013-04-23 Thread Mike Wey
On 04/23/2013 10:26 PM, Jeff wrote: On Tuesday, 23 April 2013 at 20:24:33 UTC, Jeff wrote: On Tuesday, 23 April 2013 at 20:21:51 UTC, Mike Wey wrote: On 04/23/2013 09:00 PM, Jeff wrote: Trying out GtkD for the first time today, compiled one of the sample applications and when I try to run

Re: does GtkD (win7) support opengl?

2013-04-23 Thread Mike Wey
On 04/23/2013 10:59 AM, Alexandr Druzhinin wrote: 10.04.2013 3:48, Mike Wey пишет: I was able to build gtkglext3 on windows, and i've uploaded a zip file containing the dll's. http://gtkd.org/Downloads/GtkDGL.zip I've also included the static libs for GtkDGL and for 32bits windows two import

Re: GtkD No GSettings schemas installed

2013-04-15 Thread Mike Wey
On 04/15/2013 05:45 PM, Josh wrote: On Sunday, 14 April 2013 at 13:34:07 UTC, Mike Wey wrote: So it looks like the shemas are installed properly. You could try running the gsettings app from a different location than where it's located, it should be in your path. If it doesn't give the same

Re: GtkD No GSettings schemas installed

2013-04-14 Thread Mike Wey
On 04/13/2013 07:00 AM, Josh wrote: On Wednesday, 10 April 2013 at 20:17:36 UTC, Mike Wey wrote: On 04/10/2013 03:20 PM, Josh wrote: After trying to compile in 64 bit and failing, I've given up and just used 32 bit. So now I have GTK-Runtime 3.6.1 32 bit, GtkD 2.1.1 and DMD 2.062. My program

Re: GtkD No GSettings schemas installed

2013-04-10 Thread Mike Wey
as before. Any more ideas? Thanks, Josh Try running the following commands in the windows console: gsettings list-schemas gsettings list-relocatable-schemas They should output a list of installed schemas. -- Mike Wey

Re: does GtkD (win7) support opengl?

2013-04-09 Thread Mike Wey
On 04/02/2013 11:13 PM, Mike Wey wrote: On 04/01/2013 04:58 PM, Alexandr Druzhinin wrote: I built GtkD following instructions from https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows. Then I tried to build demo from demos/gl/simple/simplegl.d and failed with undefined symbols

Re: gtkD problem

2013-04-04 Thread Mike Wey
librarylibglib-2.0.0-dll. I'm only having difficulties on Windows. It works just fine on Linux. It looks like you have more than one version of the Gtk runtime on your system, and this is causing some problems. because it's finding the older version. -- Mike Wey

Re: GtkD No GSettings schemas installed

2013-04-03 Thread Mike Wey
On 04/03/2013 05:38 AM, Josh wrote: On Tuesday, 2 April 2013 at 20:50:16 UTC, Mike Wey wrote: On 04/02/2013 02:38 PM, Josh wrote: On Sunday, 31 March 2013 at 14:21:50 UTC, Mike Wey wrote: On 03/30/2013 05:42 PM, Josh wrote: On Saturday, 30 March 2013 at 16:17:22 UTC, Mike Wey wrote: On 03

Re: does GtkD (win7) support opengl?

2013-04-03 Thread Mike Wey
On 04/03/2013 03:23 AM, Alexandr Druzhinin wrote: 03.04.2013 4:13, Mike Wey пишет: GtkD relies on gtkglext-3 for it's openGL support it can be found here: https://github.com/tdz/gtkglext It currently isn't included in the Gtk-runtime installer, and as far as i know there aren't any binaries

Re: GtkD No GSettings schemas installed

2013-04-02 Thread Mike Wey
On 04/02/2013 02:38 PM, Josh wrote: On Sunday, 31 March 2013 at 14:21:50 UTC, Mike Wey wrote: On 03/30/2013 05:42 PM, Josh wrote: On Saturday, 30 March 2013 at 16:17:22 UTC, Mike Wey wrote: On 03/30/2013 03:49 PM, Josh wrote: Sorry, I misread, I thought the xml files were the compiled bits

Re: does GtkD (win7) support opengl?

2013-04-02 Thread Mike Wey
in the Gtk-runtime installer, and as far as i know there aren't any binaries readily available for windows. And i haven't yet found the time to try and build it myself. -- Mike Wey

Re: GtkD No GSettings schemas installed

2013-03-31 Thread Mike Wey
On 03/30/2013 05:42 PM, Josh wrote: On Saturday, 30 March 2013 at 16:17:22 UTC, Mike Wey wrote: On 03/30/2013 03:49 PM, Josh wrote: Sorry, I misread, I thought the xml files were the compiled bits. When I ran glib-compile-schemas.exe, I get the following: warning: Schema

Re: GtkD No GSettings schemas installed

2013-03-30 Thread Mike Wey
-compile-schemas.exe C:\Program Files\Gtk-Runtime\share\glib-2.0\schemas\ The schemas directory should contain a bunch of xml files that will need to be compiled. The paths may vary depemding on where the Gtk runtime was installed. -- Mike Wey

Re: GtkD No GSettings schemas installed

2013-03-30 Thread Mike Wey
/' are deprecated. warning: undefined reference to schema id='org.gnome.desktop.default-applications.at'/ Anything I should be worried about? Thanks again, Josh That are the same warnings i get, does the FileChooserDialog work properly after running glib-compile-schemas.exe ? -- Mike Wey

Re: Trying to implement a reference counting mechanism

2013-03-20 Thread Mike Wey
by one, i think you need to set it to 1 in the refCountedObj function, or check for refCount 0 before freeing the value. -- Mike Wey

Re: Tid between classes

2013-03-08 Thread Mike Wey
from the owned gl thread. But I need the gl Tid to send data through to the gl thread. Is there a another way to access the gl thread's Tid from within the main thread? GtkD still supports openGL using gtkglext. -- Mike Wey

Re: gui libs

2013-02-28 Thread Mike Wey
On 02/28/2013 09:38 PM, rho wrote: do all those work with x64? are they complete? are all tools to build the libs on board the standard D distro? GtkD will work with x64. -- Mike Wey

Re: GtkD button size

2013-02-05 Thread Mike Wey
) { Main.init(args); new Application(); Main.run(); } It looks like this: http://i45.tinypic.com/msivb4.png -- Mike Wey

Re: GtkD button size

2013-02-05 Thread Mike Wey
, true, 0); Changing packStart to add in the small example i posted it appears to stay the same. -- Mike Wey

Re: GtkD button size

2013-02-04 Thread Mike Wey
request. A Grid or Table might also apply depending on the complete layout. -- Mike Wey

Re: gtk on the other machine

2013-01-29 Thread Mike Wey
previous question. -- Mike Wey

Re: gtkD problem

2013-01-28 Thread Mike Wey
exactly which installer you used? -- Mike Wey

Re: gtkD problem

2013-01-28 Thread Mike Wey
On 01/28/2013 08:43 PM, SaltySugar wrote: On Monday, 28 January 2013 at 19:20:00 UTC, Mike Wey wrote: On 01/28/2013 03:08 PM, SaltySugar wrote: On Monday, 28 January 2013 at 13:20:31 UTC, SaltySugar wrote: On Monday, 28 January 2013 at 13:15:09 UTC, Jordi Sayol wrote: Al 28/01/13 13:43, En

Re: gtkD problem

2013-01-28 Thread Mike Wey
On Monday, 28 January 2013 at 19:20:00 UTC, Mike Wey wrote: There seems to be a small bug in the code so that it fails is the GTK_BASEPATH doesn't end with a backslash, you can either add it to the GTK_BASEPATH, or remove the GTK_BASEPATH environment variable completely. Fixed in git: https

Re: Assembly - 64-bit registers supported?

2013-01-24 Thread Mike Wey
be dmd for win32 because of it. -- Mike Wey

Re: Assembly - 64-bit registers supported?

2013-01-20 Thread Mike Wey
=%VCINSTALLDIR%bin\amd64\link.exe VCINSTALLDIR and WindowsSdkDir may be different depending on the version of the installed windows SDK. -- Mike Wey

Re: GtkD - missing DLLs in Gtk win32 runtime

2012-12-29 Thread Mike Wey
to the installer. but for the other two libgtkglext/libgdkglext there probably aren't any binaries available. They are part of the gtkglext port to Gtk3 which can be found here: https://github.com/tdz/gtkglext -- Mike Wey

Re: calling fgets()

2012-12-23 Thread Mike Wey
declare an char array you could pass it's pointer and length as the first two arguments. char[] buff = new char[1024]; fgets(buff.ptr, buff.length, someStream); buff = buff[0 .. strlen(buff)]; -- Mike Wey

Re: Getting memory size of class

2012-12-05 Thread Mike Wey
).classinfo.init.sizeof, (myclass!double).classinfo.init.sizeof); from http://forum.dlang.org/thread/dp9hct$nuf$1...@digitaldaemon.com So how does one get the actual memory usage of a class? (myclass!int).classinfo.init.length At least that is what druntime is using. -- Mike Wey

Re: Correct way to map C #define to version

2012-10-29 Thread Mike Wey
, like this: https://github.com/MikeWey/DMagick/blob/master/dmagick/c/distort.d#L239 -- Mike Wey

Re: GtkD compile failed. shift by 32

2012-06-11 Thread Mike Wey
which compiler I use. Does any This was a bug in GtkD, getValue needs to return a ulong. The fix has been in the git/svn repo for quite a while now ;). -- Mike Wey

<    1   2   3   >