Let's say we have the following code:
some_func();
g_signal_handlers_disconnect_by_func(obj, func, param);
If some_func() causes a signal to be emitted on obj and then almost
immediately I disconnect the handler, will my handler receive the
event before being disconnected or is there a chance
[EMAIL PROTECTED] wrote:
I'm not an expert but:
Events that are queue'd are not scheduled until glib iterates again, so
they will be lost yes. Even signals you emit by hand will be lost
after the handler is unhooked. Atleast logic should be like that.
I may be a bit crazy but it can make sense
Bryan Forbes wrote:
I'm working on audio support in Coaster and I have a Gtk::ListView to
view a Gtk::TreeStore of tracks for an audio disc the user is creating.
I need a column for the track number that automatically updates with the
correct track number.
Is it possible to change the expand/fill parameters of a paned's children
without repacking them?
(Repacking them is a huge performance hit)
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
1) Is there any way to add a separator item into the list?
2) Is there any better way to differentiate which item was selected in
the combo?
Right now, by hooking into the changed event, the callback simply
receives the text of the item.
I want to at least know which row in the backing store was
Vadim Berezniker wrote:
I want to change the entire background of a GtkTextView to the
background of its parent container. Using Tags, I can only change the
background of the parts of the view with text.
Changing the background using the widget style has no effect. (The only
thing that seems
Even after enabling wrapping on a label, it only wraps once and to a
boundary I don't even understand. (Some labels wrap at one width, and
some at another width.)
Also the label does not rewrap when the parent container is resized.
I also tried modifying the underlying PangoLayout with no
J. Davison de St. Germain wrote:
Hi,
Can someone please tell me how to change the text on a menu?
For example, if I created the menu with Turn On Light and
someone selects it, I wish to change the text to Turn Off Light.
I would have expected to call gtk_menu_item_set_label() or some
such, but
Luiz Rafael Culik Guimaraes wrote:
Dear Friends
How to change the default font of an gtk_label item as well the font size
(in C is prefer)
This is the method I use:
PangoFontDescription *font_desc =
pango_font_description_from_string(font_string);
GtkRcStyle *style =
Jorge Santos wrote:
Hello, I'm just starting to use GTK+ for an Interfaces Design course
I'm taking at school and I need to change part of a window at the
press of a button, is this possible? or do do I have to create a new
window?, if this is so, how do I go about destroying the new window
and
george carter wrote:
I'm having a small problem with using the data from a gtk_entry. I
would like a user to enter a username and password into a gtk_entry. I
don't have a problem with connect the button signals or anything. I'm
calling a function which should compare the gtk_entry data
wilfried kopp wrote:
Hi everybody,
I am stuck with a segmentation fault caused by a treeview and I have pent hours trying to figure out what's wrong with no success.
Here is how I create the model (I simplified the code... but this version crashes
as well...)
while (item)
{
Ibrahim El-Shafei wrote:
From this I noticed that it tries to connect to something through the
Internet if I'm connected. What is it?
While this is not exactly pertinent to this list, I might as well try
answering it anyway.
It might be trying to lookup the hostname of your machine.
Connect to
Christian Schneider wrote:
Hallo,
in my programm I've got the following global pointer:
void
on_fileselectionfensterglobal_destroy (GtkObject
*object, gpointer user_data)
{
...
gtk_widget_destroy (fileselectionfensterglobal);
}
You're not assigning anything to
void ClearEntry ( GtkButton * CancelButton, gpointer data )
{
GtkWidget * textentry ;
gtk_entry_set_text ( GTK_ENTRY ( textentry ), ) ;
}
You're trying to set text on something that's not even initialized.
Calling a variable 'textentry' won't magically point it to the text
Shiraz Baig wrote:
I am trying to locate the documentation of following
functions or variables but I couldn't find it.
http://developer.gnome.org/doc/API/glib/glib-string-utility-functions.html#G-STRCONCAT
http://developer.gnome.org/doc/API/glib/glib-lexical-scanner.html
It should be in the glib
Using pango 1.2.1 and gtk 2.2.1 in 'English' locale. (For both windows
and linux).
I create a new label, set the text and then attempt to calculate extents
using the various extents functions availabe.
i.e. I tried retrieving the extents via the appropriate pango function,
tried iterating over
17 matches
Mail list logo