Re: Aligning label baselines

2007-04-19 Thread Yeti
On Thu, Apr 19, 2007 at 04:28:42PM -0600, Kevin DeKorte wrote: > -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_LAB

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

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 d

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 th

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 look

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", T

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 int main(int argc, char *argv[]) { static const gchar *label

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 pat

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