Re: Gtk 3.0

2009-12-02 Thread Carlos Pereira
Thanks Javier, thanks David, Compiling with -DGSEAL_ENABLE these macros are flagged as errors: 1) GTK_WIDGET_SET_FLAGS (removed) 2) GTK_WIDGET_SENSITIVE (replaced by gtk_widget_is_sensitive or gtk_widget_get_sensitive) However, apparently they are not in the list of deprecated symbols.

Re: Gtk 3.0

2009-12-02 Thread David Nečas
On Wed, Dec 02, 2009 at 05:52:22PM +, Carlos Pereira wrote: Compiling with -DGSEAL_ENABLE these macros are flagged as errors: 1) GTK_WIDGET_SET_FLAGS (removed) 2) GTK_WIDGET_SENSITIVE (replaced by gtk_widget_is_sensitive or gtk_widget_get_sensitive) However, apparently they are not in

dotted line separating table columns in GTK 2.18

2009-12-02 Thread Alex Ignácio da Silva
Hi all, I have a GTK application (actually, I'm using Eclipse SWT) with a table widget. It seems like the recent GTK 2.18 implementation of table widgets draws a dotted line separating the table columns, as I noticed when trying my application in Ubuntu Karmic. Unfortunately this makes my widget

calling gdk_x11_drawable_get_xid() causes corruption with button_press_event handler

2009-12-02 Thread Eigo Mori
Hi, I am having trouble to catch button_press_event on gtk_drawing_area correctly after calling gdk_x11_drawable_get_xid() for the drawing_areas. Please find the sample code below. It packs 10 drawing_area and set event handlers. When you click on the drawing_area, it prints out which

Re: dotted line separating table columns in GTK 2.18

2009-12-02 Thread Kristian Rietveld
On Wed, Dec 2, 2009 at 10:52 PM, Alex Ignácio da Silva a...@ignacioalex.com wrote: It seems like the recent GTK 2.18 implementation of table widgets draws a dotted line separating the table columns, as I noticed when trying my application in Ubuntu Karmic. Unfortunately this makes my widget

Re: dotted line separating table columns in GTK 2.18

2009-12-02 Thread Alex Ignácio da Silva
Hi Kristian, See gtk_tree_view_set_grid_lines(). This is disabled by default, but for some reason Ubuntu (or the Ubuntu theme, even though the grid lines setting is not a style property) enables it by default. Unfortunately from the Java side I have no easy access to the underlying GTK

Re: dotted line separating table columns in GTK 2.18

2009-12-02 Thread Michael Cronenworth
Alex Ignácio da Silva wrote: Isn't there a way to change this behavior via an environment variable or some other mechanism not involving touching the C code? Create a ~/.gtkrc-2.0 and add style no-grid-lines { GtkTreeView::enable-grid-lines = GTK_TREE_VIEW_GRID_LINES_NONE } class

Re: dotted line separating table columns in GTK 2.18

2009-12-02 Thread Alex Ignácio da Silva
Hi Michael, Michael Cronenworth wrote: Create a ~/.gtkrc-2.0 and add style no-grid-lines { GtkTreeView::enable-grid-lines = GTK_TREE_VIEW_GRID_LINES_NONE } class GtkTreeView style no-grid-lines It isn't working for me though. Something is missing. It doesn't work for me

Re: dotted line separating table columns in GTK 2.18

2009-12-02 Thread Kristian Rietveld
On Thu, Dec 3, 2009 at 12:38 AM, Michael Cronenworth m...@cchtml.com wrote: It isn't working for me though. Something is missing. It does not work because enable-grid-lines is not a style property. regards, -kris. ___ gtk-app-devel-list mailing list

Re: dotted line separating table columns in GTK 2.18

2009-12-02 Thread Kristian Rietveld
On Thu, Dec 3, 2009 at 12:22 AM, Alex Ignácio da Silva a...@ignacioalex.com wrote: Unfortunately from the Java side I have no easy access to the underlying GTK implementation widgets, only to the wrapper SWT objects. Isn't there a way to change this behavior via an environment variable or