Hi, I'm quite a newbie to GTK+ and got some trouble with handling button clicks.
I've got a callback function which reads in and plays a sound file. This
function is connected to the clicked event of a button. The problem is, the
button stays pushed until the sound playing function finishes its
Play the sound in an idle handler which is set in the callback function.
Padraig
Michal Kepien wrote:
Hi, I'm quite a newbie to GTK+ and got some trouble with handling button clicks.
I've got a callback function which reads in and plays a sound file. This
function is connected to the clicked event
On Wed, 16 Feb 2005 11:04:19 +0100, Michal Kepien
[EMAIL PROTECTED] wrote:
function is connected to the clicked event of a button. The problem is, the
button stays pushed until the sound playing function finishes its work. I
want
the button to pop out immediately after it has been clicked
Play the sound in an idle handler which is set in the callback function.
That's quite a step forward. What if I want to play the sound in the background,
enabling the program to process other events simultaneously? I mean, when the
sound is being played, I can't eg. close the main window or
Either use a separate thread or have the idle handler return
periodically to allow the main loop to process events.
Padraig
Michal Kepien wrote:
Play the sound in an idle handler which is set in the callback function.
That's quite a step forward. What if I want to play the sound in the
Hi,
I've recently been trying to implement a simulate
keypress function, the function is activated by a
command sent to the gui through a pipe, which is all
working however the simulate keypress function never
seems to actually work. The piece of code i'm using
is:
static void
On Wed, 16 Feb 2005 10:48:38 + (GMT), Andrew Gatt
[EMAIL PROTECTED] wrote:
I've recently been trying to implement a simulate
keypress function, the function is activated by a
command sent to the gui through a pipe, which is all
working however the simulate keypress function never
seems to
On Wed, 2005-02-16 at 11:34, Michal Kepien wrote:
Play the sound in an idle handler which is set in the callback function.
That's quite a step forward. What if I want to play the sound in the
background,
enabling the program to process other events simultaneously? I mean, when the
sound
--
This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this e-mail in error please notify the sender immediately
and delete this e-mail from your system. Please note that any
General information about the mailing list is at:
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page.
You can also make such adjustments
Is it possible with gtk to display a window that doesn't have any window
border, decorations, and be of arbritrary shape?
I am starting work on a automotive dashboard that uses graphical images of a
car's dash and uses gnomecanvase to render the needles and such and it would
look a LOT better
On Wed, 2005-02-16 at 10:02 -0800, Dave Andruczyk wrote:
Is it possible with gtk to display a window that doesn't have any window
border, decorations, and be of arbritrary shape?
Take a look at gmplayer: http://www.mplayerhq.hu/
___
Is there a way to scroll the last line of a text view to the top of the
view? I tried to use the align parameter like this:
gtk_text_view_scroll_to_iter (GTK_TEXT_VIEW(EditorTextView), iter, 0.0,
TRUE, 0.0, 0.0);
where iter points to the last line in the buffer, but the view only
scrolls so
On Wed, 16 Feb 2005 10:02:26 -0800 (PST), Dave Andruczyk
[EMAIL PROTECTED] wrote:
Is it possible with gtk to display a window that doesn't have any window
border, decorations, and be of arbritrary shape?
You need gdk_window_shape_combine_region() or gdk_window_shape_combine_mask():
Hi,
I have resolved this problem after add gdk_threads_*() to all timer
callback functions as following :
gdk_threads_enter();
.
.
gdk_threads_leave();
Regards
Rill
//--
gdk_threads_enter();
do somebody can sand an simple example how to use gtk threads?
how can i application like counter?
thanks
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14.2.2005
___
I've already narrowed this a little further - its in gtktreeview.c (3801)
/* draw the big row-spanning focus rectangle, if needed */
if (!has_special_cell node == cursor
GTK_TREE_VIEW_FLAG_SET (tree_view, GTK_TREE_VIEW_DRAW_KEYFOCUS)
GTK_WIDGET_HAS_FOCUS (widget))
{
It's locale dependent, so make sure LC_NUMERIC is set to a locale that
formats in that style (e.g. da_DK, and presumably your own). In order
to use the locale stuff in C or C++, you need to call setlocale to set
the locale stuff up.
that much is true.
In C:
#include locale.h
Hi,
Paul Davis [EMAIL PROTECTED] writes:
#include locale.h
setlocale(LC_ALL, );
as noted by someone else, this is a very very unfriendly thing to do
unless it is restricted to places where you are doing
serialization (ie. saving state to disk)
If you are doing serialization, you
If you are doing serialization, you wouldn't change the locale but use
the locale-independent functions provided by glib (g_ascii_strtod and
g_ascii_dtostr).
i have a policy of not using glib functions in code that doesn't use
GTK. wrong-headed? perhaps. but there it is.
Hello.
I don't know how xorg and gtk are interconnected, but my problem arised
after upgrade of xorg to 6.8.2_rc2 version and freetype library to 2.1.9.
I had (and have) strange problem with all gtk-1 based applications in
ru_RU.UTF-8 locale. I can not see any russian letters there. There are
On Tue, 15 Feb 2005 09:53:29 -0600, Greg Breland
[EMAIL PROTECTED] wrote:
On Tue, 2005-02-15 at 08:52, Marco Scholten wrote:
I think you are talking about GtkCombo, i was talking about GtkComboBox.
I think i may have to create a cellrenderertext set its font and pack
that
into the combobox,
Hi
I'm wondering if I should cease and desist. I'm using the GSList and
the GAllocator in way that they may not be designed for. The reason I
am doing it this way is I want to allocate space for my list nodes and
my data in the same big chunk. In other words, I'm creating list nodes
that
23 matches
Mail list logo