forked from AuroraMiddleware/gtk
356df7f650
Thu Oct 23 21:55:10 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make this function take an index and a GtkToolItem. * tests/testtoolbar.c (main): Make "Show Arrow" default to true. Make one of the separators !draw and expand. Update for new highlight_drop_location() API. * gtk/gtktoolitem.[ch]: Remove "pack_end" property * gtk/gtktoolbar.h: Formatting fixes. * gtk/gtktoolbar.c: Remove "pack_end" child property. Allow separator tool items to expand. (logical_to_physical, physical_to_logical): Fix off-by-one errors (Fix #125472, Marco Pesenti Gritti) * gtk/gtkseparatortoolitem.[ch]: Add new "draw" property. (gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also return FALSE, not TRUE. (gtk_separator_too_item_{set|get}_property, (gtk_separator_tool_item_{set|get}_draw): new functions
187 lines
2.5 KiB
Plaintext
187 lines
2.5 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GtkFontButton
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
A button to launch a font selection dialog
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
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.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
#GtkFontSelectionDialog, #GtkColorButton.
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GtkFontButton ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_new_with_font ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@fontname:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_set_font_name ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@font_button:
|
|
@fontname:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_get_font_name ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@font_button:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_set_show_style ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@font_button:
|
|
@show_style:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_get_show_style ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@font_button:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_set_show_size ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@font_button:
|
|
@show_size:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_get_show_size ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@font_button:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_set_use_font ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@font_button:
|
|
@use_font:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_get_use_font ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@font_button:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_set_use_size ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@font_button:
|
|
@use_size:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_get_use_size ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@font_button:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_set_title ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@font_button:
|
|
@title:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_font_button_get_title ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@font_button:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### SIGNAL GtkFontButton::font-set ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@fontbutton: the object which received the signal.
|
|
|
|
<!-- ##### ARG GtkFontButton:font-name ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkFontButton:show-size ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkFontButton:show-style ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkFontButton:title ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkFontButton:use-font ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkFontButton:use-size ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|