Re: gtk frame buffer problems

2003-12-08 Thread Russell Shaw
divya seshadri wrote:
Hi,
The permissions are OK.. and the frame buffer is
working. If I dump something to /dev/fb0 the penguin
on the LCD gets ver written. But gtk demo says cannot
open display device. Do you have any other
suggestions?
Divya.
Step thru it with gdb/ddd.

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Show window for a few seconds and delete it?

2003-12-08 Thread george carter
The gtk_timeout_add  that Paul posted sounds like what I might be looking 
for.  I think I might want to delete the window and not just hide it though. 
I figure by hiding it, it will still reside in memory. I couldn't find the 
gtk_timeout_add in the Gnome Api Reference.  If anyone has any idea how I 
might go about using it I would appreciate it.  I used the the source code 
below just to keep it as simple as possible.  But I'm still unsure where 
exactly to place it in the code and it's format.  Initially, I thought it 
would be as easy as showing the window, creating a loop count, and calling 
gtk_window_destroy for example.  I'm new to gtk programming so I might 
need a little hand holding on this example.

/* basicgtk.c */

#include gtk/gtk.h

  /* Function which stops the program */
  void CloseTheApp(GtkWidget * window, gpointer data )
  {
 gtk_main_quit ();
  }
gint main ( gint argc, gchar * argv[] )
{
  /* Declare a GtkWidget to use as the main window */
  GtkWidget * window ;
  /* Start GTK+ up, and let it process any arguments that were */
  /* passed in on the command line */
  gtk_init ( argc, argv );
  /* Create the window itself */
  window = gtk_window_new ( GTK_WINDOW_TOPLEVEL ) ;
  gtk_signal_connect(GTK_OBJECT(window),
destroy,
 GTK_SIGNAL_FUNC(CloseTheApp),
 NULL);
  /* Show the window, as far as GTK+ is concerned though we just want */
  /* to make a widget visible */
  gtk_widget_show (window);
  /* Start GTK+ running so that it can catch any signals */
  gtk_main () ;
  /* This line will never be reached in this app */
  return 0;
}
_
Cell phone ‘switch’ rules are taking effect — find out more here. 
http://special.msn.com/msnbc/consumeradvocate.armx

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Show window for a few seconds and delete it?

2003-12-08 Thread george carter
The gtk_timeout_add  that Paul posted sounds like what I might be looking 
for.  I think I might want to delete the window and not just hide it though. 
I figure by hiding it, it will still reside in memory. I couldn't find the 
gtk_timeout_add in the Gnome Api Reference.  If anyone has any idea how I 
might go about using it I would appreciate it.  I used the the source code 
below just to keep it as simple as possible.  But I'm still unsure where 
exactly to place it in the code and it's format.  Initially, I thought it 
would be as easy as showing the window, creating a loop count, and calling 
gtk_window_destroy for example.  I'm new to gtk programming so I might 
need a little hand holding on this example.

/* basicgtk.c */

#include gtk/gtk.h

  /* Function which stops the program */
  void CloseTheApp(GtkWidget * window, gpointer data )
  {
 gtk_main_quit ();
  }
gint main ( gint argc, gchar * argv[] )
{
  /* Declare a GtkWidget to use as the main window */
  GtkWidget * window ;
  /* Start GTK+ up, and let it process any arguments that were */
  /* passed in on the command line */
  gtk_init ( argc, argv );
  /* Create the window itself */
  window = gtk_window_new ( GTK_WINDOW_TOPLEVEL ) ;
  gtk_signal_connect(GTK_OBJECT(window),
destroy,
 GTK_SIGNAL_FUNC(CloseTheApp),
 NULL);
  /* Show the window, as far as GTK+ is concerned though we just want */
  /* to make a widget visible */
  gtk_widget_show (window);
  /* Start GTK+ running so that it can catch any signals */
  gtk_main () ;
  /* This line will never be reached in this app */
  return 0;
}
_
Cell phone ‘switch’ rules are taking effect — find out more here. 
http://special.msn.com/msnbc/consumeradvocate.armx

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Show window for a few seconds and delete it?

2003-12-08 Thread Sven Neumann
Hi,

george carter [EMAIL PROTECTED] writes:

 The gtk_timeout_add  that Paul posted sounds like what I might be
 looking for.

