Update Gtk+3.0

2017-04-21 Thread Rúben Rodrigues
Hi guys, I'm in trouble with gtk version i think. When i run pkg-config --modversion gtk+-3.0 in my Raspberry Pi that is running Raspbian OS, i get 3.14.5 version. If i try to update with sudo apt-get update and sudo apt-get upgrade, i have the same version. How i can update to gtk+

Re: more of a C question than GTK+3.0??

2014-09-06 Thread Gary Kline
= Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 28 years of service to the Unix community. well, I hate to telll fibs, but I'm still at it. It has been years since I listened to my bio; 'snot that bad>.. On Sat, Sep 06, 2014 a

Re: more of a C question than GTK+3.0??

2014-09-06 Thread Gergely Polonkai
What I would do instead is: GtkWidget **label[1000]; // if you have a dynamic number of labels, consider using a GArray maybe int i = 0; label[i++] = gtk_label_new("first text"); // this will be label[0] label[i++] = gtk_label_new("second text"); // this will be label[1] … After this, instead of

Re: more of a C question than GTK+3.0??

2014-09-06 Thread Gary Kline
= Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 28 years of service to the Unix community. On Sat, Sep 06, 2014 at 08:08:34AM +0200, Gergely Polonkai wrote: > On 6 Sep 2014 03:12, "Gary Kline" wrote: > > > > = > > Organization: Thought Unlimited.

Re: more of a C question than GTK+3.0??

2014-09-06 Thread Gary Kline
= Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 28 years of service to the Unix community. On Fri, Sep 05, 2014 at 09:43:00PM -0400, Chris Moller wrote: > What do you mean, "fails?" What happens? And what do you want to happen? when I try t

Re: more of a C question than GTK+3.0??

2014-09-05 Thread Gergely Polonkai
On 6 Sep 2014 03:12, "Gary Kline" wrote: > > = > Organization: Thought Unlimited. Public service Unix since 1986. > Of_Interest: With 28 years of service to the Unix community. > > things that I *thought* might work by using > > s = gtk_label_get_text(GTK_LABEL((GtkWidget)buf)); >

Re: more of a C question than GTK+3.0??

2014-09-05 Thread Chris Moller
What do you mean, "fails?" What happens? And what do you want to happen? On 09/05/14 21:12, Gary Kline wrote: = Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 28 years of service to the Unix community. things that I *thought* might work by

more of a C question than GTK+3.0??

2014-09-05 Thread Gary Kline
= Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 28 years of service to the Unix community. things that I *thought* might work by using s = gtk_label_get_text(GTK_LABEL((GtkWidget)buf)); fails. (with contains the String "label1") I

event-after in Gtk+-3.0

2014-07-07 Thread Ondrej Tuma
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, i use event-after in Mind Map Architect to center map widget to root node. In Gtk+2.0 version, I've connect to first event-after signal, to set values on ScrolledWindow adjustments. But this not work in Gtk+-3.0 version. Please, do you

vim gtk+3.0 syntax

2012-09-24 Thread Vlasov Vitaly
Hello, all. Is GTK3.0 Vim syntax highlighting exist? I found in Internet python script vim-sym-gen.py, that generate symbols from gtk-doc, but don't know how to use it. Where to find manual/how-to to this script? ___ gtk-app-devel-list mailing list gtk-

GTK 3.0 .....Menu=Window-Popup

2012-07-05 Thread Mariano Gaudix
Hello ...Excuse me for my question I am creating a combo-box with scrollbar with GTK 3.0 and VALA (gtk) . .as the COMBO-BOX in LibreOffice that have in the list of FONTS .. I have been able to create something like a MENU

Re: GTK 3.0 inactive buttons (Buttons : maximize , minimize , close )

2012-06-22 Thread Mariano Gaudix
dron "); > > >gtk_combo_box_text_append_text ( GTK_COMBO_BOX_TEXT(combo), " > Anibal Bigoton "); > > >gtk_widget_show(combo); > > > > > >gtk_box_pack_start(GTK_BOX(hbox), combo, TRUE, TRUE, 0); > > > >gtk_widget_show_all(window); >gtk_main(); > > > > > > > > >return 0; > } > > > > /***CODE END**/ &g

Re: GTK 3.0 inactive buttons (Buttons : maximize , minimize , close )

