[no subject]

2009-08-31 Thread Shawn Bakhtiar
Hi all, I have been working on developing an in-house ERPish application. I am using GTK as the front end, and with much scope creep, two years later, we are about to go production. We started on the Linux desktops but they lost out to the IMAC (all back end is still Linux). while

RE: Thumbnailing service project; opinions, suggestions?

2009-10-19 Thread Shawn Bakhtiar
Hi Mark, It sounds like you are going to do, what you are going to do, and though it is of great benefit to you, I suppose I would ask the questions (in agreement with the last post on this): 1) how does this improve the current development track at least for thumbnail generation? There

RE: Thumbnailing service project; opinions, suggestions?

2009-10-20 Thread Shawn Bakhtiar
[ CUT ] Sorry to keep chiming in, but regrading the statement: you just don't seem to get the point. I need to build something from the ground up (making uml, class diagrams and such).. and based on that i need to make the actual program. Tumbler is existing already! i would be making

RE: Question about the default title of a GTK window

2009-10-20 Thread Shawn Bakhtiar
Hey pals, I am a new comer on GTK things. I have some questions about it, would any one have time taking me over it? Here is it: 1, What is the default title of a GTK window? I mean, if there is no string was assigned to title of a GTK window, what will be exposed in the title bar of said

RE: Building Gtk-OSX (was: Intricate changes to Quartz/OSX backend)

2009-10-26 Thread Shawn Bakhtiar
Very Sweet guys Last I tried Snow Leopard I was not able to get past the bootstrap / build process (a couple of a months ago). I am going to spend the rest of the day re-building the environment, and our application to see if this is all works on OS X 10.6 Snow Kitty (SL). I don't

RE: error building git head GTK on OS X ... IM symbols missing etc.

2009-10-27 Thread Shawn Bakhtiar
On clean copy of SL (upgraded) Xcode 3.2: downloaded and ran: prompt sh gtk-osx-build-setup.shprompt export PATH=$PATH:/Users/sbakhtiar/.local/binprompt jhbuild bootstrapprompt jhbuild build meta-gtk-osx-bootstrapprompt jhbuild build meta-gtk-osx-core libtool: compile: gcc -DHAVE_CONFIG_H

RE: error building git head GTK on OS X ... IM symbols missing etc.

2009-10-27 Thread Shawn Bakhtiar
building git head GTK on OS X ... IM symbols missing etc. From: k...@gtk.org Date: Tue, 27 Oct 2009 17:31:03 +0100 CC: jra...@ceridwen.us; gtk-devel-list@gnome.org To: shashan...@hotmail.com On Oct 27, 2009, at 5:25 PM, Shawn Bakhtiar wrote: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I

RE: error building git head GTK on OS X ... IM symbols missing etc.

2009-10-27 Thread Shawn Bakhtiar
the help. EMAILING FOR THE GREATER GOOD Join me Subject: Re: error building git head GTK on OS X ... IM symbols missing etc. From: k...@gtk.org Date: Tue, 27 Oct 2009 17:31:03 +0100 CC: jra...@ceridwen.us; gtk-devel-list@gnome.org To: shashan...@hotmail.com On Oct 27, 2009, at 5:25 PM, Shawn

RE: error building git head GTK on OS X ... IM symbols missing etc.

2009-10-27 Thread Shawn Bakhtiar
:31:03 +0100 CC: jra...@ceridwen.us; gtk-devel-list@gnome.org To: shashan...@hotmail.com On Oct 27, 2009, at 5:25 PM, Shawn Bakhtiar wrote: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN= \GLib\ -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED - DGLIB_COMPILATION

RE: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Shawn Bakhtiar
On Nov 9, 2009, at 7:10 PM, Jack Skellington wrote: Hello All I'm currently in charge of the development of a cross-platform OpenGL app which uses GTk+ for it's interface. The app runs on both *nix/X.org and win32 but when I started looking into OS X I found that the Quartz OS X

