Re: Drawing 1-bit bitmaps

2005-10-19 Thread John Vetterli
On Wed, 19 Oct 2005, George Williams wrote: On Wed, 2005-10-19 at 14:31, John Vetterli wrote: Have a look at: http://developer.gnome.org/doc/API/2.0/gdk/gdk-X-Window-System-Interaction.html I presume that means gdk does not support client side bitmap images directly. The GtkPixmap encapsulate

Opening GUI with SSH

2005-10-19 Thread Suganya
Hi all, I upgraded my gtk from 2.0 to 2.8. Now I could not open GUI windows of other machines using SSH. Expecting suggestions. Regards, B.suganya ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo

Re: GtkTextView Color not being set under KDE

2005-10-19 Thread Billy Biggs
Billy Biggs ([EMAIL PROTECTED]): > > I couldn't reproduce the problem here in my computer, even under KDE the > > display is fine. Anyway, does anyone have any idea of what the problem > > could be? > > It's the gtk-qt theme engine. It seems to somehow be messing up a bunch of > colours. [...]

Re: Drawing 1-bit bitmaps

2005-10-19 Thread George Williams
On Wed, 2005-10-19 at 14:31, John Vetterli wrote: > On Wed, 19 Oct 2005, George Williams wrote: > > X has calls which allow me to draw bitmap images no matter what the > > depth of the screen. How do access them in gdk? > > Have a look at: > http://developer.gnome.org/doc/API/2.0/gdk/gdk-X-Window-

Re: Drawing 1-bit bitmaps

2005-10-19 Thread John Vetterli
On Wed, 19 Oct 2005, George Williams wrote: X has calls which allow me to draw bitmap images no matter what the depth of the screen. How do access them in gdk? Have a look at: http://developer.gnome.org/doc/API/2.0/gdk/gdk-X-Window-System-Interaction.html JV ___

Drawing 1-bit bitmaps

2005-10-19 Thread George Williams
I have an application (a font editor) that must draw potentially tens of thousands of bitmap glyphs to the screen. I have looked through the docs and mail archive. I don't see any way of drawing a 1-bit bitmap directly. The archive suggests using gdk_gc_set_clip_mask to create a mask and draw a re

Re: GtkTextView Color not being set under KDE

2005-10-19 Thread Billy Biggs
Eduardo M KALINOWSKI ([EMAIL PROTECTED]): > He sent me a screenshot: http://kildclient.sourceforge.net/kild.png > > The biggest part of the application is a GtkTextView. The background > should be black, it is set with a call to gtk_widget_modify_base(). > The text that appears with a black b

GtkTextView Color not being set under KDE

2005-10-19 Thread Eduardo M KALINOWSKI
I'm the author of KildClient, a program that uses Gtk+. One user of the program reported a problem that the background color of a GtkTextView is not being honoured when the application is run under KDE. He says that when run under Gnome, the display is as expected. He sent me a screenshot:

Re: Gtk && Xara

2005-10-19 Thread John Cupitt
On 10/19/05, Dennis Morgan <[EMAIL PROTECTED]> wrote: > would it be just a lot better once Xara is ported... to just release widgets > which can use xara? Actually, I think it's simpler than this. My understanding is: Cairo is a nice drawing API that GTK now uses to paint the display, http://cai

How to determine current keyboard layout?

2005-10-19 Thread Gaurav Jain
Hi, I could not find a way to determine the current keyboard layout on Linux. I need to do some conditional handling for Vietnamese keyboard input. Is there an API that I can use (whether by GTK/Glib or any generic Linux API). I want something in line with the Win32 API called "GetKeyboardLayou

Re: How to display Indian language text on a button(Urgent)

2005-10-19 Thread Deekshit Mantampady
Hi Lalith, Try gettext ... http://www.gnu.org/software/gettext/ Thanks DM On 10/19/05, Zeeshan Ali <[EMAIL PROTECTED]> wrote: > On 10/19/05, Lalit Kumar <[EMAIL PROTECTED]> wrote: > > Hi, > > Hello! > > > Sample code for displaying hindi text or any Indian language text will help > > me a

Re: How to display Indian language text on a button(Urgent)

2005-10-19 Thread Zeeshan Ali
On 10/19/05, Lalit Kumar <[EMAIL PROTECTED]> wrote: > Hi, Hello! > Sample code for displaying hindi text or any Indian language text will help > me a lot. There is nothing very special you need to do. Gtk+ is full utf8 enabled (AFAIK) and you just need to put the appropriate charachters in

Re: Gtk && Xara

2005-10-19 Thread Dennis Morgan
ok this may be off topic. and wrong.. would it be just a lot better once Xara is ported... to just release widgets which can use xara? What is stopping someone writing GTK+ widgets that use it? and just releasing the source for said widgets it would mean GTK+ itself doesn't at all get touched

How to display Indian language text on a button(Urgent)

2005-10-19 Thread Lalit Kumar
Hi, I want some help from the group. I am just creating a sample calculator that will have button with Indian language numbers on it. That everything on the calculator will be in indian languageHindi). I am able to create calculator using gtk library in english. But I am facing problem how to rend

Re: Re: Problem of gtk2.24 on Soloaris 8 ;

2005-10-19 Thread Richard Warren
- Original Message - From: "chihailong3" <[EMAIL PROTECTED]> Thanks very much for your wonderfull answer! I don't Know why SUN put a lots of invalid soft pakage on their website. Mybe ,they think nobody will download it :) . As indicated in your email : we can download SUN GNOME2.0 deskt

Re: Building a GUI-Application

2005-10-19 Thread John Cupitt
Good advice with the GtkFixed. I would use a GtkLabel for the PDUs. You can't set the background colour of a label directly, since it does not have it's own window. Instead, put the label inside a GtkEventBox and set the background colour of the event box. The event box will also make it easy to d

Re: Problem of gtk2.24 on Soloaris 8 ;

2005-10-19 Thread Richard Warren
I downloaded gtk2.2.4 library and dependency developing Toolkits from www.sunfreeware.com . But, there are many errors reported while I compile the example program issued with gtk. I had similar problems when trying to use the sunfreeware.com precompiled packages for sol8-intel a few months

Re: Building a GUI-Application

2005-10-19 Thread Deekshit Mantampady
You can fixed layout (GtkFixed). For objects if you have a very few colors, You can use pixmap (.xpm) files. Thanks Deekshit M On 10/19/05, Kranz, Willi <[EMAIL PROTECTED]> wrote: > Hallo! > > > > I want to build a new GUI-Application under Linux with GTK. > > First I built an easy Application un