Hi All,
I've an embedded sytem having only 2 bits per pixel thus four colours. Is it
possible to run GTK over DirectFB on this platform?
--
Regards,
Harinandan S
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-lis
I find another way:
+-
| PangoFontDescription * desc = pango_font_description_new();
| pango_font_description_set_size(desc, 50*PANGO_SCALE);
| .
| .
| gtk_widget_modify_font(label, desc);
+-
Is the pango markup language most popular way to set font's style?
On Thu, Aug 28, 2008 at 8:16 PM, Tomas Carnecky <[EMAIL PROTECTED]> wrote:
> Dov Grobgeld wrote:
> > Hi Lazy (great name),
> >
> > The way to do it is to set the name of the label through:
> >
> > gtk_widget_set_name(label, "f
Hi All,
I made the transition smooth by destroying only the image and recreating a
new one. I now have another problem - memory leak. I first create a pixbuf,
scale it and then create an image widget from the scaled pixbuf. I see a
memory leak here. I feel that its because i am not freeing pixbuf
On Thu, Aug 28, 2008 at 9:23 PM, <[EMAIL PROTECTED]> wrote:
> 2008/8/28 Tor Lillqvist <[EMAIL PROTECTED]>:
>> Have the idle callback function return FALSE... Schedule it again with
>> g_idle_add() whenever you have something new that needs to be done in
>> the GUI thread.
I were stuck in forever
2008/8/28 Tor Lillqvist <[EMAIL PROTECTED]>:
> Have the idle callback function return FALSE... Schedule it again with
> g_idle_add() whenever you have something new that needs to be done in
> the GUI thread.
I wrote a tiny bit of sample code in an old mail:
http://lists-archives.org/gtk/08308-g
> Could you explain more on this ? Is calling g_idle_add() from
> "NON-GUI" thread important ?
No, you can call it from any thread.
> I think no matter which thread invoke g_idle_add(),
> the idle callback will be associated with default main loop, am I correct ?
Yes.
> Did you put a g_usleep(
On Thu, Aug 28, 2008 at 5:23 PM, <[EMAIL PROTECTED]> wrote:
> Hi,
>
> 2008/8/28 Kuang-Chun Cheng <[EMAIL PROTECTED]>:
>> My GUI require update after some non-gui thread finish it's task.
>>
>> So I create an idle callback + GAsyncQueue in main thread.
>> When non-gui thread push message to GAsyncQ
Hi Tomas,
You are certainly right The style method is more suited when you want to
change additional properties like background color, etc. I stand corrected.
Regards,
Dov
2008/8/28 Tomas Carnecky <[EMAIL PROTECTED]>
> Dov Grobgeld wrote:
> > Hi Lazy (great name),
> >
> > The way to do it is to
Dov Grobgeld wrote:
> Hi Lazy (great name),
>
> The way to do it is to set the name of the label through:
>
> gtk_widget_set_name(label, "foo");
>
> and then define a style for the name "foo", that includes a font
> specification:
>
> gtk_rc_parse_string("style \"foo\" {\n"
>
Hi Lazy (great name),
The way to do it is to set the name of the label through:
gtk_widget_set_name(label, "foo");
and then define a style for the name "foo", that includes a font
specification:
gtk_rc_parse_string("style \"foo\" {\n"
"font = \"Seri
On Sat, Aug 23, 2008 at 2:32 AM, Paul Davis <[EMAIL PROTECTED]>
wrote:
On Sat, 2008-08-23 at 00:28 +0100, Chris Vine wrote:
> On Fri, 22 Aug 2008 19:04:19 -0400
> Paul Davis <[EMAIL PROTECTED]> wrote:
> > On Fri, 2008-08-22 at 14:12 +0100, Chris Vine wrote:
> > > On Fri, 22 Aug 2008 13:40:20
I wrote the following statememts to set a GtkLabel's font size.
But it seems don't work?
I'm not good at Pango, can anybody help me?
+---
| PangoAttrList *pg_attr_list = pango_attr_list_new();
| PangoAttribute *
Hi,
2008/8/28 Kuang-Chun Cheng <[EMAIL PROTECTED]>:
> My GUI require update after some non-gui thread finish it's task.
>
> So I create an idle callback + GAsyncQueue in main thread.
> When non-gui thread push message to GAsyncQueue, my idle callback will
> be wakeup and do the GUI update.
You do
On Thu, Aug 28, 2008 at 3:42 AM, Tor Lillqvist <[EMAIL PROTECTED]> wrote:
>> Are these correct ?
>
> Yes,
OK, thanks.
Here is my another question.
My GUI require update after some non-gui thread finish it's task.
So I create an idle callback + GAsyncQueue in main thread.
When non-gui thread push
15 matches
Mail list logo