Issue with css and gtk+-3.20

2016-04-27 Thread Jean Bréfort
Hi, The code we use in gnumeric for theming does not work anymore ith gtk+- 3.20, more specifically, if I use css code such as: GnmItemCursor {  color="black";  background-color="white"; } GnmItemCursor.ant {  color="blue";  background-color="red"; } when retrieving the colors with the context

Re: "Cannot finding signal handler" even after compiling with -rdynamic

2016-01-17 Thread Jean Bréfort
Hi, You shoud not have them static. The symbol is not exported. Otherwise you need to get the widget from the GtkBuilder and set the signal from you code and not from the glade file. Hope this helps, Jean Le dimanche 17 janvier 2016 à 20:55 +0530, Jay Aurabind a écrit : > Hi, > > I am learning

Re: Interactive data plotting application

2016-01-10 Thread Jean Bréfort
Hi Jozef, Such a widget already exists in GOffice (it provides the charting capability to gnumeric). It might miss some features you need but is easily extensible. https://git.gnome.org/browse/goffice/tree/goffice/gtk/go-graph-widget.c Best regards, Jean Le dimanche 10 janvier 2016 à 13:05

Re: gtk_init breaks fortran data operation

2010-11-28 Thread Jean Bréfort
gtk_init sets the locale. I suppose that the data file contains the numbers as strings. If your locale uses a comma as decimal separator, the parser can't interpret the dot and just loads the integer part of the first number. Regards, Jean Le dimanche 28 novembre 2010 à 17:20 +0300, Alexander

Possible inconsistency between GtkBuilder and GtkUIManager.

2010-02-19 Thread Jean Bréfort
Hi, After the fix to #591085, to get the id of a widget, say a toolbar, and if I understand things correctly, we need to call gtk_buildable_get_name to retrieve the name of the toolbar if it has been created from a ui file and gtk_widget_get_name if it was created using gtk_ui_manager_add_ui*. Is

Re: using gobject without gtk

2010-01-22 Thread Jean Bréfort
Le vendredi 22 janvier 2010 à 21:18 +0100, Martin Kalbfuß a écrit : Hi, I want to use gobject for an extension of the allegro library. Without touching gtk+. When I compile my test program. I get (process:17961): GLib-GObject-CRITICAL **:

Re: dirrerence between cairo and GDK as to drawing

2010-01-01 Thread Jean Bréfort
Use cairo: derive your widget from either GtkDrawingArea or GtkLayout, then use cairo in your expose event handler. Regards, Jean Le vendredi 01 janvier 2010 à 14:51 +0800, Randy a écrit : Hi list, I plan to draw complicated graphics(interpret a new format file and render it to the screen)

Re: chart diagram on gtk+

