Ticket #22 (closed defect: fixed)

Opened 9 months ago

Last modified 6 months ago

gtk.GtkD should be gtk.Main?

Reported by: JJR Assigned to: Mike Wey
Priority: major Milestone: Pre-release 9
Component: gtkd - classes Version: TRUNK
Keywords: Cc:

Description

Kaarna pointed this out in one of his forum posts. After looking this over, I tend to agree with his reasoning. The correct mapping to the gtk+ function/object would be a module/class called Main (instead of the current GtkD). This is once again consistant with other interfaces out there. Further, there is no conflict with D namespace this time.

The gtk.Main class should also have Main.run() method to replace the current GtkD.main() class. This looks cleaner.

Opinions?

Change History

01/04/08 00:44:31 changed by Pse

I agree. I do remember thinking "hmm, this is not what I've seen elsewhere".

01/04/08 07:45:36 changed by Mike Wey

I also agree.

01/04/08 14:15:13 changed by JJR

  • status changed from new to assigned.

03/30/08 14:49:07 changed by Mike Wey

  • milestone changed from Release 1.0 to Pre-release 9.

04/26/08 11:19:38 changed by Mike Wey

  • owner changed from JJR to Mike Wey.
  • status changed from assigned to new.

I'll make the switch in the next few days, if everybody agrees.

04/26/08 11:19:47 changed by Mike Wey

  • status changed from new to assigned.

04/29/08 15:47:42 changed by Mike Wey

  • status changed from assigned to closed.
  • resolution set to fixed.

Changed GtkD to Main in svn r496.