Re: gtk_container_remove and garbage collection

2005-08-03 Thread Sven Neumann
Hi, Jonathan Hayward [EMAIL PROTECTED] writes: Does gtk_container_remove() free the removed widget (and its contents, if appropriate)? The API docs on gtk_container_remove() are pretty explicit about this. Which part exactly did you not understand? Sven

Re: GTK under Mac OS 10.3?

2005-07-20 Thread Sven Neumann
Hi, David Topper [EMAIL PROTECTED] writes: I'm sorry if this question gets asked every week. But I did do some Googling for it and didn't come up with much other than a seemingly dead project. Install darwinports from darwinports.opendarwin.org, type port install gtk2, go to lunch and when

Re: problem with download

2005-07-04 Thread Sven Neumann
Hi, Abhishek Misra [EMAIL PROTECTED] writes: ftp://ftp.gtk.org/pub/gtk/v2.6/ when i try to download glib , atk or others i get files of 0 kb eg. LATEST-GLIB-2.6.5 This file is supposed to be empty. Why do you worry? Sven ___ gtk-list mailing

Re: expose-event

2005-06-22 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: resize my window. i wanna redraw a drawingarea after i resize the window. but in this case my drawing-function do her work, and after that the expose-event delete it. You must not do any drawing outside the expose event callback. Sven

Re: Recently Used Files Proposal

2005-06-04 Thread Sven Neumann
Hi, Emmanuele Bassi [EMAIL PROTECTED] writes: That's it. Very simple, very common. Currently, I can open one menu (Places-Recent Documents) and 'solve' that user problem. What if you have more than one document with the same name? The menu item should have a tooltip with the full filename.

Re: GtkComboBox

2005-05-31 Thread Sven Neumann
Hi, Pramod Patangay [EMAIL PROTECTED] writes: I was trying out GtkComboBox. I have Gtk-2.4. I have created a GtkTreeModel and populated the corresponding GtkTreeStore. But when I run the program, the entries are not shown. Why is this happening? I am attaching the program here:

Re: Edit Box in GtkFileChooserDialog

2005-05-29 Thread Sven Neumann
Hi, Pramod Patangay [EMAIL PROTECTED] writes: I would like to have an edit box in GtkFileChooserDialog for opening files (and not saving) so that when user types in something ni the edit box and presses tab the filename should appear in the edit box and the file should be shown selected in

Re: [Gimp-developer] Compiling a gimp plugin for Windows

2005-05-15 Thread Sven Neumann
Hi, Tor Lillqvist [EMAIL PROTECTED] writes: How, exactly? Because the procedure for person doing a release would be a few steps longer? Or because people would wonder why each other version is missing when looking at some version history or ftp server directory list? How are people supposed

Re: Get the text under the mouse ?

2005-05-14 Thread Sven Neumann
Hi, regatta [EMAIL PROTECTED] writes: I didn't get any tip from anyone, does this mean it's impossible to get the text under the mouse with the current X11 limitation or it's just know one know ? ATK should provide the hooks you need. Take a look at gnopernicus, the screen reader for GNOME.

Re: Common Save Confirmation Dialogue

2005-05-12 Thread Sven Neumann
Hi, Gustavo J. A. M. Carneiro [EMAIL PROTECTED] writes: Even SDI applications usually support multiple windows served by the same process, where File-Exit quits the application by closing all windows. Since each window contains one document, on File-Exit you may have to confirm saving

Re: Common Save Confirmation Dialogue

2005-05-12 Thread Sven Neumann
Hi, Marc O'Morain [EMAIL PROTECTED] writes: Applications that support multiple documents in the one process (such as GIMP) are actually MDIs. An example of a true SDI is something like Inkscape or GPDF. Inkscape does actually allow you to open multiple documents in the same process. It is

Re: GDK framebuffer needed for the GTK debian installer

2005-05-08 Thread Sven Neumann
Hi, attilio [EMAIL PROTECTED] writes: I'm posting to this mailing list to ask you if some future development of the fb/dfb gdk are planned, since this would be the most appropriate gdk layer for a gtk-based debian-installer. As far as I know the DirectFB port is under active development and

Re: file open dialog with file name entry

2005-04-29 Thread Sven Neumann
Hi, David Necas (Yeti) [EMAIL PROTECTED] writes: has anyone implemented a decent Gtk+2 file open dialog which has a file name entry? Adding an entry to the GtkFileChooser widget would completely ruin keyboard navigation. Sven ___ gtk-list mailing

