Breadcrumb

Indicate the current location within a navigational hierarchy that automatically adds separators between items.

BrGlamorousComponentsBreadcrumbs>>#breadcrumbWithLabels
	<gtExample>
	<return: #BrBreadcrumb>
	^ BrBreadcrumb new
		aptitude: (BrGlamorousBreadcrumbAptitude new
				separator: [ BrLabel new
						aptitude: (BrGlamorousLabelAptitude new thin foreground: Color gray);
						text: '>';
						margin: (BlInsets left: 5 right: 5) ]);
		addItem: (BrLabel new
				aptitude: BrGlamorousLabelAptitude;
				text: 'Home');
		addItem: (BrLabel new
				aptitude: BrGlamorousLabelAptitude;
				text: 'Store');
		addItem: (BrLabel new
				aptitude: BrGlamorousLabelAptitude;
				text: 'T-Shirt')
        

BrGlamorousComponentsBreadcrumbs>>#breadcrumbWithButtons
	<gtExample>
	<return: #BrBreadcrumb>
	^ BrBreadcrumb new
		aptitude: (BrGlamorousBreadcrumbAptitude new
				separator: [ BrLabel new
						aptitude: (BrGlamorousLabelAptitude new thin foreground: Color gray);
						text: '/';
						margin: (BlInsets left: 5 right: 5) ]);
		addItem: (BrButton new
				aptitude: BrGlamorousLinkSquaredButtonWithLabelAptitude new glamorousRegularFont;
				label: 'Home');
		addItem: (BrButton new
				aptitude: BrGlamorousLinkSquaredButtonWithLabelAptitude new glamorousRegularFont;
				label: 'Store');
		addItem: (BrButton new
				aptitude: BrGlamorousLinkSquaredButtonWithLabelAptitude new glamorousRegularFont;
				label: 'T-Shirt')
        

BrGlamorousComponentsBreadcrumbs>>#breadcrumbWithoutSeparator
	<gtExample>
	<return: #BrBreadcrumb>
	^ BrBreadcrumb new
		aptitude: BrGlamorousBreadcrumbAptitude;
		addItem: (BrLabel new
				aptitude: BrGlamorousLabelAptitude;
				text: 'Home');
		addItem: (BrLabel new
				aptitude: BrGlamorousLabelAptitude;
				text: 'Store');
		addItem: (BrLabel new
				aptitude: BrGlamorousLabelAptitude;
				text: 'T-Shirt')