RE: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Shawn Bakhtiar
To build the latest framework: 1) Get the latest using jhbuild and build 2) http://github.com/jralls/gtk-osx-framework/tree/master/framework/ I think I was able to build the frameworks and compile against them using the Xcode IDE, but I prefer using make and the command line myself. Actually

RE: Gtk-OSX Frameworks (was: Why are developers...)

2009-11-10 Thread Shawn Bakhtiar
For building an application... I couldn't agree more, about the framework vs. jhbuild and autotools. You definitely want the latter. I like XCode's editor. when looking at source code (the colors man the colors). It also has a lot of nice features such as collapsible sections, an intuitive way

RE: RFC: Adding zlib dependency to libgio

2009-11-10 Thread Shawn Bakhtiar
LOL... amen man.. NO MFC please! EMAILING FOR THE GREATER GOOD Join me Date: Mon, 9 Nov 2009 23:03:14 -0500 Subject: Re: RFC: Adding zlib dependency to libgio From: p...@linuxaudiosystems.com To: al...@redhat.com CC: gtk-devel-list@gnome.org; thi...@kde.org On Mon, Nov 9, 2009

RE: Gtk-OSX Frameworks (was: Why are developers...)

2009-11-10 Thread Shawn Bakhtiar
...@juvul.com Date: Tue, 10 Nov 2009 18:20:26 +0100 CC: gtk-devel-list@gnome.org To: shashan...@hotmail.com On Nov 10, 2009, at 4:46 PM, Shawn Bakhtiar wrote:For building an application... I couldn't agree more, about the framework vs. jhbuild and autotools. You definitely want the latter. I like XCode's

RE: differences between Glade and GtkBuilder

2009-12-02 Thread Shawn Bakhtiar
On Dec 1, 2009, at 1:01 PM, Shawn Bakhtiar wrote: Previously, I was able to open a Glade XML file with multiple top level windows, and only load the specific window I wanted from within that file. I have tried to re-write this routine, however, every time a call is made

RE: Random crashes when printing on OS X

2010-02-04 Thread Shawn Bakhtiar
I am now also getting this when I print, after having added a cairo_clip() to bound my drawings into a (0,0),(1,1) region. But I do not get it when I am displaying to screen, only printing, and I use the same function for both, one simply gets the cairo_t from the drawing area, the other

RE: gtk+-2.18, win32, and OpenGL

2010-02-15 Thread Shawn Bakhtiar
FYI --- The same thing happens on the OS X version using the Native GTK (NON X Windows). No mater where the widget. It always takes up the entire windows, and does not respond to mouse input. Could it be that the issue is not platform specific? EMAILING FOR THE GREATER GOOD Join me

RE: GTK+ at the UX Hackfest

2010-03-03 Thread Shawn Bakhtiar
Frankly Thomas has given the best opinion on this. The idea behind the widget set should be to provide the MINIMAL REQUIRED functionality to address the mundane job of programming you own interface. HOWEVER, IMHO, if you want the library to do everything for you, then it will become bloated

Print dialog hangs for several seconds before activating

2010-06-09 Thread Shawn Bakhtiar
For some reason the Print dialog hangs for several seconds before fully activating. During this period I am unable to push any buttons and on my OS X 10.6.3, I get the little color wheel. After a few seconds, The dialog pops bigger, with several added tabs show up at the top (printer info).

RE: [Gtk-osx-users] Print dialog hangs for several seconds before activating

2010-06-10 Thread Shawn Bakhtiar
Thanks Guys! This looks like it solved my problem. I had to apply the patch manually (GTK 2.18 on OS X 10.6.3 using jhbuild). No more hangs in the print dialog... my users will be singing your blessing. So the patch works, and from the bug it is has already been committed since 2.22. If it

RE: New widget proposal: GtkLiveSearch

2010-06-14 Thread Shawn Bakhtiar
Cocoa AppKit (OS X) has a controller object called NSSearchField, sounds very much the same. Perhaps a similar concept could be implemented? I agree that I would like to be able to control the actual equality used for search and / or sort.

RE: Why is GCompletion deprecated

