FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 40 matches
Forum Index
Author Message
  Topic: Pixbuf Memory Consumption Issue
zane.sims

Replies: 6
Views: 5625

PostForum: gtkD   Posted: Sun Feb 14, 2010 10:52 am   Subject: Pixbuf Memory Consumption Issue
Once again, you have saved me Mike - I truly appreciate it! jpf2, thanks for your help as well. You weren't too far off afterall.

Thanks!
Zane
  Topic: Pixbuf Memory Consumption Issue
zane.sims

Replies: 6
Views: 5625

PostForum: gtkD   Posted: Sun Feb 14, 2010 6:50 am   Subject: Pixbuf Memory Consumption Issue
Thanks for your reply, however, a Pixbuf is not a GObject, and therefore I get an assertion error when trying to pass it as a parameter to that function.

Other ideas?

Thanks again,
Zane
  Topic: Pixbuf Memory Consumption Issue
zane.sims

Replies: 6
Views: 5625

PostForum: gtkD   Posted: Sat Feb 13, 2010 4:36 pm   Subject: Pixbuf Memory Consumption Issue
Hey all,

I have encountered a problem on a recent project of mine when using a pixbuf. I have need of loading many images in a loop where I would like to:

1) load the image
2) use the image
3 ...
  Topic: Window Won't Show & PopupBox Won't Close
zane.sims

Replies: 7
Views: 4426

PostForum: gtkD   Posted: Thu Jan 21, 2010 5:39 pm   Subject: Window Won't Show & PopupBox Won't Close
Thanks Mike, and everyone else that assisted. You have solved my problem, and more importantly, I have learned more about GTK!
  Topic: Window Won't Show & PopupBox Won't Close
zane.sims

Replies: 7
Views: 4426

PostForum: gtkD   Posted: Thu Jan 21, 2010 12:39 pm   Subject: Window Won't Show & PopupBox Won't Close
Thanks for the Main.quit advice. I was only aware of Main.exit which is now deprecated.

I was only using sleep(3); to simplify and simulate cpu processing time (probably not the best idea). My ac ...
  Topic: Window Won't Show & PopupBox Won't Close
zane.sims

Replies: 7
Views: 4426

PostForum: gtkD   Posted: Thu Jan 21, 2010 5:51 am   Subject: Window Won't Show & PopupBox Won't Close
If you mean instead of overriding the windowDelete method, I have already tried that as well. It gives the exact same result.

On another note: curiously, I have found that if I comment out the &qu ...
  Topic: Window Won't Show & PopupBox Won't Close
zane.sims

Replies: 7
Views: 4426

PostForum: gtkD   Posted: Wed Jan 20, 2010 5:55 pm   Subject: Window Won't Show & PopupBox Won't Close
Hey all,

I am not sure if this is a problem with GTK or if this is expected behavior, but I would like someone's opinion. First look at the following test code:

module test;

import gtk.Main; ...
  Topic: ListStore.append(iter); - Segmentation Fault
zane.sims

Replies: 1
Views: 2453

PostForum: gtkD   Posted: Sun Dec 20, 2009 8:01 am   Subject: ListStore.append(iter); - Segmentation Fault
Hey all,

When I do a:

ListStore.append(iter);

I get a Segmentation Fault. I noticed that if I first call:

ListStore.createIter;

all later calles to append work fine using the c ...
  Topic: [Linux] Quick Question -> Default prefix is unwritable
zane.sims

Replies: 3
Views: 4388

PostForum: DSSS   Posted: Sun Dec 13, 2009 3:05 pm   Subject: [Linux] Quick Question -> Default prefix is unwritable
Yes, but is this how DSSS was intended to be used? I guess my question is: Should I be running DSSS/DMD as root or is that a no-no?

Thanks for your help so far!
  Topic: [Linux] Quick Question -> Default prefix is unwritable
zane.sims

Replies: 3
Views: 4388

PostForum: DSSS   Posted: Sat Dec 12, 2009 4:18 pm   Subject: [Linux] Quick Question -> Default prefix is unwritable
I am trying to set up a dev environment in Ubuntu 9.10 with DMD v1.053 & DSSS v0.78.

I installed DMD to: /opt/dmd
and DSSS to: /opt/dsss

When I compile a GtkD app (for example) I get this o ...
  Topic: [Linux] Error: Library load failed: libcairo.so
zane.sims

Replies: 1
Views: 2454

PostForum: gtkD   Posted: Sat Dec 12, 2009 4:04 pm   Subject: [Linux] Error: Library load failed: libcairo.so
Since my goal is to develop cross-platform apps for both windows and linux, I attempted setting up a dev environment in Ubuntu 9.10. Using DSSS v0.78, DMD v1.053, GTKD v1.3

I compiled an app just ...
  Topic: new gtk.MenuItem Overloaded Constructor Problem
zane.sims

Replies: 2
Views: 2988

PostForum: gtkD   Posted: Sat Dec 12, 2009 3:49 pm   Subject: new gtk.MenuItem Overloaded Constructor Problem
Right again sir! I did some reading on delegates & function pointers and now have a greater understanding. Thanks again!
  Topic: new gtk.MenuItem Overloaded Constructor Problem
zane.sims

Replies: 2
Views: 2988

PostForum: gtkD   Posted: Sun Nov 29, 2009 10:29 am   Subject: new gtk.MenuItem Overloaded Constructor Problem
Must be a bad week. I'm having a lot of stupid small problems.

When I try to initialise a new instance of gtk.MenuItem, I get a compile error using the following constructor:

this(void delegate ...
  Topic: Aligning a Label
zane.sims

Replies: 4
Views: 3128

PostForum: gtkD   Posted: Sun Nov 29, 2009 9:56 am   Subject: Aligning a Label
Thanks very much, this works perfectly!
  Topic: Aligning a Label
zane.sims

Replies: 4
Views: 3128

PostForum: gtkD   Posted: Sat Nov 28, 2009 8:36 am   Subject: Aligning a Label
Thanks for the quick reply. Your example seems easy enough, but when I try to add three labels like this:

table.attach(Alignment.west(new Label("Hello World")),0,1, ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group