GtkFontButton {RGtk2}R Documentation

GtkFontButton

Description

A button to launch a font selection dialog

Methods and Functions

gtkFontButtonNew(show = TRUE)
gtkFontButtonNewWithFont(fontname)
gtkFontButtonSetFontName(object, fontname)
gtkFontButtonGetFontName(object)
gtkFontButtonSetShowStyle(object, show.style)
gtkFontButtonGetShowStyle(object)
gtkFontButtonSetShowSize(object, show.size)
gtkFontButtonGetShowSize(object)
gtkFontButtonSetUseFont(object, use.font)
gtkFontButtonGetUseFont(object)
gtkFontButtonSetUseSize(object, use.size)
gtkFontButtonGetUseSize(object)
gtkFontButtonSetTitle(object, title)
gtkFontButtonGetTitle(object)
gtkFontButton(show = TRUE)

Hierarchy

GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkButton
                                       +----GtkFontButton

Interfaces

GtkFontButton implements AtkImplementorIface, GtkBuildable and GtkActivatable.

Detailed Description

The GtkFontButton is a button which displays the currently selected font an allows to open a font selection dialog to change the font. It is suitable widget for selecting a font in a preference dialog.

Structures

GtkFontButton

The GtkFontButton struct has only private members and should not be used directly.

Convenient Construction

gtkFontButton is the equivalent of gtkFontButtonNew.

Signals

font-set(widget, user.data)

The ::font-set signal is emitted when the user selects a font. When handling this signal, use gtkFontButtonGetFontName to find out which font was just selected.

Note that this signal is only emitted when the user changes the font. If you need to react to programmatic font changes as well, use the notify::font-name signal. Since 2.4

widget

the object which received the signal.

user.data

user data set when the signal handler was connected.

Properties

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://library.gnome.org/devel//gtk/GtkFontButton.html

See Also

GtkFontSelectionDialog GtkColorButton


[Package RGtk2 version 2.20.21 Index]