RE: GtkTreeView Path Ambiguity (Header vs First Row )

2010-06-10 Thread Paul Stuart
Wow #1: That works perfectly, thanks Wow #2: I can't believe I didn't try that sooner. Wasted s much time! From: Tadej Borovšak [tadeb...@gmail.com] Sent: Thursday, June 10, 2010 2:11 PM To: Paul Stuart Cc: gtk-list@gnome.org Subject: Re: G

RE: GtkTreeView Path Ambiguity (Header vs First Row )

2010-06-10 Thread Paul Stuart
rsday, June 10, 2010 1:11 PM To: Paul Stuart Cc: gtk-list@gnome.org Subject: Re: GtkTreeView Path Ambiguity (Header vs First Row ) Hi. > It turns out that it isn't so much returning a path of "0" for the header, > it's returning the last valid path the treeview had. For ins

RE: GtkTreeView Path Ambiguity (Header vs First Row )

2010-06-10 Thread Paul Stuart
_ From: Tadej Borovšak [tadeb...@gmail.com] Sent: Thursday, June 10, 2010 12:32 PM To: Paul Stuart Cc: gtk-list@gnome.org Subject: Re: GtkTreeView Path Ambiguity (Header vs First Row ) Hi. > When we print out the string name of path in our GtkTreeView, we see "0" for &g

GtkTreeView Path Ambiguity (Header vs First Row )

2010-06-10 Thread Paul Stuart
Hi, When we print out the string name of path in our GtkTreeView, we see "0" for the header and "0" for the first row in the model. How does one distinguish between the two without resorting to hackish workarounds? Thanks! Paul ___ gtk-list mailing lis

Clarification on when to unref pixbufs -GtkIconView

2010-05-18 Thread Paul Stuart
Hi, I am loading a pixbuf from a file, scaling it and then sticking it into a GtkIconView. A snippet of code: . . . . newPixBuf= gdk_pixbuf_new_from_file ("myImage.png", &err); scaledPixBuf = gdk_pixbuf_scale_simple(newPixBuf, ICON_VIEW_W, ICON_VIEW_H, GDK_INTERP_BILINEAR);

RE: Recent gtk+ on DirectFB

2010-04-08 Thread Paul Stuart
We use GTK+-2.16.6 with DirectFB. Not saying that's the latest version that will work, it's just the last version we've cross compiled. From: gtk-list-boun...@gnome.org [gtk-list-boun...@gnome.org] On Behalf Of Ersin Akinci [ersin.aki...@gmail.com] Sent:

Why no gtkbutton cell renderer?

2009-10-05 Thread Paul Stuart
Hi There, I was surprised to find that there is no gtkcellrenderer implementation for a gtkbutton. I understand that one can create a custom cell renderer, but is there a reason why this isn't part of the vanilla set of cell renderers? Seems like a useful widget to have. Just curious/hopeful s

RE: round buttons

2009-09-21 Thread Paul Stuart
You can apply styles to specific widgets in your theme resource file, ala: widget "windowMain.fixedContainerMain.myButton" style : highest "coolButtonStyle" That will only effect "myButton" and not the other, standard buttons. From: gtk-list-boun...@gnom

GtkTreeView : Create a child row with different model than it's parent row?

2009-09-17 Thread Paul Stuart
Hi, I have a treeview interface with five or so columns of "stuff" (text) that spans the screen -easy- but I'd like to have the child of that row be a single progress bar that also spans the length of the screen. If I just create a column for the progress bar, when the row is expanded, the

Cache/Save parsed Gtk Builder file?

2009-05-01 Thread Paul Stuart
Hi, We are (finally) to the point where our glade-defined UI is not changing often. The downside of that is now builder has to parse the unchanging ui definition each time the app starts up, which burns a fair amount of time (10 seconds, running on an embedded system). Any ideas/advice fo

RE: Wrong Exif Id in io-jpeg.c?

2009-03-16 Thread Paul Stuart
n Mon, 16 Mar 2009, Paul Stuart wrote : >But, in io-jpeg, they've defined: >#define EXIF_IDENT_STRING "Exif\000\000" > >which in hex would be 0x457869660030 by my count. I'm not quite sure how you reckon that. Escaped numbers in C strings are evaluated as octal, s

Wrong Exif Id in io-jpeg.c?

2009-03-16 Thread Paul Stuart
Hi, Per the Exif specification, and the comments within io-jpeg.c, the 6 byte Exif Marker (APP1 marker) should be 0x45786966, or "Exif\0\0". But, in io-jpeg, they've defined: #define EXIF_IDENT_STRING "Exif\000\000" which in hex would be 0x457869660030 by my count. In the code that foll

Gtk widget focus-line "sticks"

2008-12-04 Thread Paul Stuart
Hi, I'm using GTK version 2.10 with directfb 1.3 and using the murrine theme engine. This is on a TI DM355, if that matters. The problem is the focus outline "sticks" on pretty much every widget except for buttons. So for a typical window with slider bars, combo boxes, and so on, as I move fo

RE: expose event

2008-09-26 Thread Paul Stuart
Hi, Not sure if this will solve your particular problem, but I had a similar issue with images disappearing at one point. The solution was to put the image widget into an event box so it would get the redraw event. paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Gtk Responsiveness

2008-09-25 Thread Paul Stuart
Hi, I'm running Gtk+directfb on a TI dm355. Looks great, but the response time for my UI is sluggish (lag time between button press and screen update). I've tried different engines (industrial, crux, clearlooks) and have found they slow things down or speed things up to a varying degree. Any

RE: Large GTK Application design tips

2008-09-12 Thread Paul Stuart
Great, thanks for the advice! I'm curious; a number of people have recommended to "make your own widget". Is this recommendation purely to give one's application a unique feel, or is there an efficiency gain to be had in creating a custom widget? Thanks again for the great tips everyone has giv

RE: Large GTK Application design tips

2008-09-11 Thread Paul Stuart
thony [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2008 2:05 PM To: Paul Stuart; gtk-list@gnome.org Subject: RE: Large GTK Application design tips Hi Paul, I led a very large government project using GTK+ and C++ with great success. I don't know of any docs on the subject, but he

Large GTK Application design tips

2008-09-11 Thread Paul Stuart
Hi, I'm about to embark on designing a large application that will use GTK+. I was wondering if there are any resources out there that might have tips on architecture practices specific to GTk+, style guides, etc. I've written small apps, but I'm curious about how things scale up. Any pointers