Sorting a TreeView with Glade/GtkBuilder

2014-01-09 Thread Craig
gle column. Any suggestions? Thanks, Craig ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtk and linux

2011-11-03 Thread Craig
Hi, Is there a list of linux "flavors" like Ubuntu, KDE, Red Hat... that include or don't include gtk? And, let's say that a type of linux doesn't include gtk, how difficult is it for an average computer user to install gtk (on a scale

GLib with Flex and Bison

2011-10-02 Thread Craig
Hi, I have spent the past two weeks studying Flex and Bison. It is great stuff! I am about to try to use GLib in a Bison file, mainly calling functions on the GList Object. I have never tried this before. Will it work? Are there any threading issues? -- Craig

Re: GList empty after iteration?

2011-09-12 Thread Craig
thing is pointing to NULL, so getting the first object of NULL is problematic. Thanks for helping me hack through this. I have created a solution. -- Craig ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/m

GList empty after iteration?

2011-09-12 Thread Craig
Hi All, I am confused about GList. My application is parsing a file and creating midi data with it. I am using GList to store the midi data. I have created a GtkListStore to view the parsed data (to insure I am parsing the data properly). So, below I iterate through the GList and "copy" the data

Re: Simple Html-View widget

2011-09-10 Thread Craig
Hi, I am not expert on this issue, but isn't Pango the way to go. I think you should look up the Pango functions or how gtk deals with the Pango thing. Craig Bakalian > Hello, > > in my application I store some Text data in xml files. > Some nodes are displayed via a gtk-labe

Re: Key Repeats

2011-08-30 Thread Craig
. I never knew it existed. Thanks. Craig Bakalian On Tue, 2011-08-30 at 12:00 +, gtk-app-devel-list-requ...@gnome.org wrote: > > Hi All, > > > > Don't we have a way to program (via gtk) if a key, when pressed, > > repeats its signal? Example- the 'a'

Keyboard Key Repeats

2011-08-29 Thread Craig
Hi All, Don't we have a way to program (via gtk) if a key, when pressed, repeats its signal? Example- the 'a' key, if repeat is on key, I get aaa, or if repeat is off I get one a. Right now I am using the System Settings.

Re: Gtk 3.0 Build

2011-03-28 Thread Craig Bakalian
Hi Allin, Yes, Yes. I just read through this subject, or gleaned it. Is there an code example of theme - ing in gtk3.0 anywhere in internet land? Craig Bakalian On Mon, 2011-03-28 at 17:05 -0400, Allin Cottrell wrote: > On Mon, 28 Mar 2011, Craig Bakalian wrote: > > > Also,

Gtk 3.0 Build

2011-03-28 Thread Craig Bakalian
Hi, I finally clean up my application and it builds in 3.0 with GtkBuilder as its gui. But there is one problem - what is causing the Gtk-WARNING of menu_proxy_module_load : /home/craig/MusicEditor/musiceditor: undefined symbol: menu_proxy_module_load my code does not explicitly call the

meny_proxy_module_load

