After 2-3 hours of running my application runs into gdk_x_error.
I'm using :
gtk+2.8.16, pango-1.12.0, glib-2.10.1, cairo-1.0.2, atk-1.11.3,
glibc-2.3.2, pthreads
compiled with gcc 3.3.4 (from scratchbox)
I found only one thing:
- removing call to gtk_label_set_markup inside timer funcion
Hi all,
After calling gtk_widget_show_all () on the top level window, I
am able to change the cursor in an enclosed GtkTextView window by
doing:
GdkCursor *cursor = gdk_cursor_new (GDK_LEFT_PTR) ;
GdkWindow *window = gtk_text_view_get_window (text_view,
GTK_TEXT_WINDOW_TEXT) ;
Erik de Castro Lopo wrote:
Unfortunately, doing this after the top level call to
gtk_widget_show_all () is a PITA and doing before fails because
the call to gtk_text_view_get_window () returns NULL.
While searching for something else I found a way to do this
using g_signal_connect_after() to
Hello all,
I try to create animation using GtkCellPixmap in GtkTreeView using next
code:
angle += PIXMAP_ROTATE_STEP;
rotated_pixbuf = pixmap_rotate (original_pixbuf, angle);
gtk_list_store_set (GTK_LIST_STORE (tree_model), iter,
Hi,
I had a function to refresh some widgets. Inside this function I perfomed a
gdk_threads_enter() / gdk_threads_leave() to prevent access from the
secondary thread.
update()
{
gdk_threads_enter()
...
...
gdk_threads_leave()
}
I wanted to reuse this function from a callback, but since
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi list.
I used to set the hotkeys of buttons by settig an underscore before
the letter on the label and to set the accels with glade.
I wanted to do this for the GtkToolButtons in my main toolbar of my
main window, but the underscore is ignored and