📄 gtk-unused.sgml
字号:
</para>@get_type_from_name: Looks up a type by name. The default implementation applies heuristics to map type names to <function>_get_type</function> function names, e.g. GtkHBox to gtk_hbox_get_type(). This virtual function is provided to allow language bindings to intercept the type resolution process.<!-- ##### STRUCT GtkCellRendererTextPixbuf ##### --><para></para>@parent: <!-- ##### ARG GtkCellView:use-fg ##### --><para></para><!-- ##### ARG GtkColorSelection:previous-alpha ##### --><para></para><!-- ##### ARG GtkColorSelection:previous-color ##### --><para></para><!-- ##### SIGNAL GtkComboBox::popup-hide ##### --><para></para>@combobox: the object which received the signal.<!-- ##### SIGNAL GtkComboBox::popup-show ##### --><para></para>@combobox: the object which received the signal.<!-- ##### ARG GtkComboBox:appearance ##### --><para></para><!-- ##### ARG GtkComboBox:row-separator-column ##### --><para></para><!-- ##### SIGNAL GtkContainer::focus ##### --><para></para>@container: the object which received the signal.@direction: @Returns: <!-- ##### ARG GtkContainer:reallocate-redraws ##### --><para></para><!-- ##### STRUCT GtkData ##### --><para>The #GtkData-struct struct contains no public fields.</para><!-- ##### SIGNAL GtkData::disconnect ##### --><para>Emitted to notify any views on the #GtkData object to disconnect from it,possibly because the #GtkData object is about to be destroyed.</para>@data: the object which received the signal.<!-- ##### SIGNAL GtkEditable::activate ##### --><para>Indicates that the user has activated the widgetin some fashion. Generally, this will be donewith a keystroke. (The default binding for thisaction is Return for #GtkEntry andControl-Return for #GtkText.)</para>@editable: the object which received the signal.<!-- ##### SIGNAL GtkEditable::copy-clipboard ##### --><para>An action signal. Causes the characters in the current selection tobe copied to the clipboard.</para>@editable: the object which received the signal.<!-- ##### SIGNAL GtkEditable::cut-clipboard ##### --><para>An action signal. Causes the characters in the currentselection to be copied to the clipboard and then deleted fromthe widget.</para>@editable: the object which received the signal.<!-- ##### SIGNAL GtkEditable::kill-char ##### --><para>An action signal. Delete a single character.</para>@editable: the object which received the signal.@direction: the direction in which to delete. Positive indicates forward deletion, negative, backwards deletion.<!-- ##### SIGNAL GtkEditable::kill-line ##### --><para>An action signal. Delete a single line.</para>@editable: the object which received the signal.@direction: the direction in which to delete. Positive indicates forward deletion, negative, backwards deletion.<!-- ##### SIGNAL GtkEditable::kill-word ##### --><para>An action signal. Delete a single word.</para>@editable: the object which received the signal.@direction: the direction in which to delete. Positive indicates forward deletion, negative, backwards deletion.<!-- ##### SIGNAL GtkEditable::move-cursor ##### --><para>An action signal. Move the cursor position.</para>@editable: the object which received the signal.@x: horizontal distance to move the cursor.@y: vertical distance to move the cursor.<!-- ##### SIGNAL GtkEditable::move-page ##### --><para>An action signal. Move the cursor by pages.</para>@editable: the object which received the signal.@x: Number of pages to move the cursor horizontally.@y: Number of pages to move the cursor vertically.<!-- ##### SIGNAL GtkEditable::move-to-column ##### --><para>An action signal. Move the cursor to the given column.</para>@editable: the object which received the signal.@column: the column to move to. (A negative value indicates the last column)<!-- ##### SIGNAL GtkEditable::move-to-row ##### --><para>An action signal. Move the cursor to the given row.</para>@editable: the object which received the signal.@row: the row to move to. (A negative value indicates the last row)<!-- ##### SIGNAL GtkEditable::move-word ##### --><para>An action signal. Move the cursor by words.</para>@editable: the object which received the signal.@num_words: The number of words to move thecursor. (Can be negative).<!-- ##### SIGNAL GtkEditable::paste-clipboard ##### --><para>An action signal. Causes the contents of the clipboard tobe pasted into the editable widget at the current cursorposition.</para>@editable: the object which received the signal.<!-- ##### SIGNAL GtkEditable::set-editable ##### --><para>Determines if the user can edit the text in the editablewidget or not. This is meant to be overriden by child classes and should not generally useful toapplications.</para>@editable: the object which received the signal.@is_editable: %TRUE if the user is allowed to edit the text in the widget.<!-- ##### ARG GtkEditable:editable ##### --><para>A boolean indicating whether the widget is editable bythe user.</para><!-- ##### ARG GtkEditable:text-position ##### --><para>The position of the cursor.</para><!-- ##### USER_FUNCTION GtkEmissionHook ##### --><para>A simple function pointer to get invoked when thesignal is emitted. This allows you tie a hook to the signal type,so that it will trap all emissions of that signal, from any object.</para><para>You may not attach these to signals created with the#GTK_RUN_NO_HOOKS flag.</para>@object: @signal_id: @n_params: @params: @data: @Returns: <!-- ##### SIGNAL GtkEntry::changed ##### --><para></para>@entry: the object which received the signal.<!-- ##### SIGNAL GtkEntry::delete-text ##### --><para></para>@entry: the object which received the signal.@arg1: @arg2: <!-- ##### SIGNAL GtkEntry::insert-text ##### --><para></para>@entry: the object which received the signal.@arg1: @arg2: @arg3: <!-- ##### ARG GtkEntry:text-position ##### --><para></para><!-- ##### ARG GtkFileChooser:file-system ##### --><para></para><!-- ##### ENUM GtkFontFilterType ##### --><para>A set of bit flags used to specify the filter being setwhen calling gtk_font_selection_dialog_set_filter() orgtk_font_selection_set_filter().</para>@GTK_FONT_FILTER_BASE: the base filter, which can't be changed by the user.@GTK_FONT_FILTER_USER: the user filter, which can be changed from within the'Filter' page of the #GtkFontSelection widget.<!-- ##### ENUM GtkFontType ##### --><para>A set of bit flags used to specify the type of fonts shownwhen calling gtk_font_selection_dialog_set_filter() orgtk_font_selection_set_filter().</para>@GTK_FONT_BITMAP: bitmap fonts.@GTK_FONT_SCALABLE: scalable fonts.@GTK_FONT_SCALABLE_BITMAP: scaled bitmap fonts.@GTK_FONT_ALL: a bitwise combination of all of the above.<!-- ##### ARG GtkHScale:adjustment ##### --><para>the #GtkAdjustment which sets the range of the scale.</para><!-- ##### ARG GtkHScrollbar:adjustment ##### --><para></para><!-- ##### STRUCT GtkIconViewPrivate ##### --><para></para><!-- ##### USER_FUNCTION GtkImageLoader ##### --><para>A GtkImageLoader is used to load a filename found ina RC file.</para>@window: the window for creating image@colormap: the colormap for this image@mask: a pointer to the location to store the mask@transparent_color: the transparent color for the image@filename: filename to load@Returns: a #GtkPixmap representing @filename<!-- ##### STRUCT GtkImageMenuItemClass ##### --><para></para><!-- ##### ARG GtkLabel:accel-keyval ##### --><para></para><!-- ##### SIGNAL GtkMenuBar::cycle-focus ##### --><para></para>@menubar: the object which received the signal.@arg1: <!-- ##### SIGNAL GtkNotebook::tab-added ##### --><para></para>@notebook: the object which received the signal.@arg1: @arg2: <!-- ##### SIGNAL GtkNotebook::tab-removed ##### --><para></para>@notebook: the object which received the signal.@arg1: @arg2: <!-- ##### SIGNAL GtkNotebook::tab-reordered ##### --><para></para>@notebook: the object which received the signal.@arg1: @arg2: <!-- ##### ARG GtkObject:object-signal ##### --><para>Setting this with a GtkType of GTK_TYPE_SIGNAL connectsthe signal to the object, so that the user data and objectsand swapped when the signal handler is invoked.</para><para>This is useful for handlers that are primarily notifyingother objects and could just invoke an already existing functionif the parameters were swapped.See gtk_signal_connect_object() for more details.</para><!-- ##### ARG GtkObject:object-signal-after ##### --><para>Setting this with a GtkType of GTK_TYPE_SIGNAL connectsthe signal to the object, so that the user data and objectsand swapped when the signal handler is invoked,and so that the handler is invoked after all others.</para><para>See gtk_signal_connect_object_after() for more details.</para><!-- ##### ARG GtkObject:signal ##### --><para>Setting this with a GtkType of GTK_TYPE_SIGNAL connectsthe signal to the object.</para><!-- ##### ARG GtkObject:signal-after ##### --><para>Setting this with a GtkType of GTK_TYPE_SIGNAL connectsthe signal to the object, so that the signal is always runafter other user handlers and the default handler.</para><!-- ##### SIGNAL GtkOldEditable::changed ##### --><para></para>@oldeditable: the object which received the signal.<!-- ##### SIGNAL GtkOldEditable::delete-text ##### --><para></para>@oldeditable: the object which received the signal.@arg1: @arg2: <!-- ##### SIGNAL GtkOldEditable::insert-text ##### --><para></para>@oldeditable: the object which received the signal.@arg1: @arg2: @arg3: <!-- ##### STRUCT GtkPacker ##### --><para></para>@parent: @children: @spacing: @default_border_width: @default_pad_x: @default_pad_y: @default_i_pad_x: @default_i_pad_y: <!-- ##### ARG GtkPacker:default-border-width ##### --><para></para><!-- ##### ARG GtkPacker:default-ipad-x ##### --><para></para><!-- ##### ARG GtkPacker:default-ipad-y ##### --><para></para><!-- ##### ARG GtkPacker:default-pad-x ##### --><para></para><!-- ##### ARG GtkPacker:default-pad-y ##### --><para></para><!-- ##### ARG GtkPacker:spacing ##### --><para></para><!-- ##### STRUCT GtkPackerChild ##### --><para></para>@widget: @anchor: @side: @options: @use_default: @border_width: @pad_x: @pad_y: @i_pad_x: @i_pad_y: <!-- ##### ENUM GtkPackerOptions ##### --><para></para>@GTK_PACK_EXPAND: @GTK_FILL_X: @GTK_FILL_Y: <!-- ##### STRUCT GtkPatternSpec ##### --><para></para>@match_type: @pattern_length: @pattern: @pattern_reversed: @user_data: @seq_id: <!-- ##### ARG GtkPrintOperation:number-of-pages ##### --><para></para><!-- ##### ENUM GtkPrivateFlags ##### --><para></para>@PRIVATE_GTK_USER_STYLE: @PRIVATE_GTK_RESIZE_PENDING: @PRIVATE_GTK_RESIZE_NEEDED: @PRIVATE_GTK_LEAVE_PENDING: @PRIVATE_GTK_HAS_SHAPE_MASK: @PRIVATE_GTK_IN_REPARENT: @PRIVATE_GTK_DIRECTION_SET: @PRIVATE_GTK_DIRECTION_LTR: <!-- ##### STRUCT GtkRcStyleClass ##### --><para></para><!-- ##### ARG GtkScrolledWindow:shadow ##### --><para></para><!-- ##### ARG GtkSettings:gtk-menu-bar-popout-delay ##### --><para></para><!-- ##### ARG GtkSettings:gtk-menu-popout-delay ##### --><para></para><!-- ##### ARG GtkSettings:gtk-menu-submenu-hysteresis ##### --><para></para><!-- ##### STRUCT GtkSettingsClass ##### --><para></para><!-- ##### USER_FUNCTION GtkSignalDestroy ##### --><para>A function which you can use to clean up when thesignal handler is destroyed.</para><para>For example, if your handler requires a few variablesthat you made into a struct and allocated (using g_new()or something), then you will probably want to freeit as soon as the hook is destroyed. This willallow you to do that. (For this in particularit is convenient to pass g_free() as a #GtkSignalDestroyfunction).</para>@data: The user data associated with the hook that is beingdestroyed.<!-- ##### USER_FUNCTION GtkSignalMarshal ##### --><para>This is currently a hack left in for a scheme wrapper library.It may be removed.</para><para>Don't use it.</para>@object: The object which emits the signal.@data: The user data associated with the hook.@nparams: The number of parameters to the function.@args: The actual values of the arguments.@arg_types: The types of the arguments.@return_type: The type of the return value from the functionor #GTK_TYPE_NONE for no return value.<!-- ##### STRUCT GtkSignalQuery ##### --><para>This structure contains all the information about a particularsignal: its name, the type it affects, the signature of the handlers,and its unique identifying integer.</para>@object_type: @signal_id: @signal_name: @is_user_signal: @signal_flags: @return_val: @nparams: @params: <!-- ##### STRUCT GtkStatusbarMsg ##### --><para>Holds the data for a statusbar message. <structfield>text</structfield> holds the actual text string. <structfield>context_id</structfield> is the context that this message is associated with, and <structfield>message_id</structfield> is this particular message's identifier. However, these fields should not be modified directly.</para>@text: @context_id: @message_id: <!-- ##### STRUCT GtkStyleClass ##### --><para>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -