Remmina - The GTK+ Remote Desktop Client  v1.4.2
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-2020 Antenore Gatta, Giovanni Panozzo
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  *
21  * In addition, as a special exception, the copyright holders give
22  * permission to link the code of portions of this program with the
23  * OpenSSL library under certain conditions as described in each
24  * individual source file, and distribute linked combinations
25  * including the two.
26  * You must obey the GNU General Public License in all respects
27  * for all of the code used other than OpenSSL. * If you modify
28  * file(s) with this exception, you may extend this exception to your
29  * version of the file(s), but you are not obligated to do so. * If you
30  * do not wish to do so, delete this exception statement from your
31  * version. * If you delete this exception statement from all source
32  * files in the program, then also delete it here.
33  *
34  */
35 
36 #pragma once
37 
38 /*
39  * Remmina Preferences Dialog
40  */
41 
42 typedef struct _RemminaPrefDialogPriv {
43  GtkWidget *resolutions_list;
45 
46 typedef struct _RemminaPrefDialog {
47  GtkBuilder * builder;
48  GtkDialog * dialog;
49  GtkNotebook * notebook_preferences;
50 
58  GtkEntry * unlock_timeout;
59  GtkEntry * unlock_password;
60  GtkEntry * unlock_repassword;
83 
89 
102 
104  GtkFontButton * fontbutton_terminal_font;
105  GtkSwitch * switch_terminal_bold;
107  GtkColorButton * colorbutton_foreground;
109  GtkColorButton * colorbutton_background;
111  GtkButton * button_keyboard_copy;
117  GtkColorButton * colorbutton_cursor;
118  GtkColorButton * colorbutton_color0;
119  GtkColorButton * colorbutton_color1;
120  GtkColorButton * colorbutton_color2;
121  GtkColorButton * colorbutton_color3;
122  GtkColorButton * colorbutton_color4;
123  GtkColorButton * colorbutton_color5;
124  GtkColorButton * colorbutton_color6;
125  GtkColorButton * colorbutton_color7;
126  GtkColorButton * colorbutton_color8;
127  GtkColorButton * colorbutton_color9;
128  GtkColorButton * colorbutton_color10;
129  GtkColorButton * colorbutton_color11;
130  GtkColorButton * colorbutton_color12;
131  GtkColorButton * colorbutton_color13;
132  GtkColorButton * colorbutton_color14;
133  GtkColorButton * colorbutton_color15;
134  GtkFileChooser * button_term_cs;
135 
138 
139 enum {
143 };
144 
145 G_BEGIN_DECLS
146 
147 /* RemminaPrefDialog instance */
148 GtkDialog *remmina_pref_dialog_new(gint default_tab, GtkWindow *parent);
149 /* Get the current PrefDialog or NULL if not initialized */
150 GtkDialog *remmina_pref_dialog_get_dialog(void);
151 void remmina_prefdiag_unlock_repwd_on_changed(GtkEditable *editable, RemminaPrefDialog *dialog);
152 
153 G_END_DECLS
GtkButton * button_keyboard_select_all
GtkColorButton * colorbutton_color2
GtkColorButton * colorbutton_color14
struct _RemminaPrefDialog RemminaPrefDialog
GtkButton * button_keyboard_grab_keyboard
GtkComboBox * comboboxtext_appearance_fullscreen_toolbar_visibility
GtkButton * button_keyboard_paste
GtkButton * button_options_recent_items_clear
GtkEntry * entry_options_screenshot_name
GtkEntry * entry_options_file_name
GtkCheckButton * checkbutton_appearance_fullscreen_on_auto
GtkLabel * label_terminal_foreground
GtkButton * button_keyboard_fullscreen
GtkCheckButton * checkbutton_options_save_settings
GtkButton * button_keyboard_toolbar
GtkButton * button_keyboard_disconnect
GtkEntry * entry_options_recent_items
GtkEntry * entry_options_ssh_tcp_usrtimeout
struct _RemminaPrefDialogPriv RemminaPrefDialogPriv
GtkSwitch * switch_terminal_bold
GtkColorButton * colorbutton_color6
GtkLabel * label_terminal_normal_colors
GtkSwitch * switch_options_remember_last_view_mode
GtkFontButton * fontbutton_terminal_font
GtkColorButton * colorbutton_color3
GtkColorButton * colorbutton_color15
GtkDialog * remmina_pref_dialog_get_dialog(void)
GtkCheckButton * checkbutton_appearance_hide_searchbar
GtkCheckButton * checkbutton_appearance_hide_toolbar
GtkButton * button_keyboard_copy
GtkEntry * entry_options_ssh_tcp_keepintvl
GtkEntry * entry_options_ssh_port
GtkFileChooser * filechooserbutton_options_screenshots_path
GtkEntry * entry_options_ssh_tcp_keepidle
GtkEntry * entry_scrollback_lines
GtkColorButton * colorbutton_color4
GtkButton * button_keyboard_screenshot
GtkButton * button_keyboard_viewonly
GtkCheckButton * checkbutton_applet_new_connection_on_top
GtkSwitch * switch_terminal_font_system
GtkColorButton * colorbutton_color13
GtkColorButton * colorbutton_color5
GtkEntry * entry_options_ssh_tcp_keepcnt
GtkNotebook * notebook_preferences
GtkButton * button_keyboard_switch_tab_left
GtkCheckButton * checkbutton_applet_start_in_tray
GtkButton * button_keyboard_auto_fit
GtkLabel * label_terminal_background
GtkFileChooser * button_term_cs
GtkCheckButton * checkbutton_applet_light_tray
GtkColorButton * colorbutton_color0
GtkComboBox * comboboxtext_options_scale_quality
GtkEntry * entry_options_scroll
GtkCheckButton * checkbutton_appearance_show_tabs
GtkColorButton * colorbutton_foreground
GtkColorButton * colorbutton_color11
GtkButton * button_keyboard_host_key
GtkComboBox * comboboxtext_appearance_tab_interface
GtkCheckButton * checkbutton_applet_disable_tray
GtkComboBox * comboboxtext_options_ssh_loglevel
GtkLabel * label_terminal_cursor_color
GtkButton * button_options_resolutions
void remmina_prefdiag_unlock_repwd_on_changed(GtkEditable *editable, RemminaPrefDialog *dialog)
GtkComboBox * comboboxtext_options_double_click
GtkButton * button_keyboard_minimize
GtkCheckButton * checkbutton_options_ssh_parseconfig
GtkSwitch * switch_options_deny_screenshot_clipboard
GtkCheckButton * checkbutton_applet_hide_totals
GtkColorButton * colorbutton_color10
GtkButton * button_keyboard_switch_tab_right
GtkComboBox * comboboxtext_appearance_view_mode
GtkButton * button_keyboard_scaled
GtkColorButton * colorbutton_color8
GtkSwitch * switch_permit_send_stats
GtkColorButton * colorbutton_background
GtkSwitch * switch_security_use_master_password
GtkColorButton * colorbutton_cursor
GtkColorButton * colorbutton_color7
RemminaPrefDialogPriv * priv
G_BEGIN_DECLS GtkDialog * remmina_pref_dialog_new(gint default_tab, GtkWindow *parent)
GtkColorButton * colorbutton_color9
GtkLabel * label_terminal_bright_colors
GtkColorButton * colorbutton_color12
GtkFileChooser * filechooserbutton_options_datadir_path
GtkColorButton * colorbutton_color1