2012-06-22 Thread Mariano Gaudix
l(window); gtk_main(); return 0; } /***CODE END**/ // /// ////////// I am creating a com

Re: GTK 3.0 inactive buttons (Buttons : maximize , minimize , close )

2012-06-21 Thread Tadej Borovšak
Hello. > Hello How I can make the buttons are inactive , the buttons of > the window (Buttons : maximize , minimize , close ) or without focus when > the pointer isover them ? > > I need to get the effect . Caso 2 . View image > > > http://fotos.subef

GTK 3.0 inactive buttons (Buttons : maximize , minimize , close )

2012-06-21 Thread Mariano Gaudix
Hello How I can make the buttons are inactive , the buttons of the window (Buttons : maximize , minimize , close ) or without focus when the pointer isover them ? I need to get the effect . Caso 2 . View image http://fotos.subefotos.com/607c3fb8e19de4e

Re: How to create irregularly shaped window with GTK+3.0

2011-09-26 Thread Wen-Yen Chuang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1,SHA512 jwm wrote: > As far as I managed to work out, you must use cairo now which > means the user must have desktop compositing enabled. Ah, and the good news, the code in gcin do work on all window managers, even on those has no compositing supporte

Re: How to create irregularly shaped window with GTK+3.0

2011-09-26 Thread Wen-Yen Chuang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1,SHA512 Weitian Leung wrote: > I used to simply call gtk_widget_shape_combine_mask and > gdk_window_set_back_pixmap to create the irregularly-shaped window > with the png image with gtk+2.0. I happened to know one working code snippet existed in an

Re: How to create irregularly shaped window with GTK+3.0

2011-09-20 Thread jwm . art . net
Leung Sender: gtk-app-devel-list-boun...@gnome.org To: gtk-app-devel-list@gnome.org Subject: How to create irregularly shaped window with GTK+3.0 Sent: 20 Sep 2011 10:16 Hi All, I wonder how to create irregularly shaped window with gtk+3.0. I used to simply call gtk_widget_shape_combine_mask and

How to create irregularly shaped window with GTK+3.0

2011-09-20 Thread Weitian Leung
Hi All, I wonder how to create irregularly shaped window with gtk+3.0. I used to simply call gtk_widget_shape_combine_mask and gdk_window_set_back_pixmap to create the irregularly-shaped window with the png image with gtk+2.0. Now I can't find any useful information how with gtk+3.0. Coul

Gtk 3.0 API and display issues

2011-07-18 Thread Michael Cronenworth
I tried to convert a GTK 2.0 app to GTK 3.0 and ran into a few things: 1. It was pretty nasty of the GTK/Gnome folks to, at the very last minute, deprecate and change gtk_combo_box_new_text() to GtkComboBoxText. 2. The GTK 3.0 API references "gtk_combo_box_text_remove_text()&quo

Re: Gtk 3.0 Build

2011-03-28 Thread Emmanuele Bassi
On 2011-03-28 at 17:24, Craig Bakalian wrote: > 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? http://library.gnome.org/devel/gtk3/stable/GtkCssProvider.html ciao, Emmanuele. -- W: http://www.emmanuel

Re: Gtk 3.0 Build

2011-03-28 Thread Allin Cottrell
On Mon, 28 Mar 2011, Craig Bakalian wrote: > 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? If you want to see how the CSS works, take a look at adwaita.css. Allin Cottrell __

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, I am running Ubun

Re: Gtk 3.0 Build

2011-03-28 Thread Allin Cottrell
On Mon, 28 Mar 2011, Craig Bakalian wrote: > Also, I am running Ubuntu 11.04. When the window loads it is a generic > theme- It doesn't match my appearance theme choice. Anyone know what > is up with that? The GTK theming apparatus has changed quite radically between 2.N and 3.0. Old theme fil

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 funct

gtk_widget_set_events in gtk+-3.0

