GTK DND

2014-08-25 Thread Neil Munro
Hi all, I write an app called X2, which is a small programming editor (yeah, I know, who DOESN'T have an editor these days) but I'm having some difficulty deciding and implementing how to handle multiple drag and drop... things. I want (and currently handle) drag and drop files onto an ap

GTK3 VTE

2012-04-18 Thread Neil Munro
Hey all I am trying to convert a project from gtk2 to gtk3 using both regular compilation and autotools, I can't seem to find much about how to access vte. I currently type: gcc `pkg-config --cflags --libs gtk+-3.0 vte` -o app app.c -Wall Is vte referred to the most recent version based

Re: Re : Iconview stock items

2012-01-22 Thread Neil Munro
rsion of GTK2 (cf the link you send). The current > version is available on the gtk homepage. The Gtk-documentation has > really been improved since. > > > > 2012/1/17 Neil Munro : >> On 17 January 2012 18:20, Nicolas SOUBEIRAN >> wrote: >>> Le 17/01/2012

Re: Re : Iconview stock items

2012-01-17 Thread Neil Munro
On 17 January 2012 18:20, Nicolas SOUBEIRAN wrote: > Le 17/01/2012 02:02, Neil Munro a écrit : > >> On 16 January 2012 19:01, Nicolas SOUBEIRAN >>  wrote: >>> >>> Use gtk_widget_render_icon_pixbuf >>> If you need a custom size, you may look after gtk

Re: Re : Iconview stock items

2012-01-16 Thread Neil Munro
On 16 January 2012 19:01, Nicolas SOUBEIRAN wrote: > Use gtk_widget_render_icon_pixbuf > If you need a custom size, you may look after gtk_icon_size_register > > Is this a gtk3 function as I cannot find it as a function of a gtk2 widget: http://www.gtk.org/api/2.6/gtk/GtkWidget.html _

Iconview stock items

2012-01-14 Thread Neil Munro
I am working with an icon view and am trying to load stock items into the gdk_pixbuf_new_from_file( ) but it's not working, I assume that is perhaps because I am using the function wrong, is there a way to do what I am trying to do? I am following the tutorial here: http://zetcode.com/tutorials/gt

Re: Real time removal of toolitem

2012-01-14 Thread Neil Munro
gtk_widget_hide( GTK_WIDGET( pd->tb_cmd ) ); else gtk_widget_show( GTK_WIDGET( pd->tb_cmd ) ); Thanks though. 2012/1/14 David Nečas : > On Sat, Jan 14, 2012 at 12:34:10PM +, Neil Munro wrote: >>       I was wondering if it is possible to remove a

Real time removal of toolitem

2012-01-14 Thread Neil Munro
supported? I don't see why it's not supported as a toolitem is a widget and should be destroyed like all other widgets and I have tried the while( gtk_pending_events( ) )... trick and that's not worked so does anyone have any ideas? Tha

Re: Keybindings

2011-10-18 Thread Neil Munro
ignal_connect (window, "key_press_event", G_CALLBACK (keyBindings), > NULL); > > gtk_widget_show (window); > gtk_main(); > return 0; > } > > Dong > > -- > *From:* Neil Munro > *To:* gtk-app-devel-list@gnome.org > *Se

Re: Keybindings

2011-10-17 Thread Neil Munro
have figured out the key-press-event is the key here, but I can't seem to figure it out yet. Do I set up a signal_connect from the window or something? > > ------ > *From:* Neil Munro > *To:* gtk-app-devel-list@gnome.org > *Sent:* Sunday, October 16, 2011

Re: glib and relative file names

2011-10-16 Thread Neil Munro
am > process that likely to be wrong. g_get_current_dir() return your > home directory path most likely because you invoke your program > from there. > >Ardhan > > > --- neilmu...@gmail.com wrote: > > From: Neil Munro > To: gtk-app-devel-list@gnome.org > Subj

Keybindings

2011-10-16 Thread Neil Munro
accelerator group to work with widgets on screen, but what I want to do here has no widget to click or whatever to show these. Thanks, Neil Munro ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app

glib and relative file names

2011-10-08 Thread Neil Munro
Hey guys I am trying to work out a system to pass files to the application I am working on, now it can accept absolute paths but it doesn't seem to like relative paths can someone have a look at my code and see why the G_FILE_TEST_EXISTS check fails? I have tried making the argument a

Re: Notebooks and GLists

2011-08-31 Thread Neil Munro
I use such an id system though? Also sorry if this top posts its being composed on my phone, I don't know how it copes yet. On 30 Aug 2011 23:49, "Michal Suchanek" wrote: > On 30 August 2011 23:08, Neil Munro wrote: >> Hi folks >> Not a very descript title

Notebooks and GLists

2011-08-30 Thread Neil Munro
Hi folks Not a very descript title, but I fail to come up with a better one. Anyway my problem is as follows. I have a notebook with reorderable tabs which each displays a sourceview widget. Each sourceview widget represents a document where a document is an instance of an object/struct

VTE help

2011-07-29 Thread Neil Munro
I have been struggling to find examples and documentation on the vte library for C. I have found a small example here http://www.gtkforums.com/viewtopic.php?f=3&t=3304&hilit=vte but I am still struggling for help since that example uses a deprecated call fork_command call which should be fork_comma

Searching a gtk text view

2011-07-21 Thread Neil Munro
can apply tags and insert marks without invalidating your iterators, but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset) will invalidate all outstanding iterators If someone could help me I would be very appreciative. Neil M

Re: Help with closing a notebook page (GTK2)

2011-07-05 Thread Neil Munro
that page to the front > first or not. > > Or is there something I've overlooked? > walter > > > > > From: Bill C > To: gtk-app-devel-list@gnome.org > Sent: Sun, July 3, 2011 3:54:13 PM > Subject: Re: Help with closing a

Re: Help with closing a notebook page (GTK2)

2011-07-03 Thread Neil Munro
On 3 July 2011 19:31, Thomas Bollmeier wrote: >>Ursprüngliche Nachricht- >>Von: "Neil Munro" >>Gesendet: 02.07.2011 23:40:02 >>An: gtk-app-devel-list@gnome.org >>Betreff: Help with closing a notebook page (GTK2) >> >>Hi, I have used

Re: Help with closing a notebook page (GTK2)

2011-07-03 Thread Neil Munro
On 3 July 2011 01:25, Bill C wrote: > On 03/07/11 07:40, Neil Munro wrote: >> >> Hi, I have used pygtk before so I am familiar with some of the basic >> concepts of gtk, but this is my first attempt with an actual gtk+ C >> application and I have run into a few issu

Help with closing a notebook page (GTK2)

2011-07-02 Thread Neil Munro
g. I have attached the code for your reference in the hopes that someone shall be able to point out my no doubt simple mistake. Many thanks in advance, Neil Munro ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.o