API additions in GTK+



I'm going to have to squeeze a number of api additions into GTK+ (and
probably GLib) in the coming week, in order to meet the shortened 2.16
cycle.

The first of these just went in:

2009-01-13  Matthias Clasen  <mclasen redhat com>

        Bug 450716 – New API to change global IM

        Requested by Daniel Elstner.

        * gtk/gtk.symbols:
        * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_set_context_id):
        New function to set the context id on a GtkIMMulticontext.

        * gtk/gtkentry.c:
        * gtk/gtktextview.c: Add a ::im-module property that can be
        set to override the global setting for the im module to be used.


The effect on developers should be minimal; you probably want to know
about GtkEntry::im-module if you are using GTK+ on some small device
without a full
keyboard (to enable multitouch on your non-numerical entries).

For users, the visible change is that the input method context menu no
longer controls the application-wide input method setting, but
individual entries/text views. While this is some concern, we do
believe that users are better served with a desktop-wide input method
framework such as scim or ibus anyway (which is why these context
menus are hidden by
default).


Matthias


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]