2011-03-25 Thread czk
pressed) 94. { 95. gdouble fraction = em->x / (allocation.width * 1.0); 96. if (fraction > 1.0) 97. fraction = 1.0; 98. if (fraction < 0.0) 99. fraction = 0.0; 100. gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR(progress),

Re: GTK 3.0 / OpenGL

2011-02-21 Thread Emmanuele Bassi
On 2011-02-20 at 23:28, Carlos Pereira wrote: > Are there significant changes regarding OpenGL integration with GTK > 3.* and Cairo, when compared with GTK 2.*? no. ciao, Emmanuele. -- W: http://www.emmanuelebassi.name B: http://blogs.gnome.org/ebassi

GTK 3.0 / OpenGL

2011-02-20 Thread Carlos Pereira
Hi all, Are there significant changes regarding OpenGL integration with GTK 3.* and Cairo, when compared with GTK 2.*? Regards, Carlos ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-dev

Re: drawing with GTK 3.0

2011-02-12 Thread Allin Cottrell
On Sat, 12 Feb 2011, Allin Cottrell wrote: > I've got my app to build against gtk 3.0 but I'm having trouble > getting some drawing code ported... Ah, I now see what part of my problem was: I hadn't looked up the latest signature for the GtkWidget "draw" callback.

drawing with GTK 3.0

2011-02-12 Thread Allin Cottrell
I've got my app to build against gtk 3.0 but I'm having trouble getting some drawing code ported. It was OK as of the "transitional" state part-way through Benjamin Otte's gdk cleanup and it works with gtk 2.24, but my attempt at gtk 3.0 code fails: I get an empty ca

Re: Some questions about Gtk+3.0 2.90

2010-08-25 Thread Ardhan Madras
Why the application need to move to GTK+ 3 which still in development progress? Ardhan --- eba...@gmail.com wrote: From: Emmanuele Bassi To: gtk-app-devel-list@gnome.org Subject: Re: Some questions about Gtk+3.0 2.90 Date: Mon, 23 Aug 2010 13:28:25 +0100 On Mon, 2010-08-23 at 13:24

Re: Some questions about Gtk+3.0 2.90

2010-08-25 Thread Emmanuele Bassi
On Tue, 2010-08-24 at 22:44 -0700, Ardhan Madras wrote: > Why the application need to move to GTK+ 3 which still in development > progress? because after gtk+ 2.24 is released, in parallel with gtk+ 3.0 this December, the 2.x branch goes into deep maintainance mode: no further releases w

Re: Some questions about Gtk+3.0 2.90

2010-08-23 Thread Emmanuele Bassi
On Mon, 2010-08-23 at 13:24 +0100, haithem rahmani wrote: > I'm planning to move my application to gtk+3.0 2.90 > so I've some questions about it: > > - Is it API compatible with gtk+2.0 ? no. > - does it provide a working DirectFB backend ? no. ciao,

Some questions about Gtk+3.0 2.90

2010-08-23 Thread haithem rahmani
Hi all, I'm planning to move my application to gtk+3.0 2.90 so I've some questions about it: - Is it API compatible with gtk+2.0 ? - does it provide a working DirectFB backend ? regards. -- Be to GOD as he wants , HE'll be for you more tha

RE: GtkGLExt (was Re: Gtk 3.0)

2009-12-07 Thread Shawn Bakhtiar
8:06 +0100 > From: y...@physics.muni.cz > To: jose.carlos.pere...@ist.utl.pt > Subject: Re: GtkGLExt (was Re: Gtk 3.0) > CC: gtk-app-devel-list@gnome.org > > On Sat, Dec 05, 2009 at 04:22:36PM +, Carlos Pereira wrote: > > We must atract more scientifc/engineering

Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-05 Thread David Nečas
On Sat, Dec 05, 2009 at 04:22:36PM +, Carlos Pereira wrote: > We must atract more scientifc/engineering applications for Linux and > GTK, because this is exactly the kind of stuff that enterprises and > universities are demanding. > > If we have fantastic operating systems and desktop envir

Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-05 Thread Carlos Pereira
Dear Emmanuele, yes. and that, apart from games and scientific/technical applications, it's not at all common. the amount of code using OpenGL is relatively limited (hence "niche") compared to the rest of applications in the GNOME stack (or even in the whole Linux ecosystem); it's *usage*

Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread Ralf Corsepius
On 12/05/2009 12:28 AM, Emmanuele Bassi wrote: On Fri, 2009-12-04 at 18:11 -0500, Braden McDaniel wrote: I have the impression that my message is not coming through correctly, because I keep saying the same things. :-) I never said that raw OperGL is not used, or not useful; I just contend tha

Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread Jack Skellington
On Fri, Dec 4, 2009 at 8:02 PM, Emmanuele Bassi wrote: > (Sorry, I'm sending this via my phone so it's not going to be nicely > formatted; I apologize) > > I'm really not working on it - mainly for three reasons: 1) if you want to > use GL, GtkGlExt is "good enough" and integrating it into gtk+ it

Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread Javier Jardón
2009/12/4 Carlos Pereira : > 3) However GtkGlExt is not GTK-3.0 ready, because it cannot be compiled with > SEAL_ENABLE and SINGLE_INCLUDES... Bug and patch filled upstream for SINGLE_INCLUDES issue: [1] Also, I've found some interesting threads about this topic here [2] (Sept 2003)

Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread Emmanuele Bassi
On Fri, 2009-12-04 at 18:11 -0500, Braden McDaniel wrote: I have the impression that my message is not coming through correctly, because I keep saying the same things. :-) > > I never said that raw OperGL is not used, or not useful; I just contend > > that being able to drop into GL directly is

Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread Braden McDaniel
kGlExt should not be integrated with GTK+ that's fine for me. 2) GtkGlExt is good enough for GTK-2.0, I never had a single problem with GTKGLExt. 3) However GtkGlExt is not GTK-3.0 ready, because it cannot be compiled with SEAL_ENABLE and SINGLE_INCLUDES... I guess that you'll have

Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread Emmanuele Bassi
On Fri, 2009-12-04 at 22:26 +0100, David Nečas wrote: > On Fri, Dec 04, 2009 at 08:51:54PM +, Carlos Pereira wrote: > >> I'm really not working on it - mainly for three reasons: 1) if you want to > >> use GL, GtkGlExt is "good enough" and integrating it into gtk+ it's not a > >> good idea; > >

Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread Emmanuele Bassi
you think GtkGlExt should not be integrated with GTK+ that's fine > for me. > > 2) GtkGlExt is good enough for GTK-2.0, I never had a single problem with > GTKGLExt. > > 3) However GtkGlExt is not GTK-3.0 ready, because it cannot be compiled with > SEAL_ENABLE and SING

