#include "config.h"
#include <string.h>
#include "gtkimcontext.h"
+#include "gtkimcontextprivate.h"
#include "gtkprivate.h"
#include "gtktypebuiltins.h"
#include "gtkmarshalers.h"
break;
}
}
+
+void
+gtk_im_context_activate_osk (GtkIMContext *context)
+{
+ g_return_if_fail (GTK_IS_IM_CONTEXT (context));
+
+ if (GTK_IM_CONTEXT_GET_CLASS (context)->activate_osk)
+ GTK_IM_CONTEXT_GET_CLASS (context)->activate_osk (context);
+}
int *anchor_index);
/*< private >*/
+ void (* activate_osk) (GtkIMContext *context);
+
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
- void (*_gtk_reserved5) (void);
};
GDK_AVAILABLE_IN_ALL
--- /dev/null
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 2022 Red Hat Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __GTK_IM_CONTEXT_PRIVATE_H__
+#define __GTK_IM_CONTEXT_PRIVATE_H__
+
+#include "gtkimcontext.h"
+
+void gtk_im_context_activate_osk (GtkIMContext *context);
+
+#endif /* __GTK_IM_CONTEXT_PRIVATE_H__ */