On Fri, 16 May 2008 16:12:50 -0400 [EMAIL PROTECTED] wrote:
> I'm using mwm and libglade if that makes a difference. Is this
> automatic drag and drop something that libglade sets up for me by
> chance?
Why would you want to do this? People accustomed to how entry widgets
behave will likely be
On Fri, 16 May 2008 19:19:55 +0100 John M Collins wrote:
> I want to have a "do you really want to do this" type question and I'm
> trying to use a message dialog thus:
>
> GtkWidget *dlg = gtk_message_dialog_new(GTK_WINDOW(previous),
> GTK_DIALOG_DESTROY_WITH_PARENT,
> GTK_MESSAGE_QUESTION,
>
Mitko Haralanov a écrit :
> On Fri, 16 May 2008 09:54:22 +0200
> G Hasse <[EMAIL PROTECTED]> wrote:
>
>> Let your callback return FALSE and reregister before the return
>
> Hi, I thought of that but I was sure that there is a better way to do
> this without playing games with unregistering and r
I'm trying to simulate an application that does not feature scrolling
combobox lists (this only happens when near the top or bottom of the
screen). I need to disable this feature. Can it be done without
modifying Gtk itself?
Kurt M. Bruhnke
Rockwell-Collins Simulation & Training Solutions
Pho
I'm using mwm and libglade if that makes a difference. Is this automatic
drag and drop something that libglade sets up for me by chance?
Kurt M. Bruhnke
Rockwell-Collins Simulation & Training Solutions
Phone: 703-234-2163
Email: [EMAIL PROTECTED]
___
g
2008/5/16 Mitko Haralanov <[EMAIL PROTECTED]>:
> I am not sure why the GTK devs decided that re-calculating the timeout
> based on the time right after the timeout thread is started is the
> right thing to do but it seems very wrong to me.
I think the idea is that the timeout might represent a
On Fri, May 16, 2008 at 1:20 PM, Mitko Haralanov <[EMAIL PROTECTED]> wrote:
> On Fri, 16 May 2008 09:54:22 +0200
> G Hasse <[EMAIL PROTECTED]> wrote:
>
>> Let your callback return FALSE and reregister before the return
>
> Hi, I thought of that but I was sure that there is a better way to do
> this
Let your callback return FALSE and reregister before the return
#include
#include
#include
#include
#include
gboolean callback (gpointer data) {
int seconds = 0;
struct tm *mytm;
time_t mytime;
mytime = time( NULL );
mytm = gmtime( &mytime );
printf("Called :");
printf(
On Wed, 2008-05-07 at 11:33 +0530, chirag juneja wrote:
> approach i am using is :
> i will find the distance of the button from its parent, and then its
> parent's distance form its parent .. and so on, till i get toplevel
> window.
> then i am adding the decoration's height, border's width and d
On Fri, May 16, 2008 at 3:19 PM, John M Collins <[EMAIL PROTECTED]> wrote:
> I want to have a "do you really want to do this" type question and I'm
> trying to use a message dialog thus:
>
> GtkWidget *dlg = gtk_message_dialog_new(GTK_WINDOW(previous),
> GTK_DIALOG_DESTROY_WITH_PARENT,
> GTK_MESS
I want to have a "do you really want to do this" type question and I'm
trying to use a message dialog thus:
GtkWidget *dlg = gtk_message_dialog_new(GTK_WINDOW(previous),
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO, "Are you sure?");
g_signal_connect_swapped(dlg,
"
On Fri, 16 May 2008 09:54:22 +0200
G Hasse <[EMAIL PROTECTED]> wrote:
> Let your callback return FALSE and reregister before the return
Hi, I thought of that but I was sure that there is a better way to do
this without playing games with unregistering and re-registering the
timeout.
I am not sur
I've experimented around with this, and I've found that it doesn't work when
the input shape was set from another application using a foreign GdkWindow.
I've encountered some strangeness when using it within the same application,
it doesn't fail totally.
Natan
On Thu, May 15, 2008 at 12:39 PM, na
I haven't tried to pass the timeout value but what do is with a global
variable.
Imagine that you have the reference of the timeout, as a global variable :
guint TimeOut_Ref;
then you have a first call to your callback function
TimeOut_Ref = g_timeout_add (20*1000, callback, (gpointer)&ti
14 matches
Mail list logo