Re: gtk 2.6.7

2005-04-29 Thread Sven Neumann
Hi, I just installed the latest gtk+ version. After installing it i have a problem. The highlighting colour of my menu bar and menu items when i click makes the font white in colour making it unable to read. This is for all applications. Could someone please tell me how to get the default

Re: GLib.framework?

2005-04-28 Thread Sven Neumann
Hi, Jon Willeke [EMAIL PROTECTED] writes: I am interested in the prospect of building GLib as a framework for OS X. I'm vaguely aware of ongoing efforts to port GTK+ to Quartz, Cairo, etc., but I'm primarily interested in GLib. It is reasonably portable, and it makes C programming less

Re: JPEG, PNG, and TIFF

2005-04-19 Thread Sven Neumann
Hi, Hans Breuer [EMAIL PROTECTED] writes: AFAIK the only format really required (even at compile time of gdk-pixbuf following modules) is PNG, the GTK+ icon format. Since the standard icons are compiled in, you can even use GTK+ without the PNG loader but that's certainly only useful for

Re: GIMP drag and drop

2005-04-16 Thread Sven Neumann
Hi, Benjamin Lau Wei Yii [EMAIL PROTECTED] writes: How do I achieve the drag and drop feature in GIMP that enables you to drag files from the desktop/folder manager/etc. and drop them into GIMP? GIMP is Free Software, feel free to read the source code. Sven

Re: Where is the Tab Widget

2005-03-25 Thread Sven Neumann
Hi, Reed Lai [EMAIL PROTECTED] writes: Does GTK have tab widget? I found the ability from many GTK/Gnome apps - gedit, gnome-terminal, Gnumeric and GIMP's stacked dialogs, but I can not find Tab Widget from GTK's tutorial and API reference. What the widget should I use to make it?

Re: GtkComboBox and GtkComboBoxEntry

2005-03-19 Thread Sven Neumann
Hi, Dru [EMAIL PROTECTED] writes: Under GtkCombo the dropdown list showed your currently selected item in the popup list. The new combo boxes dont do this, if you have a large list of it makes navigation a bit more difficult if you dont know what you had selected before. Is there anyway to

Re: Libpango errors ...

2005-03-04 Thread Sven Neumann
Hi, Your Guardian Angel [EMAIL PROTECTED] writes: i'm trying to compile a very basic windows, 200x200 blank. I keep running into libpango errors and have uninstalled and reinstalled, removes all libango* in the lib dir, etc... and nothing seems to be working, what could e the problem. Looks

Re: Gtk will not configure

2005-03-04 Thread Sven Neumann
Hi, Erik Saline [EMAIL PROTECTED] writes: I type sudo ./configure PKG_CONFIG_PATH=/usr/X11R6/bin --without-libjpeg Why would you run configure as root? Stop doing that! Perhaps we should add 'rm -rf /' to the configure script to teach people not to do such stupid things. The only part of the

Re: threaded balaced GTree in Glib

2005-03-03 Thread Sven Neumann
Hi, Maurizio Monge [EMAIL PROTECTED] writes: It looks like glib does not get much attention on this ml (i have sent a couple of patches for something i considered useful and got no answer, if you think my code is broken just tell me so :-) ). The preferred way to submit patches is to open a

Re: gtk+ needs pango with cairo support

2005-03-01 Thread Sven Neumann
Hi, you either don't want to use CVS versions or compile everything from CVS. I suggest that you stick to GTK+ 2.6 and Pango 1.8 for now. Sven ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: GTK and threads

2005-02-27 Thread Sven Neumann
Hi, Vlietstra, Joe (NSSD) [EMAIL PROTECTED] writes: Our group has previously written several multithreaded GTK applications. We had a problem with a new application, investigated, read the API docs, and now we are completely confused about GTK threads. The example applications in the API

Re: Introspection API

2005-02-18 Thread Sven Neumann
Hi, Mike Kestner [EMAIL PROTECTED] writes: One more wrinkle for params... It would be nice for string params to identify encoding when they are not in utf8 encoding, such as in the filename case. A case could probably be made for a GStringDef. Not sure if this is helpful, but we solved

Re: format number on gtklabel

2005-02-16 Thread Sven Neumann
Hi, Paul Davis [EMAIL PROTECTED] writes: #include locale.h setlocale(LC_ALL, ); as noted by someone else, this is a very very unfriendly thing to do unless it is restricted to places where you are doing serialization (ie. saving state to disk) If you are doing serialization, you

Re: UNC paths, glib, and the file chooser