RE: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread Shawn Bakhtiar
but it would be really really really supercalifragilisticexpialidocious-ly great to have a fully working OpenGL implementation in GTK for OS X, and if it is dropped for GTK 3.0, I'm afraid it will not serve the community well. I did not quite catch why it was not a good idea. Saying that is

Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread David Nečas
On Fri, Dec 04, 2009 at 08:51:54PM +, Carlos Pereira wrote: >> I'm really not working on it - mainly for three reasons: 1) if you want to >> use GL, GtkGlExt is "good enough" and integrating it into gtk+ it's not a >> good idea; > > 2) GtkGlExt is good enough for GTK-2.0, I never had a single p

Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread Carlos Pereira
s good enough for GTK-2.0, I never had a single problem with GTKGLExt. 3) However GtkGlExt is not GTK-3.0 ready, because it cannot be compiled with SEAL_ENABLE and SINGLE_INCLUDES... 4) Scientific/engineering applications often use OpenGL, which is a well established, well documented, indus

Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread Emmanuele Bassi
(Sorry, I'm sending this via my phone so it's not going to be nicely formatted; I apologize) I'm really not working on it - mainly for three reasons: 1) if you want to use GL, GtkGlExt is "good enough" and integrating it into gtk+ it's not a good idea; 2) cairo should get GPU acceleration for 2D d

Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread Carlos Pereira
Thanks Javier, it's good to know that EmmanueleBassi is now taking care of GtkGLExt integration with GTK... Regards, Carlos Hello Carlos, 2009/12/3 Carlos Pereira : That's why I asked in the first message of this thread, what are the plans regarding

GtkGLExt (was Re: Gtk 3.0)

2009-12-03 Thread Javier Jardón
Hello Carlos, 2009/12/3 Carlos Pereira : > That's why I asked in the first message of this thread, what are the plans > regarding GtkGLExt. To the best of my knowledge, GtkGLExt is still the > official way to bridge GTK and OpenGL: > > http://gtkglext.sourceforge.net/ > > are there plans to integr

Re: Gtk 3.0

2009-12-03 Thread Carlos Pereira
was mentioned in this list years ago... Regards, Carlos It seems gtkglext does not work yet with SINGLE_INCLUDES. When I compile my app I get the following error message (gtkgkext is including gdkgltypes.h and this is flagged down): GtkGLExt is not Gtk+ 3.0 ready. There are more pro

Re: Gtk 3.0

