Linux Headquarters

I've installed Linux… now what???

Archive for the ‘Programming’ Category

Code Crusader

Introduction Code Crusader is a free, Linux programming interface inspired by MetroWorks Code Warrior. It offers syntax highlighting, projects, and compilation buttons within the interface. Currently, it highlights C/C++ and HTML very well. The Java syntax highlighting is still under development. Code Crusader Installation RPM Version rpm -ivh code_crusader-2.1.4-1.i386.rpm rpm  [ Read More ]

Continue

GtkCalendar – Calendar Widget

Introduction The GtkCalendar widget is used to display a calendar to the screen, one month at a time. For the purpose of this example, we are not setting the date on the calendar. In a real world program, you will want to get the system date and set the date  [ Read More ]

Continue

GtkFileSelection – File Selection Dialog Box

Introduction The GtkFileSelection widget allows for GTK+ programs that utilize it to have a consistent file dialog window. The standard GtkFileSelection widget can be extended and customized, but for the purpose of this example, we are using the standard file dialog box. Once you have compiled and run the program,  [ Read More ]

Continue

GtkLabel – Text Label Widget

Introduction In this example, we create a simple text label. The GtkLabel is a not-editable text field that is usually used to provide names or descriptions for other widgets. In future programs, we will use labels next to other widgets like single line text areas and drop down lists. There’s  [ Read More ]

Continue

Introduction This example is similar to the example for GtkText except that here we have added horizontal and vertical scrollbars. Also, in the GtkText example, we packed the text area directly inside the main window. That won’t work here because we have more than one widget to show. In this  [ Read More ]

Continue

GtkVBox – Vertical Container

Introduction A special set of GTK+ widgets called containers allow the programmer to control the placement of GTK+ widgets on the screen. Individual GTK+ widgets such as buttons and text area are grouped together into one or more containers. The containers are then grouped together inside a parent container such  [ Read More ]

Continue

GtkHButtonBox – Horizontal Button Container

Introduction This example covers a container called the GtkHButtonBox. The GtkHButtonBox container is used to group buttons together in a horizontal box from left to right. From what I can tell, the GtkHButtonBox is designed to contain only buttons. However, you can pack other widgets such as GTKLabel widgets and  [ Read More ]

Continue

GtkHBox – Horizontal Container

Introduction In this example, we will look at a very simple container called the GtkHBox. The GtkHBox container is used to group widgets in a horizontal box from left to right and can contain any kind of GTK+ widget. In this example, the GtkHBox contains three GtkLabel widgets and three  [ Read More ]

Continue

GtkColorSelection – Color Selection Widget

Introduction This example produces a GTK Color Selection Area. It allows the user to choose any color value from a color wheel or by typing in the RGB values. Source Code /* *File name: colorselection.c */ #include #include /*– This function allows the program to exit properly when the window  [ Read More ]

Continue

GtkRadioButton – Radio Button Widget

Introduction Radio buttons are used to give the user one choice among many options. Only one option can be selected at any given time, and selecting another option will automatically deselect whatever current option is active. This is accomplished with a group of GtkRadioButton widgets. Creating a group is achieved  [ Read More ]

Continue

Subscribe to email feed

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Dedicated Linux Serv

Linux is the popular system nowadays, offering all the benefits ...

StarOffice 5.1

Introduction StarOffice 5.1 is a complete office suite with a word ...

AxY FTP

Introduction AxY FTP, formerly known as wxFTP, is a graphical FTP ...

Adobe Acrobat PDF Re

Introduction Many of you are probably familar with Adobe Acrobat Reader ...

Macromedia Shockwave

Introduction Macromedia has developed a version of its popular Shockwave plugin ...

Twitter updates