2005-02-08 Thread Sven Neumann
Hi, James Henstridge [EMAIL PROTECTED] writes: Internet Explorer canonicalises UNC paths to URIs as file://hostname/share/path, while mozilla canonicalises to file:/hostname/share/path. While the IE path is a bit shorter, the five-slash version probably follows the specs better It's

Re: How to static link a program?

2005-02-05 Thread Sven Neumann
Hi, James Frye [EMAIL PROTECTED] writes: OK, this is probably a dumb question, but I can't find the answer. How can I statically link a Gtk program? That is, I've written a program that uses Gtk graphics (and the GtkGL extension widget to allow OpenGl). It works fine on my personal Linux

Re: updating 2.4 to 2.6 kern prob

2005-01-19 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: before I can upgrade from 2.4.28 to 2.6.9 on my slack8 k-6 box I have to upgrade procps, according to the ../Documentation/Changes file. you are talking about a Linux kernel upgrade here, right? Before I can upgrade procps I need to upgrade glib. Right now the

Re: gtk on windows

2005-01-17 Thread Sven Neumann
Hi, Roger Leigh [EMAIL PROTECTED] writes: Sashan Govender [EMAIL PROTECTED] writes: Quick question. Does GTK emulate the controls/widgets on windows or are they native? It can do both. There's a native windows theme that uses the GDI to draw (included by default in 2.6 IIRC), or you can

Re: pangox.aliases ignored by Pango

2004-12-18 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: I just found out that Pango ignores the pangox.aliases file - changing, even removing the file didn't affect the behavior of Pango's virtual fonts sans, sefif and monospace. I don't think that it is still supposed to use pangox.aliases. If you want to configure

Re: Fw: How do I display a combo box or comboboxentry in a Treeview?..

2004-12-17 Thread Sven Neumann
Hi, Pinokio [EMAIL PROTECTED] writes: I write program use python +Gtk+ pygtk2.4 and Glade.. How do I display a combo box or comboboxentry in a Treeview?.. Form (window) created in Glade.. You would need to use and depend on GTK+-2.6 which introduces a combo-box cell renderer.

Re: Glib 2.4.8 doesn't seem to include symbols needed by Pango

2004-12-14 Thread Sven Neumann
Hi, Olexiy Avramchenko [EMAIL PROTECTED] writes: So perhaps the 2.4.8 on the gtk.org site is bad? (thats where I got it from). The one line from http://www.gtk.org : # Version 2.4.9 of the GTK+ widget toolkit is now available. This is a respin of 2.4.8 which fixes a library versioning

Re: wondow always on top level..

2004-12-10 Thread Sven Neumann
Hi, Dermot McGahon [EMAIL PROTECTED] writes: How do you achieve always-on-top for a window which is the sole window of an application? The application is a taskbar at the bottom of the screen showing the time and other information. Not very nice but it should do the trick:

Re: g_io_channel_read_chars vs.g_io_channel_read

2004-12-07 Thread Sven Neumann
Hi, Scott Dattalo [EMAIL PROTECTED] writes: g_io_channel_read_chars() is the designated replacement for the deprecated g_io_channel_read(). However, the two functions behave differently IIRC they behave identically if you set the io-channel encoding to NULL and disable buffering. Sven

Re: How to determine the type of a widget?

2004-11-28 Thread Sven Neumann
Hi, Marc K. [EMAIL PROTECTED] writes: After reading the tutorial (again, counting 3), still, the question is the same. Never mind. I dont think it's possible. I think we are thinking in different worlds. I am pretty sure it is possible but perhaps you should try to come up with a question

Re: GdkFont deprecated but in GdkGC

2004-11-28 Thread Sven Neumann
Hi. Marc K. [EMAIL PROTECTED] writes: In the GDK Reference Manual for GDK 2.5.6: GdkFont is deprecated but it is a field on GdkGCValues. How must we treat that field? Just pretend that it does not exist or should we set it to NULL? The GdkGCValues struct is always used along with a bitmask

Re: compiling okay, success running gtk-app computer dependant

2004-11-27 Thread Sven Neumann
Hi, edward hage [EMAIL PROTECTED] writes: I narrowed the problem down to this program. The following program shows a Segmetation Fault on one computer, and works fine for the other. gdb clearly shows that the crash happens in exit() so it is unlikely that a GLib function is causing your

Re: How to determine the type of a widget?

