libgnomeuimm  2.28.0
Public Member Functions | Protected Member Functions | Related Functions | List of all members
Gnome::UI::FontPicker Class Reference

#include <font-picker.h>

Inheritance diagram for Gnome::UI::FontPicker:

Public Member Functions

virtual ~FontPicker ()
 
GnomeFontPicker * gobj ()
 Provides access to the underlying C GtkObject. More...
 
const GnomeFontPicker * gobj () const
 Provides access to the underlying C GtkObject. More...
 
 FontPicker ()
 
void set_title (const Glib::ustring &title)
 
Glib::ustring get_title () const
 
GnomeFontPickerMode get_mode () const
 
void set_mode (GnomeFontPickerMode mode)
 
void set_use_font_in_label (bool use_font_in_label, gint size)
 
void set_show_size (bool show_size=true)
 
void uw_set_widget (Gtk::Widget &widget)
 
Gtk::Widget * uw_get_widget ()
 
const Gtk::Widget * uw_get_widget () const
 
Glib::ustring get_font_name () const
 
bool set_font_name (const Glib::ustring &fontname)
 
Glib::ustring get_preview_text () const
 
void set_preview_text (const Glib::ustring &text)
 
Glib::SignalProxy1< void, const Glib::ustring & > signal_font_set ()
 
Glib::PropertyProxy< Glib::ustring > property_title ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_title () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
Glib::PropertyProxy< GnomeFontPickerMode > property_mode ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
Glib::PropertyProxy_ReadOnly< GnomeFontPickerMode > property_mode () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
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. More...
 
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_font_name () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
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. More...
 
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_preview_text () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
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. More...
 
Glib::PropertyProxy_ReadOnly< bool > property_use_font_in_label () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
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. More...
 
Glib::PropertyProxy_ReadOnly< int > property_label_font_size () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
Glib::PropertyProxy< bool > property_show_size ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
Glib::PropertyProxy_ReadOnly< bool > property_show_size () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 

Protected Member Functions

virtual void on_font_set (const Glib::ustring &font_name)
 

Related Functions

(Note that these are not member functions.)

Gnome::UI::FontPickerwrap (GnomeFontPicker *object, bool take_copy=false)
 A Glib::wrap() method for this object. More...
 

Constructor & Destructor Documentation

◆ ~FontPicker()

virtual Gnome::UI::FontPicker::~FontPicker ( )
virtual

◆ FontPicker()

Gnome::UI::FontPicker::FontPicker ( )

Member Function Documentation

◆ get_font_name()

Glib::ustring Gnome::UI::FontPicker::get_font_name ( ) const

◆ get_mode()

GnomeFontPickerMode Gnome::UI::FontPicker::get_mode ( ) const

◆ get_preview_text()

Glib::ustring Gnome::UI::FontPicker::get_preview_text ( ) const

◆ get_title()

Glib::ustring Gnome::UI::FontPicker::get_title ( ) const

◆ gobj() [1/2]

GnomeFontPicker* Gnome::UI::FontPicker::gobj ( )
inline

Provides access to the underlying C GtkObject.

◆ gobj() [2/2]

const GnomeFontPicker* Gnome::UI::FontPicker::gobj ( ) const
inline

Provides access to the underlying C GtkObject.

◆ on_font_set()

virtual void Gnome::UI::FontPicker::on_font_set ( const Glib::ustring &  font_name)
protectedvirtual

◆ property_font_name() [1/2]

Glib::PropertyProxy<Glib::ustring> Gnome::UI::FontPicker::property_font_name ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ property_font_name() [2/2]

Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::UI::FontPicker::property_font_name ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ property_label_font_size() [1/2]

Glib::PropertyProxy<int> Gnome::UI::FontPicker::property_label_font_size ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ property_label_font_size() [2/2]

Glib::PropertyProxy_ReadOnly<int> Gnome::UI::FontPicker::property_label_font_size ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ property_mode() [1/2]

Glib::PropertyProxy<GnomeFontPickerMode> Gnome::UI::FontPicker::property_mode ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ property_mode() [2/2]

Glib::PropertyProxy_ReadOnly<GnomeFontPickerMode> Gnome::UI::FontPicker::property_mode ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ property_preview_text() [1/2]

Glib::PropertyProxy<Glib::ustring> Gnome::UI::FontPicker::property_preview_text ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ property_preview_text() [2/2]

Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::UI::FontPicker::property_preview_text ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ property_show_size() [1/2]

Glib::PropertyProxy<bool> Gnome::UI::FontPicker::property_show_size ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ property_show_size() [2/2]

Glib::PropertyProxy_ReadOnly<bool> Gnome::UI::FontPicker::property_show_size ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ property_title() [1/2]

Glib::PropertyProxy<Glib::ustring> Gnome::UI::FontPicker::property_title ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ property_title() [2/2]

Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::UI::FontPicker::property_title ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ property_use_font_in_label() [1/2]

Glib::PropertyProxy<bool> Gnome::UI::FontPicker::property_use_font_in_label ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ property_use_font_in_label() [2/2]

Glib::PropertyProxy_ReadOnly<bool> Gnome::UI::FontPicker::property_use_font_in_label ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

◆ set_font_name()

bool Gnome::UI::FontPicker::set_font_name ( const Glib::ustring &  fontname)

◆ set_mode()

void Gnome::UI::FontPicker::set_mode ( GnomeFontPickerMode  mode)

◆ set_preview_text()

void Gnome::UI::FontPicker::set_preview_text ( const Glib::ustring &  text)

◆ set_show_size()

void Gnome::UI::FontPicker::set_show_size ( bool  show_size = true)

◆ set_title()

void Gnome::UI::FontPicker::set_title ( const Glib::ustring &  title)

◆ set_use_font_in_label()

void Gnome::UI::FontPicker::set_use_font_in_label ( bool  use_font_in_label,
gint  size 
)

◆ signal_font_set()

Glib::SignalProxy1< void,const Glib::ustring& > Gnome::UI::FontPicker::signal_font_set ( )
Prototype:
void on_my_font_set(const Glib::ustring& font_name)

◆ uw_get_widget() [1/2]

Gtk::Widget* Gnome::UI::FontPicker::uw_get_widget ( )

◆ uw_get_widget() [2/2]

const Gtk::Widget* Gnome::UI::FontPicker::uw_get_widget ( ) const

◆ uw_set_widget()

void Gnome::UI::FontPicker::uw_set_widget ( Gtk::Widget &  widget)

Friends And Related Function Documentation

◆ wrap()

Gnome::UI::FontPicker * wrap ( GnomeFontPicker *  object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file: