Constructor

GimpUiFontSelectButtonnew

Declaration [src]

GtkWidget*
gimp_font_select_button_new (
  const gchar* title,
  GimpResource* resource
)

Description [src]

Creates a new GtkWidget that lets a user choose a font. You can put this widget in a plug-in dialog.

When font is NULL, initial choice is from context.

Available since:2.4

Parameters

title const gchar*
 

Title of the dialog to use or NULL to use the default title.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
resource GimpResource
 

Initial font.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: GtkWidget
 

A GtkWidget that you can use in your UI.

 The data is owned by the called function.