Re: (1) How to implement Image Buttons without gaps? (2) Can GtkImage stretch an image automatically?

2008-08-20 Thread Daniel Yek
peful! -- Daniel. 2008/8/21 Daniel Yek <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> Christian Dywan wrote: Am Wed, 20 Aug 2008 17:07:00 -0700 schrieb Daniel Yek <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>: [I sent th

Re: (1) How to implement Image Buttons without gaps? (2) Can GtkImage stretch an image automatically?

2008-08-20 Thread Daniel Yek
Christian Dywan wrote: Am Wed, 20 Aug 2008 17:07:00 -0700 schrieb Daniel Yek <[EMAIL PROTECTED]>: [I sent this gtk-app-devel-list earlier, but I suppose this list might have an answer for me. I'm just trying to figure things out...] Hi, (1) I have been looking for a way to us

(1) How to implement Image Buttons without gaps? (2) Can GtkImage stretch an image automatically?

2008-08-20 Thread Daniel Yek
display, an image to cover its allocated size automatically? If not, are there popular approaches used to implement this functionality, other than using low-level drawing APIs? Insights are very much appreciated. Thanks. -- Daniel Yek. ___ gtk-devel-list ma

Re: How to detect display speed in custom widget?

2007-09-28 Thread Daniel Yek
Federico Mena Quintero wrote: > On Thu, 2007-09-06 at 20:47 -0700, Daniel Yek wrote: > >> I'm wondering if anybody is experienced in writing smart widget that >> would react differently depending on whether the current display is >> local/fast for graphics anima

How to detect display speed in custom widget?

2007-09-06 Thread Daniel Yek
Hi, (I didn't get a response at [EMAIL PROTECTED] Technical-wise, gtk-devel-list is the best list for this question...I'm hoping someone would have an answer for me.) I'm wondering if anybody is experienced in writing smart widget that would react differently depending on whether the current d

Answer to: What causes GLib I/O Channels operations to use up 100% CPU in GTK+ app.?

2006-10-13 Thread Daniel Yek
[Moving gtk-app-devel-list@gnome.org to BCC. See earlier post for test code.] At 02:41 AM 10/12/2006, Daniel Yek wrote: >At 02:36 AM 10/12/2006, Daniel Yek wrote: >>Could somebody enlighten me why after an I/O Channel operation >>(g_io_channel_shutdown() here), the GTK+ program st