| gucharmap Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
Synopsis
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);
Object Hierarchy
GObject
+----GInitiallyUnowned
+----GtkWidget
+----GtkDrawingArea
+----GucharmapChartable
Implemented Interfaces
GucharmapChartable implements AtkImplementorIface, GtkBuildable and GtkScrollable.
Properties
"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
Signals
"activate" :Action"copy-clipboard" :Action"move-cursor" :Action"paste-clipboard" :Action"status-message" :Run First
Details
gucharmap_chartable_new ()
GtkWidget * gucharmap_chartable_new (void);
Returns : |
a new GucharmapChartable |
gucharmap_chartable_set_font_desc ()
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 |
gucharmap_chartable_set_font_fallback ()
void gucharmap_chartable_set_font_fallback (GucharmapChartable *chartable,gboolean enable_font_fallback);
|
a GucharmapChartable |
|
whether to enable font fallback |
Since 2.34
gucharmap_chartable_get_font_fallback ()
gboolean gucharmap_chartable_get_font_fallback
(GucharmapChartable *chartable);
|
a GucharmapChartable |
Returns : |
whether font fallback is enabled |
Since 2.34
gucharmap_chartable_get_active_character ()
gunichar gucharmap_chartable_get_active_character
(GucharmapChartable *chartable);
|
a GucharmapChartable |
Returns : |
the currently selected character |
gucharmap_chartable_set_active_character ()
void gucharmap_chartable_set_active_character (GucharmapChartable *chartable,gunichar wc);
Sets wc as the selected character.
|
a GucharmapChartable |
|
a unicode character (UTF-32) |
gucharmap_chartable_set_zoom_enabled ()
void gucharmap_chartable_set_zoom_enabled (GucharmapChartable *chartable,gboolean enabled);
Enables or disables the zoom popup.
|
a GucharmapChartable |
|
whether to enable zoom mode |
gucharmap_chartable_get_zoom_enabled ()
gboolean gucharmap_chartable_get_zoom_enabled
(GucharmapChartable *chartable);
|
a GucharmapChartable |
Returns : |
whether zooming is enabled |
gucharmap_chartable_set_snap_pow2 ()
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 |
gucharmap_chartable_set_codepoint_list ()
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 |
gucharmap_chartable_get_codepoint_list ()
GucharmapCodepointList * gucharmap_chartable_get_codepoint_list
(GucharmapChartable *chartable);
|
a GucharmapChartable |
Returns : |
the current codepoint list. [transfer none] |
Property Details
The "active-character" property
"active-character" guint : Read / Write
Allowed values: <= 1114111
Default value: 0
The "font-fallback" property
"font-fallback" gboolean : Read / Write
Whether font fallback is enabled.
Default value: TRUE
Since 2.34
Signal Details
The "activate" signal
void user_function (GucharmapChartable *gucharmapchartable,
gpointer user_data) : Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
The "copy-clipboard" signal
void user_function (GucharmapChartable *gucharmapchartable,
gpointer user_data) : Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
The "move-cursor" signal
gboolean user_function (GucharmapChartable *gucharmapchartable,
GtkMovementStep arg1,
gint arg2,
gpointer user_data) : Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
The "paste-clipboard" signal
void user_function (GucharmapChartable *gucharmapchartable,
gpointer user_data) : Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
The "status-message" signal
void user_function (GucharmapChartable *gucharmapchartable,
gchar *arg1,
gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
