Re: Using OpenGL with GTK

2014-02-20 Thread Bernhard Schuster
cogl,clutter,gtkdrawingarea should work - depending on what you want 
ranging from a framework to convenience rappers to just a gl context. 
gtkglext is a different story, it renders the whole widget via OpenGL 
not only the content of a specific widget.
Also see 
http://stackoverflow.com/questions/3815806/gtk-and-opengl-bindings


On Sun, Feb 16, 2014 at 2:59 AM, Rena hyperhac...@gmail.com wrote:

What's the ideal way to use OpenGL in a GTK application? It seems like
there are a few not very good options:

1) GtkGlExt: great except it doesn't support introspection, so I 
can't use
it from a scripting language without manually writing a binding for 
it. Not
sure if it's still supported? A bug to add introspection has been 
open for

ages.

2) GtkGlArea: seems to be a predecessor to GtkGlExt?

3) SDL: no introspection here either, plus I have to have a separate 
window

for the OpenGL render.

Is there another way?

--
Sent from my Game Boy.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Using OpenGL with GTK

2014-02-20 Thread Rodrigo Moya

On 16 Feb 2014, at 02:59, Rena hyperhac...@gmail.com wrote:

 What's the ideal way to use OpenGL in a GTK application? It seems like
 there are a few not very good options:
 
 1) GtkGlExt: great except it doesn't support introspection, so I can't use
 it from a scripting language without manually writing a binding for it. Not
 sure if it's still supported? A bug to add introspection has been open for
 ages.
 
 2) GtkGlArea: seems to be a predecessor to GtkGlExt?
 
 3) SDL: no introspection here either, plus I have to have a separate window
 for the OpenGL render.
 
 Is there another way?
 
you can use Clutter (and Clutter-gtk to embed a clutter “stage” in a GTK 
window) and cogl (low level GL used by clutter) for opengl-like stuff.

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Collaboration with ORIC

2014-02-20 Thread ORIC Publications
Use this area to offer a short teaser of your email's content. Text here will 
show in the preview area of some email clients.

