Author |
Message |
Topic: addOnExpose won't add the function ? |
maelp
Replies: 4
Views: 12470
|
Forum: gtkD Posted: Tue Oct 07, 2008 4:02 pm Subject: addOnExpose won't add the function ? |
Okay thank you!!
EDIT: There ought to be some advanced tutorials on those matters for Gtk2.0 in general, and for GtkD in particular... |
Topic: addOnExpose won't add the function ? |
maelp
Replies: 4
Views: 12470
|
Forum: gtkD Posted: Tue Oct 07, 2008 10:20 am Subject: addOnExpose won't add the function ? |
Okay, I don't know what I'm doing wrong here, because I can compile the gtkD examples and it works, but the code I'm compiling don't... maybe the widget isn't displayed in the window, and therefore th ... |
Topic: addOnExpose won't add the function ? |
maelp
Replies: 4
Views: 12470
|
Forum: gtkD Posted: Mon Oct 06, 2008 7:18 am Subject: addOnExpose won't add the function ? |
I have some code that worked with a previous (don't-remember-which) release of gtkD, but that no longer works.
I'm subclassing a DrawingArea widget, and adding this code :
addEvents( EventMask ... |
Topic: Deletion |
maelp
Replies: 6
Views: 15287
|
Forum: gtkD Posted: Mon Jul 07, 2008 7:51 am Subject: Deletion |
Okay thanks,
I read that, but since many GTK+ tuts on the
internet show widgets and connect their destroy_event signal to
a callback, I was wondering why this wouldn't be called most of the time.. ... |
Topic: Deletion |
maelp
Replies: 6
Views: 15287
|
Forum: gtkD Posted: Sat Jul 05, 2008 8:30 am Subject: Deletion |
It works with r518,
but why is it working with ObjectGtk.onDestroy and not Widget.onDestroy ? |
Topic: Deletion |
maelp
Replies: 6
Views: 15287
|
Forum: gtkD Posted: Fri Jul 04, 2008 4:37 pm Subject: Deletion |
I tried adding
addOnDestroy( &onDestroy );
protected int
onDestroy( ... )
{
...
}
to some widgets,
and then calling
myWidget.destroy();
but it looks like the destroy method is ... |
Topic: Deletion |
maelp
Replies: 6
Views: 15287
|
Forum: gtkD Posted: Fri Jul 04, 2008 9:16 am Subject: Deletion |
Hello,
can you tell me quickly what is the difference between Gtk delete / destroy, and how these mechanisms are embedded in the D bindings (particularly : what is the relation between a widget bei ... |
Topic: Widget flags |
maelp
Replies: 1
Views: 7775
|
Forum: gtkD Posted: Tue Jun 24, 2008 6:35 am Subject: Widget flags |
Hello,
another related question : is there a way to set a widget flags (to allow the widget to grab focus), it's not obvious since the GtkWidget struct seems buggy because some fields are missing.. ... |
Topic: Cairo+Pango |
maelp
Replies: 2
Views: 9283
|
Forum: gtkD Posted: Mon Jun 23, 2008 11:09 am Subject: Cairo+Pango |
Hello,
I wonder what's the proper way to render text using Cairo. There seems to be a pangocairo.h file, but I can't find the equivalent in gtkD, will it be included ? Is there a better way to rend ... |
Topic: Widget allocation |
maelp
Replies: 3
Views: 10078
|
Forum: gtkD Posted: Mon Jun 23, 2008 11:03 am Subject: Widget allocation |
Okay it's working, yet I don't understand why the naive code Widget.allocation wouldn't work, since D structures ABI should be compatible with C structures ? Why is the code bypassing the access using ... |
Topic: Widget allocation |
maelp
Replies: 3
Views: 10078
|
Forum: gtkD Posted: Sun Jun 22, 2008 9:32 am Subject: Widget allocation |
Hello,
when creating a widget, and trying to attain it's GtkWidget.allocation GtkAllocation structure, I obtain seemingly random values, and when trying to change them, the application crashes. Som ... |
Topic: image processing |
maelp
Replies: 2
Views: 19196
|
Forum: Bindings Posted: Sun Sep 23, 2007 6:10 am Subject: image processing |
Anyone wants to try and set up bindings for Intel's openCV? |
|