![]() |
![]() |
![]() |
gucharmap Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
GucharmapChartablePrivate; struct GucharmapChartable; GtkWidget * gucharmap_chartable_new (void
); void gucharmap_chartable_set_font_desc (GucharmapChartable *chartable
,PangoFontDescription *font_desc
); void gucharmap_chartable_set_font_fallback (GucharmapChartable *chartable
,gboolean enable_font_fallback
); gboolean gucharmap_chartable_get_font_fallback (GucharmapChartable *chartable
); gunichar gucharmap_chartable_get_active_character (GucharmapChartable *chartable
); void gucharmap_chartable_set_active_character (GucharmapChartable *chartable
,gunichar wc
); void gucharmap_chartable_set_zoom_enabled (GucharmapChartable *chartable
,gboolean enabled
); gboolean gucharmap_chartable_get_zoom_enabled (GucharmapChartable *chartable
); void gucharmap_chartable_set_snap_pow2 (GucharmapChartable *chartable
,gboolean snap
); void gucharmap_chartable_set_codepoint_list (GucharmapChartable *chartable
,GucharmapCodepointList *codepoint_list
); GucharmapCodepointList * gucharmap_chartable_get_codepoint_list (GucharmapChartable *chartable
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkDrawingArea +----GucharmapChartable
GucharmapChartable implements AtkImplementorIface, GtkBuildable and GtkScrollable.
"active-character" guint : Read / Write "codepoint-list" GucharmapCodepointList* : Read / Write "font-desc" PangoFontDescription* : Read / Write "font-fallback" gboolean : Read / Write "snap-power-2" gboolean : Read / Write "zoom-enabled" gboolean : Read / Write "zoom-showing" gboolean : Read
"activate" :Action
"copy-clipboard" :Action
"move-cursor" :Action
"paste-clipboard" :Action
"status-message" :Run First
GtkWidget * gucharmap_chartable_new (void
);
Returns : |
a new GucharmapChartable |
void gucharmap_chartable_set_font_desc (GucharmapChartable *chartable
,PangoFontDescription *font_desc
);
Sets font_desc
as the font to use to display the character table.
|
a GucharmapChartable |
|
a PangoFontDescription |
void gucharmap_chartable_set_font_fallback (GucharmapChartable *chartable
,gboolean enable_font_fallback
);
|
a GucharmapChartable |
|
whether to enable font fallback |
Since 2.34
gboolean gucharmap_chartable_get_font_fallback
(GucharmapChartable *chartable
);
|
a GucharmapChartable |
Returns : |
whether font fallback is enabled |
Since 2.34
gunichar gucharmap_chartable_get_active_character
(GucharmapChartable *chartable
);
|
a GucharmapChartable |
Returns : |
the currently selected character |
void gucharmap_chartable_set_active_character (GucharmapChartable *chartable
,gunichar wc
);
Sets wc
as the selected character.
|
a GucharmapChartable |
|
a unicode character (UTF-32) |
void gucharmap_chartable_set_zoom_enabled (GucharmapChartable *chartable
,gboolean enabled
);
Enables or disables the zoom popup.
|
a GucharmapChartable |
|
whether to enable zoom mode |
gboolean gucharmap_chartable_get_zoom_enabled
(GucharmapChartable *chartable
);
|
a GucharmapChartable |
Returns : |
whether zooming is enabled |
void gucharmap_chartable_set_snap_pow2 (GucharmapChartable *chartable
,gboolean snap
);
Sets whether the number columns the character table shows should always be a power of 2.
|
a GucharmapChartable |
|
whether to enable or disable snapping |
void gucharmap_chartable_set_codepoint_list (GucharmapChartable *chartable
,GucharmapCodepointList *codepoint_list
);
Sets the codepoint list to show in the character table.
|
a GucharmapChartable |
|
a GucharmapCodepointList |
GucharmapCodepointList * gucharmap_chartable_get_codepoint_list
(GucharmapChartable *chartable
);
|
a GucharmapChartable |
Returns : |
the current codepoint list. [transfer none] |
"active-character"
property "active-character" guint : Read / Write
Allowed values: <= 1114111
Default value: 0
"font-fallback"
property "font-fallback" gboolean : Read / Write
Whether font fallback is enabled.
Default value: TRUE
Since 2.34
"activate"
signalvoid user_function (GucharmapChartable *gucharmapchartable,
gpointer user_data) : Action
"copy-clipboard"
signalvoid user_function (GucharmapChartable *gucharmapchartable,
gpointer user_data) : Action
"move-cursor"
signalgboolean user_function (GucharmapChartable *gucharmapchartable,
GtkMovementStep arg1,
gint arg2,
gpointer user_data) : Action
"paste-clipboard"
signalvoid user_function (GucharmapChartable *gucharmapchartable,
gpointer user_data) : Action
"status-message"
signalvoid user_function (GucharmapChartable *gucharmapchartable,
gchar *arg1,
gpointer user_data) : Run First