Re: [gtkmm] Problem with g_io_channel_read_chars

2002-06-07 Thread Andrew E. Makeev
Martin Schulze wrote: Hi Andrew! I can't find any obvious problems in your code. It would be great if you could patch your program to not use the g_io_channel_* functions. (It should be no problem to use streams, e.g.) I'm asking for this because I initially wrote the signal_io() stuff and

GTK help!!

2002-06-07 Thread enlain
hola Bueno la duda en este momento es la siguiente se puede crear un menu con barra de desplazamiento. Esto debido a que mi menu tiene muchas opciones y no las veo todas en pantalla. Si alguien me puede indicar como de antemano gracias. gracias por la atencion prestada.

Re: blit'n

2002-06-07 Thread John . Cupitt
Billy Patton wrote: Now I need to speed up my data drawing. I have a configure_event that creates a pixmap and draws it black. I want a black background; It then calls my draw_cell which draws into the pixmap. Within this recursive routine I do

Re: allocation returns -1, -1, 1, 1

2002-06-07 Thread John . Cupitt
Jason Bodnar wrote: On Thu, 6 Jun 2002 20:21:13 -0500 Jason Bodnar [EMAIL PROTECTED] wrote: I'm adding hboxes as needed in a signal handler to hold rows of photo thumbnails. The first hbox which is created before the main loop even starts returns proper numbers from $widget-allocation but

Re: More info about signals

2002-06-07 Thread John . Cupitt
Philippe FREMY wrote: 1. All the arguments that are received by the function the signal is connected to are set when connecting the signal, right ? I'm asking this because I am more familiar with Qt where you define the info that your signal is carrying when emitting the signal. Hi Philippe,

Unable to load GTK_MODULES - Applets

2002-06-07 Thread Santhana Krishnan
Hi, I am involved enhancing the GERD tool ( GUI Regression testing tool ).The GNOME Applets are not loading the GTK_MODULES.I want to attach the GERD module ( GTK_MODULE) with applets.Is there any other way to add a small-modules dynamically with applets?.Any help would be appreciated.

Re: gtk_adjustment_get_value()

2002-06-07 Thread Sven Neumann
Hi, David J. Singer [EMAIL PROTECTED] writes: I've been playing around with Gtk Adjustments and have found some useful examples My problem is, everything works just fine until I try and call gtk_adjustment_get_value(), then it gets weird...! My compilation fails with: undefined

I18N text (Input methods?)

2002-06-07 Thread Ian Britten
Hi all, I was wondering if anyone had a basic FAQ/HOWTO/etc on how a program deals with entering i18n text (Asian, non-ASCII, etc, etc). Or perhaps, can you refer me to a program that I could look at/try as an example? As I see it, there are two parts: 1) The program implementation must be

Re: I18N text (Input methods?)

2002-06-07 Thread Sven Neumann
Hi, Ian Britten [EMAIL PROTECTED] writes: [ PS - Ideally, I'd like to be doing this in GTK 1.2, if possible... ] you'd do yourself a favor by using GTK+-2.0 since improving the i18n support has been one of the main design goals of GTK+-2.0. It uses UTF-8 and Unicode all over the place and

Re: [gtkmm] Problem with g_io_channel_read_chars

2002-06-07 Thread Daniel Elstner
Am Fre, 2002-06-07 um 10.41 schrieb Andrew E. Makeev: Yes, you're right, there is nothing wrong with gtkmm, glibmm stuff. Only one thing I would to ask about: show me an example, please, how to use streams to receive/send data from/to sockets, There is no standardized UNIX file I/O

gtk help!!!

2002-06-07 Thread enlain
Bueno la duda en este momento es la siguiente se puede crear un menu con barra de desplazamiento. Esto debido a que mi menu tiene muchas opciones y no las veo todas en pantalla. Si alguien me puede indicar como de antemano gracias.

Re: [gtkmm] Problem with g_io_channel_read_chars

2002-06-07 Thread Andrew E. Makeev
Daniel Elstner wrote: What you have to do is something like: Glib::ustring foo = Glib::convert(bar, UTF-8, KOI8-R); yes, yes, my connection wasn't UTF-8 encoded. I 've tried gchar *ptr = g_locale_to_utf8(in_buff, size, rsize, wsize, error); for my data, and it works well then. I have

Re: I18N text (Input methods?)

2002-06-07 Thread Ian Britten
On 07 Jun 2002 15:24:09 +0200 Sven Neumann [EMAIL PROTECTED] wrote: Ian Britten [EMAIL PROTECTED] writes: [ PS - Ideally, I'd like to be doing this in GTK 1.2, if possible... ] you'd do yourself a favor by using GTK+-2.0 since improving the i18n support has been one of the main design

Re: [gtkmm] Problem with g_io_channel_read_chars

2002-06-07 Thread Sven Neumann
Hi, Andrew E. Makeev [EMAIL PROTECTED] writes: 1. where is described which encodings are legal to use in Glib::convert? iconv --list gives you a list of known encodings. Note that this list is not guaranteed to be the same everywhere (depends on the version of iconv). The common encodings

Re: [gtkmm] Problem with g_io_channel_read_chars

2002-06-07 Thread Daniel Elstner
Am Fre, 2002-06-07 um 17.23 schrieb Sven Neumann: Andrew E. Makeev [EMAIL PROTECTED] writes: 1. where is described which encodings are legal to use in Glib::convert? iconv --list gives you a list of known encodings. Note that this list is not guaranteed to be the same everywhere

GTK, menu

2002-06-07 Thread enlain
hi, i have a problem, I can create a menu with displacement bar? This because my menu has many options and don't see all them in screen. thanks for the lent attention. _ No olvides nada. Recuerda los cumpleaƱos, tus citas,

Disabling TAB/Arrow key navigation

2002-06-07 Thread Venkatesh Narayanan
In Gtk 1.2 the arrow/tab (only the tab key in 2.0) keys are used for global navigation within a container. Is there any way of disabling the use of, especially the arrow keys, for navigation, in a conatiner ? Thanks -Venky ___ gtk-list

Re: [gtkmm] Problem with g_io_channel_read_chars

2002-06-07 Thread Sven Neumann
Hi, Daniel Elstner [EMAIL PROTECTED] writes: 2. how to determine what is current encoding for your connection, or where it's derived from? read the GLib API reference. g_io_channel_get_encoding() returns the current encoding of the GIOChannel. Or was the question how to determine

tooltips interferes with menu popup

2002-06-07 Thread Edward A. Falk
Hi; anyone notice this problem before? The menu.c sample program gives code to pop up a window from the button press callback. If you attach a tooltip to the button, the menu no longer works correctly. Sample code follows: /* example-start menu menu.c */ #include stdio.h #include gtk/gtk.h

Example complie problem in dev-c++

2002-06-07 Thread Guidance
Hi, I'm trying to compiletheTictactoe example listed at:http://www.gtk.org/tutorial/app-codeexamples.html in Dev-C++ IDE V4.9.3.0, with g++.exe, but got type conversion error always: Building Makefile: "d:tmpMakefile.win"Executing

ANNOUNCE: GtkGLExt 0.1.1

2002-06-07 Thread Naofumi Yasufuku
Hello everyone, GtkGLExt, OpenGL extention to GTK, version 0.1.1 is released. http://sourceforge.net/projects/gtkglext/ This is a minor bug fix release. The following bugs have been fixed. * SIGSEGV was arised with applications uses modal window. * Win32 GLPixmap problem that the