TeplPrefs

TeplPrefs — Preferences widgets to configure a text editor

Functions

Includes

#include <tepl/tepl.h>

Description

Functions to create GUI elements that are useful for a preferences dialog or panel. In order to configure a text editor.

Functions

tepl_prefs_create_font_component ()

GtkWidget *
tepl_prefs_create_font_component (GSettings *settings,
                                  const gchar *use_default_font_key,
                                  const gchar *editor_font_key);

Parameters

settings

a GSettings.

 

use_default_font_key

a key part of settings to store whether to use the system font. The type of the key must be a boolean.

 

editor_font_key

a key part of settings to store the editor font. The type of the key must be a string.

 

Returns

A component for configuring the font.

[transfer floating]

Since: 6.2