1234567891011121314151617181920 |
- /*
- * Miscellaneous helper functions for GTK.
- */
- #ifndef PUTTY_GTKMISC_H
- #define PUTTY_GTKMISC_H
- int string_width(const char *text);
- void get_label_text_dimensions(const char *text, int *width, int *height);
- void align_label_left(GtkLabel *label);
- GtkWidget *our_dialog_new(void);
- void our_dialog_add_to_content_area(GtkWindow *dlg, GtkWidget *w,
- bool expand, bool fill, guint padding);
- void our_dialog_set_action_area(GtkWindow *dlg, GtkWidget *w);
- GtkBox *our_dialog_make_action_hbox(GtkWindow *dlg);
- #endif /* PUTTY_GTKMISC_H */
|