2011-03-14 Thread Craig Bakalian
Hi, I realize that this is a well known bug, but I must ask why is this module missing? (window:13240): Gtk-WARNING **: Failed to load type module: (null) `menu_proxy_module_load': /home/craig/test/window: undefined symbol: menu_proxy_module_load I don't mean to be a american smart

GtkBuilder

2011-03-13 Thread Craig Bakalian
o use gtk_builder_connect_signals_full? That is even more hard work! Is anybody out there having difficulty making the transition to gtk3 on ubuntu 11.04 like I am having? -- Craig Bakalian ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Failed to load module on run

2011-03-13 Thread Craig Bakalian
Hi, I have been working hard to convert to 3! I am getting this when I try to run my gtk+3.0 builds-> Gtk-Message: Failed to load module "canberra-gtk-module" Gtk-Message: Failed to load module "gnomesegvhandler" Any help is appreciate

I Miss Using My Anjuta IDE

2011-03-11 Thread Craig Bakalian
here is no gtksourceview object at all. I guess the general question is, why are there so many conflicts with in the development layer of gnome and ubuntu 11.04. Is it Unity? Or is this a question for the ubuntu team, where and who ever they are? -- Crai

Re: Updated to Ubuntu 11.04 and Can't Compile

2011-03-06 Thread Craig Bakalian
Hi Allin, I don't think it was the grace of god in my old makefiles. It was an older version of gcc on my hard drive. Thank you for all your help. Craig Bakalian On Sat, 2011-03-05 at 21:36 -0500, Allin Cottrell wrote: > On Sat, 5 Mar 2011, Craig Bakalian wrote: > > > We

Re: Updated to Ubuntu 11.04 and Can't Compile

2011-03-05 Thread Craig Bakalian
Well call me a frog. It worked. What the heck is going on? I gotta change all my makefiles? > > CC = gcc -g -O2 -Wall # or to taste > > CFLAGS = `pkg-config --cflags gtk+-2.0` > > LIBS = `pkg-config --libs gtk+-2.0` > > > > foo: foo.c > > $(CC) $(CFLAGS) -o @$ $< $(LIBS) > > Oops, that sh

Re: Updated to Ubuntu 11.04 and Can't Compile

2011-03-05 Thread Craig Bakalian
> > So are the libraries actually there? > > ls -al /usr/lib/libgtk-x11-2.0* > > There should be a symlink, something like > > /usr/lib/libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.2000.1 > > (version numbers may differ). If not, you need to (re-)install > libgtk2.0-dev at least. > > Allin Cottr

Re: Updated to Ubuntu 11.04 and Can't Compile

2011-03-05 Thread Craig Bakalian
you ask for gtk+-2.0? Use --debug. > And if they are what you expect do they define the symbols such as > gtk_main? Running pkg-config is indeed of no avail if the result is > not examined. > > Yeti > I am not sure what you mean by .pc file and if I ask for g

Updated to Ubuntu 11.04 and Can't Compile

2011-03-05 Thread Craig Bakalian
on an attempt to compile, notice the ld returned 1 exit status at the end-> craig@craig:~$ cc `pkg-config --cflags --libs gtk+-2.0` hello.c -o hello /tmp/ccfg4t6z.o: In function `main': hello.c:(.text+0x17): undefined reference to `gtk_init' hello.c:(.text+0x23): undefined reference

Updated to Ubuntu 11.04

2011-03-05 Thread Craig Bakalian
ow to get them back? -- Craig Bakalian ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: g_remove

2011-02-17 Thread Craig Bakalian
Hi David and KC, The did the trick. But it is odd behavior. #include was already in my includes. Craig Bakalian On Fri, 2011-02-18 at 02:00 +0800, KC wrote: > Try to add include > > KC > > On Fri, Feb 18, 2011 at 1:45 AM, Craig Bakalian > wrote: > > Hi, > &

Re: g_remove

2011-02-17 Thread Craig Bakalian
Hi, I have gtk and glib as includes? Am I missing something? If there wasn't the right include, the build would fail, further, the function wouldn't remove the file. Craig Bakalian On Thu, 2011-02-17 at 12:29 +, James Morris wrote: > On 17 February 2011 12:27, Craig Ba

g_remove

2011-02-17 Thread Craig Bakalian
Hi, I am using g_remove to remove some temporary files from the /tmp folder. It is working as expected. Yet, gcc is complaining that I am making an implicit declaration. What is up with this? Craig Bakalian ___ gtk-app-devel-list mailing list gtk

Re: g_spawn_async_with_pipes

2011-02-12 Thread Craig Bakalian
re correct, it is awkward. I just had this vision of two g_spawn_async_with_pipes() hooked together. Running echo output &echo_out directly into lilypond's input &echo_out as if they "may" share &echo_out. I will need to test/hack this. I hate hac

Changing gtkrc prelight color of a GtkLabel inside of a GtkEventBox

