Author |
Message |
Topic: GtkD, GtkBuilder and signals |
Zardoz
Replies: 12
Views: 43062
|
Forum: gtkD Posted: Sat Jun 09, 2012 4:22 pm Subject: GtkD, GtkBuilder and signals |
And the most interesting point is that in Linux not have these issue. |
Topic: GtkD, GtkBuilder and signals |
Zardoz
Replies: 12
Views: 43062
|
Forum: gtkD Posted: Thu Jun 07, 2012 2:43 pm Subject: GtkD, GtkBuilder and signals |
I don't appreciate any difference in the source code or in the UI xml file.
Actually I'm getting this warning at runtime :
(lem1802_fontview.exe:3000): Gtk-WARNING **: Could not find signal handle ... |
Topic: GtkD, GtkBuilder and signals |
Zardoz
Replies: 12
Views: 43062
|
Forum: gtkD Posted: Thu May 31, 2012 4:06 pm Subject: GtkD, GtkBuilder and signals |
Oh! Thanks! Now it can find nearly all signals alone, except for one (on_close) that are set to main window destroy signal and to mnu_item_close at same time. In Linux this its working, but in Windows ... |
Topic: GtkD, GtkBuilder and signals |
Zardoz
Replies: 12
Views: 43062
|
Forum: gtkD Posted: Thu May 31, 2012 12:57 am Subject: GtkD, GtkBuilder and signals |
export (Windows) not ?
UPDATE:
I try this:
version(Windows) {
extern (Windows) void on_close (Event event, Widget widget) {
ev_on_close(event, widg ... |
Topic: GtkD, GtkBuilder and signals |
Zardoz
Replies: 12
Views: 43062
|
Forum: gtkD Posted: Wed May 30, 2012 2:20 pm Subject: GtkD, GtkBuilder and signals |
Now I managed to compile in Windows, but can't find the signals, where in Linux can it.
(lem1802_fontview.exe:1980): Gtk-WARNING **: Could not find signal handler 'on_close'
... |
Topic: GtkD, GtkBuilder and signals |
Zardoz
Replies: 12
Views: 43062
|
Forum: gtkD Posted: Mon May 21, 2012 5:21 am Subject: GtkD, GtkBuilder and signals |
Auto reply: I was calling bad the function handler
The fixed code that works:
import gtk.Main, gtk.Builder, gtk.Widget, gdk.Event;
import gtk.MainWindow;
import gtkc.gtktypes;
impo ... |
Topic: GtkD, GtkBuilder and signals |
Zardoz
Replies: 12
Views: 43062
|
Forum: gtkD Posted: Sun May 20, 2012 4:09 pm Subject: GtkD, GtkBuilder and signals |
I'm trying to use GtkBuilder with GtkD.
I have a xml file made with Glade that connect a signal to destroy event of a window. The program runs and show the window, but I'm getting a waring:
Gtk-WA ... |
Topic: SDL_OpenAudio callback function get's len equal to 0 |
Zardoz
Replies: 1
Views: 6356
|
Forum: Derelict Posted: Tue Jul 26, 2011 12:38 pm Subject: SDL_OpenAudio callback function get's len equal to 0 |
Hi. I'm trying to generate tones using SDL Audio directly. I make a qucik C Program in C that works, now next was translate to D.
For I can see in console, the callback functions it's called, but ... |
Topic: Missing GL_TEXTURE_MAX_ANISOTROPY_EXT in GLEnum ? |
Zardoz
Replies: 2
Views: 8098
|
Forum: Derelict Posted: Fri Jun 03, 2011 2:24 am Subject: Missing GL_TEXTURE_MAX_ANISOTROPY_EXT in GLEnum ? |
OUCH!!!! |
Topic: Missing GL_TEXTURE_MAX_ANISOTROPY_EXT in GLEnum ? |
Zardoz
Replies: 2
Views: 8098
|
Forum: Derelict Posted: Thu Jun 02, 2011 5:33 pm Subject: Missing GL_TEXTURE_MAX_ANISOTROPY_EXT in GLEnum ? |
It's missing GL_TEXTURE_MAX_ANISOTROPY_EXT and GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT . Or I must do anisotropic texture filtering by other method ?
I get a :
src/display/sdl/material.d(99) ... |
Topic: IMG_Load doing a segment fault |
Zardoz
Replies: 4
Views: 10152
|
Forum: Derelict Posted: Thu Jun 02, 2011 5:22 pm Subject: IMG_Load doing a segment fault |
More funnier ... I discover that now I can remove pragma(lib, "....\DerelictUtil.a". Before I need it to compile without anoying linking errors. |
Topic: IMG_Load doing a segment fault |
Zardoz
Replies: 4
Views: 10152
|
Forum: Derelict Posted: Wed Jun 01, 2011 9:12 am Subject: IMG_Load doing a segment fault |
Not, I'm using 64 bits in all of my pc's,m but I just discover how avoid these bug...
I got the same problem using any GLU function like gluBuild2DMipmaps , and searching about problems with Derel ... |
Topic: IMG_Load doing a segment fault |
Zardoz
Replies: 4
Views: 10152
|
Forum: Derelict Posted: Tue May 31, 2011 4:32 pm Subject: IMG_Load doing a segment fault |
I'm using DMD 2.052 wich svn Derelict2 rev 551 in kUbuntu 10.10 x64
I'm trying to use IMG_Load to load a image file and I get a segment fault wich any path that I put to IMG_Load.
Code :
impo ... |
Topic: I'm lost with importing and linking... |
Zardoz
Replies: 10
Views: 18206
|
Forum: Derelict Posted: Tue May 31, 2011 4:16 pm Subject: I'm lost with importing and linking... |
I know, andlike I said, I have the same problem that is showed in aprevius post. DMD 2.052 have some strange problem linking, and wichout these pragma, not links well DerelictUtil.
I'm sorry that y ... |
Topic: I'm lost with importing and linking... |
Zardoz
Replies: 10
Views: 18206
|
Forum: Derelict Posted: Mon May 30, 2011 3:32 am Subject: I'm lost with importing and linking... |
AutoAnswer:
OK, I find a previus post wich a similar problem.... ( -I/usr/include/d/Derelict2/import -L-L/usr/local/lib/derelict2/ -L-ldl -L-lDerelictUtil -L-lDerelictSDL -L-lDerelictGL -L-lDerelic ... |
|