Re: [GTK3] GtkEntry, why focus-in-event does not work ?

2012-02-23 Thread jjacky
On 02/23/2012 02:49 PM, Gilles DOFFE wrote: Hello, Below a simple application with a GtkButton and a GtkEntry. Two callbacks associated to this widgets following this rules : 1) When I click on the GtkButton, it should display the GtkEntry pointer value. 2) When I focus on the GtkEntry,

Re: [GTK3] GtkEntry, why focus-in-event does not work ?

2012-02-23 Thread Gilles DOFFE
Thanks Jacky ! It was big enough in gtk3 documentation but I missed it anyway... ^^' http://developer.gnome.org/gtk3/3.2/GtkWidget.html#GtkWidget-focus-in-event Solved. 2012/2/23 jjacky i.am.jack.m...@gmail.com On 02/23/2012 02:49 PM, Gilles DOFFE wrote: Hello, Below a simple

GtkTextView and PangoFcDecoder

2012-02-23 Thread Ferdinand Ramirez
Is it possible to use PangoFcDecoder with GtkTextView so that I can use the glyph index to render the glyphs? If so, at what point does the program invoke the callback provided as a parameter in pango_fc_font_map_add_decoder_find_func? The documentation says it is called during create_font

Re: GtkTextView and PangoFcDecoder

2012-02-23 Thread Ferdinand Ramirez
The confusing line in the documentation for PangoFcDecoder at http://developer.gnome.org/pango/stable/PangoFcFontMap.html#pango-fc-font-map-add-decoder-find-func is this: This function saves a callback method in the PangoFcFontMap that will be called whenever new fonts are created. So after I

G_IS_ICON fails in gtk_icon_theme_lookup_by_gicon

2012-02-23 Thread Arnel A. Borja
Is there anything wrong doing this? I got it from XChat, which causes a bug: --- #includegtk/gtk.h int main (void) { GFile *file; GFileInfo *info; GIcon *mime_icon, *emblemed_icon, *direction_icon; GEmblem *direction_emblem; gtk_init (NULL, NULL);

Re: how to install GTK+3.2.0 correctly

2012-02-23 Thread Michael Torrie
On 02/22/2012 08:36 PM, wrote: Recently I install GTK+3.2.0 according the GTK+3.2.0 installation guide in ubuntu 11.04. When I finished the install and reboot the computer, I found that system interface has changed and file can't open by mouse. And I think the question is GTK 2.x and

panel_applet_settings_new not introspectable

2012-02-23 Thread Damián Nohales
Hello there, I'm working on an applet for GNOME 3, that is, for the fallback shell. I'm programming my applet in Python, but when I try to execute *settings_new* method, Python complains telling me that method not exists. Well... trying to research the problem, I open the GIR file for

Re:Re: how to install GTK+3.2.0 correctly

2012-02-23 Thread 周龙
I think the question maybe is that I install the GTK in a system location ,so my gnome is cannot work.Now I will try it again.Thank you! 在 2012-02-23 23:24:47,Michael Torrie torr...@gmail.com 写道: On 02/22/2012 08:36 PM, 周龙 wrote: Recently I install GTK+3.2.0 according the GTK+3.2.0 installation