* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
g_object_interface_install_property
(iface,
g_param_spec_boxed ("font-desc",
- P_("Font"),
+ P_("Font description"),
P_("Font description as a PangoFontDescription struct"),
PANGO_TYPE_FONT_DESCRIPTION,
GTK_PARAM_READWRITE));
GTK_PARAM_READWRITE));
/**
- * GtkFontChooserWidget::font-activated:
+ * GtkFontChooser::font-activated:
* @self: the object which received the signal
* @fontname: the font name
*
- * Emitted when a font is activated from the widget's list.
+ * Emitted when a font is activated.
* This usually happens when the user double clicks an item,
* or an item is selected and the user presses one of the keys
* Space, Shift+Space, Return or Enter.
* Gets the #PangoFontFamily representing the selected font family.
* Font families are a collection of font faces.
*
+ * If the selected font is not installed, returns %NULL.
+ *
* Return value: (transfer none): A #PangoFontFamily representing the
- * selected font family. The returned object is owned by @fontchooser
+ * selected font family, or %NULL. The returned object is owned by @fontchooser
* and must not be modified or freed.
*
* Since: 3.2
* Gets the #PangoFontFace representing the selected font group
* details (i.e. family, slant, weight, width, etc).
*
+ * If the selected font is not installed, returns %NULL.
+ *
* Return value: (transfer none): A #PangoFontFace representing the
- * selected font group details. The returned object is owned by
+ * selected font group details, or %NULL. The returned object is owned by
* @fontchooser and must not be modified or freed.
*
* Since: 3.2