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 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 > some other mechanis

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 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 gtk-app-devel-

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 w

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 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 imp

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 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 render > incorrectly.

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 drawing_

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

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

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. Shoul