2010-06-28 Thread Shawn Bakhtiar
From and outsiders perspective I too would absolutely LOVE this feature. Not just in GTK, but in OS X as well. the OS X NSSearchField however (to my shock!) does not implement this functionality either. Apple has exposed this in the NSTextView (with spell check et al...) which is akin to

RE: GDK_NATIVE_WINDOWS not working under Windows

2010-08-02 Thread Shawn Bakhtiar
I think what he is saying is that GTK can not do it, using Windows, and last I experienced it can not do it on OS X either. In fact it fails in almost the exact same way you wrote (the GL window takes over the entire top level). This indeed may very well be due to the problems you mentioned,

RE: Gtk-OSX (was: Website proposal for usability)

2010-08-27 Thread Shawn Bakhtiar
I am just a humble user of GTK, I have yet to develop the skills to contribute, but half way through the development of our app, we moved to OS X, from linux. Reason: Faster, better looking interface, much better looking chassis. You tell'm John, and thanks for all the hard work to you and

RE: Gtk-OSX

2010-09-01 Thread Shawn Bakhtiar
You tell'm John I think the key point here is: The reason that this thread (and similar ones in the past) get going is largely because of false advertising: Gtk+ claims to be a cross-platform toolkit. The GTK+ site clearly advertises the product as a cross-platform toolkit.

RE: Gtk-OSX

2010-09-01 Thread Shawn Bakhtiar
CC: gtk-devel-list@gnome.org Hello Shawn, 2010/9/1 Shawn Bakhtiar shashan...@hotmail.com: You tell'm John I think the key point here is: The reason that this thread (and similar ones in the past) get going is largely because of false advertising: Gtk+ claims to be a cross-platform

RE: pixbuf-cairo_surface_t conversion

2010-09-03 Thread Shawn Bakhtiar
Sorry this may be a very inept question: How will this effect integration with OpenGL. I know we use a lot of get/sets on pixels buffers; off screen rendering, textured (especial animated) and tricks. You want and need that raw data access. taking it way I think would also break GTKGLExt if I

RE: GTK and OSX: a call to sanity

2011-09-07 Thread Shawn Bakhtiar
EmmanuelYour an ass (as in donkey) But don't be offended by my tone, I only say this because I care about what happens the the OS X version of GTK. John has been working his tail off, all the while responding to dump developers like me, while I can't get a tweet out of an elites

RE: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread Shawn Bakhtiar
I've sort of followed this chain sorry if I am rehashing something that has already been covered. IMHO I agree that GtkGLExt should be directly integrated into GTK. Most modern user interfaces (IE OS X (NextStep)) are integrating 3D directly into the windowing system. If I am not mistaken

RE: GtkGLExt (was Re: Gtk 3.0)

2009-12-07 Thread Shawn Bakhtiar
Well... this seems to turn on a few flames... so let me put some of this to rest. For anyone to say OpenGL is niche, and does not apply to everyday apps, I again remind you of iChat and the OS X Panel. Granted it has only recently found prominence in the desktop but it is quickly making way as

Random memory allocation error