2009-12-03 Thread David Nečas
On Thu, Dec 03, 2009 at 04:16:02PM +, Carlos Pereira wrote: > It seems gtkglext does not work yet with SINGLE_INCLUDES. When I compile > my app I get the following error message (gtkgkext is including > gdkgltypes.h and this is flagged down): GtkGLExt is not Gtk+ 3.0 ready.

Re: Gtk 3.0

2009-12-03 Thread Carlos Pereira
Thanks David, It seems gtkglext does not work yet with SINGLE_INCLUDES. When I compile my app I get the following error message (gtkgkext is including gdkgltypes.h and this is flagged down): In file included from /usr/include/gtkglext-1.0/gdk/gdkgltypes.h:22, from /usr/include

Re: Gtk 3.0

2009-12-02 Thread David Nečas
On Wed, Dec 02, 2009 at 05:52:22PM +, Carlos Pereira wrote: > Compiling with -DGSEAL_ENABLE these macros are flagged as errors: > > 1) GTK_WIDGET_SET_FLAGS (removed) > 2) GTK_WIDGET_SENSITIVE (replaced by gtk_widget_is_sensitive or > gtk_widget_get_sensitive) > > However, apparently they are

Re: Gtk 3.0

2009-12-02 Thread Carlos Pereira
Thanks Javier, thanks David, Compiling with -DGSEAL_ENABLE these macros are flagged as errors: 1) GTK_WIDGET_SET_FLAGS (removed) 2) GTK_WIDGET_SENSITIVE (replaced by gtk_widget_is_sensitive or gtk_widget_get_sensitive) However, apparently they are not in the list of deprecated symbols. Shoul

Re: Gtk 3.0

2009-11-30 Thread David Nečas
Wall -ansi > > override CFLAGS += -DG_DISABLE_DEPRECATED \ -DGDK_DISABLE_DEPRECATED \ > > -DGDK_PIXBUF_DISABLE_DEPRECATED \ > > -DGTK_DISABLE_DEPRECATED > > > > This means that my app is (mostly) ready for Gtk 3.0? > > You should try to compile your application with: >

Re: Gtk 3.0

2009-11-30 Thread Javier Jardón
DISABLE_DEPRECATED \ > -DGDK_PIXBUF_DISABLE_DEPRECATED \ > -DGTK_DISABLE_DEPRECATED > > This means that my app is (mostly) ready for Gtk 3.0? You should try to compile your application with: make CFLAGS+="-DGSEAL_ENABLE" take a look here [1] for more info. Regards [1] http://live.gnome.o

Gtk 3.0

2009-11-30 Thread Carlos Pereira
means that my app is (mostly) ready for Gtk 3.0? 2) GtkGLExt works on Windows? 3) It was planned long time ago, to replace entirely GtkGLExt by Cairo functionality. Is this going to happen in time for Gtk 3.0? Many thanks, Carlos ___ gtk-app-devel-list

Re: GTK 3.0: an app developer's view

2008-06-18 Thread Tor Lillqvist
> 20 years ago, everyone was hand-coding assembly routines. We were? I think you are generalising slightly. 20 years ago, I would assume most programmers were happily writing Cobol, Fortran, Pascal, C, etc high-level languages. ("high-level" compared to machine language, that is. Of course, in th

Re: GTK 3.0: an app developer's view

2008-06-17 Thread Paul LeoNerd Evans
On Tue, 17 Jun 2008 10:05:28 +0100 Martyn Russell <[EMAIL PROTECTED]> wrote: > Glade has been doing this for years. It is much quicker for an > application developer to use Glade to define menus, windows, dialogs, > etc than it is to code then *statically*. I say statically because you > don't nee

Re: GTK 3.0: an app developer's view

2008-06-17 Thread Martyn Russell
Allin Cottrell wrote: > Sorry for cross-posting, but I think this does cross gtk-devel and > gtk-app-devel: it's the thoughts of a common-or-garden app > developer following the dicussions on gtk-devel about what's > coming with GTK 3.0. > > As a starting point, on

GTK 3.0: an app developer's view

2008-06-16 Thread Allin Cottrell
Sorry for cross-posting, but I think this does cross gtk-devel and gtk-app-devel: it's the thoughts of a common-or-garden app developer following the dicussions on gtk-devel about what's coming with GTK 3.0. As a starting point, on June 5, in the thread "Steps to get to GT