3 #ifndef _LIBGNOMEUIMM_FONT_PICKER_H
4 #define _LIBGNOMEUIMM_FONT_PICKER_H
31 #include <gtkmm/button.h>
32 #include <libgnomeui/gnome-font-picker.h>
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
36 typedef struct _GnomeFontPicker GnomeFontPicker;
37 typedef struct _GnomeFontPickerClass GnomeFontPickerClass;
45 {
class FontPicker_Class; }
54 #ifndef GNOMEMM_DISABLE_DEPRECATED
60 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62 typedef FontPicker_Class CppClassType;
63 typedef GnomeFontPicker BaseObjectType;
64 typedef GnomeFontPickerClass BaseClassType;
69 #ifndef DOXYGEN_SHOULD_SKIP_THIS
72 friend class FontPicker_Class;
73 static CppClassType fontpicker_class_;
80 explicit FontPicker(
const Glib::ConstructParams& construct_params);
81 explicit FontPicker(GnomeFontPicker* castitem);
86 #ifndef DOXYGEN_SHOULD_SKIP_THIS
87 static GType get_type() G_GNUC_CONST;
90 static GType get_base_type() G_GNUC_CONST;
94 GnomeFontPicker*
gobj() {
return reinterpret_cast<GnomeFontPicker*
>(gobject_); }
97 const GnomeFontPicker*
gobj()
const {
return reinterpret_cast<GnomeFontPicker*
>(gobject_); }
102 #ifdef GLIBMM_VFUNCS_ENABLED
103 #endif //GLIBMM_VFUNCS_ENABLED
107 #ifdef GLIBMM_VFUNCS_ENABLED
108 #endif //GLIBMM_VFUNCS_ENABLED
111 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
112 virtual void on_font_set(
const Glib::ustring& font_name);
113 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
123 void set_title(
const Glib::ustring& title);
127 GnomeFontPickerMode
get_mode()
const;
129 void set_mode(GnomeFontPickerMode mode);
160 #ifdef GLIBMM_PROPERTIES_ENABLED
168 #endif //#GLIBMM_PROPERTIES_ENABLED
170 #ifdef GLIBMM_PROPERTIES_ENABLED
177 Glib::PropertyProxy_ReadOnly<Glib::ustring>
property_title()
const;
178 #endif //#GLIBMM_PROPERTIES_ENABLED
180 #ifdef GLIBMM_PROPERTIES_ENABLED
188 #endif //#GLIBMM_PROPERTIES_ENABLED
190 #ifdef GLIBMM_PROPERTIES_ENABLED
197 Glib::PropertyProxy_ReadOnly<GnomeFontPickerMode>
property_mode()
const;
198 #endif //#GLIBMM_PROPERTIES_ENABLED
200 #ifdef GLIBMM_PROPERTIES_ENABLED
208 #endif //#GLIBMM_PROPERTIES_ENABLED
210 #ifdef GLIBMM_PROPERTIES_ENABLED
218 #endif //#GLIBMM_PROPERTIES_ENABLED
220 #ifdef GLIBMM_PROPERTIES_ENABLED
228 #endif //#GLIBMM_PROPERTIES_ENABLED
230 #ifdef GLIBMM_PROPERTIES_ENABLED
238 #endif //#GLIBMM_PROPERTIES_ENABLED
240 #ifdef GLIBMM_PROPERTIES_ENABLED
248 #endif //#GLIBMM_PROPERTIES_ENABLED
250 #ifdef GLIBMM_PROPERTIES_ENABLED
258 #endif //#GLIBMM_PROPERTIES_ENABLED
260 #ifdef GLIBMM_PROPERTIES_ENABLED
268 #endif //#GLIBMM_PROPERTIES_ENABLED
270 #ifdef GLIBMM_PROPERTIES_ENABLED
278 #endif //#GLIBMM_PROPERTIES_ENABLED
280 #ifdef GLIBMM_PROPERTIES_ENABLED
288 #endif //#GLIBMM_PROPERTIES_ENABLED
290 #ifdef GLIBMM_PROPERTIES_ENABLED
298 #endif //#GLIBMM_PROPERTIES_ENABLED
303 #endif //GNOMEMM_DISABLE_DEPRECATED
Glib::ustring get_preview_text() const
void uw_set_widget(Gtk::Widget &widget)
const GnomeFontPicker * gobj() const
Provides access to the underlying C GtkObject.
Definition: font-picker.h:97
bool set_font_name(const Glib::ustring &fontname)
virtual void on_font_set(const Glib::ustring &font_name)
Glib::ustring get_title() const
Glib::PropertyProxy< Glib::ustring > property_preview_text()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
void set_title(const Glib::ustring &title)
Glib::PropertyProxy< Glib::ustring > property_font_name()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< int > property_label_font_size()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::ustring get_font_name() const
GnomeFontPickerMode get_mode() const
Glib::PropertyProxy< bool > property_use_font_in_label()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
void set_show_size(bool show_size=true)
Glib::PropertyProxy< GnomeFontPickerMode > property_mode()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
void set_mode(GnomeFontPickerMode mode)
Glib::SignalProxy1< void, const Glib::ustring & > signal_font_set()
Glib::PropertyProxy< bool > property_show_size()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
void set_preview_text(const Glib::ustring &text)
GnomeFontPicker * gobj()
Provides access to the underlying C GtkObject.
Definition: font-picker.h:94
void set_use_font_in_label(bool use_font_in_label, gint size)
Glib::PropertyProxy< Glib::ustring > property_title()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Definition: font-picker.h:57
Gtk::Widget * uw_get_widget()