2004-11-27 Thread Sven Neumann
Hi, Marc K. [EMAIL PROTECTED] writes: Question: how can I determine the type of a widget when all I know is that it is a GtkWidget? i.e. it may be a GtkButton, GtkFrame, etc. I tried to dig into the manual for an easy solution but I cant seem to find any. Or maybe I miss something? You

Re: How to determine the type of a widget?

2004-11-27 Thread Sven Neumann
Hi, Marc K. [EMAIL PROTECTED] writes: What I want to achieve is to collect some IDs (or something similar) when I create the internal classes. At this point, I have not created any instances. So I think I cant use G_TYPE_FROM_INSTANCE. Still, the answer is in GObject. Types can be referred

Re: image zooming interpolation

2004-11-25 Thread Sven Neumann
Hi, Dennis [EMAIL PROTECTED] writes: When scaling images in gimp, there is an option to use cubic interpolation (or linear, or none). I can't tell any noticeable difference between the three methods when zooming into an image 8x -- ie. the pixels are preserved as huge boxes ie. no

Re: GtkDrawingArea initialization

2004-11-23 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: So you should emit an exopose_event on your DrawingArea, there are several ways to do it : g_signal_emit_by_name(darea, expose_event); That would be just as wrong as drawing outside the expose_event handler. gtk_widget_queue_draw_area(darea, x, y, w, h);

Re: g_list_next(foo) vs. foo-next

2004-11-19 Thread Sven Neumann
Hi, Neil Zanella [EMAIL PROTECTED] writes: I was just wondering whether g_list_next(foo) and foo-next are really the same or not. Not exactly the same. Why don't you have a look at the source? There it is in glist.h: #define g_list_next(list) ((list) ? (((GList *)(list))-next) :

Re: Remove all text elements from GtkComboBox

2004-11-19 Thread Sven Neumann
Hi, Egon Andersen [EMAIL PROTECTED] writes: I've started migrating from GtkCombo to GtkComboBox. My old GtkCombo contains only text, so I use gtk_combo_box_new_text() At some point I have to 're-build' the text in the combobox which is done by first removing all existing text 'entries' and

Re: GtkCellRenderer

2004-11-15 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: I'm getting problems to draw GDK_PIXBUF in a TreeView because usually, to draw something I use the expose_event signal with a drawing callback but in this case GdkPixbuf and GtkCellRendererPixbuf aren't GtkWidgets so I can't call the method

Re: problems with glib and atk

2004-11-14 Thread Sven Neumann
Hi, Jorge Balbas [EMAIL PROTECTED] writes: i am trying to install some applications that require gtk+-2.5.4 There are applications that require unstable development snapshots of GTK+? Are you sure that you don't want to install the latest release from the stable gtk+-2.4 series instead?

Re: List of gtkrc-2.0 options?

2004-11-03 Thread Sven Neumann
Hi, Manuel Op de Coul [EMAIL PROTECTED] writes: GtkSettings *settings = gtk_widget_get_settings (GTK_WIDGET (button)); This gives a Gtk-CRITICAL assertion GTK_IS_WIDGET (widget) failed, and then returns null. I tried it with both an unrealized and realized button. Certainly works for me.

Re: Simple boxing

2004-11-03 Thread Sven Neumann
Hi, Gabriel de Perthuis [EMAIL PROTECTED] writes: Le mercredi 03 novembre 2004 08:22 +0100, David Necas (Yeti) a crit : You can use a pointer -- with G_TYPE_POINTER column type. In fact I often use G_TYPE_POINTER even for objects because I don't like unreferencing them every time I fetch

Re: Simple boxing

2004-11-03 Thread Sven Neumann
Hi, David Necas (Yeti) [EMAIL PROTECTED] writes: On Wed, Nov 03, 2004 at 01:26:47PM +0100, Sven Neumann wrote: It isn't really recommended to treat objects like this. Of course if you know what you are doing, it will work. But I wouldn't suggest to do it this way as it may very well fall

Re: disabling buttons

2004-11-02 Thread Sven Neumann
Hi, Ian Strascina [EMAIL PROTECTED] writes: Is there anyway to disable a GTK button once it has been pressed (and re-enabled upon other conditions) similar to javax.swing.AbstractButton.setEnabled(boolean)...??? I have a simulation running and one button that starts it all... I would like

Re: undocumented parameters

