![]() |
![]() |
![]() |
GIMP Application Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct GimpTextOptions; void gimp_text_options_connect_text (GimpTextOptions *options
,GimpText *text
); GtkWidget * gimp_text_options_gui (GimpToolOptions *tool_options
); GtkWidget * gimp_text_options_editor_new (GtkWindow *parent
,Gimp *gimp
,GimpTextOptions *options
,GimpMenuFactory *menu_factory
,const gchar *title
,GimpText *text
,GimpTextBuffer *text_buffer
,gdouble xres
,gdouble yres
);
GObject +----GimpObject +----GimpViewable +----GimpContext +----GimpToolOptions +----GimpTextOptions
GimpTextOptions implements GimpConfigInterface and GimpRectangleOptionsInterface.
"antialias" gboolean : Read / Write / Construct "base-direction" GimpTextDirection : Read / Write / Construct "box-mode" GimpTextBoxMode : Read / Write / Construct "font-size" gdouble : Read / Write / Construct "font-size-unit" GimpUnit : Read / Write / Construct "font-view-size" gint : Read / Write / Construct "font-view-type" GimpViewType : Read / Write / Construct "highlight" gboolean : Read / Write / Construct "hint-style" GimpTextHintStyle : Read / Write / Construct "indent" gdouble : Read / Write / Construct "justify" GimpTextJustification : Read / Write / Construct "language" gchar* : Read / Write / Construct "letter-spacing" gdouble : Read / Write / Construct "line-spacing" gdouble : Read / Write / Construct "use-editor" gboolean : Read / Write / Construct
void gimp_text_options_connect_text (GimpTextOptions *options
,GimpText *text
);
GtkWidget * gimp_text_options_editor_new (GtkWindow *parent
,Gimp *gimp
,GimpTextOptions *options
,GimpMenuFactory *menu_factory
,const gchar *title
,GimpText *text
,GimpTextBuffer *text_buffer
,gdouble xres
,gdouble yres
);
"base-direction"
property"base-direction" GimpTextDirection : Read / Write / Construct
Default value: GIMP_TEXT_DIRECTION_LTR
"box-mode"
property"box-mode" GimpTextBoxMode : Read / Write / Construct
Whether text flows into rectangular shape or moves into a new line when you press Enter.
Default value: GIMP_TEXT_BOX_DYNAMIC
"font-size"
property"font-size" gdouble : Read / Write / Construct
Font size.
Allowed values: [0,8192]
Default value: 18
"font-size-unit"
property"font-size-unit" GimpUnit : Read / Write / Construct
Font size unit.
Allowed values: [0,65535]
Default value: 0
"font-view-size"
property"font-view-size" gint : Read / Write / Construct
Allowed values: [12,64]
Default value: 24
"font-view-type"
property"font-view-type" GimpViewType : Read / Write / Construct
Default value: GIMP_VIEW_TYPE_LIST
"hint-style"
property"hint-style" GimpTextHintStyle : Read / Write / Construct
Hinting alters the font outline to produce a crisp bitmap at small sizes.
Default value: GIMP_TEXT_HINT_STYLE_MEDIUM
"indent"
property"indent" gdouble : Read / Write / Construct
Indentation of the first line.
Allowed values: [-8192,8192]
Default value: 0
"justify"
property"justify" GimpTextJustification : Read / Write / Construct
Text alignment.
Default value: GIMP_TEXT_JUSTIFY_LEFT
"language"
property"language" gchar* : Read / Write / Construct
The text language may have an effect on the way the text is rendered.
Default value: "c"
"letter-spacing"
property"letter-spacing" gdouble : Read / Write / Construct
Adjust letter spacing.
Allowed values: [-8192,8192]
Default value: 0
"line-spacing"
property"line-spacing" gdouble : Read / Write / Construct
Adjust line spacing.
Allowed values: [-8192,8192]
Default value: 0
"use-editor"
property"use-editor" gboolean : Read / Write / Construct
Use an external editor window for text entry.
Default value: FALSE