JanaGtkCellRendererNote

JanaGtkCellRendererNote

Functions

GtkCellRenderer * jana_gtk_cell_renderer_note_new ()

Properties

gchar * author Read / Write
gchar * body Read / Write
GStrv categories Read / Write
GHashTable * category-color-hash Read / Write
GHashTable * category-icon-hash Read / Write
gint cell-width Read / Write
GObject * created Read / Write
gboolean draw-box Read / Write
GdkPixbuf * icon Read / Write
GtkJustification justify Read / Write
GObject * modified Read / Write
gchar * recipient Read / Write
gboolean show-author Read / Write
gboolean show-body Read / Write
gboolean show-created Read / Write
gboolean show-modified Read / Write
gboolean show-recipient Read / Write
gchar * style-hint Read / Write
gchar * uid Read / Write
guint xpad-inner Read / Write
guint ypad-inner Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkCellRenderer
                ╰── JanaGtkCellRendererNote

Description

Functions

jana_gtk_cell_renderer_note_new ()

GtkCellRenderer *
jana_gtk_cell_renderer_note_new (void);

Returns

Types and Values

JanaGtkCellRendererNote

typedef struct _JanaGtkCellRendererNote JanaGtkCellRendererNote;

Property Details

The “author” property

  “author”                   gchar *

The author of the represented note.

Flags: Read / Write

Default value: NULL


The “body” property

  “body”                     gchar *

The body of the represented note.

Flags: Read / Write

Default value: NULL


The “categories” property

  “categories”               GStrv

A list of category strings.

Flags: Read / Write


The “category-color-hash” property

  “category-color-hash”      GHashTable *

A mapping of category strings to GdkColors.

Flags: Read / Write


The “category-icon-hash” property

  “category-icon-hash”       GHashTable *

A mapping of category strings to GdkPixbufs.

Flags: Read / Write


The “cell-width” property

  “cell-width”               gint

Width the cell should try to size itself for.

Flags: Read / Write

Allowed values: >= -2147483647

Default value: -1


The “created” property

  “created”                  GObject *

The creation time of the represented note.

Flags: Read / Write


The “draw-box” property

  “draw-box”                 gboolean

Whether to draw a box surrounding the note.

Flags: Read / Write

Default value: FALSE


The “icon” property

  “icon”                     GdkPixbuf *

An icon to show alongside the note.

Flags: Read / Write


The “justify” property

  “justify”                  GtkJustification

The justification to use when laying out the note.

Flags: Read / Write

Default value: GTK_JUSTIFY_LEFT


The “modified” property

  “modified”                 GObject *

The last modification time of the represented note.

Flags: Read / Write


The “recipient” property

  “recipient”                gchar *

The recipient of the represented note.

Flags: Read / Write

Default value: NULL


The “show-author” property

  “show-author”              gboolean

Whether to show the author of the note.

Flags: Read / Write

Default value: TRUE


The “show-body” property

  “show-body”                gboolean

Whether to show the body of the note.

Flags: Read / Write

Default value: TRUE


The “show-created” property

  “show-created”             gboolean

Whether to show the creation time of the note.

Flags: Read / Write

Default value: TRUE


The “show-modified” property

  “show-modified”            gboolean

Whether to show the modification time of the note.

Flags: Read / Write

Default value: FALSE


The “show-recipient” property

  “show-recipient”           gboolean

Whether to show the recipient of the note.

Flags: Read / Write

Default value: FALSE


The “style-hint” property

  “style-hint”               gchar *

The style hint to use when drawing.

Flags: Read / Write

Default value: "button"


The “uid” property

  “uid”                      gchar *

The UID of the represented note.

Flags: Read / Write

Default value: NULL


The “xpad-inner” property

  “xpad-inner”               guint

Inner padding on the x-axis, in pixels.

Flags: Read / Write

Default value: 3


The “ypad-inner” property

  “ypad-inner”               guint

Inner padding on the y-axis, in pixels.

Flags: Read / Write

Default value: 3