Re: How to set cursor color in GtkEntry?

2005-02-11 Thread Zeeshan Ali
Hello, I used to do such a thing and my way of doing such stuff was using gtkrc files (which is what i still use). There are two arrays that you need to set here: text and fg. Set them both to black for all possible indexes and I think you'll get the behavior you want. Here is a how the

A bug in Gtk+?

2005-02-20 Thread Zeeshan Ali
Hello, In a gtk+ app of mine, i was facing strange dead-locks problems. I was astonished to see that just removing the call to gdk_threads_init, the problems vanished. I am attaching a sample test program that re-produces the same problem. It seems more like a bug in the gtk+ rather than my

Re: A bug in Gtk+?

2005-02-22 Thread Zeeshan Ali
Hello, Hmm.. I thought that email with attachments goes through the moderation. Anyway, I have uploaded it here: http://www.geocities.com/zeelists/thread-problem.c . Kindly have a look at it. Thanks. ___ gtk-app-devel-list mailing list

Re: A bug in Gtk+?

2005-02-22 Thread Zeeshan Ali
Hello, On Tue, 22 Feb 2005 15:22:50 +0100, Stefan Kost [EMAIL PROTECTED] wrote: Are you sure? Yeah I am sure and thats why i suspect that it may be pointing to a bug in gtk+. Why don't you try it youself? Shouldn't take 15 mins. :) ___

Re: A bug in Gtk+? (+ OT suff)

2005-02-23 Thread Zeeshan Ali
Hello, Please, forgive my OT question, but I'm going to start a gtk+ project involving the use of a smart card reader and I'd very happy to know your suggestions about linux supported hardware. Welcome to the gang! Sorry to dissappoint you but I too am very new to all this. So far i've

GNOME Indentation Style

2005-04-29 Thread Zeeshan Ali
Hello everyone, According to the article GNOME Programming Guidelines, the gnome hackers prefer the Linux kernel indentation style: For core GNOME code we prefer the Linux kernel indentation style. But comparing the gtk+ sources with that of the kernel, i see some major differences, e.g

Re: how to clear the pixmap window

2005-05-19 Thread Zeeshan Ali
Hello, You can use g_object_unref(), to destroy this widget, so that the window refreshes itself, or paint the pixmap with one of the gdk_drawable_* API to fill the pixmap with some color, you call as refreshing. destroy the widget to refresh it's window? Are you serious?

Re: Glade C code a bad thing? (was: root windows)

2005-05-31 Thread Zeeshan Ali
on this list) since it open's up a new possiblity: you'll then be able to write your GUI in XML and getting it transformed into the source-code without using any GUI utility. :) -- Regards, Zeeshan Ali ___ gtk-app-devel-list mailing list gtk-app-devel

Re: Glade C code a bad thing? (was: root windows)

2005-06-01 Thread Zeeshan Ali
Hello guys, I think Gus forgot to CC his email to the list, so i am forwarding it here. -- Forwarded message -- From: Gus Koppel [EMAIL PROTECTED] Date: Jun 1, 2005 9:40 AM Subject: Re: Glade C code a bad thing? (was: root windows) To: Zeeshan Ali [EMAIL PROTECTED] Zeeshan

Re: Window Visibility Signal

2005-07-25 Thread Zeeshan Ali
, 'expose' signal is called for both the cases (show and hide). If you choose to go the 'expose' way then connect your handler using g_signal_connect_after(). -- Regards, Zeeshan Ali ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: Window Visibility Signal

2005-07-25 Thread Zeeshan Ali
of it and clicks. Try visibility-notify-event and try all the other (likely) signals of GtkWidget documented in the gtk+ reference manual please if this doens't work either. Regards, Zeeshan Ali ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Query- Cross compile Gtk application for ARM..problem using scratchbox

2005-08-01 Thread Zeeshan Ali
devkit installed and selected for your target, you can simply get gtk+ (libraries and headers) installed by using this simple command: fakeroot apt-get install libgtk2.0-dev -- Regards, Zeeshan Ali ___ gtk-app-devel-list mailing list gtk-app-devel-list

