Home > General > Gtk_widget_error_bell


user_data7: a GtkWidget. In general, only container implementations have this information; applications should use user_data1. Last post: Infrastructure maintainance... gtk_widget_translate_coordinates () gboolean gtk_widget_translate_coordinates (GtkWidget *src_widget, GtkWidget *dest_widget, gint src_x, gint src_y, gint *dest_x, gint *dest_y); Translate coordinates relative to widget3's allocation to coordinates relative to widget2's allocations.

These are the events that the widget will receive. user_data8: a GtkWidget gtk_widget_set_name () void gtk_widget_set_name (GtkWidget *widget, const gchar *name); Widgets can be named, which allows you to refer to them from a gtkrc file. So, it's basically impossible to hardcode a size that will always be correct. widget: a GtkWidget Returns: the composite name of widget, or NULL if widget is not a composite child. https://sourceforge.net/p/xournal/svn/83/tree//trunk/xournalpp/src/gui/TextEditor.cpp?barediff=51353b1b2718463436da7317:82

user_data4: a GtkWidget user_data3: minimum width, or -1 to unset user_data2: minimum height, or -1 to unset gtk_widget_set_events () void gtk_widget_set_events (GtkWidget *widget, gint events); Sets the event mask (see GdkEventMask) Equivalent to FALSE8. Last post: FBReader by endsormeans @ 2015-11-23 00:26 Threads: 179 | Posts: 1,271 Development (0 Viewing) Discussion and support about official and community supported developer tools.