2009-12-30 Thread Jean Bréfort
There are not so many possibilities: - goffice (you can ask for help if needed, preferably on gnumeric-list or an irc (#gnumeric) -gtkextra (http://gtkextra.sf.net) but this one seems to be unmaintained (no release since 2005) - write your own charting engine. I might have missed something though

Re: GdkGLPixmap troubles

2009-08-26 Thread Jean Bréfort
Exporting a GL view is just a nightmare. Things seem to depend upon the used driver. The solutioin I use can be seen at http://svn.savannah.gnu.org/viewvc/trunk/gchemutils/libs/gcu/glview.cc?annotate=1098root=gchemutils starting from line 368. Not sure it works in all cases. Regards, Jean Le

Re: question about gtk-builder

2009-07-28 Thread Jean Bréfort
Are you sure gtk_init has been called? Le mardi 28 juillet 2009 à 20:21 -0300, Juan Cardelino a écrit : Hello everyone, I have an old glade interface that I'm trying to convert to glade-3. I've converted the .glade file to a .xml one with gtk-builder-convert, and made a sample C program

Re: GtkWarning: gtk_button_box_set_child_secondary: assertion `child-parent == GTK_WIDGET (widget)' failed

2009-07-27 Thread Jean Bréfort
You use the same id for several buttons (help, close, ok). Each id should be unique in the file. Le dimanche 26 juillet 2009 à 08:13 -0400, Gerald Britton a écrit : I attached the glade file On Sun, Jul 26, 2009 at 8:10 AM, Jean Bréfort jean.bref...@normalesup.org wrote: The child

Re: [Glade-users] GtkWarning: gtk_button_box_set_child_secondary: assertion `child-parent == GTK_WIDGET (widget)' failed

2009-07-27 Thread Jean Bréfort
Look for ok, cancel, help and close buttons. Here are the dups. Le lundi 27 juillet 2009 à 16:33 -0400, Gerald Britton a écrit : So far I've been ok with unique names within toplevels. Too bad the python bindings don't support add_object_from_file yet. I could have used that. Just have

Re: GtkWarning: gtk_button_box_set_child_secondary: assertion `child-parent == GTK_WIDGET (widget)' failed

2009-07-26 Thread Jean Bréfort
The child might already have a parent in the ui file (just guessing). Can't tell more without knowning the context and the ui (glade) file. Le dimanche 26 juillet 2009 à 07:59 -0400, Gerald Britton a écrit : Sorry, I'm a user not a dev. I'll need pretty detailed instructions with examples to

Re: GtkWarning: gtk_button_box_set_child_secondary: assertion `child-parent == GTK_WIDGET (widget)' failed

2009-07-26 Thread Jean Bréfort
And the error occurs when you just load the file? Or is there anything else we should know? Le dimanche 26 juillet 2009 à 08:13 -0400, Gerald Britton a écrit : I attached the glade file On Sun, Jul 26, 2009 at 8:10 AM, Jean Bréfort jean.bref...@normalesup.org wrote: The child might

Re: Graph Widget Development

2009-05-06 Thread Jean Bréfort
You might also have a look at the goffice library (which provide the charting engine to gnumeric, abiword, gnucash and others). Le mercredi 06 mai 2009 à 16:18 -0400, Keith Williams a écrit : You might want to take a look at the GIW library (it's hosted on sourceforge). I'm not sure if it

Re: cairo_surface_t to pixbuf

2009-02-22 Thread Jean Bréfort
You might also have a look at go_cairo_convert_data_to_pixbuf ( http://svn.gnome.org/viewvc/goffice/trunk/goffice/utils/go-cairo.c?revision=1884view=markup ) which works when there is an alpha channel (things are not as simple as exchanging the R and B bytes): /** *

Re: Where is GdkWindow defined

2008-12-23 Thread Jean Bréfort
gdk/gdktypes.h:108:typedef struct _GdkDrawable GdkWindow; Regards, Jean Le lundi 22 décembre 2008 à 13:40 -0500, Jamie Kao a écrit : Hello, this is the first time I use the mailing list, so i'm not sure if this is the place to ask for this kind of help, or am i know if I am using

Re: How to install GTK in linux

2008-11-02 Thread Jean Bréfort
You should add /usr/local/lib to your /etc/ld.so.conf Le dimanche 02 novembre 2008 à 10:52 +0300, Yuriy Rusinov a écrit : Hello, Ian ! What am I doing wrong here? I'm trying to install the latest GTK/GLIB on a Linux Fedora 9 system that currently has GTK 2.12 and GLIB 2.16, which are the

Re: Using g_signal_connect in class

2008-07-19 Thread Jean Bréfort
Le samedi 19 juillet 2008 à 12:29 +0100, Chris Vine a écrit : On Tue, 15 Jul 2008 11:34:41 -0400 Vallone, Anthony [EMAIL PROTECTED] wrote: Only if the member function is static. Calling a non-static member function requires two addresses: the instance address and the function address.

Re: who define *_parent_class variable ?

2008-04-29 Thread Jean Bréfort
Le mardi 29 avril 2008 à 07:05 +, KLEIN Stéphane a écrit : Le Tue, 29 Apr 2008 07:22:24 +0200, Jean Bréfort a écrit : Le lundi 28 avril 2008 à 21:07 +, KLEIN Stephane a écrit : Hello, in many gobject source code I've some variable named foo_bar_parent_class. Example in gedit

Re: who define *_parent_class variable ?

2008-04-28 Thread Jean Bréfort
Le lundi 28 avril 2008 à 21:07 +, KLEIN Stephane a écrit : Hello, in many gobject source code I've some variable named foo_bar_parent_class. Example in gedit source code : * gedit_view_parent_class * gedit_tab_parent_class * gedit_statusbar_parent_class I would like to know what

Re: Move to LGPL3

2008-03-18 Thread Jean Bréfort
Windows API (and may be DirectX) is a special case, because you can't write a Windows program without using it. Le mardi 18 mars 2008 à 12:57 +0100, Lieven van der Heide a écrit : Ok, according to the matrix on http://www.fsf.org/licensing/licenses/gpl-faq.html#AllCompatibility it's indeed

Re: Move to LGPL3

2008-03-16 Thread Jean Bréfort
Le samedi 15 mars 2008 à 21:43 +0100, Christian Persch a écrit : Hi Jean; Am Samstag, den 15.03.2008, 21:09 +0100 schrieb Jean Bréfort: Hmm, and what will happen to applications using at least one GPLv2-only libraries? This might indeed pose a problem, though I'm not sure how major

Re: Move to LGPL3

2008-03-15 Thread Jean Bréfort
Hmm, and what will happen to applications using at least one GPLv2-only libraries? Regards, Jean Le samedi 15 mars 2008 à 21:03 +0100, ryan lortie a écrit : Hello. After some talk at the Hackfest about it, I'm writing the list to officially request that glib and GTK be moved to LGPL version

Re: Print dialog

2007-12-09 Thread Jean Bréfort
Le dimanche 09 décembre 2007 à 22:54 +, Ed Catmur a écrit : On Sun, 2007-12-09 at 16:24 +, Xaero wrote: Hi, I have noticed that all gtk applications have their own print dialog, so that many (if not all) apps lack of some driver functionalities. In example, firefox lets me choose

Re: cannot compile wxGTK2.8.7 due to makefile not available

2007-12-05 Thread Jean Bréfort
You should run ./configure with appropriate options (./configure --help to see the available options) to generate the Makefiles. Regards, Jean Le lundi 03 décembre 2007 à 17:05 -0800, fred muttiah a écrit : Hi, I am totally new to gtk programming environment. Currently I am in the process

Re: how to draw curves

2007-05-28 Thread Jean Bréfort
Le lundi 28 mai 2007 à 16:12 +0800, [EMAIL PROTECTED] a écrit : My application is using gtk to design the GUI for an Arbitrary/Function Generator. So I need to draw lots of curves, including sine wave, ramp wave, pulse wave, noise wave..and their modulation waves, e.g. the AM, FM, PM,

Re: Creating a pixbuf from a Cairo image surface

2007-05-28 Thread Jean Bréfort
Le lundi 28 mai 2007 à 16:39 +0300, Ari Jolma a écrit : I'm intending to create an image surface in Cairo, draw on it, and, when done, create a gdk pixbuf from the image surface. Eventually the pixbuf is sent to the server side and converted into an image, or, in an alternative scenario it

Re: GObject Interface vs Pure Virtual Class

2007-05-12 Thread Jean Bréfort
++ (more like the D language actually). Jean Regards KC ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list -- Jean Bréfort [EMAIL PROTECTED] ___ gtk-list mailing

Re: Gtk Curve problem

2007-05-08 Thread Jean Bréfort
will be most appreciated.Thanks. __ 免费试玩2006中国最佳网络游戏--梦幻西游 ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list -- Jean Bréfort

Re: Entry Point not Found(about libgtk-win32-2.0-0.dll), why?

2007-05-08 Thread Jean Bréfort
Le mardi 08 mai 2007 à 07:53 +, Wang HJ a écrit : Hi, I can build up my project, but when I run it, it gives me the following error message: The procedure entry point gtk_file_selection_get_filename_utf8 could not be located in the dynamic link library libgtk-win32-2.0-0.dll. Who

Re: gtk-config?

2007-03-25 Thread Jean Bréfort
Le dimanche 25 mars 2007 à 15:13 +0200, Colin Howarth a écrit : Hello all. I'm trying to install Gtk-Perl-0.7009 on Mac OS X (10.4.8). I have installed gtk+-2.10.11 from www.gtk.org/download/ (along with the current versions of Pango, GLib, atk, cairo, jpegsrc, libpng, pkg- config,

Re: Canvas and Gladebuilder API in gtk??

2006-12-02 Thread Jean Bréfort
Le samedi 02 décembre 2006 à 23:53 +0100, Mikael Hermansson a écrit : Hello gtk developers. For a long time now I have study the gtk+ and its development. And here is some things we really need to make better in GTk+ to make it success as a good toolkit. Kill gnomecanvas and

Re: Functions of GtkPrintOperation doesn't compile...

2006-12-01 Thread Jean Bréfort
Le vendredi 01 décembre 2006 à 22:21 -0300, Tetim a écrit : Good night. I use devcpp on win2k, and always say 'undefined reference to' for GtkPrintOperation functions's. I did install the packages following : atk1.9.0, glib2.6.6, pango1.8.2, gtk+2.6.9, zlib1.2.3, libpixman0.1.4,

Re: configure error in cross compiling GTK based on Tinyx

2006-11-13 Thread Jean Bréfort
Le lundi 13 novembre 2006 à 16:47 +0800, Zhang Long a écrit : I've built Tinyx from (XFree86-4.6.0) successfully and then built the followings with this order glib-2.11.3 atk-1.10.3 freetype-2.1.9 libxml2-2.6.23 fontconfig-2.3.95 zlib-1.2.3 libpng-1.2.10 cairo-1.2.2 pango-1.13.1

Re: help with window widgets

2006-11-12 Thread Jean Bréfort
Le samedi 11 novembre 2006 à 20:12 -0800, ybisou a écrit : Hi, I'm just starting with GTK+ programming...(linux) I hope someone could help me with this. I'm writing a code that should allow me to read a list of int(one at the time) from a STDIN into my GTK program. The reading is fine but I

Re: Trouble with GtkImage on button press event!

2006-06-20 Thread Jean Bréfort
Le lundi 19 juin 2006 à 18:48 -0700, heavenscape a écrit : I need to capture the button press event on a GtkImage widget, and I use the following code: w = lookup_widget(MainWnd,image1); gtk_widget_add_events(w, GDK_BUTTON_PRESS_MASK ); and I mapped the Button press event

Re: Is there any widget on which I can plot my own primitives?

2006-06-19 Thread Jean Bréfort
Le lundi 19 juin 2006 à 02:09 -0700, heavenscape a écrit : I have explored some widgets such as GtkImage and GnomeCanvas, but none of them provide the functions I need. Which functions do you need? Does anyone got any idea? Thanks! May be GtkDrawingArea? Regards, Jean

Re: How to capture the mouse move and double click event?

2006-06-19 Thread Jean Bréfort
Le lundi 19 juin 2006 à 02:16 -0700, heavenscape a écrit : I have a GtkImage in a GtkViewport, when the mouse is hoving above the image, I need to capture the coordination of the cursor. In VC++, this can be easily achieved by using the OnMouseMove() function. But in Gtk, I cannot find any

Re: Thread-generated signals

2006-06-02 Thread Jean Bréfort
Le vendredi 02 juin 2006 à 00:28 -0700, heavenscape a écrit : Hi Michael, I am a beginner in Linux programming, and your suggestion works! But I am still having some problem that the CPU usage is always 100% after the program starts. Could you please look at my code below and give me some

Re: Thread-generated signals

2006-06-02 Thread Jean Bréfort
Le vendredi 02 juin 2006 à 03:33 -0700, heavenscape a écrit : Yes! My background thread will send a message when it has finished something, so I do need the check the message status frequently. If my OnIdle function return false, it will never be called again, and therefore cannot monitor

Re: Histogram widget

2006-06-01 Thread Jean Bréfort
on the matter. Do you want histograms or column charts? Anyway both already exist in goffice and we have the GOGraphWidget widget to display a large variety of 2D charts. Regards, Jean Bréfort ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http

Re: newbie and ask show window

2006-05-10 Thread Jean Bréfort
Le mercredi 10 mai 2006 à 13:23 +0700, Ade Amrillah a écrit : hi all i'm newbie in gtk+. i was create simple programme for testing gtk_widget_show() function. my program has tow windows first window i put button for call second window, i develop GUI with Glade and anjuta for code. my code

Re: assertion

2006-05-10 Thread Jean Bréfort
Le mercredi 10 mai 2006 à 11:21 +0530, kishore guptha a écrit : Hi all, In function 1, I have created a a dialog widget which has 5 check buttons and I am check marking first 2 check buttons. The dialog widget is being passed as an argument for this function 2. How will I see which

Re: GooCanvas 0.3

2006-04-27 Thread Jean Bréfort
Le mardi 25 avril 2006 à 21:02 +0100, Damon Chaplin a écrit : I've put GooCanvas 0.3 (a GTK+ cairo canvas widget) up at: http://www.dachaplin.dsl.pipex.com/goocanvas/ This release adds pretty much all of my list of essential features: o New GooCanvasPath item (similar to SVG path

Re: Using G_OPTION_ARG_CALLBACK

2006-04-03 Thread Jean Bréfort
Le lundi 03 avril 2006 à 12:22 +1000, Randima Niroshini a écrit : Hi all, I used G_OPTION_ARG_CALLBACK to denote one commandline argument, but it gives the following error. ./parser.cc:95: error: invalid conversion from 'gboolean (*)(const char*, const char*, void*, GError**)' to

Re: The printing work has been merged

2006-03-27 Thread Jean Bréfort
Le lundi 27 mars 2006 à 02:08 -0600, Yevgen Muntyan a écrit : Hey, First of all, I implemented some printing in my application, and it works! I have a question about generating postscript. Using copy/paste method I implemented postscript print backend, and it's working fine. While

Re: gtk_idle_add error

2006-02-10 Thread Jean Bréfort
Le samedi 11 février 2006 à 01:48 +0800, Keith Poole a écrit : Hi. Having some problems using gtk_idle_add. Heres what im trying to do (its obvious) // some function code here gtk_idle_add(idlestuff, window); // some more function code here int idlestuff(GtkWidget *widget, GtkWidget

Re: compiling glib on OSX.

2006-02-04 Thread Jean Bréfort
Le dimanche 05 février 2006 à 01:31 +1100, electroteque a écrit : Ive reverted back to automake-1.7 and still more issues Making all in po file=./`echo fa | sed 's,.*/,,'`.gmo \ rm -f $file /sw/bin/msgfmt -c -o $file fa.po fa.po:95: number of format specifications in `msgid' and

Re: decimal separator

2006-01-23 Thread Jean Bréfort
Le lundi 23 janvier 2006 à 11:56 +0100, Olivier Pierard a écrit : Hi all, On one computer, the same gtk program considers the decimal separator as a coma, on the other one as a point. Obviously, this is linked to regional settings (there is a call to gtk_set_locale in gtk_main() if I

Re: GtkComboBox

2006-01-14 Thread Jean Bréfort
Le samedi 14 janvier 2006 à 09:58 +0100, Andrea Zagli a écrit : is there a way to replace gtkcombobox dropdown menu with a gtktreeview? Use gtk_combo_box_new_with_model with a GtkTreeStore* argument. Best regards, Jean Bréfort ___ gtk-list mailing

Re: Conflicting recommendations about using GTK_BIN(widget)-child in Gtk+ documentation

2006-01-03 Thread Jean Bréfort
Le mardi 03 janvier 2006 à 12:00 +0200, Kalle Vahlman a écrit : Hi all. I noticed that there is a conflict in what GtkBin docs say: http://developer.gnome.org/doc/API/2.0/gtk/GtkBin.html#GtkBin-struct The GtkBin-struct struct contains the following fields. (These fields should be

Re: gtk_timeout_add problem

2005-12-15 Thread Jean Bréfort
Le mercredi 14 décembre 2005 à 15:39 +0100, [EMAIL PROTECTED] a écrit : Hi, I can't compile using gtk_timeout_add (or g_timeout_add, the problem is the same...). I'm using C++... The error is: In member function `virtual void dialogAcquisizione::on_okbutton2_clicked()': error: argument of

Re: GTK_FLOATING broken in 2.9?

2005-12-13 Thread Jean Bréfort
Le mardi 13 décembre 2005 à 11:44 -0500, Matthias Clasen a écrit : On 12/13/05, Murray Cumming [EMAIL PROTECTED] wrote: gtkmm 2.8 depends on glib/gtk 2.8, right? then you don't have g_object_force_floating() there. would it be of any help to

Re: Re: lost files

2005-12-08 Thread Jean Bréfort
lib*.a are static libraries which are useful when building a statistically linked executable. They are not used at run time. Many distribs ship them in dev packages. Le vendredi 09 décembre 2005 à 10:04 +0800, Xyber Blue a écrit : Can you post how you install gtk into your linux??? usually,

Re: GtkNotebook signals

2005-11-22 Thread Jean Bréfort
Le mardi 22 novembre 2005 à 15:20 -0500, ANDREW PAPROCKI, BLOOMBERG/ 731 LEXIN a écrit : Can someone fill me in if there is proper documentation for the signals on GtkNotebook? Specifically, these: change-current-page focus-tab select-page switch-page If an application wishes to

Re: Sponsored Canvas (was: Re: The state of the canvas)

2005-11-18 Thread Jean Bréfort
Le vendredi 18 novembre 2005 à 11:00 +0100, Sven Herzberg a écrit : Hi all, On Do, 2005-11-17 at 12:47 +0100, Jean Bréfort wrote: It seems that things do not advance a lot by now. AFAIK, no much work have been done except Alexander Larsson's patch available at: http://bugzilla.gnome.org

The state of the canvas

2005-11-17 Thread Jean Bréfort
Hi, It seems that things do not advance a lot by now. AFAIK, no much work have been done except Alexander Larsson's patch available at: http://bugzilla.gnome.org/show_bug.cgi?id=318807 David Bellot told me he is too busy at the moment to work on the canvas and, personally, I am not just not able

Re: Variable Problem

2005-10-22 Thread Jean Bréfort
Le samedi 22 octobre 2005 à 10:54 -0200, Wilton a écrit : Hi, I'm starting to program in C/GTK+ and I have a problem with a variable. Let me show the code and the error: /*-- Global Variables --*/ char query_string[256]; GtkWidget *entry_sql; . . . /*-- Do

Re: autoconf, automake

2005-10-06 Thread Jean Bréfort
Le jeudi 06 octobre 2005 à 14:06 -0600, Kevin Handy a écrit : I know this is a useless effort creating a message that will be ignored, but is there any documentation about using automake and autoconf with gtk2 and/or gnome2. It looks like all documentation of this type has been carefully

Re: Program craches, why?

2005-09-25 Thread Jean Bréfort
Le dimanche 25 septembre 2005 à 16:17 +, [EMAIL PROTECTED] a écrit : I tried to provide as little code as possible, but to make what my intentions are clearer I had to add quite a bit, please bear with me… This program runs, but when click on any button, with the exception of the “Exit”

Re: Without g_thread_init() in Gtk+2.0?

2005-09-07 Thread Jean Bréfort
Le mercredi 07 septembre 2005 à 20:10 +0900, bkna a écrit : Hello, I can not solve thread asynch problems without g_thread_init() which is using in Gtk+ v.1.2. I am moving version 1.2 to version 2.x.x and it is going fine except g_thread_init(). any way to solve this? g_thread_init

Re: Editing table with Gtk+

2005-09-07 Thread Jean Bréfort
Le mardi 06 septembre 2005 à 23:34 -0300, [EMAIL PROTECTED] a écrit : Hello. I want to write a small program to edit a simple table in Gtk+. The table corresponds to a simple database stored in a text file. Each line of the file is a record. Each colum of the file is a field. I want to

Re: Regarding JPEG image display in a Window widget.

2005-08-31 Thread Jean Bréfort
IMHO, you should use GdkPixbuf provided with Gtk+-2.0 to display the jpeg images. Le jeudi 01 septembre 2005 à 09:33 +0530, Vinayak J a écrit : Dear Friends, I'm Vinayak and I'm working on a program which displays the JPEG and the BMP and the XPM images on the screen through a window

Re: Glib: g_tree_foreach and GTransverseFunc questions.

2005-08-19 Thread Jean Bréfort
. It works.. :) but... Instead of doing this, you can create your tree with g_tree_new_full and use (GDestroyNotify)g_free as third and fourth arguments. Using g_free is better than using free. -- Jean Bréfort [EMAIL PROTECTED] ___ gtk-list mailing

Re: Glib: g_tree_foreach and GTransverseFunc questions.

2005-08-19 Thread Jean Bréfort
need another object or data. Almost all callbacks in glib/gtk+ have such an argument. -- Jean Bréfort [EMAIL PROTECTED] ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: canvas notes

2005-08-15 Thread Jean Bréfort
modest competencies. Anyway, I need a functional canvas for my app (GChemPaint). Hope others will join ;-) Best regards, Jean -- Jean Bréfort [EMAIL PROTECTED] ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman

Re: compiling gnome platform

2005-08-03 Thread Jean Bréfort
Le mardi 02 août 2005 à 15:12 -0700, Joe Van Dyk a écrit : On 8/2/05, Jean Bréfort [EMAIL PROTECTED] wrote: Le mardi 02 août 2005 à 11:57 -0700, Joe Van Dyk a écrit : And if the best solution is to install them to, say, /opt or something, what environment variables would I need to set

Re: compiling gnome platform

2005-08-02 Thread Jean Bréfort
, Joe ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list -- Jean Bréfort [EMAIL PROTECTED] ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org

Re: Problem linking to new version of GTK+

2005-08-01 Thread Jean Bréfort
/gtk-list -- Jean Bréfort [EMAIL PROTECTED] ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: I thought that gtkCanvas would be in gtk 2.8?

2005-07-22 Thread Jean Bréfort
Le vendredi 22 juillet 2005 à 15:42 +0200, Kristof Vansant a écrit : Or did I miss it's inclusion somewhere? lupusBE (Kristof Vansant Belgium) I am not aware of that. But much interested. Is there already some code? How can I participate? Cheers, -- Jean Bréfort [EMAIL PROTECTED

Re: Signals Callbacks - Help!!

2005-07-06 Thread Jean Bréfort
Le mercredi 06 juillet 2005 à 20:47 +, [EMAIL PROTECTED] a écrit : I am trying to hook the 'clicked' signal of a button to a callaback function that receives a std::string value that will be displayed in a Dialogbox. I have tried this: callback function ~ gboolean

Re: Signals Callbacks - Help!!

2005-07-06 Thread Jean Bréfort
Le mercredi 06 juillet 2005 à 23:32 +0200, David Necas (Yeti) a écrit : On Wed, Jul 06, 2005 at 10:58:59PM +0200, Jean Bréfort wrote: That is, the first parameter of your callback is the button which was clicked, unless you use g_signal_connect_swapped. SQo you have two solutions, either

Re: Use tags in gtktextview

2005-07-03 Thread Jean Bréfort
Le dimanche 03 juillet 2005 à 12:01 +0800, 顺珉 吴 a écrit : Hi all: I try to use Gtktags to change fonts in a gtktextview. Here is my code: textview1 = gtk_text_view_new (); gtk_widget_set_name (textview1, textview1); gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW

Re: Label and wrap text

2005-06-19 Thread Jean Bréfort
Le dimanche 19 juin 2005 02:23 +0200, Preben Randhol a crit : Hello I was thinking to use a label to present some text for a simple help in my program. The problem is that if I use the Wrap Text and Fill options then the label doesn't fill the width of the window. See this mockup:

Re: Label and wrap text

2005-06-19 Thread Jean Bréfort
Le dimanche 19 juin 2005 11:31 +0200, Preben Randhol a crit : On Sun, Jun 19, 2005 at 09:30:46AM +0200, Jean Brfort wrote: I did not try it, but a call to gtk_label_set_justify should solve your problem: gtk_label_set_justify (label, GTK_JUSTIFY_FILL); It is set to GTK_JUSTIFY_FILL

Re: Warning when drawing on a Gnome canvas

2005-06-14 Thread Jean Bréfort
Le mardi 14 juin 2005 09:22 +0200, Yann Normand a crit : Jean Brfort a crit : Le lundi 13 juin 2005 18:09 +0200, Yann Normand a crit : I have an app which needs to draw numerous polygons on a canvas, when the canvas is displayed I receive the following warnings : *** attempt

Re: Warning when drawing on a Gnome canvas

2005-06-13 Thread Jean Bréfort
Le lundi 13 juin 2005 18:09 +0200, Yann Normand a crit : I have an app which needs to draw numerous polygons on a canvas, when the canvas is displayed I receive the following warnings : *** attempt to put segment in horiz list twice *** attempt to put segment in horiz list twice I really

Re: GtkTextBuffer

2005-06-08 Thread Jean Bréfort
Le mercredi 08 juin 2005 18:46 +0200, Andreas Bentlage a crit : hi all, in my code i define a Textbuffer with... GtkTextBuffer *textbuffer; when i compile the code i get this error! warning: data definition has no type or storage class what can it be? i have installed gtk+1.2 on my

Re: GtkTextBuffer

2005-06-08 Thread Jean Bréfort
Le mercredi 08 juin 2005 19:26 +0200, Andreas Bentlage a crit : --- Ursprngliche Nachricht --- Von: Jean Brfort [EMAIL PROTECTED] An: Andreas Bentlage [EMAIL PROTECTED] Kopie: gtk-list@gnome.org Betreff: Re: GtkTextBuffer Datum: Wed, 08 Jun 2005 18:49:10 +0200 Le mercredi 08 juin

Re: GdkPixmap

2005-05-19 Thread Jean Bréfort
Le jeudi 19 mai 2005 09:05 +0100, abhi rocks a crit : hi I have a pixbuf image from which i derive a GdkPixmap say pix. for(i=0;i5;i++) { GdkPixmap *temp_pixmap = g_object_ref(G_OBJECT(pix)); gdk_draw_rectangle(...); ... ... g_object_unref(G_OBJECT(temp_pixmap)); } As the

Re: GdkPixmap

2005-05-19 Thread Jean Bréfort
Le jeudi 19 mai 2005 09:05 +0100, abhi rocks a crit : hi I have a pixbuf image from which i derive a GdkPixmap say pix. for(i=0;i5;i++) { GdkPixmap *temp_pixmap = g_object_ref(G_OBJECT(pix)); gdk_draw_rectangle(...); ... ... g_object_unref(G_OBJECT(temp_pixmap)); } As the

Re: filechooser dialog question...

2005-05-17 Thread Jean Bréfort
Le lundi 16 mai 2005 17:21 -0400, Micah Carrick a crit : I have a file chooser dialog which i use to open and save files. However, I can't figure out how to make the Open button change to Save when I'm using it with GTK_FILE_CHOOSER_ACTION_SAVE. Any help? This is a sample code I use in my

Re: GTK OPTION MENU

2005-05-10 Thread Jean Bréfort
Le mardi 10 mai 2005 17:31 +0530, Mohit Kumar a crit : Hi All, This question is pretty trivial, but I have been unable to find a solution to this and hence I am posting it here, hoping to get a solution frmo anyone of you. The scenario is this, I have a list of Names to be displayed in

Re: Data Plot Widget

2005-05-10 Thread Jean Bréfort
Le mardi 10 mai 2005 08:36 -0400, Will Heyman a crit : I need to plot 2d data. I searched the list and the closest I saw was GtkExtra. It doesn't look like anyone's done anything with it in a couple of years though. Is there something more current people are using? GOffice. The first

Re: GTK OPTION MENU

2005-05-10 Thread Jean Bréfort
Le mardi 10 mai 2005 18:27 +0530, Mohit Kumar a crit : Thanks for a prompt reply Jean. In the case of a combo box, how should I be going about it then? You'll find the doc at: http://developer.gnome.org/doc/API/2.0/gtk/GtkComboBox.html To add a string, use gtk_combo_box_append_text or

Re: glib 1.2.10 compile problem?

2005-05-05 Thread Jean Bréfort
Le jeudi 05 mai 2005 13:28 +0800, Xu Qiang a crit : Hi, all: I am trying to compile glib 1.2.10 from the src in my FreeBSD 5.3 (i383) PC (with gcc 3.4.2). Yet I met the following error with configure script: gstrfuncs.c: In function `g_printf_string_upper_bound': gstrfuncs.c:870:

Re: GtkText

2005-04-27 Thread Jean Bréfort
Le mercredi 27 avril 2005 23:35 -0700, David a crit : I am new to Gtk, and have not had much time to read any documentation on it. It would save me a little time if someone could tell me if GtkText is capable of supporting images embedded in documents. GtkText is deprecated, use GtkTextView

Re: how to cancel an event?

2005-03-19 Thread Jean Bréfort
Le samedi 19 mars 2005 16:03 +0100, [EMAIL PROTECTED] a crit : Hi, please help me: for a special purpose, i want to ignore some events. For example, in my multiline text editor, the keys Key Up and Key Down must be ignored in some cases. I tried but failed. Thank you very much for

Re: updating appearance of a dialog without gtk_dialog_run?

2005-03-19 Thread Jean Bréfort
Le samedi 19 mars 2005 01:51 -0800, Ben Johnson a crit : Hey. I'm using a dialog to initiate a network action that blocks for a long time. I want to update a label on the dialog immediately prior to getting started with the network crap. normally I just update a label with the

Re: updating appearance of a dialog without gtk_dialog_run?

2005-03-19 Thread Jean Bréfort
Le samedi 19 mars 2005 02:41 -0800, Ben Johnson a crit : On Sat, Mar 19, 2005 at 10:56:42AM +0100, Jean Br?fort wrote: ... call gtk_main_loop from your blocking operation. if I call gtk_main_loop() from within my blocking function, won't gtk_main_loop() block and stop my function from

Re: how to find mr. matthew stucky.

2005-03-16 Thread Jean Bréfort
Le mercredi 16 mars 2005 19:45 +0700, Hariyanto a crit : I have buy book about gtk and mysql with title MySql Building User Interface with the author Mr. Matthew Stucky. And I see the last page where complete source code project can be download at

Re: Font problems...

2005-03-07 Thread Jean Bréfort
Le lundi 07 mars 2005 14:20 +, Alastair Basden a crit : Hi, I've just installed gtk 2.6 on a dual opteron (amd64) system. However, when I try running the gtk-demo (or any other gtk app), I get the message: (gtk-demo:12007): Pango-WARNING **: Cannot open font file for font Luxi Sans 8

Re: gtk+ 2.6.2 Fedora Core 3

2005-02-19 Thread Jean Bréfort
Le samedi 19 fvrier 2005 09:52 +0100, Eduardo Andres a crit : Hi, I d like to upgrade the GTK+ in Fedora Core 3 to the latest, and thats the first time Im building the GTK+ libraires, so, for sure, Im doing something or everything in the wrong way. Thats what I have: ./ configure

Re: How to static link a program?

2005-02-05 Thread Jean Bréfort
Le samedi 05 fvrier 2005 00:54 -0800, Ben Johnson a crit : On Sat, Feb 05, 2005 at 08:48:49AM +0100, Jean Br?fort wrote: ... use configure --enable-static --disable-dynamic doesn't work? no, that doesn't seem to do anything at all. I'm using the configure script that glade made for me to

Re: How to static link a program?

2005-02-05 Thread Jean Bréfort
Le samedi 05 fvrier 2005 09:35 -0800, Ben Johnson a crit : On Sat, Feb 05, 2005 at 10:05:39AM +0100, Jean Br?fort wrote: ... Add: AC_ENABLE_STATIC AX_DISABLE_SHARED to configure.in (or configure.ac), run autoconf then configure. [EMAIL PROTECTED]:~/Projects/hpntpos$ vi configure.in

Re: How to static link a program?

2005-02-05 Thread Jean Bréfort
Le samedi 05 fvrier 2005 10:40 -0800, Ben Johnson a crit : On Sat, Feb 05, 2005 at 06:44:15PM +0100, [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:~/Projects/hpntpos$ vi configure.in [EMAIL PROTECTED]:~/Projects/hpntpos$ autoconf configure.in:14: error: possibly undefined macro:

Re: How to static link a program?

2005-02-04 Thread Jean Bréfort
Le vendredi 04 fvrier 2005 21:28 -0800, Ben Johnson a crit : On Fri, Feb 04, 2005 at 07:48:14PM -0800, James Frye wrote: ... So how can I statically link my program (or at least the GtkGl library part of it) so that the executable will run on any system? There doesn't seem to be a

Re: [newbie]GtkTreeIter

2005-02-03 Thread Jean Bréfort
Le jeudi 03 fvrier 2005 20:48 +, Stefano Esposito a crit : Hi all, i'm a newbie, so... excuse me about this boring question :) using this code: ... GtkTreeIter *iter; GtkListStore *list; ... list = gtk_list_store_new(3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, -1);

Re: failed in listen(): Invalid argument

2005-02-01 Thread Jean Bréfort
Le mardi 01 fvrier 2005 09:22 +0100, Gbor Farkas a crit : hi, after i upgraded to gtk-2.6.x (2.6.1), i'm getting this message when using gtk programs: failed in listen(): Invalid argument. gentoo linux here. gthumb and eclipse for example are doing this. i tried to recompile

  1   2   >