Re: gtk and opnengl

2005-10-15 Thread Zeeshan Ali
of stuff (AFAIK). You can find the docs. on the website and also their mailing-lists. -- Regards, Zeeshan Ali ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Passing data from a data collection window back to a main

2006-11-26 Thread Zeeshan Ali
://mail.gnome.org/mailman/listinfo/gtk-app-devel-list -- Regards, Zeeshan Ali, Software Design Engineer, Open Source Software Operations, Nokia, Helsinki, Finland. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

Re: How does one pipe output from process to text buffer?

2006-12-27 Thread Zeeshan Ali
notebook page. Just a thought: Wouldn't it be a better idea to use a library instead of a command when one is available: libssh (http://www.0xbadc0de.be/libssh:libssh). -- Regards, Zeeshan Ali Design Engineer, SW Open Source Software Operations Nokia Multimedia

Re: How does one pipe output from process to text buffer?

2006-12-27 Thread Zeeshan Ali
seems to even abstract the GIOChannel structure even so i'll have to get into the sources. -- Regards, Zeeshan Ali Design Engineer, SW Open Source Software Operations Nokia Multimedia ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: How does one pipe output from process to text buffer?

2006-12-27 Thread Zeeshan Ali
Hi again! On 12/27/06, Zeeshan Ali [EMAIL PROTECTED] wrote: In Tony's case, he might have to extract the fd from the SSH_SESSION object (is there an interface for that?) to be able to stuff it into a GIOChannel (not very difficult. I've done it with a database socket). On the plus side

GdkPixbuf object from stock icons

2007-09-22 Thread Zeeshan Ali
= gtk_image_new (); pixbuf = gtk_widget_render_icon (image, stock_id, size, NULL); --CODE SNIPPET END- This one works quite fine but is obviously hackish, Does anyone know of any better way of doing the same? -- Regards, Zeeshan Ali FSF member#5124

Re: GdkPixbuf object from stock icons

2007-09-22 Thread Zeeshan Ali
is gtk_icon_theme_lookup_icon() + gtk_icon_info_load_icon() I thought icon theme is different from stock icons? -- Regards, Zeeshan Ali FSF member#5124 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk

GdkPixbuf object from stock icons

2007-09-23 Thread Zeeshan Ali
= gtk_image_new (); pixbuf = gtk_widget_render_icon (image, stock_id, size, NULL); --CODE SNIPPET END- This one works quite fine but is obviously hackish, Does anyone know of any better way of doing the same? -- Regards, Zeeshan Ali FSF member#5124

Re: how to replace a child of a GtkBox ?

2007-12-30 Thread Zeeshan Ali Khattak
of the objects it needs. So when you set a new child on a GtkBox object, the GtkBox must unref the old child widget. -- Regards, Zeeshan Ali Khattak FSF member#5124 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org

Porting UIs to GtkBuilder

2009-04-14 Thread Zeeshan Ali (Khattak)
)) Aborted The error from the third UI says a bit more so i think i can debug that on my own, but what is this supposed to mean? -- Regards, Zeeshan Ali (Khattak) FSF member#5124 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: Porting UIs to GtkBuilder

2009-04-15 Thread Zeeshan Ali (Khattak)
Hi, On Wed, Apr 15, 2009 at 1:35 AM, Tristan Van Berkom t...@gnome.org wrote: On Tue, Apr 14, 2009 at 4:50 PM, Zeeshan Ali (Khattak) zee...@gmail.com wrote: Hi,   Reading through planet gnome and related mailing-lists recently, I got the impression that this would be a good time to port my

Re: Porting UIs to GtkBuilder

2009-04-15 Thread Zeeshan Ali (Khattak)
and referenced (by object type property) in GtkBuilder format. That is gone too now with a fresh conversion using glade3 so I am afraid, we might never find out. :) Thanks again. -- Regards, Zeeshan Ali (Khattak) FSF member#5124 ___ gtk-app-devel-list mailing