2009-12-26 Thread Shawn Bakhtiar
At what appears to be random locations in a program which runs thought 24000 components, and breaking out the formulas in to there raw material components (formulations table of about 200,000 formulation lines, I see this error message: malloc: *** error for object 0xe41074: incorrect

RE: Random memory allocation error

2009-12-26 Thread Shawn Bakhtiar
: Re: Random memory allocation error On Sat, 26 Dec 2009, Shawn Bakhtiar wrote: At what appears to be random locations in a program which runs thought 24000 components, and breaking out the formulas in to there raw material components (formulations table of about 200,000 formulation

RE: [GtkGLExt] Window size issue

2010-01-30 Thread Shawn Bakhtiar
I know someone brought this up before. I don't recall if there was a resolution to it or not. I have successfully patched and compiled the latest from the GtkGLExt git repo and running on OS X Snow Leopard (10.6), although I am use the 10.5 building to the 368 architecture. However, any

Random crashes when printing on OS X

2010-02-04 Thread Shawn Bakhtiar
I am using the GtkPrint* functions to print. However at what seems to be random occurrences the application crashes with the following error: Gdk:ERROR:gdkeventloop-quartz.c:559:select_thread_collect_poll: assertion failed: (ufds[i].fd == current_pollfds[i].fd) Abort trap When the user

RE: Random crashes when printing on OS X

2010-02-04 Thread Shawn Bakhtiar
I am now also getting this when I print, after having added a cairo_clip() to bound my drawings into a (0,0),(1,1) region. But I do not get it when I am displaying to screen, only printing, and I use the same function for both, one simply gets the cairo_t from the drawing area, the other

RE: How I can do Double Buffer whether OpenGl Ext?

2010-02-09 Thread Shawn Bakhtiar
From the logo example: /* * Configure OpenGL-capable visual. */ /* Try double-buffered visual */ glconfig = gdk_gl_config_new_by_mode (GDK_GL_MODE_RGB| GDK_GL_MODE_DEPTH |

RE: How I can do Double Buffer without OpenGL Ext?

2010-02-11 Thread Shawn Bakhtiar
Well in the good old days, when we did have all these fancy smancy libraries ( :P ) we use to double buffer graphics by drawing to an off screen bitmap or any compatible context (to that of the screen) and then simply copy that context to the screen. I.E. 1) Create a new GtkBitmap, 2) Draw

RE: gtk+-2.18, win32, and OpenGL

2010-02-15 Thread Shawn Bakhtiar
FYI --- The same thing happens on the OS X version using the Native GTK (NON X Windows). No mater where the widget. It always takes up the entire windows, and does not respond to mouse input. Could it be that the issue is not platform specific? EMAILING FOR THE GREATER GOOD Join me

RE: how to draw something on GtkDrawingArea when I click a button?

2010-03-19 Thread Shawn Bakhtiar
As a matter of fact. I would suggest using Cairo. Which will allow you to then draw in any context (IE Printer, PDF, etc...) /* Local Variables */ cairo_t *cr;/* Rendering context derived from widget */ /* Get the context to which we need to draw */ cr =

RE: displaying a number on screen

2010-03-29 Thread Shawn Bakhtiar
Try retreiving the cairo context for the widget you want to draw in and try this: /* Create the default Layout */ layout = pango_cairo_create_layout(cr); /* Atach the font descriptor */ font_description = pango_font_description_new(); /* Setup Fonts and color and other

RE: GdkOffscreenWindow and texture_from_pixmap extension

2010-04-02 Thread Shawn Bakhtiar
Juan, Let me know if you find a good way to do this with GtkGLExt, it is something I need to do on the OS X platform. I think this will help you, here is where I first came across on the apple devnet:

RE: different data types between clist and mysql.

2010-04-20 Thread Shawn Bakhtiar
Ran into same problem. I use a structure like _IsiField { int type, int pos, int } Then create my own list with _IsiList { GList Fields; GList rows; } Every time retrieve a set of values, I have a routing which sets type to a G_TYPE, which corresponds to the MYSQL_TYPE

RE: different data types between clist and mysql.

2010-04-21 Thread Shawn Bakhtiar
FYI for OSX users I had to install the GNU Readline for Libgda for this to compile. without GNU Readline it popes the following error: /bin/sh ../libtool --tag=CC --mode=link gcc -arch i386 -I/Developer/SDKs/MacOSX10.5.sdk/usr/include -isysroot /Developer/SDKs/MacOSX10.5.sdk

RE: Multi-platform dbus (was: Ige-mac-integration: New version with Cocoa interface available)

2010-05-20 Thread Shawn Bakhtiar
Sorry for my naivete But I have been building some of our application tool sets in native Cocoa (the printing industry is exclusively MAC, with little room for anything else). The question being, in the standard Cocoa application framework you never actually derive the NSApplication

RE: How to change color of GtkCellRendererProgress ?

2010-08-02 Thread Shawn Bakhtiar
Sorry this is a bad answer. Of course you can do this!! and that is no reason not to use GTK. You can use the themes, or if you need individual progress bars to be different colors, you can easily derive a GtkCellRenderProgressFooBar class from the GtkCellRendererProgress, which does this,