2004-11-01 Thread Sven Neumann
Hi, Neil Zanella [EMAIL PROTECTED] writes: OK, I am now connecting the switch-page for notebooks which seems to be the only one that works. However, void foo(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, gpointer data) { assert(page_num == (guint)

Re: A simple GdkDrawingArea question

2004-10-29 Thread Sven Neumann
Hi, Jos Antonio Snchez [EMAIL PROTECTED] writes: I need a pointer to a graphic context and that's my problem. I don't know how to create a custom graphic context. I don't know how to parse a foreground or background color to the graphic context. gdk_gc_new() is described in

Re: Another (unrelated) Documentation question

2004-10-27 Thread Sven Neumann
Hi, Andy Jeffries [EMAIL PROTECTED] writes: An example is: http://developer.gnome.org/doc/API/2.4/libgnomeui/libgnomeui-gnome-dialog-util.html#gnome-question-dialog gnome_question_dialog is deprecated and should not be used in newly-written code. So I repeat: Is there an effort to

Re: Using the tip_private member of GtkTooltips

2004-10-21 Thread Sven Neumann
Hi, Jeremy Henty [EMAIL PROTECTED] writes: On Sat, Oct 16, 2004 at 12:08:13PM -0400, Owen Taylor wrote: Basically, we would not recommend using the 'private tips' functionality. It doesn't offer any advantages compared to just storing the data yourself That was my impression, so I assumed

Re: Static compile of gtk+-2.4.9

2004-10-14 Thread Sven Neumann
Hi, Marc Wiblishauser [EMAIL PROTECTED] writes: I have removed 'all-local' at line 668 in file gtk-directory/modules/input/Makefile.in. So gtk no longer tries to build the module list, which is impossible for static compilation with '--disable-shared'. --disable-modules should take care of

Re: gtk+-2.4.10 and Pango 1.2.0/1.4.0

2004-10-12 Thread Sven Neumann
Hi, [EMAIL PROTECTED] (James M. Watson) writes: But how do you gt Pango to build with the Xft backend? Any hints about what Pango is looking for? I have been looking at Pango configure scripts and don't see its test for the Xft backend. I wonder what you looked at then. This is from

Re: Problem compiling atk-1.6.1

2004-10-11 Thread Sven Neumann
Hi, Steven P. Ulrick [EMAIL PROTECTED] writes: I just joined this list for the purpose of asking this question. Before I sent this question, I downloaded the last 12 months of archives from this list and looked through a few months worth of them and I found nothing relating to this exact

Re: gtk+-2.4.10 and Pango 1.2.0/1.4.0

2004-10-08 Thread Sven Neumann
Hi, Sakari Aaltonen [EMAIL PROTECTED] writes: './configure' for gtk+-2.4.10 fails (on a Linux machine), complaining configure: error: Pango 1.2.0 and Xft backend is required for x11 target Pango has multiple backends and GTK+ on X11 depends on the PangoXft backend being available. It won't

Re: Why isn't make GTK+2.4.0 finding -lXext

2004-09-21 Thread Sven Neumann
Hi, Why aren't you compiling the latest stable release, which would be GTK+ 2.4.10? Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: glib.h (or glibconfig.h)

2004-09-18 Thread Sven Neumann
Hi, Kermit Tensmeyer [EMAIL PROTECTED] writes:  as was pointed out the compile was not finding the correct $prefix/include/glibconfig.h as that file is a symbolic link to the other version.   I looked thru Makefile (and Makefile.in to confirm). I see that glibconfig.h is installed in the

Re: glib.h

2004-09-17 Thread Sven Neumann
Hi, Kermit Tensmeyer [EMAIL PROTECTED] writes: Are you sure gsize is defined in glibconfig.h? gint16 guint32 are there but gsize isn't Something is wrong with your glib installation then. It should surely be defined (or rather typedef'ed) there. Sven

Re: gtk-config file issue

2004-09-17 Thread Sven Neumann
Hi, Igor Kashevarov [EMAIL PROTECTED] writes: But I can't find gtk-config file, I need him for imlib, libstroke, fvwm. Application looking for gtk-config are looking for gtk+-1.2. The gtk+-2.x API is not compatible. You will need to install gtk+-1.2 (it can be installed in parallel with

Re: Overwrite the GtkButton class???

2004-09-07 Thread Sven Neumann
Hi, Julio Javier Cicchelli [EMAIL PROTECTED] writes: I'm in need to use the Button widget without those buttons graphical behaviors like the mouse rollover and that kind of things. I suppose that I've to overwrite the GtkButton class functions but I really don't know where to start doing it

Re: padding around EventBox child?

2004-08-31 Thread Sven Neumann
Hi, Skip Montanaro [EMAIL PROTECTED] writes: I'm using a Table widget to layout a bunch of Labels. Because I want to be able to set the background color of individual rows I placed each Label in an EventBox. I'd like to allow the EventBoxes to fill the space allotted to them by the Table

Re: gdk_draw_layout isn't working for some widgets

2004-08-26 Thread Sven Neumann
Hi. Viraj Chatterjee [EMAIL PROTECTED] writes: I'm using gdk_draw_layout to draw certain text on some widgets in my application, It works for most widgets, however, the text doesn't render atall for a few widgets. Here's a snippet of code I'm using: PangoLayout *layout =

Re: RFC: GObject FAQ

2004-08-25 Thread Sven Neumann
Hi, David Necas (Yeti) [EMAIL PROTECTED] writes: what each method should do much (cf. own widgets in Gtk+ tutorial, however obsolete it is). But the main problem is IMHO 2.4 depdendency -- true, 2.4 brings private variables and nice cargo cult macros like G_DEFINE_ABSTRACT_TYPE_WITH_CODE(),

Re: RFC: GObject FAQ

2004-08-25 Thread Sven Neumann
Hi, David Necas (Yeti) [EMAIL PROTECTED] writes: On Wed, Aug 25, 2004 at 11:30:26AM +0200, Sven Neumann wrote: It is the maintained stable version and anyone who is actively developing an application these days should use GTK+-2.4. The premise was true the day 2.4.0 was released as well

Re: Data to Callback Functions

2004-08-23 Thread Sven Neumann
Hi, Ruben Safir Secretary NYLXS [EMAIL PROTECTED] writes: I'm trying to write a program for the clinical pharmacy department at the hospital. I hoped to create a top_level window with a vbox. The top of the vbox has some buttons and the bottom has a frame. Depending on which button is

Re: GdkBitmap

2004-08-18 Thread Sven Neumann
Hi, Richard Plana [EMAIL PROTECTED] writes: Could someone explain the GdkBitmap structure? I need to create a shaped window which requires a bitmap of the transparent and visible (0 and 1) pixels of a window as a GdkBitmap, but the API reference guide doc has nothing on its format. The only

Re: GdkBitmap

2004-08-18 Thread Sven Neumann
Hi, Richard Plana [EMAIL PROTECTED] writes: Thanks and my apologies. I was looking at the wrong pages. That said, I still couldn't find a way to arbitrarilly create a GdkBitmap from scratch (ie. just specify a width and a height) and to modify its pixel contents (set and unset pixels). All

Re: gtk_option_menu

2004-08-17 Thread Sven Neumann
Hi, Carine Andersson [EMAIL PROTECTED] writes: Is there anyway to get a gtk_option_menu to show its contence (the menu items) without clicking on it with a pointing device such as a mouse? Focus the menu, press Space. Sven ___ gtk-list mailing

Re: Ugly close tab buttons in many themes

2004-08-17 Thread Sven Neumann
Hi, Brad Griffith [EMAIL PROTECTED] writes: With many GTK themes, the close button on tabs obscures the icon quite a bit, which is a very ugly sight (see http://ficusplanet.spymac.net/tabs.png). Does anyone know why this happens and/or how I can fix it? Thanks for any help. Close buttons

Re: Why check menu item's response was blocked?

2004-08-11 Thread Sven Neumann
Hi, jacky618 jacky618 [EMAIL PROTECTED] writes: I hope when the check menu item was selected, it will print ***### immediately,and ***@@@ when unselected. However, it can not print immediately after the menu item was clicked.And until the main window was closed, the strings will appear.

Re: Why check menu item's response was blocked?

2004-08-11 Thread Sven Neumann
Hi, David Necas (Yeti) [EMAIL PROTECTED] writes: Standard output is line-buffered by default. Either change it (setvbuf(3)) or, much better, print whole lines ended with \n. Or print to stderr (which is by default not buffered) using g_printerr(). Anyway, your GTK+ code should probably be

Re: configure doesn't create Makefile

2004-08-09 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: I wrote a few minutes ago b/c the configure in 2.4.4 didn't create a Makefile. I copied an unrelated configure and it did create a Makefile, but when I typed make I got an error. Has anyone else had this problem. As I mentioned before, it also happened with

Re: Double buffered animation in Gtk?

2004-08-07 Thread Sven Neumann
Hi, Ian Allman [EMAIL PROTECTED] writes: What about if GTK+ is on top of the Linux Frame buffer or on top of DirectFB. I assume that double buffering is not used in these instances (double buffering is only integral to X-Windows). Huh? GTK+ double buffering is not X dependant and should be

Re: Double buffered animation in Gtk?

2004-08-06 Thread Sven Neumann
Hi, Andreas Røsdal [EMAIL PROTECTED] writes: I've been looking at the demos that come with Gtk+, to find out how to do double buffered animation with Gtk+. In the demo ~/gtk+-2.4.4/demos/gtk-demo/pixbufs.c is doubled buffering used here? How is it used? All rendering in GTK2 is by default

Re: Why gtk_toolbar_append_element, gtk_toolbar_append_widget, ... ... should be deprecated ?

2004-07-27 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: I am a new commer to gtk programming.Today I got two small questions. 1. Why gtk_toolbar_append_element,gtk_toolbar_append_widget, ... ... should be deprecated ? If I do not use those deprecated function ,how can I add widget to the GtkToolbar . That is

Re: when are delete_event and motion_notify_event called?

2004-07-27 Thread Sven Neumann
Hi, Matt Strange [EMAIL PROTECTED] writes: I am a gtk newbie working on a widget which consists of 16 toggle buttons in an hbox. I have sucessfully stopped the emission of the event and button_press/release signals on the toggle buttons and set up a callback to these events which

Re: Stupid question regarding g_thread_init() and gtk_threads_init()

2004-07-27 Thread Sven Neumann
Hi, NavEcos [EMAIL PROTECTED] writes: Why are there two functions for this? Why doesn't g_thread_init() call gtk_threads_init()? g_thread_init() is part of GLib and GLib doesn't know anything about GTK+. You don't seriously expect the lower level library to call functions in the higher

Re: The GtkDrawingArea again...

2004-07-27 Thread Sven Neumann
Hi, Erik Jonsson [EMAIL PROTECTED] writes: Is the GtkDrawingArea using a GdkWindow internaly or is it using a client side image representation for some implementation reasons? A GtkDrawingArea is just a simple widget with a GdkWindow. It doesn't do any drawing. Whether you do client- or

Re: Stupid question regarding g_thread_init() and gtk_threads_init()

2004-07-27 Thread Sven Neumann
Hi, Arnaud Charlet [EMAIL PROTECTED] writes: Why are there two functions for this? Why doesn't g_thread_init() call gtk_threads_init()? g_thread_init() is part of GLib and GLib doesn't know anything about GTK+. You don't seriously expect the lower level library to call functions

Re: Stupid question regarding g_thread_init() and gtk_threads_init()

2004-07-27 Thread Sven Neumann
Hi, Arnaud Charlet [EMAIL PROTECTED] writes: If gdk_thread_init() would call g_thread_init() you couldn't use GTK+ with another library or any code that needs to call g_thread_init() before gtk_init(). Doesn't sound like a good idea to me. That's misleading: gdk_thread_init would call

Re: Stupid question regarding g_thread_init() and gtk_threads_init()

2004-07-27 Thread Sven Neumann
Hi, NavEcos [EMAIL PROTECTED] writes: Or why doesn't, say, gdk_threads_enter() say with an ASSERT hey stupid: I noticed that g_thread_init() was never called. But that's exactly what the code does: void gdk_threads_init () { if (!g_thread_supported ()) g_error (g_thread_init() must be

Re: changing language for gtk apps. in kde

2004-07-26 Thread Sven Neumann
Hi, sada asd [EMAIL PROTECTED] writes: Is there any way to set the language , so that the gtk applications come up in spanish when opened from kde menu? Running the KDE session in an environment which has LANG=es_ES set should do the trick. You will probably have to fiddle with the kdm setup.

Re: Display jpeg image only use GTK instead of using imlib and gdk-pixbuf

2004-07-26 Thread Sven Neumann
Hi, John Cupitt [EMAIL PROTECTED] writes: I would like to display jpeg images using pure gtk instead of using imlib or gdk-pixbuf, because I want to keep my code as small as possible. As I know that imlib is quite big, and gdk-pixbuf contains gnome both of which I intend not to use

Re: File dialog box save overwrite problem

2004-07-26 Thread Sven Neumann
Hi, prasanthi chaudhary [EMAIL PROTECTED] writes: I am writing a programme, if the user clicks on a button then i am displaying the filedialog box and reading the filename entered by the user, when user clicks on Ok button of the file dialog box and creating a file with that name(To store

Re: changing language for gtk apps. in kde

2004-07-21 Thread Sven Neumann
Hi, sada asd [EMAIL PROTECTED] writes: I would like to change the language settings for gtk based applications. I'm using kde . Is it possible to change the language without installing gdm ? I would like to keep the kdm login screen . All you need to do is to change your locale settings (a

Re: changing language for gtk apps. in kde

2004-07-21 Thread Sven Neumann
Hi, sada asd [EMAIL PROTECTED] writes: I'm using fedora core 2 and Gnome is not installed. All the locale variables are set to es_ES. the LANG variable is set to es_ES. Still gtk applications are showing in English instead of Spanish . That should do the trick. Are you sure that the

Re: Trouble Installing Pango

2004-07-21 Thread Sven Neumann
Hi, Marshall Lake [EMAIL PROTECTED] writes: While trying to install pango 1.5.1 near the (seemingly) end of compilation I get the following errors: /home/mlake/pango-1.5.1/pango/.libs/libpangoft2-1.0.so: undefined reference to `g_type_instance_get_private'

Re: changing language for gtk apps. in kde

2004-07-21 Thread Sven Neumann
Hi, sada asd [EMAIL PROTECTED] writes: I noticed that when i start the application in terminal, the gtk applications show in spanish without any errors. Only when I start the application from kde menu , the gtk apps show in english . Is there any settings that I've missed ? The LANG

Re: How would I use casting ?

2004-07-14 Thread Sven Neumann
Hi, could you please start reading the docs and the tutorial as well as the available example code. If you continue to ask here about virtually everything, people will very soon get annoyed and you won't get a response if you have a real question one day. Sven

Re: Licence?

2004-07-14 Thread Sven Neumann
Hi, John Cupitt [EMAIL PROTECTED] writes: Yes, provided you link dynamically against the gtk libraries. If you link statically, you need to publish your program sources. I am sorry but what you said about static linking is a common misunderstanding of the LGPL. Havoc expressed it quite nicely

Re: How would I use casting ?

2004-07-14 Thread Sven Neumann
Hi, Dipak G Patil [EMAIL PROTECTED] writes: I asked just you because, you have said following method is not best way but neither told why nor suggested best way. And obviously such statement would make anybody confused. OK then, perhaps it's time to repeat it once more then. A widget doesn't

Re: How would I use casting ?

2004-07-13 Thread Sven Neumann
Hi, Vincent Torri [EMAIL PROTECTED] writes: GtkWidget *gtk_win; GdkWindow *gdk_win; gtk_win = gtk_window_new (...); gtk_widget_realize (gtk_win); /* to create GDk ressources for gtk_win, in particular gtk_win-window */ gdk_win = gtk_win-window; /* to get the gdk window */ Whenever you

Re: How would I use casting ?

2004-07-13 Thread Sven Neumann
Hi, Dipak G Patil [EMAIL PROTECTED] writes: Thanks Vincent for your reply.Solution you provided removed errors from my program, but still it doesnt show anything :-( Here the the original program. It has been pointed out to you earlier already that you need to show the window if you want to

Re: Fw: How would I use casting ?

2004-07-13 Thread Sven Neumann
Hi, Dipak G Patil [EMAIL PROTECTED] writes: Thanks Yeti for your reply. Yes there was one API missing but after using that API also it shows normal window and doesnt maximize it (code is given below). And a very strange thing is that it works absolutely fine for gtk_window_iconify Could you

Re: Creating objects without deriving from GObject

2004-07-13 Thread Sven Neumann
Hi, Ryan McDougall [EMAIL PROTECTED] writes: I am writing a tutorial on using Glib type system, and developing some simple software as I go. I would like to create class that has no need for GObject (reference counting, properties, etc.), however it appears from the documentation that

Re: GTK+ - pango and xfs missing

2004-07-05 Thread Sven Neumann
Hi, Mariusz [EMAIL PROTECTED] writes: configure: error: Pango 1.2.0 and Xft backend is required for x11 target I check pango and xft: [EMAIL PROTECTED] gtk+-2.4.3]# pkg-config --modversion pango 1.4.0 [EMAIL PROTECTED] gtk+-2.4.3]# pkg-config --modversion xft 2.1.2 Well, what about

Re: passing 3 widgets as parameters to g_signal_connect

2004-07-05 Thread Sven Neumann
Hi, Leslie Harlley Watter [EMAIL PROTECTED] writes: warning: assignment discards qualifiers from pointer target type well, the return value of gtk_entry_get_text() is a const gchar *, so you better assign it to a variable of that type. Sven ___

<    1   2   3   4   5   6   7   8   >