Re: Speeding Up libglade

2009-04-06 Thread arne
Hello, I am not sure if this solution will save time, If I understood everything right, the xml-parser of libglade must parse in both cases. but isn't it possible to store the output of glade_xml_new() to a file and just load it to memory at startup? regards Arne __

Re: slowness in getting events

2009-04-06 Thread Dov Grobgeld
Since hex characters only has an alphabet of 16 characters, you can draw these once into separate pixbufs, and then use gdk_pixbuf_copy_area() to draw the prerendered characters to the screen. If you have the memory you can e.g. create 256 two-nibble precomposed glyphs. I'm not sure how much more e

Re: GtkToggleAction problem

2009-04-06 Thread Yu Feng
It would be inconsistent with all other GTK widgets. Have you tried g_signal_add_emission_hook and g_signal_stop_emission ? or g_signal_handlers_block_by_func? Regards, Yu On Mon, 2009-04-06 at 23:29 +0400, sergey wrote: > Hello! > > I wish to switch state GtkToggleAction without a signal "togg

GtkToggleAction problem

2009-04-06 Thread sergey
Hello! I wish to switch state GtkToggleAction without a signal "toggled", but it is impossible. Can be to substitute string in a file gtktoggleaction.c gtk_toggle_action_set_active (action, g_value_get_boolean (value)); on string action->private_data->active = g_value_get_boolean (value); Then by

Re: Speeding Up libglade

2009-04-06 Thread Andreas Volz
Am Sun, 05 Apr 2009 16:03:54 +0200 schrieb arne: > Hello, > > I want to run my application on a Embedded System with a weak CPU. > > Compared to another program which I build earlier with Glade2 the > start time of my actual application is appreciable slower. > > I read the Article > http://sys

Re: slowness in getting events

2009-04-06 Thread Efraim Yawitz
On Mon, Apr 6, 2009 at 2:00 PM, Michael Torrie wrote: You might want to implement this hex dump display as a GtkTreeView widget, which does lend itself better to displaying tabular data. The MVC mechanism by which the TreeView works means that the view automatically updates itsel