Gtkmm-forge digest, Vol 1 #787 - 4 msgs



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 156249] New:  - Build patch for Cygwin (bugzilla-daemon bugzilla gnome org)
   2. [Bug 156249]  - Build patch for Cygwin (bugzilla-daemon bugzilla gnome org)
   3. [Bug 156249]  - Build patch for Cygwin (bugzilla-daemon bugzilla gnome org)
   4. [Bug 156259] New:  - Gtk::SpinButton steals the key_release_event (bugzilla-daemon bugzilla gnome org)

--__--__--

Message: 1
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat, 23 Oct 2004 17:26:05 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 156249] New:  - Build patch for Cygwin

http://bugzilla.gnome.org/show_bug.cgi?id=156249
gtkmm | build | Ver: 2.4

           Summary: Build patch for Cygwin
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: build
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: roger whinlatter uklinux net


This patch uses PLATFORM_WIN32 rather than OS_WIN32 in the same way as the
glibmm patch.  It also has a ChangeLog entry as requested.

Please note: this was for the X11 backend only.  I'll need to rebuild Gtkmm with
the win32 backend in order to get that working on Cygwin.  Previously, a whole
lot of GDK_WINDOWING_* macros needed changing to get this working.


Regards,
Roger

------- You are receiving this mail because: -------
You are the assignee for the bug.


--__--__--

Message: 2
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat, 23 Oct 2004 17:26:46 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 156249]  - Build patch for Cygwin

http://bugzilla.gnome.org/show_bug.cgi?id=156249
gtkmm | build | Ver: 2.4





------- Additional Comments From roger whinlatter uklinux net  2004-10-23 17:26 -------
Created an attachment (id=32975)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=32975&action=view)
Cygwin build patch


------- You are receiving this mail because: -------
You are the assignee for the bug.


--__--__--

Message: 3
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat, 23 Oct 2004 17:27:47 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 156249]  - Build patch for Cygwin

http://bugzilla.gnome.org/show_bug.cgi?id=156249
gtkmm | build | Ver: 2.4





------- Additional Comments From roger whinlatter uklinux net  2004-10-23 17:27 -------
This should apply to the mainline as well as 2.4.x.

Thanks.

------- You are receiving this mail because: -------
You are the assignee for the bug.


--__--__--

Message: 4
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat, 23 Oct 2004 23:11:27 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 156259] New:  - Gtk::SpinButton steals the key_release_event

http://bugzilla.gnome.org/show_bug.cgi?id=156259
gtkmm | general | Ver: 2.4

           Summary: Gtk::SpinButton steals the key_release_event
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: High
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: blin gmx net


The attached C++ file reproduces the bug, at least on my Gentoo system with
gtkmm-2.4.5.
The expected behaviour would be to get both a key press and key release event.
You can get that by commenting out the line that adds the spin button. If you
leave in the spin button, the handling function for the key release event never
gets called.
********
#include <gtkmm.h>
#include <iostream>
#include <sigc++/object_slot.h>

class Test : public SigC::Object{
public:

  Gtk::Window *window;
  
  bool on_key_press(GdkEventKey *event){
    std::cout << "In on_key_press:   event->keyval = " << event->keyval <<
std::endl;
  }

  bool on_key_release(GdkEventKey *event){
    std::cout << "In on_key_release: event->keyval = " << event->keyval <<
std::endl;
  }

  Test(){
     window = new Gtk::Window();
     window->signal_key_press_event().connect(sigc::mem_fun(*this,
&Test::on_key_press));
     window->signal_key_release_event().connect(sigc::mem_fun(*this,
&Test::on_key_release));
     Gtk::Adjustment *p_ad = new Gtk::Adjustment(100, 0, 100, 1, 10, 0.0);
     Gtk::SpinButton *p_spin = new Gtk::SpinButton(*Gtk::manage(p_ad), 1.0, 0);
     Gtk::VBox *p_box = new Gtk::VBox();
     p_box->pack_start(*Gtk::manage(p_spin), Gtk::PACK_SHRINK);
     window->add(*Gtk::manage(p_box));
     window->show_all();
  }
  
  ~Test(){
    delete window;
  }

};

int main(int argc, char *argv[])
{
  
  Gtk::Main m(argc, argv);
  Test test; 
  m.run(*test.window);
  return 0;
}

------- You are receiving this mail because: -------
You are the assignee for the bug.



--__--__--

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]