Remmina - The GTK+ Remote Desktop Client  v1.4.34
Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, NX, XDMCP and SSH are supported.
remmina_pref_dialog.h
Go to the documentation of this file.
1 /*
2  * Remmina - The GTK+ Remote Desktop Client
3  * Copyright (C) 2009-2011 Vic Lee
4  * Copyright (C) 2017-2022 Antenore Gatta, Giovanni Panozzo
5  * Copyright (C) 2022-2023 Antenore Gatta, Giovanni Panozzo, Hiroyuki Tanaka
6  * Copyright (C) 2023-2024 Hiroyuki Tanaka, Sunil Bhat
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  * Boston, MA 02110-1301, USA.
22  *
23  * In addition, as a special exception, the copyright holders give
24  * permission to link the code of portions of this program with the
25  * OpenSSL library under certain conditions as described in each
26  * individual source file, and distribute linked combinations
27  * including the two.
28  * You must obey the GNU General Public License in all respects
29  * for all of the code used other than OpenSSL. * If you modify
30  * file(s) with this exception, you may extend this exception to your
31  * version of the file(s), but you are not obligated to do so. * If you
32  * do not wish to do so, delete this exception statement from your
33  * version. * If you delete this exception statement from all source
34  * files in the program, then also delete it here.
35  *
36  */
37 
38 #pragma once
39 #include <gtk/gtk.h>
40 
41 /*
42  * Remmina Preferences Dialog
43  */
44 
45 typedef struct _RemminaPrefDialogPriv {
46  GtkWidget *resolutions_list;
48 
49 typedef struct _RemminaPrefDialog {
50  GtkBuilder * builder;
51  GtkWidget * dialog;
52  GtkNotebook * notebook_preferences;
53 
63  GtkEntry * unlock_timeout;
67  GtkSwitch * switch_security_audit;
69  GtkSwitch * switch_disable_news;
70  GtkSwitch * switch_disable_stats;
71  GtkSwitch * switch_disable_tip;
72  GtkLabel * label_disable_news;
73  GtkLabel * label_disable_stats;
74  GtkLabel * label_disable_tip;
96  GtkEntry * entry_grab_color;
99 
103  GtkCheckButton * checkbutton_dark_theme;
105 
120 
122  GtkFontButton * fontbutton_terminal_font;
123  GtkSwitch * switch_terminal_bold;
125  GtkColorButton * colorbutton_foreground;
127  GtkColorButton * colorbutton_background;
129  GtkButton * button_keyboard_copy;
139  GtkColorButton * colorbutton_cursor;
141  GtkColorButton * colorbutton_highlight;
143  GtkColorButton * colorbutton_colorBD;
144  GtkColorButton * colorbutton_color0;
145  GtkColorButton * colorbutton_color1;
146  GtkColorButton * colorbutton_color2;
147  GtkColorButton * colorbutton_color3;
148  GtkColorButton * colorbutton_color4;
149  GtkColorButton * colorbutton_color5;
150  GtkColorButton * colorbutton_color6;
151  GtkColorButton * colorbutton_color7;
152  GtkColorButton * colorbutton_color8;
153  GtkColorButton * colorbutton_color9;
154  GtkColorButton * colorbutton_color10;
155  GtkColorButton * colorbutton_color11;
156  GtkColorButton * colorbutton_color12;
157  GtkColorButton * colorbutton_color13;
158  GtkColorButton * colorbutton_color14;
159  GtkColorButton * colorbutton_color15;
160  GtkFileChooser * button_term_cs;
161 
164 
165 enum {
169 };
170 
171 G_BEGIN_DECLS
172 
173 /* RemminaPrefDialog instance */
174 GtkWidget *remmina_pref_dialog_new(gint default_tab, GtkWindow *parent);
175 /* Get the current PrefDialog or NULL if not initialized */
176 GtkWidget *remmina_pref_dialog_get_dialog(void);
177 void remmina_prefdiag_unlock_repwd_on_changed(GtkEditable *editable, RemminaPrefDialog *dialog);
178 void remmina_pref_dialog_on_action_close(GSimpleAction *action, GVariant *param, gpointer data);
179 
180 G_END_DECLS
void remmina_prefdiag_unlock_repwd_on_changed(GtkEditable *editable, RemminaPrefDialog *dialog)
@ REMMINA_PREF_OPTIONS_TAB
@ REMMINA_PREF_APPLET_TAB
@ REMMINA_PREF_APPEARANCE
void remmina_pref_dialog_on_action_close(GSimpleAction *action, GVariant *param, gpointer data)
GtkWidget * remmina_pref_dialog_get_dialog(void)
struct _RemminaPrefDialogPriv RemminaPrefDialogPriv
G_BEGIN_DECLS GtkWidget * remmina_pref_dialog_new(gint default_tab, GtkWindow *parent)
struct _RemminaPrefDialog RemminaPrefDialog
GtkButton * button_keyboard_increase_font
GtkLabel * label_terminal_background
GtkNotebook * notebook_preferences
GtkButton * button_keyboard_minimize
GtkCheckButton * checkbutton_appearance_show_tabs
GtkButton * button_options_recent_items_clear
GtkLabel * label_terminal_cursor_color
GtkButton * button_keyboard_copy
GtkColorButton * colorbutton_color8
GtkButton * button_keyboard_search_text
GtkSwitch * switch_disable_news
GtkSwitch * switch_appearance_grab_color
GtkButton * button_keyboard_multimon
GtkCheckButton * checkbutton_options_save_settings
RemminaPrefDialogPriv * priv
GtkColorButton * colorbutton_color9
GtkSwitch * switch_security_lock_edit
GtkEntry * entry_options_ssh_tcp_keepintvl
GtkLabel * label_disable_stats
GtkColorButton * colorbutton_color3
GtkButton * button_keyboard_fullscreen
GtkLabel * label_terminal_foreground
GtkLabel * label_terminal_bold_color
GtkCheckButton * checkbutton_applet_start_in_tray
GtkButton * button_keyboard_clipboard
GtkSwitch * switch_disable_tip
GtkFileChooser * button_term_cs
GtkCheckButton * checkbutton_appearance_hide_searchbar
GtkSwitch * switch_security_use_primary_password
GtkColorButton * colorbutton_color11
GtkComboBox * comboboxtext_appearance_tab_interface
GtkColorButton * colorbutton_color14
GtkCheckButton * checkbutton_appearance_hide_toolbar
GtkColorButton * colorbutton_color5
GtkComboBox * comboboxtext_options_ssh_loglevel
GtkSwitch * switch_security_lock_connect
GtkEntry * entry_options_file_name
GtkComboBox * comboboxtext_options_scale_quality
GtkLabel * label_terminal_normal_colors
GtkSwitch * switch_terminal_bold
GtkColorButton * colorbutton_cursor
GtkEntry * entry_options_ssh_tcp_keepidle
GtkButton * button_keyboard_host_key
GtkButton * button_keyboard_screenshot
GtkEntry * entry_options_screenshot_name
GtkButton * button_options_resolutions
GtkCheckButton * checkbutton_appearance_show_notes
GtkEntry * entry_options_ssh_port
GtkSwitch * switch_security_lock_view_passwords
GtkEntry * entry_options_ssh_tcp_keepcnt
GtkColorButton * colorbutton_color13
GtkSwitch * switch_options_remember_last_view_mode
GtkButton * button_keyboard_decrease_font
GtkComboBox * comboboxtext_appearance_fullscreen_toolbar_visibility
GtkCheckButton * checkbutton_applet_new_connection_on_top
GtkSwitch * switch_disable_stats
GtkEntry * entry_options_recent_items
GtkComboBox * comboboxtext_options_double_click
GtkColorButton * colorbutton_color0
GtkColorButton * colorbutton_color1
GtkButton * button_keyboard_grab_keyboard
GtkColorButton * colorbutton_color6
GtkSwitch * switch_options_confirm_close
GtkComboBox * comboboxtext_appearance_view_mode
GtkColorButton * colorbutton_color2
GtkColorButton * colorbutton_foreground
GtkColorButton * colorbutton_color12
GtkColorButton * colorbutton_cursor_foreground
GtkButton * button_keyboard_switch_tab_left
GtkSwitch * switch_security_audit
GtkEntry * entry_options_ssh_tcp_usrtimeout
GtkButton * button_keyboard_auto_fit
GtkColorButton * colorbutton_color15
GtkCheckButton * checkbutton_applet_hide_totals
GtkButton * button_keyboard_toolbar
GtkColorButton * colorbutton_highlight
GtkCheckButton * checkbutton_options_ssh_parseconfig
GtkFileChooser * filechooserbutton_options_datadir_path
GtkEntry * entry_options_scroll
GtkSwitch * switch_terminal_font_system
GtkCheckButton * checkbutton_dark_theme
GtkLabel * label_terminal_bright_colors
GtkCheckButton * checkbutton_applet_disable_tray
GtkColorButton * colorbutton_colorBD
GtkComboBox * comboboxtext_security_enc_method
GtkCheckButton * checkbutton_appearance_fullscreen_on_auto
GtkSwitch * switch_options_deny_screenshot_clipboard
GtkColorButton * colorbutton_color10
GtkButton * button_keyboard_scaled
GtkColorButton * colorbutton_background
GtkColorButton * colorbutton_color7
GtkEntry * entry_scrollback_lines
GtkButton * button_keyboard_switch_tab_right
GtkButton * button_keyboard_disconnect
GtkFileChooser * filechooserbutton_options_screenshots_path
GtkButton * button_keyboard_paste
GtkColorButton * colorbutton_highlight_foreground
GtkButton * button_keyboard_viewonly
GtkFontButton * fontbutton_terminal_font
GtkSwitch * switch_security_trust_all
GtkColorButton * colorbutton_color4
GtkButton * button_keyboard_select_all