Top |
Functions to create GUI elements that are useful for a preferences dialog or panel. In order to configure a text editor.
GtkWidget * tepl_prefs_create_font_component (GSettings *settings
,const gchar *use_default_font_key
,const gchar *editor_font_key
);
settings |
a GSettings. |
|
use_default_font_key |
a key part of |
|
editor_font_key |
a key part of |
Since: 6.2
GtkWidget * tepl_prefs_create_display_line_numbers_checkbutton (GSettings *settings
,const gchar *display_line_numbers_key
);
settings |
a GSettings. |
|
display_line_numbers_key |
a key part of |
Since: 6.2
GtkWidget * tepl_prefs_create_tab_width_spinbutton (GSettings *settings
,const gchar *tab_width_key
);
settings |
a GSettings. |
|
tab_width_key |
a key part of |
Since: 6.2
GtkWidget * tepl_prefs_create_insert_spaces_component (GSettings *settings
,const gchar *insert_spaces_key
,const gchar *smart_backspace_key
);
settings |
a GSettings. |
|
insert_spaces_key |
a key part of |
|
smart_backspace_key |
a key part of |
a component intended for “insert-spaces-instead-of-tabs” and “smart-backspace”.
[transfer floating]
Since: 6.2
GtkWidget * tepl_prefs_create_highlighting_component (GSettings *settings
,const gchar *highlight_current_line_key
,const gchar *highlight_matching_brackets_key
);
settings |
a GSettings. |
|
highlight_current_line_key |
a key part of |
|
highlight_matching_brackets_key |
a key part of |
a component intended for “highlight-current-line” and “highlight-matching-brackets”.
[transfer floating]
Since: 6.2
GtkWidget * tepl_prefs_create_files_component (GSettings *settings
,const gchar *create_backup_copy_key
,const gchar *auto_save_key
,const gchar *auto_save_interval
);
settings |
a GSettings. |
|
create_backup_copy_key |
a key part of |
|
auto_save_key |
a key part of |
|
auto_save_interval |
a key part of |
Since: 6.2
GtkWidget * tepl_prefs_create_theme_variant_combo_box (GSettings *settings
,const gchar *theme_variant_key
);
settings |
a GSettings. |
|
theme_variant_key |
a key part of |
A widget containing a GtkComboBoxText intended to choose a TeplSettingsThemeVariant.
[transfer floating]
Since: 6.10
GtkWidget * tepl_prefs_create_right_margin_component (GSettings *settings
,const gchar *display_right_margin_key
,const gchar *right_margin_position_key
);
settings |
a GSettings. |
|
display_right_margin_key |
a key part of |
|
right_margin_position_key |
a key part of |
a component intended for “show-right-margin” and “right-margin-position”.
[transfer floating]
Since: 6.10
GtkWidget * tepl_prefs_create_display_statusbar_checkbutton (GSettings *settings
,const gchar *display_statusbar_key
);
settings |
a GSettings. |
|
display_statusbar_key |
a key part of |
A GtkCheckButton intended for configuring the visibility of a GtkStatusbar.
[transfer floating]
Since: 6.10
GtkWidget * tepl_prefs_create_display_grid_checkbutton (GSettings *settings
,const gchar *background_pattern_key
);
settings |
a GSettings. |
|
background_pattern_key |
a key part of |
Since: 6.10