GucharmapChartable

GucharmapChartable

Synopsis

                    GucharmapChartablePrivate;
                    GucharmapChartable;
GtkWidget *         gucharmap_chartable_new             (void);
void                gucharmap_chartable_set_font_desc   (GucharmapChartable *chartable,
                                                         PangoFontDescription *font_desc);
gunichar            gucharmap_chartable_get_active_character
                                                        (GucharmapChartable *chartable);
void                gucharmap_chartable_set_active_character
                                                        (GucharmapChartable *chartable,
                                                         gunichar uc);
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 *list);
GucharmapCodepointList * gucharmap_chartable_get_codepoint_list
                                                        (GucharmapChartable *chartable);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkDrawingArea
                           +----GucharmapChartable

Implemented Interfaces

GucharmapChartable implements AtkImplementorIface and GtkBuildable.

Properties

  "active-character"         guint                 : Read / Write
  "codepoint-list"           GucharmapCodepointList*  : Read / Write
  "font-desc"                PangoFontDescription*  : Read / Write
  "snap-power-2"             gboolean              : Read / Write
  "zoom-enabled"             gboolean              : Read / Write
  "zoom-showing"             gboolean              : Read

Signals

  "activate"                                       : Run Last / Action
  "copy-clipboard"                                 : Run Last / Action
  "move-cursor"                                    : Run Last / Action
  "paste-clipboard"                                : Run Last / Action
  "set-scroll-adjustments"                         : Run Last
  "status-message"                                 : Run First

Description

Details

GucharmapChartablePrivate

typedef struct _GucharmapChartablePrivate GucharmapChartablePrivate;


GucharmapChartable

typedef struct _GucharmapChartable GucharmapChartable;


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.

chartable :

a GucharmapChartable

font_desc :

a PangoFontDescription

gucharmap_chartable_get_active_character ()

gunichar            gucharmap_chartable_get_active_character
                                                        (GucharmapChartable *chartable);

Sets the codepoint list to show in the character table.

chartable :

a GucharmapChartable

Returns :


gucharmap_chartable_set_active_character ()

void                gucharmap_chartable_set_active_character
                                                        (GucharmapChartable *chartable,
                                                         gunichar uc);

chartable :

uc :


gucharmap_chartable_set_zoom_enabled ()

void                gucharmap_chartable_set_zoom_enabled
                                                        (GucharmapChartable *chartable,
                                                         gboolean enabled);

Enables or disables the zoom popup.

chartable :

a GucharmapChartable

enabled :

whether to enable zoom mode

gucharmap_chartable_get_zoom_enabled ()

gboolean            gucharmap_chartable_get_zoom_enabled
                                                        (GucharmapChartable *chartable);

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.

chartable :

a GucharmapChartable

snap :

whether to enable or disable snapping

gucharmap_chartable_set_codepoint_list ()

void                gucharmap_chartable_set_codepoint_list
                                                        (GucharmapChartable *chartable,
                                                         GucharmapCodepointList *list);

chartable :

list :


gucharmap_chartable_get_codepoint_list ()

GucharmapCodepointList * gucharmap_chartable_get_codepoint_list
                                                        (GucharmapChartable *chartable);

chartable :

a GucharmapChartable

Returns :

the current codepoint list

Property Details

The "active-character" property

  "active-character"         guint                 : Read / Write

Allowed values: <= 1114111

Default value: 0


The "codepoint-list" property

  "codepoint-list"           GucharmapCodepointList*  : Read / Write


The "font-desc" property

  "font-desc"                PangoFontDescription*  : Read / Write


The "snap-power-2" property

  "snap-power-2"             gboolean              : Read / Write

Default value: FALSE


The "zoom-enabled" property

  "zoom-enabled"             gboolean              : Read / Write

Default value: FALSE


The "zoom-showing" property

  "zoom-showing"             gboolean              : Read

Default value: FALSE

Signal Details

The "activate" signal

void                user_function                      (GucharmapChartable *gucharmapchartable,
                                                        gpointer            user_data)               : Run Last / Action

gucharmapchartable :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "copy-clipboard" signal

void                user_function                      (GucharmapChartable *gucharmapchartable,
                                                        gpointer            user_data)               : Run Last / Action

gucharmapchartable :

the object which received the signal.

user_data :

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)               : Run Last / Action

gucharmapchartable :

the object which received the signal.

arg1 :

arg2 :

user_data :

user data set when the signal handler was connected.

Returns :


The "paste-clipboard" signal

void                user_function                      (GucharmapChartable *gucharmapchartable,
                                                        gpointer            user_data)               : Run Last / Action

gucharmapchartable :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "set-scroll-adjustments" signal

void                user_function                      (GucharmapChartable *horizontal,
                                                        GtkAdjustment      *vertical,
                                                        GtkAdjustment      *arg2,
                                                        gpointer            user_data)       : Run Last

Set the scroll adjustments for the text view. Usually scrolled containers like GtkScrolledWindow will emit this signal to connect two instances of GtkScrollbar to the scroll directions of the GucharmapChartable.

horizontal :

the horizontal GtkAdjustment

vertical :

the vertical GtkAdjustment

user_data :

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

gucharmapchartable :

the object which received the signal.

arg1 :

user_data :

user data set when the signal handler was connected.