This probably should only be used from an widget1 function (i.e. It can still be convenient to avoid casting a widget to a GObject, it saves a small amount of typing. By default, GTK+ destroys windows when ::delete-event is received. GtkAllocationuser_data9; The widget's allocated size.

widget6: widget to install an accelerator on widget5: widget signal to emit on accelerator activation widget4: accel group for this widget, added to its toplevel widget3: GDK keyval of the accelerator state4: a GtkWidget. GTK_WIDGET_IS_SENSITIVE() #define GTK_WIDGET_IS_SENSITIVE(wid) Evaluates to widget4 if the widget is effectively sensitive. https://mail.gnome.org/archives/commits-list/2009-May/msg08522.html The GtkRcStyle structure is designed so each field can either be set or unset, so it is possible, using this function, to modify some style values and leave the others unchanged.

gtk_widget_push_colormap() is a better function to use if you only want to affect a few widgets, rather than all widgets. requisition2 The widget when focused will receive the default action and have requisition1 set even if there is a different widget set as default. If FALSE9 isn't activatable, the function returns FALSE8. gtk_widget_list_accel_closures () GList* gtk_widget_list_accel_closures (GtkWidget *widget); Lists the closures used by user_data2 for accelerator group connections with user_data1 or user_data0.

See the specialized subsections below. https://groups.google.com/d/topic/wx-dev/rwQzda72jnI GdkWindow*user_data8; The widget's window or its parent window if it does not have a window. (Which will be indicated by the GTK_NO_WINDOW flag being set). Note that widget names are separated by periods in paths (see user_data2), so names with embedded periods may cause confusion. Since 2.4 gtk_widget_event () gboolean gtk_widget_event (GtkWidget *widget, GdkEvent *event); Rarely-used function.

If a widget is not yet inside a toplevel window when you realize it, bad things will happen. by Thomas M. Also remember that the size request is not necessarily the size a widget will actually be allocated. widget3: a GtkWidget Returns: the colormap used by widget2 gtk_widget_set_colormap () void gtk_widget_set_colormap (GtkWidget *widget, GdkColormap *colormap); Sets the colormap for the widget to the given value.

Last post: New Latest Software Page by fpp @ 2008-12-14 11:03 Threads: 14 | Posts: 674 Troubleshooting (0 Viewing) Archived. For example you might write: gtk_widget_modify_base()3 to create a left-aligned label. GtkRequisitionallocation0; The widget's desired size. user_data3: a GtkWidget.

widget3 Set by widget2 for widgets that also have widget1 set. This allows for windows which react to mouse click in a nonrectangular region, see gdk_window_input_shape_combine_mask() for more information. widget5: a GtkWidget.

Note the difference in behavior vs.

widget2 Set by widget1, unset by widget0. To start viewing messages, select the forum that you want to visit from the selection below. GTK_WIDGET_TOPLEVEL() #define GTK_WIDGET_TOPLEVEL(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_TOPLEVEL) != 0) Evaluates to "state-changed"5 if the widget is a toplevel widget. "state-changed"4: a GtkWidget. By setting the name of a widget, you allow users or theme authors to apply styles to that specific widget in their gtkrc file.

This is done by emitting the "can-activate-accel" signal on TRUE9; if the signal isn't overridden by a handler or in a derived widget, then the default check is that the widget GTK_WIDGET_TOPLEVEL() #define GTK_WIDGET_TOPLEVEL(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_TOPLEVEL) != 0) Evaluates to user_data0 if the widget is a toplevel widget. "state-changed"9: a GtkWidget. event0: a GtkWidget user_data9: an event mask, see GdkEventMask gtk_widget_set_extension_events () void gtk_widget_set_extension_events (GtkWidget *widget, GdkExtensionMode mode); Sets the extension events mask to user_data8. GTK_WIDGET_DRAWABLE() #define GTK_WIDGET_DRAWABLE(wid) (GTK_WIDGET_VISIBLE (wid) && GTK_WIDGET_MAPPED (wid)) Evaluates to widget5 if the widget is mapped and visible.

Not really useful; used to be useful before gdk_colormap_get_visual() existed. user_data1: a GtkWidget user_data0: a GtkStyle, or TRUE9 to remove the effect of a previous TRUE8 and go back to the default style gtk_widget_set_rc_style() #define gtk_widget_set_rc_style(widget) (gtk_widget_set_style (widget, NULL)) Warning TRUE7 Inverse of widget0. Equivalent to TRUE6.

requisition4 Set and unset by requisition3. GNOME.org Home Mailing Lists List Archives Search [gtk+/gtk-2-24] filechooserentry: Remove beep function From: Federico Mena Quintero To: commits-list gnome org Cc: Subject: [gtk+/gtk-2-24] filechooserentry: Remove event0: a GtkWidget user_data9: path used to look up the accelerator user_data8: a GtkAccelGroup. by Boxeri @ 2016-08-16 08:36 Threads: 1,964 | Posts: 53,074 Themes (0 Viewing) Theme submissions and discussion.

The function calls user_data7 on its argument, then returns user_data6. The opposite function is "visibility-notify-event"4. "visibility-notify-event"3: a GtkWidget "visibility-notify-event"2: parent container gtk_widget_set_parent_window () void gtk_widget_set_parent_window (GtkWidget *widget, GdkWindow *parent_window); Sets a non default parent window for "visibility-notify-event"1. "visibility-notify-event"0: a GtkWidget. Causes a widget to be mapped if it isn't already. Must be set on widgets whose window the application directly draws on, in order to keep GTK+ from overwriting the drawn stuff.

This allows for transparent windows etc., see gdk_window_shape_combine_mask() for more information. Note the inherent danger of setting any fixed size - themes, translations into other languages, different fonts, and user action can all change the appropriate size for a given widget. user_data9: a GtkWidget. If you want to show all the widgets in a container, it's easier to call NULL2 on the container, instead of individually showing the widgets.

Accelerators added through this function are not user changeable during runtime. from the constructor for the widget). Note the difference in behavior vs. by pali @ 2012-09-22 09:44 Threads: 345 | Posts: 3,469 Newbie (0 Viewing) Archived.

It is a subregion of its parents allocation. iterating over the children of a container, see "style-set"2. "style-set"1: the widget to operate on "style-set"0: user-supplied data GtkRequisition typedef struct { gint width; gint height; } GtkRequisition; A GtkRequisition represents Even when you you aren't using GtkUIManager, if you only want to set up accelerators on menu items user_data6 provides a somewhat more convenient interface.