ComboBox

2013-06-27 Thread Rui Pedro Caldeira
Hello guys, I'm new to GTK+ and I've run into a problem when creating a ComboBox. I'm using GTK+ 2.24.18 and following the tutorial from this page: https://developer.gnome.org/gtk-tutorial/2.24/x1063.html But when I try to compile the code, it seems that none of the functions I call exists in th

Re: ComboBox

2013-06-27 Thread Rui Pedro Caldeira
Thank You guys, I will try that out! Best Regards, Rui On Thu, Jun 27, 2013 at 3:02 PM, Andreas Rönnquist wrote: > On Thu, 27 Jun 2013 14:46:41 +0100, > Rui Pedro Caldeira wrote: > > >Hello guys, I'm new to GTK+ and I've run into a problem when creating a > >

Insert Various GTKWidgets into a dlg_window

2013-06-28 Thread Rui Pedro Caldeira
Hello Again, I have another problem. I have all sorts os GTKWidgets (buttons, labels, comboboxes,...) and a dlg_window. And I would like to know how I can put all those widgets in the dlg_window and set their size and position in the window. Thanks in Advance and Best Regards, Rui __

Re: EXT :Insert Various GTKWidgets into a dlg_window

2013-06-28 Thread Rui Pedro Caldeira
Thnaks for that is a great suggestion, and I will keep that in mind when I'm building a application from the ground up. But I'm expanding a already existing (and complex) application. Will that work? Cumprimentos, Rui Pedro Caldeira On Fri, Jun 28, 2013 at 7:11 PM, Orton, Steven J

Re: Insert Various GTKWidgets into a dlg_window

2013-06-28 Thread Rui Pedro Caldeira
I will try that out thanks Andrew. Regards, Rui Cumprimentos, Rui Pedro Caldeira On Fri, Jun 28, 2013 at 7:59 PM, Andrew Potter wrote: > On Fri, Jun 28, 2013 at 10:45 AM, Rui Pedro Caldeira > wrote: > > I have all sorts os GTKWidgets (buttons, labels, comboboxes,...) and a &g

Re: Insert Various GTKWidgets into a dlg_window

2013-06-28 Thread Rui Pedro Caldeira
I'm sorry Andrew but I'm using GTK+ 2.24.19 and there is not GTKGrid on this version, aren't you aware of an equivalent for version 2.24.19 of GTK+? Cumprimentos, Rui Pedro Caldeira On Fri, Jun 28, 2013 at 9:33 PM, Rui Pedro Caldeira wrote: > I will try that out thanks A

Re: Insert Various GTKWidgets into a dlg_window

2013-06-29 Thread Rui Pedro Caldeira
I will try that out thanks Andrew. Regards, Rui Cumprimentos, Rui Pedro Caldeira Licenciatura em Engenharia Informática Departamento de Informática Faculdade de Ciências da Universidade de Lisboa http://webpages.alunos.fc.ul.pt/~fc38848 On Fri, Jun 28, 2013 at 7:59 PM, Andrew Potter wrote

Re: Insert Various GTKWidgets into a dlg_window

2013-06-29 Thread Rui Pedro Caldeira
I will try that out thanks Andrew Regards, Rui On Friday, June 28, 2013, Andrew Potter wrote: > On Fri, Jun 28, 2013 at 10:45 AM, Rui Pedro Caldeira > > wrote: > > I have all sorts os GTKWidgets (buttons, labels, comboboxes,...) and a > > dlg_window. > > > > A

Re: Insert Various GTKWidgets into a dlg_window

2013-06-29 Thread Rui Pedro Caldeira
more rows, but the window expands and the buttons stay the same size. Thanks in advance, Rui [1] Image - http://tinypic.com/r/sxlw0l/5 Cumprimentos, Rui Pedro Caldeira On Sat, Jun 29, 2013 at 1:05 AM, Andrew Potter wrote: > On Fri, Jun 28, 2013 at 2:10 PM, Rui Pedro Caldeira > wrote:

IA__gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

2015-03-12 Thread Rui Pedro Caldeira
Hello guys, I once again seek your guidance. I have a series of GtkWidget* that then take the form of GtkButton, GtkComboBoxText,... And when I close a window, I first want to destroy the widgets. So I use the following macro: #define NEW_GTK_DESTROY(WIDGET) if(WIDGET!=NULL) {