http://us3.campaign-archive1.com/?u=cfd4afb41b85f28409684id=49981e21bce=7731bda410
Friend on Facebook (#

) 
http://oricpub.us3.list-manage.com/track/click?u=cfd4afb41b85f28409684id=c1e0fca91ce=7731bda410
Follow on Twitter (Twitter Account not yet Authorized

)
Forward to a Friend 
(http://us3.forward-to-friend.com/forward?u=cfd4afb41b85f28409684id=49981e21bce=7731bda410)
Call For Chapters: Advances in Energy Research and Development 
(http://oricpub.us3.list-manage.com/track/click?u=cfd4afb41b85f28409684id=18e82051fae=7731bda410)
 (pdf)
ISBN: TBD
Advances in Resource Management and Consumer Sciences 
(http://oricpub.us3.list-manage1.com/track/click?u=cfd4afb41b85f28409684id=e20002e8fee=7731bda410)
ISBN: TBD


** Call for Chapters (Free of Charge)

*
** Advances in Energy Research and Development



** Dr. V. Lanin, Dr. M. Sarker and Dr. N. Vaziri

Call for Chapters for Advances in Energy Research and Development, an eBook has 
been planned to publish by ORIC Publications (ISBN assignment) and edited by: 
Dr. V. Lanin, Dr. M. Sarker and Dr. N. Vaziri

Recommended topics (not limited to the following):
- Energy Renewable Resources: Solar, Wind, Geothermal, Biomass, Biogas, 
Biofuels, Hydropower, Hydrogen and Ocean.
- Applications in Renewable Energy.
- Applications in Efficiency Energy.
- Applications and Services of Renewable Energy in Rural Areas, Isolated Areas, 
Buildings, Industry, Electricity and Transport
- Policy of Environmental Impact and Sustainability: Economic aspects, 
Environmental impact and etc.
- Others: Smart Cities, Life Cycle Assessment (LCA), Measurement and 
Verification of Energy Savings and etc.
- …

Important Dates
March 05, 2014: Chapter Proposal Submission Deadline
March 20, 2014: Notification of Acceptance
April 20, 2014: Full Chapters Submission Deadline
May 20, 2014: Review Results Returned
June 10, 2014: Final Chapter Submission
August, 2014: Publishing

For further information please visit:
http://oricpub.us3.list-manage.com/track/click?u=cfd4afb41b85f28409684id=7ca2518fd5e=7731bda410

*
** Advances in Resource Management and Consumer Sciences


Editors:
Prof. Arzu Şener
Prof. Namita Rajput
Prof. Zahir Arif

Call for Chapters for Advances in Resource Management and Consumer Sciences, an 
eBook has been planned to publish by ORIC Publications (ISBN assignment).

Important Dates
April 15, 2014: Proposal Submission Deadline
May 15, 2014: Notification of Acceptance
July 20, 2014: Full Chapter Submission
August 30, 2014: Review Results Returned
September 20, 2014: Final Chapter Submission
December, 2014: Publishing

Indexing:
Amazon; Google Books; Scribd, Bowker and etc.

For further information please visit:
http://oricpub.us3.list-manage1.com/track/click?u=cfd4afb41b85f28409684id=1b0ba29bf3e=7731bda410

Publisher
ORIC Publications
Arkansas, USA
www.oricpub.com.
-
ORIC's Journas:
Journal Science and Engineering (SE) 
(http://oricpub.us3.list-manage.com/track/click?u=cfd4afb41b85f28409684id=b0fb861f52e=7731bda410)

Human and Social Science Research 
(http://oricpub.us3.list-manage.com/track/click?u=cfd4afb41b85f28409684id=8d3deaaffee=7731bda410)
 (HSSR)
Medical Sciences and Public Health 
(http://oricpub.us3.list-manage.com/track/click?u=cfd4afb41b85f28409684id=dd69a5aa8be=7731bda410)
  (MSPH)
Ocean and Environmental Fluid Research 
(http://oricpub.us3.list-manage.com/track/click?u=cfd4afb41b85f28409684id=aed0537f9fe=7731bda410)
 (OEFR)



Copyright © 2014 Publishing House, All rights reserved.
 -
Our mailing address is: off...@oricpub.com
Publishing House
-
Little rock, AR -
USA

 Email Marketing Powered by MailChimp
http://www.mailchimp.com/monkey-rewards/?utm_source=freemium_newsletterutm_medium=emailutm_campaign=monkey_rewardsaid=cfd4afb41b85f28409684afl=1
** follow on Twitter (Twitter Account not yet Authorized

)
** friend on Facebook (#

)
** forward to a friend 
(http://us3.forward-to-friend.com/forward?u=cfd4afb41b85f28409684id=49981e21bce=7731bda410)
** unsubscribe from this list 
(http://oricpub.us3.list-manage1.com/unsubscribe?u=cfd4afb41b85f28409684id=b087deaaffe=7731bda410c=49981e21bc)
** update subscription preferences 
(http://oricpub.us3.list-manage.com/profile?u=cfd4afb41b85f28409684id=b087deaaffe=7731bda410)
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How to locate the 'Gtk-WARNING' line number

2014-02-20 Thread Bernhard Schuster

G_DEBUG=fatal_warnings gdb --args foo.binary arg1 arg2

in gdb, it will crash at some point and if you compiled your program 
with -g or -ggdb the `backtrace` command will give you some meaningful 
information


For more see:
https://developer.gnome.org/glib/stable/glib-running.html
https://developer.gnome.org/gtk3/stable/gtk-running.html

On Mon, Feb 17, 2014 at 9:44 AM, Wiky wii...@yeah.net wrote:

 Hi,all. I'm currently writing a program based Gtk+-3.0.
When it runs, I get '(a.out:10874): Gtk-WARNING **: Failed to ...' in 
the terminal.
I know the problem is about GtkLabel, but I really don't know which 
GtkLabel.

Is there a way to locate the line numer that give the warning?

Sorry for my english
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


GnomeDateEdit emits no signal on editing entry

2014-02-20 Thread John Coppens
Hi guys  gals,

This may be common knowledge, but I didn't find any reference.

When editing the date manually (without the calendar dropdown), no
'change' signal is emitted, even after exiting the widget. I find this
rather strange - how do I detect changes?

I found an example in a tutorial, but it only connects to the
'change' signal, so it wouldn't receive those 'manual' changes
either.

Maybe I could connect to the change signal of the embedded entry,
but that would probably defeat any validation checks.

John
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


How ot remove the minimize and maximize button of GtkWindow

2014-02-20 Thread Wiky
 The default GtkWindow has a minimize , a maximize and a close button in the 
right or left top coner.
But I want a window which only has a close button. How can I remove the 
minimize and maximize button?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list