gtk_timeout_add() is deprecated API. Use g_timeout_add() instead:

http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-Loop.html#g-timeout-add


Sven
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


GLib-2.3.1 released [unstable]

2003-12-08 Thread Owen Taylor
GLib-2.3.1 is now available for download at:

 ftp://ftp.gtk.org/pub/gtk/v2.3/

glib-2.3.1.tar.bz2 md5sum: c320c3c883dba4759b8f04f40079a24e  
glib-2.3.1.tar.gz  md5sum: f3ecc10b565d097e7613584a0e04e2cf

This is a development release loading up to GLib-2.4. Changes
since GLib-2.3.0 consist mainly of bug fixes and small 
improvements; among other things optional header files are now 
provided to define the typical _(), N_(), etc, internationalization 
macros.

Notes:

 * This is unstable development release. While it has had
   fairly extensive testing, there are certainly plenty of bugs
   remaining to be found. This release should not be used
   in production.

 * Installing this version will overwrite your existing
   copy of GLib-2.2. If you have problems, you'll need
   to reinstall GLib-2.2.4.

 * GLib-2.4 will be source and binary compatible with
   the GLib-2.2.x series; however, the new API additions
   in GLib-2.2.0 are not yet finalized, so there may
   be incompatibities between this release and the final
   2.2 release.

 * Remaining API issues for GLib-2.4 can be found with following
   bugzilla query:
   

http://bugzilla.gnome.org/buglist.cgi?product=glibtarget_milestone=2.4+API+Freezebug_status=NEWbug_status=ASSIGNEDbug_status=REOPENED

 * Bugs should be reported to http://bugzilla.gnome.org.
   
About GLib
==

GLib is the low-level core library that forms the basis for projects
such as GTK+ and GNOME. It provides data structure handling for C,
portability wrappers, and interfaces for such runtime functionality as
an event loop, threads, dynamic loading, and an object system.

More information about GLib is available at:

 http://www.gtk.org/

An installation guide for the GTK+ libraries, including GLib, can
be found at:

 http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html

Overview of Changes in GLib-2.3.1
=

* Add glib/gi18n.h and glib/gi18n-lib.h for common
  gettext suport, including a Q() macro for translation
  with context [Matthias Clasen]
* Add a more flexible G_FILENAME_ENCODING variable
  as a replacement for G_BROKEN_FILENAMES [Matthias]
