GucharmapCharmap

GucharmapCharmap

Synopsis

                    GucharmapCharmapPrivate;
struct              GucharmapCharmap;
GtkWidget *         gucharmap_charmap_new               (void);
void                gucharmap_charmap_set_active_character
                                                        (GucharmapCharmap *charmap,
                                                         gunichar uc);
gunichar            gucharmap_charmap_get_active_character
                                                        (GucharmapCharmap *charmap);
void                gucharmap_charmap_set_active_chapter
                                                        (GucharmapCharmap *charmap,
                                                         const gchar *chapter);
char *              gucharmap_charmap_get_active_chapter
                                                        (GucharmapCharmap *charmap);
void                gucharmap_charmap_set_font_desc     (GucharmapCharmap *charmap,
                                                         PangoFontDescription *font_desc);
void                gucharmap_charmap_set_font_fallback (GucharmapCharmap *charmap,
                                                         gboolean enable_font_fallback);
gboolean            gucharmap_charmap_get_font_fallback (GucharmapCharmap *charmap);
GucharmapChartable * gucharmap_charmap_get_chartable    (GucharmapCharmap *charmap);
GucharmapChaptersView * gucharmap_charmap_get_chapters_view
                                                        (GucharmapCharmap *charmap);
void                gucharmap_charmap_set_chapters_model
                                                        (GucharmapCharmap *charmap,
                                                         GucharmapChaptersModel *model);
GucharmapChaptersModel * gucharmap_charmap_get_chapters_model
                                                        (GucharmapCharmap *charmap);
GucharmapCodepointList * gucharmap_charmap_get_book_codepoint_list
                                                        (GucharmapCharmap *charmap);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkPaned
                           +----GucharmapCharmap

Implemented Interfaces

GucharmapCharmap implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Properties

  "active-chapter"           gchar*                : Read / Write
  "active-character"         guint                 : Read / Write
  "active-codepoint-list"    GucharmapCodepointList*  : Read
  "active-page"              guint                 : Read / Write
  "chapters-model"           GucharmapChaptersModel*  : Write / Construct
  "font-desc"                PangoFontDescription*  : Read / Write
  "font-fallback"            gboolean              : Read / Write
  "snap-power-2"             gboolean              : Read / Write

Signals

  "link-clicked"                                   : Run First
  "status-message"                                 : Run First

Description

Details

GucharmapCharmapPrivate

typedef struct _GucharmapCharmapPrivate GucharmapCharmapPrivate;

struct GucharmapCharmap

struct GucharmapCharmap;

gucharmap_charmap_new ()

GtkWidget *         gucharmap_charmap_new               (void);

gucharmap_charmap_set_active_character ()

void                gucharmap_charmap_set_active_character
                                                        (GucharmapCharmap *charmap,
                                                         gunichar uc);

gucharmap_charmap_get_active_character ()

gunichar            gucharmap_charmap_get_active_character
                                                        (GucharmapCharmap *charmap);

gucharmap_charmap_set_active_chapter ()

void                gucharmap_charmap_set_active_chapter
                                                        (GucharmapCharmap *charmap,
                                                         const gchar *chapter);

gucharmap_charmap_get_active_chapter ()

char *              gucharmap_charmap_get_active_chapter
                                                        (GucharmapCharmap *charmap);

gucharmap_charmap_set_font_desc ()

void                gucharmap_charmap_set_font_desc     (GucharmapCharmap *charmap,
                                                         PangoFontDescription *font_desc);

Sets font_desc as the font to use to display the character table.

font_desc :

a PangoFontDescription

gucharmap_charmap_set_font_fallback ()

void                gucharmap_charmap_set_font_fallback (GucharmapCharmap *charmap,
                                                         gboolean enable_font_fallback);

charmap :

a GucharmapCharmap

enable_font_fallback :

whether to enable font fallback

Since 2.34


gucharmap_charmap_get_font_fallback ()

gboolean            gucharmap_charmap_get_font_fallback (GucharmapCharmap *charmap);

charmap :

a GucharmapCharmap

Returns :

whether font fallback is enabled

Since 2.34


gucharmap_charmap_get_chartable ()

GucharmapChartable * gucharmap_charmap_get_chartable    (GucharmapCharmap *charmap);

charmap :

a GucharmapCharmap

Returns :

a GucharmapChartable. [transfer none]

gucharmap_charmap_get_chapters_view ()

GucharmapChaptersView * gucharmap_charmap_get_chapters_view
                                                        (GucharmapCharmap *charmap);

Gets the GucharmapChaptersView of charmap

charmap :

a GucharmapCharmap

Returns :

the GucharmapChaptersView. [transfer none]

gucharmap_charmap_set_chapters_model ()

void                gucharmap_charmap_set_chapters_model
                                                        (GucharmapCharmap *charmap,
                                                         GucharmapChaptersModel *model);

gucharmap_charmap_get_chapters_model ()

GucharmapChaptersModel * gucharmap_charmap_get_chapters_model
                                                        (GucharmapCharmap *charmap);

Gets the GucharmapChaptersModel associated with the GucharmapChaptersView of charmap.


gucharmap_charmap_get_book_codepoint_list ()

GucharmapCodepointList * gucharmap_charmap_get_book_codepoint_list
                                                        (GucharmapCharmap *charmap);

charmap :

a GucharmapCharmap

Returns :

the GucharmapCodepointList. Must be freed with g_object_unref(). [transfer full]

Property Details

The "active-chapter" property

  "active-chapter"           gchar*                : Read / Write

Default value: NULL


The "active-character" property

  "active-character"         guint                 : Read / Write

Allowed values: <= 1114111

Default value: 0


The "active-codepoint-list" property

  "active-codepoint-list"    GucharmapCodepointList*  : Read


The "active-page" property

  "active-page"              guint                 : Read / Write

Default value: 0


The "chapters-model" property

  "chapters-model"           GucharmapChaptersModel*  : Write / Construct


The "font-desc" property

  "font-desc"                PangoFontDescription*  : Read / Write


The "font-fallback" property

  "font-fallback"            gboolean              : Read / Write

Whether font fallback is enabled.

Default value: TRUE

Since 2.34


The "snap-power-2" property

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

Default value: FALSE

Signal Details

The "link-clicked" signal

void                user_function                      (GucharmapCharmap *gucharmapcharmap,
                                                        guint             arg1,
                                                        guint             arg2,
                                                        gpointer          user_data)             : Run First

The "status-message" signal

void                user_function                      (GucharmapCharmap *gucharmapcharmap,
                                                        gchar            *arg1,
                                                        gpointer          user_data)             : Run First