getting instance - help

2007-04-19 Thread Alexander Miro
Hi, first of all sorry about my English mistakes. I've made a shared object (DLL) which is loaded by Mozilla Browser. When I try to call a gtk_message_dialog_new() from this dll class instance a SIGSEGV comes up. I have a suspicion that there is a conflict with Mozilla GTK instance even after a

Displaying contents of a folder in gtk_tree_view

2007-04-19 Thread Tom
Hi! I'm writing a program which uses gtk_tree_view to display the contents of a folder. This folder is selected by the user through a gtk_file_chooser_dialog. Now while I can get my app to display the files of any folder I want when I tell it which folder to scan by 'hardcoding' in the path,

Aligning label baselines

2007-04-19 Thread Yeti
Hello, does anyone know how to align the baselines of GtkLabels? Without reimplementing most of GtkLabel, if possible. Assume a table such as this one: include gtk/gtk.h int main(int argc, char *argv[]) { static const

Re: Aligning label baselines

2007-04-19 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Nečas (Yeti) wrote: for (i = 0; i G_N_ELEMENTS(labels); i++) gtk_table_attach(GTK_TABLE(table), g_object_new(GTK_TYPE_LABEL, label, labels[i], use-markup, TRUE,

GTK cell renderer for button?

2007-04-19 Thread Jan-Oliver Wagner
Hello, I need a cell renderer that simply displays a button to trigger a function related to the respective column. I wonder why there is no such in GTK+ yet. Is there a particular reason or did it just happen no one had the time/budget for this? I've followed a recent hint on this list and

gtk eating tab hotkey

2007-04-19 Thread Dan McMahill
I've created a main menubar with a handful of menus using the UI manager. All of my hotkeys work except for the menuitem which uses Tab as the hotkey. The problem is that gtk eats the tab and uses it to move the focus around my different buttons and and other widgets on the screen. Then the

Re: gtk eating tab hotkey

2007-04-19 Thread Liam R E Quin
On Thu, 2007-04-19 at 20:45 -0400, Dan McMahill wrote: I've created a main menubar with a handful of menus using the UI manager. All of my hotkeys work except for the menuitem which uses Tab as the hotkey. The problem is that gtk eats the tab and uses it to move the focus around my

Re: gtk eating tab hotkey

2007-04-19 Thread Dan McMahill
Liam R E Quin wrote: On Thu, 2007-04-19 at 20:45 -0400, Dan McMahill wrote: I've created a main menubar with a handful of menus using the UI manager. All of my hotkeys work except for the menuitem which uses Tab as the hotkey. The problem is that gtk eats the tab and uses it to move the

Re: Gtk+ Volunteer tasks

2007-04-19 Thread Clemens Eisserer
Hi, Very happy to see something is happening on that side :-) I personally dislike GTK a bit ... but keeping in mind its improntance for Linux in general I am really happy that things are ongoing to make contributions easier. I am also happy that at least the statement has been accepted that GTK

Re: GLib and 64-bit Windows

2007-04-19 Thread Jake Goulding
I'll wait to hear about the proper place to put these... but here are the mess of patches I currently apply against 2.12.9 to get something working under Windows 64-bit. I tried to split all the patches into clearly-defined sections, but there is the chance that some overlap occurs. I simply

GtkCanvas requirements?

2007-04-19 Thread Carlos Garnacho
Hi all!, After reading Tim's mail about volunteer tasks [1], I've bitten the bullet and will try to help out fostering the GtkCanvas discussion, so here it goes! There have been several discussions about getting a canvas into GTK+, being the last one in the GTK+ meeting at Fosdem [2], where one

is glib too bloated?

2007-04-19 Thread Brandon Casey
I am posting to suggest that glib has crossed a threshold of size and functionality and that users would benefit from a splitting of the library into two or more separate libraries. In my opinion, it is exceeding its stated purpose as a low-level core library... provid[ing] data structure

Re: is glib too bloated?

2007-04-19 Thread Hans Petter Jansson
On Thu, 2007-04-19 at 12:33 -0500, Brandon Casey wrote: I am posting to suggest that glib has crossed a threshold of size and functionality and that users would benefit from a splitting of the library into two or more separate libraries. [...] The growth in size and in dependencies is

Re: GtkCanvas requirements?

2007-04-19 Thread Marco Pesenti Gritti
On 4/19/07, Carlos Garnacho [EMAIL PROTECTED] wrote: Hi all!, After reading Tim's mail about volunteer tasks [1], I've bitten the bullet and will try to help out fostering the GtkCanvas discussion, so here it goes! There have been several discussions about getting a canvas into GTK+, being

Re: GtkCanvas requirements?

2007-04-19 Thread Havoc Pennington
Hi, Carlos Garnacho wrote: First of all we need to specify the feature requirements for the canvas. I'd step back first and do use-cases instead, and also talk about at a high level what the canvas is for and when it would be used, i.e.: - when is a canvas item used vs. a widget? what

Re: GtkCanvas requirements?

2007-04-19 Thread Havoc Pennington
Marco Pesenti Gritti wrote: * Key navigation (which is obviously also a prerequisite for a11y) I'd add to this bullet anything GtkWidget has that HippoCanvasItem does not - basically HippoCanvas is the GtkWidget/GtkContainer replacement school of canvas thought. * Ability to set a global

Re: GtkCanvas requirements?

2007-04-19 Thread Marco Pesenti Gritti
On 4/19/07, Havoc Pennington [EMAIL PROTECTED] wrote: Hi, Carlos Garnacho wrote: First of all we need to specify the feature requirements for the canvas. I'd step back first and do use-cases instead, and also talk about at a high level what the canvas is for and when it would be used, i.e.:

Re: GtkCanvas requirements?

2007-04-19 Thread Marco Pesenti Gritti
On 4/19/07, Havoc Pennington [EMAIL PROTECTED] wrote: Marco Pesenti Gritti wrote: * Key navigation (which is obviously also a prerequisite for a11y) I'd add to this bullet anything GtkWidget has that HippoCanvasItem does not - basically HippoCanvas is the GtkWidget/GtkContainer replacement

Re: GtkCanvas requirements?

2007-04-19 Thread Cody Russell
On Thu, 2007-04-19 at 18:51 +0200, Carlos Garnacho wrote: There have been several discussions about getting a canvas into GTK+, being the last one in the GTK+ meeting at Fosdem [2], where one of the conclusions was that we needed to gather the candidates on one side and the desired feature

Re: GtkCanvas requirements?

2007-04-19 Thread Havoc Pennington
Marco Pesenti Gritti wrote: There is something which bothers me though. Support for some units, points for example, would require floating points measures. And I suspect we don't want to do layout in floating point (instability issues). Mozilla converts css units in twips (an arbitrary

Re: GLib and 64-bit Windows

2007-04-19 Thread Tor Lillqvist
Jake Goulding writes: Some comments inline below: +#if defined(_MSC_VER) defined (_M_X64) It would be better to separate things that are compiler-dependent and things that are platform dependent. If and when gcc becomes available for 64-bit Windows, _MSC_VER won't be defined when using it.

Re: Wimp tab rendering patch

2007-04-19 Thread Cody Russell
On Sun, 2007-04-01 at 21:46 +0200, Lieven van der Heide wrote: I made a new version which should work with tabs at any side, and also, the stretched packing seems to work fine now. My patch is still against revision 17429. Maybe someone can test it, and if it works I can merge it with