Some updates

2000-10-18  Havoc Pennington  <hp@redhat.com>

	* gtk/gtk-sections.txt: Some updates

	* gdk/gdk-sections.txt: remove GdkPixbufAlphaMode

	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add new API, remove
	GdkPixbufClass/GdkAnimationClass since those are private

	* gdk-pixbuf/Makefile.am (IGNORE_HFILES): ignore more headers

2000-10-18  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextiter.c (gtk_text_iter_forward_to_newline): Fix a bug
	where any number of empty lines would get skipped

	* gtk/gtktextiter.h: Remove padding from GtkTextIter; live on the
	edge.

	* gtk/gtktextiter.c (gtk_text_iter_make_surreal): enhance the
	warning about invalid iterators (explain more thoroughly)
	(gtk_text_iter_in_region): rename gtk_text_iter_in_range

	* gtk/gtktextview.c (FOCUS_EDGE_WIDTH): Make focus rectangle less
	big

	* demos/*.c: Add error handling

	* gtk/gtktextbuffer.c: don't modify const iterators

	* gtk/gdk-pixbuf-loader.c: Add full error handling here

	* gtk/gtkimage.c (gtk_image_set_from_file): ignore errors
	on file load

	* gtk/gtkiconfactory.c: Update to reflect addition of error
	handling to gdk-pixbuf loaders

2000-10-16  Havoc Pennington  <hp@redhat.com>

	* gdk-pixbuf-io.c (gdk_pixbuf_get_module)
	(gdk_pixbuf_get_named_module) (gdk_pixbuf_load_module):
	add error reporting here also

	* make-inline-pixbuf.c (main): use GError

	* io-xpm.c: include unistd.h

	* gdk-pixbuf-util.c: include string.h

	* io-*.c: add error reporting

	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file): add
	error reporting

	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file): Add error reporting

	* gdk-pixbuf-io.h: Add GError** to load_increment and load
	methods

	* gdk-pixbuf-io.c (gdk_pixbuf_save) (gdk_pixbuf_savev): return
	a G_FILE_ERROR if we fail to write or close the file.

	* gdk-pixbuf.h: remove GDK_PIXBUF_ERROR_IO, instead we'll use
	G_FILE_ERROR_*. Rename enum to GdkPixbufError, properly following
	the GError naming rules. Add GError** to load functions.
This commit is contained in:
Havoc Pennington
2000-10-18 18:42:54 +00:00
committed by Havoc Pennington
parent 7420908815
commit 7a4c689387
67 changed files with 2160 additions and 1656 deletions

View File

@ -1,3 +1,14 @@
2000-10-18 Havoc Pennington <hp@redhat.com>
* gtk/gtk-sections.txt: Some updates
* gdk/gdk-sections.txt: remove GdkPixbufAlphaMode
* gdk-pixbuf/gdk-pixbuf-sections.txt: Add new API, remove
GdkPixbufClass/GdkAnimationClass since those are private
* gdk-pixbuf/Makefile.am (IGNORE_HFILES): ignore more headers
2000-10-06 Havoc Pennington <hp@redhat.com>
* gdk-pixbuf/*.sgml, gdk-pixbuf/tmpl/*.sgml: copy in from 1.0

View File

@ -14,7 +14,7 @@ SECOND_DOC_SOURCE_DIR=$(top_srcdir)/contrib/gdk-pixbuf-xlib
FIXXREF_OPTIONS=
# Header files to ignore when scanning
IGNORE_HFILES=pixops.h pixops-internal.h gdk-pixbuf-xlib-private.h
IGNORE_HFILES=pixops.h pixops-internal.h gdk-pixbuf-xlib-private.h gdk-pixbuf-i18n.h gdk-pixbuf-private.h
# Extra files to add when scanning
EXTRA_HFILES= \

View File

@ -17,9 +17,11 @@ GDK_PIXBUF_MICRO
<SECTION>
<FILE>gdk-pixbuf</FILE>
GdkPixbufError
GDK_PIXBUF_ERROR
GdkColorspace
GdkPixbufAlphaMode
GdkPixbuf
GdkPixbufClass
gdk_pixbuf_get_colorspace
gdk_pixbuf_get_n_channels
gdk_pixbuf_get_has_alpha
@ -33,12 +35,10 @@ gdk_pixbuf_get_rowstride
GDK_PIXBUF
GDK_TYPE_PIXBUF
GDK_IS_PIXBUF
GDK_IS_PIXBUF_CLASS
GDK_PIXBUF_CLASS
GDK_PIXBUF_GET_CLASS
<SUBSECTION Private>
gdk_pixbuf_get_type
gdk_pixbuf_error_quark
</SECTION>
<SECTION>
@ -53,11 +53,18 @@ gdk_pixbuf_unref
gdk_pixbuf_new_from_file
</SECTION>
<SECTION>
<FILE>file-saving</FILE>
gdk_pixbuf_savev
gdk_pixbuf_save
</SECTION>
<SECTION>
<FILE>creating</FILE>
gdk_pixbuf_new
gdk_pixbuf_new_from_data
gdk_pixbuf_new_from_xpm_data
gdk_pixbuf_new_from_inline
gdk_pixbuf_copy
</SECTION>
@ -65,6 +72,7 @@ gdk_pixbuf_copy
<FILE>util</FILE>
gdk_pixbuf_add_alpha
gdk_pixbuf_copy_area
gdk_pixbuf_saturate_and_pixelate
</SECTION>
<SECTION>
@ -72,7 +80,6 @@ gdk_pixbuf_copy_area
GdkPixbufFrameAction
GdkPixbufFrame
GdkPixbufAnimation
GdkPixbufAnimationClass
gdk_pixbuf_animation_new_from_file
gdk_pixbuf_animation_ref
gdk_pixbuf_animation_unref
@ -88,10 +95,7 @@ gdk_pixbuf_frame_get_x_offset
<SUBSECTION Standard>
GDK_PIXBUF_ANIMATION
GDK_PIXBUF_ANIMATION_CLASS
GDK_TYPE_PIXBUF_ANIMATION
GDK_PIXBUF_ANIMATION_GET_CLASS
GDK_IS_PIXBUF_ANIMATION_CLASS
GDK_IS_PIXBUF_ANIMATION
<SUBSECTION Private>

View File

@ -41,11 +41,6 @@ frame.
action.
</para>
@pixbuf:
@x_offset:
@y_offset:
@delay_time:
@action:
<!-- ##### STRUCT GdkPixbufAnimation ##### -->
<para>
@ -53,17 +48,6 @@ frame.
list of #GdkPixbufFrame structures.
</para>
@parent_instance:
@n_frames:
@frames:
@width:
@height:
<!-- ##### STRUCT GdkPixbufAnimationClass ##### -->
<para>
</para>
<!-- ##### FUNCTION gdk_pixbuf_animation_new_from_file ##### -->
<para>
@ -71,6 +55,7 @@ frame.
</para>
@filename:
@error:
@Returns:

View File

@ -82,6 +82,18 @@ Creating a pixbuf from image data that is already in memory.
@Returns:
<!-- ##### FUNCTION gdk_pixbuf_new_from_inline ##### -->
<para>
</para>
@inline_pixbuf:
@copy_pixels:
@length:
@error:
@Returns:
<!-- ##### FUNCTION gdk_pixbuf_copy ##### -->
<para>

View File

@ -31,6 +31,7 @@ Loading a pixbuf from a file.
</para>
@filename:
@error:
@Returns: <!--
Local variables:
mode: sgml

View File

@ -88,6 +88,7 @@ Application-driven progressive image loading.
</para>
@image_type:
@error:
@Returns:
@ -99,6 +100,7 @@ Application-driven progressive image loading.
@loader:
@buf:
@count:
@error:
@Returns:

View File

@ -1,7 +1,3 @@
<!-- ##### SECTION ./tmpl/from-drawables.sgml:Title ##### -->
Drawables to Pixbufs
<!-- ##### USER_FUNCTION GdkPixbufLastUnref ##### -->
<para>
A function of this type can be used to override the default
@ -19,6 +15,10 @@ Drawables to Pixbufs
@pixbuf: The pixbuf that is losing its last reference.
@data: User closure data.
<!-- ##### SECTION ./tmpl/from-drawables.sgml:Title ##### -->
Drawables to Pixbufs
<!-- ##### ARG GnomeCanvasPixbuf:height_pixels ##### -->
<para>
@ -415,13 +415,19 @@ XlibRGB
</para>
<!-- ##### SECTION ./tmpl/xlib-from-drawables.sgml:See_Also ##### -->
<para>
</para>
<!-- ##### SECTION ./tmpl/from-drawables.sgml:See_Also ##### -->
<para>
gdk_image_get().
</para>
<!-- ##### SECTION ./tmpl/xlib-from-drawables.sgml:See_Also ##### -->
<!-- ##### STRUCT GdkPixbufAnimationClass ##### -->
<para>
</para>
@ -503,26 +509,7 @@ Getting parts of a drawable's image data into a pixbuf.
</para>
<!-- ##### ENUM GdkPixbufAlphaMode ##### -->
<para>
These values can be passed to
gdk_pixbuf_render_to_drawable_alpha() to control how the alpha
chanel of an image should be handled. This function can create a
bilevel clipping mask (black and white) and use it while painting
the image. In the future, when the X Window System gets an alpha
channel extension, it will be possible to do full alpha
compositing onto arbitrary drawables. For now both cases fall
back to a bilevel clipping mask.
</para>
@GDK_PIXBUF_ALPHA_BILEVEL: A bilevel clipping mask (black and white)
will be created and used to draw the image. Pixels below 0.5 opacity
will be considered fully transparent, and all others will be
considered fully opaque.
@GDK_PIXBUF_ALPHA_FULL: For now falls back to #GDK_PIXBUF_ALPHA_BILEVEL.
In the future it will do full alpha compositing.
<!-- ##### SECTION ./tmpl/gdk-pixbuf-io.sgml:Long_Description ##### -->
<!-- ##### STRUCT GdkPixbufClass ##### -->
<para>
</para>
@ -697,6 +684,12 @@ In the future it will do full alpha compositing.
</refsect2>
<!-- ##### SECTION ./tmpl/gdk-pixbuf-io.sgml:Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION ./tmpl/xlib-rendering.sgml:Title ##### -->
Xlib Rendering

View File

@ -15,6 +15,25 @@ Information that describes an image.
<para>
</para>
<!-- ##### ENUM GdkPixbufError ##### -->
<para>
</para>
@GDK_PIXBUF_ERROR_CORRUPT_IMAGE:
@GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY:
@GDK_PIXBUF_ERROR_BAD_OPTION_VALUE:
@GDK_PIXBUF_ERROR_UNKNOWN_TYPE:
@GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION:
@GDK_PIXBUF_ERROR_FAILED:
<!-- ##### MACRO GDK_PIXBUF_ERROR ##### -->
<para>
</para>
<!-- ##### ENUM GdkColorspace ##### -->
<para>
This enumeration defines the color spaces that are supported by
@ -23,6 +42,25 @@ Information that describes an image.
@GDK_COLORSPACE_RGB: Indicates a red/green/blue additive color space.
<!-- ##### ENUM GdkPixbufAlphaMode ##### -->
<para>
These values can be passed to
gdk_pixbuf_render_to_drawable_alpha() to control how the alpha
chanel of an image should be handled. This function can create a
bilevel clipping mask (black and white) and use it while painting
the image. In the future, when the X Window System gets an alpha
channel extension, it will be possible to do full alpha
compositing onto arbitrary drawables. For now both cases fall
back to a bilevel clipping mask.
</para>
@GDK_PIXBUF_ALPHA_BILEVEL: A bilevel clipping mask (black and white)
will be created and used to draw the image. Pixels below 0.5 opacity
will be considered fully transparent, and all others will be
considered fully opaque.
@GDK_PIXBUF_ALPHA_FULL: For now falls back to #GDK_PIXBUF_ALPHA_BILEVEL.
In the future it will do full alpha compositing.
<!-- ##### STRUCT GdkPixbuf ##### -->
<para>
This is the main structure in the &gdk-pixbuf; library. It is
@ -31,23 +69,6 @@ Information that describes an image.
height, and the rowstride or number of bytes between rows.
</para>
@parent_instance:
@colorspace:
@n_channels:
@bits_per_sample:
@width:
@height:
@rowstride:
@pixels:
@destroy_fn:
@destroy_fn_data:
@has_alpha:
<!-- ##### STRUCT GdkPixbufClass ##### -->
<para>
</para>
<!-- ##### FUNCTION gdk_pixbuf_get_colorspace ##### -->
<para>

View File

@ -77,6 +77,8 @@ Module Interface
@buffer:
@size:
@filename:
@error:
@Returns:
@ -86,6 +88,7 @@ Module Interface
</para>
@name:
@error:
@Returns:
@ -95,5 +98,7 @@ Module Interface
</para>
@image_module:
@error:
@Returns:

View File

@ -50,3 +50,14 @@ End:
-->
<!-- ##### FUNCTION gdk_pixbuf_saturate_and_pixelate ##### -->
<para>
</para>
@src:
@dest:
@saturation:
@pixelate:

View File

@ -156,7 +156,6 @@ gdk_rgb_set_verbose
<SECTION>
<TITLE>Pixbufs</TITLE>
<FILE>pixbufs</FILE>
GdkPixbufAlphaMode
gdk_pixbuf_render_threshold_alpha
gdk_pixbuf_render_to_drawable
gdk_pixbuf_render_to_drawable_alpha

View File

@ -1938,15 +1938,19 @@ gtk_text_buffer_insert
gtk_text_buffer_insert_at_cursor
gtk_text_buffer_insert_interactive
gtk_text_buffer_insert_interactive_at_cursor
gtk_text_buffer_insert_range
gtk_text_buffer_delete
gtk_text_buffer_delete_interactive
gtk_text_buffer_set_text
gtk_text_buffer_get_text
gtk_text_buffer_get_slice
gtk_text_buffer_insert_pixmap
gtk_text_buffer_insert_pixbuf
gtk_text_buffer_create_mark
gtk_text_buffer_move_mark
gtk_text_buffer_delete_mark
gtk_text_buffer_delete_mark_by_name
gtk_text_buffer_get_mark
gtk_text_buffer_get_insert
gtk_text_buffer_place_cursor
gtk_text_buffer_apply_tag
gtk_text_buffer_remove_tag
@ -1970,9 +1974,6 @@ gtk_text_buffer_cut
gtk_text_buffer_copy
gtk_text_buffer_paste_clipboard
gtk_text_buffer_get_selection_bounds
gtk_text_buffer_find_string
gtk_text_buffer_find_regexp
gtk_text_buffer_spew
<SUBSECTION Standard>
GTK_TEXT_BUFFER
GTK_IS_TEXT_BUFFER
@ -2000,7 +2001,7 @@ gtk_text_iter_get_slice
gtk_text_iter_get_text
gtk_text_iter_get_visible_slice
gtk_text_iter_get_visible_text
gtk_text_iter_get_pixmap
gtk_text_iter_get_pixbuf
gtk_text_iter_get_marks
gtk_text_iter_get_toggled_tags
gtk_text_iter_begins_tag
@ -2040,7 +2041,7 @@ gtk_text_iter_forward_search
gtk_text_iter_backward_search
gtk_text_iter_equal
gtk_text_iter_compare
gtk_text_iter_in_region
gtk_text_iter_in_range
gtk_text_iter_reorder
gtk_text_iter_spew
</SECTION>
@ -2053,7 +2054,7 @@ gtk_text_mark_set_visible
gtk_text_mark_is_visible
gtk_text_mark_ref
gtk_text_mark_unref
gtk_text_mark_deleted
gtk_text_mark_get_deleted
</SECTION>
<SECTION>
@ -2107,15 +2108,11 @@ GTK_TEXT_TAG_TABLE_GET_CLASS
<SECTION>
<FILE>gtktextview</FILE>
GtkTextView
GtkTextViewMovementStep
GtkTextViewScrollType
GtkTextViewDeleteType
<TITLE>GtkTextView</TITLE>
gtk_text_view_new
gtk_text_view_new_with_buffer
gtk_text_view_set_buffer
gtk_text_view_get_buffer
gtk_text_view_get_iter_at_pixel
gtk_text_view_scroll_to_mark
gtk_text_view_move_mark_onscreen
gtk_text_view_place_cursor_onscreen
@ -2514,7 +2511,6 @@ gtk_widget_get_ancestor
gtk_widget_get_colormap
gtk_widget_set_colormap
gtk_widget_get_visual
gtk_widget_set_visual
gtk_widget_get_events
gtk_widget_get_pointer
gtk_widget_is_ancestor
@ -2527,14 +2523,11 @@ gtk_widget_restore_default_style
gtk_widget_reset_rc_styles
gtk_widget_push_style
gtk_widget_push_colormap
gtk_widget_push_visual
gtk_widget_pop_style
gtk_widget_pop_colormap
gtk_widget_pop_visual
gtk_widget_set_default_style
gtk_widget_set_default_colormap
gtk_widget_get_default_style
gtk_widget_set_default_visual
gtk_widget_get_default_colormap
gtk_widget_get_default_visual
gtk_widget_set_direction

View File

@ -12,6 +12,30 @@ Debugging
</para>
<!-- ##### SECTION ./tmpl/gtkclipboard.sgml:See_Also ##### -->
<para>
<variablelist>
<varlistentry>
<term>#GtkSelection</term>
<listitem><para>@GtkClipboard provides a high-level wrapper around the
lower level routines that deal with X selections. It is
also possibly to directly manipulate the X selections,
though it is seldom necessary to do so.</para></listitem>
</varlistentry>
</variablelist>
</para>
<!-- ##### FUNCTION gtk_clipboard_get ##### -->
<para>
</para>
@selection:
@Returns:
<!-- ##### SECTION ./tmpl/gtkmenufactory.sgml:Short_Description ##### -->
@ -43,6 +67,14 @@ Debugging
</para>
<!-- ##### MACRO gtk_widget_set_default_visual ##### -->
<para>
</para>
@v:
@visual:
<!-- ##### FUNCTION gtk_window_set_focus ##### -->
<para>
@ -117,6 +149,21 @@ A structure used to return values from @gtk_type_query.
@object_size:
@class_size:
<!-- ##### MACRO gtk_widget_pop_visual ##### -->
<para>
</para>
@v:
<!-- ##### FUNCTION gtk_text_buffer_get_clipboard_contents ##### -->
<para>
</para>
@buffer:
@Returns:
<!-- ##### FUNCTION gtk_marshal_NONE__C_CALLBACK ##### -->
<para>
@ -127,6 +174,17 @@ A structure used to return values from @gtk_type_query.
@func_data:
@args:
<!-- ##### FUNCTION gtk_text_buffer_paste_primary_selection ##### -->
<para>
</para>
@buffer:
@override_location:
@time:
@interactive:
@default_editable:
<!-- ##### FUNCTION gtk_marshal_BOOL__POINTER_INT_INT ##### -->
<para>
@ -137,6 +195,64 @@ A structure used to return values from @gtk_type_query.
@func_data:
@args:
<!-- ##### FUNCTION gtk_clipboard_set_with_data ##### -->
<para>
</para>
@clipboard:
@targets:
@n_targets:
@get_func:
@clear_func:
@user_data:
@Returns:
<!-- ##### SIGNAL GtkTextView::copy-text ##### -->
<para>
</para>
@textview: the object which received the signal.
<!-- ##### FUNCTION gtk_text_view_get_iter_at_pixel ##### -->
<para>
</para>
@text_view:
@iter:
@x:
@y:
<!-- ##### USER_FUNCTION GtkClipboardReceivedFunc ##### -->
<para>
A function to be called when the results of gtk_clipboard_request_text()
are received, or when the request fails.
</para>
@clipboard: the #GtkClipboard
@selection_data: a #GtkSelectionData containing the data was received.
If retrieving the data failed, then then length field
of @selection_data will be negative.
@data: the @user_data supplied to gtk_clipboard_request_contents().
<!-- ##### FUNCTION gtk_clipboard_clear ##### -->
<para>
</para>
@clipboard:
<!-- ##### FUNCTION gtk_clipboard_wait_for_contents ##### -->
<para>
</para>
@clipboard:
@target:
@Returns:
<!-- ##### SECTION ./tmpl/gtkenums.sgml.sgml:Short_Description ##### -->
@ -184,6 +300,14 @@ Get the type of GtkIdentifier.
@func_data:
@args:
<!-- ##### FUNCTION gtk_text_mark_deleted ##### -->
<para>
</para>
@mark:
@Returns:
<!-- ##### MACRO gtk_marshal_BOOL__POINTER_STRING_STRING_POINTER ##### -->
<para>
@ -197,6 +321,15 @@ Get the type of GtkIdentifier.
@ruler: the gtkruler
<!-- ##### FUNCTION gtk_selection_data_set_text ##### -->
<para>
</para>
@selection_data:
@str:
@Returns:
<!-- ##### FUNCTION gtk_themes_init ##### -->
<para>
@ -225,6 +358,16 @@ Menu Factory
</para>
<!-- ##### MACRO gtk_widget_set_visual ##### -->
<para>
</para>
@w:
@v:
@widget:
@visual:
<!-- ##### MACRO gtk_marshal_NONE__UINT_POINTER_UINT_ENUM_ENUM_POINTER ##### -->
<para>
@ -265,6 +408,17 @@ Convert a gtk type into its sequence number
</para>
<!-- ##### USER_FUNCTION GtkClipboardClearFunc ##### -->
<para>
A function that will be called when the contents of the clipboard are changed
or cleared. Once this has called, the @user_data_or_owner argument
will not be used again.
</para>
@clipboard: the #GtkClipboard
@user_data_or_owner: the @user_data argument passed to gtk_clipboard_set_with_data(), or
the @owner argument passed to gtk_clipboard_set_owner()
<!-- ##### MACRO GTK_WIDGET_IS_OFFSCREEN ##### -->
<para>
@ -282,6 +436,13 @@ Convert a gtk type into its sequence number
<!-- ##### SIGNAL GtkTextView::cut-text ##### -->
<para>
</para>
@textview: the object which received the signal.
<!-- ##### FUNCTION gtk_marshal_BOOL__POINTER ##### -->
<para>
@ -292,6 +453,35 @@ Convert a gtk type into its sequence number
@func_data:
@args:
<!-- ##### ARG GtkTextTag:overstrike_set ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_text_buffer_cut ##### -->
<para>
</para>
@buffer:
@time:
@interactive:
@default_editable:
<!-- ##### ENUM GtkTextViewMovementStep ##### -->
<para>
</para>
@GTK_TEXT_MOVEMENT_CHAR:
@GTK_TEXT_MOVEMENT_POSITIONS:
@GTK_TEXT_MOVEMENT_WORD:
@GTK_TEXT_MOVEMENT_WRAPPED_LINE:
@GTK_TEXT_MOVEMENT_LINE:
@GTK_TEXT_MOVEMENT_LINE_ENDS:
@GTK_TEXT_MOVEMENT_BUFFER_ENDS:
<!-- ##### FUNCTION gtk_marshal_NONE__POINTER_POINTER_INT_INT ##### -->
<para>
@ -302,6 +492,72 @@ Convert a gtk type into its sequence number
@func_data:
@args:
<!-- ##### SECTION ./tmpl/gtkclipboard.sgml:Long_Description ##### -->
<para>
The #GtkClipboard object represents a clipboard of data shared
between different processes or between different widgets in
the same process. Each clipboard is identified by a name encoded as a
#GdkAtom. (Conversion to and from strings can be done with
gdk_atom_intern() and gdk_atom_name().) The default clipboard
corresponds to the CLIPBOARD atom; another commonly used clipboard
is the PRIMARY clipboard, which, in X, traditionally contains
the currently selected text.
</para>
<para>
To support having a number of different formats on the clipboard
at the same time, the clipboard mechanism allows providing
callbacks instead of the actual data. When you set the contents
of the clipboard, you can either supply the data directly (via
functions like gtk_clipboard_set_text()), or you can supply a
callback to be called at a later time when the data is needed (via
gtk_clipboard_set_with_data() or gtk_clipboard_set_with_owner().)
Providing a callback also avoids having to make copies of the data
when it is not needed.
</para>
<para>
gtk_clipboard_set_with_data() and gtk_clipboard_set_with_owner()
are quite similar; the choice between the two depends mostly on
which is more convenient in a particular situation.
The former is most useful when you want to have a blob of data
with callbacks to convert it into the various data types that you
advertise. When the @clear_func you provided is called, you
simply free the data blob. The latter is more useful when the
contents of clipboard reflect the internal state of a @GObject
(As an example, for the PRIMARY clipboard, when an entry widget
provides the clipboard's contents the contents are simply the
text within the selected region.) If the contents change, the
entry widget can call gtk_clipboard_set_with_owner() to update
the timestamp for clipboard ownership, without having to worry
about @clear_func being called.
</para>
<para>
Requesting the data from the clipboard is essentially
asynchronous. If the contents of the clipboard are provided within
the same process, then a direct function call will be made to
retrieve the data, but if they are provided by another process,
then the data needs to be retrieved from the other process, which
may take some time. To avoid blocking the user interface, the call
to request the selection, gtk_clipboard_request_contents() takes a
callback that will be called when the contents are received (or
when the request fails.) If you don't want to deal with providing
a separate callback, you can also use gtk_clipboard_wait_for_contents().
What this does is run the Glib main loop recursively waiting for
the contents. This can simplify the code flow, but you still have
to be aware that other callbacks in your program can be called
while this recursive mainloop is running.
</para>
<para>
Along with the functions to get the clipboard contents as an
arbitrary data chunk, there are also functions to retrieve
it as text, gtk_clipboard_request_text() and
gtk_clipboard_wait_for_text(). These functions take care of
determining which formats are advertised by the clipboard
provider, asking for the clipboard in the best available format
and converting the results into the UTF-8 encoding. (The standard
form for representing strings in GTK+.)
</para>
<!-- ##### SECTION ./tmpl/gtkdebug.sgml:See_Also ##### -->
<para>
@ -324,6 +580,18 @@ Convert a gtk type into its sequence number
@entries:
@nentries:
<!-- ##### FUNCTION gtk_text_buffer_find_string ##### -->
<para>
</para>
@buffer:
@iter:
@str:
@start:
@end:
@Returns:
<!-- ##### FUNCTION gtk_marshal_NONE__INT_POINTER_INT_INT_INT_POINTER ##### -->
<para>
@ -429,6 +697,10 @@ Get the number of signals defined by this object.
@subfactory:
@path:
<!-- ##### SECTION ./tmpl/gtkclipboard.sgml:Short_Description ##### -->
Storing data on Clipboards.
<!-- ##### FUNCTION gtk_type_children_types ##### -->
<para>
Return the pointer to the type's children's types.
@ -447,6 +719,22 @@ Register a new set of flags @values and give them the name in
@values: GtkFlagValue*
@Returns:
<!-- ##### SIGNAL GtkTextView::scroll-text ##### -->
<para>
</para>
@textview: the object which received the signal.
@arg1:
<!-- ##### FUNCTION gtk_selection_clear_targets ##### -->
<para>
</para>
@widget:
@selection:
<!-- ##### ENUM GtkPrivateFlags ##### -->
<para>
@ -484,6 +772,16 @@ show the size if @show_size is true.
@type: GtkType
@show_size: gboolean
<!-- ##### FUNCTION gtk_clipboard_request_contents ##### -->
<para>
</para>
@clipboard:
@target:
@callback:
@user_data:
<!-- ##### FUNCTION gtk_marshal_BOOL__POINTER_INT_INT_INT ##### -->
<para>
@ -494,6 +792,14 @@ show the size if @show_size is true.
@func_data:
@args:
<!-- ##### FUNCTION gtk_clipboard_get_owner ##### -->
<para>
</para>
@clipboard:
@Returns:
<!-- ##### SECTION ./tmpl/gtkdebug.sgml:Long_Description ##### -->
<para>
@ -518,6 +824,16 @@ show the size if @show_size is true.
@func_data:
@args:
<!-- ##### FUNCTION gtk_text_iter_get_pixmap ##### -->
<para>
</para>
@iter:
@pixmap:
@mask:
@Returns:
<!-- ##### MACRO gtk_marshal_NONE__POINTER_UINT_UINT ##### -->
<para>
@ -549,6 +865,19 @@ will be shown, or NULL to show all spacings.
@charsets: a NULL-terminated array of strings containing charset names which
will be shown, or NULL to show all charsets.
<!-- ##### SECTION ./tmpl/gtkclipboard.sgml:Title ##### -->
Clipboards
<!-- ##### SIGNAL GtkTextView::delete-text ##### -->
<para>
</para>
@textview: the object which received the signal.
@arg1:
@arg2:
<!-- ##### FUNCTION gtk_container_get_toplevels ##### -->
<para>
@ -596,6 +925,16 @@ The last "flat" (no struct) enumerated type value.
@func_data:
@args:
<!-- ##### FUNCTION gtk_text_iter_in_region ##### -->
<para>
</para>
@iter:
@start:
@end:
@Returns:
<!-- ##### FUNCTION gtk_type_get_varargs_type ##### -->
<para>
Get the varargs type associated with @foreign_type
@ -604,6 +943,20 @@ Get the varargs type associated with @foreign_type
@foreign_type: GtkType
@Returns: GtkType
<!-- ##### FUNCTION gtk_clipboard_wait_for_text ##### -->
<para>
</para>
@clipboard:
@Returns:
<!--
Local variables:
mode: sgml
sgml-parent-document: ("../gtk-docs.sgml" "book" "refsect2" "")
End:
-->
<!-- ##### STRUCT GtkMenuFactory ##### -->
<para>
@ -622,6 +975,13 @@ Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN
@a:
<!-- ##### SIGNAL GtkTextView::paste-text ##### -->
<para>
</para>
@textview: the object which received the signal.
<!-- ##### MACRO GTK_PRIVATE_SET_FLAG ##### -->
<para>
@ -655,6 +1015,19 @@ Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN
@GTK_DEBUG_DND:
@GTK_DEBUG_PLUGSOCKET:
<!-- ##### FUNCTION gtk_clipboard_set_with_owner ##### -->
<para>
</para>
@clipboard:
@targets:
@n_targets:
@get_func:
@clear_func:
@owner:
@Returns:
<!-- ##### FUNCTION gtk_menu_factory_remove_paths ##### -->
<para>
@ -707,6 +1080,14 @@ Hide the name of gtk_identifier_get_type
@wid:
<!-- ##### FUNCTION gtk_selection_data_get_text ##### -->
<para>
</para>
@selection_data:
@Returns:
<!-- ##### FUNCTION gtk_marshal_BOOL__NONE ##### -->
<para>
@ -833,6 +1214,21 @@ is enabled.
@type:
@action:
<!-- ##### ENUM GtkTextViewDeleteType ##### -->
<para>
</para>
@GTK_TEXT_DELETE_CHAR:
@GTK_TEXT_DELETE_HALF_WORD:
@GTK_TEXT_DELETE_WHOLE_WORD:
@GTK_TEXT_DELETE_HALF_WRAPPED_LINE:
@GTK_TEXT_DELETE_WHOLE_WRAPPED_LINE:
@GTK_TEXT_DELETE_HALF_LINE:
@GTK_TEXT_DELETE_WHOLE_LINE:
@GTK_TEXT_DELETE_WHITESPACE:
@GTK_TEXT_DELETE_WHITESPACE_LEAVE_ONE:
<!-- ##### MACRO GTK_TYPE_FLAT_FIRST ##### -->
<para>
The first "flat" (no struct) enumerated type value.
@ -853,6 +1249,36 @@ The first "flat" (no struct) enumerated type value.
</para>
<!-- ##### FUNCTION gtk_text_buffer_spew ##### -->
<para>
</para>
@buffer:
<!-- ##### STRUCT GtkTextTabArray ##### -->
<para>
</para>
<!-- ##### ARG GtkTextTag:overstrike ##### -->
<para>
</para>
<!-- ##### USER_FUNCTION GtkClipboardTextReceivedFunc ##### -->
<para>
A function to be called when the results of gtk_clipboard_request_text()
are received, or when the request fails.
</para>
@clipboard: the #GtkClipboard
@text: the text received, as a UTF-8 encoded string, or %NULL
if retrieving the data failed.
@data: the @user_data supplied to gtk_clipboard_request_text().
<!-- ##### MACRO GTK_WIDGET_HAS_SHAPE_MASK ##### -->
<para>
@ -860,6 +1286,14 @@ The first "flat" (no struct) enumerated type value.
@obj:
<!-- ##### FUNCTION gtk_text_buffer_copy ##### -->
<para>
</para>
@buffer:
@time:
<!-- ##### FUNCTION gtk_marshal_NONE__POINTER_INT ##### -->
<para>
@ -891,6 +1325,14 @@ gtkenums.sgml
@func_data:
@args:
<!-- ##### USER_FUNCTION GtkMenuCallback ##### -->
<para>
</para>
@widget:
@user_data:
<!-- ##### FUNCTION gtk_type_check_object_cast ##### -->
<para>
Given a pointer to a GtkTypeObject @type_object, and a GtkType @cast_type,
@ -901,14 +1343,6 @@ make sure that it's okay to cast @type_object into a @cast_type.
@cast_type: GtkType
@Returns: the same GtkTypeObject* as @type_object
<!-- ##### USER_FUNCTION GtkMenuCallback ##### -->
<para>
</para>
@widget:
@user_data:
<!-- ##### FUNCTION gtk_themes_exit ##### -->
<para>
@ -926,11 +1360,26 @@ make sure that it's okay to cast @type_object into a @cast_type.
@func_data:
@args:
<!-- ##### MACRO gtk_marshal_NONE__OBJECT ##### -->
<!-- ##### USER_FUNCTION GtkClipboardGetFunc ##### -->
<para>
A function that will be called to provide the contents of the selection.
If multiple types of data were advertised, the requested type can
be determined from the @info parameter or by checking the target field
of @selection_data. If the data could succesfully be converted into
then it should be stored into the @selection_data object by
calling gtk_selection_data_set() (or related functions such
as gtk_seletion_data_get().) If no data is set, the requestor
will be informed that the attempt to get the data failed.
</para>
@clipboard: the #GtkClipboard
@selection_data: a #GtkSelectionData argument in which the requested
data should be stored.
@info: the info field corresponding to the requested
target from the #GtkTargetEntry array passed to
gtk_clipboard_set_with_data() or gtk_clipboard_set_with_owner().
@user_data_or_owner: the @user_data argument passed to gtk_clipboard_set_with_data(), or
the @owner argument passed to gtk_clipboard_set_owner()
<!-- ##### SECTION ./tmpl/gtkmenufactory.sgml:Long_Description ##### -->
<para>
@ -938,6 +1387,21 @@ make sure that it's okay to cast @type_object into a @cast_type.
</para>
<!-- ##### MACRO gtk_marshal_NONE__OBJECT ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_clipboard_set_text ##### -->
<para>
</para>
@clipboard:
@text:
@len:
<!-- ##### FUNCTION gtk_type_set_varargs_type ##### -->
<para>
Set the varargs type for a fundamental type @foreign_type.
@ -947,6 +1411,12 @@ Set the varargs type for a fundamental type @foreign_type.
fundamental type.
@varargs_type: Must be a GtkType which is either structured or flag, or NONE.
<!-- ##### STRUCT GtkClipboard ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_type_check_class_cast ##### -->
<para>
Given a GtkTypeClass pointer @klass, and a GtkType @cast_type, make
@ -964,6 +1434,16 @@ sure that it's okay to cast something of that @klass into a @cast_type.
@factory:
<!-- ##### FUNCTION gtk_text_buffer_insert_pixmap ##### -->
<para>
</para>
@buffer:
@iter:
@pixmap:
@mask:
<!-- ##### FUNCTION gtk_marshal_NONE__C_CALLBACK_C_CALLBACK ##### -->
<para>
@ -1014,6 +1494,14 @@ Print the types @type inherits from.
@type: GtkType
<!-- ##### FUNCTION gtk_text_buffer_set_clipboard_contents ##### -->
<para>
</para>
@buffer:
@text:
<!-- ##### ENUM GtkFontFilterType ##### -->
<para>
A set of bit flags used to specify the filter being set
@ -1042,6 +1530,15 @@ Return NULL if anything goes wrong.
@window:
@defaultw:
<!-- ##### FUNCTION gtk_clipboard_request_text ##### -->
<para>
</para>
@clipboard:
@callback:
@user_data:
<!-- ##### FUNCTION gtk_marshal_NONE__INT ##### -->
<para>
@ -1140,12 +1637,13 @@ Internal function.
</para>
<!-- ##### FUNCTION gtk_container_register_toplevel ##### -->
<!-- ##### MACRO gtk_widget_push_visual ##### -->
<para>
</para>
@container:
@v:
@visual:
<!-- ##### MACRO gtk_marshal_ENUM__ENUM ##### -->
<para>
@ -1153,6 +1651,13 @@ Internal function.
</para>
<!-- ##### FUNCTION gtk_container_register_toplevel ##### -->
<para>
</para>
@container:
<!-- ##### SECTION ./tmpl/gtkimcontextsimple.sgml:Title ##### -->
GtkIMContextSimple
@ -1180,12 +1685,33 @@ Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_CALLBACK
@func_data:
@args:
<!-- ##### SIGNAL GtkTextView::move-insert ##### -->
<para>
</para>
@textview: the object which received the signal.
@arg1:
@arg2:
@arg3:
<!-- ##### SECTION ./tmpl/gtkimcontextsimple.sgml:Long_Description ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_text_buffer_find_regexp ##### -->
<para>
</para>
@buffer:
@regexp:
@start:
@end:
@Returns:
<!-- ##### FUNCTION gtk_menu_factory_add_subfactory ##### -->
<para>
@ -1195,3 +1721,13 @@ Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_CALLBACK
@subfactory:
@path:
<!-- ##### ENUM GtkTextViewScrollType ##### -->
<para>
</para>
@GTK_TEXT_SCROLL_TO_TOP:
@GTK_TEXT_SCROLL_TO_BOTTOM:
@GTK_TEXT_SCROLL_PAGE_DOWN:
@GTK_TEXT_SCROLL_PAGE_UP:

View File

@ -609,6 +609,9 @@ specific portions of a RC file.
@GTK_RC_TOKEN_HIGHEST:
@GTK_RC_TOKEN_ENGINE:
@GTK_RC_TOKEN_MODULE_PATH:
@GTK_RC_TOKEN_STOCK:
@GTK_RC_TOKEN_LTR:
@GTK_RC_TOKEN_RTL:
@GTK_RC_TOKEN_LAST:
<!-- ##### FUNCTION gtk_rc_get_style ##### -->

View File

@ -184,15 +184,6 @@ for a given widget and selection.
@ntargets: number of entries in @targets
<!-- ##### FUNCTION gtk_selection_clear_targets ##### -->
<para>
</para>
@widget:
@selection:
<!-- ##### FUNCTION gtk_selection_convert ##### -->
<para>
Request the contents of a selection. When received,
@ -209,29 +200,6 @@ a "selection_received" signal will be generated.
this widget).
<!-- ##### FUNCTION gtk_selection_remove_all ##### -->
<para>
Removes all handlers and unsets ownership of all
selections for a widget. Called when widget is being
destroyed. This function will not generally be
called by applications.
</para>
@widget: a #GtkWidget
<!-- ##### STRUCT GtkSelectionData ##### -->
<para>
</para>
@selection:
@target:
@type:
@format:
@data:
@length:
<!-- ##### FUNCTION gtk_selection_data_set ##### -->
<para>
Store new data into a GtkSelectionData object. Should
@ -246,23 +214,15 @@ Null terminates the stored data.
@length: length of the data
<!-- ##### FUNCTION gtk_selection_data_set_text ##### -->
<!-- ##### FUNCTION gtk_selection_remove_all ##### -->
<para>
Removes all handlers and unsets ownership of all
selections for a widget. Called when widget is being
destroyed. This function will not generally be
called by applications.
</para>
@selection_data:
@str:
@Returns:
<!-- ##### FUNCTION gtk_selection_data_get_text ##### -->
<para>
</para>
@selection_data:
@Returns:
@widget: a #GtkWidget
<!-- ##### FUNCTION gtk_selection_data_copy ##### -->

View File

@ -71,6 +71,7 @@ Styles
@clone:
@init_from_rc:
@set_background:
@render_icon:
@draw_hline:
@draw_vline:
@draw_shadow:

View File

@ -102,6 +102,17 @@ GtkTextBuffer
@Returns:
<!-- ##### FUNCTION gtk_text_buffer_insert_range ##### -->
<para>
</para>
@buffer:
@iter:
@start:
@end:
<!-- ##### FUNCTION gtk_text_buffer_delete ##### -->
<para>
@ -127,6 +138,16 @@ GtkTextBuffer
@Returns:
<!-- ##### FUNCTION gtk_text_buffer_set_text ##### -->
<para>
</para>
@buffer:
@text:
@len:
<!-- ##### FUNCTION gtk_text_buffer_get_text ##### -->
<para>
@ -157,15 +178,14 @@ GtkTextBuffer
@end_iter:
<!-- ##### FUNCTION gtk_text_buffer_insert_pixmap ##### -->
<!-- ##### FUNCTION gtk_text_buffer_insert_pixbuf ##### -->
<para>
</para>
@buffer:
@iter:
@pixmap:
@mask:
@pixbuf:
<!-- ##### FUNCTION gtk_text_buffer_create_mark ##### -->
@ -199,6 +219,15 @@ GtkTextBuffer
@mark:
<!-- ##### FUNCTION gtk_text_buffer_delete_mark_by_name ##### -->
<para>
</para>
@buffer:
@name:
<!-- ##### FUNCTION gtk_text_buffer_get_mark ##### -->
<para>
@ -209,6 +238,15 @@ GtkTextBuffer
@Returns:
<!-- ##### FUNCTION gtk_text_buffer_get_insert ##### -->
<para>
</para>
@buffer:
@Returns:
<!-- ##### FUNCTION gtk_text_buffer_place_cursor ##### -->
<para>
@ -360,36 +398,6 @@ GtkTextBuffer
@setting:
<!-- ##### FUNCTION gtk_text_buffer_set_clipboard_contents ##### -->
<para>
</para>
@buffer:
@text:
<!-- ##### FUNCTION gtk_text_buffer_get_clipboard_contents ##### -->
<para>
</para>
@buffer:
@Returns:
<!-- ##### FUNCTION gtk_text_buffer_paste_primary_selection ##### -->
<para>
</para>
@buffer:
@override_location:
@time:
@interactive:
@default_editable:
<!-- ##### FUNCTION gtk_text_buffer_delete_selection ##### -->
<para>
@ -401,35 +409,16 @@ GtkTextBuffer
@Returns:
<!-- ##### FUNCTION gtk_text_buffer_cut ##### -->
<para>
</para>
@buffer:
@time:
@interactive:
@default_editable:
<!-- ##### FUNCTION gtk_text_buffer_copy ##### -->
<para>
</para>
@buffer:
@time:
<!-- ##### FUNCTION gtk_text_buffer_paste_clipboard ##### -->
<para>
</para>
@buffer:
@default_editable:
<!-- # Unused Parameters # -->
@time:
@interactive:
@default_editable:
<!-- ##### FUNCTION gtk_text_buffer_get_selection_bounds ##### -->
@ -443,39 +432,6 @@ GtkTextBuffer
@Returns:
<!-- ##### FUNCTION gtk_text_buffer_find_string ##### -->
<para>
</para>
@buffer:
@iter:
@str:
@start:
@end:
@Returns:
<!-- ##### FUNCTION gtk_text_buffer_find_regexp ##### -->
<para>
</para>
@buffer:
@regexp:
@start:
@end:
@Returns:
<!-- ##### FUNCTION gtk_text_buffer_spew ##### -->
<para>
</para>
@buffer:
<!-- ##### SIGNAL GtkTextBuffer::insert-text ##### -->
<para>

View File

@ -29,15 +29,14 @@ gtktextiter
@dummy2:
@dummy3:
@dummy4:
@dummy10:
@dummy11:
@dummy5:
@dummy6:
@dummy7:
@dummy8:
@dummy9:
@pad1:
@pad2:
@dummy10:
@dummy11:
@dummy12:
<!-- ##### FUNCTION gtk_text_iter_get_buffer ##### -->
<para>
@ -150,14 +149,12 @@ gtktextiter
@Returns:
<!-- ##### FUNCTION gtk_text_iter_get_pixmap ##### -->
<!-- ##### FUNCTION gtk_text_iter_get_pixbuf ##### -->
<para>
</para>
@iter:
@pixmap:
@mask:
@Returns:
@ -504,6 +501,8 @@ gtktextiter
@str:
@visible_only:
@slice:
@match_start:
@match_end:
@Returns:
@ -539,7 +538,7 @@ gtktextiter
@Returns:
<!-- ##### FUNCTION gtk_text_iter_in_region ##### -->
<!-- ##### FUNCTION gtk_text_iter_in_range ##### -->
<para>
</para>

View File

@ -55,12 +55,3 @@ gtktextmark
@mark:
<!-- ##### FUNCTION gtk_text_mark_deleted ##### -->
<para>
</para>
@mark:
@Returns:

View File

@ -32,12 +32,6 @@ GtkTextTag
</para>
<!-- ##### STRUCT GtkTextTabArray ##### -->
<para>
</para>
<!-- ##### ENUM GtkWrapMode ##### -->
<para>
@ -54,7 +48,6 @@ GtkTextTag
@refcount:
@appearance:
@border_width:
@relief:
@justify:
@direction:
@ -66,7 +59,7 @@ GtkTextTag
@pixels_above_lines:
@pixels_below_lines:
@pixels_inside_wrap:
@tab_array:
@tabs:
@wrap_mode:
@language:
@invisible:
@ -127,7 +120,7 @@ GtkTextTag
@bg_stipple:
@fg_stipple:
@underline:
@overstrike:
@strikethrough:
@draw_bg:
@inside_selection:
@ -260,11 +253,6 @@ GtkTextTag
</para>
<!-- ##### ARG GtkTextTag:overstrike ##### -->
<para>
</para>
<!-- ##### ARG GtkTextTag:pixels_above_lines ##### -->
<para>
@ -285,6 +273,11 @@ GtkTextTag
</para>
<!-- ##### ARG GtkTextTag:strikethrough ##### -->
<para>
</para>
<!-- ##### ARG GtkTextTag:underline ##### -->
<para>
@ -295,6 +288,11 @@ GtkTextTag
</para>
<!-- ##### ARG GtkTextTag:tabs ##### -->
<para>
</para>
<!-- ##### ARG GtkTextTag:background_set ##### -->
<para>
@ -365,11 +363,6 @@ GtkTextTag
</para>
<!-- ##### ARG GtkTextTag:overstrike_set ##### -->
<para>
</para>
<!-- ##### ARG GtkTextTag:pixels_above_lines_set ##### -->
<para>
@ -385,6 +378,11 @@ GtkTextTag
</para>
<!-- ##### ARG GtkTextTag:strikethrough_set ##### -->
<para>
</para>
<!-- ##### ARG GtkTextTag:right_margin_set ##### -->
<para>
@ -400,3 +398,8 @@ GtkTextTag
</para>
<!-- ##### ARG GtkTextTag:tabs_set ##### -->
<para>
</para>

View File

@ -20,44 +20,6 @@ GtkTextView
</para>
<!-- ##### ENUM GtkTextViewMovementStep ##### -->
<para>
</para>
@GTK_TEXT_MOVEMENT_CHAR:
@GTK_TEXT_MOVEMENT_POSITIONS:
@GTK_TEXT_MOVEMENT_WORD:
@GTK_TEXT_MOVEMENT_WRAPPED_LINE:
@GTK_TEXT_MOVEMENT_LINE:
@GTK_TEXT_MOVEMENT_LINE_ENDS:
@GTK_TEXT_MOVEMENT_BUFFER_ENDS:
<!-- ##### ENUM GtkTextViewScrollType ##### -->
<para>
</para>
@GTK_TEXT_SCROLL_TO_TOP:
@GTK_TEXT_SCROLL_TO_BOTTOM:
@GTK_TEXT_SCROLL_PAGE_DOWN:
@GTK_TEXT_SCROLL_PAGE_UP:
<!-- ##### ENUM GtkTextViewDeleteType ##### -->
<para>
</para>
@GTK_TEXT_DELETE_CHAR:
@GTK_TEXT_DELETE_HALF_WORD:
@GTK_TEXT_DELETE_WHOLE_WORD:
@GTK_TEXT_DELETE_HALF_WRAPPED_LINE:
@GTK_TEXT_DELETE_WHOLE_WRAPPED_LINE:
@GTK_TEXT_DELETE_HALF_LINE:
@GTK_TEXT_DELETE_WHOLE_LINE:
@GTK_TEXT_DELETE_WHITESPACE:
@GTK_TEXT_DELETE_WHITESPACE_LEAVE_ONE:
<!-- ##### FUNCTION gtk_text_view_new ##### -->
<para>
@ -93,17 +55,6 @@ GtkTextView
@Returns:
<!-- ##### FUNCTION gtk_text_view_get_iter_at_pixel ##### -->
<para>
</para>
@text_view:
@iter:
@x:
@y:
<!-- ##### FUNCTION gtk_text_view_scroll_to_mark ##### -->
<para>
@ -207,7 +158,7 @@ GtkTextView
@location:
<!-- ##### SIGNAL GtkTextView::move-insert ##### -->
<!-- ##### SIGNAL GtkTextView::move ##### -->
<para>
</para>
@ -224,7 +175,7 @@ GtkTextView
@textview: the object which received the signal.
<!-- ##### SIGNAL GtkTextView::scroll-text ##### -->
<!-- ##### SIGNAL GtkTextView::insert ##### -->
<para>
</para>
@ -232,7 +183,7 @@ GtkTextView
@textview: the object which received the signal.
@arg1:
<!-- ##### SIGNAL GtkTextView::delete-text ##### -->
<!-- ##### SIGNAL GtkTextView::delete ##### -->
<para>
</para>
@ -241,21 +192,21 @@ GtkTextView
@arg1:
@arg2:
<!-- ##### SIGNAL GtkTextView::cut-text ##### -->
<!-- ##### SIGNAL GtkTextView::cut-clipboard ##### -->
<para>
</para>
@textview: the object which received the signal.
<!-- ##### SIGNAL GtkTextView::copy-text ##### -->
<!-- ##### SIGNAL GtkTextView::copy-clipboard ##### -->
<para>
</para>
@textview: the object which received the signal.
<!-- ##### SIGNAL GtkTextView::paste-text ##### -->
<!-- ##### SIGNAL GtkTextView::paste-clipboard ##### -->
<para>
</para>

View File

@ -823,18 +823,6 @@ GtkWidget
@Returns:
<!-- ##### MACRO gtk_widget_set_visual ##### -->
<para>
</para>
@w:
@v:
<!-- # Unused Parameters # -->
@widget:
@visual:
<!-- ##### FUNCTION gtk_widget_get_events ##### -->
<para>
@ -939,16 +927,6 @@ GtkWidget
@cmap:
<!-- ##### MACRO gtk_widget_push_visual ##### -->
<para>
</para>
@v:
<!-- # Unused Parameters # -->
@visual:
<!-- ##### FUNCTION gtk_widget_pop_style ##### -->
<para>
@ -963,14 +941,6 @@ GtkWidget
<!-- ##### MACRO gtk_widget_pop_visual ##### -->
<para>
</para>
@v:
<!-- ##### FUNCTION gtk_widget_set_default_style ##### -->
<para>
@ -995,16 +965,6 @@ GtkWidget
@Returns:
<!-- ##### MACRO gtk_widget_set_default_visual ##### -->
<para>
</para>
@v:
<!-- # Unused Parameters # -->
@visual:
<!-- ##### FUNCTION gtk_widget_get_default_colormap ##### -->
<para>