2010-10-24 Thread Craig Harding
I'm trying to find why I can't change the prelight foreground color of a GtkLabel which is inside a GtkEventBox. I'd first like to point out that the fg[NORMAL] and font_name fields work correctly for this gtklabel. It is only the hover over event where I'm having trouble setting the color (or PRE

Re: newbie Question

2008-07-15 Thread Craig Petty
ate: Tuesday, July 15, 2008, 11:40 AM > Craig Petty wrote: > > How would i make a gtk+ for a wireless networking? > > First read gtk tutorials. Then compile, run and modify some > gtk samples, > just so you get into how gtk works. Then you can read the > sourcecode of

newbie Question

2008-07-15 Thread Craig Petty
How would i make a gtk+ for a wireless networking? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Looking for signal/callback design advice

2007-04-07 Thread Craig Pemberton
k-end interface. Anyone who can give advice or link to examples or tutorials would be a godsend. Anything that will save wasting development time in the long run. - Craig -- View this message in context: http://www.nabble.com/Looking-for-signal-callback-design-advice-tf3540512.html#a9883327 Sent

Re: Accessing a GtkTable's children.

2007-04-07 Thread Craig Pemberton
mage); //Redisplay the widgets gtk_widget_show ( (GtkWidget*) toggletoolbutton); gtk_widget_show ( (GtkWidget*) connect_image); gtk_widget_show ( (GtkWidget*) label_engage); fstop_engaged = 0; } } On 4/7/07, Craig Pemberton <[EMAIL PROTECTED]> wrote: > >

Re: Accessing a GtkTable's children.

2007-04-07 Thread Craig Pemberton
, i); g_printf("Widget %d is %s.\n", i, gtk_widget_get_name (test)); } . . . - Craig -- View this message in context: http://www.nabble.com/Accessing-a-GtkTable%27s-children.-tf3539983.html#a9882649 Sent from the Gtk+ - Apps Dev mailing list archive

Accessing a GtkTable's children.

2007-04-06 Thread Craig Pemberton
rint: assertion `format != NULL' failed What am I doing wrong? If anyone could help me it would be greatly appreciated. I have been fighting with this all day. - Craig -- View this message in context: http://www.nabble.com/Accessing-a-GtkTable%27s-children.-tf3539983.html#a9881778 Sent from the

leaving focus.

2005-12-12 Thread Craig Harding
I've looked up but can't find how I leave focus on an applet or GtkWidget. When I click a button on a widget, there's a rectangle that surrunds the whole applet. Is there a C call that leaves the focus of the window or widget? Craig.

Re: swap images on click event.

2005-12-10 Thread Craig Harding
Got it working. I made an event box for each button and hid and showed each one when needed. Thanks for your help earlier. craig. Craig Harding wrote: Sorry for the delay on this, but I'm still in exams. :) When I add both GtkImages to the applet, and run the program I get the foll

Re: swap images on click event.

2005-12-10 Thread Craig Harding
only contain one widget at a time; it already contains a widget of type GtkImage - When the gtk_widget_hide and gtk_widget_show functions are called, the button is hidden, but when the other button is supposed to show, it doesn't. Craig. Yury Aliaev wrote: Craig Harding scripsit: Ok,

Re: swap images on click event.

2005-12-04 Thread Craig Harding
atic gboolean on_play_button_press (GtkWidget *event_box,GdkEventButton *event,gpointer data) { // do show/hide stuff here? how do I do it? } -- thanks for any help, craig. Yury Aliaev wrote: Craig Harding scripsit: Hi, I'm trying to change an image with another when I cl

Re: swap images on click event.

2005-11-28 Thread Craig Harding
click on the now changed play button (cause I want the pause button to show) but this does not work. This is the problem I'm facing. Thanks for you help previously too.. Craig. Tristan Van Berkom wrote: Craig Harding wrote: Hi, I'm trying to change an image with another when I click o

swap images on click event.

2005-11-27 Thread Craig Harding
Hi, I'm trying to change an image with another when I click on my applet button, but it doesn't work, can anyone help me out? CODE: play_button = gtk_image_new_from_file ("/usr/local/pixmaps/play.png"); pause_button = gtk_image_new_from_file("/usr/local/pixmaps/pause.png"); gtk_widget_ref