* Fix the return value g_main_context_iterate() for
  newly ready sources [Padraig O'Briain]
* Handle Hangul composition for normalization [Noah Levitt]
* Add G_{MIN,MAX,MAXU}INT{8,16,32}. [Mark Jones, Matthias]
* Add G_GSIZE_FORMAT/G_SSIZE_FORMAT [Manish Singh]
* Add G_STRFUNC as a portable wrapper for __func__ [Tim Janik]
* Documentation improvements [Matthias]
* GObject [Tim Janik]
 - Support '-' in g_signal_connect()/disconnect() names
   like 'swapped-signal'.
 - Add g_type_class_peek_static() and use to optimize
   g_object_new() for static types [Tim]
 - Allow setting construct-only properties from within
   init() implementations
 - Enforce readability/writeability in g_object_set/get()
* Fix bug with g_ascii_strtod and multi-byte separator.
  [Behdad Esfahbod, Roozbeh Pournader]
* Misc bug fixes [Matthias, John Ehresman, Andrew Lanoix,
  Tor Lillqvist, Mark McLoughlin, Tim-Philipp Mller, Manish,
  Morten Welinder]
* Updated translations (ca,cs,da,es,fr,ja,nn,no,pt,ru)

8 December 2003

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Pango-1.3.1 released [unstable]

2003-12-08 Thread Owen Taylor
Pango-1.3.1 is now available for download at:

 ftp://ftp.gtk.org/pub/gtk/v2.3/

pango-1.3.1.tar.bz2   md5sum: c5f1689623ae04a6276327e54927b656
pango-1.3.1.tar.gzmd5sum: c3a23f03b4d68b12f67720fbf6ca2bfc

This is a development release loading up to Pango-1.3.1; changes
in since Pango-1.3.0 are relatively minor; the most interesting
is some additional work by Noah Levitt on finishing Unicode-4.0 
support.

Notes:

 * This is unstable development release. While it has had
   fairly extensive testing, there are certainly plenty of bugs
   remaining to be found. This release should not be used
   in production.

 * Installing this version will overwrite your existing
   copy of Pango-1.2. If you have problems, you'll need
   to reinstall Pango-1.2.5.

 * Pango-1.4 will be source and binary compatible with
   the Pango-1.2.x series; however, the new API additions
   in Pango-1.3.x are not yet finalized, so there may
   be incompatibilities between this release and the final
   2.2 release.

 * Remaining API issues for Pango-1.4 can be found with following
   bugzilla query:
   

http://bugzilla.gnome.org/buglist.cgi?product=pangotarget_milestone=1.4+API+Freezebug_status=NEWbug_status=ASSIGNEDbug_status=REOPENED

 * Bugs should be reported to http://bugzilla.gnome.org.

About Pango
===

Pango is a library for layout and rendering of text, with an emphasis
on internationalization. Pango can be used anywhere that text layout
is needed, though most usage so far as been in the context of the
GTK+ widget toolkit. Pango forms the core of text and font handling 
for GTK+ 2.

Pango is designed to be modular; the core Pango layout can be used
with four different font backends:

 - Core X windowing system fonts
 - Client-side fonts on X using the Xft2 library
 - Direct rendering of scalable fonts using the FreeType library
 - Native fonts on Microsoft platforms

Dynamically loaded modules then handle text layout for particular
combinations of script and font backend. Pango-1.2 ships with a wide
selection of modules, including modules for Hebrew, Arabic, Hangul, 
Thai, and a number of Indic scripts. Virtually all of the world's major 
scripts are supported.

As well as the low level layout rendering routines, Pango includes
PangoLayout, a high level driver for laying out entire blocks of text,
and routines to assist in editing internationalized text.

More information about Pango is available from http://www.pango.org/.

Pango depends on version 2.2.0 or newer of the GLib library; more 
information about GLib can be found at http://www.gtk.org/.

Overview of changes in Pango 1.3.1
==

* Support non-Unicode font encodings when supported by fontconfig
  [Sven Neumann]
* Draw 6-digit hex boxes for  U+ [Noah Levitt]
* Update to latest fribidi [Noah]
* Honor U+2028 LINE SEPARATOR [Noah]
* Fix a problem with iteration by chars [Mariano Surez-Alvarez]
* Misc bug and build fixes [Jeff Bonggren, Martin Kretzschmar,
  Noah, Sven Neumann, Padraig O'Briain, Manish Singh,
  Morten Welinder]
* Fix header file includes to work with recent FreeType.

Owen Taylor
8 December 2003

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


GTK+-2.3.1 released [unstable]

2003-12-08 Thread Owen Taylor
GTK+-2.3.1 is now available for download at:

 ftp://ftp.gtk.org/pub/gtk/v2.3/

gtk+-2.3.1.tar.bz2   md5sum: d19a07d0fdb04a68f7a0506900cf9691
gtk+-2.3.1.tar.gzmd5sum: 432a1db1775400076e9b74b434af21c5

This is a development release leading up to GTK+-2.4. Changes
since GTK+-2.3.0 consist of numerous small bug fixes and 
enhancements, with a special focus on the new GtkFileChooser.

Notes:

 * This is unstable development release. There are certainly 
   plenty of bugs remaining to be found. This release should 
   not be used in production.

 * Installing this version will overwrite your existing
   copy of GTK+-2.2. If you have problems, you'll need
   to reinstall GTK+-2.2.4.

 * GTK+-2.4 will be source and binary compatible with
   the GTK+-2.2.x series; however, the new API additions
   in GTK+-2.3.x are not yet finalized, so there are likely
   incompatibities between this release and the final
   2.4 release.

 * Remaining API issues for GTK+-2.4 can be found with following
   bugzilla query:
   

http://bugzilla.gnome.org/buglist.cgi?product=gtk%2btarget_milestone=2.4+API+Freezebug_status=NEWbug_status=ASSIGNEDbug_status=REOPENED

 * Bugs should be reported to http://bugzilla.gnome.org.
   
What is GTK+


GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK+ is suitable for
projects ranging from small one-off tools to complete application
suites.

GTK+ has been designed from the ground up to support a range of
languages, not only C/C++. Using GTK+ from languages such as Perl and
Python (especially in combination with the Glade GUI builder) provides
an effective method of rapid application development.

GTK+ is free software and part of the GNU Project. However, the
licensing terms for GTK+, the GNU LGPL, allow it to be used by all
pdevelopers, including those developing proprietary software, without
any license fees or royalties. 

Where to get more information about GTK+


Information about GTK+ including links to documentation can be
found at:
 
http://www.gtk.org/

An installation guide for GTK+-2.2 is found at:

 http://developer.gnome.org/doc/API/2.2/gtk/gtk-building.html

Common questions:
 
http://developer.gnome.org/doc/API/2.2/gtk/gtk-question-index.html
 http://www.gtk.org/faq/

Overview of Changes in GTK+-2.3.1
=

* Improve sanity checks on gdk-pixbuf loaders [Matthias Clasen]
* GDK
 - Add GDK_DEBUG=xinerama that fakes a 2x2 Xinerama mode [Matthias]
 - Make gdk_drawable_copy_to_image public [Matthias, Peter Zelezny]
* Misc Win32 bug fixes [Tor Lillqvist, John Ehresman, Tim Evans]
* Action-based menu/toolbar API [Matthias]
 - Add name construct-only parameter to GtkActionGroup
 - Bug fixes [Marco Pesenti Gritti, Christian Persch]
* Change ranges for Saturation/Value to be 0-100 in GtkColorSelection
  [Gregory Merchan, Matthias]
* GtkComboBox [Kristian Rietveld]
 - Make model and text_column properties not construct-only [Murray Cumming]
 - Fix sizing
 - Add mouse wheel support [Matthias]
* Various GtkEntryCompletion bug fixes [Kristian, Piers Cornwell, Marco]
* GtkExpander
 - Add a use_markup property, gtk_expander_set/get_use_markup
 - Fix bugs when unrealizing/destroying [Mark McLoughlin]
* GtkFileChooser [Federico Mena Quintero]
 - Add a GtkFileSystemWin32 [Hans Breuer]
 - Use GtkEntryCompletion in GtkFileChooserEntry
 - Add a render_icon to GtkFileSystemIface to allow the
   GnomeVFS backend to supply appropriate icons
 - Improve selection handling in bookmarks list [Federico, Owen Taylor]
 - Support drops on the bookmarks list
 - Display error dialogs on failed operations
 - Many UI tweaks [Federico, Iain Holmes,Hans-Petter Jansson]
 - Ignore filters for folders [Dave Malcom]
 - Misc file chooser bug fixes [Owen, Christian Persch, Taavi Talvik]
* Menus
 - Make torn-off menus transient-for the window they were torn from
   [Matthias, Jon-Kare Hellan]
 - Fix menu positioning for Xinerama, add gtk_menu_set_monitor()
   for use by position functions [Matthias]
 - Tweak menu delay parameters, add a default width [Soeren Sandmann]
* Make g_message_dialog_new_with_markup() automatically escape
  arguments, add g_message_dialog_set_markup() [Owen]
* Add read-only min-position/max-position properties to GtkPaned
* GtkToolbar [Soeren]
 - Support gaps in the toolbar with expand=true/draw=false separators
 - Improve drop-location preview handling
 - Take a GtkRadioToolButton as the parameter to
   gtk_radio_tool_button_new_from_widget [Murray Cumming]
 - Many misc toolbar bug fixes [Soeren, Marco]
* GtkTreeView bug fixes [Morten Welinder, David Hampton]
* Add gtk_window_is_active()/gtk_has_toplevel_focus() getters
  to go along with properties [Owen Taylor]
* Add gtk_widget_can_activate_accel() / ::can-activate-accel
  signal to fix handling of accelerators on insensitive parent
  menu-items. [Tim Janik]. (*Note*: the details here will probably
  

Re: Still have pb installing gtk+2.2

2003-12-08 Thread busmanus
Alain D'eurveilher wrote:
Ok, actually... I should look at the 
  MINOR
  MAJOR
lines 

Ok, i have the 0.2 version of render.. about xrender, i still don't
know... I think I shoul install them anyway.
But do I just need to install those two libs or all the Xserver ??
No, I managed to install them on top of a version 3.3.6 xserver, and
they worked marvellously. If they don't, then you probably have some
conflicting files from the older version on your system. But backup your
system files before deleting (use tar to keep your symlinks unharmed)!
busmanus


Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list