⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gtkwidget.sgml

📁 linux下电话本所依赖的一些图形库
💻 SGML
📖 第 1 页 / 共 3 页
字号:
        mechanism. It does not imply that the widget actually had a style         defined through the rc mechanism.@GTK_COMPOSITE_CHILD:         Indicates that the widget is a composite child of its parent; see         gtk_widget_push_composite_child(), gtk_widget_pop_composite_child().@GTK_NO_REPARENT: 	Unused since before GTK+ 1.2, will be removed in a future version.@GTK_APP_PAINTABLE:         Set and unset by gtk_widget_set_app_paintable().        Must be set on widgets whose window the application directly draws on, 	in order to keep GTK+ from overwriting the drawn stuff.@GTK_RECEIVES_DEFAULT:         The widget when focused will receive the default action and have         %GTK_HAS_DEFAULT set even if there is a different widget set as default.@GTK_DOUBLE_BUFFERED:         Set and unset by gtk_widget_set_double_buffered().        Indicates that exposes done on the widget should be double-buffered.@GTK_NO_SHOW_ALL: <!-- ##### MACRO GTK_WIDGET_TYPE ##### --><para>Gets the type of a widget.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_STATE ##### --><para>Returns the current state of the widget, as a #GtkStateType.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_SAVED_STATE ##### --><para>Returns the saved state of the widget, as a #GtkStateType.</para><para>The saved state will be restored when a widget gets sensitiveagain, after it has been made insensitive with gtk_widget_set_state()or gtk_widget_set_sensitive().</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_FLAGS ##### --><para>Returns the widget flags from @wid.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_TOPLEVEL ##### --><para>Evaluates to %TRUE if the widget is a toplevel widget.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_NO_WINDOW ##### --><para>Evaluates to %TRUE if the widget doesn't have an own #GdkWindow.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_REALIZED ##### --><para>Evaluates to %TRUE if the widget is realized.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_MAPPED ##### --><para>Evaluates to %TRUE if the widget is mapped.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_VISIBLE ##### --><para>Evaluates to %TRUE if the widget is visible.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_DRAWABLE ##### --><para>Evaluates to %TRUE if the widget is mapped and visible.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_SENSITIVE ##### --><para>Evaluates to %TRUE if the #GTK_SENSITIVE flag has be set on the widget.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_PARENT_SENSITIVE ##### --><para>Evaluates to %TRUE if the #GTK_PARENT_SENSITIVE flag has be set on the widget.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_IS_SENSITIVE ##### --><para>Evaluates to %TRUE if the widget is effectively sensitive.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_CAN_FOCUS ##### --><para>Evaluates to %TRUE if the widget is able to handle focus grabs.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_HAS_FOCUS ##### --><para>Evaluates to %TRUE if the widget has grabbed the focus and no otherwidget has done so more recently.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_CAN_DEFAULT ##### --><para>Evaluates to %TRUE if the widget is allowed to receive the default action via gtk_widget_grab_default(). </para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_RECEIVES_DEFAULT ##### --><para>Evaluates to %TRUE if the widget when focused will receive the default action even if there is a different widget set as default.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_HAS_DEFAULT ##### --><para>Evaluates to %TRUE if the widget currently is receiving the default action.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_HAS_GRAB ##### --><para>Evaluates to %TRUE if the widget is in the grab_widgets stack, and will be the preferred one for receiving events other than ones of cosmetic value.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_RC_STYLE ##### --><para>Evaluates to %TRUE if the widgets style has been looked up through the rcmechanism.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_COMPOSITE_CHILD ##### --><para>Evaluates to %TRUE if the widget is a composite child of its parent.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_APP_PAINTABLE ##### --><para>Evaluates to %TRUE if the #GTK_APP_PAINTABLE flag has been set on the widget.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_DOUBLE_BUFFERED ##### --><para>Evaluates to %TRUE if the #GTK_DOUBLE_BUFFERED flag has been set on the widget.</para>@wid: a #GtkWidget.<!-- ##### MACRO GTK_WIDGET_SET_FLAGS ##### --><para>Turns on certain widget flags.</para>@wid: a #GtkWidget.@flag: the flags to set.<!-- ##### MACRO GTK_WIDGET_UNSET_FLAGS ##### --><para>Turns off certain widget flags.</para>@wid: a #GtkWidget.@flag: the flags to unset.<!-- ##### USER_FUNCTION GtkCallback ##### --><para>The type of the callback functions used for e.g. iterating overthe children of a container, see gtk_container_foreach(). </para>@widget: the widget to operate on@data: user-supplied data<!-- ##### STRUCT GtkRequisition ##### --><para>A <structname>GtkRequisition</structname> represents the desired size of a widget. See <xref linkend="size-requisition"/> for more information.</para>@width: the widget's desired width@height: the widget's desired height<!-- ##### STRUCT GtkAllocation ##### --><para>A <structname>GtkAllocation</structname> of a widget represents region which has been allocated to the widget by its parent. It is a subregion of its parents allocation. See <xref linkend="size-allocation"/> for more information.</para>@x: the X position of the widgets area relative to its parents allocation.@y: the Y position of the widgets area relative to its parents allocation.@width: the width of the widgets allocated area.@height: the height of the widgets allocated area.<!-- ##### STRUCT GtkSelectionData ##### --><para></para>@selection: @target: @type: @format: @data: @length: @display: <!-- ##### STRUCT GtkWidgetAuxInfo ##### --><para></para>@x: @y: @width: @height: @x_set: @y_set: <!-- ##### STRUCT GtkWidgetShapeInfo ##### --><para></para>@offset_x: @offset_y: @shape_mask: <!-- ##### ENUM GtkWidgetHelpType ##### --><para></para>@GTK_WIDGET_HELP_TOOLTIP: @GTK_WIDGET_HELP_WHATS_THIS: <!-- ##### FUNCTION gtk_widget_new ##### --><para></para>@type: @first_property_name: @Varargs: @Returns: <!-- # Unused Parameters # -->@first_arg_name: <!-- ##### FUNCTION gtk_widget_ref ##### --><para></para>@widget: @Returns: <!-- ##### FUNCTION gtk_widget_unref ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_destroy ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_destroyed ##### --><para></para>@widget: @widget_pointer: <!-- ##### FUNCTION gtk_widget_set ##### --><para></para>@widget: @first_property_name: @Varargs: <!-- # Unused Parameters # -->@first_arg_name: <!-- ##### FUNCTION gtk_widget_unparent ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_show ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_show_now ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_hide ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_show_all ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_hide_all ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_map ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_unmap ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_realize ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_unrealize ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_queue_draw ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_queue_resize ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_queue_resize_no_redraw ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_draw ##### --><para></para>@widget: @area: <!-- ##### FUNCTION gtk_widget_size_request ##### --><para></para>@widget: @requisition: <!-- ##### FUNCTION gtk_widget_get_child_requisition ##### --><para></para>@widget: @requisition: <!-- ##### FUNCTION gtk_widget_size_allocate ##### --><para></para>@widget: @allocation: <!-- ##### FUNCTION gtk_widget_add_accelerator ##### --><para></para>@widget: @accel_signal: @accel_group: @accel_key: @accel_mods: @accel_flags: <!-- ##### FUNCTION gtk_widget_remove_accelerator ##### --><para></para>@widget: @accel_group: @accel_key: @accel_mods: @Returns: <!-- ##### FUNCTION gtk_widget_set_accel_path ##### --><para></para>@widget: @accel_path: @accel_group: <!-- ##### FUNCTION gtk_widget_list_accel_closures ##### --><para></para>@widget: @Returns: <!-- ##### FUNCTION gtk_widget_can_activate_accel ##### --><para></para>@widget: @signal_id: @Returns: <!-- ##### FUNCTION gtk_widget_event ##### --><para></para>@widget: @event: @Returns: <!-- ##### FUNCTION gtk_widget_activate ##### --><para></para>@widget: @Returns: <!-- ##### FUNCTION gtk_widget_reparent ##### --><para></para>@widget: @new_parent: <!-- ##### FUNCTION gtk_widget_intersect ##### --><para></para>@widget: @area: @intersection: @Returns: <!-- ##### FUNCTION gtk_widget_is_focus ##### --><para></para>@widget: @Returns: <!-- ##### FUNCTION gtk_widget_grab_focus ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_grab_default ##### --><para></para>@widget: <!-- ##### FUNCTION gtk_widget_set_name ##### --><para></para>@widget: @name: <!-- ##### FUNCTION gtk_widget_get_name ##### --><para></para>@widget: @Returns: <!-- ##### FUNCTION gtk_widget_set_state ##### --><para></para>@widget: @state: <!-- ##### FUNCTION gtk_widget_set_sensitive ##### --><para></para>@widget: @sensitive: <!-- ##### FUNCTION gtk_widget_set_parent ##### --><para></para>@widget: @parent: <!-- ##### FUNCTION gtk_widget_set_parent_window ##### --><para></para>@widget: @parent_window: <!-- ##### FUNCTION gtk_widget_get_parent_window ##### --><para></para>@widget: @Returns: <!-- ##### FUNCTION gtk_widget_set_uposition ##### --><para></para>@widget: @x: @y: <!-- ##### FUNCTION gtk_widget_set_usize ##### --><para></para>@widget: @width: @height: <!-- ##### FUNCTION gtk_widget_set_events ##### --><para></para>@widget: @events: <!-- ##### FUNCTION gtk_widget_add_events ##### --><para></para>@widget: @events: <!-- ##### FUNCTION gtk_widget_set_extension_events ##### --><para></para>@widget: @mode: <!-- ##### FUNCTION gtk_widget_get_extension_events ##### --><para></para>@widget: @Returns: <!-- ##### FUNCTION gtk_widget_get_toplevel ##### --><para></para>@widget: @Returns: <!-- ##### FUNCTION gtk_widget_get_ancestor ##### --><para></para>@widget: @widget_type: @Returns: <!-- ##### FUNCTION gtk_widget_get_colormap ##### --><para></para>@widget: @Returns: <!-- ##### FUNCTION gtk_widget_set_colormap ##### --><para></para>@widget: @colormap: <!-- ##### FUNCTION gtk_widget_get_visual ##### --><para></para>@widget: @Returns: <!-- ##### FUNCTION gtk_widget_get_events ##### --><para></para>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -